@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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./managed-policy-5dpktnqk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -16,10 +16,10 @@ __export(exports_command4, {
|
|
|
16
16
|
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
18
|
Info: () => Info6,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service40,
|
|
21
|
+
layer: () => layer15,
|
|
22
|
+
node: () => node43
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -27,7 +27,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
27
27
|
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
28
|
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -55,7 +55,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service40.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node43 = makeLocationNode({
|
|
75
|
+
service: Service40,
|
|
76
|
+
layer: layer15,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export { Info6,
|
|
89
|
+
export { Info6, NotFoundError5, ExecutionError2, Service40, layer15, node43, exports_command4, Event6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./managed-policy-yj382vm2.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./managed-policy-cc75tkym.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./managed-policy-67gx64xn.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./managed-policy-4q8xb7vk.js";
|
|
18
18
|
import {
|
|
19
19
|
Service7
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-5tcm9639.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-d3y08a9a.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin43
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin43 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service48;
|
|
43
43
|
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin13 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin13 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin13 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin13 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin13 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin43, exports_skill3 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./managed-policy-cc75tkym.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./managed-policy-r3d0j56v.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_filesystem, {
|
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service15,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node17
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event3 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service80;
|
|
115
|
+
const search = yield* Service16;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service15.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node17 = makeLocationNode({
|
|
170
|
+
service: Service15,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node84, node18]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info13
|
|
6
|
+
} from "./managed-policy-cavr175a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info13)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-xyafkbt0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service39,
|
|
17
|
+
node42
|
|
18
|
+
} from "./managed-policy-y0mc46pw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node80
|
|
22
|
+
} from "./managed-policy-fqtvmpfq.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./managed-policy-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service38,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node41
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service38 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service39;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service38.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node41 = makeLocationNode({
|
|
277
|
+
service: Service38,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node80, node42]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service38, node41, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node54
|
|
9
|
+
} from "./managed-policy-fw3mavjd.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-3mentpw2.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service3,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node4,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service51;
|
|
335
|
+
return Service3.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node4 = makeLocationNode({ service: Service3, layer, deps: [node54] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
|