@opencode/core 0.0.0-dev-455 → 0.0.0-dev-461
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +230 -230
- package/dist/bus.js +80 -80
- package/dist/chunks/{file-retention-hn189zr5.js → console-access-02b46etp.js} +4 -4
- package/dist/chunks/{file-retention-034tev2y.js → console-access-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-n8089wab.js → console-access-0bwm9wgn.js} +12 -12
- package/dist/chunks/{file-retention-xmm4qtr7.js → console-access-0hbxbaq1.js} +20 -20
- package/dist/chunks/{file-retention-ay9b3rdk.js → console-access-0hgs9x36.js} +23 -23
- package/dist/chunks/{file-retention-0j7gp832.js → console-access-0j7gp832.js} +1 -1
- package/dist/chunks/{file-retention-kkgm43pe.js → console-access-0khk3rs4.js} +14 -14
- package/dist/chunks/{file-retention-2n7mmhny.js → console-access-0kyfq6vf.js} +18 -18
- package/dist/chunks/{file-retention-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{file-retention-68tn9ypg.js → console-access-0sy41ttq.js} +16 -16
- package/dist/chunks/{file-retention-200qe1b4.js → console-access-0vnr7bd6.js} +17 -17
- package/dist/chunks/{file-retention-swwepy7r.js → console-access-14b41dgv.js} +13 -13
- package/dist/chunks/{file-retention-g63e6h3e.js → console-access-174aa04v.js} +25 -25
- package/dist/chunks/{file-retention-rpzwd4m9.js → console-access-17z0xkr7.js} +4 -4
- package/dist/chunks/{file-retention-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{file-retention-tb15rp1c.js → console-access-1bd9yvcg.js} +4 -4
- package/dist/chunks/{file-retention-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-gh4z7wry.js → console-access-1fvz2s7b.js} +33 -33
- package/dist/chunks/{file-retention-ffka7n84.js → console-access-1ghpw5k9.js} +10 -10
- package/dist/chunks/{file-retention-1v2g13eq.js → console-access-1v2g13eq.js} +4 -4
- package/dist/chunks/{file-retention-ananre62.js → console-access-1vj9xkjh.js} +16 -16
- package/dist/chunks/{file-retention-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-5zrxpy3q.js → console-access-1yq9hg58.js} +5 -5
- package/dist/chunks/{file-retention-k46dd5bg.js → console-access-20pht57w.js} +4 -4
- package/dist/chunks/{file-retention-brbp1jmy.js → console-access-24yxk1vj.js} +12 -12
- package/dist/chunks/{file-retention-hmmsk6f4.js → console-access-25evc41f.js} +19 -19
- package/dist/chunks/{file-retention-m2vpvwkm.js → console-access-267xht6e.js} +45 -45
- package/dist/chunks/{file-retention-weqsz73e.js → console-access-284gzvr3.js} +6 -6
- package/dist/chunks/{file-retention-7jen3kst.js → console-access-2bsm227b.js} +9 -9
- package/dist/chunks/{file-retention-68tk6k3r.js → console-access-2dht8359.js} +13 -13
- package/dist/chunks/{file-retention-d1jwara1.js → console-access-2ftaaj09.js} +20 -20
- package/dist/chunks/{file-retention-t6zxhcnm.js → console-access-2gpcv0rd.js} +41 -41
- package/dist/chunks/{file-retention-xnc68z72.js → console-access-2h1c0rfr.js} +12 -12
- package/dist/chunks/{file-retention-2dfh1hr2.js → console-access-2k6zd025.js} +28 -28
- package/dist/chunks/{file-retention-fwp9mfc9.js → console-access-2mbjfaxd.js} +4 -4
- package/dist/chunks/{file-retention-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
- package/dist/chunks/{file-retention-1gep6f7s.js → console-access-3032atf7.js} +8 -8
- package/dist/chunks/{file-retention-q5nd4tdk.js → console-access-30a3jnc3.js} +7 -7
- package/dist/chunks/{file-retention-390xskpw.js → console-access-390xskpw.js} +1 -1
- package/dist/chunks/{file-retention-5qg32bbs.js → console-access-39b4ptzy.js} +28 -28
- package/dist/chunks/{file-retention-f15w2kpp.js → console-access-3aq445hw.js} +9 -9
- package/dist/chunks/{file-retention-4pmefyym.js → console-access-3b0jq727.js} +35 -35
- package/dist/chunks/{file-retention-wh423nk9.js → console-access-3fzg5t3e.js} +20 -20
- package/dist/chunks/{file-retention-3g1e149e.js → console-access-3g1e149e.js} +3 -3
- package/dist/chunks/{file-retention-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-f7rj94ae.js → console-access-3mrkr0j9.js} +42 -42
- package/dist/chunks/{file-retention-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-j4tx0dw9.js → console-access-3zh8b9k5.js} +23 -23
- package/dist/chunks/{file-retention-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{file-retention-5em2n0xv.js → console-access-40zb2q8m.js} +24 -24
- package/dist/chunks/{file-retention-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
- package/dist/chunks/{file-retention-4d2dtj2f.js → console-access-4d2dtj2f.js} +1 -1
- package/dist/chunks/{file-retention-yvchjg13.js → console-access-4d4wgq11.js} +13 -13
- package/dist/chunks/{file-retention-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{file-retention-dcdd8gp0.js → console-access-4fdqt7xn.js} +26 -26
- package/dist/chunks/{file-retention-rjdswr2s.js → console-access-4kavva8r.js} +17 -17
- package/dist/chunks/{file-retention-c32zfq3f.js → console-access-4m99k5br.js} +8 -8
- package/dist/chunks/{file-retention-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-fjjazzdv.js → console-access-4sxdbd6s.js} +20 -20
- package/dist/chunks/{file-retention-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-x4t5xjs0.js → console-access-4vkzmtry.js} +23 -23
- package/dist/chunks/{file-retention-sj70yks3.js → console-access-54jtsw6t.js} +12 -12
- package/dist/chunks/{file-retention-dncts3kv.js → console-access-56egqvqj.js} +55 -55
- package/dist/chunks/{file-retention-hkyks9g6.js → console-access-57st1r2p.js} +11 -11
- package/dist/chunks/{file-retention-40za9wsf.js → console-access-5enarcya.js} +6 -6
- package/dist/chunks/{file-retention-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/console-access-5mnp43qe.js +26 -0
- package/dist/chunks/{file-retention-gmnq7sxz.js → console-access-5qk7pcez.js} +51 -51
- package/dist/chunks/{file-retention-hx2h0g86.js → console-access-5rdngahw.js} +9 -9
- package/dist/chunks/{file-retention-gxe5e77w.js → console-access-5stb89cg.js} +8 -8
- package/dist/chunks/{file-retention-bg3xpdpw.js → console-access-5sx3wtd1.js} +27 -27
- package/dist/chunks/{file-retention-30asjkfk.js → console-access-5w9z9t4q.js} +18 -18
- package/dist/chunks/{file-retention-agemttc5.js → console-access-5wpa8w3w.js} +26 -26
- package/dist/chunks/{file-retention-x24tvm8w.js → console-access-61c6a8fw.js} +24 -24
- package/dist/chunks/{file-retention-61qraad9.js → console-access-61qraad9.js} +2 -2
- package/dist/chunks/{file-retention-tb2mrvc9.js → console-access-694dpcrp.js} +7 -7
- package/dist/chunks/{file-retention-1pq4mddz.js → console-access-6d4mvkjv.js} +21 -21
- package/dist/chunks/{file-retention-vxcj7dj3.js → console-access-6nfsbj4c.js} +17 -17
- package/dist/chunks/{file-retention-jd8phrvf.js → console-access-6rhbe9q4.js} +32 -32
- package/dist/chunks/{file-retention-j6q7spb2.js → console-access-6rhd9160.js} +31 -31
- package/dist/chunks/{file-retention-76cb1hcw.js → console-access-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-a1j9h5sv.js → console-access-77pk7shp.js} +30 -30
- package/dist/chunks/{file-retention-79k544d0.js → console-access-79k544d0.js} +1 -1
- package/dist/chunks/{file-retention-wgvnftve.js → console-access-7bg5w1mh.js} +8 -8
- package/dist/chunks/{file-retention-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-7kr66rt3.js → console-access-7kr66rt3.js} +1 -1
- package/dist/chunks/{file-retention-9s8ccxzp.js → console-access-7pzqke8r.js} +12 -12
- package/dist/chunks/{file-retention-yx0ag50g.js → console-access-7t7a223t.js} +16 -16
- package/dist/chunks/{file-retention-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{file-retention-snhnc0ef.js → console-access-7x73zfpa.js} +8 -8
- package/dist/chunks/console-access-7yv5xa0k.js +18 -0
- package/dist/chunks/{file-retention-9s6tmzsz.js → console-access-80kjwkyf.js} +17 -17
- package/dist/chunks/{file-retention-80mg3ag8.js → console-access-80mg3ag8.js} +3 -3
- package/dist/chunks/{file-retention-0bhp1jsg.js → console-access-88tse5zy.js} +22 -22
- package/dist/chunks/{file-retention-89287pr7.js → console-access-89287pr7.js} +1 -1
- package/dist/chunks/{file-retention-8b3vzgkx.js → console-access-8b3vzgkx.js} +1 -1
- package/dist/chunks/{file-retention-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
- package/dist/chunks/{file-retention-ym5ftk47.js → console-access-8ty8gphb.js} +19 -19
- package/dist/chunks/{file-retention-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-rmt6m6se.js → console-access-8x9y3wj0.js} +8 -8
- package/dist/chunks/{file-retention-xksw6ev0.js → console-access-8xz27cp9.js} +4 -4
- package/dist/chunks/{file-retention-90zstvax.js → console-access-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-snjqag79.js → console-access-963hk181.js} +9 -9
- package/dist/chunks/{file-retention-rpxemsgz.js → console-access-986s6yzw.js} +86 -86
- package/dist/chunks/{file-retention-4cqst6fr.js → console-access-9cr47wgy.js} +7 -7
- package/dist/chunks/{file-retention-rr9v9k3b.js → console-access-9ev8nbrr.js} +10 -10
- package/dist/chunks/{file-retention-k9wymzdg.js → console-access-9n3zya5s.js} +3 -3
- package/dist/chunks/{file-retention-496yft2b.js → console-access-9ntysx2f.js} +8 -8
- package/dist/chunks/{file-retention-v0t96s7a.js → console-access-9q8g9sv8.js} +4 -4
- package/dist/chunks/{file-retention-s5vg2p0e.js → console-access-9srrvzre.js} +10 -10
- package/dist/chunks/{file-retention-06w90rm1.js → console-access-9wcjat3p.js} +17 -17
- package/dist/chunks/{file-retention-4pa2br34.js → console-access-9yskam8v.js} +35 -35
- package/dist/chunks/{file-retention-87jq36v2.js → console-access-9zh6h3zf.js} +25 -25
- package/dist/chunks/{file-retention-av46dpsn.js → console-access-a4n8q08m.js} +8 -8
- package/dist/chunks/console-access-a4tessf8.js +555 -0
- package/dist/chunks/{file-retention-x59t0gss.js → console-access-aa8e116b.js} +35 -35
- package/dist/chunks/{file-retention-r17fbvme.js → console-access-aenn6vam.js} +5 -5
- package/dist/chunks/{file-retention-5ewy4ftf.js → console-access-aj55bz5r.js} +38 -38
- package/dist/chunks/{file-retention-ynsc8wg2.js → console-access-areqykj9.js} +4 -4
- package/dist/chunks/{file-retention-wa6q08vq.js → console-access-ayd63gnn.js} +18 -18
- package/dist/chunks/{file-retention-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-k2xygrq7.js → console-access-azmhmg9n.js} +11 -11
- package/dist/chunks/{file-retention-h5enc8pd.js → console-access-b6pm0s44.js} +30 -30
- package/dist/chunks/{file-retention-b6vsg801.js → console-access-b6vsg801.js} +2 -2
- package/dist/chunks/{file-retention-kpa09rhw.js → console-access-bam5a6tw.js} +4 -4
- package/dist/chunks/{file-retention-55mjyme4.js → console-access-baq3yqba.js} +6 -6
- package/dist/chunks/{file-retention-dx38te4v.js → console-access-bav7q4m1.js} +18 -18
- package/dist/chunks/{file-retention-gcavn3wx.js → console-access-bgs9y14h.js} +5 -5
- package/dist/chunks/{file-retention-gbcn9d4h.js → console-access-brtqpa8p.js} +3 -3
- package/dist/chunks/{file-retention-xd9cc171.js → console-access-bstexjd6.js} +5 -5
- package/dist/chunks/{file-retention-8eshswe5.js → console-access-btm7bkhg.js} +3 -3
- package/dist/chunks/{file-retention-5ej6fcjw.js → console-access-bw23crm5.js} +6 -6
- package/dist/chunks/{file-retention-5s9wkzxm.js → console-access-bzk5aeb2.js} +13 -13
- package/dist/chunks/{file-retention-hqvhb0wh.js → console-access-c09y0a8j.js} +7 -7
- package/dist/chunks/{file-retention-mbhkhp6q.js → console-access-c0v1nnxm.js} +6 -6
- package/dist/chunks/{file-retention-4aqrmm1g.js → console-access-c6qtypbt.js} +4 -9
- package/dist/chunks/{file-retention-hvgfddwz.js → console-access-cds01v4k.js} +11 -11
- package/dist/chunks/{file-retention-qe6wsf1h.js → console-access-cks4e87a.js} +5 -5
- package/dist/chunks/{file-retention-jkdcm5hg.js → console-access-cr4rfj9z.js} +4 -4
- package/dist/chunks/{file-retention-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-w1g97wbr.js → console-access-cwzzac1q.js} +9 -9
- package/dist/chunks/{file-retention-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-837bxc3c.js → console-access-d8dmjm89.js} +12 -12
- package/dist/chunks/{file-retention-pkq3dv06.js → console-access-dach63h6.js} +13 -13
- package/dist/chunks/{file-retention-k0kcv3gp.js → console-access-dd0f4r17.js} +9 -9
- package/dist/chunks/{file-retention-vt2d6wap.js → console-access-dg5naf6e.js} +4 -4
- package/dist/chunks/{file-retention-s0699xsp.js → console-access-dkajxp5n.js} +38 -21
- package/dist/chunks/{file-retention-1phbxqt1.js → console-access-dq1vbq82.js} +3 -3
- package/dist/chunks/{file-retention-rcw12gd3.js → console-access-dqfqn090.js} +48 -48
- package/dist/chunks/{file-retention-wr27nwte.js → console-access-dqymrb6j.js} +11 -11
- package/dist/chunks/{file-retention-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-ba16f7j8.js → console-access-dtabb3x4.js} +16 -16
- package/dist/chunks/{file-retention-9gczbj86.js → console-access-dw91h3aj.js} +13 -13
- package/dist/chunks/{file-retention-3zhtqa8b.js → console-access-dycjh86r.js} +11 -11
- package/dist/chunks/{file-retention-pmhb73dp.js → console-access-dzfp7kbr.js} +19 -19
- package/dist/chunks/{file-retention-pjx7tz23.js → console-access-e4mq6v1v.js} +5 -5
- package/dist/chunks/{file-retention-7ecjk65p.js → console-access-e832xn25.js} +14 -14
- package/dist/chunks/{file-retention-e834z07m.js → console-access-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-4s01kztf.js → console-access-e8bg73ef.js} +8 -8
- package/dist/chunks/{file-retention-avaerfkj.js → console-access-edgp587h.js} +10 -10
- package/dist/chunks/{file-retention-jmekf4r3.js → console-access-ej29q6tg.js} +9 -9
- package/dist/chunks/{file-retention-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{file-retention-650f1sfx.js → console-access-ersdrtn3.js} +11 -11
- package/dist/chunks/{file-retention-0jstpsmh.js → console-access-ew33kjef.js} +20 -20
- package/dist/chunks/{file-retention-ewa1ec51.js → console-access-ewa1ec51.js} +4 -4
- package/dist/chunks/{file-retention-9v7xfrsr.js → console-access-ez4z675w.js} +7 -7
- package/dist/chunks/{file-retention-1pd9p4zg.js → console-access-f1pzy042.js} +34 -29
- package/dist/chunks/{file-retention-h6ejcba2.js → console-access-f2kh68ms.js} +5 -5
- package/dist/chunks/{file-retention-5b8228w4.js → console-access-f3qtec8a.js} +14 -14
- package/dist/chunks/{file-retention-fa7jqgqj.js → console-access-fcmh389t.js} +6 -6
- package/dist/chunks/{file-retention-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-retention-n3bkb5q1.js → console-access-fjds1fn3.js} +8 -8
- package/dist/chunks/{file-retention-hnxa655x.js → console-access-frr3db5h.js} +18 -18
- package/dist/chunks/{file-retention-nfggrfj2.js → console-access-fyw2c29a.js} +6 -6
- package/dist/chunks/{file-retention-ctxsgcm2.js → console-access-g4v74gy6.js} +8 -8
- package/dist/chunks/{file-retention-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{file-retention-2ydq151f.js → console-access-gg1k7xne.js} +11 -11
- package/dist/chunks/{file-retention-90gj1595.js → console-access-gk5zfyzz.js} +4 -4
- package/dist/chunks/{file-retention-wy0xsgxw.js → console-access-gq6jhf3f.js} +5 -5
- package/dist/chunks/{file-retention-gxs71cxp.js → console-access-gxs71cxp.js} +1 -1
- package/dist/chunks/{file-retention-sj2s1b9m.js → console-access-gya79xwr.js} +32 -32
- package/dist/chunks/{file-retention-sctph3n4.js → console-access-h99babpy.js} +34 -34
- package/dist/chunks/{file-retention-dvnqv6yn.js → console-access-hced1q2j.js} +4 -4
- package/dist/chunks/{file-retention-evsac8k0.js → console-access-hkwj5b1f.js} +26 -26
- package/dist/chunks/{file-retention-abtpjz44.js → console-access-hnyxx5af.js} +23 -23
- package/dist/chunks/{file-retention-hpg1pkwy.js → console-access-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-xhthag0s.js → console-access-hqq8daba.js} +13 -13
- package/dist/chunks/{file-retention-xe84dabc.js → console-access-hqyd9qtc.js} +4 -4
- package/dist/chunks/{file-retention-6sg7v011.js → console-access-hretfjjx.js} +2 -2
- package/dist/chunks/{file-retention-bnzx9dwt.js → console-access-hsnq1va6.js} +5 -5
- package/dist/chunks/{file-retention-0aycggmx.js → console-access-htqjq3p0.js} +27 -27
- package/dist/chunks/{file-retention-0cwqm0ac.js → console-access-j2p0aq2q.js} +40 -40
- package/dist/chunks/{file-retention-3ryz99p0.js → console-access-j3f8hyeg.js} +4 -4
- package/dist/chunks/{file-retention-5j4z2rnn.js → console-access-j6rd03df.js} +28 -28
- package/dist/chunks/{file-retention-mtqqxse4.js → console-access-j6zmg9wc.js} +5 -5
- package/dist/chunks/{file-retention-wfnayh71.js → console-access-jbs6jwkk.js} +11 -11
- package/dist/chunks/{file-retention-waxfvz31.js → console-access-jejb9f09.js} +29 -29
- package/dist/chunks/{file-retention-jtnps1zs.js → console-access-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-5m3xrn1j.js → console-access-jvcygd6j.js} +9 -9
- package/dist/chunks/{file-retention-7etbzm9y.js → console-access-jxv9802m.js} +17 -17
- package/dist/chunks/{file-retention-b1tz7g4k.js → console-access-kdz26drv.js} +23 -23
- package/dist/chunks/{file-retention-hm3wjv3t.js → console-access-khrw954m.js} +21 -21
- package/dist/chunks/{file-retention-8v7h9drr.js → console-access-kn0cpt95.js} +25 -25
- package/dist/chunks/{file-retention-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-5cfjc002.js → console-access-kt8rgxn2.js} +79 -79
- package/dist/chunks/{file-retention-72b6x64g.js → console-access-kwsz9n07.js} +5 -5
- package/dist/chunks/{file-retention-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{file-retention-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-d9b1e71e.js → console-access-m2ggzdr4.js} +22 -22
- package/dist/chunks/{file-retention-4yazknq3.js → console-access-m8rq167t.js} +25 -25
- package/dist/chunks/{file-retention-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
- package/dist/chunks/{file-retention-m2bn1thc.js → console-access-mbf4sf1b.js} +30 -30
- package/dist/chunks/{file-retention-r388hamt.js → console-access-mdkqrnke.js} +36 -36
- package/dist/chunks/{file-retention-qbkx85ty.js → console-access-mdvts110.js} +15 -15
- package/dist/chunks/{file-retention-hz2g8n0e.js → console-access-mxv82ryp.js} +5 -5
- package/dist/chunks/{file-retention-dvyrd087.js → console-access-n5wq5eab.js} +43 -43
- package/dist/chunks/{file-retention-b4rwxy6m.js → console-access-n900mnaw.js} +9 -9
- package/dist/chunks/{file-retention-f3efch3k.js → console-access-nekmxn1r.js} +25 -25
- package/dist/chunks/{file-retention-3nfqphsz.js → console-access-nr8bs24c.js} +29 -29
- package/dist/chunks/{file-retention-nmarmpt2.js → console-access-nsvwbd9q.js} +19 -19
- package/dist/chunks/{file-retention-v37bc009.js → console-access-nv2c5e9q.js} +3 -3
- package/dist/chunks/{file-retention-vh942nm4.js → console-access-nzdv8kjb.js} +15 -15
- package/dist/chunks/{file-retention-wm09fakr.js → console-access-p242xzew.js} +33 -33
- package/dist/chunks/{file-retention-mhwtew22.js → console-access-p2kaj3kt.js} +19 -19
- package/dist/chunks/{file-retention-a4ww6fpm.js → console-access-p3g3b7x5.js} +6 -6
- package/dist/chunks/{file-retention-721agqj7.js → console-access-p45kkdsf.js} +27 -27
- package/dist/chunks/{file-retention-xgbgysg1.js → console-access-pc7e7tqs.js} +14 -14
- package/dist/chunks/{file-retention-9g6yrp67.js → console-access-pgwxehkf.js} +182 -182
- package/dist/chunks/{file-retention-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-tnya1cye.js → console-access-pmb0f11j.js} +6 -6
- package/dist/chunks/{file-retention-c0tz6aqz.js → console-access-pnwsrq7c.js} +11 -11
- package/dist/chunks/{file-retention-yv7pt3ah.js → console-access-pqq01qb6.js} +3 -3
- package/dist/chunks/{file-retention-e5dmmprw.js → console-access-ps0sd0ch.js} +10 -10
- package/dist/chunks/{file-retention-9z0qc3sg.js → console-access-q4chxmqq.js} +31 -31
- package/dist/chunks/{file-retention-r1fnsf7p.js → console-access-qnqasnye.js} +6 -6
- package/dist/chunks/{file-retention-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
- package/dist/chunks/{file-retention-qsdghx1p.js → console-access-qsdghx1p.js} +1 -1
- package/dist/chunks/{file-retention-6xwywkh7.js → console-access-r2gkykbs.js} +13 -13
- package/dist/chunks/{file-retention-4angwywx.js → console-access-r2zmw29q.js} +15 -15
- package/dist/chunks/{file-retention-4f25tdd0.js → console-access-r542h3bh.js} +5 -5
- package/dist/chunks/{file-retention-w4whnx61.js → console-access-r6q0f2ac.js} +19 -19
- package/dist/chunks/{file-retention-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-5td38wnz.js → console-access-rbp3w7ma.js} +12 -12
- package/dist/chunks/{file-retention-581r698v.js → console-access-rhqb5500.js} +4 -4
- package/dist/chunks/{file-retention-68qb3djy.js → console-access-rkvcsjsd.js} +2 -2
- package/dist/chunks/{file-retention-6zvhcg4h.js → console-access-rpmef3xq.js} +9 -9
- package/dist/chunks/{file-retention-yzde64vc.js → console-access-rq6msc4n.js} +9 -9
- package/dist/chunks/{file-retention-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-ndksvsqq.js → console-access-rwsvr4dq.js} +5 -5
- package/dist/chunks/{file-retention-y9hckaaa.js → console-access-s4kyhetj.js} +6 -6
- package/dist/chunks/{file-retention-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-s93d5mte.js → console-access-sawn0w0v.js} +13 -13
- package/dist/chunks/{file-retention-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{file-retention-2cdjxzfg.js → console-access-sbz71ybr.js} +3 -3
- package/dist/chunks/{file-retention-dcybvycp.js → console-access-sd14szt8.js} +17 -17
- package/dist/chunks/{file-retention-d4gmqgvp.js → console-access-ss63bjb1.js} +16 -16
- package/dist/chunks/{file-retention-szfk6t8e.js → console-access-st0tm0xf.js} +29 -29
- package/dist/chunks/{file-retention-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-cxab28sr.js → console-access-sx27c7qs.js} +5 -5
- package/dist/chunks/{file-retention-szwm4crx.js → console-access-szwm4crx.js} +4 -4
- package/dist/chunks/{file-retention-e6er0smf.js → console-access-t01mm60p.js} +7 -7
- package/dist/chunks/{file-retention-atscc837.js → console-access-t0wfjgtr.js} +18 -18
- package/dist/chunks/{file-retention-dkb1sx3x.js → console-access-t5j54pmh.js} +32 -32
- package/dist/chunks/{file-retention-a5wpc3w3.js → console-access-t74pe6sk.js} +47 -47
- package/dist/chunks/{file-retention-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-9f3jsh1d.js → console-access-teav1bzy.js} +9 -9
- package/dist/chunks/{file-retention-tr8x705m.js → console-access-tr8x705m.js} +1 -1
- package/dist/chunks/{file-retention-6nj48chv.js → console-access-twj5avwp.js} +7 -7
- package/dist/chunks/{file-retention-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-v1mj0bgs.js → console-access-tzc3v83t.js} +28 -28
- package/dist/chunks/{file-retention-ysfhhwnn.js → console-access-v03ttmzk.js} +32 -14
- package/dist/chunks/{file-retention-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-qxk677ch.js → console-access-v3278p87.js} +35 -35
- package/dist/chunks/{file-retention-ydsespw1.js → console-access-v5hpj9dd.js} +8 -8
- package/dist/chunks/{file-retention-3kr3r5pw.js → console-access-va94v6j2.js} +2 -2
- package/dist/chunks/{file-retention-g2jbspnp.js → console-access-vdaneqs3.js} +17 -17
- package/dist/chunks/{file-retention-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{file-retention-dhv1xx0k.js → console-access-vnn2afwv.js} +9 -9
- package/dist/chunks/{file-retention-gbgy6ap4.js → console-access-vnqfh8t4.js} +5 -5
- package/dist/chunks/{file-retention-gj10dfeb.js → console-access-vpw3c1s6.js} +12 -12
- package/dist/chunks/{file-retention-z7re6mpg.js → console-access-vvnnts4c.js} +15 -15
- package/dist/chunks/{file-retention-4whyrg43.js → console-access-vy8hqggn.js} +6 -6
- package/dist/chunks/{file-retention-n6xbcgna.js → console-access-w0s8m7er.js} +8 -8
- package/dist/chunks/{file-retention-9dm6vsa2.js → console-access-w3c3s7r0.js} +18 -18
- package/dist/chunks/{file-retention-4gggmape.js → console-access-w3gd9t09.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-skrg2vfv.js → console-access-w8hd9jg9.js} +32 -32
- package/dist/chunks/{file-retention-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-1tdxr5p7.js → console-access-wbt9c5jn.js} +21 -21
- package/dist/chunks/{file-retention-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
- package/dist/chunks/{file-retention-ap8y92rr.js → console-access-wm14cjjm.js} +17 -17
- package/dist/chunks/{file-retention-4xape4ax.js → console-access-wm3df3fg.js} +21 -21
- package/dist/chunks/{file-retention-6xnqn21j.js → console-access-wn12jdbp.js} +3 -3
- package/dist/chunks/{file-retention-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-xa716ypk.js → console-access-wnq1eck8.js} +14 -14
- package/dist/chunks/{file-retention-fznmdakp.js → console-access-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-b8n7cma0.js → console-access-wtw1hn5v.js} +4 -4
- package/dist/chunks/{file-retention-mzm8bzzq.js → console-access-wws03c5r.js} +4 -4
- package/dist/chunks/console-access-x3c9tvtc.js +16 -0
- package/dist/chunks/{file-retention-x4mcewfn.js → console-access-x4mcewfn.js} +2 -2
- package/dist/chunks/{file-retention-j90hxq85.js → console-access-xbm420df.js} +11 -11
- package/dist/chunks/{file-retention-m9js7g7m.js → console-access-xhdyat8s.js} +9 -9
- package/dist/chunks/{file-retention-0r7m7rz3.js → console-access-xjffre0m.js} +14 -14
- package/dist/chunks/{file-retention-tfhex4ds.js → console-access-xmpgs8za.js} +81 -79
- package/dist/chunks/{file-retention-bjaevfq0.js → console-access-xs7kvz87.js} +8 -8
- package/dist/chunks/{file-retention-yydqqga9.js → console-access-xsvq7cjt.js} +4 -4
- package/dist/chunks/{file-retention-94e33dpz.js → console-access-xya5z1v4.js} +3 -3
- package/dist/chunks/{file-retention-rfhh9jbp.js → console-access-y762rkg4.js} +3 -3
- package/dist/chunks/{file-retention-ctj276x0.js → console-access-yat0atrq.js} +16 -16
- package/dist/chunks/{file-retention-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-dbhc229r.js → console-access-ydtx5n99.js} +43 -43
- package/dist/chunks/{file-retention-0wcgapck.js → console-access-yf28ngb5.js} +2 -2
- package/dist/chunks/{file-retention-ymb0ygkv.js → console-access-yjbbgan4.js} +10 -10
- package/dist/chunks/{file-retention-tgc8br6y.js → console-access-yptt5g1p.js} +7 -7
- package/dist/chunks/{file-retention-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{file-retention-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/console-access-yzbbc780.js +261 -0
- package/dist/chunks/{file-retention-z080rjh6.js → console-access-z080rjh6.js} +1 -1
- package/dist/chunks/{file-retention-9pkyxfc8.js → console-access-z2q9n5pc.js} +25 -25
- package/dist/chunks/{file-retention-05aqx4at.js → console-access-z5bk1z25.js} +48 -48
- package/dist/chunks/{file-retention-3gvmrzme.js → console-access-z7q48sws.js} +37 -37
- package/dist/chunks/{file-retention-yfe5zj2r.js → console-access-zb3ebwgt.js} +1 -1
- package/dist/chunks/{file-retention-hew1js5q.js → console-access-zctn3sx9.js} +2 -2
- package/dist/chunks/{file-retention-ze75qvmd.js → console-access-ze75qvmd.js} +3 -3
- package/dist/chunks/{file-retention-sqz6jy89.js → console-access-zfsfk48f.js} +59 -59
- package/dist/chunks/{file-retention-n3ga810d.js → console-access-zgbrbxkx.js} +17 -17
- package/dist/chunks/{file-retention-qtjtwdkb.js → console-access-zx20wyhw.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/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 +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +112 -112
- 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 +1 -1
- 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 +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- 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 +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- 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 +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +1 -1
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +1 -1
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- 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 -128
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- 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 +109 -109
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- 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 +239 -239
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- 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 +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -233
- 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 +146 -146
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +100 -100
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +153 -153
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/plugin/optimize.d.ts +1 -22
- package/dist/types/session/runner/publish-llm-event.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 +2 -2
- package/dist/v1/config/migrate.js +105 -105
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- 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 +105 -105
- package/package.json +8 -8
- package/dist/chunks/file-retention-1v8gr36j.js +0 -261
- package/dist/chunks/file-retention-3aarzgek.js +0 -26
- package/dist/chunks/file-retention-3d3mj0t0.js +0 -555
- package/dist/chunks/file-retention-d77dj7jw.js +0 -18
- package/dist/chunks/file-retention-y32xxt00.js +0 -16
- /package/dist/chunks/{file-retention-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{file-retention-1pevy3nx.js → console-access-1pevy3nx.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → console-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → console-access-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → console-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → console-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → console-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → console-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → console-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-dbht28n9.js → console-access-dbht28n9.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → console-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → console-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{file-retention-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{file-retention-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → console-access-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → console-access-z9919s4g.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-areqykj9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
6
|
+
ID20,
|
|
7
|
+
Event20,
|
|
8
|
+
Service85,
|
|
9
|
+
node88
|
|
10
|
+
} from "./console-access-jejb9f09.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node81
|
|
14
|
+
} from "./console-access-w3c3s7r0.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service86,
|
|
20
|
+
node89
|
|
21
|
+
} from "./console-access-jxv9802m.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./console-access-0sy41ttq.js";
|
|
28
28
|
import {
|
|
29
29
|
names4,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./console-access-j6zmg9wc.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./console-access-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./console-access-aenn6vam.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./console-access-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./console-access-xya5z1v4.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
50
|
+
Service79,
|
|
51
|
+
Event15,
|
|
52
|
+
node82
|
|
53
|
+
} from "./console-access-ew33kjef.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./console-access-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
|
-
Options: () =>
|
|
63
|
-
Service: () =>
|
|
62
|
+
Options: () => Options7,
|
|
63
|
+
Service: () => Service77,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured10,
|
|
66
66
|
latest: () => latest2,
|
|
67
|
-
layer: () =>
|
|
68
|
-
node: () =>
|
|
67
|
+
layer: () => layer25,
|
|
68
|
+
node: () => node80,
|
|
69
69
|
testLayer: () => testLayer2
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
|
|
|
81
81
|
function latest2(entries, key) {
|
|
82
82
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var Options7 = Schema.Struct({
|
|
85
85
|
project: Schema.optional(Schema.Boolean),
|
|
86
86
|
global: Schema.optional(Schema.Boolean),
|
|
87
87
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -90,7 +90,7 @@ var Options5 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service77 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -114,16 +114,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
114
114
|
return document ? next.set(integrationID, document) : next;
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
|
-
return Context.empty().pipe(Context.add(
|
|
117
|
+
return Context.empty().pipe(Context.add(Service77, service), Context.add(Test2, service));
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var layer25 = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
|
-
const location = yield*
|
|
122
|
-
const watcher = yield*
|
|
121
|
+
const location = yield* Service86;
|
|
122
|
+
const watcher = yield* Service78;
|
|
123
123
|
const bus = yield* Service89;
|
|
124
|
-
const credentials = yield*
|
|
124
|
+
const credentials = yield* Service85;
|
|
125
125
|
const globalService = yield* Global.Service;
|
|
126
|
-
const wellknown = yield*
|
|
126
|
+
const wellknown = yield* Service79;
|
|
127
127
|
const processes = yield* AppProcess.Service;
|
|
128
128
|
const integrations = new Map;
|
|
129
129
|
const context = yield* Effect.context();
|
|
@@ -194,7 +194,7 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
194
194
|
return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
|
|
195
195
|
});
|
|
196
196
|
const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
|
|
197
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
197
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
198
198
|
const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
|
|
199
199
|
return decision2(lockdown, "integration.use", resource) !== "deny";
|
|
200
200
|
});
|
|
@@ -292,8 +292,8 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
292
292
|
}, (effect) => reloadLock.withPermit(effect));
|
|
293
293
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
294
294
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
295
|
-
yield* bus.subscribe(
|
|
296
|
-
yield* bus.subscribe(
|
|
295
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
296
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
297
297
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
298
298
|
if (!wellknown.snapshot().length)
|
|
299
299
|
return Effect.void;
|
|
@@ -321,7 +321,7 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
321
321
|
`);
|
|
322
322
|
yield* requestReload;
|
|
323
323
|
}, (effect) => updateLock.withPermit(effect));
|
|
324
|
-
return
|
|
324
|
+
return Service77.of({
|
|
325
325
|
entries: Effect.fnUntraced(function* () {
|
|
326
326
|
return configs;
|
|
327
327
|
}),
|
|
@@ -341,22 +341,22 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
341
341
|
})
|
|
342
342
|
});
|
|
343
343
|
}));
|
|
344
|
-
function
|
|
344
|
+
function configured10(options) {
|
|
345
345
|
return makeLocationNode({
|
|
346
|
-
service:
|
|
347
|
-
layer:
|
|
346
|
+
service: Service77,
|
|
347
|
+
layer: layer25(options),
|
|
348
348
|
deps: [
|
|
349
|
-
|
|
349
|
+
node81,
|
|
350
350
|
node92,
|
|
351
351
|
FSUtil.node,
|
|
352
352
|
Global.node,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
node89,
|
|
354
|
+
node88,
|
|
355
|
+
node82,
|
|
356
356
|
AppProcess.node
|
|
357
357
|
]
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
|
-
var
|
|
360
|
+
var node80 = configured10();
|
|
361
361
|
|
|
362
|
-
export { latest2,
|
|
362
|
+
export { latest2, Options7, Service77, Test2, testLayer2, layer25, configured10, node80, exports_config };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service86
|
|
13
|
+
} from "./console-access-jxv9802m.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./console-access-khrw954m.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./console-access-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin26 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service86;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin26, exports_hg };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./console-access-5qk7pcez.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./console-access-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin9
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service77;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin35 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin9, exports_websearch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./console-access-jxv9802m.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./console-access-9zh6h3zf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service12
|
|
15
|
+
} from "./console-access-vdaneqs3.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./console-access-80kjwkyf.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./console-access-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input14,
|
|
35
|
+
Plugin: () => Plugin54,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name14,
|
|
38
|
+
toModelContent: () => toModelContent6
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name14 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input14 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin54 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service39;
|
|
61
|
+
const access = yield* Service23;
|
|
62
|
+
const sessionInstructions = yield* Service12;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service86;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name14,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input14,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin46 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -176,7 +176,7 @@ ${suggestions.join(`
|
|
|
176
176
|
});
|
|
177
177
|
})
|
|
178
178
|
};
|
|
179
|
-
var
|
|
179
|
+
var toModelContent6 = (path, offset, output) => {
|
|
180
180
|
if (output.type === "file" && output.encoding === "base64")
|
|
181
181
|
return [
|
|
182
182
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -212,4 +212,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
212
212
|
`);
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { name14, Input14, Plugin54, toModelContent6, exports_read };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./console-access-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./console-access-61c6a8fw.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./console-access-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./console-access-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service54,
|
|
24
|
+
node: () => node56
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service54 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service64;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service54.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [node66, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error4, InvalidPatternError2, Service54, node56, exports_ripgrep };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-xs7kvz87.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-areqykj9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID20,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event20
|
|
11
|
+
} from "./console-access-jejb9f09.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./console-access-6rhd9160.js";
|
|
20
20
|
import {
|
|
21
21
|
ID17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./console-access-2k6zd025.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
26
|
make32
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./console-access-aenn6vam.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service77
|
|
30
|
+
} from "./console-access-5qk7pcez.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./console-access-2h1c0rfr.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./console-access-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID8,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./console-access-174aa04v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID18.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service89;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service77;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
202
|
yield* integrate(next.remote && next.connection && make32({
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
203
|
+
integrationID: ID18.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
222
222
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
223
223
|
const server = yield* normalizeServer(server2(credential));
|
|
224
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
224
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
225
225
|
query: input.query,
|
|
226
226
|
providerID
|
|
227
227
|
}));
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID8.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(
|
|
331
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|