@opencode/core 0.0.0-dev-377 → 0.0.0-dev-385
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 -91
- package/dist/aisdk-native.js +102 -101
- package/dist/aisdk.js +108 -107
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -240
- package/dist/bus.js +80 -79
- package/dist/chunks/{usage-limits-6ghk0e0m.js → filesystem-02sby4r7.js} +1 -1
- package/dist/chunks/{usage-limits-963hk181.js → filesystem-0b5y8qrs.js} +9 -9
- package/dist/chunks/{usage-limits-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
- package/dist/chunks/{usage-limits-bgh9pp6t.js → filesystem-0s767t8h.js} +4 -4
- package/dist/chunks/{usage-limits-dwhvm4hr.js → filesystem-0y32geeb.js} +37 -37
- package/dist/chunks/{usage-limits-v77g6e3b.js → filesystem-0zsaa7q1.js} +18 -18
- package/dist/chunks/{usage-limits-1ykxxcvd.js → filesystem-1acdmn0m.js} +15 -15
- package/dist/chunks/{usage-limits-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-p7zk900c.js → filesystem-1cbt02ab.js} +4 -4
- package/dist/chunks/{usage-limits-8bk4jhmk.js → filesystem-1n9etsek.js} +23 -23
- package/dist/chunks/{usage-limits-v7608hm2.js → filesystem-1qj53enc.js} +21 -21
- package/dist/chunks/{usage-limits-k23svgts.js → filesystem-1vz1ms8q.js} +4 -4
- package/dist/chunks/{usage-limits-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-kfhf3q6h.js → filesystem-1y12nts7.js} +15 -15
- package/dist/chunks/{usage-limits-5xdgvpxd.js → filesystem-20hgg5jf.js} +6 -6
- package/dist/chunks/{usage-limits-9ts3gnzs.js → filesystem-2413zvty.js} +10 -10
- package/dist/chunks/{usage-limits-1ep2p91f.js → filesystem-27w5k9zf.js} +2 -2
- package/dist/chunks/filesystem-2db194wd.js +261 -0
- package/dist/chunks/{usage-limits-bvx5v79p.js → filesystem-2j17t4ma.js} +23 -23
- package/dist/chunks/{usage-limits-w6ybgss3.js → filesystem-2parprfh.js} +14 -14
- package/dist/chunks/{usage-limits-j90hxq85.js → filesystem-2swc61r8.js} +11 -11
- package/dist/chunks/{usage-limits-jaj49rn5.js → filesystem-2xqw2xge.js} +36 -36
- package/dist/chunks/{usage-limits-7r0n2k9z.js → filesystem-30np0s0y.js} +10 -10
- package/dist/chunks/{usage-limits-2bsm227b.js → filesystem-31xrnzxp.js} +9 -9
- package/dist/chunks/{usage-limits-z080rjh6.js → filesystem-38aws4xb.js} +4 -4
- package/dist/chunks/{usage-limits-ayjs7tqn.js → filesystem-3cbjf1nt.js} +2 -2
- package/dist/chunks/{usage-limits-3hgh9kya.js → filesystem-3d2mgs8e.js} +23 -23
- package/dist/chunks/{usage-limits-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-21epatcf.js → filesystem-3jh66j93.js} +19 -19
- package/dist/chunks/{usage-limits-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-wgbgvrq0.js → filesystem-3v49se44.js} +6 -6
- package/dist/chunks/{usage-limits-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-defd6ypc.js → filesystem-4bwwa86y.js} +31 -31
- package/dist/chunks/{usage-limits-g37qf11b.js → filesystem-4c01b23b.js} +16 -16
- package/dist/chunks/{usage-limits-4d2dtj2f.js → filesystem-4d2dtj2f.js} +1 -1
- package/dist/chunks/{usage-limits-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-0ffxk9yc.js → filesystem-4e588zmg.js} +27 -27
- package/dist/chunks/{usage-limits-r542h3bh.js → filesystem-4f25tdd0.js} +5 -5
- package/dist/chunks/{usage-limits-qexmx2te.js → filesystem-4jmrnn9a.js} +63 -59
- package/dist/chunks/{usage-limits-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-20che178.js → filesystem-4s2hr3n5.js} +9 -9
- package/dist/chunks/{usage-limits-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-mn2jev3s.js → filesystem-50nzf0t7.js} +14 -14
- package/dist/chunks/{usage-limits-20wck419.js → filesystem-53kbtjgk.js} +8 -8
- package/dist/chunks/{usage-limits-tzmjyztd.js → filesystem-54y7003s.js} +17 -17
- package/dist/chunks/{usage-limits-41j1kdtj.js → filesystem-5d5m1bnp.js} +8 -8
- package/dist/chunks/{usage-limits-w2eysc6j.js → filesystem-5enarcya.js} +6 -6
- package/dist/chunks/{usage-limits-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-d2qne4t6.js → filesystem-5mxg0681.js} +50 -50
- package/dist/chunks/{usage-limits-1yq9hg58.js → filesystem-5zrxpy3q.js} +5 -5
- package/dist/chunks/{usage-limits-scm21bxe.js → filesystem-69gkttxc.js} +5 -5
- package/dist/chunks/{usage-limits-stkk57rt.js → filesystem-6agm2x70.js} +19 -0
- package/dist/chunks/{usage-limits-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-csnq1vx8.js → filesystem-6z13xg5v.js} +4 -4
- package/dist/chunks/{usage-limits-vjcmpn41.js → filesystem-746ypka0.js} +15 -15
- package/dist/chunks/{usage-limits-wmjmswnm.js → filesystem-75sqr8bp.js} +26 -26
- package/dist/chunks/{usage-limits-775hqbnd.js → filesystem-775hqbnd.js} +3 -3
- package/dist/chunks/{usage-limits-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-jkjd442p.js → filesystem-7dmr4t8m.js} +18 -18
- package/dist/chunks/{usage-limits-et0xb4q7.js → filesystem-7gyk422d.js} +17 -17
- package/dist/chunks/{usage-limits-7kr66rt3.js → filesystem-7kr66rt3.js} +1 -1
- package/dist/chunks/{usage-limits-cayrsa4s.js → filesystem-7kzq0522.js} +16 -16
- package/dist/chunks/{usage-limits-y7rptanb.js → filesystem-7n4dg79f.js} +8 -8
- package/dist/chunks/{usage-limits-26s8zb2h.js → filesystem-7syp706q.js} +21 -21
- package/dist/chunks/{usage-limits-yk99v59j.js → filesystem-7v32djr5.js} +11 -11
- package/dist/chunks/{usage-limits-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-rjnacbrz.js → filesystem-851knd86.js} +9 -9
- package/dist/chunks/filesystem-86kd7kzh.js +16 -0
- package/dist/chunks/{usage-limits-presy5jw.js → filesystem-88vdz3ne.js} +8 -8
- package/dist/chunks/{usage-limits-89287pr7.js → filesystem-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
- package/dist/chunks/{usage-limits-02z3wvpm.js → filesystem-8eb5dz3y.js} +41 -41
- package/dist/chunks/{usage-limits-q0b6b6a2.js → filesystem-8fb0arrr.js} +14 -14
- package/dist/chunks/{usage-limits-d390zwf3.js → filesystem-8fb3spgr.js} +8 -8
- package/dist/chunks/{usage-limits-rt4dem1v.js → filesystem-8frsqbrq.js} +40 -40
- package/dist/chunks/{usage-limits-8r22v43r.js → filesystem-8pbhkp7h.js} +4 -4
- package/dist/chunks/{usage-limits-718z4xg1.js → filesystem-8qv3wgvp.js} +38 -38
- package/dist/chunks/{usage-limits-sazka0fg.js → filesystem-8r6v9khj.js} +20 -20
- package/dist/chunks/{usage-limits-7xd7tfhx.js → filesystem-8rab1k8r.js} +25 -25
- package/dist/chunks/{usage-limits-va1tzbxe.js → filesystem-8rbph9sy.js} +25 -25
- package/dist/chunks/{usage-limits-8t99kr38.js → filesystem-8t99kr38.js} +1 -1
- package/dist/chunks/{usage-limits-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-kbgs7tyr.js → filesystem-8xz27cp9.js} +4 -4
- package/dist/chunks/{usage-limits-mb7mbhnz.js → filesystem-8z6m94af.js} +3 -3
- package/dist/chunks/{usage-limits-90zstvax.js → filesystem-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-xvbtx46z.js → filesystem-911syh2y.js} +30 -30
- package/dist/chunks/{usage-limits-8hfctyyf.js → filesystem-93xmyh8q.js} +7 -7
- package/dist/chunks/{usage-limits-0txfw6xb.js → filesystem-95kpfxbj.js} +5 -5
- package/dist/chunks/{usage-limits-szwm4crx.js → filesystem-96djdqw5.js} +4 -4
- package/dist/chunks/{usage-limits-37v3bzk6.js → filesystem-99jjt1dz.js} +13 -13
- package/dist/chunks/{usage-limits-c2b0y6qh.js → filesystem-9fatc37w.js} +45 -45
- package/dist/chunks/{usage-limits-9rhn9qwp.js → filesystem-9hff56gs.js} +26 -26
- package/dist/chunks/{usage-limits-czjnqwyd.js → filesystem-9jzjkbjk.js} +14 -14
- package/dist/chunks/{usage-limits-2kg89srt.js → filesystem-9q8g9sv8.js} +4 -4
- package/dist/chunks/{usage-limits-mcy5cenx.js → filesystem-9tp1sxbe.js} +16 -16
- package/dist/chunks/{usage-limits-7fz0qe17.js → filesystem-9vag47b5.js} +15 -15
- package/dist/chunks/{usage-limits-88313jvv.js → filesystem-9wb03w19.js} +7 -7
- package/dist/chunks/{usage-limits-cf3f13z6.js → filesystem-9yd64rvx.js} +8 -8
- package/dist/chunks/{usage-limits-kv6xqjvw.js → filesystem-a15qcg7t.js} +5 -5
- package/dist/chunks/{usage-limits-c2crkfpp.js → filesystem-a4867apv.js} +5 -5
- package/dist/chunks/{usage-limits-7nqkf5r1.js → filesystem-a5fx33f2.js} +6 -6
- package/dist/chunks/{usage-limits-y2vpvrsq.js → filesystem-ac5tzc4s.js} +3 -3
- package/dist/chunks/{usage-limits-8pw7k2hd.js → filesystem-ag3jbkx2.js} +8 -8
- package/dist/chunks/{usage-limits-034tev2y.js → filesystem-aj7mw0zk.js} +2 -2
- package/dist/chunks/{usage-limits-8th6kc5q.js → filesystem-ajstjzwv.js} +10 -10
- package/dist/chunks/{usage-limits-ppkqxyyy.js → filesystem-apms2mrw.js} +11 -11
- package/dist/chunks/{usage-limits-s86y9anx.js → filesystem-awr76603.js} +25 -25
- package/dist/chunks/{usage-limits-mv6150sf.js → filesystem-ayfqptq7.js} +11 -11
- package/dist/chunks/{usage-limits-a57pzqym.js → filesystem-b42hm3pt.js} +34 -34
- package/dist/chunks/{usage-limits-fnk2vfk9.js → filesystem-b6apdh58.js} +21 -21
- package/dist/chunks/{usage-limits-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-ad04vah9.js → filesystem-bb0pw8zc.js} +31 -31
- package/dist/chunks/{usage-limits-va0v6ztw.js → filesystem-be2qad6y.js} +11 -11
- package/dist/chunks/{usage-limits-sv5tz4mx.js → filesystem-bf4f9x8x.js} +94 -33
- package/dist/chunks/{usage-limits-3xwpw4ba.js → filesystem-bkxq22ca.js} +75 -75
- package/dist/chunks/{usage-limits-b1k7nw82.js → filesystem-bn9c6z9f.js} +9 -9
- package/dist/chunks/{usage-limits-ymaf8gd7.js → filesystem-bnah3mpw.js} +21 -21
- package/dist/chunks/{usage-limits-wrydkpp0.js → filesystem-bnv5zz2f.js} +11 -11
- package/dist/chunks/{usage-limits-6dcsm2a3.js → filesystem-bst7srfy.js} +9 -9
- package/dist/chunks/{usage-limits-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{usage-limits-b9aemc26.js → filesystem-bvjhtxhe.js} +9 -9
- package/dist/chunks/{usage-limits-2vxenzsg.js → filesystem-c0scmcj4.js} +7 -7
- package/dist/chunks/{usage-limits-wdq5eq09.js → filesystem-c4qjnaqh.js} +28 -28
- package/dist/chunks/{usage-limits-shfh3dfx.js → filesystem-c951tkze.js} +7 -7
- package/dist/chunks/{usage-limits-hx2a60bd.js → filesystem-ce6y1dpc.js} +3 -3
- package/dist/chunks/{usage-limits-9rfd1m4v.js → filesystem-ch4aym42.js} +15 -15
- package/dist/chunks/{usage-limits-vqfcj0pj.js → filesystem-chxzm0p6.js} +6 -6
- package/dist/chunks/{usage-limits-q5qvre1b.js → filesystem-ckwjbbtz.js} +14 -14
- package/dist/chunks/{usage-limits-bhrb89e0.js → filesystem-cp4fm39h.js} +11 -11
- package/dist/chunks/{usage-limits-cr4rfj9z.js → filesystem-cr4rfj9z.js} +1 -1
- package/dist/chunks/{usage-limits-bpst1ezt.js → filesystem-cw6n7824.js} +3 -3
- package/dist/chunks/{usage-limits-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-595dvwjy.js → filesystem-d5fxwhvd.js} +18 -18
- package/dist/chunks/{usage-limits-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-kzpzksxr.js → filesystem-dv96216k.js} +4 -4
- package/dist/chunks/{usage-limits-hqhzkr6g.js → filesystem-dxan1mrp.js} +5 -5
- package/dist/chunks/{usage-limits-fme5eymb.js → filesystem-e0f7z133.js} +5 -5
- package/dist/chunks/{usage-limits-cmef6vt1.js → filesystem-e2r08tg1.js} +19 -19
- package/dist/chunks/{usage-limits-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-3mxb7kah.js → filesystem-e8k50g8j.js} +13 -13
- package/dist/chunks/{usage-limits-bwrv0k9k.js → filesystem-e95pk719.js} +25 -25
- package/dist/chunks/{usage-limits-13ttwavm.js → filesystem-eab5a047.js} +6 -6
- package/dist/chunks/{usage-limits-hretfjjx.js → filesystem-eavcrtrz.js} +2 -2
- package/dist/chunks/{usage-limits-bppg41nv.js → filesystem-emb4gwtt.js} +11 -11
- package/dist/chunks/{usage-limits-38q64rg8.js → filesystem-entb9tz6.js} +22 -22
- package/dist/chunks/{usage-limits-6r7x44ev.js → filesystem-epk2gzwc.js} +9 -9
- package/dist/chunks/{usage-limits-xfjq0bb3.js → filesystem-epnmz11s.js} +20 -20
- package/dist/chunks/{usage-limits-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-ev660z6k.js → filesystem-ev660z6k.js} +1 -1
- package/dist/chunks/{usage-limits-bt4pe10d.js → filesystem-ew022wxf.js} +15 -15
- package/dist/chunks/{usage-limits-jf43mb4q.js → filesystem-f30vev53.js} +5 -5
- package/dist/chunks/{usage-limits-k02hybpw.js → filesystem-f3205147.js} +24 -24
- package/dist/chunks/{usage-limits-y72znbgh.js → filesystem-fbghex4f.js} +12 -12
- package/dist/chunks/{usage-limits-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-jxpeaj70.js → filesystem-fge9q26e.js} +10 -10
- package/dist/chunks/{usage-limits-0mb49rac.js → filesystem-fhxbqm4w.js} +13 -13
- package/dist/chunks/{usage-limits-wh1j0yj8.js → filesystem-fje97jh5.js} +32 -32
- package/dist/chunks/{usage-limits-qpzf4v3q.js → filesystem-fq7kzv5e.js} +40 -40
- package/dist/chunks/{usage-limits-pf3c2ba8.js → filesystem-fqm9ha3d.js} +9 -9
- package/dist/chunks/{usage-limits-d0pmvwgf.js → filesystem-ftbvkkmh.js} +9 -9
- package/dist/chunks/{usage-limits-7hj412v2.js → filesystem-fte7kk04.js} +46 -45
- package/dist/chunks/{usage-limits-1kqnzkm0.js → filesystem-fze2smjz.js} +27 -27
- package/dist/chunks/{usage-limits-wr3re1en.js → filesystem-fznmdakp.js} +4 -4
- package/dist/chunks/{usage-limits-5eqwxt4n.js → filesystem-g7kaawny.js} +11 -11
- package/dist/chunks/{usage-limits-ym2jhkz8.js → filesystem-gb53k21n.js} +45 -45
- package/dist/chunks/{usage-limits-8ajtsvws.js → filesystem-gbd4m27s.js} +3 -3
- package/dist/chunks/{usage-limits-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-agtpe47e.js → filesystem-gcjvkr7v.js} +30 -30
- package/dist/chunks/{usage-limits-1br9893z.js → filesystem-ghzysasn.js} +32 -32
- package/dist/chunks/{usage-limits-488jzj8m.js → filesystem-gj1by2n5.js} +5 -5
- package/dist/chunks/{usage-limits-d29ke3kn.js → filesystem-gjdx25xd.js} +17 -17
- package/dist/chunks/{usage-limits-x4gms9wc.js → filesystem-gk1nhyk8.js} +12 -12
- package/dist/chunks/{usage-limits-a5xnh37q.js → filesystem-gkjtw3vz.js} +8 -8
- package/dist/chunks/{usage-limits-pswjzj9a.js → filesystem-gmfpnxc6.js} +3 -3
- package/dist/chunks/{usage-limits-d4v9tmah.js → filesystem-gn8tkhbf.js} +2 -2
- package/dist/chunks/{usage-limits-yx1rzxhv.js → filesystem-gnbjw61v.js} +1 -1
- package/dist/chunks/{usage-limits-1g6mw532.js → filesystem-gwgzfe9g.js} +11 -11
- package/dist/chunks/{usage-limits-tg7s7b5t.js → filesystem-gxs71cxp.js} +4 -4
- package/dist/chunks/{usage-limits-78p2h4ex.js → filesystem-gz7axp6c.js} +2 -2
- package/dist/chunks/{usage-limits-pyypvcb5.js → filesystem-h4nf0qxy.js} +10 -10
- package/dist/chunks/{usage-limits-7t69dndk.js → filesystem-h8ky61s5.js} +11 -11
- package/dist/chunks/{usage-limits-99na1n0x.js → filesystem-hczps8gs.js} +7 -7
- package/dist/chunks/{usage-limits-hh7kjqtw.js → filesystem-hh7kjqtw.js} +1 -1
- package/dist/chunks/{usage-limits-vamw07y4.js → filesystem-hpce2bxp.js} +32 -32
- package/dist/chunks/{usage-limits-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-g3mtdb1c.js → filesystem-j1qc7ve1.js} +2 -2
- package/dist/chunks/{usage-limits-tr8x705m.js → filesystem-j376ae4e.js} +5 -5
- package/dist/chunks/{usage-limits-dcssw8rk.js → filesystem-j3sy6vx4.js} +41 -41
- package/dist/chunks/{usage-limits-zfd6sbet.js → filesystem-j6dbc10v.js} +26 -26
- package/dist/chunks/{usage-limits-j9nxzz3g.js → filesystem-j9nxzz3g.js} +3 -3
- package/dist/chunks/{usage-limits-sjmczned.js → filesystem-ja3akpp7.js} +53 -53
- package/dist/chunks/{usage-limits-h5e20cdn.js → filesystem-jdq9dv0a.js} +12 -12
- package/dist/chunks/{usage-limits-8j9aqx7t.js → filesystem-jjkv0xf5.js} +16 -16
- package/dist/chunks/{usage-limits-694dpcrp.js → filesystem-jjvvtnfs.js} +7 -7
- package/dist/chunks/{usage-limits-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
- package/dist/chunks/{usage-limits-baj8zdpc.js → filesystem-jw30vyg7.js} +11 -11
- package/dist/chunks/{usage-limits-5c0ay57s.js → filesystem-jwve1gmd.js} +4 -4
- package/dist/chunks/{usage-limits-x0qev501.js → filesystem-jwxa6amh.js} +6 -6
- package/dist/chunks/{usage-limits-44pmzq9c.js → filesystem-jxd6f16v.js} +2 -2
- package/dist/chunks/{usage-limits-hvx6apmw.js → filesystem-jy5kj527.js} +9 -9
- package/dist/chunks/{usage-limits-20pht57w.js → filesystem-k46dd5bg.js} +4 -4
- package/dist/chunks/{usage-limits-xw5367kc.js → filesystem-k4nexr3a.js} +17 -17
- package/dist/chunks/{usage-limits-ejnzwfza.js → filesystem-kf80r4v2.js} +9 -9
- package/dist/chunks/{usage-limits-6eg7c0zn.js → filesystem-kgx5mhz5.js} +16 -16
- package/dist/chunks/{usage-limits-mj1vn29f.js → filesystem-kkb7zeg6.js} +8 -8
- package/dist/chunks/{usage-limits-v5mcc7xy.js → filesystem-kmvhrvnb.js} +21 -21
- package/dist/chunks/{usage-limits-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-8x35rtfy.js → filesystem-kvgb5j4p.js} +23 -23
- package/dist/chunks/{usage-limits-dqyqvzhp.js → filesystem-kw362g4m.js} +9 -9
- package/dist/chunks/filesystem-kzczzf4v.js +25 -0
- package/dist/chunks/{usage-limits-0p90s808.js → filesystem-m0vh58p1.js} +28 -28
- package/dist/chunks/{usage-limits-h9ajdkbn.js → filesystem-m0yvy5wq.js} +3 -3
- package/dist/chunks/{usage-limits-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-38x19j9c.js → filesystem-m3dvshv8.js} +3 -3
- package/dist/chunks/{usage-limits-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-pesfd11m.js → filesystem-mak3w6xr.js} +18 -18
- package/dist/chunks/{usage-limits-kmvftdbs.js → filesystem-mb69jzyx.js} +12 -12
- package/dist/chunks/{usage-limits-dnjzccdk.js → filesystem-mn00fh9h.js} +15 -15
- package/dist/chunks/{usage-limits-kptrmm0p.js → filesystem-mrngp2m4.js} +17 -17
- package/dist/chunks/{usage-limits-nsqt73a0.js → filesystem-mstrsafp.js} +1 -1
- package/dist/chunks/{usage-limits-rnt6zrkc.js → filesystem-msvaqh22.js} +22 -22
- package/dist/chunks/{usage-limits-jbszwdvq.js → filesystem-mv5c0h3x.js} +6 -6
- package/dist/chunks/{usage-limits-1y018dvv.js → filesystem-mvrp13k1.js} +70 -70
- package/dist/chunks/{usage-limits-wws03c5r.js → filesystem-mzm8bzzq.js} +4 -4
- package/dist/chunks/{usage-limits-mxyvs087.js → filesystem-mzpzfnav.js} +32 -32
- package/dist/chunks/{usage-limits-zp0nz9wc.js → filesystem-na0k9was.js} +5 -5
- package/dist/chunks/{usage-limits-nah043kf.js → filesystem-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-3k3y3dx6.js → filesystem-npk60vfe.js} +74 -73
- package/dist/chunks/{usage-limits-f341sazs.js → filesystem-nt907s04.js} +3 -3
- package/dist/chunks/{usage-limits-wegkxhrn.js → filesystem-nx4vzyjd.js} +2 -2
- package/dist/chunks/{usage-limits-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-vj70z7b1.js → filesystem-p4cp848n.js} +12 -12
- package/dist/chunks/{usage-limits-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-5fzvcdd4.js → filesystem-pvtdn4cq.js} +4 -4
- package/dist/chunks/{usage-limits-rs5a32kx.js → filesystem-pwsg9qb0.js} +1 -1
- package/dist/chunks/{usage-limits-dg5naf6e.js → filesystem-px7qpgcn.js} +4 -4
- package/dist/chunks/{usage-limits-yara3q77.js → filesystem-pxtfkpje.js} +2 -2
- package/dist/chunks/{usage-limits-mcm423pj.js → filesystem-q2nmdwkj.js} +46 -46
- package/dist/chunks/{usage-limits-z2erjh4c.js → filesystem-qdgzn1sm.js} +8 -8
- package/dist/chunks/{usage-limits-2heqx4ag.js → filesystem-qez3dbcf.js} +16 -16
- package/dist/chunks/{usage-limits-kryfec64.js → filesystem-qfne6emw.js} +12 -12
- package/dist/chunks/{usage-limits-5d8pw466.js → filesystem-qg1qtv71.js} +28 -28
- package/dist/chunks/{usage-limits-5dpjy1zg.js → filesystem-qmernfek.js} +32 -32
- package/dist/chunks/{usage-limits-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-qqvy8y24.js → filesystem-qqvy8y24.js} +1 -1
- package/dist/chunks/{usage-limits-qsdghx1p.js → filesystem-qsdghx1p.js} +1 -1
- package/dist/chunks/{usage-limits-vzppetdn.js → filesystem-qw2t3dzn.js} +6 -6
- package/dist/chunks/{usage-limits-0cfnbd3f.js → filesystem-qwvsjm6j.js} +11 -11
- package/dist/chunks/{usage-limits-kgq6c069.js → filesystem-ra34yqmw.js} +6 -6
- package/dist/chunks/{usage-limits-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-v7ne6s01.js → filesystem-rgxvcxqq.js} +2 -2
- package/dist/chunks/{usage-limits-btwmet39.js → filesystem-rhewgjmk.js} +29 -29
- package/dist/chunks/{usage-limits-m6qhw0wz.js → filesystem-rhkye7cx.js} +4 -4
- package/dist/chunks/{usage-limits-w1gphqtx.js → filesystem-rjkfg8bm.js} +5 -5
- package/dist/chunks/{usage-limits-1594hys8.js → filesystem-rkrz0p91.js} +28 -28
- package/dist/chunks/{usage-limits-sfethcrx.js → filesystem-rr9dce24.js} +35 -35
- package/dist/chunks/{usage-limits-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-1pt9g3kk.js → filesystem-rx1waf6z.js} +7 -7
- package/dist/chunks/{usage-limits-7pj4x5nb.js → filesystem-rxh8q6q6.js} +3 -3
- package/dist/chunks/{usage-limits-acyvnrez.js → filesystem-s064dzw5.js} +10 -10
- package/dist/chunks/{usage-limits-syn157v1.js → filesystem-s1a15ccr.js} +3 -3
- package/dist/chunks/{usage-limits-2p60zmnr.js → filesystem-s1ba0vj0.js} +2 -2
- package/dist/chunks/{usage-limits-dq1wcng5.js → filesystem-s57ahyn0.js} +7 -7
- package/dist/chunks/{usage-limits-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-vfk2yaqe.js → filesystem-sf3p967d.js} +48 -48
- package/dist/chunks/{usage-limits-dvpgqbq0.js → filesystem-skxmj5sa.js} +21 -21
- package/dist/chunks/{usage-limits-xe1ebrzq.js → filesystem-smhgajzj.js} +29 -29
- package/dist/chunks/{usage-limits-k4txyktb.js → filesystem-smjfwefw.js} +17 -17
- package/dist/chunks/{usage-limits-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-qp0zf9x4.js → filesystem-tc9vsh1h.js} +35 -35
- package/dist/chunks/{usage-limits-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-f8by4fzr.js → filesystem-tf33zyjq.js} +28 -28
- package/dist/chunks/{usage-limits-06fz2k08.js → filesystem-tfr9yjjd.js} +23 -23
- package/dist/chunks/{usage-limits-v5hpj9dd.js → filesystem-tg1vr1qt.js} +8 -8
- package/dist/chunks/{usage-limits-m790pv56.js → filesystem-trs6degs.js} +31 -31
- package/dist/chunks/{usage-limits-ajzp6v3v.js → filesystem-tvp0dzzs.js} +2 -2
- package/dist/chunks/{usage-limits-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-s63cy44c.js → filesystem-tx11yp5c.js} +24 -24
- package/dist/chunks/{usage-limits-fww6ypec.js → filesystem-tyk53y9h.js} +31 -31
- package/dist/chunks/{usage-limits-fxfr7a22.js → filesystem-v02g83pj.js} +20 -20
- package/dist/chunks/{usage-limits-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-71k9dhfg.js → filesystem-vb6dc4cy.js} +23 -23
- package/dist/chunks/{usage-limits-t6cwjym4.js → filesystem-venm01wt.js} +18 -18
- package/dist/chunks/{usage-limits-mqe7nf5n.js → filesystem-vg0erq9k.js} +3 -3
- package/dist/chunks/{usage-limits-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-d9p5ss2h.js → filesystem-vkde5m3x.js} +38 -38
- package/dist/chunks/{usage-limits-nv2c5e9q.js → filesystem-vnjc296t.js} +3 -3
- package/dist/chunks/{usage-limits-6kdyyjh5.js → filesystem-vqgxj1ns.js} +4 -4
- package/dist/chunks/filesystem-vqkw5cgx.js +549 -0
- package/dist/chunks/{usage-limits-qfbdgwwk.js → filesystem-vr9fx7j5.js} +8 -8
- package/dist/chunks/filesystem-vtarvj67.js +60 -0
- package/dist/chunks/{usage-limits-ayb9hahn.js → filesystem-w2tkwyqq.js} +24 -24
- package/dist/chunks/{usage-limits-s0rqj1c1.js → filesystem-w3b8frf0.js} +15 -15
- package/dist/chunks/{usage-limits-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-76cb1hcw.js → filesystem-w8qtt4th.js} +4 -4
- package/dist/chunks/{usage-limits-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/filesystem-wefpawbm.js +26 -0
- package/dist/chunks/{usage-limits-7h5tkcmb.js → filesystem-wexf2k6a.js} +5 -5
- package/dist/chunks/{usage-limits-7srb4syb.js → filesystem-wey7npy0.js} +13 -13
- package/dist/chunks/{usage-limits-gp1vtzc0.js → filesystem-wgegyvat.js} +46 -46
- package/dist/chunks/{usage-limits-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-v6fkyww7.js → filesystem-wr7t8v2s.js} +21 -21
- package/dist/chunks/{usage-limits-wvr8xscb.js → filesystem-wvr8xscb.js} +1 -1
- package/dist/chunks/{usage-limits-vrpz8t5t.js → filesystem-wz5tj16h.js} +5 -5
- package/dist/chunks/{usage-limits-wqeb87xx.js → filesystem-x243gcnx.js} +19 -19
- package/dist/chunks/{usage-limits-mnxs9nd3.js → filesystem-x7bzwpv5.js} +21 -21
- package/dist/chunks/{usage-limits-4e8bznvc.js → filesystem-x7ddy58s.js} +20 -20
- package/dist/chunks/{usage-limits-6h8vcvjm.js → filesystem-x7de2wha.js} +9 -9
- package/dist/chunks/{usage-limits-8hmw2yh3.js → filesystem-xbhg6p9k.js} +13 -13
- package/dist/chunks/{usage-limits-pnye8cb7.js → filesystem-xhza9kst.js} +3 -3
- package/dist/chunks/{usage-limits-c6x7d2ts.js → filesystem-xmx7xj34.js} +4 -4
- package/dist/chunks/{usage-limits-5zst95rf.js → filesystem-xrktf55d.js} +8 -8
- package/dist/chunks/{usage-limits-zdat2xwq.js → filesystem-xsvq7cjt.js} +4 -4
- package/dist/chunks/{usage-limits-w2ws7yp9.js → filesystem-xzc3sbzj.js} +3 -3
- package/dist/chunks/{usage-limits-pw1hf97w.js → filesystem-xzyap3kx.js} +11 -11
- package/dist/chunks/{usage-limits-r5z7phm8.js → filesystem-xzyc158b.js} +11 -11
- package/dist/chunks/{usage-limits-5t2z4f42.js → filesystem-y24dv8sg.js} +179 -179
- package/dist/chunks/{usage-limits-p6zs62vd.js → filesystem-y2byerj0.js} +20 -20
- package/dist/chunks/{usage-limits-fr8s9tcw.js → filesystem-y34nwz0g.js} +7 -7
- package/dist/chunks/{usage-limits-j5sc32gv.js → filesystem-y3de7ed5.js} +16 -16
- package/dist/chunks/{usage-limits-ghchhpkv.js → filesystem-yayjxqrm.js} +9 -9
- package/dist/chunks/{usage-limits-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-msd2a3qm.js → filesystem-ybws1qgk.js} +4 -4
- package/dist/chunks/{usage-limits-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-zm6j1rab.js → filesystem-ywy4tt7w.js} +9 -9
- package/dist/chunks/{usage-limits-abd0yc92.js → filesystem-zfrx22gp.js} +4 -4
- package/dist/chunks/{usage-limits-h080qzdw.js → filesystem-zqzzyd4q.js} +51 -51
- package/dist/chunks/{usage-limits-nx5tm237.js → filesystem-zsqyp6r6.js} +17 -17
- package/dist/chunks/{usage-limits-m7xh3h0x.js → filesystem-ztf6n3de.js} +4 -4
- package/dist/chunks/{usage-limits-5mshsdwq.js → filesystem-ztn69bwn.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -144
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -150
- package/dist/command.js +92 -91
- package/dist/config/discovery.js +97 -96
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -111
- package/dist/config/plugin/agent.js +130 -129
- package/dist/config/plugin/command.js +229 -227
- package/dist/config/plugin/compaction.js +171 -170
- package/dist/config/plugin/compatibility.js +150 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -130
- package/dist/config/plugin/image.js +130 -129
- package/dist/config/plugin/instruction.js +130 -129
- package/dist/config/plugin/location-watcher.js +130 -129
- package/dist/config/plugin/mcp.js +137 -136
- package/dist/config/plugin/policy.js +130 -129
- package/dist/config/plugin/provider.js +130 -129
- package/dist/config/plugin/reference.js +132 -131
- package/dist/config/plugin/shell.js +132 -131
- package/dist/config/plugin/skill-file.js +146 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -152
- package/dist/config/plugin/snapshot.js +130 -129
- package/dist/config/plugin/source.js +133 -132
- package/dist/config/plugin/tool-output.js +131 -130
- package/dist/config/plugin/websearch.js +131 -130
- package/dist/config/plugin/worktree.js +132 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -93
- package/dist/database/database.js +77 -76
- 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 +6 -0
- package/dist/database/migration.gen.js +60 -59
- package/dist/database/migration.js +62 -61
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -426
- 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 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -107
- 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 -80
- package/dist/file-access.js +156 -155
- package/dist/file-mutation.js +107 -106
- 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 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -237
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -114
- package/dist/form.js +93 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -99
- package/dist/generate.js +122 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -103
- 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 +419 -417
- package/dist/instruction-discovery.js +95 -94
- package/dist/instructions/builtins.js +100 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -99
- package/dist/job/sql.js +7 -0
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -83
- package/dist/location-activity.js +172 -170
- package/dist/location-lifecycle.js +150 -149
- package/dist/location-service-map.js +99 -98
- package/dist/location-services.js +416 -414
- package/dist/location.js +102 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -103
- package/dist/mcp/index.js +122 -121
- package/dist/mcp/instructions.js +181 -180
- package/dist/mcp/oauth.js +89 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -103
- package/dist/model-resolver.js +110 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -85
- package/dist/plugin/agent.js +85 -84
- package/dist/plugin/command.js +113 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -234
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +395 -393
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -109
- package/dist/plugin/module.js +129 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -103
- package/dist/plugin/provider/azure.js +130 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -116
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -144
- package/dist/plugin/provider/claude-agent/instructions.js +112 -111
- package/dist/plugin/provider/claude-agent/integration.js +113 -112
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +108 -107
- package/dist/plugin/provider/claude-agent/session.js +110 -109
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -127
- package/dist/plugin/provider/configured.js +126 -125
- package/dist/plugin/provider/credential-settings.js +85 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +106 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -107
- package/dist/plugin/provider/gitlab.js +107 -106
- package/dist/plugin/provider/google-vertex.js +127 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -88
- package/dist/plugin/provider/lmstudio.js +139 -138
- package/dist/plugin/provider/local.js +136 -135
- package/dist/plugin/provider/modal.js +105 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -136
- package/dist/plugin/provider/openai-context-caps.js +103 -102
- package/dist/plugin/provider/openai.js +132 -131
- package/dist/plugin/provider/opencode.js +132 -131
- package/dist/plugin/provider/openrouter.js +104 -103
- package/dist/plugin/provider/poe.js +90 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +104 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -128
- package/dist/plugin/provider/vllm.js +137 -136
- package/dist/plugin/provider/xai.js +104 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -209
- package/dist/plugin/sdk.js +85 -84
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +149 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -98
- package/dist/plugin/vcs/hg.js +99 -98
- package/dist/plugin/verbosity.js +106 -105
- package/dist/plugin/warming.js +128 -127
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +245 -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 -102
- package/dist/provider.js +106 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -110
- package/dist/reference/instructions.js +101 -100
- package/dist/reference.js +103 -102
- package/dist/repository-cache.js +93 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -107
- package/dist/rpc.js +99 -98
- package/dist/schedule/check.js +241 -239
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -253
- 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 -128
- package/dist/session/command.js +85 -84
- package/dist/session/compaction.js +173 -172
- package/dist/session/context.js +194 -193
- package/dist/session/diff.js +101 -100
- 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 +264 -267
- package/dist/session/execution.js +165 -163
- package/dist/session/generate.js +200 -199
- package/dist/session/history.js +136 -135
- package/dist/session/inbox.js +147 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -142
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -165
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +161 -159
- package/dist/session/projector.js +141 -140
- package/dist/session/prompt.js +148 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -138
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -112
- package/dist/session/runner/publish-llm-event.js +149 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -162
- package/dist/session/runner/to-llm-message.js +137 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -177
- package/dist/session/shell.js +144 -143
- package/dist/session/skill.js +147 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -83
- package/dist/session/store.js +142 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -227
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -201
- package/dist/session/to-session-error.js +148 -147
- package/dist/session/transfer.js +234 -232
- package/dist/session/usage.js +3 -3
- package/dist/session.js +231 -229
- 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 +15 -15
- package/dist/shell.js +146 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +149 -148
- package/dist/skill.js +156 -155
- package/dist/snapshot.js +104 -103
- 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 -177
- package/dist/tool/plugin/artifact.js +228 -226
- package/dist/tool/plugin/edit.js +164 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -165
- package/dist/tool/plugin/grep.js +168 -167
- package/dist/tool/plugin/image-generate.js +239 -237
- package/dist/tool/plugin/mcp-resource.js +162 -161
- package/dist/tool/plugin/opencode.js +161 -160
- package/dist/tool/plugin/patch.js +166 -165
- package/dist/tool/plugin/question.js +144 -143
- package/dist/tool/plugin/read.js +169 -168
- package/dist/tool/plugin/schedule.js +247 -245
- package/dist/tool/plugin/shell.js +235 -233
- package/dist/tool/plugin/skill.js +157 -156
- package/dist/tool/plugin/subagent.js +236 -234
- package/dist/tool/plugin/todo.js +153 -152
- package/dist/tool/plugin/webfetch.js +157 -156
- package/dist/tool/plugin/websearch.js +155 -154
- package/dist/tool/plugin/write.js +166 -165
- package/dist/tool/read-filesystem.js +109 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -158
- package/dist/types/database/migration/20261030054400_job.d.ts +3 -0
- package/dist/types/job/sql.d.ts +215 -0
- package/dist/types/job.d.ts +5 -7
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/usage-limits.js +94 -93
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -104
- 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 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -101
- package/dist/voice.js +101 -100
- package/dist/websearch.js +99 -98
- package/dist/wellknown/plugin.js +85 -84
- package/dist/wellknown.js +92 -91
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -90
- 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 -101
- package/dist/worktree.js +109 -108
- package/package.json +8 -8
- package/dist/chunks/usage-limits-6qhf5ym7.js +0 -261
- package/dist/chunks/usage-limits-6tzx35nw.js +0 -26
- package/dist/chunks/usage-limits-87e7wr7z.js +0 -549
- package/dist/chunks/usage-limits-qwz12hkq.js +0 -16
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-1pevy3nx.js → filesystem-1pevy3nx.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7stb81gk.js → filesystem-7stb81gk.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./filesystem-w2tkwyqq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./filesystem-bf4f9x8x.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./filesystem-gb53k21n.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service23,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-8rab1k8r.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service87,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-entb9tz6.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError7,
|
|
32
|
+
Service56
|
|
33
|
+
} from "./filesystem-q2nmdwkj.js";
|
|
34
34
|
import {
|
|
35
35
|
Service28
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./filesystem-npk60vfe.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-1cbt02ab.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
|
-
var
|
|
46
|
-
__export(
|
|
45
|
+
var exports_shell2 = {};
|
|
46
|
+
__export(exports_shell2, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
50
|
-
ShellTool: () =>
|
|
51
|
-
name: () =>
|
|
48
|
+
Input: () => Input8,
|
|
49
|
+
Plugin: () => Plugin47,
|
|
50
|
+
ShellTool: () => exports_shell2,
|
|
51
|
+
name: () => name8
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name8 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input8 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin47 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
118
|
const sessions = yield* Service28;
|
|
119
|
-
const jobs = yield*
|
|
119
|
+
const jobs = yield* Service59;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service73;
|
|
122
|
+
const access = yield* Service23;
|
|
123
|
+
const shell = yield* Service56;
|
|
124
|
+
const shellSelect = yield* Service87;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service61;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin7 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name8,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin7 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name8,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input8,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin7 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name8,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name8];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin47, exports_shell2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./filesystem-ja3akpp7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service87
|
|
7
|
+
} from "./filesystem-entb9tz6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const shell = yield* Service87;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin24 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin17, exports_shell };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./filesystem-9q8g9sv8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info17
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info19)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info17, exports_agent4 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-xhza9kst.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./filesystem-ja3akpp7.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-gcjvkr7v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node48
|
|
18
|
+
} from "./filesystem-ra34yqmw.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-8z6m94af.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node46
|
|
28
|
+
} from "./filesystem-vkde5m3x.js";
|
|
29
29
|
import {
|
|
30
30
|
Service28,
|
|
31
31
|
node31
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-npk60vfe.js";
|
|
33
33
|
import {
|
|
34
34
|
validate2,
|
|
35
35
|
describe2,
|
|
36
36
|
authorize2,
|
|
37
37
|
evaluate2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-qmernfek.js";
|
|
39
39
|
import {
|
|
40
40
|
ScheduleTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-nx4vzyjd.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/schedule.ts
|
|
47
47
|
var exports_schedule2 = {};
|
|
48
48
|
__export(exports_schedule2, {
|
|
49
49
|
Condition: () => Condition2,
|
|
50
50
|
ConditionInput: () => ConditionInput2,
|
|
51
|
-
CreateInput: () =>
|
|
51
|
+
CreateInput: () => CreateInput2,
|
|
52
52
|
DisabledError: () => DisabledError2,
|
|
53
|
-
ID: () =>
|
|
54
|
-
Info: () =>
|
|
53
|
+
ID: () => ID4,
|
|
54
|
+
Info: () => Info3,
|
|
55
55
|
InvalidError: () => InvalidError2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError2,
|
|
57
57
|
Outcome: () => Outcome3,
|
|
58
58
|
Request: () => Request2,
|
|
59
59
|
Schedule: () => exports_schedule2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service14,
|
|
61
61
|
Status: () => Status2,
|
|
62
62
|
When: () => When2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node16,
|
|
64
64
|
toCreateInput: () => toCreateInput2
|
|
65
65
|
});
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
@@ -70,18 +70,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
70
70
|
import {
|
|
71
71
|
Condition as Condition2,
|
|
72
72
|
ConditionInput as ConditionInput2,
|
|
73
|
-
CreateInput as
|
|
73
|
+
CreateInput as CreateInput2,
|
|
74
74
|
durationMillis,
|
|
75
|
-
ID as
|
|
76
|
-
Info as
|
|
75
|
+
ID as ID4,
|
|
76
|
+
Info as Info3,
|
|
77
77
|
Outcome as Outcome3,
|
|
78
78
|
Request as Request2,
|
|
79
79
|
Status as Status2,
|
|
80
80
|
toCreateInput as toCreateInput2,
|
|
81
81
|
When as When2
|
|
82
82
|
} from "@opencode/schema/schedule";
|
|
83
|
-
class
|
|
84
|
-
scheduleID:
|
|
83
|
+
class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
84
|
+
scheduleID: ID4
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
87
87
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service14 extends Context.Service()("@opencode/Schedule") {
|
|
106
106
|
}
|
|
107
107
|
var MINUTE = 60000;
|
|
108
108
|
var HOUR = 60 * MINUTE;
|
|
@@ -187,15 +187,15 @@ var toInfo = (row, lastOutput) => ({
|
|
|
187
187
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
188
188
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
189
189
|
});
|
|
190
|
-
var layer = Layer.effect(
|
|
190
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
191
191
|
const database = yield* Service89;
|
|
192
192
|
const db = database.db;
|
|
193
193
|
const sessions = yield* Service28;
|
|
194
|
-
const instances = yield*
|
|
195
|
-
const execution = yield*
|
|
194
|
+
const instances = yield* Service46;
|
|
195
|
+
const execution = yield* Service43;
|
|
196
196
|
const doorbell = yield* Latch.make();
|
|
197
197
|
const settings = (session) => Effect.gen(function* () {
|
|
198
|
-
const config = yield* Effect.serviceOption(
|
|
198
|
+
const config = yield* Effect.serviceOption(Service66);
|
|
199
199
|
if (Option.isNone(config))
|
|
200
200
|
return { enabled: true, timezone: undefined };
|
|
201
201
|
const entries = yield* config.value.entries();
|
|
@@ -204,7 +204,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
204
204
|
timezone: latest2(entries, "timezone")
|
|
205
205
|
};
|
|
206
206
|
}).pipe(instances.provide(session));
|
|
207
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
207
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError2({ scheduleID: id }))));
|
|
208
208
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
209
209
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
210
210
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -499,7 +499,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
499
499
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
500
500
|
return Math.min(at.value, after ?? at.value);
|
|
501
501
|
});
|
|
502
|
-
return
|
|
502
|
+
return Service14.of({
|
|
503
503
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
504
504
|
const session = yield* sessions.get(input.sessionID);
|
|
505
505
|
const config = yield* settings(session).pipe(Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
|
|
@@ -517,7 +517,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
517
517
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
518
518
|
if (ends !== null && due > ends)
|
|
519
519
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
520
|
-
const scheduleID =
|
|
520
|
+
const scheduleID = ID4.create();
|
|
521
521
|
const seeded = check === undefined ? { matched: false, state: null, checks: 0 } : yield* Effect.gen(function* () {
|
|
522
522
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }))));
|
|
523
523
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -624,10 +624,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
624
624
|
run
|
|
625
625
|
});
|
|
626
626
|
}));
|
|
627
|
-
var
|
|
628
|
-
service:
|
|
627
|
+
var node16 = makeGlobalNode({
|
|
628
|
+
service: Service14,
|
|
629
629
|
layer,
|
|
630
|
-
deps: [node92, node31,
|
|
630
|
+
deps: [node92, node31, node46, node48]
|
|
631
631
|
});
|
|
632
632
|
|
|
633
|
-
export { Condition2, ConditionInput2,
|
|
633
|
+
export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service14, node16, exports_schedule2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-fbghex4f.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make15 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make18 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make15();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make15, LMStudioPlugin2 };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-gk1nhyk8.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service89,
|
|
12
12
|
node92
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-xhza9kst.js";
|
|
14
14
|
import {
|
|
15
15
|
Service88,
|
|
16
16
|
node91
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-pvtdn4cq.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-aj7mw0zk.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-3cbjf1nt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID18,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./filesystem-sf3p967d.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./filesystem-54y7003s.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service54,
|
|
33
|
+
node56
|
|
34
|
+
} from "./filesystem-h8ky61s5.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-gn8tkhbf.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service26
|
|
41
|
+
} from "./filesystem-x243gcnx.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
53
|
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service25,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node28
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput4 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
78
|
var Info8 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service25 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service89;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service88;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service54;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service26).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service25.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node28 = Node.makeGlobalNode({
|
|
260
|
+
service: Service25,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node91, node92, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node91, node92, AppProcess.node, node56]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service25, node28, exports_worktree2, OperationError2 };
|