@opencode/core 0.0.0-dev-360 → 0.0.0-dev-365
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/file-retention-00ve6mdn.js +18 -0
- package/dist/chunks/{managed-policy-wgvnftve.js → file-retention-00zh2tpm.js} +8 -8
- package/dist/chunks/{managed-policy-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{managed-policy-yepgas63.js → file-retention-04tv7frf.js} +9 -9
- package/dist/chunks/{managed-policy-53s0p5hq.js → file-retention-07eksm9d.js} +8 -8
- package/dist/chunks/{managed-policy-cpvd08na.js → file-retention-0ahs07zn.js} +4 -4
- package/dist/chunks/{managed-policy-9e2she93.js → file-retention-0cwk7jfm.js} +9 -9
- package/dist/chunks/{managed-policy-vrn1pf1v.js → file-retention-0ex8dcbt.js} +11 -11
- package/dist/chunks/{managed-policy-aepw0b6p.js → file-retention-0k3nfc9s.js} +11 -11
- package/dist/chunks/{managed-policy-s0m7zkjy.js → file-retention-0psyaj3n.js} +15 -15
- package/dist/chunks/{managed-policy-zc7pmk1j.js → file-retention-0ytw3hha.js} +9 -9
- package/dist/chunks/{managed-policy-4fbzvnkg.js → file-retention-0zcczs7a.js} +3 -3
- package/dist/chunks/{managed-policy-ywaqe4tb.js → file-retention-14c3dy8f.js} +24 -24
- package/dist/chunks/{managed-policy-5ckkk9bj.js → file-retention-15qtk8ma.js} +4 -4
- package/dist/chunks/{managed-policy-jyqx92zg.js → file-retention-191gdv88.js} +6 -6
- package/dist/chunks/{managed-policy-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{managed-policy-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{managed-policy-d082y1w6.js → file-retention-1ffma3v6.js} +6 -6
- package/dist/chunks/{managed-policy-95pm1j5b.js → file-retention-1jv1g512.js} +15 -15
- package/dist/chunks/{managed-policy-f248dtbq.js → file-retention-1nxbehe5.js} +4 -4
- package/dist/chunks/{managed-policy-pznt48t8.js → file-retention-1teqm9vw.js} +33 -33
- package/dist/chunks/{managed-policy-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{managed-policy-pkthxjgs.js → file-retention-1xeesddd.js} +19 -19
- package/dist/chunks/{managed-policy-f35f93zp.js → file-retention-1yq9hg58.js} +5 -5
- package/dist/chunks/{managed-policy-56v67pvx.js → file-retention-24xag21k.js} +12 -12
- package/dist/chunks/{managed-policy-25h84942.js → file-retention-25h84942.js} +1 -1
- package/dist/chunks/{managed-policy-nntmgp2m.js → file-retention-26pa0b26.js} +5 -5
- package/dist/chunks/{managed-policy-694dpcrp.js → file-retention-26wfx3k0.js} +7 -7
- package/dist/chunks/{managed-policy-egr8wc85.js → file-retention-2cf4w7xq.js} +15 -15
- package/dist/chunks/{managed-policy-d3da6sq9.js → file-retention-2d4gmz8y.js} +32 -32
- package/dist/chunks/{managed-policy-vp2s2yka.js → file-retention-2eqy3gj5.js} +9 -9
- package/dist/chunks/{managed-policy-azeff8cy.js → file-retention-2k0y5jmk.js} +21 -21
- package/dist/chunks/{managed-policy-w35wzz9x.js → file-retention-2kg89srt.js} +4 -4
- package/dist/chunks/{managed-policy-d1c7txc5.js → file-retention-2pb226t7.js} +3 -3
- package/dist/chunks/{managed-policy-dx3j12yd.js → file-retention-2s6nzbwv.js} +45 -45
- package/dist/chunks/{managed-policy-ez1mwgrk.js → file-retention-34r1mvkc.js} +17 -17
- package/dist/chunks/{managed-policy-k3gdctbe.js → file-retention-367hxp8h.js} +11 -11
- package/dist/chunks/{managed-policy-3ftdatfp.js → file-retention-36w0pb0f.js} +5 -5
- package/dist/chunks/{managed-policy-816ehvty.js → file-retention-37fmbenv.js} +58 -58
- package/dist/chunks/{managed-policy-s9mgb1sy.js → file-retention-3g5n8p7a.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{managed-policy-fyh03zct.js → file-retention-3pqbsxs8.js} +4 -4
- package/dist/chunks/{managed-policy-6y2ptdyb.js → file-retention-3qczp77y.js} +2 -2
- package/dist/chunks/{managed-policy-apv9mt11.js → file-retention-3r49zhmj.js} +24 -24
- package/dist/chunks/{managed-policy-0dn1yphj.js → file-retention-3rex4wkr.js} +187 -187
- package/dist/chunks/file-retention-3vca5scw.js +257 -0
- package/dist/chunks/{managed-policy-b77837t1.js → file-retention-3vrm62xe.js} +8 -8
- package/dist/chunks/{managed-policy-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{managed-policy-5enarcya.js → file-retention-40za9wsf.js} +6 -6
- package/dist/chunks/{managed-policy-vq8xgzqd.js → file-retention-43nkkq55.js} +27 -27
- package/dist/chunks/{managed-policy-6k4p53c4.js → file-retention-45k1fat7.js} +84 -84
- package/dist/chunks/{managed-policy-prwdsx4e.js → file-retention-47te9age.js} +5 -5
- package/dist/chunks/{managed-policy-vx8r5nvb.js → file-retention-494gazew.js} +15 -15
- package/dist/chunks/{managed-policy-4d2dtj2f.js → file-retention-4d2dtj2f.js} +1 -1
- package/dist/chunks/{managed-policy-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{managed-policy-r542h3bh.js → file-retention-4f25tdd0.js} +5 -5
- package/dist/chunks/{managed-policy-eranzbd3.js → file-retention-4fbe36vd.js} +30 -30
- package/dist/chunks/{managed-policy-7wnfk6gy.js → file-retention-4g48tjx4.js} +20 -20
- package/dist/chunks/{managed-policy-nemnqzpn.js → file-retention-4gmbvmjy.js} +4 -4
- package/dist/chunks/{managed-policy-wvp9g99s.js → file-retention-4mtw7039.js} +12 -12
- package/dist/chunks/{managed-policy-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{managed-policy-zse9yxbs.js → file-retention-4srsrmw7.js} +30 -30
- package/dist/chunks/{managed-policy-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{managed-policy-8ja7m345.js → file-retention-4x09kzkc.js} +28 -28
- package/dist/chunks/{managed-policy-w49nkgzd.js → file-retention-5839xq93.js} +8 -8
- package/dist/chunks/{managed-policy-9z65j8st.js → file-retention-5ckahk04.js} +40 -40
- package/dist/chunks/{managed-policy-nmvtk8pw.js → file-retention-5h3s1vfe.js} +36 -36
- package/dist/chunks/{managed-policy-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-sxnptmk6.js → file-retention-5y8xnkg1.js} +26 -26
- package/dist/chunks/{managed-policy-an7nq9v6.js → file-retention-64jy80yv.js} +15 -15
- package/dist/chunks/{managed-policy-862ghcnc.js → file-retention-651ahwxn.js} +45 -45
- package/dist/chunks/{managed-policy-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{managed-policy-thmnjmx0.js → file-retention-6g1w79yt.js} +25 -25
- package/dist/chunks/{managed-policy-tm2grc99.js → file-retention-6gh4xsn0.js} +14 -14
- package/dist/chunks/{managed-policy-2pnpws6z.js → file-retention-6m3pmzcb.js} +30 -30
- package/dist/chunks/{managed-policy-mfs2cw6h.js → file-retention-6p53pxzw.js} +7 -7
- package/dist/chunks/{managed-policy-4fvd22vc.js → file-retention-6q2v7yes.js} +15 -15
- package/dist/chunks/{managed-policy-s2pfznc4.js → file-retention-6yakppr8.js} +4 -4
- package/dist/chunks/{managed-policy-2y5j90j5.js → file-retention-6yzxzbn5.js} +35 -35
- package/dist/chunks/{managed-policy-scxw0c41.js → file-retention-710xrkf2.js} +9 -9
- package/dist/chunks/{managed-policy-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{managed-policy-775hqbnd.js → file-retention-775hqbnd.js} +3 -3
- package/dist/chunks/{managed-policy-ftv7f0h4.js → file-retention-78p2h4ex.js} +5 -5
- package/dist/chunks/{managed-policy-nyxvvj5y.js → file-retention-79k544d0.js} +5 -5
- package/dist/chunks/{managed-policy-d021hvhj.js → file-retention-7bh7de7r.js} +23 -23
- package/dist/chunks/{managed-policy-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-7kr66rt3.js → file-retention-7kr66rt3.js} +1 -1
- package/dist/chunks/{managed-policy-679ep0cz.js → file-retention-7p2pbjq6.js} +11 -11
- package/dist/chunks/{managed-policy-yrqkv67x.js → file-retention-7s7r6cce.js} +14 -14
- package/dist/chunks/{managed-policy-ddvn7d3w.js → file-retention-7tpyp9vw.js} +8 -8
- package/dist/chunks/{managed-policy-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{managed-policy-sbmacpxg.js → file-retention-7xdaqeat.js} +29 -29
- package/dist/chunks/{managed-policy-ejv1m27g.js → file-retention-806dcycn.js} +43 -43
- package/dist/chunks/{managed-policy-9mpf12xv.js → file-retention-81vzgppv.js} +6 -6
- package/dist/chunks/{managed-policy-bsfxdvvt.js → file-retention-82d21a7w.js} +6 -6
- package/dist/chunks/{managed-policy-39xwsyw8.js → file-retention-854masfb.js} +7 -7
- package/dist/chunks/{managed-policy-b1pszpj9.js → file-retention-85va0fa0.js} +14 -14
- package/dist/chunks/{managed-policy-vdjr5psn.js → file-retention-86bhhzhr.js} +6 -6
- package/dist/chunks/{managed-policy-89287pr7.js → file-retention-89287pr7.js} +1 -1
- package/dist/chunks/{managed-policy-rjnxbc3v.js → file-retention-8dngg074.js} +20 -20
- package/dist/chunks/{managed-policy-yhsh2wx7.js → file-retention-8h2hwcgr.js} +3 -3
- package/dist/chunks/{managed-policy-m9bvz1xb.js → file-retention-8jgevw96.js} +4 -4
- package/dist/chunks/file-retention-8jqjkaeg.js +26 -0
- package/dist/chunks/{managed-policy-c84j9kfj.js → file-retention-8qbjkpdc.js} +5 -5
- package/dist/chunks/{managed-policy-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{managed-policy-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{managed-policy-gzw4xxzr.js → file-retention-92zsya3r.js} +17 -17
- package/dist/chunks/{managed-policy-sv909n4y.js → file-retention-94e33dpz.js} +3 -3
- package/dist/chunks/{managed-policy-szwm4crx.js → file-retention-96djdqw5.js} +4 -4
- package/dist/chunks/{managed-policy-nn9vx4b3.js → file-retention-97c1910e.js} +8 -8
- package/dist/chunks/{managed-policy-cjj2btwh.js → file-retention-97zw14d0.js} +2 -2
- package/dist/chunks/{managed-policy-wc9ab0k6.js → file-retention-98dmdzfy.js} +21 -21
- package/dist/chunks/{managed-policy-3w7p7eaa.js → file-retention-9anrwwjk.js} +11 -11
- package/dist/chunks/{managed-policy-ze9pm62v.js → file-retention-9b1d26tq.js} +6 -6
- package/dist/chunks/{managed-policy-zcfzkv6k.js → file-retention-9cvqxzpt.js} +11 -11
- package/dist/chunks/{managed-policy-wn77a8c9.js → file-retention-9sy1j1hj.js} +4 -4
- package/dist/chunks/{managed-policy-vj308eb4.js → file-retention-a1a5n2rq.js} +23 -23
- package/dist/chunks/{managed-policy-wbhszs8a.js → file-retention-a2wbfja7.js} +18 -18
- package/dist/chunks/{managed-policy-ph0tf0ph.js → file-retention-adym558h.js} +12 -12
- package/dist/chunks/{managed-policy-726zqhgd.js → file-retention-ak3jkmqz.js} +51 -51
- package/dist/chunks/{managed-policy-fs81h3jt.js → file-retention-aq0xw1y6.js} +6 -6
- package/dist/chunks/{managed-policy-52zf3ryw.js → file-retention-aqaf6eqh.js} +4 -4
- package/dist/chunks/{managed-policy-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{managed-policy-m8aw8crw.js → file-retention-b5b5s7sc.js} +8 -8
- package/dist/chunks/{managed-policy-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
- package/dist/chunks/{managed-policy-z47pg1fq.js → file-retention-b70m0jnc.js} +11 -11
- package/dist/chunks/{managed-policy-b3kmd4mj.js → file-retention-bah3z096.js} +5 -5
- package/dist/chunks/{managed-policy-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{managed-policy-rtm080pk.js → file-retention-bzyef7s6.js} +19 -19
- package/dist/chunks/{managed-policy-a6gn1kd1.js → file-retention-chp37d0z.js} +16 -16
- package/dist/chunks/{managed-policy-33nxrdr5.js → file-retention-cmwydw43.js} +11 -11
- package/dist/chunks/file-retention-cpdsp3va.js +16 -0
- package/dist/chunks/{managed-policy-n5wje2ht.js → file-retention-ct67btrp.js} +8 -8
- package/dist/chunks/{managed-policy-vt4r9rmy.js → file-retention-ctmpqb7w.js} +9 -9
- package/dist/chunks/{managed-policy-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{managed-policy-cwbpdf7n.js → file-retention-d2dt6bgk.js} +5 -5
- package/dist/chunks/{managed-policy-gn8tkhbf.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{managed-policy-r3nbggc1.js → file-retention-db2n32dy.js} +23 -23
- package/dist/chunks/{managed-policy-wscq8e5a.js → file-retention-dbwt9n8c.js} +6 -6
- package/dist/chunks/{managed-policy-snnnv1ed.js → file-retention-dnz500gn.js} +46 -46
- package/dist/chunks/{managed-policy-a08ktxzt.js → file-retention-dp29q3vk.js} +23 -23
- package/dist/chunks/{managed-policy-ppngp76y.js → file-retention-dpqv5et8.js} +27 -27
- package/dist/chunks/{managed-policy-gwvs57w6.js → file-retention-dqyf594t.js} +7 -7
- package/dist/chunks/{managed-policy-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{managed-policy-1mpk1ara.js → file-retention-dwq3t05f.js} +21 -21
- package/dist/chunks/{managed-policy-b7s8g6yr.js → file-retention-dx78x4wn.js} +11 -11
- package/dist/chunks/{managed-policy-e45fk36t.js → file-retention-e45fk36t.js} +1 -1
- package/dist/chunks/{managed-policy-sbs4fxj5.js → file-retention-e7v1mvr4.js} +16 -16
- package/dist/chunks/{managed-policy-0ez55h6z.js → file-retention-e82mxxdn.js} +6 -6
- package/dist/chunks/{managed-policy-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{managed-policy-n8s0y8c9.js → file-retention-e902kjc6.js} +22 -22
- package/dist/chunks/{managed-policy-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{managed-policy-gnccyfxb.js → file-retention-ewzekqf7.js} +42 -42
- package/dist/chunks/{managed-policy-4xnfw7gs.js → file-retention-f49n8c6f.js} +23 -23
- package/dist/chunks/{managed-policy-98d5nq0a.js → file-retention-f7fpk87n.js} +4 -4
- package/dist/chunks/{managed-policy-acsz629t.js → file-retention-fb1e82c3.js} +30 -30
- package/dist/chunks/{managed-policy-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{managed-policy-prq7xxp2.js → file-retention-fg9p65nk.js} +6 -6
- package/dist/chunks/{managed-policy-0m15b9c1.js → file-retention-fgd6dfzj.js} +4 -4
- package/dist/chunks/{managed-policy-mdew9s65.js → file-retention-fgrd7tsk.js} +4 -4
- package/dist/chunks/{managed-policy-dgy090gd.js → file-retention-fhnd73k8.js} +5 -5
- package/dist/chunks/{managed-policy-4kvezjxd.js → file-retention-frqbw07m.js} +47 -47
- package/dist/chunks/{managed-policy-mg936kbs.js → file-retention-fsydmy3v.js} +23 -23
- package/dist/chunks/{managed-policy-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
- package/dist/chunks/{managed-policy-6sdem09p.js → file-retention-g4r2wteh.js} +12 -12
- package/dist/chunks/{managed-policy-eq80e3bn.js → file-retention-g5tj6nqn.js} +5 -5
- package/dist/chunks/{managed-policy-yczyz3qg.js → file-retention-g8as110m.js} +33 -33
- package/dist/chunks/{managed-policy-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{managed-policy-e496zp5r.js → file-retention-gcjdgkn2.js} +9 -9
- package/dist/chunks/{managed-policy-m8wvz71k.js → file-retention-gfg8h6be.js} +32 -32
- package/dist/chunks/{managed-policy-78ytgxen.js → file-retention-gk0jamvw.js} +11 -11
- package/dist/chunks/{managed-policy-zg145z9d.js → file-retention-gmp4mkqx.js} +25 -25
- package/dist/chunks/{managed-policy-4v8skfv1.js → file-retention-gxs71cxp.js} +4 -4
- package/dist/chunks/{managed-policy-70b91y90.js → file-retention-h1pmbafy.js} +29 -29
- package/dist/chunks/{managed-policy-3zeyn1sh.js → file-retention-h2padk5z.js} +9 -9
- package/dist/chunks/{managed-policy-anzvheda.js → file-retention-h525pamn.js} +81 -81
- package/dist/chunks/{managed-policy-hh7kjqtw.js → file-retention-hh7kjqtw.js} +1 -1
- package/dist/chunks/{managed-policy-mrpnjyvf.js → file-retention-hmhcwfpk.js} +4 -4
- package/dist/chunks/{managed-policy-wnxc6ztx.js → file-retention-hp6zvnkh.js} +12 -12
- package/dist/chunks/{managed-policy-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{managed-policy-00pxn4bd.js → file-retention-hykm9enp.js} +12 -12
- package/dist/chunks/{managed-policy-bask9rw9.js → file-retention-hz3tdqq2.js} +13 -13
- package/dist/chunks/{managed-policy-q3qhbnrq.js → file-retention-j0p3wt22.js} +8 -8
- package/dist/chunks/{managed-policy-zejpc0ts.js → file-retention-j269d26h.js} +10 -10
- package/dist/chunks/{managed-policy-tr8x705m.js → file-retention-j376ae4e.js} +5 -5
- package/dist/chunks/{managed-policy-5vjvebcw.js → file-retention-j3r2bmag.js} +41 -41
- package/dist/chunks/{managed-policy-v289x162.js → file-retention-j8e99ceq.js} +17 -17
- package/dist/chunks/{managed-policy-3121tyy5.js → file-retention-j9kgwwfb.js} +3 -3
- package/dist/chunks/{managed-policy-j9nxzz3g.js → file-retention-j9nxzz3g.js} +3 -3
- package/dist/chunks/{managed-policy-wtdrtnme.js → file-retention-jjxf7reg.js} +14 -14
- package/dist/chunks/{managed-policy-t74aepq9.js → file-retention-jstr99pf.js} +7 -7
- package/dist/chunks/{managed-policy-xgaq24t7.js → file-retention-jsweddnj.js} +30 -30
- package/dist/chunks/{managed-policy-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{managed-policy-gk8vay7z.js → file-retention-jtqae1ex.js} +21 -21
- package/dist/chunks/{managed-policy-44pmzq9c.js → file-retention-jxd6f16v.js} +2 -2
- package/dist/chunks/{managed-policy-k3cx6fhe.js → file-retention-k3cx6fhe.js} +1 -1
- package/dist/chunks/{managed-policy-s5chsxke.js → file-retention-k5aja770.js} +5 -5
- package/dist/chunks/{managed-policy-fk0fzfdt.js → file-retention-k92vzxqv.js} +9 -9
- package/dist/chunks/{managed-policy-tpd3143z.js → file-retention-kgk83ggj.js} +9 -9
- package/dist/chunks/{managed-policy-nwtvxrk7.js → file-retention-knm2fjmh.js} +40 -40
- package/dist/chunks/{managed-policy-t0jawx5w.js → file-retention-kps772xv.js} +6 -6
- package/dist/chunks/{managed-policy-3ptna5xg.js → file-retention-krj4kdcf.js} +5 -5
- package/dist/chunks/{managed-policy-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{managed-policy-akx7fhq1.js → file-retention-kzdam8c6.js} +7 -7
- package/dist/chunks/{managed-policy-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{managed-policy-1mwahr68.js → file-retention-m4yf5w44.js} +4 -4
- package/dist/chunks/{managed-policy-4aggytkt.js → file-retention-m70wzxpa.js} +20 -20
- package/dist/chunks/{managed-policy-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-8z6m94af.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{managed-policy-8srhw74s.js → file-retention-mgc4smjp.js} +4 -4
- package/dist/chunks/{managed-policy-51c4hzeh.js → file-retention-mh0grf13.js} +72 -72
- package/dist/chunks/{managed-policy-sfmwmx3y.js → file-retention-mkv9ptyg.js} +22 -22
- package/dist/chunks/{managed-policy-9vyzxdt4.js → file-retention-mxwm4x62.js} +6 -6
- package/dist/chunks/{managed-policy-trvtaa3q.js → file-retention-mygmh7kq.js} +3 -3
- package/dist/chunks/{managed-policy-3c0437bz.js → file-retention-mzaqyawz.js} +12 -12
- package/dist/chunks/{managed-policy-wmmtq209.js → file-retention-n67qzrze.js} +25 -25
- package/dist/chunks/{managed-policy-3nsvn3qd.js → file-retention-n6emdgzs.js} +5 -5
- package/dist/chunks/{managed-policy-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{managed-policy-5pf90gbk.js → file-retention-ne5yss8b.js} +12 -12
- package/dist/chunks/{managed-policy-g8adbywj.js → file-retention-nnajjmm5.js} +24 -24
- package/dist/chunks/{managed-policy-h8j8hrk6.js → file-retention-nnwz0q5b.js} +7 -7
- package/dist/chunks/{managed-policy-npn4ysng.js → file-retention-nq0jwwks.js} +11 -11
- package/dist/chunks/{managed-policy-pmenavs3.js → file-retention-ntck3dtd.js} +18 -18
- package/dist/chunks/{managed-policy-q2g9e0wm.js → file-retention-ntfv8mte.js} +27 -27
- package/dist/chunks/{managed-policy-kf7yecx5.js → file-retention-nttcdzvb.js} +35 -35
- package/dist/chunks/{managed-policy-4m678s02.js → file-retention-nvwskqe1.js} +12 -12
- package/dist/chunks/{managed-policy-xss38zbz.js → file-retention-nyfhe47q.js} +2 -2
- package/dist/chunks/{managed-policy-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{managed-policy-yctvh1cp.js → file-retention-p6bnfrdb.js} +17 -17
- package/dist/chunks/{managed-policy-xea05nf5.js → file-retention-patmbawk.js} +28 -28
- package/dist/chunks/{managed-policy-hty97zw0.js → file-retention-pb4hadtr.js} +3 -3
- package/dist/chunks/{managed-policy-nh61dyqa.js → file-retention-pk2cp82e.js} +12 -12
- package/dist/chunks/{managed-policy-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/file-retention-pxb8fstm.js +539 -0
- package/dist/chunks/{managed-policy-84pp956a.js → file-retention-q88jad4y.js} +3 -3
- package/dist/chunks/{managed-policy-1ykyerhw.js → file-retention-q98txggg.js} +25 -25
- package/dist/chunks/{managed-policy-b8dt3yzy.js → file-retention-q9jzns4g.js} +11 -11
- package/dist/chunks/{managed-policy-jgd59f7e.js → file-retention-qbdxqqrf.js} +5 -5
- package/dist/chunks/{managed-policy-h8rtbqgs.js → file-retention-qcb68xjt.js} +25 -25
- package/dist/chunks/{managed-policy-20pht57w.js → file-retention-qfz6bxfd.js} +4 -4
- package/dist/chunks/{managed-policy-x238ctd3.js → file-retention-qh3ce2zs.js} +9 -9
- package/dist/chunks/{managed-policy-zee9eqmc.js → file-retention-qn78z9wr.js} +16 -16
- package/dist/chunks/{managed-policy-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{managed-policy-qqvy8y24.js → file-retention-qqvy8y24.js} +1 -1
- package/dist/chunks/{managed-policy-p4xrf3v3.js → file-retention-qy4bfg0t.js} +32 -32
- package/dist/chunks/{managed-policy-88tearyr.js → file-retention-qz6mm41d.js} +47 -47
- package/dist/chunks/{managed-policy-wfs84ra6.js → file-retention-r17fbvme.js} +4 -4
- package/dist/chunks/{managed-policy-pvpn29rk.js → file-retention-r7qkq1cq.js} +11 -11
- package/dist/chunks/{managed-policy-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{managed-policy-sd7ye422.js → file-retention-rf1cvd9q.js} +7 -7
- package/dist/chunks/{managed-policy-30kktm6y.js → file-retention-rfkt08md.js} +21 -21
- package/dist/chunks/{managed-policy-tghwpxvy.js → file-retention-rjh8ndqb.js} +7 -7
- package/dist/chunks/{managed-policy-arz7hw7x.js → file-retention-rjnvnctx.js} +3 -3
- package/dist/chunks/{managed-policy-syxgt7hj.js → file-retention-rjxvw18s.js} +24 -24
- package/dist/chunks/{managed-policy-vzppetdn.js → file-retention-rmv7fhs4.js} +6 -6
- package/dist/chunks/{managed-policy-fbnrjevw.js → file-retention-rp5gk1vb.js} +15 -15
- package/dist/chunks/{managed-policy-myzme4zf.js → file-retention-rqhxkn0m.js} +9 -9
- package/dist/chunks/{managed-policy-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{managed-policy-3w895kgp.js → file-retention-rw9ek0wk.js} +21 -21
- package/dist/chunks/{managed-policy-2p60zmnr.js → file-retention-s1ba0vj0.js} +2 -2
- package/dist/chunks/{managed-policy-vrzaf89h.js → file-retention-s1mrn2p8.js} +17 -17
- package/dist/chunks/{managed-policy-95sp4hdf.js → file-retention-s6h2s3rz.js} +4 -4
- package/dist/chunks/{managed-policy-qvtnw8rj.js → file-retention-s6nkmqs6.js} +9 -9
- package/dist/chunks/{managed-policy-be0wmwv5.js → file-retention-s738pv3k.js} +7 -7
- package/dist/chunks/{managed-policy-h9tmec5j.js → file-retention-s9hrvzk4.js} +18 -18
- package/dist/chunks/{managed-policy-97kr14ga.js → file-retention-s9k2g5gd.js} +21 -21
- package/dist/chunks/{managed-policy-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{managed-policy-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{managed-policy-mqe7nf5n.js → file-retention-sbz71ybr.js} +3 -3
- package/dist/chunks/{managed-policy-x8pn77yk.js → file-retention-sfdpshmh.js} +33 -33
- package/dist/chunks/{managed-policy-rppm5c81.js → file-retention-sk03a6mt.js} +11 -11
- package/dist/chunks/{managed-policy-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{managed-policy-thk52jvy.js → file-retention-srwhahpg.js} +27 -27
- package/dist/chunks/{managed-policy-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{managed-policy-vh150vf7.js → file-retention-t388y8mj.js} +16 -16
- package/dist/chunks/{managed-policy-7wtdn1g8.js → file-retention-t7k13e43.js} +25 -25
- package/dist/chunks/{managed-policy-t3jf6x5r.js → file-retention-tcgeqmk1.js} +6 -6
- package/dist/chunks/{managed-policy-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{managed-policy-654x7yzp.js → file-retention-tk62q1re.js} +16 -16
- package/dist/chunks/{managed-policy-fh6yqggw.js → file-retention-tkm9xe8p.js} +10 -10
- package/dist/chunks/{managed-policy-2e07j09f.js → file-retention-tp6ysjfh.js} +17 -17
- package/dist/chunks/{managed-policy-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{managed-policy-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{managed-policy-r45vdydb.js → file-retention-vdv0ex2k.js} +16 -16
- package/dist/chunks/{managed-policy-zpk91qsy.js → file-retention-vh5mfw8y.js} +19 -19
- package/dist/chunks/{managed-policy-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{managed-policy-s26c8eb5.js → file-retention-vmxsyvj6.js} +4 -4
- package/dist/chunks/{managed-policy-gvn3f3gf.js → file-retention-vn3jxh88.js} +34 -34
- package/dist/chunks/{managed-policy-4gf7gge9.js → file-retention-vnh9n1ga.js} +5 -5
- package/dist/chunks/{managed-policy-7ve1t3n0.js → file-retention-vx8dvbvz.js} +21 -21
- package/dist/chunks/{managed-policy-x99tb5f1.js → file-retention-w3gtzgrj.js} +16 -16
- package/dist/chunks/{managed-policy-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-39615p30.js → file-retention-w4y7paq5.js} +15 -15
- package/dist/chunks/{managed-policy-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-nx4vzyjd.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{managed-policy-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{managed-policy-tazjvz8j.js → file-retention-wvj287hh.js} +16 -16
- package/dist/chunks/{managed-policy-9kywdm83.js → file-retention-wyndpgwe.js} +27 -27
- package/dist/chunks/{managed-policy-pjxxd0tq.js → file-retention-wz8egk7j.js} +24 -24
- package/dist/chunks/{managed-policy-p80db9m6.js → file-retention-x264bg3j.js} +21 -21
- package/dist/chunks/{managed-policy-ff98wwhc.js → file-retention-x4fv0bsv.js} +21 -21
- package/dist/chunks/{managed-policy-s5vtxg18.js → file-retention-x5pnbcqp.js} +12 -12
- package/dist/chunks/{managed-policy-7e7988gh.js → file-retention-x7f1c0hn.js} +11 -11
- package/dist/chunks/{managed-policy-qgszjrgp.js → file-retention-x8493zn3.js} +49 -49
- package/dist/chunks/{managed-policy-00fx7j5c.js → file-retention-xcabrysh.js} +19 -19
- package/dist/chunks/{managed-policy-8ex0w787.js → file-retention-xksw6ev0.js} +4 -4
- package/dist/chunks/{managed-policy-5qjahbs7.js → file-retention-xsk8rjgw.js} +16 -16
- package/dist/chunks/{managed-policy-xsvks309.js → file-retention-y039zdvd.js} +25 -25
- package/dist/chunks/{managed-policy-jy2czfqv.js → file-retention-y4n6pw34.js} +4 -4
- package/dist/chunks/{managed-policy-ma48de29.js → file-retention-y906m0ew.js} +5 -5
- package/dist/chunks/{managed-policy-g8swrvnn.js → file-retention-yabd269j.js} +31 -31
- package/dist/chunks/{managed-policy-pxtfkpje.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{managed-policy-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{managed-policy-5zetbzm5.js → file-retention-ybws1qgk.js} +4 -4
- package/dist/chunks/{managed-policy-x9fn6984.js → file-retention-ye813fd9.js} +13 -13
- package/dist/chunks/{managed-policy-kzh081j6.js → file-retention-yjtwjy4a.js} +28 -28
- package/dist/chunks/{managed-policy-hh19szvy.js → file-retention-ykwwpp75.js} +7 -7
- package/dist/chunks/{managed-policy-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{managed-policy-r4myysgd.js → file-retention-yx1bfhrh.js} +15 -15
- package/dist/chunks/{managed-policy-gds09g4b.js → file-retention-yxq23fa0.js} +37 -37
- package/dist/chunks/{managed-policy-nn2203hf.js → file-retention-z9ak6f41.js} +31 -31
- package/dist/chunks/{managed-policy-6nsp1hch.js → file-retention-zb6fyjd2.js} +21 -21
- package/dist/chunks/{managed-policy-g35p3w0d.js → file-retention-zdcpgs8q.js} +22 -22
- package/dist/chunks/{managed-policy-veh29cvg.js → file-retention-zexg1nap.js} +39 -39
- package/dist/chunks/{managed-policy-9r0cabze.js → file-retention-zm4kedsn.js} +18 -18
- package/dist/chunks/{managed-policy-emyxh9zd.js → file-retention-zpf912r4.js} +40 -40
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +150 -150
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +94 -94
- 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 +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +140 -140
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +76 -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.gen.js +59 -59
- package/dist/database/migration.js +61 -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 +104 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +420 -420
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -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 +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +102 -102
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +240 -240
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- 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 +103 -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 +3 -3
- package/dist/instance.js +413 -413
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +171 -171
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +412 -412
- package/dist/location.js +99 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +119 -119
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +233 -233
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +391 -391
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -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 +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +112 -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 +109 -109
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -209
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +399 -399
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +242 -242
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +100 -100
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +100 -100
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -107
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +238 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +246 -246
- 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 +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +172 -172
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +238 -238
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +163 -163
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +245 -245
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +160 -160
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +195 -195
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +236 -236
- package/dist/session/usage.js +3 -3
- package/dist/session.js +229 -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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +105 -105
- 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 +177 -177
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +235 -235
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +157 -157
- package/dist/tool/plugin/question.js +145 -145
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +244 -244
- package/dist/tool/plugin/shell.js +231 -231
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +232 -232
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +150 -150
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +158 -158
- package/dist/usage-limits.js +99 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -99
- package/dist/voice.js +94 -94
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +110 -110
- package/package.json +8 -8
- package/dist/chunks/managed-policy-0p898jtz.js +0 -26
- package/dist/chunks/managed-policy-3t5ccfg2.js +0 -539
- package/dist/chunks/managed-policy-ezna1kdx.js +0 -18
- package/dist/chunks/managed-policy-yc9fq4e8.js +0 -16
- package/dist/chunks/managed-policy-yh8m6s3q.js +0 -257
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-7stb81gk.js → file-retention-7stb81gk.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-stkk57rt.js → file-retention-stkk57rt.js} +0 -0
- /package/dist/chunks/{managed-policy-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{managed-policy-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-retention-vdv0ex2k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./file-retention-rfkt08md.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError10
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-mygmh7kq.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node74
|
|
22
|
+
} from "./file-retention-g4r2wteh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service72,
|
|
25
|
+
node75
|
|
26
|
+
} from "./file-retention-jtqae1ex.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service74,
|
|
29
|
+
node77
|
|
30
|
+
} from "./file-retention-j0p3wt22.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
|
+
ID: () => ID11,
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service70,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
merge: () => merge2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node73
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
59
59
|
import { Permission } from "@opencode/schema/permission";
|
|
60
60
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
61
|
-
import { Event as
|
|
61
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
62
62
|
var PermissionEffect = Permission.Effect;
|
|
63
63
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
64
|
-
var
|
|
64
|
+
var ID11 = Permission.ID;
|
|
65
65
|
var Source5 = Permission.Source;
|
|
66
66
|
var Request3 = Permission.Request;
|
|
67
67
|
var Reply2 = Permission.Reply;
|
|
@@ -93,8 +93,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
97
|
-
requestID:
|
|
96
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
97
|
+
requestID: ID11
|
|
98
98
|
}) {
|
|
99
99
|
}
|
|
100
100
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -108,15 +108,15 @@ function merge2(...rulesets) {
|
|
|
108
108
|
return rulesets.flat();
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service70 extends Context.Service()("@opencode/Permission") {
|
|
112
112
|
}
|
|
113
|
-
var layer = Layer.effect(
|
|
114
|
-
const bus = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const agents = yield*
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const saved = yield*
|
|
119
|
-
const hooks = yield*
|
|
113
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
114
|
+
const bus = yield* Service86;
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const agents = yield* Service73;
|
|
117
|
+
const sessions = yield* Service71;
|
|
118
|
+
const saved = yield* Service72;
|
|
119
|
+
const hooks = yield* Service74;
|
|
120
120
|
const pending = new Map;
|
|
121
121
|
let closed = false;
|
|
122
122
|
const close = Effect.gen(function* () {
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID11.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
205
205
|
}));
|
|
206
206
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
207
207
|
if (closed)
|
|
208
|
-
return { id: input.id ??
|
|
208
|
+
return { id: input.id ?? ID11.create(), effect: "deny" };
|
|
209
209
|
const result = yield* evaluateInput(input);
|
|
210
210
|
const value = request(input, result.message);
|
|
211
211
|
if (result.effect === "ask")
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
247
247
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
248
248
|
const existing = pending.get(input.requestID);
|
|
249
249
|
if (!existing)
|
|
250
|
-
return yield* new
|
|
250
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
251
251
|
yield* bus.publish(Permission.Event.Replied, {
|
|
252
252
|
sessionID: existing.request.sessionID,
|
|
253
253
|
requestID: existing.request.id,
|
|
@@ -302,12 +302,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
302
302
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
303
303
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
304
304
|
});
|
|
305
|
-
return
|
|
305
|
+
return Service70.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
|
|
306
306
|
}));
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
307
|
+
var node73 = makeLocationNode({
|
|
308
|
+
service: Service70,
|
|
309
309
|
layer,
|
|
310
|
-
deps: [
|
|
310
|
+
deps: [node89, node86, node76, node74, node75, node77]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { PermissionEffect,
|
|
313
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service70, node73, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service83
|
|
8
|
+
} from "./file-retention-vdv0ex2k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./file-retention-rjxvw18s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./file-retention-6q2v7yes.js";
|
|
15
15
|
import {
|
|
16
16
|
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-6p53pxzw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./file-retention-dnz500gn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service67,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-q98txggg.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_patch, {
|
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
41
|
Plugin: () => Plugin52,
|
|
42
42
|
name: () => name13,
|
|
43
|
-
toModelContent: () =>
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -100,7 +100,7 @@ var Output9 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
@@ -108,12 +108,12 @@ var toModelContent6 = (output) => [
|
|
|
108
108
|
var Plugin52 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service68;
|
|
112
|
+
const access = yield* Service67;
|
|
113
113
|
const fileMutation = yield* Service13;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service61;
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name13,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -285,7 +285,7 @@ var Plugin52 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent5(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export { name13, Input13, Applied2, Output9,
|
|
348
|
+
export { name13, Input13, Applied2, Output9, toModelContent5, Plugin52, exports_patch };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node79
|
|
4
|
+
} from "./file-retention-a2wbfja7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-retention-vdv0ex2k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./file-retention-x8493zn3.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service6,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
|
+
node: () => node8
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service6, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service75;
|
|
40
|
+
const watcher = yield* Service76;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service83;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service6.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node8 = makeLocationNode({
|
|
74
|
+
service: Service6,
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node78, FSUtil.node, node79, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service6,
|
|
80
|
+
layer: Layer.succeed(Service6, Service6.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
|
|
|
138
138
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service6, layer7, node8, empty2, exports_source };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service48
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-6yakppr8.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-00ve6mdn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-mygmh7kq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./file-retention-n67qzrze.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_skill4, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
25
|
const instances = yield* Service48;
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service60), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./file-retention-j269d26h.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service28,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-00ve6mdn.js";
|
|
18
18
|
import {
|
|
19
19
|
make21,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-3rex4wkr.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event4,
|
|
31
31
|
GuiBundle: () => GuiBundle2,
|
|
32
32
|
ID: () => ID6,
|
|
33
|
-
Info: () =>
|
|
33
|
+
Info: () => Info5,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service28,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node20
|
|
40
40
|
});
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
48
|
-
const bus = yield*
|
|
49
|
-
const kv = yield*
|
|
47
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
48
|
+
const bus = yield* Service86;
|
|
49
|
+
const kv = yield* Service87;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service28.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node20 = Node.makeLocationNode({
|
|
236
|
+
service: Service28,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node20, exports_plugin2, Event4, GuiBundle2, ID6, Info5, Source2, State2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-7xdaqeat.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./file-retention-yabd269j.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID14.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info22.make({
|
|
122
|
+
...Info22.default(ID15.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID14.make(remote.id),
|
|
125
|
+
providerID: ID15.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./file-retention-x8493zn3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./file-retention-qz6mm41d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
register: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin26,
|
|
16
|
+
register: () => register7
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin26 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
yield*
|
|
23
|
+
yield* register7(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
26
|
+
var register7 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service75;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin26, register7, exports_mcp2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-m70wzxpa.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Schema } from "effect";
|
|
19
19
|
var isAborted = Schema.is(Schema.Struct({ error: Schema.Struct({ type: Schema.Literal("aborted") }) }));
|
|
20
|
-
var
|
|
20
|
+
var register3 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
21
21
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
22
22
|
event.headers[HEADER2] = event.kind;
|
|
23
23
|
if (event.kind !== "primary")
|
|
@@ -47,4 +47,4 @@ var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
47
47
|
}), { providerID: ID3 });
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { register3, exports_session2 };
|