@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
2
|
Service88,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-q88jad4y.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service86,
|
|
8
|
+
node89
|
|
9
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-kgk83ggj.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
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./file-retention-h525pamn.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -73,10 +73,10 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
75
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
|
-
const bus = yield*
|
|
76
|
+
const bus = yield* Service86;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service23;
|
|
79
|
+
const store = yield* Service71;
|
|
80
80
|
const db = (yield* Service88).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -165,7 +165,7 @@ Recent conversation:
|
|
|
165
165
|
var node3 = makeLocationNode({
|
|
166
166
|
service: Service2,
|
|
167
167
|
layer: layer3,
|
|
168
|
-
deps: [
|
|
168
|
+
deps: [node89, llmClient2, node27, node74, node91]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
171
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./file-retention-hp6zvnkh.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
|
-
|
|
6
|
+
Event19,
|
|
7
7
|
Service82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-ntck3dtd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID15
|
|
11
|
+
} from "./file-retention-7xdaqeat.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-82d21a7w.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
46
|
const credentials = yield* Service82;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service86;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
50
50
|
}));
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID15.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,7 +67,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID15.googleVertex);
|
|
71
71
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID15.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID15.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID15.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID15.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID15.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./file-retention-2kg89srt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info17
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info21)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info17, exports_agent4 };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/codemode/execution.ts
|
|
6
|
+
var exports_execution = {};
|
|
7
|
+
__export(exports_execution, {
|
|
8
|
+
CodeModeExecution: () => exports_execution,
|
|
9
|
+
Service: () => Service39
|
|
10
|
+
});
|
|
11
|
+
import { Context } from "effect";
|
|
12
|
+
|
|
13
|
+
class Service39 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { Service39, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./file-retention-x5pnbcqp.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make22
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make22 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service85;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make31 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make22, exports_git2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider3 = {};
|
|
10
10
|
__export(exports_provider3, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider3,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info14 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info19, exports_provider3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-retention-a2wbfja7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./file-retention-vdv0ex2k.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./file-retention-x8493zn3.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9sy1j1hj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File2,
|
|
15
|
+
Service40
|
|
16
|
+
} from "./file-retention-z9ak6f41.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin36 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service40;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service75;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service83;
|
|
44
|
+
const watcher = yield* Service76;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin6 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File2 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin6 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File2);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin6 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File2)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin6 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin36, exports_instruction };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-nq0jwwks.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin7 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin22 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin7, exports_firecrawl };
|