@opencode/core 0.0.0-dev-408 → 0.0.0-dev-409
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 +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +80 -80
- package/dist/chunks/{repository-cache-034tev2y.js → job-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-nv8vmfsp.js → job-04kphk83.js} +18 -18
- package/dist/chunks/{repository-cache-4drd5sre.js → job-08f6sc0r.js} +12 -12
- package/dist/chunks/{repository-cache-0wy4spvx.js → job-0sgffhac.js} +15 -15
- package/dist/chunks/{repository-cache-qx265qvg.js → job-0xq5m537.js} +11 -11
- package/dist/chunks/{repository-cache-bsrnwqw4.js → job-0ybmsdfh.js} +54 -54
- package/dist/chunks/{repository-cache-m22p9x8d.js → job-11fve6b2.js} +9 -9
- package/dist/chunks/{repository-cache-6a6erb7h.js → job-14f6f145.js} +3 -3
- package/dist/chunks/{repository-cache-x150ncgg.js → job-18aa7g5f.js} +2 -2
- package/dist/chunks/{repository-cache-1aqsckx4.js → job-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-r8k6rspn.js → job-1d3535xb.js} +17 -17
- package/dist/chunks/{repository-cache-h3b857xk.js → job-1e1dknnq.js} +4 -4
- package/dist/chunks/{repository-cache-1ep2p91f.js → job-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-3d191zt2.js → job-1nmmykd7.js} +22 -22
- package/dist/chunks/{repository-cache-smg7hj1m.js → job-1r7qgz8h.js} +16 -16
- package/dist/chunks/{repository-cache-t4s5sbv2.js → job-1rb1qgwk.js} +16 -16
- package/dist/chunks/{repository-cache-86bg93g2.js → job-1t5rvv89.js} +45 -45
- package/dist/chunks/{repository-cache-1x2knyw4.js → job-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-1yq9hg58.js → job-1yq9hg58.js} +1 -1
- package/dist/chunks/{repository-cache-f163p87t.js → job-231xv0tx.js} +11 -11
- package/dist/chunks/{repository-cache-8b3vzgkx.js → job-25h84942.js} +4 -4
- package/dist/chunks/{repository-cache-dt7p67dq.js → job-269rwpbb.js} +26 -26
- package/dist/chunks/{repository-cache-h5a5vse0.js → job-28zh04hn.js} +27 -27
- package/dist/chunks/{repository-cache-z5t9gv20.js → job-2bhxhx77.js} +7 -7
- package/dist/chunks/{repository-cache-2p4b2eh8.js → job-2e7w8mef.js} +26 -26
- package/dist/chunks/{repository-cache-da39cwtw.js → job-2h411fcw.js} +32 -32
- package/dist/chunks/{repository-cache-629bn6be.js → job-2k0rwhrn.js} +24 -24
- package/dist/chunks/{repository-cache-mg8br270.js → job-2kk2baph.js} +18 -18
- package/dist/chunks/{repository-cache-2p60zmnr.js → job-2p60zmnr.js} +2 -2
- package/dist/chunks/{repository-cache-adv5kamg.js → job-2v30pxed.js} +48 -48
- package/dist/chunks/{repository-cache-689c131p.js → job-2v3pawpc.js} +41 -41
- package/dist/chunks/{repository-cache-1ykpzj5c.js → job-2v4z9c7d.js} +3 -3
- package/dist/chunks/{repository-cache-csckdwzt.js → job-2vkr2pt6.js} +27 -27
- package/dist/chunks/{repository-cache-4ygb74tw.js → job-31avdb49.js} +8 -8
- package/dist/chunks/{repository-cache-66q141s7.js → job-398cgtdr.js} +18 -18
- package/dist/chunks/{repository-cache-btnkw9ag.js → job-3bgf9gas.js} +4 -4
- package/dist/chunks/{repository-cache-vxepbk5t.js → job-3cm91dg7.js} +5 -5
- package/dist/chunks/{repository-cache-jetrapy6.js → job-3f0zrm4s.js} +29 -29
- package/dist/chunks/{repository-cache-xkj25y3n.js → job-3fz4r9v6.js} +27 -27
- package/dist/chunks/{repository-cache-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3nnrz6f6.js → job-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-f41yh8ea.js → job-3nqptsjr.js} +19 -19
- package/dist/chunks/{repository-cache-kqqn26ch.js → job-3pnqb95b.js} +18 -18
- package/dist/chunks/{repository-cache-c6x7d2ts.js → job-3ryz99p0.js} +4 -4
- package/dist/chunks/{repository-cache-40y6dtc2.js → job-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-cache-44pmzq9c.js → job-44pmzq9c.js} +2 -2
- package/dist/chunks/{repository-cache-4d2dtj2f.js → job-4d2dtj2f.js} +1 -1
- package/dist/chunks/{repository-cache-4dx1dgte.js → job-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-yny3wgz0.js → job-4npgakgp.js} +45 -45
- package/dist/chunks/{repository-cache-4pyp9zr9.js → job-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-qsqjr4br.js → job-4rzkad2x.js} +6 -6
- package/dist/chunks/{repository-cache-4v008n1t.js → job-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-3tpwx1sz.js → job-4zskr0dm.js} +8 -8
- package/dist/chunks/{repository-cache-c8r04xqq.js → job-571kmwq0.js} +5 -5
- package/dist/chunks/{repository-cache-er4eze1e.js → job-5dfrvmxx.js} +28 -28
- package/dist/chunks/{repository-cache-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-zf3hf96a.js → job-5najz5gf.js} +30 -30
- package/dist/chunks/{repository-cache-9f4es6q6.js → job-5nxvb89n.js} +21 -21
- package/dist/chunks/{repository-cache-6xb56dn7.js → job-5pb40cvb.js} +14 -14
- package/dist/chunks/{repository-cache-y0aw87gj.js → job-5wpdkp0h.js} +11 -11
- package/dist/chunks/{repository-cache-5r72z9dp.js → job-67avc1k8.js} +8 -8
- package/dist/chunks/{repository-cache-v74grx7e.js → job-6bkcvd3x.js} +88 -88
- package/dist/chunks/{repository-cache-kzdam8c6.js → job-6edbc7zm.js} +4 -4
- package/dist/chunks/{repository-cache-6esdw8yj.js → job-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-vq0qa3sh.js → job-6h8vcvjm.js} +9 -9
- package/dist/chunks/{repository-cache-2g3br2pj.js → job-6jr2tac7.js} +9 -9
- package/dist/chunks/{repository-cache-fepbnb8j.js → job-6vq97qmv.js} +5 -5
- package/dist/chunks/{repository-cache-jv5ccajn.js → job-78p2h4ex.js} +5 -5
- package/dist/chunks/{repository-cache-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-7kr66rt3.js → job-7kr66rt3.js} +1 -1
- package/dist/chunks/{repository-cache-7nqkf5r1.js → job-7nqkf5r1.js} +2 -2
- package/dist/chunks/{repository-cache-fxhr70zk.js → job-7rxtcrja.js} +193 -193
- package/dist/chunks/{repository-cache-a2pkjjya.js → job-7scfpz2m.js} +12 -12
- package/dist/chunks/{repository-cache-7w2ypzdf.js → job-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-ntx55zw5.js → job-7wnhed38.js} +9 -9
- package/dist/chunks/{repository-cache-qdba8bbt.js → job-7xdfhvw1.js} +11 -11
- package/dist/chunks/{repository-cache-80mg3ag8.js → job-80mg3ag8.js} +3 -3
- package/dist/chunks/{repository-cache-4gyyr6rs.js → job-8150yh62.js} +9 -9
- package/dist/chunks/{repository-cache-fybkcd9v.js → job-815ydmeq.js} +16 -16
- package/dist/chunks/{repository-cache-hr05g0yp.js → job-86ng5cw0.js} +8 -8
- package/dist/chunks/{repository-cache-89287pr7.js → job-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-cnxrm74r.js → job-8f7551aj.js} +25 -25
- package/dist/chunks/{repository-cache-7qvfpbmq.js → job-8hy88kwv.js} +25 -25
- package/dist/chunks/{repository-cache-m4yf5w44.js → job-8s96kadw.js} +4 -4
- package/dist/chunks/{repository-cache-8wtp7s3z.js → job-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-90zstvax.js → job-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-zyfhsknv.js → job-963hk181.js} +9 -9
- package/dist/chunks/{repository-cache-erj5bww8.js → job-9hq9dtff.js} +10 -10
- package/dist/chunks/{repository-cache-r05rf7q0.js → job-9tjfyq18.js} +15 -15
- package/dist/chunks/{repository-cache-ef4m72dy.js → job-9xmh26p3.js} +27 -27
- package/dist/chunks/{repository-cache-echfhvqy.js → job-a16hp111.js} +22 -22
- package/dist/chunks/{repository-cache-7be6ej80.js → job-a17xaj41.js} +7 -7
- package/dist/chunks/{repository-cache-dtgkw3dr.js → job-a1cvr4t6.js} +3 -3
- package/dist/chunks/{repository-cache-v8bxmdat.js → job-abarkq60.js} +22 -22
- package/dist/chunks/{repository-cache-m3jqt6zk.js → job-aefyxv2f.js} +24 -24
- package/dist/chunks/{repository-cache-1n61n509.js → job-apwyk1dw.js} +1 -1
- package/dist/chunks/{repository-cache-jp8m7kx7.js → job-ax9gmvk0.js} +16 -16
- package/dist/chunks/{repository-cache-wqdv6afr.js → job-axzqd00v.js} +12 -12
- package/dist/chunks/{repository-cache-cns3s1jh.js → job-ayge33x5.js} +4 -4
- package/dist/chunks/{repository-cache-ayjs7tqn.js → job-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-7hspd334.js → job-b6rfhjch.js} +11 -11
- package/dist/chunks/{repository-cache-b6vsg801.js → job-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-0mvqm7py.js → job-b8g1vmne.js} +13 -13
- package/dist/chunks/{repository-cache-zzhnk88p.js → job-bamgmeh9.js} +6 -6
- package/dist/chunks/{repository-cache-7zhw6b0y.js → job-bap2210h.js} +6 -6
- package/dist/chunks/{repository-cache-7resjt17.js → job-be1csh8c.js} +11 -11
- package/dist/chunks/{repository-cache-w21atb39.js → job-bfwtrzs0.js} +36 -36
- package/dist/chunks/{repository-cache-r7r88gw3.js → job-bpb6721x.js} +8 -8
- package/dist/chunks/{repository-cache-p448c2b5.js → job-bpcjzw2r.js} +9 -9
- package/dist/chunks/{repository-cache-k5g91pys.js → job-br1fsge2.js} +5 -5
- package/dist/chunks/{repository-cache-bstexjd6.js → job-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-k3tthcz6.js → job-c0sv0fm6.js} +12 -12
- package/dist/chunks/{repository-cache-94e33dpz.js → job-c4cws4p8.js} +3 -3
- package/dist/chunks/{repository-cache-220pdf8n.js → job-c7887t76.js} +6 -6
- package/dist/chunks/{repository-cache-3b10v8zn.js → job-c7xewjzj.js} +21 -21
- package/dist/chunks/{repository-cache-xqnmsxz4.js → job-c7ybeb1k.js} +11 -11
- package/dist/chunks/{repository-cache-42kgag0a.js → job-cbgwcgsk.js} +19 -19
- package/dist/chunks/{repository-cache-sbegqkxp.js → job-cg3fcpn4.js} +6 -6
- package/dist/chunks/{repository-cache-d2jsrjsx.js → job-ck6a3emj.js} +2 -2
- package/dist/chunks/{repository-cache-s0na53r1.js → job-cnpbb6je.js} +4 -4
- package/dist/chunks/{repository-cache-1xp59a9b.js → job-cpjvs2az.js} +14 -14
- package/dist/chunks/{repository-cache-cwrgdav8.js → job-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-wskayef6.js → job-czatpdkg.js} +10 -10
- package/dist/chunks/{repository-cache-pshdv7zb.js → job-czrg27rt.js} +20 -20
- package/dist/chunks/{repository-cache-v8m2b17w.js → job-d0m16y4m.js} +18 -18
- package/dist/chunks/{repository-cache-d4v9tmah.js → job-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-rycty3h8.js → job-dbgbnzpv.js} +30 -30
- package/dist/chunks/{repository-cache-ydsespw1.js → job-ddvn7d3w.js} +8 -8
- package/dist/chunks/{repository-cache-9sy1j1hj.js → job-dm1b1mmt.js} +4 -4
- package/dist/chunks/{repository-cache-h550x5z6.js → job-dps3dmpa.js} +24 -24
- package/dist/chunks/{repository-cache-xp807jap.js → job-dqrq88z0.js} +41 -41
- package/dist/chunks/{repository-cache-fdgt176q.js → job-dr897vbk.js} +17 -17
- package/dist/chunks/{repository-cache-rpw7k5ha.js → job-dsqv6vxc.js} +28 -28
- package/dist/chunks/{repository-cache-dt77769w.js → job-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-de6ncjqq.js → job-dvnaqcpd.js} +16 -16
- package/dist/chunks/{repository-cache-33p0grem.js → job-dy3hftg2.js} +19 -19
- package/dist/chunks/{repository-cache-9nz9zp6p.js → job-e1b7p9cf.js} +21 -21
- package/dist/chunks/{repository-cache-6677agsn.js → job-e30grr8h.js} +14 -14
- package/dist/chunks/{repository-cache-e834z07m.js → job-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-bznth6yj.js → job-e9pem27s.js} +32 -32
- package/dist/chunks/{repository-cache-x5vzffch.js → job-edchrc2a.js} +10 -10
- package/dist/chunks/{repository-cache-v0t2k871.js → job-epchyn4h.js} +20 -20
- package/dist/chunks/{repository-cache-eqw4pqj1.js → job-eqw4pqj1.js} +2 -2
- package/dist/chunks/job-esbsx54k.js +26 -0
- package/dist/chunks/{repository-cache-qtf35215.js → job-ez4sqtdc.js} +3 -3
- package/dist/chunks/{repository-cache-fzmk70p1.js → job-ez7y416z.js} +3 -3
- package/dist/chunks/{repository-cache-gbwp1yy0.js → job-f0cqczce.js} +21 -21
- package/dist/chunks/{repository-cache-21dqy5ft.js → job-f4f5pj9q.js} +18 -18
- package/dist/chunks/{repository-cache-1d4zbtyz.js → job-ffbkmnx3.js} +31 -31
- package/dist/chunks/{repository-cache-fffv3p7h.js → job-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-fg9p65nk.js → job-fg9p65nk.js} +2 -2
- package/dist/chunks/{repository-cache-rcyxca26.js → job-fhxty2pm.js} +11 -11
- package/dist/chunks/{repository-cache-m565rdqv.js → job-fv4hq6ww.js} +35 -35
- package/dist/chunks/{repository-cache-xt4k4j7x.js → job-fx919d97.js} +11 -11
- package/dist/chunks/{repository-cache-r22r6fnc.js → job-fxnct4qx.js} +3 -3
- package/dist/chunks/{repository-cache-13rt9a0f.js → job-g45dsxmy.js} +32 -32
- package/dist/chunks/{repository-cache-9ybwsyyt.js → job-g4c35p62.js} +5 -5
- package/dist/chunks/{repository-cache-tkrm9k8y.js → job-g4hgxb59.js} +32 -32
- package/dist/chunks/job-g5fzt3d8.js +549 -0
- package/dist/chunks/{repository-cache-vtjt5gwq.js → job-g68q03em.js} +29 -29
- package/dist/chunks/{repository-cache-r9ws92vf.js → job-ga6tad4c.js} +16 -16
- package/dist/chunks/{repository-cache-wmcedxv4.js → job-gbbwxp8k.js} +8 -8
- package/dist/chunks/{repository-cache-gbjdnr5j.js → job-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-gcjdgkn2.js → job-gcjdgkn2.js} +2 -2
- package/dist/chunks/{repository-cache-kddfw84h.js → job-gg9w2jgb.js} +15 -15
- package/dist/chunks/{repository-cache-tjhb89td.js → job-gr1js5wv.js} +13 -13
- package/dist/chunks/{repository-cache-52s9xk06.js → job-gx0k99qn.js} +20 -20
- package/dist/chunks/{repository-cache-a23nhmfg.js → job-gz1xn68b.js} +41 -41
- package/dist/chunks/{repository-cache-wp3c4493.js → job-h8003h1z.js} +17 -17
- package/dist/chunks/{repository-cache-rk98nmz9.js → job-h9fb8rp1.js} +4 -4
- package/dist/chunks/{repository-cache-n089ht1s.js → job-hd330pg9.js} +3 -3
- package/dist/chunks/{repository-cache-hh7kjqtw.js → job-hh7kjqtw.js} +1 -1
- package/dist/chunks/{repository-cache-hpg1pkwy.js → job-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-cache-zf8tyrr2.js → job-hrgn0vdf.js} +32 -32
- package/dist/chunks/{repository-cache-h1xbway3.js → job-hsbk1dfy.js} +30 -30
- package/dist/chunks/{repository-cache-xp0nj7k3.js → job-hszbq3kn.js} +59 -59
- package/dist/chunks/{repository-cache-zy3gcy6m.js → job-hw4sz6fg.js} +87 -87
- package/dist/chunks/{repository-cache-0rhtyd7d.js → job-hwkyjen6.js} +11 -11
- package/dist/chunks/{repository-cache-7jen3kst.js → job-hxhjnsvc.js} +9 -9
- package/dist/chunks/{repository-cache-kp633vze.js → job-hxp79e2y.js} +52 -52
- package/dist/chunks/{repository-cache-m0rb108b.js → job-hyj24n0d.js} +35 -35
- package/dist/chunks/{repository-cache-zwtmdy2h.js → job-hz8chtf1.js} +4 -4
- package/dist/chunks/{repository-cache-4pqv92sr.js → job-hzg6df5s.js} +19 -19
- package/dist/chunks/{repository-cache-gf4twfpd.js → job-j3yahs15.js} +14 -14
- package/dist/chunks/{repository-cache-14s4whne.js → job-j7m5zgd1.js} +7 -7
- package/dist/chunks/{repository-cache-4fwf0yt6.js → job-j8fezrbp.js} +60 -60
- package/dist/chunks/{repository-cache-ka37r3tm.js → job-jbry39yk.js} +6 -6
- package/dist/chunks/{repository-cache-5zpqhmp2.js → job-jfcqwqwp.js} +6 -6
- package/dist/chunks/{repository-cache-sj7nrpyn.js → job-jjx6aha5.js} +8 -8
- package/dist/chunks/{repository-cache-jkdcm5hg.js → job-jkdcm5hg.js} +1 -1
- package/dist/chunks/{repository-cache-jpybrwwk.js → job-jpyeahfy.js} +28 -28
- package/dist/chunks/{repository-cache-c9axap03.js → job-jpzmfgrv.js} +11 -11
- package/dist/chunks/{repository-cache-y3rqhyb5.js → job-jskmnqyy.js} +5 -5
- package/dist/chunks/{repository-cache-jtnps1zs.js → job-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-cache-7fsxxa5w.js → job-jzpwaxn1.js} +13 -13
- package/dist/chunks/{repository-cache-k3cx6fhe.js → job-k3cx6fhe.js} +1 -1
- package/dist/chunks/{repository-cache-vb6mr57d.js → job-k5027ak4.js} +8 -8
- package/dist/chunks/{repository-cache-117dxy3x.js → job-k75r20ts.js} +18 -18
- package/dist/chunks/{repository-cache-tb2mrvc9.js → job-kbtcw8xz.js} +7 -7
- package/dist/chunks/{repository-cache-cywx93t4.js → job-kdr3dr1p.js} +21 -21
- package/dist/chunks/{repository-cache-kj9n5bvh.js → job-kj9n5bvh.js} +1 -1
- package/dist/chunks/{repository-cache-mnpd6dxn.js → job-kjr51h00.js} +6 -6
- package/dist/chunks/{repository-cache-hp5bjq9g.js → job-knywznhc.js} +20 -20
- package/dist/chunks/{repository-cache-ae0k5xhg.js → job-kq4fexnw.js} +50 -50
- package/dist/chunks/{repository-cache-85pkw22p.js → job-ksn67rx7.js} +12 -12
- package/dist/chunks/{repository-cache-kt3bjfbg.js → job-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-cache-6nd6wmx4.js → job-kv6xqjvw.js} +5 -5
- package/dist/chunks/{repository-cache-bj64f587.js → job-kwc0fpvs.js} +11 -11
- package/dist/chunks/{repository-cache-kzczzf4v.js → job-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-g377f676.js → job-kzys4nr2.js} +21 -21
- package/dist/chunks/{repository-cache-m1714858.js → job-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-rakn3sek.js → job-m25q4h22.js} +7 -7
- package/dist/chunks/{repository-cache-zhc535nw.js → job-m2mea0p8.js} +7 -7
- package/dist/chunks/{repository-cache-4rneqcee.js → job-m8xcz1g2.js} +10 -10
- package/dist/chunks/{repository-cache-tpfpb9s5.js → job-m9ft0nab.js} +45 -45
- package/dist/chunks/{repository-cache-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-mb7mbhnz.js → job-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-fqazpnnv.js → job-mck2c8s4.js} +11 -11
- package/dist/chunks/{repository-cache-0fqkcydk.js → job-mg77sykr.js} +14 -14
- package/dist/chunks/{repository-cache-dqk7hey0.js → job-mnk579gm.js} +39 -39
- package/dist/chunks/{repository-cache-vef27pfx.js → job-mp2e2fx7.js} +8 -8
- package/dist/chunks/{repository-cache-g5xh523a.js → job-mr52137h.js} +15 -15
- package/dist/chunks/{repository-cache-b53d9n68.js → job-ms5fkff4.js} +9 -9
- package/dist/chunks/{repository-cache-1v2g13eq.js → job-msd2a3qm.js} +4 -4
- package/dist/chunks/{repository-cache-589c1xh4.js → job-mskmgh8v.js} +4 -4
- package/dist/chunks/{repository-cache-y2xgxkw5.js → job-mwpmb3b5.js} +13 -13
- package/dist/chunks/{repository-cache-n3f2mn8p.js → job-mxaaqcqn.js} +13 -13
- package/dist/chunks/{repository-cache-17tg1v6a.js → job-n2njrsmh.js} +10 -10
- package/dist/chunks/{repository-cache-fty293jv.js → job-n4zkhgk1.js} +29 -29
- package/dist/chunks/{repository-cache-xc5da999.js → job-n59xat53.js} +11 -11
- package/dist/chunks/{repository-cache-ysq00ca8.js → job-n60kp45d.js} +34 -34
- package/dist/chunks/{repository-cache-nah043kf.js → job-nah043kf.js} +1 -1
- package/dist/chunks/{repository-cache-p10mzfnc.js → job-nskyzzyd.js} +5 -5
- package/dist/chunks/{repository-cache-2bpttt67.js → job-ntwdyvbk.js} +6 -6
- package/dist/chunks/{repository-cache-p015t6z3.js → job-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-q0rw1drr.js → job-p467ekpz.js} +4 -4
- package/dist/chunks/{repository-cache-p55ejza0.js → job-p55ejza0.js} +2 -2
- package/dist/chunks/{repository-cache-m331kn6h.js → job-pjchyd1m.js} +18 -18
- package/dist/chunks/{repository-cache-yh22z49b.js → job-pkbhgyvt.js} +30 -30
- package/dist/chunks/{repository-cache-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-mgm0qeqb.js → job-pmndsqxt.js} +10 -10
- package/dist/chunks/{repository-cache-jfgqn8x3.js → job-qdeb1mjc.js} +21 -21
- package/dist/chunks/{repository-cache-qxd5p6a5.js → job-qnm0mdqb.js} +5 -5
- package/dist/chunks/{repository-cache-8wjgamp7.js → job-qnqasnye.js} +6 -6
- package/dist/chunks/{repository-cache-qp7r0hxv.js → job-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-wrbn5hqr.js → job-qqf45ztj.js} +11 -11
- package/dist/chunks/{repository-cache-qqvy8y24.js → job-qqvy8y24.js} +1 -1
- package/dist/chunks/{repository-cache-jkfzvww1.js → job-qsvx47rv.js} +25 -25
- package/dist/chunks/{repository-cache-hzzg9aka.js → job-qz6hhsp1.js} +5 -5
- package/dist/chunks/{repository-cache-4f25tdd0.js → job-r542h3bh.js} +5 -5
- package/dist/chunks/{repository-cache-3nd7e18q.js → job-r6dr7763.js} +9 -9
- package/dist/chunks/{repository-cache-rb9dy4dg.js → job-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-whwppsjz.js → job-rkshft8p.js} +20 -20
- package/dist/chunks/{repository-cache-rt5dr6hb.js → job-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-sx8xtdmr.js → job-s26yhcck.js} +9 -9
- package/dist/chunks/{repository-cache-mzm8bzzq.js → job-s6h2s3rz.js} +4 -4
- package/dist/chunks/{repository-cache-eesy70b7.js → job-s8h531s1.js} +13 -13
- package/dist/chunks/{repository-cache-1q5d8b2j.js → job-s9rysz8a.js} +15 -15
- package/dist/chunks/{repository-cache-sa3fpqfw.js → job-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → job-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-qe8gqarn.js → job-shxtt2fd.js} +32 -32
- package/dist/chunks/{repository-cache-0j7gp832.js → job-sqjzf8x2.js} +4 -4
- package/dist/chunks/{repository-cache-svcy3p9a.js → job-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-szwm4crx.js → job-szwm4crx.js} +4 -4
- package/dist/chunks/{repository-cache-d7tqay6h.js → job-t936v6f5.js} +23 -23
- package/dist/chunks/{repository-cache-3jy8fqmb.js → job-tbfsnn7q.js} +5 -5
- package/dist/chunks/{repository-cache-tczq8hjw.js → job-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-gxs71cxp.js → job-tg7s7b5t.js} +4 -4
- package/dist/chunks/{repository-cache-ahvrxr5q.js → job-tkfdhw2v.js} +32 -32
- package/dist/chunks/{repository-cache-ygbxmy97.js → job-tkneyet8.js} +18 -18
- package/dist/chunks/job-tmanpb4z.js +261 -0
- package/dist/chunks/{repository-cache-jxk0hwye.js → job-tn1dsyr3.js} +12 -12
- package/dist/chunks/{repository-cache-tr8x705m.js → job-tr8x705m.js} +1 -1
- package/dist/chunks/{repository-cache-v72wqacp.js → job-tt6704xg.js} +5 -5
- package/dist/chunks/{repository-cache-twssxy5n.js → job-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-mf63ygpr.js → job-v0t96s7a.js} +4 -4
- package/dist/chunks/{repository-cache-8rkk1f8k.js → job-v13314ww.js} +2 -2
- package/dist/chunks/{repository-cache-3aj5n9jz.js → job-v20hyk2g.js} +80 -80
- package/dist/chunks/{repository-cache-v2r1d0zg.js → job-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-3k5aj4rv.js → job-v9sxgxmh.js} +11 -11
- package/dist/chunks/{repository-cache-sbz71ybr.js → job-vg0erq9k.js} +3 -3
- package/dist/chunks/{repository-cache-90ct6wq4.js → job-vh8a1eaf.js} +4 -4
- package/dist/chunks/{repository-cache-vjf35v1f.js → job-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-y5n6x8yr.js → job-vkh97b66.js} +11 -11
- package/dist/chunks/{repository-cache-gqwvnyjy.js → job-vnh5tnwy.js} +3 -3
- package/dist/chunks/{repository-cache-8qbe9svj.js → job-vrt8dfbf.js} +15 -15
- package/dist/chunks/{repository-cache-rj7j5fvs.js → job-vt2d6wap.js} +4 -4
- package/dist/chunks/{repository-cache-8epvzwk0.js → job-vzdy0xqg.js} +4 -4
- package/dist/chunks/{repository-cache-40za9wsf.js → job-w2eysc6j.js} +9 -9
- package/dist/chunks/{repository-cache-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-h0rg6s60.js → job-w76xjer3.js} +4 -4
- package/dist/chunks/{repository-cache-76cb1hcw.js → job-w8qtt4th.js} +4 -4
- package/dist/chunks/{repository-cache-vb6anx8h.js → job-w9jj514c.js} +7 -7
- package/dist/chunks/{repository-cache-wakvkjy4.js → job-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-wegkxhrn.js → job-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-wnhgecwx.js → job-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-fznmdakp.js → job-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-cx167fqa.js → job-wvpgew5p.js} +27 -27
- package/dist/chunks/{repository-cache-wvr8xscb.js → job-wvr8xscb.js} +1 -1
- package/dist/chunks/{repository-cache-atq58f6p.js → job-x4fnwfff.js} +21 -21
- package/dist/chunks/{repository-cache-7rtpp53t.js → job-x4gms9wc.js} +12 -12
- package/dist/chunks/{repository-cache-a5375sst.js → job-x6b97fsh.js} +37 -37
- package/dist/chunks/{repository-cache-6fz9y9ks.js → job-x6hqevse.js} +26 -26
- package/dist/chunks/{repository-cache-5nv0q1fc.js → job-x7xkss6t.js} +16 -16
- package/dist/chunks/{repository-cache-44rh2bdn.js → job-x9ghyj3a.js} +30 -30
- package/dist/chunks/{repository-cache-4r05bqmv.js → job-xj0p2spv.js} +20 -20
- package/dist/chunks/{repository-cache-4gtvfkkx.js → job-xk2x7fzz.js} +19 -19
- package/dist/chunks/{repository-cache-pcvy2xt8.js → job-xn7cqzsq.js} +4 -4
- package/dist/chunks/{repository-cache-0dyrypwm.js → job-xnr6f6ky.js} +4 -4
- package/dist/chunks/{repository-cache-42vb0n7z.js → job-y6wnxsmy.js} +47 -47
- package/dist/chunks/{repository-cache-yara3q77.js → job-yara3q77.js} +2 -2
- package/dist/chunks/{repository-cache-yb20nhc3.js → job-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-3kyerjz3.js → job-yeted8ps.js} +21 -21
- package/dist/chunks/{repository-cache-p3mdg5wc.js → job-yezqvks2.js} +9 -9
- package/dist/chunks/{repository-cache-5ey1ywkc.js → job-yjysemyd.js} +14 -14
- package/dist/chunks/{repository-cache-me0y9ebc.js → job-ykzny4j4.js} +43 -43
- package/dist/chunks/{repository-cache-7w4azh8n.js → job-ymx155v7.js} +15 -15
- package/dist/chunks/{repository-cache-yr705xyq.js → job-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-67wwskyb.js → job-yts2a8qm.js} +4 -4
- package/dist/chunks/{repository-cache-nv8y1yxb.js → job-ywxkt12h.js} +31 -31
- package/dist/chunks/{repository-cache-r17fbvme.js → job-z2xe5rth.js} +4 -4
- package/dist/chunks/job-z355x5yr.js +18 -0
- package/dist/chunks/{repository-cache-d5exgc4h.js → job-z57krymb.js} +17 -17
- package/dist/chunks/{repository-cache-zs8hhkys.js → job-z7pafybs.js} +17 -17
- package/dist/chunks/{repository-cache-mmy90578.js → job-z8f9e404.js} +34 -34
- package/dist/chunks/{repository-cache-g539dx78.js → job-zd1b6gma.js} +14 -14
- package/dist/chunks/{repository-cache-ze75qvmd.js → job-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-cache-byat1gmm.js → job-ze8sqz0w.js} +16 -16
- package/dist/chunks/{repository-cache-kwc7zy4y.js → job-ze8vsjq4.js} +9 -9
- package/dist/chunks/{repository-cache-fq4mbxwp.js → job-zvnbbcek.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +97 -97
- 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 +130 -130
- 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 +132 -132
- 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 +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- 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/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 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -428
- 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 +239 -239
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +115 -115
- package/dist/form.js +95 -95
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +419 -419
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +172 -172
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +416 -416
- 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 +122 -122
- package/dist/mcp/instructions.js +179 -179
- 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 +104 -104
- 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 +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- 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 +99 -99
- 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 +395 -395
- 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 +130 -130
- 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 +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- 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 +1 -1
- 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 +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 +2 -2
- 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 +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- 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 +105 -105
- 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/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 +210 -210
- 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 +407 -407
- 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 +128 -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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +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 +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- 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 +247 -247
- 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 +171 -171
- 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 +243 -243
- package/dist/session/execution.js +161 -161
- 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 +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +141 -141
- 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 +181 -181
- 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 +3 -3
- package/dist/session/subagent-job.js +225 -225
- 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 +235 -235
- 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 +9 -9
- package/dist/shell.js +144 -144
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +162 -162
- package/dist/tool/plugin/image-generate.js +237 -237
- 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 +144 -144
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- 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 +155 -155
- 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 +157 -157
- package/dist/usage-limits.js +96 -96
- 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 +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/repository-cache-7zdc1zze.js +0 -261
- package/dist/chunks/repository-cache-hw51xx9n.js +0 -549
- package/dist/chunks/repository-cache-xjey0mk6.js +0 -26
- package/dist/chunks/repository-cache-z7bdqmx5.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → job-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-1pevy3nx.js → job-1pevy3nx.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → job-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → job-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → job-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-7stb81gk.js → job-7stb81gk.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → job-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → job-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → job-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → job-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → job-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → job-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → job-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → job-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → job-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → job-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service85
|
|
9
|
+
} from "./job-h8003h1z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service83
|
|
12
|
+
} from "./job-aefyxv2f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service82
|
|
15
|
+
} from "./job-398cgtdr.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 "./job-5najz5gf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./job-m9ft0nab.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service20
|
|
27
|
+
} from "./job-8f7551aj.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-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: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin30,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
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 name12 = "glob";
|
|
46
|
+
var Input12 = 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 Input4 = 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 toModelContent6 = (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 Plugin30 = {
|
|
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* Service83;
|
|
70
|
+
const ripgrep = yield* Service82;
|
|
71
|
+
const location = yield* Service85;
|
|
72
|
+
const access = yield* Service20;
|
|
73
|
+
const permission = yield* Service62;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
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: Input12,
|
|
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: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin25 = {
|
|
|
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: toModelContent6(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 { name12, Input12, Output8, toModelContent6, Plugin30, exports_glob };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-7kr66rt3.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-jzpwaxn1.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-kwc0fpvs.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-ayge33x5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./job-5dfrvmxx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-jpyeahfy.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-dbgbnzpv.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-bap2210h.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID16.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID16.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID14.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID14.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID14.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -242,14 +242,14 @@ var OpenAIPlugin2 = define({
|
|
|
242
242
|
}));
|
|
243
243
|
evt.headers.originator = "opencode";
|
|
244
244
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
245
|
-
}), { providerID:
|
|
245
|
+
}), { providerID: ID14.openai });
|
|
246
246
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
247
247
|
delete evt.options.maxTokens;
|
|
248
248
|
});
|
|
249
249
|
for (const name of ["context", "compaction"])
|
|
250
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
250
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID14.openai });
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function headers(contentType, app) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service88
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-ayge33x5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./job-h8003h1z.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./job-hxp79e2y.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin48
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin48 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service85;
|
|
200
|
+
const mcp = yield* Service39;
|
|
201
201
|
const bus = yield* Service88;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin48, exports_command2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectionEnv2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-zvnbbcek.js";
|
|
4
4
|
import {
|
|
5
5
|
Model2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-kjr51h00.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
PACKAGE2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-rkshft8p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/claude-agent/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
ClaudeAISDK: () => exports_aisdk,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register6
|
|
20
20
|
});
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var register6 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
23
23
|
const context = yield* Effect.context();
|
|
24
24
|
const run = Effect.runPromiseWith(context);
|
|
25
25
|
const dependencies = {
|
|
@@ -39,4 +39,4 @@ var register4 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
|
39
39
|
}), { providerID: ID3 });
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { register6, exports_aisdk };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service88,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-ayge33x5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node88
|
|
8
|
+
} from "./job-h8003h1z.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node73
|
|
16
|
+
} from "./job-n2njrsmh.js";
|
|
17
17
|
import {
|
|
18
18
|
latest2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service67,
|
|
20
|
+
node68
|
|
21
|
+
} from "./job-kq4fexnw.js";
|
|
22
22
|
import {
|
|
23
23
|
detect2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-4pyp9zr9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service30,
|
|
27
|
+
node33
|
|
28
|
+
} from "./job-hw4sz6fg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/artifact.ts
|
|
34
34
|
var exports_artifact2 = {};
|
|
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
|
|
|
36
36
|
Artifact: () => exports_artifact2,
|
|
37
37
|
Capability: () => Capability2,
|
|
38
38
|
Content: () => Content2,
|
|
39
|
-
CreateInput: () =>
|
|
40
|
-
DisabledError: () =>
|
|
41
|
-
Event: () =>
|
|
39
|
+
CreateInput: () => CreateInput5,
|
|
40
|
+
DisabledError: () => DisabledError4,
|
|
41
|
+
Event: () => Event7,
|
|
42
42
|
FileMissingError: () => FileMissingError2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID8,
|
|
44
|
+
Info: () => Info9,
|
|
45
45
|
InvalidError: () => InvalidError3,
|
|
46
46
|
LocalProviderID: () => LocalProviderID2,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Provider: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
|
+
Provider: () => Provider3,
|
|
49
49
|
ProviderError: () => ProviderError2,
|
|
50
50
|
ProviderID: () => ProviderID2,
|
|
51
|
-
ProviderNotFoundError: () =>
|
|
52
|
-
Service: () =>
|
|
51
|
+
ProviderNotFoundError: () => ProviderNotFoundError3,
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
UpdateInput: () => UpdateInput3,
|
|
54
54
|
locate: () => locate2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node32
|
|
56
56
|
});
|
|
57
57
|
import { randomUUID } from "node:crypto";
|
|
58
58
|
import fs from "node:fs/promises";
|
|
@@ -61,11 +61,11 @@ import { lookup } from "mime-types";
|
|
|
61
61
|
import {
|
|
62
62
|
Capability as Capability2,
|
|
63
63
|
Content as Content2,
|
|
64
|
-
CreateInput as
|
|
65
|
-
Event as
|
|
66
|
-
ID as
|
|
67
|
-
Info as
|
|
68
|
-
Provider as
|
|
64
|
+
CreateInput as CreateInput5,
|
|
65
|
+
Event as Event7,
|
|
66
|
+
ID as ID8,
|
|
67
|
+
Info as Info9,
|
|
68
|
+
Provider as Provider3,
|
|
69
69
|
ProviderID as ProviderID2,
|
|
70
70
|
UpdateInput as UpdateInput3
|
|
71
71
|
} from "@opencode/schema/artifact";
|
|
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
75
75
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
76
76
|
var ItemPrefix = "artifact:item:";
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
79
79
|
get message() {
|
|
80
80
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
85
|
-
artifactID:
|
|
84
|
+
class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
85
|
+
artifactID: ID8
|
|
86
86
|
}) {
|
|
87
87
|
get message() {
|
|
88
88
|
return `Artifact not found: ${this.artifactID}`;
|
|
@@ -90,7 +90,7 @@ class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
|
|
93
|
-
artifactID:
|
|
93
|
+
artifactID: ID8,
|
|
94
94
|
path: Schema.String
|
|
95
95
|
}) {
|
|
96
96
|
get message() {
|
|
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
101
|
+
class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
102
102
|
providerID: ProviderID2
|
|
103
103
|
}) {
|
|
104
104
|
get message() {
|
|
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class Service29 extends Context.Service()("@opencode/Artifact") {
|
|
128
128
|
}
|
|
129
129
|
var StoredRecord = Schema.Struct({
|
|
130
|
-
info:
|
|
130
|
+
info: Info9,
|
|
131
131
|
directory: Schema.String,
|
|
132
132
|
projectID: Schema.String
|
|
133
133
|
});
|
|
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
140
140
|
const decoded = decodeStoredRecord(stored);
|
|
141
141
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
142
142
|
}));
|
|
143
|
-
var layer = Layer.effect(
|
|
143
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
144
144
|
const bus = yield* Service88;
|
|
145
|
-
const config = yield*
|
|
145
|
+
const config = yield* Service67;
|
|
146
146
|
const global = yield* Global.Service;
|
|
147
|
-
const kv = yield*
|
|
148
|
-
const location = yield*
|
|
149
|
-
const sessions = yield*
|
|
147
|
+
const kv = yield* Service72;
|
|
148
|
+
const location = yield* Service85;
|
|
149
|
+
const sessions = yield* Service30;
|
|
150
150
|
const rootDir = path.join(global.data, "artifacts");
|
|
151
151
|
const itemDir = (id) => path.join(rootDir, id);
|
|
152
152
|
const localProvider = {
|
|
@@ -187,13 +187,13 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
190
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid))
|
|
191
191
|
});
|
|
192
192
|
const isEnabled = Effect.fn("Artifact.enabled")(function* () {
|
|
193
193
|
const entries = yield* config.entries();
|
|
194
194
|
return latest2(entries, "experimental")?.artifacts === true;
|
|
195
195
|
});
|
|
196
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
196
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
|
|
197
197
|
const activeDefaultID = () => {
|
|
198
198
|
const data = state.get();
|
|
199
199
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -202,17 +202,17 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
202
202
|
const data = state.get();
|
|
203
203
|
const target = requested ?? activeDefaultID();
|
|
204
204
|
const found = data.providers.get(target);
|
|
205
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
205
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
|
|
206
206
|
};
|
|
207
207
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
208
|
-
return
|
|
208
|
+
return Service29.of({
|
|
209
209
|
transform: state.transform,
|
|
210
210
|
reload: state.reload,
|
|
211
211
|
enabled: isEnabled,
|
|
212
212
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
213
213
|
yield* requireEnabled();
|
|
214
214
|
const defaultID = activeDefaultID();
|
|
215
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
215
|
+
return Array.from(state.get().providers.values(), (provider) => Provider3.make({
|
|
216
216
|
id: provider.id,
|
|
217
217
|
name: provider.name,
|
|
218
218
|
capabilities: [...provider.capabilities],
|
|
@@ -249,10 +249,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
249
249
|
const files = yield* normalizeFiles(encodeStringFiles(input.files));
|
|
250
250
|
const entry = yield* resolveEntry(files, input.entry);
|
|
251
251
|
const provider = yield* resolveProvider(input.provider);
|
|
252
|
-
const id =
|
|
252
|
+
const id = ID8.create();
|
|
253
253
|
const now = yield* Clock.currentTimeMillis;
|
|
254
254
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
255
|
-
const info =
|
|
255
|
+
const info = Info9.make({
|
|
256
256
|
id,
|
|
257
257
|
provider: provider.id,
|
|
258
258
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -272,14 +272,14 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
272
272
|
yield* requireEnabled();
|
|
273
273
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
274
274
|
if (!existing)
|
|
275
|
-
return yield* new
|
|
275
|
+
return yield* new NotFoundError5({ artifactID: id });
|
|
276
276
|
return existing.info;
|
|
277
277
|
}),
|
|
278
278
|
get: Effect.fn("Artifact.get")(function* (id) {
|
|
279
279
|
yield* requireEnabled();
|
|
280
280
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
281
281
|
if (!existing)
|
|
282
|
-
return yield* new
|
|
282
|
+
return yield* new NotFoundError5({ artifactID: id });
|
|
283
283
|
const provider = yield* resolveProvider(existing.info.provider);
|
|
284
284
|
const raw = yield* provider.read(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
285
285
|
return Content2.make({
|
|
@@ -292,7 +292,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
292
292
|
yield* checkSession(input.sessionID);
|
|
293
293
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
294
294
|
if (!existing)
|
|
295
|
-
return yield* new
|
|
295
|
+
return yield* new NotFoundError5({ artifactID: id });
|
|
296
296
|
const title = input.title === undefined ? existing.info.title : input.title.trim();
|
|
297
297
|
if (!title)
|
|
298
298
|
return yield* new InvalidError3({ reason: "Artifact title must not be empty", field: "title" });
|
|
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
302
302
|
const now = yield* Clock.currentTimeMillis;
|
|
303
303
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
304
304
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
305
|
-
const info =
|
|
305
|
+
const info = Info9.make({
|
|
306
306
|
id,
|
|
307
307
|
provider: existing.info.provider,
|
|
308
308
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -322,7 +322,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
322
322
|
yield* requireEnabled();
|
|
323
323
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
324
324
|
if (!existing)
|
|
325
|
-
return yield* new
|
|
325
|
+
return yield* new NotFoundError5({ artifactID: id });
|
|
326
326
|
const provider = state.get().providers.get(existing.info.provider);
|
|
327
327
|
if (provider) {
|
|
328
328
|
yield* provider.delete(id).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
@@ -333,7 +333,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
333
333
|
yield* requireEnabled();
|
|
334
334
|
const existing = yield* loadProjectRecord(kv, id, location.project.id);
|
|
335
335
|
if (!existing)
|
|
336
|
-
return yield* new
|
|
336
|
+
return yield* new NotFoundError5({ artifactID: id });
|
|
337
337
|
if (existing.info.provider !== LocalProviderID2) {
|
|
338
338
|
return yield* new InvalidError3({
|
|
339
339
|
reason: `Artifact ${id} is hosted by provider "${existing.info.provider}", not the local server`,
|
|
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
350
350
|
})
|
|
351
351
|
});
|
|
352
352
|
}));
|
|
353
|
-
var
|
|
354
|
-
service:
|
|
353
|
+
var node32 = makeLocationNode({
|
|
354
|
+
service: Service29,
|
|
355
355
|
layer,
|
|
356
|
-
deps: [node91,
|
|
356
|
+
deps: [node91, node68, Global.node, node73, node88, node33]
|
|
357
357
|
});
|
|
358
358
|
function encodeStringFiles(files) {
|
|
359
359
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2,
|
|
494
|
+
export { Capability2, Content2, CreateInput5, Event7, ID8, Info9, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError5, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service29, locate2, node32, exports_artifact2 };
|