@opencode/core 0.0.0-dev-20854 → 0.0.0-dev-20857
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 +73 -73
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{snapshot-z1j66m5m.js → shell-0gkn8nvr.js} +9 -9
- package/dist/chunks/{snapshot-zejcb5bb.js → shell-0hqe3qpg.js} +32 -32
- package/dist/chunks/{snapshot-h8wzkg43.js → shell-0j99dzqs.js} +25 -25
- package/dist/chunks/{snapshot-0996nyz8.js → shell-0jq9fyba.js} +9 -9
- package/dist/chunks/{snapshot-fxww3vkk.js → shell-0ktwtxn5.js} +24 -24
- package/dist/chunks/{snapshot-0vbcp93d.js → shell-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-cf6gmne1.js → shell-0xg4dbhf.js} +13 -13
- package/dist/chunks/{snapshot-7kt5ec22.js → shell-118n48gh.js} +23 -23
- package/dist/chunks/{snapshot-z9dst3cg.js → shell-11kenztd.js} +27 -27
- package/dist/chunks/{snapshot-2hn7av3m.js → shell-181x02k0.js} +31 -31
- package/dist/chunks/{snapshot-eahqb6ke.js → shell-1akek5x1.js} +28 -28
- package/dist/chunks/{snapshot-p0302ss0.js → shell-1s00cqm4.js} +22 -22
- package/dist/chunks/{snapshot-1hx7m0gn.js → shell-1sj6n9gw.js} +23 -23
- package/dist/chunks/{snapshot-9kmpexhc.js → shell-1yafhzvh.js} +45 -45
- package/dist/chunks/{snapshot-xn2d9mj3.js → shell-2468dt4m.js} +11 -11
- package/dist/chunks/{snapshot-3zqpheq4.js → shell-28cbs3s9.js} +22 -22
- package/dist/chunks/{snapshot-pkb3ay4t.js → shell-2c3zkedc.js} +7 -7
- package/dist/chunks/{snapshot-x0n2r8bm.js → shell-2jmthg8v.js} +12 -12
- package/dist/chunks/{snapshot-zy26rbxg.js → shell-2jqxqhvd.js} +24 -24
- package/dist/chunks/{snapshot-vz7j5hz5.js → shell-2k8k9dqx.js} +12 -12
- package/dist/chunks/{snapshot-0jwsre1p.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{snapshot-2ktf0ed2.js → shell-2ktf0ed2.js} +1 -1
- package/dist/chunks/{snapshot-hky8srv6.js → shell-2tpp7g1c.js} +17 -17
- package/dist/chunks/{snapshot-2vvh33eb.js → shell-2vvh33eb.js} +2 -2
- package/dist/chunks/{snapshot-9ttnny7k.js → shell-2wjcem9c.js} +5 -5
- package/dist/chunks/{snapshot-h7s7r6s9.js → shell-31xfzrxg.js} +5 -5
- package/dist/chunks/{snapshot-hgcw6g89.js → shell-33t10hcv.js} +20 -20
- package/dist/chunks/{snapshot-1f5hxzwj.js → shell-33vqne08.js} +29 -29
- package/dist/chunks/{snapshot-adns1g9g.js → shell-3a932jrg.js} +21 -21
- package/dist/chunks/{snapshot-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-1raercmk.js → shell-3h23vtn4.js} +8 -8
- package/dist/chunks/{snapshot-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3hwn7j4h.js → shell-3hwn7j4h.js} +2 -2
- package/dist/chunks/{snapshot-9g7pswbf.js → shell-3nm0194b.js} +18 -18
- package/dist/chunks/{snapshot-bg1wkd0b.js → shell-3pw25jfp.js} +11 -11
- package/dist/chunks/{snapshot-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-0hnj9qkb.js → shell-3vwa7tag.js} +4 -4
- package/dist/chunks/{snapshot-jhh798t7.js → shell-3xz8c404.js} +16 -16
- package/dist/chunks/{snapshot-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-gj71zhbs.js → shell-47jkzegy.js} +5 -5
- package/dist/chunks/{snapshot-4gezj5dt.js → shell-4bme9fsw.js} +4 -4
- package/dist/chunks/{snapshot-jtfvy0x1.js → shell-4ny6ge39.js} +5 -5
- package/dist/chunks/{snapshot-4ts7tf6z.js → shell-4ts7tf6z.js} +2 -2
- package/dist/chunks/{snapshot-meynmx88.js → shell-53b2w85q.js} +43 -43
- package/dist/chunks/{snapshot-bv9pwty2.js → shell-57q58vcn.js} +11 -11
- package/dist/chunks/{snapshot-yd4bzqjj.js → shell-58hng72m.js} +5 -5
- package/dist/chunks/{snapshot-pgm6csgf.js → shell-5f4jfw0a.js} +9 -9
- package/dist/chunks/{snapshot-73v3pe0h.js → shell-5f5jqs5q.js} +22 -22
- package/dist/chunks/{snapshot-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-a16rd8k8.js → shell-5s7atwjr.js} +26 -26
- package/dist/chunks/{snapshot-0sacbgq8.js → shell-5zaqnmf3.js} +11 -11
- package/dist/chunks/{snapshot-pdqzrdag.js → shell-632pjh68.js} +8 -8
- package/dist/chunks/{snapshot-9pa8tak9.js → shell-63db42yp.js} +2 -2
- package/dist/chunks/{snapshot-kasbmhf8.js → shell-64xe14bq.js} +9 -9
- package/dist/chunks/{snapshot-323ga0xb.js → shell-67jmpk4a.js} +3 -3
- package/dist/chunks/{snapshot-9vxdwdzz.js → shell-682w9aj8.js} +14 -14
- package/dist/chunks/{snapshot-meztqrmt.js → shell-68np1yjd.js} +46 -46
- package/dist/chunks/{snapshot-d216944b.js → shell-6hh8tjw2.js} +7 -7
- package/dist/chunks/{snapshot-1p07q0wb.js → shell-6pc27hjz.js} +8 -8
- package/dist/chunks/{snapshot-6xb47vfp.js → shell-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-vxrq7gy3.js → shell-7cw62h38.js} +21 -21
- package/dist/chunks/{snapshot-q9099wq0.js → shell-7gy4tvah.js} +11 -11
- package/dist/chunks/{snapshot-x9cg0rxw.js → shell-7jvqc6c6.js} +3 -3
- package/dist/chunks/{snapshot-fwetwkyp.js → shell-7q04ztt9.js} +11 -11
- package/dist/chunks/{snapshot-ck1fd7pj.js → shell-82bdeemj.js} +48 -48
- package/dist/chunks/{snapshot-qxteq9gp.js → shell-841ny8t5.js} +3 -3
- package/dist/chunks/{snapshot-84txncab.js → shell-84txncab.js} +1 -1
- package/dist/chunks/{snapshot-4t394y7h.js → shell-87x2mn9m.js} +35 -35
- package/dist/chunks/{snapshot-82x33wmm.js → shell-88j1htk6.js} +8 -8
- package/dist/chunks/{snapshot-gpcfbphx.js → shell-8bqqxrfh.js} +16 -16
- package/dist/chunks/{snapshot-8m6m0r52.js → shell-8m6m0r52.js} +1 -1
- package/dist/chunks/{snapshot-rrvferkx.js → shell-8rfck53x.js} +10 -10
- package/dist/chunks/{snapshot-t24steab.js → shell-8wyr28s0.js} +22 -22
- package/dist/chunks/{snapshot-yw0bx123.js → shell-8y8ypgde.js} +13 -13
- package/dist/chunks/{snapshot-j09zfasm.js → shell-91qna3x0.js} +3 -3
- package/dist/chunks/{snapshot-71r40yks.js → shell-93jjqfz5.js} +6 -6
- package/dist/chunks/{snapshot-2pd7f3c1.js → shell-983vvjqk.js} +18 -18
- package/dist/chunks/{snapshot-t4xp0xer.js → shell-9dnw0m4x.js} +20 -20
- package/dist/chunks/{snapshot-qwz14s94.js → shell-9e7yf4tn.js} +17 -17
- package/dist/chunks/{snapshot-62gdzg6n.js → shell-9qq9n83k.js} +9 -9
- package/dist/chunks/{snapshot-dx27xtfn.js → shell-9sz12wvq.js} +36 -36
- package/dist/chunks/{snapshot-a0we08s8.js → shell-9zkr33jc.js} +27 -27
- package/dist/chunks/{snapshot-92fscyhx.js → shell-abx6ba1k.js} +11 -11
- package/dist/chunks/{snapshot-xkcby2w3.js → shell-arpm3677.js} +26 -26
- package/dist/chunks/{snapshot-e62hrcgf.js → shell-az60rtqd.js} +3 -3
- package/dist/chunks/{snapshot-qhtz5tn1.js → shell-b07bdj3t.js} +6 -6
- package/dist/chunks/{snapshot-bjx1sjef.js → shell-bjx1sjef.js} +2 -2
- package/dist/chunks/{snapshot-wdjckp9n.js → shell-bqwra9sc.js} +68 -68
- package/dist/chunks/{snapshot-hdaz9kwv.js → shell-byxe4xe3.js} +22 -22
- package/dist/chunks/{snapshot-hwxse503.js → shell-c2whqjrb.js} +44 -44
- package/dist/chunks/{snapshot-g751szay.js → shell-c3mck475.js} +13 -13
- package/dist/chunks/{snapshot-rj3eygr5.js → shell-c41wscbt.js} +2 -2
- package/dist/chunks/{snapshot-4a32xa5p.js → shell-c4c13zy6.js} +17 -17
- package/dist/chunks/{snapshot-sa8ekw3f.js → shell-c8ax2afj.js} +2 -2
- package/dist/chunks/{snapshot-0jzh9efz.js → shell-cf0jnzc0.js} +3 -3
- package/dist/chunks/{snapshot-1a5mtg6h.js → shell-cpj79xmq.js} +19 -19
- package/dist/chunks/{snapshot-rw725m44.js → shell-cvkxtcs1.js} +5 -5
- package/dist/chunks/{snapshot-0nghcqs1.js → shell-df6av868.js} +7 -7
- package/dist/chunks/{snapshot-57b9ws8p.js → shell-drwq78ky.js} +5 -5
- package/dist/chunks/{snapshot-bwx17gqq.js → shell-dsdpa88b.js} +28 -28
- package/dist/chunks/{snapshot-zhcb31md.js → shell-dtgwcqw4.js} +11 -11
- package/dist/chunks/{snapshot-evv0vwxw.js → shell-e3hb41re.js} +9 -9
- package/dist/chunks/{snapshot-nxm9bewc.js → shell-e3ztwkqf.js} +21 -21
- package/dist/chunks/{snapshot-e80seqcp.js → shell-e80seqcp.js} +1 -1
- package/dist/chunks/{snapshot-rv8bg9zk.js → shell-e8vwfchq.js} +3 -3
- package/dist/chunks/{snapshot-eaj1djv9.js → shell-eaj1djv9.js} +1 -1
- package/dist/chunks/{snapshot-eej6y6fw.js → shell-eej6y6fw.js} +2 -2
- package/dist/chunks/{snapshot-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-9cmfgt91.js → shell-entw2tdd.js} +14 -14
- package/dist/chunks/{snapshot-rmbqd2ve.js → shell-epmd2pwp.js} +5 -5
- package/dist/chunks/{snapshot-xkxtbnne.js → shell-eq7gpfag.js} +36 -36
- package/dist/chunks/{snapshot-c1fqxshp.js → shell-es1vcfrp.js} +3 -3
- package/dist/chunks/{snapshot-yrd2kh6r.js → shell-ev7b3fzk.js} +16 -16
- package/dist/chunks/{snapshot-gw7cjrad.js → shell-f29mbr7f.js} +4 -4
- package/dist/chunks/{snapshot-1acjjqhc.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{snapshot-nb6tc7gn.js → shell-f6nebfwf.js} +7 -7
- package/dist/chunks/{snapshot-gr6rb6jp.js → shell-f6x208qp.js} +28 -28
- package/dist/chunks/{snapshot-3fppgx15.js → shell-f8rnhecd.js} +11 -11
- package/dist/chunks/{snapshot-4xffw7wa.js → shell-faz53sv5.js} +5 -5
- package/dist/chunks/{snapshot-ma15yhyh.js → shell-fegk541e.js} +5 -5
- package/dist/chunks/{snapshot-vyxcgzxm.js → shell-ff1pt9vp.js} +4 -4
- package/dist/chunks/{snapshot-t3g5z3jq.js → shell-fnf0t1mw.js} +4 -4
- package/dist/chunks/{snapshot-ft3hqk2c.js → shell-ft3hqk2c.js} +2 -2
- package/dist/chunks/{snapshot-4vetjhn5.js → shell-fw4m26gt.js} +16 -16
- package/dist/chunks/{snapshot-jad7v81x.js → shell-fw7y5174.js} +16 -16
- package/dist/chunks/{snapshot-fxaymqdw.js → shell-fxaymqdw.js} +1 -1
- package/dist/chunks/{snapshot-twxex640.js → shell-g3mtxeza.js} +27 -27
- package/dist/chunks/{snapshot-r00vxzkf.js → shell-g6r2vvv3.js} +13 -13
- package/dist/chunks/{snapshot-5a4dpzx5.js → shell-g8z8mf78.js} +20 -20
- package/dist/chunks/{snapshot-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/shell-gk3sxse2.js +26 -0
- package/dist/chunks/{snapshot-gk8qb678.js → shell-gk8qb678.js} +1 -1
- package/dist/chunks/{snapshot-pck7vvdx.js → shell-gp9jqd59.js} +6 -6
- package/dist/chunks/{snapshot-k22b66k8.js → shell-gqtdsdt7.js} +4 -4
- package/dist/chunks/{snapshot-atj79w0v.js → shell-gz22y1bs.js} +34 -34
- package/dist/chunks/{snapshot-685jv0gk.js → shell-gzy6twtn.js} +26 -26
- package/dist/chunks/{snapshot-gpmsrege.js → shell-h0wknqx0.js} +15 -15
- package/dist/chunks/{snapshot-m0zh6mp4.js → shell-h1f6pjh7.js} +13 -13
- package/dist/chunks/{snapshot-xwazsn8k.js → shell-h6645hhn.js} +25 -25
- package/dist/chunks/{snapshot-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-a3c7ahw6.js → shell-h9pnpq88.js} +4 -4
- package/dist/chunks/{snapshot-egftgkpy.js → shell-hcxmzztb.js} +6 -11
- package/dist/chunks/{snapshot-hgz4x7wa.js → shell-hgz4x7wa.js} +1 -1
- package/dist/chunks/{snapshot-ncf68bzz.js → shell-hyay7qq8.js} +8 -8
- package/dist/chunks/{snapshot-npw39rc8.js → shell-j2t2p12e.js} +8 -8
- package/dist/chunks/{snapshot-edd5yykw.js → shell-j30cfxah.js} +18 -18
- package/dist/chunks/{snapshot-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-be7jta6m.js → shell-j5wgpdyg.js} +4 -4
- package/dist/chunks/{snapshot-wg81ww38.js → shell-jdz4qjxc.js} +4 -4
- package/dist/chunks/{snapshot-a6fw190p.js → shell-jp4zc2gb.js} +17 -17
- package/dist/chunks/{snapshot-gst7axd9.js → shell-jvf3yq6v.js} +4 -4
- package/dist/chunks/{snapshot-h30nn26j.js → shell-k03emvff.js} +5 -5
- package/dist/chunks/{snapshot-q9s0qt54.js → shell-k0sn68eq.js} +22 -22
- package/dist/chunks/{snapshot-1bwe1zv2.js → shell-k8bpgq9y.js} +3 -3
- package/dist/chunks/{snapshot-3nqjeqvp.js → shell-kf6psgf8.js} +14 -14
- package/dist/chunks/{snapshot-8qhbfk2n.js → shell-kg25nbg7.js} +15 -15
- package/dist/chunks/{snapshot-getmpk2p.js → shell-krn5wsz0.js} +25 -25
- package/dist/chunks/{snapshot-pnevy8t0.js → shell-ks02k8er.js} +14 -14
- package/dist/chunks/{snapshot-2nbevc3z.js → shell-ktbyzt1t.js} +77 -77
- package/dist/chunks/{snapshot-r1pe02km.js → shell-ktk04ca5.js} +6 -6
- package/dist/chunks/{snapshot-s21g3yfm.js → shell-kx7rze29.js} +5 -5
- package/dist/chunks/{snapshot-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-vvdk2v7s.js → shell-mah44h74.js} +31 -31
- package/dist/chunks/{snapshot-be7qvw84.js → shell-mp6d0dty.js} +8 -8
- package/dist/chunks/{snapshot-sz15zhhw.js → shell-mqqhst8y.js} +4 -4
- package/dist/chunks/{snapshot-6wg7wrda.js → shell-mqzwkyay.js} +6 -6
- package/dist/chunks/{snapshot-q6pvwn5s.js → shell-mt35knet.js} +10 -10
- package/dist/chunks/{snapshot-t0jcgyeh.js → shell-mttz8j9s.js} +11 -11
- package/dist/chunks/{snapshot-44x47vc1.js → shell-mvd5p9bb.js} +15 -13
- package/dist/chunks/{snapshot-3ppptnan.js → shell-mx9vqzsb.js} +6 -6
- package/dist/chunks/{snapshot-g1vbddss.js → shell-nndebfwy.js} +5 -5
- package/dist/chunks/{snapshot-cmwkp3r5.js → shell-p37cw4rj.js} +8 -8
- package/dist/chunks/{snapshot-rv7cqpdn.js → shell-p92dhjvd.js} +22 -22
- package/dist/chunks/{snapshot-gp6j0m16.js → shell-pf6q70e9.js} +153 -153
- package/dist/chunks/{snapshot-sy5bqw1f.js → shell-phfrfwqb.js} +36 -36
- package/dist/chunks/{snapshot-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-xdykc06c.js → shell-pk6nmean.js} +15 -15
- package/dist/chunks/{snapshot-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-t2sp9sft.js → shell-pnxzm4kn.js} +45 -45
- package/dist/chunks/{snapshot-yfv49cfa.js → shell-pq1zagfs.js} +50 -50
- package/dist/chunks/{snapshot-q5t8tkm3.js → shell-pqzzsrxq.js} +13 -13
- package/dist/chunks/{snapshot-31ymszjf.js → shell-pv9sm355.js} +1 -1
- package/dist/chunks/{snapshot-fzrap74d.js → shell-pwmg338d.js} +4 -4
- package/dist/chunks/{snapshot-q0xm7vwc.js → shell-q0xm7vwc.js} +2 -2
- package/dist/chunks/{snapshot-jaqgj7gd.js → shell-q1c758g9.js} +3 -3
- package/dist/chunks/{snapshot-qxs3vhad.js → shell-q4pbgert.js} +8 -8
- package/dist/chunks/{snapshot-7zt5x37y.js → shell-q5e7cmwt.js} +1 -1
- package/dist/chunks/{snapshot-qm7yafx2.js → shell-qgbx7jx4.js} +28 -27
- package/dist/chunks/{snapshot-cxz0trys.js → shell-qh14mjfc.js} +18 -18
- package/dist/chunks/{snapshot-j05shhqh.js → shell-qh6nb83h.js} +4 -4
- package/dist/chunks/{snapshot-xzf894n2.js → shell-qmpmkqxw.js} +37 -37
- package/dist/chunks/{snapshot-qnc92qwc.js → shell-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-pxdh6z4x.js → shell-qsz061kc.js} +7 -5
- package/dist/chunks/{snapshot-4985kjca.js → shell-qt9fyfar.js} +83 -83
- package/dist/chunks/{snapshot-3h72pgqc.js → shell-qtkjtvs8.js} +41 -41
- package/dist/chunks/{snapshot-gjw4dczg.js → shell-r6wk3e1b.js} +9 -9
- package/dist/chunks/{snapshot-c7eggyj2.js → shell-r6zqzxy3.js} +10 -10
- package/dist/chunks/{snapshot-nd4tfyg0.js → shell-r70na3yp.js} +9 -9
- package/dist/chunks/{snapshot-e81g86hq.js → shell-r8797p99.js} +2 -2
- package/dist/chunks/{snapshot-54ma36ye.js → shell-r94pvvab.js} +4 -4
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{snapshot-5jkm5zt2.js → shell-rates9x1.js} +11 -11
- package/dist/chunks/{snapshot-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-7jcc7m0g.js → shell-rfxw09g8.js} +11 -11
- package/dist/chunks/{snapshot-nf9s1prm.js → shell-rpb33kad.js} +14 -14
- package/dist/chunks/{snapshot-mma6j8c6.js → shell-rpzx8dkj.js} +31 -31
- package/dist/chunks/{snapshot-313rc44e.js → shell-rv5y0vmv.js} +10 -10
- package/dist/chunks/{snapshot-x2g642t3.js → shell-rvmjpvff.js} +16 -16
- package/dist/chunks/{snapshot-bqry624m.js → shell-rzj4ym1h.js} +11 -11
- package/dist/chunks/{snapshot-6sbb3tqx.js → shell-s08px70s.js} +20 -20
- package/dist/chunks/{snapshot-ncff0ghb.js → shell-s0a13pd7.js} +7 -7
- package/dist/chunks/{snapshot-4b88qf44.js → shell-s208y4th.js} +14 -14
- package/dist/chunks/{snapshot-2bpy8z58.js → shell-s4vt6k96.js} +13 -13
- package/dist/chunks/{snapshot-9pttm90n.js → shell-s80ty4qk.js} +17 -17
- package/dist/chunks/{snapshot-eejq6m04.js → shell-sbfx8qse.js} +13 -13
- package/dist/chunks/{snapshot-scgrse2b.js → shell-scgrse2b.js} +2 -2
- package/dist/chunks/{snapshot-143qq2q9.js → shell-ss358qx3.js} +3 -3
- package/dist/chunks/{snapshot-svcw9x3w.js → shell-svcw9x3w.js} +5 -5
- package/dist/chunks/{snapshot-xbn8j5gg.js → shell-svtyq4ac.js} +15 -15
- package/dist/chunks/{snapshot-j6y24mx7.js → shell-sw70p10z.js} +39 -39
- package/dist/chunks/{snapshot-syv4x271.js → shell-syv4x271.js} +1 -1
- package/dist/chunks/shell-t2gkmt3j.js +253 -0
- package/dist/chunks/{snapshot-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tj9ze35q.js → shell-tbt8nw36.js} +19 -19
- package/dist/chunks/{snapshot-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{snapshot-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-86hs0axb.js → shell-tk5yhcbe.js} +1 -1
- package/dist/chunks/{snapshot-rert0e01.js → shell-tkb22qbm.js} +2 -2
- package/dist/chunks/{snapshot-tm0kqsz3.js → shell-tm0kqsz3.js} +1 -1
- package/dist/chunks/{snapshot-pk3rgn0k.js → shell-tpkp3zjz.js} +18 -18
- package/dist/chunks/{snapshot-d48vtfkp.js → shell-ts860kc8.js} +16 -16
- package/dist/chunks/{snapshot-tyytaxap.js → shell-tyytaxap.js} +1 -1
- package/dist/chunks/{snapshot-6g7e4dd5.js → shell-v0es1rhs.js} +7 -7
- package/dist/chunks/{snapshot-ccjdyf7k.js → shell-v42vq798.js} +4 -4
- package/dist/chunks/{snapshot-v7p4zvkq.js → shell-v7p4zvkq.js} +2 -2
- package/dist/chunks/{snapshot-86qzxe6p.js → shell-vbfgae2j.js} +4 -4
- package/dist/chunks/{snapshot-1r73c9nv.js → shell-vbskb40y.js} +17 -17
- package/dist/chunks/{snapshot-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-5nq8wefj.js → shell-vk1989fk.js} +5 -5
- package/dist/chunks/{snapshot-dj5070pm.js → shell-vn01hwr7.js} +36 -36
- package/dist/chunks/{snapshot-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-n6j6gvjr.js → shell-w3jswt4w.js} +25 -25
- package/dist/chunks/{snapshot-c38a98sw.js → shell-w3nh5stq.js} +314 -314
- package/dist/chunks/{snapshot-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-ekje3y56.js → shell-w9g6mbyt.js} +21 -21
- package/dist/chunks/{snapshot-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-w39jehkq.js → shell-wh6zw745.js} +5 -5
- package/dist/chunks/{snapshot-711nmkr3.js → shell-wmhzr98j.js} +18 -18
- package/dist/chunks/{snapshot-g0886e5s.js → shell-wpe961ww.js} +7 -7
- package/dist/chunks/{snapshot-kxevvgj2.js → shell-wr1923h8.js} +31 -31
- package/dist/chunks/{snapshot-4k07v71c.js → shell-xb9ncd0s.js} +8 -8
- package/dist/chunks/{snapshot-ajtydnxp.js → shell-xd893mcj.js} +14 -14
- package/dist/chunks/{snapshot-px49nktx.js → shell-xdy68qwd.js} +18 -18
- package/dist/chunks/{snapshot-v61gpap5.js → shell-xeajrh0t.js} +20 -20
- package/dist/chunks/{snapshot-ws8te88a.js → shell-xmx6k93b.js} +5 -5
- package/dist/chunks/{snapshot-ggdbdp3p.js → shell-xt19rdf3.js} +22 -22
- package/dist/chunks/{snapshot-yh7kjdpc.js → shell-y0mc46pw.js} +9 -9
- package/dist/chunks/{snapshot-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{snapshot-tczskvm4.js → shell-ybqgtr0n.js} +9 -9
- package/dist/chunks/{snapshot-f6vbds02.js → shell-ye89ra46.js} +18 -18
- package/dist/chunks/{snapshot-j7n20m06.js → shell-ymg992xw.js} +9 -9
- package/dist/chunks/{snapshot-n1bf2k3s.js → shell-ysxfpacz.js} +10 -10
- package/dist/chunks/{snapshot-3zj1jny9.js → shell-yyrccqnw.js} +11 -11
- package/dist/chunks/{snapshot-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-ryrkax6k.js → shell-z8y202y4.js} +18 -18
- package/dist/chunks/{snapshot-w9m81hfh.js → shell-z9w42y3k.js} +13 -13
- package/dist/chunks/{snapshot-7sn28qaa.js → shell-zad8d2d9.js} +14 -14
- package/dist/chunks/{snapshot-ww4mptbv.js → shell-zj5zbbtb.js} +6 -6
- package/dist/chunks/{snapshot-z7g7qfqe.js → shell-zm45khrf.js} +13 -13
- package/dist/chunks/{snapshot-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-cvm04r39.js → shell-zv6d9m0q.js} +8 -8
- package/dist/chunks/{snapshot-qp5xdmt9.js → shell-zvzcnbnd.js} +12 -12
- package/dist/chunks/{snapshot-q1wh2s52.js → shell-zw1fbe70.js} +11 -11
- package/dist/chunks/{snapshot-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- 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 +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/provider.d.ts +15 -0
- package/dist/types/v1/config/migrate.d.ts +4 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- 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 +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/snapshot-8bavg15d.js +0 -253
- package/dist/chunks/snapshot-9zdhvgqs.js +0 -18
- package/dist/chunks/snapshot-kgjy6kx3.js +0 -26
- /package/dist/chunks/{snapshot-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → shell-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-bw78ga2c.js → shell-bw78ga2c.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-pyv0edze.js → shell-pyv0edze.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-v42vq798.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID12,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError8,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID12 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info21 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node77 = makeLocationNode({ service: Service73, layer: layer26, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID12,
|
|
319
|
+
export { ID12, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer26, node77, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service53,
|
|
3
|
+
node56,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-0gkn8nvr.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node47
|
|
9
|
+
} from "./shell-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./shell-0ktwtxn5.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-t2gkmt3j.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service53, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node47.replace(Layer.succeed(Service45, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node56.replace(Layer.succeed(Service53, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-v42vq798.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-krn5wsz0.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-4ny6ge39.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info22,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service74,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node78
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info22, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service74 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
61
|
const location = yield* Service81;
|
|
62
62
|
const bus = yield* Service84;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info22));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service74.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node78 = makeLocationNode({
|
|
191
|
+
service: Service74,
|
|
192
192
|
layer,
|
|
193
193
|
deps: [FSUtil.node, node85, node88]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info22, Mode2, DiffError2, InitializeError2, Service74, node78, exports_vcs };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./shell-e3ztwkqf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service54,
|
|
17
|
+
node: () => node57,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service54 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service59;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service54.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node57 = makeLocationNode({ service: Service54, layer, deps: [node62] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service54, readText2, syncTextBom2, node57, exports_file_mutation };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info26, SessionSchema2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-rvmjpvff.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin42,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin42 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service76;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description4,
|
|
104
|
-
input:
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin26 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin42, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-v42vq798.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-4ny6ge39.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node62
|
|
12
|
+
} from "./shell-e3ztwkqf.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service58,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node61
|
|
20
|
+
} from "./shell-vbskb40y.js";
|
|
21
21
|
import {
|
|
22
22
|
Service80,
|
|
23
23
|
node84
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-2ktf0ed2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service57,
|
|
27
|
+
node60
|
|
28
|
+
} from "./shell-mp6d0dty.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-ss358qx3.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service61,
|
|
35
|
+
node65
|
|
36
|
+
} from "./shell-53b2w85q.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./shell-7gy4tvah.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service56,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node59
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service56, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service84;
|
|
92
92
|
const location = yield* Service81;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
94
|
+
const shell = yield* Service58;
|
|
95
|
+
const environment = yield* Service59;
|
|
96
96
|
const hooks = yield* Service80;
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
97
|
+
const environments = yield* Service57;
|
|
98
|
+
const config = yield* Service61;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service56.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node59 = makeLocationNode({
|
|
329
|
+
service: Service56,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node88,
|
|
333
333
|
node85,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
node61,
|
|
336
|
+
node62,
|
|
337
337
|
node84,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node60,
|
|
339
|
+
node65,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service56, cleanup2, node59, exports_shell4 };
|