@opencode/core 0.0.0-dev-987 → 0.0.0-dev-992
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +248 -248
- package/dist/bus.js +84 -84
- package/dist/chunks/{location-activity-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{location-activity-p7yrz5nk.js → vcs-060dfe6n.js} +1 -1
- package/dist/chunks/{location-activity-2qr0rzrp.js → vcs-0cvmjxzj.js} +8 -8
- package/dist/chunks/{location-activity-sqjzf8x2.js → vcs-0j7gp832.js} +4 -4
- package/dist/chunks/{location-activity-0ma9gw4f.js → vcs-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-activity-rcqer930.js → vcs-0mg5vdb7.js} +10 -10
- package/dist/chunks/{location-activity-0jsgyh0f.js → vcs-0q6arj75.js} +18 -18
- package/dist/chunks/{location-activity-cwekmztx.js → vcs-0qh3s10f.js} +7 -7
- package/dist/chunks/{location-activity-zenwj1bk.js → vcs-0v0sg5xf.js} +7 -7
- package/dist/chunks/{location-activity-nke33pk8.js → vcs-10k9q9s4.js} +15 -15
- package/dist/chunks/{location-activity-q86n81se.js → vcs-10kwm61e.js} +27 -27
- package/dist/chunks/{location-activity-tgtcwexg.js → vcs-13bvbw75.js} +2 -2
- package/dist/chunks/{location-activity-n3ne7cg6.js → vcs-15ak9g0q.js} +17 -17
- package/dist/chunks/{location-activity-g8vemvpr.js → vcs-17b8a7h3.js} +11 -11
- package/dist/chunks/{location-activity-m61zemsm.js → vcs-19hjjw3f.js} +5 -5
- package/dist/chunks/{location-activity-1aqsckx4.js → vcs-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-activity-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-activity-w48gbg6x.js → vcs-1ghj4q2v.js} +8 -8
- package/dist/chunks/{location-activity-s5zrq09q.js → vcs-1mk73hd7.js} +8 -8
- package/dist/chunks/{location-activity-hykw297x.js → vcs-1pp079r0.js} +10 -10
- package/dist/chunks/{location-activity-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-1yq9hg58.js → vcs-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-activity-9yfk7tdb.js → vcs-2a9d7jcj.js} +24 -24
- package/dist/chunks/{location-activity-2fc7eemy.js → vcs-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-activity-br0kkpnn.js → vcs-2kj7f5bg.js} +4 -4
- package/dist/chunks/{location-activity-83gneb70.js → vcs-2ph0djvz.js} +7 -7
- package/dist/chunks/{location-activity-d07ytzdq.js → vcs-2w0yr7nw.js} +14 -14
- package/dist/chunks/{location-activity-ek081tkm.js → vcs-2w4esk03.js} +11 -11
- package/dist/chunks/{location-activity-brcb2w2g.js → vcs-2x9y0038.js} +21 -21
- package/dist/chunks/{location-activity-qaws51wh.js → vcs-3004f81x.js} +37 -37
- package/dist/chunks/{location-activity-amrtrt55.js → vcs-3045a632.js} +9 -9
- package/dist/chunks/{location-activity-9vzcj63j.js → vcs-34zk51mx.js} +7 -7
- package/dist/chunks/{location-activity-jv2fbvfa.js → vcs-36126cs1.js} +31 -31
- package/dist/chunks/{location-activity-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-t1xx9751.js → vcs-3mmaz28m.js} +20 -20
- package/dist/chunks/{location-activity-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-activity-kq5r0za5.js → vcs-3qtzh2d4.js} +23 -23
- package/dist/chunks/{location-activity-3wm5368y.js → vcs-3whhw1af.js} +10 -10
- package/dist/chunks/{location-activity-wa0kc940.js → vcs-3xvb2dra.js} +37 -37
- package/dist/chunks/{location-activity-40y6dtc2.js → vcs-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-activity-w2eysc6j.js → vcs-40za9wsf.js} +9 -9
- package/dist/chunks/{location-activity-wmgzpvnp.js → vcs-41qy4ftr.js} +19 -19
- package/dist/chunks/{location-activity-vg3z5gnk.js → vcs-41vcgjey.js} +7 -7
- package/dist/chunks/{location-activity-22fmq4q5.js → vcs-42wyghj7.js} +27 -27
- package/dist/chunks/{location-activity-yecw69r3.js → vcs-47739qa1.js} +54 -54
- package/dist/chunks/{location-activity-4dx1dgte.js → vcs-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-activity-03w2f4z8.js → vcs-4eyf6zwm.js} +22 -22
- package/dist/chunks/{location-activity-r542h3bh.js → vcs-4f25tdd0.js} +5 -5
- package/dist/chunks/{location-activity-gc4zkqav.js → vcs-4h99wbbk.js} +11 -11
- package/dist/chunks/{location-activity-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-activity-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-xc23ff0h.js → vcs-58wf94jx.js} +6 -6
- package/dist/chunks/{location-activity-jwrxw92k.js → vcs-5angwdqm.js} +21 -21
- package/dist/chunks/{location-activity-rn9s9yyh.js → vcs-5deeambf.js} +18 -18
- package/dist/chunks/{location-activity-r3yws5fn.js → vcs-5e4fvpp9.js} +6 -6
- package/dist/chunks/{location-activity-2fvqcyr5.js → vcs-5fvvatmz.js} +22 -22
- package/dist/chunks/{location-activity-pn8ry3bp.js → vcs-5k7cnntk.js} +25 -25
- package/dist/chunks/{location-activity-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-fwj259gx.js → vcs-5r83sbgv.js} +29 -29
- package/dist/chunks/{location-activity-6n45pgty.js → vcs-5vjzza5z.js} +6 -6
- package/dist/chunks/{location-activity-xjnjqzv9.js → vcs-5xsw09za.js} +12 -12
- package/dist/chunks/{location-activity-cnr1460q.js → vcs-60wwq298.js} +23 -23
- package/dist/chunks/{location-activity-7zk1twtn.js → vcs-61h6vny9.js} +18 -18
- package/dist/chunks/{location-activity-2x32zgtf.js → vcs-624s8de0.js} +6 -6
- package/dist/chunks/{location-activity-9cxv5b0w.js → vcs-6a2za7w4.js} +12 -12
- package/dist/chunks/{location-activity-6y2b864j.js → vcs-6y2b864j.js} +1 -1
- package/dist/chunks/{location-activity-8bf2rj1b.js → vcs-6y6hcrfs.js} +29 -29
- package/dist/chunks/{location-activity-sngq120t.js → vcs-7201a98w.js} +28 -28
- package/dist/chunks/{location-activity-jzz6hgep.js → vcs-73jzbm75.js} +11 -11
- package/dist/chunks/{location-activity-775hqbnd.js → vcs-775hqbnd.js} +3 -3
- package/dist/chunks/{location-activity-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-3zgxg6wn.js → vcs-7c0qhbzg.js} +35 -35
- package/dist/chunks/{location-activity-vswg3fep.js → vcs-7c98asmx.js} +5 -5
- package/dist/chunks/{location-activity-hgykqktw.js → vcs-7ceny9yz.js} +30 -30
- package/dist/chunks/{location-activity-cz06e7xw.js → vcs-7gdydg72.js} +2 -2
- package/dist/chunks/{location-activity-q7jh9pdq.js → vcs-7j3n724e.js} +9 -9
- package/dist/chunks/{location-activity-46gmz13n.js → vcs-7k2fn0cm.js} +25 -25
- package/dist/chunks/{location-activity-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-7weczvnd.js → vcs-7weczvnd.js} +1 -1
- package/dist/chunks/{location-activity-2dgn6exq.js → vcs-7xyajdf3.js} +4 -4
- package/dist/chunks/{location-activity-1299bja4.js → vcs-7z1z2ct9.js} +12 -12
- package/dist/chunks/{location-activity-80pdk984.js → vcs-80pdk984.js} +1 -1
- package/dist/chunks/{location-activity-5yz902x6.js → vcs-85ds851x.js} +15 -15
- package/dist/chunks/{location-activity-15rkhzvg.js → vcs-85z5k2nc.js} +23 -23
- package/dist/chunks/{location-activity-s104ynzc.js → vcs-89sjpnmj.js} +3 -3
- package/dist/chunks/{location-activity-bj1xdf2y.js → vcs-8atb7qfz.js} +53 -53
- package/dist/chunks/{location-activity-25h84942.js → vcs-8b3vzgkx.js} +4 -4
- package/dist/chunks/{location-activity-eg8g896v.js → vcs-8bdhvbne.js} +34 -34
- package/dist/chunks/{location-activity-5whx36p1.js → vcs-8cg7mtm3.js} +4 -4
- package/dist/chunks/{location-activity-q57j84w8.js → vcs-8mkdeds3.js} +9 -9
- package/dist/chunks/{location-activity-1p24dj4g.js → vcs-8ns2yqab.js} +6 -6
- package/dist/chunks/{location-activity-ffvembpb.js → vcs-8qxf3xg9.js} +11 -11
- package/dist/chunks/{location-activity-8sxe6kv8.js → vcs-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-activity-j82m12k7.js → vcs-8t99kr38.js} +7 -7
- package/dist/chunks/{location-activity-s3a39sy5.js → vcs-8vw2f1y7.js} +19 -19
- package/dist/chunks/{location-activity-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-activity-f9grz4z3.js → vcs-8zq1s6xc.js} +11 -11
- package/dist/chunks/{location-activity-8zv0xmg5.js → vcs-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-activity-z080rjh6.js → vcs-90ct6wq4.js} +4 -4
- package/dist/chunks/{location-activity-y8f2gq8v.js → vcs-916xet5y.js} +6 -6
- package/dist/chunks/{location-activity-se0tpw6x.js → vcs-963hk181.js} +7 -7
- package/dist/chunks/{location-activity-8nap5c2y.js → vcs-9a7t87sc.js} +16 -16
- package/dist/chunks/{location-activity-04ddprt3.js → vcs-9amessb7.js} +15 -15
- package/dist/chunks/{location-activity-7hq1gv6b.js → vcs-9hf24b53.js} +5 -5
- package/dist/chunks/{location-activity-6vpbzn3p.js → vcs-9hwvpxd4.js} +45 -45
- package/dist/chunks/{location-activity-2ykr12js.js → vcs-9p2sxngf.js} +31 -31
- package/dist/chunks/{location-activity-sw9qd0gb.js → vcs-9pb2tt9f.js} +34 -34
- package/dist/chunks/{location-activity-nq1mg43n.js → vcs-9rqfe4ad.js} +3 -3
- package/dist/chunks/{location-activity-3n9mb7xk.js → vcs-9z5r80hm.js} +10 -10
- package/dist/chunks/{location-activity-c09y0a8j.js → vcs-9zsb5378.js} +11 -11
- package/dist/chunks/{location-activity-k06dev2q.js → vcs-a8ppqf6g.js} +23 -23
- package/dist/chunks/{location-activity-p1097gtt.js → vcs-abymrcs3.js} +20 -20
- package/dist/chunks/{location-activity-46pakzw1.js → vcs-ah6jbyq0.js} +15 -15
- package/dist/chunks/{location-activity-xg43b3b8.js → vcs-amhk0yb7.js} +32 -32
- package/dist/chunks/{location-activity-vm26f3qe.js → vcs-anrfy3w0.js} +10 -10
- package/dist/chunks/{location-activity-52wx9n2j.js → vcs-av540nfm.js} +25 -25
- package/dist/chunks/{location-activity-sbfaben9.js → vcs-ay6wrfq3.js} +9 -9
- package/dist/chunks/{location-activity-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-activity-n97y0ege.js → vcs-azfkrvbp.js} +23 -23
- package/dist/chunks/{location-activity-bwmv95er.js → vcs-b0t5cvwb.js} +3 -3
- package/dist/chunks/vcs-b1cx2ds1.js +571 -0
- package/dist/chunks/{location-activity-wr3re1en.js → vcs-b6z35kmf.js} +4 -4
- package/dist/chunks/{location-activity-7a7f62k4.js → vcs-b7dmfak2.js} +8 -8
- package/dist/chunks/{location-activity-t62dywgn.js → vcs-bfmm6xpm.js} +6 -6
- package/dist/chunks/{location-activity-4znxehzj.js → vcs-bjegrb4j.js} +32 -32
- package/dist/chunks/{location-activity-2cab9pkz.js → vcs-bk8w5x4g.js} +25 -25
- package/dist/chunks/{location-activity-0skkqrr1.js → vcs-bmkdr9vw.js} +92 -92
- package/dist/chunks/{location-activity-10pn4eb5.js → vcs-bp514cq9.js} +5 -5
- package/dist/chunks/{location-activity-fdsrpb3b.js → vcs-bqaewk38.js} +56 -56
- package/dist/chunks/{location-activity-0kn501y2.js → vcs-bqb781dh.js} +13 -13
- package/dist/chunks/{location-activity-3jymkt4s.js → vcs-btnkw9ag.js} +4 -4
- package/dist/chunks/{location-activity-h4zdtnqp.js → vcs-bzds6ka4.js} +22 -20
- package/dist/chunks/{location-activity-85cp97b5.js → vcs-c5rvjt5f.js} +2 -2
- package/dist/chunks/{location-activity-78jdk4fm.js → vcs-cc5dk1y7.js} +22 -22
- package/dist/chunks/{location-activity-5xvjcn0y.js → vcs-cd6jt6vy.js} +3 -3
- package/dist/chunks/{location-activity-a194wj99.js → vcs-cjm9jt20.js} +2 -2
- package/dist/chunks/{location-activity-9y08ywv2.js → vcs-cka7mjya.js} +25 -25
- package/dist/chunks/{location-activity-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-activity-aax7r870.js → vcs-cx9wzmyb.js} +6 -6
- package/dist/chunks/{location-activity-ynxybhq6.js → vcs-cxm67ez9.js} +14 -14
- package/dist/chunks/{location-activity-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-n4by2q23.js → vcs-d6x9h0r5.js} +17 -17
- package/dist/chunks/{location-activity-v24n1ab4.js → vcs-d70yf4sn.js} +7 -7
- package/dist/chunks/{location-activity-3cex0n54.js → vcs-dek1hd5e.js} +21 -21
- package/dist/chunks/{location-activity-w0gmh1c8.js → vcs-dr1xq14q.js} +9 -9
- package/dist/chunks/{location-activity-x4wy4y4w.js → vcs-drtnqwgg.js} +18 -18
- package/dist/chunks/{location-activity-ydvw598w.js → vcs-dsbav26x.js} +5 -5
- package/dist/chunks/{location-activity-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{location-activity-r5s99gnq.js → vcs-dxz2aqch.js} +48 -48
- package/dist/chunks/{location-activity-zg69hfp1.js → vcs-e0839xf8.js} +12 -12
- package/dist/chunks/{location-activity-71g8ghsm.js → vcs-ec3ef499.js} +53 -53
- package/dist/chunks/{location-activity-q45wjhqq.js → vcs-ecj07vsr.js} +5 -5
- package/dist/chunks/{location-activity-mpg0wbks.js → vcs-ed84n2vn.js} +3 -3
- package/dist/chunks/{location-activity-kfqs444a.js → vcs-ee9y29hz.js} +14 -14
- package/dist/chunks/{location-activity-9na5jf09.js → vcs-effn75fv.js} +30 -30
- package/dist/chunks/{location-activity-3ey9tyjf.js → vcs-efsef043.js} +9 -9
- package/dist/chunks/{location-activity-3gd0nh3x.js → vcs-ehhrhtk7.js} +11 -11
- package/dist/chunks/{location-activity-eqw4pqj1.js → vcs-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-activity-86757bzm.js → vcs-esjt19b9.js} +25 -25
- package/dist/chunks/{location-activity-w0w8k0t1.js → vcs-ew91xr0y.js} +18 -18
- package/dist/chunks/{location-activity-qzxcgvak.js → vcs-f341sazs.js} +3 -3
- package/dist/chunks/{location-activity-tn8fx9cf.js → vcs-f35h2kns.js} +11 -11
- package/dist/chunks/{location-activity-maw145z2.js → vcs-f57e34ct.js} +45 -45
- package/dist/chunks/{location-activity-vegwmy00.js → vcs-f5f073fy.js} +11 -11
- package/dist/chunks/{location-activity-7d8dv2sq.js → vcs-f8d1f2qf.js} +1 -1
- package/dist/chunks/{location-activity-sf55jp8q.js → vcs-fcrx8q29.js} +5 -5
- package/dist/chunks/{location-activity-v8t033pg.js → vcs-fdg8vx8h.js} +3 -3
- package/dist/chunks/{location-activity-hf30x5yp.js → vcs-fejhj0m8.js} +15 -15
- package/dist/chunks/{location-activity-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-activity-w77pg9hb.js → vcs-fpbq5www.js} +9 -9
- package/dist/chunks/{location-activity-3b3p5y89.js → vcs-fqg2m573.js} +6 -6
- package/dist/chunks/{location-activity-cm0nas3h.js → vcs-fwc5tj9a.js} +4 -4
- package/dist/chunks/{location-activity-zma214zb.js → vcs-fx7xg95g.js} +101 -107
- package/dist/chunks/{location-activity-jf4rdy45.js → vcs-fyvknz5a.js} +10 -10
- package/dist/chunks/{location-activity-pa70wkxt.js → vcs-fyxwzgzf.js} +16 -16
- package/dist/chunks/{location-activity-b26ddj6h.js → vcs-g4txs7zc.js} +4 -4
- package/dist/chunks/{location-activity-jd3bdbqd.js → vcs-g5t570qj.js} +22 -22
- package/dist/chunks/{location-activity-te3fw901.js → vcs-g9wkncdr.js} +45 -45
- package/dist/chunks/{location-activity-gbjdnr5j.js → vcs-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-activity-3s3g5jw0.js → vcs-gcyfk2xq.js} +29 -29
- package/dist/chunks/{location-activity-d7e6jk5r.js → vcs-ggmza7mf.js} +4 -4
- package/dist/chunks/{location-activity-8ctrpnmd.js → vcs-ggx84v7x.js} +6 -6
- package/dist/chunks/{location-activity-ghk6bbwq.js → vcs-gta8pfnc.js} +12 -12
- package/dist/chunks/{location-activity-tg7s7b5t.js → vcs-gxs71cxp.js} +4 -4
- package/dist/chunks/{location-activity-41xacr3a.js → vcs-gywd5dx7.js} +24 -24
- package/dist/chunks/{location-activity-g0d7qyqa.js → vcs-h231fajx.js} +23 -23
- package/dist/chunks/{location-activity-xs9keg91.js → vcs-h4e3bpsm.js} +4 -4
- package/dist/chunks/{location-activity-yjf2xafw.js → vcs-hc1xabz0.js} +41 -41
- package/dist/chunks/{location-activity-8mkjkk1g.js → vcs-hgx8e60y.js} +14 -14
- package/dist/chunks/{location-activity-hgzwgvze.js → vcs-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-activity-b5t12zwc.js → vcs-hjrnn6x0.js} +5 -5
- package/dist/chunks/{location-activity-c3brpka4.js → vcs-hnwa94vy.js} +4 -4
- package/dist/chunks/{location-activity-npajb438.js → vcs-j0hcdjs8.js} +82 -82
- package/dist/chunks/{location-activity-tr8x705m.js → vcs-j376ae4e.js} +5 -5
- package/dist/chunks/{location-activity-j9nxzz3g.js → vcs-j9nxzz3g.js} +3 -3
- package/dist/chunks/{location-activity-cxe7wgh6.js → vcs-jarraby1.js} +22 -22
- package/dist/chunks/{location-activity-5n0rnk8e.js → vcs-jkdcm5hg.js} +4 -4
- package/dist/chunks/{location-activity-jm70asfg.js → vcs-jm70asfg.js} +1 -1
- package/dist/chunks/{location-activity-7wjzgv9t.js → vcs-jv68c7vk.js} +12 -12
- package/dist/chunks/{location-activity-1jxweysy.js → vcs-jwy1qt1p.js} +6 -6
- package/dist/chunks/{location-activity-44pmzq9c.js → vcs-jxd6f16v.js} +2 -2
- package/dist/chunks/{location-activity-pa4rzzpb.js → vcs-k61ybxjj.js} +4 -4
- package/dist/chunks/{location-activity-1xmrhhd3.js → vcs-k6xjz5db.js} +11 -11
- package/dist/chunks/{location-activity-t92g5n2b.js → vcs-k7bs7qnz.js} +15 -15
- package/dist/chunks/{location-activity-k3jfdarp.js → vcs-kc9hdm7m.js} +13 -13
- package/dist/chunks/{location-activity-swh6dpbj.js → vcs-kdnascfm.js} +30 -30
- package/dist/chunks/{location-activity-k1bvs3gc.js → vcs-kfpf2avn.js} +4 -4
- package/dist/chunks/{location-activity-20pht57w.js → vcs-kj9n5bvh.js} +4 -4
- package/dist/chunks/{location-activity-6j91vhhp.js → vcs-kp1j447b.js} +36 -36
- package/dist/chunks/{location-activity-ntx3awyn.js → vcs-kpz9kf7x.js} +3 -3
- package/dist/chunks/{location-activity-3018yym2.js → vcs-kr3bfh8t.js} +11 -11
- package/dist/chunks/{location-activity-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-kzczzf4v.js → vcs-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-activity-2bswbpgz.js → vcs-kzdam8c6.js} +7 -7
- package/dist/chunks/{location-activity-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-05qz0cec.js → vcs-m1gd3bt6.js} +118 -83
- package/dist/chunks/{location-activity-dyebp68b.js → vcs-m4878eq8.js} +13 -13
- package/dist/chunks/{location-activity-69zgpyph.js → vcs-m8fqzw3f.js} +13 -13
- package/dist/chunks/{location-activity-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-qh7apjkp.js → vcs-mazb37gp.js} +8 -8
- package/dist/chunks/{location-activity-mb7mbhnz.js → vcs-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-activity-n1rca4gm.js → vcs-mhj6xqnk.js} +33 -33
- package/dist/chunks/{location-activity-s7kyse9r.js → vcs-mmx1mfjr.js} +4 -4
- package/dist/chunks/{location-activity-fcrd7kek.js → vcs-n320gsn2.js} +4 -4
- package/dist/chunks/{location-activity-vyrwvq8d.js → vcs-ncvsk60k.js} +3 -3
- package/dist/chunks/{location-activity-my4n5qvc.js → vcs-np3cybhk.js} +3 -3
- package/dist/chunks/{location-activity-6vx9tgzj.js → vcs-npdd3vjv.js} +30 -30
- package/dist/chunks/{location-activity-nqhmkvsg.js → vcs-nzfpdzn9.js} +25 -25
- package/dist/chunks/{location-activity-fr3c7vpc.js → vcs-p54wtyab.js} +36 -36
- package/dist/chunks/{location-activity-cnj75yzs.js → vcs-p76me67c.js} +4 -4
- package/dist/chunks/{location-activity-axq13e9p.js → vcs-pahg75wq.js} +37 -37
- package/dist/chunks/{location-activity-xgkykp4m.js → vcs-pd439sw7.js} +10 -10
- package/dist/chunks/{location-activity-3133rzrk.js → vcs-pd4y5nk5.js} +15 -15
- package/dist/chunks/{location-activity-3yzmtsf2.js → vcs-pff8eh19.js} +11 -11
- package/dist/chunks/{location-activity-3qk5xpyn.js → vcs-ph805rtt.js} +36 -36
- package/dist/chunks/{location-activity-vezdzbee.js → vcs-ph942h1a.js} +159 -159
- package/dist/chunks/{location-activity-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-sqrdnpzy.js → vcs-ppwg9sj8.js} +9 -9
- package/dist/chunks/{location-activity-fg9p65nk.js → vcs-prq7xxp2.js} +6 -6
- package/dist/chunks/{location-activity-9drxwj4k.js → vcs-px7qpgcn.js} +4 -4
- package/dist/chunks/{location-activity-10rzcnp0.js → vcs-pxpr8jb2.js} +18 -18
- package/dist/chunks/{location-activity-99np1jwv.js → vcs-q0xdp4s6.js} +10 -10
- package/dist/chunks/{location-activity-ffmj8dpt.js → vcs-q3jkcgv9.js} +86 -86
- package/dist/chunks/{location-activity-89287pr7.js → vcs-q42tzrxa.js} +14 -8
- package/dist/chunks/{location-activity-nmr7ayhz.js → vcs-q809b675.js} +14 -14
- package/dist/chunks/vcs-qbh23ntd.js +265 -0
- package/dist/chunks/{location-activity-4tbdaw2m.js → vcs-qec4n6wj.js} +4 -4
- package/dist/chunks/{location-activity-xb68v4ap.js → vcs-qfdkx5mr.js} +17 -17
- package/dist/chunks/{location-activity-ga4ana47.js → vcs-qh4v5zf3.js} +39 -39
- package/dist/chunks/{location-activity-y3mmct91.js → vcs-qhasb8bv.js} +27 -27
- package/dist/chunks/{location-activity-a6gke89q.js → vcs-qjxy54gf.js} +16 -16
- package/dist/chunks/{location-activity-j7dv61vt.js → vcs-qkdy8234.js} +16 -16
- package/dist/chunks/{location-activity-qztmqn8y.js → vcs-qkg0093f.js} +17 -17
- package/dist/chunks/{location-activity-46eww0wz.js → vcs-qnfqcnjc.js} +37 -37
- package/dist/chunks/{location-activity-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-activity-6px5vk52.js → vcs-qwgw5hmm.js} +14 -14
- package/dist/chunks/{location-activity-yrn3c627.js → vcs-r6xggnc7.js} +14 -14
- package/dist/chunks/{location-activity-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-hjv4739b.js → vcs-rf6b5583.js} +6 -6
- package/dist/chunks/{location-activity-rgc9cx3e.js → vcs-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-activity-ekhvmsd2.js → vcs-rgr196vp.js} +9 -9
- package/dist/chunks/{location-activity-1ygenvnw.js → vcs-rj5w6rgh.js} +14 -14
- package/dist/chunks/{location-activity-3adw4bt5.js → vcs-rp6t20zc.js} +9 -9
- package/dist/chunks/{location-activity-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-activity-jw9ywp79.js → vcs-ryyq3ec3.js} +9 -9
- package/dist/chunks/{location-activity-p9tnn0q7.js → vcs-s0mnsv9a.js} +28 -28
- package/dist/chunks/{location-activity-2p60zmnr.js → vcs-s1ba0vj0.js} +2 -2
- package/dist/chunks/vcs-s3ybgkc6.js +26 -0
- package/dist/chunks/{location-activity-w8tdn9my.js → vcs-s5jqjfnb.js} +2 -2
- package/dist/chunks/{location-activity-xkb8km77.js → vcs-s8npcrbc.js} +18 -18
- package/dist/chunks/{location-activity-sbya78hr.js → vcs-sbya78hr.js} +1 -1
- package/dist/chunks/{location-activity-t8erkws8.js → vcs-scmk72rv.js} +5 -5
- package/dist/chunks/{location-activity-ghrv1g9c.js → vcs-sdt5j0rm.js} +4 -4
- package/dist/chunks/{location-activity-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-activity-y3cyxj6w.js → vcs-sxy4kj3k.js} +28 -28
- package/dist/chunks/{location-activity-694dpcrp.js → vcs-tb2mrvc9.js} +7 -7
- package/dist/chunks/{location-activity-tbpn7jtk.js → vcs-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-activity-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-j2nsh961.js → vcs-tddhyxpr.js} +6 -6
- package/dist/chunks/{location-activity-kbaqm2rz.js → vcs-te0bb5bb.js} +5 -5
- package/dist/chunks/{location-activity-tvtps2q9.js → vcs-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-activity-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{location-activity-11m1jm16.js → vcs-txjws9vm.js} +11 -11
- package/dist/chunks/{location-activity-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-vc3meynn.js → vcs-v5faq4jq.js} +9 -9
- package/dist/chunks/{location-activity-wtd81wpy.js → vcs-v7es4g8d.js} +14 -14
- package/dist/chunks/{location-activity-8ykqf5wm.js → vcs-v8xpr2tt.js} +11 -11
- package/dist/chunks/{location-activity-ge3fntp9.js → vcs-vbam9f8g.js} +23 -23
- package/dist/chunks/{location-activity-vjf35v1f.js → vcs-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-activity-q0fk7zfy.js → vcs-vpem7wga.js} +11 -11
- package/dist/chunks/{location-activity-tdacqfdt.js → vcs-vpxkcr27.js} +12 -12
- package/dist/chunks/{location-activity-6h8vcvjm.js → vcs-vq0qa3sh.js} +9 -9
- package/dist/chunks/{location-activity-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-hdvssxsh.js → vcs-w7j3r3wx.js} +8 -8
- package/dist/chunks/{location-activity-wx875678.js → vcs-w8cvp3mm.js} +27 -27
- package/dist/chunks/{location-activity-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-wegkxhrn.js → vcs-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-activity-wfdx5ztx.js → vcs-wfdx5ztx.js} +1 -1
- package/dist/chunks/{location-activity-m7ag865g.js → vcs-wh03n3ys.js} +27 -27
- package/dist/chunks/{location-activity-s00hhqfr.js → vcs-wn6257bx.js} +11 -11
- package/dist/chunks/{location-activity-c7cw818c.js → vcs-wt99tj4q.js} +5 -5
- package/dist/chunks/{location-activity-apvytp1g.js → vcs-wwwzt3v7.js} +6 -6
- package/dist/chunks/{location-activity-zhdpdrxv.js → vcs-x2477ywe.js} +26 -26
- package/dist/chunks/{location-activity-4qeh34sz.js → vcs-x6d51aaq.js} +6 -6
- package/dist/chunks/{location-activity-9xzxzrx8.js → vcs-xb4yps9b.js} +5 -5
- package/dist/chunks/{location-activity-xd9cc171.js → vcs-xd9cc171.js} +1 -1
- package/dist/chunks/{location-activity-z84yq2sn.js → vcs-xf9x8aft.js} +29 -29
- package/dist/chunks/{location-activity-tyvmyr3a.js → vcs-xgtwatcc.js} +10 -10
- package/dist/chunks/{location-activity-nad3qcx8.js → vcs-xjr6c8m4.js} +7 -7
- package/dist/chunks/{location-activity-5a8f8990.js → vcs-xqkmttk8.js} +7 -7
- package/dist/chunks/{location-activity-9pkpvab2.js → vcs-xrx14ap3.js} +16 -16
- package/dist/chunks/{location-activity-r7x2ng7n.js → vcs-xsdvgsst.js} +21 -21
- package/dist/chunks/{location-activity-xz07m27x.js → vcs-xz07m27x.js} +2 -2
- package/dist/chunks/{location-activity-prwj2mvg.js → vcs-y1paz37p.js} +16 -16
- package/dist/chunks/{location-activity-cp7dd4wc.js → vcs-y33krj94.js} +18 -18
- package/dist/chunks/{location-activity-97dm3efm.js → vcs-y9gncbr7.js} +5 -5
- package/dist/chunks/{location-activity-z51a3rwb.js → vcs-y9kwgq2w.js} +21 -21
- package/dist/chunks/{location-activity-4hn8vzvm.js → vcs-yanpjjpa.js} +23 -23
- package/dist/chunks/{location-activity-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-rs470vnw.js → vcs-ybtas6te.js} +15 -15
- package/dist/chunks/{location-activity-msd2a3qm.js → vcs-ybws1qgk.js} +4 -4
- package/dist/chunks/{location-activity-ddvn7d3w.js → vcs-ydsespw1.js} +8 -8
- package/dist/chunks/{location-activity-2y8q1569.js → vcs-yfmbdz01.js} +6 -6
- package/dist/chunks/{location-activity-q127jrbt.js → vcs-yprd8fed.js} +11 -11
- package/dist/chunks/{location-activity-8t1z5cxg.js → vcs-yq63pme3.js} +21 -21
- package/dist/chunks/{location-activity-yr705xyq.js → vcs-yr705xyq.js} +1 -1
- package/dist/chunks/{location-activity-yvtc2x31.js → vcs-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-activity-kbgs7tyr.js → vcs-yybgvvmq.js} +4 -4
- package/dist/chunks/vcs-z355x5yr.js +18 -0
- package/dist/chunks/{location-activity-sccpk9k0.js → vcs-z3h87xrq.js} +8 -8
- package/dist/chunks/{location-activity-grb8thyx.js → vcs-z5dq58xe.js} +10 -10
- package/dist/chunks/{location-activity-8tkp4wgb.js → vcs-z5fw1k3w.js} +3 -3
- package/dist/chunks/{location-activity-k66a1mr7.js → vcs-z8bp49wb.js} +12 -12
- package/dist/chunks/{location-activity-nj3rf17s.js → vcs-zcwk0nmy.js} +31 -31
- package/dist/chunks/{location-activity-gey2sdxv.js → vcs-zf4dmkkp.js} +12 -12
- package/dist/chunks/{location-activity-9mkpt43k.js → vcs-zfrw3k3a.js} +29 -29
- package/dist/chunks/{location-activity-3p57dcxh.js → vcs-zfyb5tr4.js} +4 -4
- package/dist/chunks/{location-activity-37z37azc.js → vcs-zhns3mh3.js} +11 -11
- package/dist/chunks/{location-activity-xnsnrt26.js → vcs-zmmzd1x1.js} +59 -59
- package/dist/chunks/{location-activity-by8ty0bx.js → vcs-zpdbqgja.js} +4 -4
- package/dist/chunks/{location-activity-9r4sd50z.js → vcs-zts7s8ax.js} +11 -11
- package/dist/chunks/{location-activity-ahar75pe.js → vcs-zv8fkhxx.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +261 -261
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +252 -252
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +3 -3
- package/dist/session.js +243 -243
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +102 -102
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +170 -170
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/shell/result.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/location-activity-4ny925ad.js +0 -26
- package/dist/chunks/location-activity-cz2gq6w0.js +0 -265
- package/dist/chunks/location-activity-grzehpz7.js +0 -18
- package/dist/chunks/location-activity-x2mt0phx.js +0 -571
- /package/dist/chunks/{location-activity-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-108x4f4w.js → vcs-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kah00gy.js → vcs-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3af0jn4w.js → vcs-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4qk9sjk2.js → vcs-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6agm2x70.js → vcs-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-activity-bhmrqjy3.js → vcs-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-ean2d8b5.js → vcs-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-nh4v3znn.js → vcs-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-syrav9an.js → vcs-syrav9an.js} +0 -0
- /package/dist/chunks/{location-activity-t03h4f5z.js → vcs-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-activity-ty7weeps.js → vcs-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-vtarvj67.js → vcs-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x4th4bpe.js → vcs-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-z0h12gs8.js → vcs-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → vcs-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-activity-zxpyjp51.js → vcs-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-activity-zz5vv3aq.js → vcs-zz5vv3aq.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-pff8eh19.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID20,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-effn75fv.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-n320gsn2.js";
|
|
14
14
|
import {
|
|
15
15
|
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-qhasb8bv.js";
|
|
19
19
|
import {
|
|
20
20
|
ID17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-wh03n3ys.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make31
|
|
26
|
+
} from "./vcs-8t99kr38.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service67
|
|
29
|
+
} from "./vcs-47739qa1.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9amessb7.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service46
|
|
36
|
+
} from "./vcs-y9kwgq2w.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./vcs-rf6b5583.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./vcs-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
File3,
|
|
47
|
+
Service59
|
|
48
|
+
} from "./vcs-5r83sbgv.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service71
|
|
51
|
+
} from "./vcs-1ghj4q2v.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./vcs-rp6t20zc.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
ID7,
|
|
58
58
|
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./vcs-2a9d7jcj.js";
|
|
61
61
|
import {
|
|
62
62
|
header2,
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
63
|
+
make17
|
|
64
|
+
} from "./vcs-fcrx8q29.js";
|
|
65
65
|
import {
|
|
66
66
|
onSwitch2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./vcs-34zk51mx.js";
|
|
68
68
|
|
|
69
69
|
// src/plugin/provider/opencode.ts
|
|
70
70
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -199,10 +199,10 @@ var OpencodePlugin2 = define({
|
|
|
199
199
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
200
200
|
const client = yield* HttpClient.HttpClient;
|
|
201
201
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
202
|
-
const config = yield*
|
|
203
|
-
const discovery = yield*
|
|
204
|
-
const skills = yield*
|
|
205
|
-
const cache = yield*
|
|
202
|
+
const config = yield* Service67;
|
|
203
|
+
const discovery = yield* Service59;
|
|
204
|
+
const skills = yield* Service46;
|
|
205
|
+
const cache = yield* Service71;
|
|
206
206
|
const scope = yield* Scope.Scope;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
const skillDownload = yield* FiberHandle.make();
|
|
213
213
|
let reported;
|
|
214
214
|
let explainers = [];
|
|
215
|
-
const watches = yield*
|
|
215
|
+
const watches = yield* make17(ctx, http);
|
|
216
216
|
const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
|
|
217
217
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
218
218
|
if (!connection) {
|
|
@@ -249,9 +249,9 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
250
250
|
});
|
|
251
251
|
const publish = Effect.fnUntraced(function* (next) {
|
|
252
|
-
const document = next.remote && next.connection &&
|
|
252
|
+
const document = next.remote && next.connection && make31({
|
|
253
253
|
integrationID: ID18.make("opencode"),
|
|
254
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
254
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
|
|
255
255
|
organization: next.organization,
|
|
256
256
|
info: next.remote
|
|
257
257
|
});
|
|
@@ -272,7 +272,7 @@ var OpencodePlugin2 = define({
|
|
|
272
272
|
}, Effect.catch((cause) => Effect.logWarning("failed to start Console event watches", { cause })));
|
|
273
273
|
const syncInstructionsAndSkills = (next, allowed) => {
|
|
274
274
|
const remote = allowed ? next.remote : undefined;
|
|
275
|
-
instructions = (remote?.instructions ?? []).map((item) => new
|
|
275
|
+
instructions = (remote?.instructions ?? []).map((item) => new File3({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
276
276
|
if (!allowed)
|
|
277
277
|
consoleSkills = { owner: "", items: [] };
|
|
278
278
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, remote?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -369,7 +369,7 @@ var OpencodePlugin2 = define({
|
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
371
|
yield* ctx.websearch.transform((editor) => {
|
|
372
|
-
const provider =
|
|
372
|
+
const provider = ID7.make("opencode");
|
|
373
373
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
374
374
|
editor.add(search(provider, snapshot.connection));
|
|
375
375
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-effn75fv.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qhasb8bv.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./vcs-gywd5dx7.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./vcs-hc1xabz0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
@@ -18,13 +18,13 @@ __export(exports_question, {
|
|
|
18
18
|
Plugin: () => Plugin55,
|
|
19
19
|
QuestionTool: () => exports_question,
|
|
20
20
|
description: () => description8,
|
|
21
|
-
name: () =>
|
|
21
|
+
name: () => name16,
|
|
22
22
|
toModelContent: () => toModelContent7
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
26
|
import { Question } from "@opencode/schema/question";
|
|
27
|
-
var
|
|
27
|
+
var name16 = "question";
|
|
28
28
|
var description8 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
29
29
|
1. Gather user preferences or requirements
|
|
30
30
|
2. Clarify ambiguous instructions
|
|
@@ -54,10 +54,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
54
54
|
var Plugin55 = {
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
|
-
const forms = yield*
|
|
58
|
-
const permission = yield*
|
|
57
|
+
const forms = yield* Service86;
|
|
58
|
+
const permission = yield* Service55;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
|
-
name:
|
|
60
|
+
name: name16,
|
|
61
61
|
options: { codemode: false },
|
|
62
62
|
description: description8,
|
|
63
63
|
input: Input16,
|
|
@@ -116,4 +116,4 @@ function toField(question, index) {
|
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { name16, description8, Input16, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
PREFIX2,
|
|
3
3
|
short2,
|
|
4
4
|
original2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
description2
|
|
6
|
+
} from "./vcs-gxs71cxp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/server.ts
|
|
12
12
|
var exports_server = {};
|
|
13
13
|
__export(exports_server, {
|
|
14
14
|
ToolServer: () => exports_server,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make12
|
|
16
16
|
});
|
|
17
|
-
async function
|
|
17
|
+
async function make12(tools, pending) {
|
|
18
18
|
const { Server } = await import("@modelcontextprotocol/server");
|
|
19
19
|
const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
|
|
20
20
|
const definitions = tools.map((tool) => ({
|
|
21
21
|
name: short2(tool.name),
|
|
22
|
-
description:
|
|
22
|
+
description: description2(tool),
|
|
23
23
|
inputSchema: tool.inputSchema,
|
|
24
24
|
annotations: { readOnlyHint: false },
|
|
25
25
|
_meta: { "anthropic/alwaysLoad": true, "anthropic/maxResultSizeChars": 500000 }
|
|
@@ -34,4 +34,4 @@ async function make14(tools, pending) {
|
|
|
34
34
|
return { type: "sdk", name: "opencode", instance: server };
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { make12, exports_server };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node93
|
|
4
|
+
} from "./vcs-f35h2kns.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service88,
|
|
7
|
+
node90
|
|
8
|
+
} from "./vcs-qjxy54gf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node77
|
|
12
|
+
} from "./vcs-y33krj94.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service65,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node66
|
|
20
|
+
} from "./vcs-bzds6ka4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service64,
|
|
23
|
+
node65
|
|
24
|
+
} from "./vcs-1mk73hd7.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service63,
|
|
27
|
+
node64
|
|
28
|
+
} from "./vcs-w7j3r3wx.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-np3cybhk.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service67,
|
|
35
|
+
node68
|
|
36
|
+
} from "./vcs-47739qa1.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./vcs-txjws9vm.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-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: () => NotFoundError10,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service62,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node63
|
|
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 NotFoundError10 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 Service62 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(Service62, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service91;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service88;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service65;
|
|
95
|
+
const environment = yield* Service76;
|
|
96
|
+
const hooks = yield* Service64;
|
|
97
|
+
const environments = yield* Service63;
|
|
98
|
+
const config = yield* Service67;
|
|
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(Service48, 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 NotFoundError10({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service48, 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 NotFoundError10({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -155,6 +155,18 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
155
155
|
yield* command.timeout(duration);
|
|
156
156
|
return command.info;
|
|
157
157
|
});
|
|
158
|
+
const readRange = (file, start, length) => length <= 0 ? Effect.succeed(Buffer.alloc(0)) : Effect.promise(() => new Promise((resolve) => {
|
|
159
|
+
const buffer = Buffer.alloc(length);
|
|
160
|
+
const stream = createReadStream(file, { start, end: start + length - 1 });
|
|
161
|
+
let offset = 0;
|
|
162
|
+
stream.on("data", (chunk) => {
|
|
163
|
+
const bytes = Buffer.from(chunk);
|
|
164
|
+
bytes.copy(buffer, offset);
|
|
165
|
+
offset += bytes.length;
|
|
166
|
+
});
|
|
167
|
+
stream.on("end", () => resolve(buffer.subarray(0, offset)));
|
|
168
|
+
stream.on("error", () => resolve(buffer.subarray(0, 0)));
|
|
169
|
+
}));
|
|
158
170
|
const output = Effect.fnUntraced(function* (id, input) {
|
|
159
171
|
const command = yield* require2(id);
|
|
160
172
|
const cursor = input?.cursor ?? 0;
|
|
@@ -162,22 +174,10 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
162
174
|
if (cursor >= command.size)
|
|
163
175
|
return { output: "", cursor: command.size, size: command.size, truncated: false };
|
|
164
176
|
const start = Math.max(0, cursor);
|
|
165
|
-
const
|
|
166
|
-
const buffer = Buffer.alloc(length);
|
|
167
|
-
const bytesRead = yield* Effect.promise(() => new Promise((resolve) => {
|
|
168
|
-
const stream = createReadStream(command.file, { start, end: start + length - 1 });
|
|
169
|
-
let offset = 0;
|
|
170
|
-
stream.on("data", (chunk) => {
|
|
171
|
-
const bytes = Buffer.from(chunk);
|
|
172
|
-
bytes.copy(buffer, offset);
|
|
173
|
-
offset += bytes.length;
|
|
174
|
-
});
|
|
175
|
-
stream.on("end", () => resolve(offset));
|
|
176
|
-
stream.on("error", () => resolve(0));
|
|
177
|
-
}));
|
|
177
|
+
const bytes = yield* readRange(command.file, start, Math.min(limit, command.size - start));
|
|
178
178
|
return {
|
|
179
|
-
output:
|
|
180
|
-
cursor: start +
|
|
179
|
+
output: bytes.toString("utf8"),
|
|
180
|
+
cursor: start + bytes.length,
|
|
181
181
|
size: command.size,
|
|
182
182
|
truncated: false
|
|
183
183
|
};
|
|
@@ -188,23 +188,42 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
188
188
|
const limits = latest2(yield* config.entries(), "tool_output");
|
|
189
189
|
const maxLines = limits?.max_lines ?? MAX_LINES2;
|
|
190
190
|
const maxBytes = limits?.max_bytes ?? MAX_BYTES2;
|
|
191
|
-
const
|
|
192
|
-
const
|
|
193
|
-
const
|
|
191
|
+
const command = yield* require2(info.id);
|
|
192
|
+
const start = Math.max(0, command.size - maxBytes);
|
|
193
|
+
const before = Math.max(0, start - 1);
|
|
194
|
+
const window = yield* readRange(command.file, before, command.size - before);
|
|
195
|
+
const page = window.subarray(charBoundary(window, start - before)).toString("utf8");
|
|
196
|
+
const partial = start > 0 && window[0] !== 10;
|
|
197
|
+
const endsWithNewline = page.endsWith(`
|
|
194
198
|
`);
|
|
195
|
-
|
|
196
|
-
`)
|
|
199
|
+
const lines = page.split(`
|
|
200
|
+
`);
|
|
201
|
+
if (endsWithNewline)
|
|
197
202
|
lines.pop();
|
|
198
|
-
const
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
const total = command.newlines + (endsWithNewline ? 0 : 1);
|
|
204
|
+
const suffix = `full output saved to ${info.file}]`;
|
|
205
|
+
if (partial && lines.length === 1) {
|
|
206
|
+
const lineStart = endsWithNewline ? command.lineStarts[0] : command.lineStarts[1];
|
|
207
|
+
const lineSize = command.size - (endsWithNewline ? 1 : 0) - lineStart;
|
|
208
|
+
const shownSize = Buffer.byteLength(lines[0]);
|
|
209
|
+
return {
|
|
210
|
+
output: `${lines[0]}
|
|
211
|
+
|
|
212
|
+
[showing the last ${formatSize(shownSize)} of line ${total} (${formatSize(lineSize)}); ${suffix}`,
|
|
213
|
+
truncated: true
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
if (start > 0 || lines.length > maxLines) {
|
|
217
|
+
const kept = lines.slice(-Math.min(maxLines, lines.length - (partial ? 1 : 0)));
|
|
218
|
+
return {
|
|
219
|
+
output: `${kept.join(`
|
|
220
|
+
`)}
|
|
205
221
|
|
|
206
|
-
[showing lines ${total -
|
|
207
|
-
|
|
222
|
+
[showing lines ${total - kept.length + 1}-${total} of ${total}; ${suffix}`,
|
|
223
|
+
truncated: true
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
return { output: page || "(no output)", truncated: false };
|
|
208
227
|
}).pipe(Effect.catchTag("Shell.NotFoundError", () => Effect.succeed(undefined)));
|
|
209
228
|
return { info, capture };
|
|
210
229
|
});
|
|
@@ -254,6 +273,7 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
254
273
|
file,
|
|
255
274
|
size: 0,
|
|
256
275
|
newlines: 0,
|
|
276
|
+
lineStarts: [0, 0],
|
|
257
277
|
done: Deferred.makeUnsafe()
|
|
258
278
|
};
|
|
259
279
|
commands.set(id, command);
|
|
@@ -261,9 +281,12 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
261
281
|
const outputDone = Latch.makeUnsafe();
|
|
262
282
|
const pump = handle.all.pipe(Stream.runForEach((chunk) => Effect.sync(() => {
|
|
263
283
|
stream.write(chunk);
|
|
264
|
-
|
|
265
|
-
for (let index = chunk.indexOf(10);index !== -1; index = chunk.indexOf(10, index + 1))
|
|
284
|
+
for (let index = chunk.indexOf(10);index !== -1; index = chunk.indexOf(10, index + 1)) {
|
|
266
285
|
command.newlines++;
|
|
286
|
+
command.lineStarts[0] = command.lineStarts[1];
|
|
287
|
+
command.lineStarts[1] = command.size + index + 1;
|
|
288
|
+
}
|
|
289
|
+
command.size += chunk.length;
|
|
267
290
|
})));
|
|
268
291
|
runFork(Effect.gen(function* () {
|
|
269
292
|
yield* pump.pipe(Effect.catch(() => Effect.void));
|
|
@@ -294,11 +317,12 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
294
317
|
});
|
|
295
318
|
yield* command.timeout(invocation.timeout);
|
|
296
319
|
runFork(Effect.gen(function* () {
|
|
297
|
-
yield* handle.exitCode.pipe(Effect.
|
|
298
|
-
|
|
320
|
+
const exited = yield* handle.exitCode.pipe(Effect.map((code) => ({ exit: code, signal: undefined })), Effect.catch((error) => Effect.succeed({
|
|
321
|
+
exit: undefined,
|
|
299
322
|
signal: error.cause instanceof CrossSpawnSpawner.KilledBySignal ? error.cause.signal : undefined
|
|
300
323
|
})));
|
|
301
|
-
|
|
324
|
+
yield* end({ status: "exited", ...exited });
|
|
325
|
+
const outcome = { ...yield* Deferred.await(ended), ...exited };
|
|
302
326
|
yield* outputDone.await;
|
|
303
327
|
if (commands.get(id) !== command)
|
|
304
328
|
return;
|
|
@@ -336,22 +360,33 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
336
360
|
const command = yield* Deferred.await(ready);
|
|
337
361
|
return command.info;
|
|
338
362
|
});
|
|
339
|
-
return
|
|
363
|
+
return Service62.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
364
|
}));
|
|
341
|
-
|
|
342
|
-
|
|
365
|
+
function charBoundary(bytes, offset) {
|
|
366
|
+
const limit = Math.min(bytes.length, offset + 3);
|
|
367
|
+
for (let index = offset;index < limit; index++)
|
|
368
|
+
if ((bytes[index] & 192) !== 128)
|
|
369
|
+
return index;
|
|
370
|
+
return limit;
|
|
371
|
+
}
|
|
372
|
+
function formatSize(bytes) {
|
|
373
|
+
const kb = bytes / 1024;
|
|
374
|
+
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
375
|
+
}
|
|
376
|
+
var node63 = makeLocationNode({
|
|
377
|
+
service: Service62,
|
|
343
378
|
layer: layer(),
|
|
344
379
|
deps: [
|
|
345
|
-
|
|
346
|
-
|
|
380
|
+
node93,
|
|
381
|
+
node90,
|
|
347
382
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
383
|
+
node66,
|
|
384
|
+
node77,
|
|
385
|
+
node65,
|
|
386
|
+
node64,
|
|
387
|
+
node68,
|
|
353
388
|
cleanupNode
|
|
354
389
|
]
|
|
355
390
|
});
|
|
356
391
|
|
|
357
|
-
export {
|
|
392
|
+
export { NotFoundError10, RETENTION2, DIRECTORY2, Service62, cleanup2, node63, exports_shell4 };
|