@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-zggnq27k.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./reference-b5hvc6g6.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-5dpktnqk.js";
|
|
9
5
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
6
|
+
Service66,
|
|
7
|
+
node69
|
|
8
|
+
} from "./managed-policy-e4vaeb0t.js";
|
|
9
|
+
import {
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./managed-policy-dw835dm2.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./managed-policy-cc75tkym.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-nepz78e5.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./managed-policy-zxyy8bfe.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service53,
|
|
30
|
+
node57
|
|
31
|
+
} from "./managed-policy-dbc1qc54.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service21,
|
|
41
|
+
node: () => node23
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service21 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service82;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service72;
|
|
54
|
+
const forms = yield* Service66;
|
|
55
|
+
const rpc = yield* Service53;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service21.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node23 = makeLocationNode({
|
|
84
|
+
service: Service21,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node86, node84, node76, node85, node69, node57]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service21, node23, exports_location_lifecycle };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./managed-policy-qqrjxc2w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./managed-policy-cc75tkym.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node87, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./managed-policy-5dpktnqk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./managed-policy-67gx64xn.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin47
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin47 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service48;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin9 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin47, exports_websearch2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./managed-policy-azks30c4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./managed-policy-3zbwexce.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-jr8cgfk1.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./managed-policy-67gx64xn.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./managed-policy-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin33
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin33 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service48;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin18 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin33, exports_agent2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./managed-policy-5dpktnqk.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-dzh8x6fa.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured9,
|
|
26
|
+
layer: () => layer24,
|
|
27
|
+
node: () => node70
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service67 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service82;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service67.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer24 = makeLayer();
|
|
263
|
+
var configured9 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service67,
|
|
265
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
266
|
+
deps: [node86, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node70 = configured9();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError8, Service67, layer24, configured9, node70, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-975ebawg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./managed-policy-eqkxs06z.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-gw7cjrad.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-d8ck81wr.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-enpcsfks.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./managed-policy-9hr53hdz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service57;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-gear7qnb.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|