@opencode/core 0.0.0-dev-20552 → 0.0.0-dev-20553
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{instance-2r08n013.js → app-00pqadry.js} +31 -31
- package/dist/chunks/{instance-38kq2q30.js → app-06pwsgja.js} +53 -53
- package/dist/chunks/{instance-0vbcp93d.js → app-0emb60td.js} +2 -2
- package/dist/chunks/{instance-2rg0agn8.js → app-0eqakyv9.js} +17 -17
- package/dist/chunks/{instance-8mmrv1z5.js → app-0g89njvb.js} +3 -3
- package/dist/chunks/{instance-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-jy3jhwd2.js → app-0sdng81j.js} +4 -4
- package/dist/chunks/{instance-m464br7c.js → app-0x00cgs9.js} +10 -10
- package/dist/chunks/{instance-vjhj36kc.js → app-119gdykg.js} +13 -13
- package/dist/chunks/{instance-m3g8adr5.js → app-127qqbn7.js} +33 -33
- package/dist/chunks/{instance-9anntt43.js → app-15x3adyq.js} +14 -14
- package/dist/chunks/{instance-x7zxvtcn.js → app-17fwn1r7.js} +18 -18
- package/dist/chunks/{instance-r8xr0va3.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{instance-a1gpj94z.js → app-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instance-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-q3ersh05.js → app-1fmrbde1.js} +6 -6
- package/dist/chunks/{instance-284gpd8s.js → app-1gv8rvzf.js} +9 -9
- package/dist/chunks/{instance-e9yva040.js → app-1hty2hxv.js} +17 -17
- package/dist/chunks/{instance-gp9j0jvc.js → app-1wad33g8.js} +23 -23
- package/dist/chunks/{instance-cdb0n5x0.js → app-209p93ab.js} +11 -11
- package/dist/chunks/{instance-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-51f5btjf.js → app-2a6rn6yr.js} +6 -6
- package/dist/chunks/{instance-m2bxnq2s.js → app-2frz8dph.js} +14 -14
- package/dist/chunks/{instance-c09c0w9h.js → app-2gzy96w8.js} +7 -7
- package/dist/chunks/{instance-cvh3esnk.js → app-2hd1kp5j.js} +29 -29
- package/dist/chunks/{instance-fcrkznn8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-bn3rhc52.js → app-35ngnhat.js} +11 -11
- package/dist/chunks/{instance-3cegwx68.js → app-3cegwx68.js} +2 -2
- package/dist/chunks/{instance-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-gzpz32he.js → app-3fpzpwa9.js} +8 -8
- package/dist/chunks/{instance-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-7c6q976f.js → app-3mqsm5j6.js} +26 -26
- package/dist/chunks/{instance-6xmt2gpj.js → app-3npbq3xm.js} +11 -11
- package/dist/chunks/{instance-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-50eedmv1.js → app-3t8q6btf.js} +13 -13
- package/dist/chunks/{instance-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-qg2t9hfj.js → app-3vr2yzyr.js} +11 -11
- package/dist/chunks/{instance-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-wc850vhh.js → app-43e7p76q.js} +11 -11
- package/dist/chunks/{instance-90by64rx.js → app-43kg75ww.js} +20 -20
- package/dist/chunks/{instance-6vrx73ce.js → app-47tevgnt.js} +35 -35
- package/dist/chunks/{instance-4a0nv7mx.js → app-4e8vs6eh.js} +8 -8
- package/dist/chunks/{instance-894bfm39.js → app-4hk0hz21.js} +15 -15
- package/dist/chunks/{instance-5v4nh2hq.js → app-4shrxzc5.js} +7 -7
- package/dist/chunks/{instance-2ccvkpx1.js → app-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instance-nqstq3d9.js → app-4veyd3ak.js} +11 -11
- package/dist/chunks/{instance-vsp1fds9.js → app-50mzsvk4.js} +21 -21
- package/dist/chunks/{instance-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-4jpkawwd.js → app-561w58k2.js} +11 -11
- package/dist/chunks/{instance-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{instance-91xb797m.js → app-599m2xw1.js} +12 -12
- package/dist/chunks/{instance-1fycx12z.js → app-5az9mes2.js} +13 -13
- package/dist/chunks/{instance-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-706phk7x.js → app-5pyjqqve.js} +2 -2
- package/dist/chunks/{instance-e3qxr5gk.js → app-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-rx9ava5n.js → app-5r79haxc.js} +4 -4
- package/dist/chunks/{instance-e7d6w9p2.js → app-5t0csz3q.js} +19 -19
- package/dist/chunks/{instance-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-q57f2g67.js → app-5tpxybga.js} +31 -31
- package/dist/chunks/{instance-k5btndkz.js → app-61tpjagt.js} +8 -8
- package/dist/chunks/{instance-tkr7qfby.js → app-620awpdk.js} +13 -13
- package/dist/chunks/{instance-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{instance-d10gkjjk.js → app-68vhyseh.js} +30 -30
- package/dist/chunks/{instance-mghk8jhw.js → app-6mfz7pzx.js} +17 -17
- package/dist/chunks/{instance-zpt31vmn.js → app-6qbbyjh1.js} +23 -23
- package/dist/chunks/{instance-k8wv7bpm.js → app-71abwgpw.js} +11 -11
- package/dist/chunks/{instance-bh62btbf.js → app-72zmgtc4.js} +25 -25
- package/dist/chunks/{instance-jjjebs8h.js → app-79g5k6km.js} +47 -47
- package/dist/chunks/{instance-1cavzydt.js → app-7b6cahxy.js} +18 -18
- package/dist/chunks/{instance-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-2wj8n25z.js → app-7bpzgkas.js} +6 -6
- package/dist/chunks/{instance-2bgpyr0g.js → app-7fw1vb42.js} +12 -12
- package/dist/chunks/{instance-r6kexbb6.js → app-7mk5v0ya.js} +19 -19
- package/dist/chunks/{instance-3x71mczm.js → app-7x0x355c.js} +2 -2
- package/dist/chunks/{instance-ngm7bdfn.js → app-81ctsz2t.js} +11 -11
- package/dist/chunks/{instance-84h8c373.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{instance-5m15gyz9.js → app-89602sqc.js} +31 -31
- package/dist/chunks/{instance-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-018r4cn9.js → app-8h51bdva.js} +3 -3
- package/dist/chunks/{instance-b4twkq7r.js → app-8sze2n9a.js} +2 -2
- package/dist/chunks/{instance-nx97ad9f.js → app-9syrq6y6.js} +22 -22
- package/dist/chunks/{instance-1zbdq5rf.js → app-9t3w070m.js} +134 -134
- package/dist/chunks/{instance-s8d7rejh.js → app-9t7a50xb.js} +4 -4
- package/dist/chunks/{instance-zweg3t3a.js → app-9zxrk7k8.js} +9 -9
- package/dist/chunks/{instance-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-addxnjmp.js → app-addxnjmp.js} +1 -1
- package/dist/chunks/{instance-6jbtg6gw.js → app-adyzpsam.js} +13 -13
- package/dist/chunks/{instance-jrhpx9yn.js → app-ag4y98vq.js} +19 -19
- package/dist/chunks/{instance-vfe0r8db.js → app-an2k9t17.js} +8 -8
- package/dist/chunks/{instance-j3y3myqf.js → app-anbt75kp.js} +2 -2
- package/dist/chunks/{instance-ya34dvrk.js → app-as5bpre7.js} +11 -11
- package/dist/chunks/{instance-6ranhxcd.js → app-atk0aryg.js} +5 -5
- package/dist/chunks/{instance-cv7xherr.js → app-avn2p37b.js} +1 -1
- package/dist/chunks/{instance-gg4jy7jv.js → app-avrbq183.js} +10 -10
- package/dist/chunks/{instance-3ypdr6vd.js → app-axckdsf5.js} +302 -302
- package/dist/chunks/{instance-n81wfvpz.js → app-aye9ecv5.js} +3 -3
- package/dist/chunks/{instance-0w9jsh9p.js → app-az38zn9v.js} +2 -2
- package/dist/chunks/{instance-hgjhwwfv.js → app-azfw0vc8.js} +78 -78
- package/dist/chunks/{instance-w5jqxk7k.js → app-b06te4ch.js} +12 -12
- package/dist/chunks/{instance-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-zbqwd23r.js → app-b866mxm8.js} +10 -10
- package/dist/chunks/{instance-7xt9ygb0.js → app-bdqj39hy.js} +3 -3
- package/dist/chunks/{instance-ssqm9t83.js → app-bepk8tqz.js} +7 -7
- package/dist/chunks/{instance-e91k1as5.js → app-bfdyam1j.js} +7 -7
- package/dist/chunks/{instance-sjs1ym1g.js → app-bhmbf73r.js} +12 -12
- package/dist/chunks/{instance-ax1z88f0.js → app-bk5ryxph.js} +21 -21
- package/dist/chunks/{instance-8ap9gqq1.js → app-bkvqt9s2.js} +11 -11
- package/dist/chunks/{instance-setc7ajv.js → app-bsprd9wx.js} +9 -9
- package/dist/chunks/{instance-8nmk1x18.js → app-c7gfppcn.js} +64 -64
- package/dist/chunks/{instance-k90f5n7n.js → app-cgttfvq8.js} +15 -15
- package/dist/chunks/{instance-tnwtm670.js → app-cm35g4cv.js} +21 -21
- package/dist/chunks/{instance-phstrbs2.js → app-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-ypc3nf8d.js → app-cr1cyvk7.js} +1 -1
- package/dist/chunks/{instance-6yz0wx8n.js → app-cxbh1760.js} +5 -5
- package/dist/chunks/{instance-704ffyy2.js → app-d0cczxq1.js} +18 -18
- package/dist/chunks/{instance-sj348nhs.js → app-d7b0ex47.js} +10 -10
- package/dist/chunks/{instance-5e4g93da.js → app-d952nnqc.js} +4 -4
- package/dist/chunks/{instance-7fjpnzw5.js → app-dmt0etr1.js} +12 -12
- package/dist/chunks/{instance-dpkg50ah.js → app-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-8eavbg24.js → app-dwec31rz.js} +1 -1
- package/dist/chunks/{instance-j9hkc70f.js → app-e1fyheea.js} +55 -55
- package/dist/chunks/{instance-e7710hd6.js → app-e7710hd6.js} +2 -2
- package/dist/chunks/{instance-e8qyrgb1.js → app-e8qyrgb1.js} +2 -2
- package/dist/chunks/{instance-8mpj0wn6.js → app-e8w9g8j0.js} +8 -8
- package/dist/chunks/{instance-w568assp.js → app-ec6s3nk4.js} +11 -11
- package/dist/chunks/{instance-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-daffbjph.js → app-efn9spr7.js} +19 -19
- package/dist/chunks/{instance-pbx84s9d.js → app-eg04xh8w.js} +21 -21
- package/dist/chunks/{instance-hje5ea4p.js → app-ejw4sar8.js} +9 -9
- package/dist/chunks/{instance-cty5cvej.js → app-epc8471h.js} +11 -11
- package/dist/chunks/{instance-730jydfy.js → app-eprbh5a3.js} +33 -33
- package/dist/chunks/{instance-x3gqap9d.js → app-espax8zg.js} +4 -4
- package/dist/chunks/{instance-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-7z2kwwqj.js → app-eyd7c3sc.js} +42 -42
- package/dist/chunks/{instance-je50cgp6.js → app-f07cbx1f.js} +17 -17
- package/dist/chunks/{instance-f75zav2x.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{instance-mtp2vna4.js → app-f8tc66c6.js} +25 -25
- package/dist/chunks/{instance-bxpy1k9j.js → app-fn9065ma.js} +27 -27
- package/dist/chunks/{instance-sk2hk6tq.js → app-fwwk8vbp.js} +9 -9
- package/dist/chunks/{instance-de0sx66z.js → app-fwwmygte.js} +6 -6
- package/dist/chunks/{instance-fxg5wpm0.js → app-fzfpamp1.js} +24 -24
- package/dist/chunks/{instance-jtskd0fb.js → app-g2prbgy8.js} +8 -8
- package/dist/chunks/{instance-44adhqy8.js → app-g2xfyzen.js} +19 -19
- package/dist/chunks/{instance-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-z82jmvf0.js → app-ge1q9bb7.js} +13 -13
- package/dist/chunks/{instance-5ebw3s4g.js → app-gfhhve88.js} +5 -5
- package/dist/chunks/{instance-4zdd9eex.js → app-gh0thtd7.js} +5 -5
- package/dist/chunks/{instance-3ndcs706.js → app-gpx3jrtm.js} +13 -13
- package/dist/chunks/{instance-1af2pq3z.js → app-gvgmkb1r.js} +35 -35
- package/dist/chunks/{instance-y1tvj6xm.js → app-h0r975nr.js} +15 -15
- package/dist/chunks/{instance-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-n0bvag00.js → app-h79hjbwk.js} +13 -13
- package/dist/chunks/{instance-zx2w15mv.js → app-h8mpbjha.js} +12 -12
- package/dist/chunks/{instance-vc1k1wt6.js → app-hkdpn095.js} +34 -34
- package/dist/chunks/{instance-cs4ftxax.js → app-hktyk2mm.js} +2 -2
- package/dist/chunks/{instance-nyegmxmy.js → app-hwpwbwg3.js} +19 -19
- package/dist/chunks/{instance-5ejdzqy2.js → app-hzx6zxpx.js} +4 -4
- package/dist/chunks/{instance-5e5q8w8r.js → app-j1hsk9k3.js} +25 -25
- package/dist/chunks/{instance-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-qbqbaz6q.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{instance-86m00gc1.js → app-k1qrnqst.js} +8 -8
- package/dist/chunks/{instance-906tg66d.js → app-k5n7mtkn.js} +11 -11
- package/dist/chunks/{instance-5q6qgjfd.js → app-k73qbsk9.js} +18 -18
- package/dist/chunks/{instance-kb9j3d72.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{instance-awh82d0x.js → app-ksc9mxxp.js} +8 -8
- package/dist/chunks/{instance-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-3zma6jxr.js → app-m7v9qgpj.js} +9 -9
- package/dist/chunks/{instance-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-k3yea1v9.js → app-mhgx8wws.js} +4 -4
- package/dist/chunks/{instance-rnzy4y5a.js → app-mpxe8k3g.js} +9 -9
- package/dist/chunks/{instance-3dv5qn1d.js → app-my8kktcc.js} +13 -13
- package/dist/chunks/{instance-a5dr6fp4.js → app-n19j8wrj.js} +14 -14
- package/dist/chunks/{instance-629fss06.js → app-n359sqf7.js} +1 -1
- package/dist/chunks/{instance-a5bhc7pd.js → app-n6n2a0vb.js} +9 -9
- package/dist/chunks/{instance-6qeq2186.js → app-n76mmdvs.js} +11 -11
- package/dist/chunks/{instance-xp3fh2h7.js → app-ncnm8wen.js} +1 -1
- package/dist/chunks/{instance-h1dtkjeq.js → app-ndmxeefq.js} +23 -23
- package/dist/chunks/{instance-y0mc46pw.js → app-ndn5nttk.js} +9 -9
- package/dist/chunks/{instance-2zpvbagd.js → app-ndpjvh3x.js} +13 -13
- package/dist/chunks/{instance-c96mxf0r.js → app-nh0fz38p.js} +8 -8
- package/dist/chunks/{instance-w8jbw6zq.js → app-njcc1ez3.js} +7 -7
- package/dist/chunks/{instance-hfyb4b2t.js → app-nmm3vqbw.js} +20 -20
- package/dist/chunks/{instance-kg5cbvgf.js → app-p3hpvtvr.js} +46 -46
- package/dist/chunks/{instance-yx1wwr95.js → app-p8jze558.js} +1 -1
- package/dist/chunks/{instance-nxe47jn6.js → app-p9yrfee4.js} +12 -12
- package/dist/chunks/{instance-gqepsjtg.js → app-pf0jmksz.js} +10 -10
- package/dist/chunks/{instance-cmnrkw1q.js → app-ph3dy5f1.js} +8 -8
- package/dist/chunks/{instance-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-p466ggtb.js → app-pk1ehesx.js} +9 -9
- package/dist/chunks/{instance-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{instance-ms1y1ks8.js → app-pzpzvd2t.js} +23 -23
- package/dist/chunks/{instance-0j77ygfz.js → app-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instance-5pmthfvb.js → app-q36raq5y.js} +9 -9
- package/dist/chunks/{instance-3cp1tsra.js → app-q732d4pp.js} +3 -3
- package/dist/chunks/app-qc068m1q.js +18 -0
- package/dist/chunks/{instance-c504s1t2.js → app-qe5yr083.js} +29 -29
- package/dist/chunks/{instance-64he6pmg.js → app-qhhvr09t.js} +10 -10
- package/dist/chunks/{instance-g6q9qykm.js → app-qmqgtz8f.js} +9 -9
- package/dist/chunks/{instance-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-bh1e5sj5.js → app-qp9egh0b.js} +3 -3
- package/dist/chunks/{instance-6t41n5th.js → app-qqs6yt0x.js} +25 -25
- package/dist/chunks/{instance-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-qxjc9qry.js → app-qxjc9qry.js} +3 -3
- package/dist/chunks/{instance-fxyn1d23.js → app-qzpb3j9m.js} +23 -23
- package/dist/chunks/{instance-0p5xh824.js → app-rarbs3xg.js} +16 -16
- package/dist/chunks/{instance-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-8a7m70sw.js → app-regw106m.js} +7 -7
- package/dist/chunks/{instance-3rexwkpe.js → app-rfrf17aw.js} +12 -12
- package/dist/chunks/{instance-q90qa6qb.js → app-rjaa4sd9.js} +15 -15
- package/dist/chunks/{instance-xqdpcq68.js → app-rjh7gg55.js} +14 -14
- package/dist/chunks/{instance-0b0jjp45.js → app-rvsg5akq.js} +15 -15
- package/dist/chunks/{instance-a2ew8a62.js → app-ryr25ayn.js} +4 -4
- package/dist/chunks/{instance-vp8qwj7s.js → app-sg3a9qd2.js} +48 -48
- package/dist/chunks/{instance-x781dd9s.js → app-shg0hhw6.js} +14 -14
- package/dist/chunks/{instance-0y4awt7r.js → app-t4bjdndn.js} +43 -43
- package/dist/chunks/{instance-38952q1d.js → app-t7k290n8.js} +10 -10
- package/dist/chunks/{instance-9k8khh75.js → app-t9ew0xaf.js} +11 -11
- package/dist/chunks/{instance-jkq3088b.js → app-tawq54z2.js} +23 -23
- package/dist/chunks/{instance-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-3jsyargm.js → app-tcwnpcmx.js} +11 -11
- package/dist/chunks/{instance-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{instance-q2sp5k80.js → app-tmg02xqh.js} +3 -3
- package/dist/chunks/{instance-3tw2cvdd.js → app-tnjs4r2h.js} +3 -3
- package/dist/chunks/{instance-yw40mm4r.js → app-tnnp2ngw.js} +13 -13
- package/dist/chunks/{instance-5q38b7v9.js → app-ttqk4nrk.js} +17 -17
- package/dist/chunks/{instance-rk455q0b.js → app-v97jv89r.js} +17 -17
- package/dist/chunks/{instance-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-yg62bcth.js → app-vezvtjyv.js} +11 -11
- package/dist/chunks/{instance-hb8pgw9a.js → app-vpn0ymxa.js} +22 -22
- package/dist/chunks/{instance-vamzpzc8.js → app-vrctapba.js} +4 -4
- package/dist/chunks/{instance-m913y4r5.js → app-vv3d8hyj.js} +19 -19
- package/dist/chunks/{instance-7rwqf82v.js → app-vwpcpzep.js} +8 -8
- package/dist/chunks/{instance-n7d88tpn.js → app-vx3jgdek.js} +3 -3
- package/dist/chunks/{instance-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-84txncab.js → app-w1eejvng.js} +5 -5
- package/dist/chunks/{instance-srq8z0b0.js → app-w36j0bmk.js} +9 -9
- package/dist/chunks/{instance-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-g9bf7h26.js → app-w54fwt40.js} +1 -1
- package/dist/chunks/{instance-kynz425z.js → app-w606ffq6.js} +3 -3
- package/dist/chunks/{instance-p41vdga6.js → app-wd7pktgn.js} +27 -27
- package/dist/chunks/{instance-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{instance-h1es9rpf.js → app-ws5x6xqg.js} +46 -46
- package/dist/chunks/{instance-3300mqn9.js → app-wvzpvwy9.js} +26 -26
- package/dist/chunks/{instance-n0kfx4gg.js → app-wxgz1mz1.js} +23 -23
- package/dist/chunks/{instance-hawhbfbb.js → app-x0hrekb5.js} +6 -6
- package/dist/chunks/{instance-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-20a76v2a.js → app-x7wj6yze.js} +7 -7
- package/dist/chunks/{instance-bqwxz7ct.js → app-xa1vrh39.js} +26 -26
- package/dist/chunks/{instance-tcxcvwmp.js → app-xc8632zm.js} +11 -11
- package/dist/chunks/{instance-v0es1rhs.js → app-xecxzrdp.js} +2 -2
- package/dist/chunks/{instance-eyxev0gc.js → app-xfdghtvp.js} +30 -30
- package/dist/chunks/{instance-g5w8qwbj.js → app-xfkkasph.js} +4 -4
- package/dist/chunks/{instance-h7k1v2xa.js → app-xhb6bnvb.js} +30 -30
- package/dist/chunks/{instance-fm7vtv3p.js → app-xkdq4c0f.js} +19 -19
- package/dist/chunks/{instance-xkntkrq7.js → app-xkntkrq7.js} +2 -2
- package/dist/chunks/{instance-aa7awnjh.js → app-xmvw5gzg.js} +26 -26
- package/dist/chunks/{instance-skp29mk2.js → app-xq0xqrw8.js} +43 -43
- package/dist/chunks/app-xxrc28my.js +253 -0
- package/dist/chunks/{instance-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-yzg88nrk.js → app-y2qwca5m.js} +6 -6
- package/dist/chunks/{instance-c7ayqak6.js → app-y55dd5ke.js} +88 -88
- package/dist/chunks/{instance-q4ycprmt.js → app-ya0zd8mw.js} +8 -8
- package/dist/chunks/{instance-8vgehdy8.js → app-yffr9dtg.js} +23 -23
- package/dist/chunks/{instance-rc6m0fr2.js → app-yn8nj1r6.js} +4 -4
- package/dist/chunks/{instance-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-xyg43jyf.js → app-z0fx5gx0.js} +40 -40
- package/dist/chunks/{instance-pkec1t1d.js → app-z1xm8rrg.js} +15 -15
- package/dist/chunks/{instance-s5nxm7v0.js → app-zcm3qgvh.js} +3 -3
- package/dist/chunks/{instance-j6bgjdzg.js → app-zgfn406m.js} +29 -29
- package/dist/chunks/{instance-6zs8pfty.js → app-znhd2rt3.js} +15 -15
- package/dist/chunks/{instance-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-1rn5pcm9.js → app-zsr4wwhv.js} +4 -4
- package/dist/chunks/{instance-zcrspsvn.js → app-zvt5dnpc.js} +4 -4
- package/dist/chunks/{instance-qne3fa44.js → app-zw2ke1at.js} +5 -5
- package/dist/chunks/{instance-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-wecqtg5s.js → app-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/mcp-resource.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instance-1vqjegjp.js +0 -253
- package/dist/chunks/instance-jqh9b0xq.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./app-eg04xh8w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service65;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./app-7fw1vb42.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./app-pzpzvd2t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin33,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin33 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service54;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin33, exports_plugin };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./app-7fw1vb42.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-hktyk2mm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./app-fn9065ma.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./app-bsprd9wx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./app-n19j8wrj.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./app-h0r975nr.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node77
|
|
31
|
+
} from "./app-4e8vs6eh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service70,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node74
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service70 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
132
|
const location = yield* Service80;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service74;
|
|
134
|
+
const sessions = yield* Service71;
|
|
135
|
+
const saved = yield* Service72;
|
|
136
|
+
const hooks = yield* Service73;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service70.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node74 = makeLocationNode({
|
|
303
|
+
service: Service70,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node84, node78, node75, node76, node77]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./app-7fw1vb42.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./app-qe5yr083.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-hktyk2mm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service15.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node17 = makeLocationNode({
|
|
91
|
+
service: Service15,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service15, node17, exports_formatter2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-561w58k2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./app-7fw1vb42.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service78
|
|
12
|
+
} from "./app-00pqadry.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ge1q9bb7.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-t7k290n8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./app-j1hsk9k3.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
|
+
const credentials = yield* Service78;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID13.openai, ID7.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-hktyk2mm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service66,
|
|
22
|
+
node69
|
|
23
|
+
} from "./app-wvzpvwy9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service65,
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service65,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node68,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service66;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node68 = makeLocationNode({
|
|
71
|
+
service: Service65,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service65, node68, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./app-2a6rn6yr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./app-p3hpvtvr.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|