@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./console-access-0hbxbaq1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service86
|
|
7
|
+
} from "./console-access-jxv9802m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service77
|
|
10
|
+
} from "./console-access-5qk7pcez.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service67,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-r6q0f2ac.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./console-access-986s6yzw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./console-access-nsvwbd9q.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./console-access-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./console-access-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin18 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service77;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin21 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service86;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service67;
|
|
58
|
+
const sessions = yield* Service27;
|
|
59
|
+
const agents = yield* Service75;
|
|
60
|
+
const subagents = yield* Service11;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin21 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -204,4 +204,4 @@ var argumentRegex = /\$(?:ARGUMENTS|([1-9]\d*))/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin18, exports_command };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-xs7kvz87.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-5enarcya.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin21 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin5 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin21, exports_firecrawl };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service86
|
|
9
|
+
} from "./console-access-jxv9802m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./console-access-61c6a8fw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service54
|
|
15
|
+
} from "./console-access-5w9z9t4q.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./console-access-w8hd9jg9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service72
|
|
24
|
+
} from "./console-access-3mrkr0j9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service23
|
|
27
|
+
} from "./console-access-9zh6h3zf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./console-access-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin50,
|
|
39
|
+
name: () => name11,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin50 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service64;
|
|
70
|
+
const ripgrep = yield* Service54;
|
|
71
|
+
const location = yield* Service86;
|
|
72
|
+
const access = yield* Service23;
|
|
73
|
+
const permission = yield* Service72;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin44 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent5, Plugin50, exports_glob };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service90,
|
|
9
9
|
node93
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-btm7bkhg.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./console-access-4d2dtj2f.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node68
|
|
18
|
+
} from "./console-access-bam5a6tw.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./console-access-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
30
|
ID: () => ID11,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service65,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured7,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node67
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ import { systemError } from "effect/PlatformError";
|
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
44
|
var ID11 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
47
47
|
id: ID11,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
@@ -62,14 +62,14 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service65 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service65,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node93,
|
|
70
|
+
deps: [node93, node68]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service90).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info15({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,7 +164,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service65.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
169
|
const workspaceID = input.id ?? ID11.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node67 = configured7();
|
|
246
246
|
|
|
247
|
-
export { ID11,
|
|
247
|
+
export { ID11, Info15, NotFound2, CreateConflict2, Service65, configured7, node67, exports_workspace };
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make31,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-390xskpw.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions6 = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-areqykj9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node89
|
|
8
|
+
} from "./console-access-jxv9802m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./console-access-0hbxbaq1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError11
|
|
15
|
+
} from "./console-access-s4kyhetj.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./console-access-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node76
|
|
22
|
+
} from "./console-access-7pzqke8r.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service74,
|
|
25
|
+
node77
|
|
26
|
+
} from "./console-access-yat0atrq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service76,
|
|
29
|
+
node79
|
|
30
|
+
} from "./console-access-g4v74gy6.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./console-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,30 +39,30 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
43
|
ID: () => ID12,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError10,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service72,
|
|
51
|
+
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
merge: () => merge2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node75
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
59
59
|
import { Permission } from "@opencode/schema/permission";
|
|
60
60
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
61
|
-
import { Event as
|
|
61
|
+
import { Event as Event13 } from "@opencode/schema/permission";
|
|
62
62
|
var PermissionEffect = Permission.Effect;
|
|
63
63
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
64
64
|
var ID12 = Permission.ID;
|
|
65
|
-
var
|
|
65
|
+
var Source5 = Permission.Source;
|
|
66
66
|
var Request3 = Permission.Request;
|
|
67
67
|
var Reply2 = Permission.Reply;
|
|
68
68
|
var Unattended2 = Context.Reference("@opencode/Permission/Unattended", {
|
|
@@ -93,7 +93,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
97
97
|
requestID: ID12
|
|
98
98
|
}) {
|
|
99
99
|
}
|
|
@@ -108,15 +108,15 @@ function merge2(...rulesets) {
|
|
|
108
108
|
return rulesets.flat();
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service72 extends Context.Service()("@opencode/Permission") {
|
|
112
112
|
}
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service89;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const agents = yield*
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const saved = yield*
|
|
119
|
-
const hooks = yield*
|
|
115
|
+
const location = yield* Service86;
|
|
116
|
+
const agents = yield* Service75;
|
|
117
|
+
const sessions = yield* Service73;
|
|
118
|
+
const saved = yield* Service74;
|
|
119
|
+
const hooks = yield* Service76;
|
|
120
120
|
const pending = new Map;
|
|
121
121
|
let closed = false;
|
|
122
122
|
const close = Effect.gen(function* () {
|
|
@@ -139,7 +139,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
139
139
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
140
140
|
const session = yield* sessions.get(sessionID);
|
|
141
141
|
if (!session)
|
|
142
|
-
return yield* new
|
|
142
|
+
return yield* new NotFoundError11({ sessionID });
|
|
143
143
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
144
144
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
145
145
|
});
|
|
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
252
252
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
253
253
|
const existing = pending.get(input.requestID);
|
|
254
254
|
if (!existing)
|
|
255
|
-
return yield* new
|
|
255
|
+
return yield* new NotFoundError10({ requestID: input.requestID });
|
|
256
256
|
yield* bus.publish(Permission.Event.Replied, {
|
|
257
257
|
sessionID: existing.request.sessionID,
|
|
258
258
|
requestID: existing.request.id,
|
|
@@ -307,12 +307,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
307
307
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
308
308
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
309
309
|
});
|
|
310
|
-
return
|
|
310
|
+
return Service72.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
311
311
|
}));
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
312
|
+
var node75 = makeLocationNode({
|
|
313
|
+
service: Service72,
|
|
314
314
|
layer,
|
|
315
|
-
deps: [node92,
|
|
315
|
+
deps: [node92, node89, node78, node76, node77, node79]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { PermissionEffect, ID12,
|
|
318
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service72, node75, exports_permission, Rule2, Ruleset2, Event13 };
|