@opencode/core 0.0.0-dev-20587 → 0.0.0-dev-20594
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{reference-8c1ypbfp.js → managed-policy-02wmet1s.js} +25 -25
- package/dist/chunks/{reference-qz5yzqrb.js → managed-policy-06yeazan.js} +1 -1
- package/dist/chunks/{reference-m74y07zs.js → managed-policy-0ge1h6kx.js} +5 -5
- package/dist/chunks/{reference-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0vbcp93d.js → managed-policy-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-crdrr85v.js → managed-policy-145xw1zc.js} +3 -3
- package/dist/chunks/{reference-qapy5d55.js → managed-policy-14wx0bkd.js} +13 -13
- package/dist/chunks/{reference-hnn8dgg2.js → managed-policy-16z57f9y.js} +29 -29
- package/dist/chunks/{reference-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-1dvck2a7.js → managed-policy-1dvck2a7.js} +2 -2
- package/dist/chunks/{reference-906tg66d.js → managed-policy-1epzdntc.js} +11 -11
- package/dist/chunks/{reference-xwz313q0.js → managed-policy-1rjc8rx3.js} +20 -20
- package/dist/chunks/{reference-2z6nk9rc.js → managed-policy-254rtawq.js} +19 -19
- package/dist/chunks/{reference-mzzkv1b5.js → managed-policy-29garr4v.js} +1 -1
- package/dist/chunks/{reference-e8mb8cqx.js → managed-policy-29wxfsp2.js} +36 -36
- package/dist/chunks/{reference-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-4dq32q0a.js → managed-policy-2b2w1tdt.js} +8 -8
- package/dist/chunks/{reference-0fmqyjny.js → managed-policy-2erjdy5k.js} +22 -22
- package/dist/chunks/{reference-z493x013.js → managed-policy-2g7kj2k8.js} +6 -6
- package/dist/chunks/{reference-nxpdv9mh.js → managed-policy-2qqgyr6a.js} +22 -22
- package/dist/chunks/{reference-1qnvanna.js → managed-policy-2qx31yc6.js} +20 -20
- package/dist/chunks/{reference-56gdpj1q.js → managed-policy-33w4ejhs.js} +6 -6
- package/dist/chunks/{reference-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-xkwk6fd6.js → managed-policy-3hanrfct.js} +25 -25
- package/dist/chunks/{reference-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-k16ae6jh.js → managed-policy-3mentpw2.js} +24 -24
- package/dist/chunks/{reference-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-1xxd6k95.js → managed-policy-3zbwexce.js} +8 -8
- package/dist/chunks/{reference-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-h9353qrc.js → managed-policy-459mc33k.js} +22 -22
- package/dist/chunks/{reference-merhc0f7.js → managed-policy-46v0s1hp.js} +15 -15
- package/dist/chunks/{reference-rarzp9d6.js → managed-policy-4bsrnaz3.js} +45 -45
- package/dist/chunks/{reference-be7qvw84.js → managed-policy-4c2df9zx.js} +4 -4
- package/dist/chunks/{reference-zzrgx2qg.js → managed-policy-4hh2xy14.js} +3 -3
- package/dist/chunks/{reference-7mnt2941.js → managed-policy-4q8xb7vk.js} +28 -28
- package/dist/chunks/{reference-3yp4znr7.js → managed-policy-4qz2jy35.js} +13 -13
- package/dist/chunks/{reference-2ccvkpx1.js → managed-policy-4ts7tf6z.js} +2 -2
- package/dist/chunks/{reference-9nxp2j1r.js → managed-policy-59790n6y.js} +12 -12
- package/dist/chunks/{reference-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-b5hvc6g6.js → managed-policy-5dpktnqk.js} +12 -12
- package/dist/chunks/{reference-h26940z0.js → managed-policy-5j1v3jqf.js} +33 -33
- package/dist/chunks/{reference-jt8tan63.js → managed-policy-5md23d48.js} +14 -14
- package/dist/chunks/{reference-dkr6ry3g.js → managed-policy-5p07r5rm.js} +10 -10
- package/dist/chunks/{reference-f5gy8qwh.js → managed-policy-5q13c62c.js} +8 -8
- package/dist/chunks/{reference-e3qxr5gk.js → managed-policy-5qd3pb7m.js} +2 -2
- package/dist/chunks/{reference-mwwxnxty.js → managed-policy-5qwkxp89.js} +4 -4
- package/dist/chunks/{reference-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-3cd9n481.js → managed-policy-5tcm9639.js} +5 -5
- package/dist/chunks/managed-policy-619r8v3y.js +18 -0
- package/dist/chunks/{reference-mb14aw74.js → managed-policy-63db42yp.js} +2 -2
- package/dist/chunks/{reference-1jy03gaj.js → managed-policy-65245510.js} +9 -9
- package/dist/chunks/{reference-h2tzc275.js → managed-policy-65jde4my.js} +24 -24
- package/dist/chunks/{reference-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/{reference-1tdshpj3.js → managed-policy-67gx64xn.js} +42 -42
- package/dist/chunks/{reference-rvwrtnmj.js → managed-policy-6ba3xpax.js} +36 -36
- package/dist/chunks/{reference-a2xqkxgc.js → managed-policy-6jyw55rp.js} +18 -18
- package/dist/chunks/{reference-6jw82w3c.js → managed-policy-6m3tp8mj.js} +32 -32
- package/dist/chunks/{reference-s489hxh6.js → managed-policy-6mf7zknn.js} +37 -37
- package/dist/chunks/{reference-6xb47vfp.js → managed-policy-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-6121h2h6.js → managed-policy-6xn9vhwr.js} +2 -2
- package/dist/chunks/{reference-71az546q.js → managed-policy-71az546q.js} +2 -2
- package/dist/chunks/{reference-vbdbrvqk.js → managed-policy-721zw7bm.js} +35 -35
- package/dist/chunks/{reference-p5wc048m.js → managed-policy-7a12vqq0.js} +24 -24
- package/dist/chunks/{reference-2ghygp50.js → managed-policy-7avdme9t.js} +13 -13
- package/dist/chunks/{reference-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-gwcpdn4r.js → managed-policy-7sxxghw0.js} +11 -11
- package/dist/chunks/{reference-9q26wnhp.js → managed-policy-7teayjnf.js} +20 -20
- package/dist/chunks/{reference-75c7h6s3.js → managed-policy-89c57hn9.js} +31 -31
- package/dist/chunks/{reference-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-vqkrcv5y.js → managed-policy-8rp5913h.js} +12 -12
- package/dist/chunks/{reference-7zy8br1g.js → managed-policy-8xkqg01v.js} +3 -3
- package/dist/chunks/{reference-t52a3v9d.js → managed-policy-8yfev5t1.js} +3 -3
- package/dist/chunks/{reference-cfypbh6h.js → managed-policy-91wpvk88.js} +28 -28
- package/dist/chunks/{reference-r9zdjfxd.js → managed-policy-93hnm8e8.js} +33 -33
- package/dist/chunks/{reference-4h0sqrpn.js → managed-policy-93rbxt91.js} +15 -15
- package/dist/chunks/{reference-w36x1trb.js → managed-policy-975ebawg.js} +3 -3
- package/dist/chunks/{reference-zwc3pnar.js → managed-policy-98pk7vxr.js} +25 -25
- package/dist/chunks/{reference-9e5bzkjp.js → managed-policy-9e5bzkjp.js} +3 -3
- package/dist/chunks/{reference-wadaxy67.js → managed-policy-9f69r79s.js} +28 -28
- package/dist/chunks/{reference-0w7ej8g6.js → managed-policy-9hr53hdz.js} +86 -86
- package/dist/chunks/{reference-z6c3x22d.js → managed-policy-9hwaqfsw.js} +5 -5
- package/dist/chunks/{reference-5eqgw8nb.js → managed-policy-9jrdkbpa.js} +8 -8
- package/dist/chunks/{reference-ydm7tw01.js → managed-policy-9qhqs605.js} +31 -31
- package/dist/chunks/{reference-5w2vcsqn.js → managed-policy-9qq8050t.js} +181 -181
- package/dist/chunks/{reference-rcz0qr92.js → managed-policy-9web0d32.js} +9 -9
- package/dist/chunks/{reference-yn6nbke9.js → managed-policy-9x8tc8sp.js} +14 -14
- package/dist/chunks/managed-policy-a1bw3dq9.js +507 -0
- package/dist/chunks/{reference-cpna35qm.js → managed-policy-a2gae43d.js} +13 -13
- package/dist/chunks/{reference-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-c384rd0k.js → managed-policy-ab1k20a6.js} +4 -4
- package/dist/chunks/{reference-hasf9nkd.js → managed-policy-abx012e0.js} +50 -50
- package/dist/chunks/{reference-td76xh55.js → managed-policy-acnatzrp.js} +4 -4
- package/dist/chunks/{reference-1hj56dzs.js → managed-policy-aec1bqve.js} +13 -13
- package/dist/chunks/{reference-mzw9gwxy.js → managed-policy-azks30c4.js} +24 -24
- package/dist/chunks/{reference-60zx66yq.js → managed-policy-b4d01myw.js} +44 -44
- package/dist/chunks/{reference-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-fzztmtyv.js → managed-policy-bgxarxct.js} +92 -92
- package/dist/chunks/{reference-ez6c34s8.js → managed-policy-bkwdfw9d.js} +25 -25
- package/dist/chunks/{reference-9707ta7n.js → managed-policy-bqb67z36.js} +23 -23
- package/dist/chunks/{reference-jk02jdk9.js → managed-policy-c10q7bwq.js} +26 -26
- package/dist/chunks/{reference-c20khjev.js → managed-policy-cavr175a.js} +21 -21
- package/dist/chunks/{reference-tbv9z12t.js → managed-policy-cc75tkym.js} +16 -16
- package/dist/chunks/{reference-2vs2nh1n.js → managed-policy-ckf8nxjz.js} +4 -4
- package/dist/chunks/{reference-gnw3t1dc.js → managed-policy-cqwk4fcq.js} +3 -3
- package/dist/chunks/{reference-z6sqrxtq.js → managed-policy-d3y08a9a.js} +6 -6
- package/dist/chunks/{reference-89anvpvk.js → managed-policy-d6bttsxy.js} +5 -5
- package/dist/chunks/{reference-9f35bx3k.js → managed-policy-d6qjz85w.js} +15 -15
- package/dist/chunks/{reference-3dptaw0d.js → managed-policy-d8ck81wr.js} +11 -11
- package/dist/chunks/{reference-j02h87v3.js → managed-policy-d8kjn5t6.js} +3 -3
- package/dist/chunks/{reference-sfq2mayw.js → managed-policy-d8mxbdrt.js} +19 -19
- package/dist/chunks/{reference-1v231d3m.js → managed-policy-d9gc1nmt.js} +35 -35
- package/dist/chunks/{reference-8zs2xvcx.js → managed-policy-db0nhp4v.js} +17 -17
- package/dist/chunks/{reference-eptmzqw1.js → managed-policy-dbc1qc54.js} +18 -18
- package/dist/chunks/{reference-n7szyvye.js → managed-policy-dd07kq7c.js} +18 -18
- package/dist/chunks/{reference-ckapse2z.js → managed-policy-dda53qcs.js} +26 -26
- package/dist/chunks/{reference-h1wh6nnm.js → managed-policy-df8jaf6d.js} +4 -4
- package/dist/chunks/{reference-33vkvr6x.js → managed-policy-dm99yka6.js} +35 -35
- package/dist/chunks/{reference-51r1ga28.js → managed-policy-dnge0aqq.js} +35 -35
- package/dist/chunks/{reference-5w6ne2rj.js → managed-policy-dnt2jfde.js} +10 -10
- package/dist/chunks/{reference-dpkg50ah.js → managed-policy-dpkg50ah.js} +1 -1
- package/dist/chunks/{reference-c02d881x.js → managed-policy-dq17f564.js} +15 -15
- package/dist/chunks/{reference-57b9ws8p.js → managed-policy-drwq78ky.js} +5 -5
- package/dist/chunks/{reference-hryntbm6.js → managed-policy-dw835dm2.js} +44 -44
- package/dist/chunks/{reference-5e1anv4t.js → managed-policy-dzh8x6fa.js} +19 -19
- package/dist/chunks/{reference-jh2kc7t1.js → managed-policy-e10k1cys.js} +17 -17
- package/dist/chunks/{reference-vaws9nke.js → managed-policy-e4vaeb0t.js} +29 -29
- package/dist/chunks/{reference-brt5an88.js → managed-policy-e8vwfchq.js} +9 -9
- package/dist/chunks/{reference-a7ykahx8.js → managed-policy-e9v0a8nt.js} +24 -24
- package/dist/chunks/{reference-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-1ahxm6sd.js → managed-policy-enpcsfks.js} +31 -31
- package/dist/chunks/{reference-mvfsc1pv.js → managed-policy-eq1pz5kg.js} +3 -3
- package/dist/chunks/{reference-aen5yss8.js → managed-policy-eq6gwms1.js} +20 -20
- package/dist/chunks/{reference-4mwpykj0.js → managed-policy-eqkxs06z.js} +6 -6
- package/dist/chunks/{reference-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-xasgz6m5.js → managed-policy-evg6eabx.js} +7 -7
- package/dist/chunks/managed-policy-ewksh3kr.js +26 -0
- package/dist/chunks/{reference-2c7hjkzv.js → managed-policy-exstxen9.js} +17 -17
- package/dist/chunks/{reference-z91awrxv.js → managed-policy-f6kvqh3r.js} +18 -18
- package/dist/chunks/{reference-7r0707g4.js → managed-policy-fnw4p95j.js} +43 -43
- package/dist/chunks/{reference-8mbscqky.js → managed-policy-fqtvmpfq.js} +8 -8
- package/dist/chunks/{reference-0a424z4m.js → managed-policy-fw3mavjd.js} +24 -24
- package/dist/chunks/{reference-e3cpgeff.js → managed-policy-fzka5vhq.js} +11 -11
- package/dist/chunks/{reference-br0tr5aq.js → managed-policy-g0445xdp.js} +8 -8
- package/dist/chunks/{reference-4ttn132a.js → managed-policy-g17w5wg1.js} +6 -6
- package/dist/chunks/{reference-13st69t8.js → managed-policy-g24nezpw.js} +9 -9
- package/dist/chunks/{reference-4jrcr0tk.js → managed-policy-g4my6z3y.js} +17 -17
- package/dist/chunks/{reference-q9099wq0.js → managed-policy-g8ytx0e6.js} +6 -6
- package/dist/chunks/{reference-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-rx5v959s.js → managed-policy-gear7qnb.js} +48 -48
- package/dist/chunks/{reference-addxnjmp.js → managed-policy-gqtdsdt7.js} +4 -4
- package/dist/chunks/{reference-0dh5pvxp.js → managed-policy-gs74ya0r.js} +37 -37
- package/dist/chunks/{reference-4z58m4b4.js → managed-policy-gw7cjrad.js} +4 -4
- package/dist/chunks/{reference-nh77y64w.js → managed-policy-gws45dxs.js} +10 -10
- package/dist/chunks/{reference-fedq4t26.js → managed-policy-h07qkwg0.js} +8 -8
- package/dist/chunks/{reference-h2b79v29.js → managed-policy-h2b79v29.js} +2 -2
- package/dist/chunks/{reference-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-276fgt7k.js → managed-policy-hmgnztse.js} +18 -18
- package/dist/chunks/{reference-0te1aq7m.js → managed-policy-hspec0h6.js} +32 -32
- package/dist/chunks/{reference-18pd0k8w.js → managed-policy-j1rkkxtq.js} +11 -11
- package/dist/chunks/{reference-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-tbmac1c7.js → managed-policy-j5rxtxht.js} +4 -4
- package/dist/chunks/{reference-w9z1evgj.js → managed-policy-j74g7mqr.js} +9 -9
- package/dist/chunks/{reference-vcyfbsct.js → managed-policy-j7v3c1ew.js} +11 -11
- package/dist/chunks/{reference-zcatgnda.js → managed-policy-j9nbzdbc.js} +12 -12
- package/dist/chunks/{reference-zn5p4xjj.js → managed-policy-jr8cgfk1.js} +4 -4
- package/dist/chunks/{reference-vhtvrbyw.js → managed-policy-jvezg3bv.js} +10 -10
- package/dist/chunks/{reference-9sqgpkz6.js → managed-policy-k08ezkqp.js} +11 -11
- package/dist/chunks/{reference-g7xeyaj0.js → managed-policy-k7y67xhs.js} +10 -10
- package/dist/chunks/{reference-3v047kxf.js → managed-policy-kc20gndt.js} +11 -11
- package/dist/chunks/{reference-sexz0h36.js → managed-policy-kqjv8prj.js} +21 -21
- package/dist/chunks/{reference-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-9eh6sf6d.js → managed-policy-m64xvjj1.js} +5 -5
- package/dist/chunks/{reference-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-msxdz3am.js → managed-policy-me746yqy.js} +5 -5
- package/dist/chunks/{reference-pj1gdqhf.js → managed-policy-mk8h694h.js} +7 -7
- package/dist/chunks/{reference-vh4dbhj0.js → managed-policy-mm3pa1p9.js} +44 -44
- package/dist/chunks/{reference-ae75as9k.js → managed-policy-n48dmbbt.js} +33 -23
- package/dist/chunks/{reference-57e9z27j.js → managed-policy-n9axn9y3.js} +8 -8
- package/dist/chunks/{reference-h4pjr44c.js → managed-policy-nbqnkjck.js} +18 -18
- package/dist/chunks/{reference-sjcrvc3z.js → managed-policy-nedqmk46.js} +15 -15
- package/dist/chunks/{reference-tedbzwbh.js → managed-policy-nepz78e5.js} +9 -9
- package/dist/chunks/{reference-s8262drx.js → managed-policy-nhnhrcwq.js} +25 -25
- package/dist/chunks/{reference-s48prvxc.js → managed-policy-nrs2fee3.js} +5 -5
- package/dist/chunks/{reference-hggj5nbt.js → managed-policy-p3mjp9vn.js} +74 -74
- package/dist/chunks/{reference-5cqz128n.js → managed-policy-p4qmxczc.js} +16 -16
- package/dist/chunks/{reference-jax8j6c6.js → managed-policy-pczz4718.js} +15 -15
- package/dist/chunks/{reference-n90frd9p.js → managed-policy-phtj4jat.js} +5 -5
- package/dist/chunks/{reference-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{reference-as7cf5zz.js → managed-policy-pkqb68ka.js} +4 -4
- package/dist/chunks/{reference-0v0fh1f4.js → managed-policy-ppk1gead.js} +45 -45
- package/dist/chunks/{reference-4rzegzkw.js → managed-policy-py9kw9tn.js} +23 -23
- package/dist/chunks/{reference-vkp904sp.js → managed-policy-pyfrz2yp.js} +16 -16
- package/dist/chunks/{reference-0j77ygfz.js → managed-policy-q0xm7vwc.js} +6 -6
- package/dist/chunks/{reference-avw4htaf.js → managed-policy-q335xte2.js} +30 -30
- package/dist/chunks/{reference-28at9kpj.js → managed-policy-q6w467xr.js} +16 -16
- package/dist/chunks/{reference-d5m53j50.js → managed-policy-q8wzdh58.js} +35 -35
- package/dist/chunks/{reference-mr4yzd1n.js → managed-policy-qc4vvddf.js} +11 -11
- package/dist/chunks/{reference-2k8khapm.js → managed-policy-qgn6gcr1.js} +5 -5
- package/dist/chunks/{reference-qmqgtz8f.js → managed-policy-qmqgtz8f.js} +2 -2
- package/dist/chunks/{reference-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-4bevpzhv.js → managed-policy-qqcbs79k.js} +3 -3
- package/dist/chunks/{reference-r44petzp.js → managed-policy-qqrjxc2w.js} +12 -12
- package/dist/chunks/{reference-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-axs6pdy0.js → managed-policy-qvreyy9g.js} +5 -5
- package/dist/chunks/{reference-zyk1yjk8.js → managed-policy-qygbw77c.js} +5 -5
- package/dist/chunks/{reference-hdrn7jtd.js → managed-policy-r3d0j56v.js} +30 -30
- package/dist/chunks/managed-policy-r3w4rbh2.js +253 -0
- package/dist/chunks/{reference-54ma36ye.js → managed-policy-r94pvvab.js} +4 -4
- package/dist/chunks/{reference-x6xjy9sr.js → managed-policy-r9d9xsbb.js} +32 -32
- package/dist/chunks/{reference-bydnjh3t.js → managed-policy-r9w3djhf.js} +9 -9
- package/dist/chunks/{reference-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-y1pgr5ms.js → managed-policy-rent2jd4.js} +13 -13
- package/dist/chunks/{reference-yp2x3t23.js → managed-policy-rhraev7y.js} +4 -4
- package/dist/chunks/{reference-1p07q0wb.js → managed-policy-rkprpv83.js} +4 -4
- package/dist/chunks/{reference-mm5yq9f6.js → managed-policy-s1xp6p9p.js} +6 -6
- package/dist/chunks/{reference-40etmpxy.js → managed-policy-shtc3zvy.js} +22 -22
- package/dist/chunks/{reference-c2sed5cq.js → managed-policy-ss358qx3.js} +3 -3
- package/dist/chunks/{reference-5ga8pmy8.js → managed-policy-sshrb621.js} +32 -32
- package/dist/chunks/{reference-as4zy6vm.js → managed-policy-sz0fczdy.js} +6 -6
- package/dist/chunks/{reference-6apts7gk.js → managed-policy-t1xnf4e5.js} +5 -5
- package/dist/chunks/{reference-qa3qhgw8.js → managed-policy-t2fc4mz5.js} +4 -4
- package/dist/chunks/{reference-bgjpcfh1.js → managed-policy-t5h6g2ht.js} +44 -44
- package/dist/chunks/{reference-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{reference-62rnp32c.js → managed-policy-tekbgh3x.js} +10 -10
- package/dist/chunks/{reference-9bzydxt0.js → managed-policy-thxbv41p.js} +21 -21
- package/dist/chunks/{reference-yeezw0cj.js → managed-policy-tpaw23f3.js} +11 -11
- package/dist/chunks/{reference-fpecnkgp.js → managed-policy-v0es1rhs.js} +9 -9
- package/dist/chunks/{reference-xwjbp7xw.js → managed-policy-v23f9kf7.js} +58 -58
- package/dist/chunks/{reference-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-k8r11mjf.js → managed-policy-vsbamy9h.js} +13 -13
- package/dist/chunks/{reference-da456p6f.js → managed-policy-vvmfhg21.js} +21 -21
- package/dist/chunks/{reference-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-mkh9k1h6.js → managed-policy-vzfpntg8.js} +18 -18
- package/dist/chunks/{reference-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-84txncab.js → managed-policy-w1eejvng.js} +5 -5
- package/dist/chunks/{reference-yc4mm6dw.js → managed-policy-w2722vtt.js} +36 -36
- package/dist/chunks/{reference-w2h15q85.js → managed-policy-w39jehkq.js} +5 -5
- package/dist/chunks/{reference-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-rt8ggq5v.js → managed-policy-w677k9fj.js} +19 -19
- package/dist/chunks/{reference-6n0c2nxw.js → managed-policy-w6rbpf4e.js} +39 -39
- package/dist/chunks/{reference-e51et464.js → managed-policy-w7066q4p.js} +5 -5
- package/dist/chunks/{reference-62txs9jh.js → managed-policy-w7a2szgj.js} +11 -11
- package/dist/chunks/{reference-bk2zmp9c.js → managed-policy-w973dr2w.js} +13 -13
- package/dist/chunks/{reference-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{reference-n21nhzwg.js → managed-policy-weagkh0e.js} +9 -9
- package/dist/chunks/{reference-1sx5ttk3.js → managed-policy-wnhksab4.js} +47 -47
- package/dist/chunks/{reference-gqpz8759.js → managed-policy-wpkjvcng.js} +11 -11
- package/dist/chunks/{reference-rhjbct0v.js → managed-policy-wv396vej.js} +8 -8
- package/dist/chunks/{reference-3556dn8t.js → managed-policy-wxyynt4w.js} +1 -1
- package/dist/chunks/{reference-axsdja44.js → managed-policy-x2ntk5yv.js} +20 -20
- package/dist/chunks/{reference-fmt1hs8y.js → managed-policy-x8v70qwz.js} +15 -15
- package/dist/chunks/{reference-tgjyt6x8.js → managed-policy-xjp9ycw1.js} +31 -31
- package/dist/chunks/{reference-f65bz2q7.js → managed-policy-xkhn0stb.js} +5 -5
- package/dist/chunks/{reference-xkntkrq7.js → managed-policy-xkntkrq7.js} +2 -2
- package/dist/chunks/{reference-4n407jcq.js → managed-policy-xs81jx4r.js} +3 -3
- package/dist/chunks/{reference-qjy48y5a.js → managed-policy-xsjbfs7s.js} +12 -12
- package/dist/chunks/{reference-f0k10bmp.js → managed-policy-xvdg8f15.js} +8 -8
- package/dist/chunks/{reference-xyafkbt0.js → managed-policy-xyafkbt0.js} +3 -3
- package/dist/chunks/{reference-csmvz898.js → managed-policy-y0mc46pw.js} +9 -9
- package/dist/chunks/{reference-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-ftyfyfhe.js → managed-policy-y6zxh1t7.js} +12 -12
- package/dist/chunks/{reference-f79gec3w.js → managed-policy-yj382vm2.js} +22 -22
- package/dist/chunks/{reference-vaaeps5c.js → managed-policy-yj7tpypp.js} +10 -10
- package/dist/chunks/{reference-4tbp73he.js → managed-policy-yv9p7m88.js} +11 -11
- package/dist/chunks/{reference-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-wf5a3he0.js → managed-policy-z2fqwqvv.js} +14 -14
- package/dist/chunks/{reference-ek9c5stx.js → managed-policy-zfasm7f5.js} +8 -8
- package/dist/chunks/{reference-f9a4pn72.js → managed-policy-zggnq27k.js} +7 -7
- package/dist/chunks/{reference-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-hneefbm4.js → managed-policy-zs5zztja.js} +6 -6
- package/dist/chunks/{reference-g047z55c.js → managed-policy-zvht52jd.js} +17 -17
- package/dist/chunks/{reference-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/chunks/{reference-q0a6wh5g.js → managed-policy-zxyy8bfe.js} +65 -65
- package/dist/chunks/{reference-bp8fbaqn.js → managed-policy-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +321 -346
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/reference-0yw8jrmx.js +0 -26
- package/dist/chunks/reference-8eazr78z.js +0 -253
- package/dist/chunks/reference-9sh4wc5j.js +0 -18
- package/dist/chunks/reference-smgnyfxh.js +0 -507
- /package/dist/chunks/{reference-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → managed-policy-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info24,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info24 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./managed-policy-5dpktnqk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service50,
|
|
6
6
|
Event11
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-vsbamy9h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service50;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin49 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-dnt2jfde.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin37 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin24, exports_tavily };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-dw835dm2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./managed-policy-cc75tkym.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node76
|
|
14
|
+
} from "./managed-policy-zxyy8bfe.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
node: () => node16,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service72;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node84, node76] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./managed-policy-cc75tkym.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./managed-policy-fw3mavjd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service19,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-w973dr2w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./managed-policy-d6qjz85w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./managed-policy-zxyy8bfe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-hmgnztse.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin13,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin13 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service14;
|
|
110
|
+
const fileMutation = yield* Service19;
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const formatter = yield* Service20;
|
|
113
|
+
const location = yield* Service80;
|
|
114
|
+
const permission = yield* Service72;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input10,
|
|
120
|
+
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin25 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name10, Input10, Output7, Plugin13, exports_edit };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-dm99yka6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node65
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID8,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service62.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service62, locationLayer2, node65, exports_aisdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin22,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin22 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin42 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin22, exports_identity };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-dnt2jfde.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin20 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin35 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin35 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin20, exports_parallel };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-dnt2jfde.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./managed-policy-5j1v3jqf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-93hnm8e8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-dm99yka6.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID8.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service69;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./managed-policy-67gx64xn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./managed-policy-5q13c62c.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin39
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin39 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service48;
|
|
29
|
+
const managed = yield* Service22;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin19 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin39, exports_policy };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-dm99yka6.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-q8wzdh58.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|