@opencode/core 0.0.0-dev-20557 → 0.0.0-dev-20559
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-fsrxrd15.js → integration-0n1m97p8.js} +16 -16
- package/dist/chunks/{command-ba9dmd1r.js → integration-0nrwha1n.js} +7 -7
- package/dist/chunks/{command-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-a2rpfkac.js → integration-0xqyf95c.js} +4 -4
- package/dist/chunks/{command-wb8vnrxj.js → integration-1afj9w30.js} +22 -22
- package/dist/chunks/{command-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dvck2a7.js → integration-1dvck2a7.js} +2 -2
- package/dist/chunks/{command-yzs2ct5k.js → integration-1hddc0ez.js} +48 -48
- package/dist/chunks/{command-r41a70fd.js → integration-1jfd0cc7.js} +3 -3
- package/dist/chunks/{command-1n500b33.js → integration-21gxxnb9.js} +29 -29
- package/dist/chunks/{command-7d4y5228.js → integration-25r1j187.js} +17 -17
- package/dist/chunks/{command-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-gyheh41a.js → integration-2dh77zgk.js} +80 -80
- package/dist/chunks/{command-hn5dn8nf.js → integration-2g2qndgs.js} +10 -10
- package/dist/chunks/{command-7dqw4kz8.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{command-zcr4n024.js → integration-2kw5c8ge.js} +15 -15
- package/dist/chunks/{command-h560e691.js → integration-2nnxyksf.js} +13 -13
- package/dist/chunks/{command-akgm1adh.js → integration-2px63w2g.js} +9 -9
- package/dist/chunks/{command-fe7r1v7c.js → integration-2qpg8hvw.js} +4 -4
- package/dist/chunks/{command-56gdpj1q.js → integration-33w4ejhs.js} +6 -6
- package/dist/chunks/{command-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-4z58m4b4.js → integration-3sj8yt8v.js} +4 -4
- package/dist/chunks/{command-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-pyydss9x.js → integration-3v9zqnbq.js} +4 -4
- package/dist/chunks/{command-5w6ne2rj.js → integration-3w0qz7bz.js} +11 -11
- package/dist/chunks/{command-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-0381t2qh.js → integration-46rrtey5.js} +171 -171
- package/dist/chunks/{command-masq385f.js → integration-48fsd0ze.js} +21 -21
- package/dist/chunks/{command-nvxc2gt2.js → integration-4b96sq08.js} +11 -11
- package/dist/chunks/{command-qsz4qh77.js → integration-4b9qmq0d.js} +15 -15
- package/dist/chunks/{command-jb7f9fbg.js → integration-4m5j9vj5.js} +20 -20
- package/dist/chunks/{command-y56ehv6b.js → integration-4nj4bn9q.js} +5 -5
- package/dist/chunks/{command-2v6want2.js → integration-4rz3aacp.js} +36 -36
- package/dist/chunks/{command-6c08fhdk.js → integration-4t430f93.js} +23 -23
- package/dist/chunks/{command-2ccvkpx1.js → integration-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-7wrx96wc.js → integration-4zt4rykk.js} +89 -89
- package/dist/chunks/integration-53j303dn.js +26 -0
- package/dist/chunks/{command-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{command-f3r6tdft.js → integration-55qae9zm.js} +38 -38
- package/dist/chunks/{command-45wc6gs6.js → integration-56p4k42z.js} +22 -22
- package/dist/chunks/{command-9qmfnzwh.js → integration-58ctt3vw.js} +9 -9
- package/dist/chunks/{command-srkthfyp.js → integration-590nj5ba.js} +10 -10
- package/dist/chunks/{command-698prn30.js → integration-5amwpbtf.js} +35 -35
- package/dist/chunks/{command-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{command-tk14y25j.js → integration-5fykfdj7.js} +5 -5
- package/dist/chunks/{command-mwqvydg1.js → integration-5jr74dtx.js} +1 -1
- package/dist/chunks/{command-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-mwckezc6.js → integration-5xe1z5pd.js} +11 -11
- package/dist/chunks/{command-01cdp0v3.js → integration-5y8bwb6n.js} +11 -11
- package/dist/chunks/{command-tpw6cwsb.js → integration-5yzzbxa7.js} +8 -8
- package/dist/chunks/{command-tkakx37z.js → integration-5zkn5psj.js} +35 -35
- package/dist/chunks/{command-tbw7bgph.js → integration-62n8sp77.js} +40 -40
- package/dist/chunks/{command-zj39adwq.js → integration-633ngz6x.js} +8 -8
- package/dist/chunks/{command-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{command-10wq935e.js → integration-69hsyh17.js} +13 -13
- package/dist/chunks/{command-gb0da2f9.js → integration-6m372yhf.js} +13 -13
- package/dist/chunks/{command-s3ybr6j1.js → integration-6mw7ctgq.js} +11 -11
- package/dist/chunks/{command-6w7ey7g6.js → integration-6mxns61s.js} +5 -5
- package/dist/chunks/{command-mbsm52da.js → integration-6njf40he.js} +21 -21
- package/dist/chunks/{command-zazrq5bn.js → integration-6vk1te3k.js} +11 -11
- package/dist/chunks/{command-71az546q.js → integration-71az546q.js} +2 -2
- package/dist/chunks/{command-7yh4e7ss.js → integration-73tb2d7t.js} +3 -3
- package/dist/chunks/{command-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-61jz9119.js → integration-7p75npdk.js} +20 -20
- package/dist/chunks/{command-5f7m8t27.js → integration-80baj145.js} +11 -11
- package/dist/chunks/{command-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{command-e6kkka6h.js → integration-86s15hxv.js} +18 -18
- package/dist/chunks/{command-c7c674pr.js → integration-87fhqkv0.js} +49 -49
- package/dist/chunks/{command-7pzdf0kv.js → integration-894p73wy.js} +9 -9
- package/dist/chunks/{command-4wap8wpx.js → integration-89kpdwyc.js} +8 -8
- package/dist/chunks/{command-b7v4cx43.js → integration-89vjf07m.js} +5 -5
- package/dist/chunks/{command-tcezcvh9.js → integration-89znhe33.js} +4 -4
- package/dist/chunks/{command-p2me32zz.js → integration-8bjnfysf.js} +13 -13
- package/dist/chunks/{command-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-ha607pgt.js → integration-8ehfs3z6.js} +6 -6
- package/dist/chunks/{command-n71tvzfd.js → integration-8mpfj14y.js} +32 -32
- package/dist/chunks/{command-792b105c.js → integration-8sr9g41h.js} +20 -20
- package/dist/chunks/{command-4kk4wpc5.js → integration-8xfszxp2.js} +7 -7
- package/dist/chunks/{command-cg0qn6vf.js → integration-8ymvype8.js} +4 -4
- package/dist/chunks/{command-hmg1zjtq.js → integration-92hbrp2m.js} +19 -19
- package/dist/chunks/{command-0670md5a.js → integration-996p1jm6.js} +22 -22
- package/dist/chunks/{command-bq5tb2fn.js → integration-9b07y4jg.js} +22 -22
- package/dist/chunks/{command-hncay249.js → integration-9berh2b5.js} +20 -20
- package/dist/chunks/{command-9e5bzkjp.js → integration-9e5bzkjp.js} +3 -3
- package/dist/chunks/{command-e76aamdb.js → integration-9jz63y1y.js} +11 -11
- package/dist/chunks/{command-xet9w07d.js → integration-9pf0h08k.js} +15 -15
- package/dist/chunks/{command-vbe3v9yb.js → integration-9vygpq8x.js} +32 -32
- package/dist/chunks/{command-9jbvj98d.js → integration-9y0w708y.js} +8 -8
- package/dist/chunks/{command-py94gk0f.js → integration-9ztdmq49.js} +13 -13
- package/dist/chunks/{command-6vhm1ss8.js → integration-a2zscq7f.js} +43 -43
- package/dist/chunks/{command-fqzgbyxx.js → integration-a687420s.js} +39 -39
- package/dist/chunks/{command-gy37mnbx.js → integration-a8kx2z1g.js} +3 -3
- package/dist/chunks/{command-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{command-cj2gwqpw.js → integration-aj11vg3s.js} +43 -43
- package/dist/chunks/{command-jm5y8arx.js → integration-am14x6rr.js} +26 -26
- package/dist/chunks/{command-vx3jgdek.js → integration-arz7hw7x.js} +2 -2
- package/dist/chunks/{command-qh7aybsz.js → integration-avj0dg4d.js} +29 -29
- package/dist/chunks/{command-8sbdhey5.js → integration-b2ehpbd4.js} +22 -22
- package/dist/chunks/{command-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-gpmvb07s.js → integration-bgxbcym9.js} +9 -9
- package/dist/chunks/{command-sf9vyvr4.js → integration-bqaat35f.js} +16 -16
- package/dist/chunks/{command-xjdp6js1.js → integration-brtzvjxe.js} +19 -19
- package/dist/chunks/{command-m4wmcnzy.js → integration-bv788cy3.js} +58 -58
- package/dist/chunks/{command-18q964k7.js → integration-by1ddq7k.js} +4 -4
- package/dist/chunks/{command-qqnbapkp.js → integration-by6hqsjv.js} +26 -26
- package/dist/chunks/{command-vjwkcd0q.js → integration-c2zf2dj4.js} +3 -3
- package/dist/chunks/{command-02we17gd.js → integration-c3ctmvyr.js} +24 -24
- package/dist/chunks/{command-77f241gp.js → integration-cdpaedqb.js} +11 -11
- package/dist/chunks/{command-e063bttt.js → integration-ce06597t.js} +13 -13
- package/dist/chunks/{command-rh1jjh9e.js → integration-cng830g8.js} +9 -9
- package/dist/chunks/{command-cwa6csj7.js → integration-cwa6csj7.js} +2 -2
- package/dist/chunks/{command-am2r47bs.js → integration-dapszkb4.js} +45 -45
- package/dist/chunks/{command-zgajxp8k.js → integration-dpcpxgba.js} +43 -43
- package/dist/chunks/{command-dpkg50ah.js → integration-dpkg50ah.js} +1 -1
- package/dist/chunks/{command-eqd5sxw2.js → integration-dqnxxnj8.js} +4 -4
- package/dist/chunks/{command-k76fn4kw.js → integration-e2hjzebn.js} +4 -4
- package/dist/chunks/{command-17jzngre.js → integration-e72g3r26.js} +18 -18
- package/dist/chunks/{command-aqfevk6b.js → integration-ebdd9dvq.js} +33 -33
- package/dist/chunks/{command-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-gyrwew5n.js → integration-effradxc.js} +13 -13
- package/dist/chunks/{command-az7mkngh.js → integration-ejb98f1s.js} +54 -54
- package/dist/chunks/{command-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-cz4jw647.js → integration-ewbkp6fe.js} +8 -8
- package/dist/chunks/{command-4fsbr1hj.js → integration-ex63z9fa.js} +16 -16
- package/dist/chunks/{command-szkbeypk.js → integration-f2jgthag.js} +37 -37
- package/dist/chunks/{command-dcggx883.js → integration-f98j5cfa.js} +15 -15
- package/dist/chunks/{command-bn23jwvg.js → integration-fpv54gav.js} +27 -27
- package/dist/chunks/{command-0b3cfvgq.js → integration-fxj3b9yg.js} +24 -24
- package/dist/chunks/{command-yxn8eat3.js → integration-g1f3c3d1.js} +21 -21
- package/dist/chunks/{command-c33yzrrm.js → integration-g1t94mew.js} +20 -20
- package/dist/chunks/{command-p9gsjnq9.js → integration-g281e4xk.js} +19 -19
- package/dist/chunks/{command-ptzsp81a.js → integration-g62648wr.js} +9 -9
- package/dist/chunks/{command-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-kcrarvbt.js → integration-ghxvzn3x.js} +29 -29
- package/dist/chunks/{command-52fpbh6z.js → integration-gn2hfjap.js} +8 -8
- package/dist/chunks/{command-ne1mz57k.js → integration-gn4bm1t0.js} +22 -22
- package/dist/chunks/{command-axbr2pfw.js → integration-gsgajazs.js} +27 -27
- package/dist/chunks/{command-h2b79v29.js → integration-h2b79v29.js} +2 -2
- package/dist/chunks/{command-k39xy76y.js → integration-h2f60434.js} +6 -6
- package/dist/chunks/{command-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-0teadcmx.js → integration-hcc7q1jq.js} +19 -19
- package/dist/chunks/{command-gze6pn84.js → integration-hp412gpb.js} +14 -14
- package/dist/chunks/{command-g2swy422.js → integration-hphr80a8.js} +13 -13
- package/dist/chunks/{command-fdhx3fkc.js → integration-hpzkemhr.js} +18 -18
- package/dist/chunks/{command-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{command-3qqp0k3j.js → integration-j56prkdn.js} +27 -27
- package/dist/chunks/{command-rwzsmfev.js → integration-j6ky7ame.js} +24 -24
- package/dist/chunks/{command-1z18ck0n.js → integration-j8s9ab9g.js} +9 -9
- package/dist/chunks/{command-8kgc6f8d.js → integration-jm1t4tee.js} +3 -3
- package/dist/chunks/{command-gd3jjb21.js → integration-jnd02v53.js} +25 -25
- package/dist/chunks/{command-ra4c5gbn.js → integration-jzfk96c8.js} +6 -6
- package/dist/chunks/{command-mm5kxf07.js → integration-k5m0fz1p.js} +5 -5
- package/dist/chunks/{command-mx21tkte.js → integration-k7w12qb3.js} +29 -29
- package/dist/chunks/{command-kbqjp078.js → integration-k8hpw67k.js} +5 -5
- package/dist/chunks/{command-ppmg69pv.js → integration-kchkj68z.js} +4 -4
- package/dist/chunks/{command-99y8wah8.js → integration-ketcqt3x.js} +18 -18
- package/dist/chunks/{command-gfe6ngy7.js → integration-kfzr7t9c.js} +7 -7
- package/dist/chunks/{command-4eq8w0dz.js → integration-kmx0na6r.js} +4 -4
- package/dist/chunks/{command-nvw9h1kr.js → integration-kphg7ckb.js} +15 -15
- package/dist/chunks/{command-0skwdn09.js → integration-kr7bb6bc.js} +12 -12
- package/dist/chunks/{command-7hy03c00.js → integration-ktfy3swb.js} +9 -9
- package/dist/chunks/{command-nrtwsycd.js → integration-m0510ky1.js} +23 -23
- package/dist/chunks/{command-ayf3dz6t.js → integration-m06mmkzg.js} +19 -19
- package/dist/chunks/{command-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-pf7k5tdk.js → integration-m46p307c.js} +13 -13
- package/dist/chunks/{command-f7rj482f.js → integration-m6f3t844.js} +8 -8
- package/dist/chunks/{command-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-133vw470.js → integration-mgv8frcb.js} +24 -24
- package/dist/chunks/{command-s800pt51.js → integration-mjqndqed.js} +12 -12
- package/dist/chunks/{command-7c08hygz.js → integration-mkxakkxe.js} +11 -11
- package/dist/chunks/{command-a3wrhx52.js → integration-mm2b3xx7.js} +6 -6
- package/dist/chunks/{command-yvcz9db6.js → integration-msetvear.js} +22 -22
- package/dist/chunks/{command-addxnjmp.js → integration-mxvxcxwy.js} +4 -4
- package/dist/chunks/{command-8g8kbavv.js → integration-n1ccbseb.js} +14 -14
- package/dist/chunks/{command-kkp8zx71.js → integration-n2srvep7.js} +4 -4
- package/dist/chunks/{command-3556dn8t.js → integration-n2thn3nx.js} +1 -1
- package/dist/chunks/{command-vmdhrg7n.js → integration-n6fcfdpm.js} +3 -3
- package/dist/chunks/{command-2dzy055r.js → integration-nbg1na0y.js} +24 -24
- package/dist/chunks/{command-5pyjqqve.js → integration-nqxj0yn4.js} +2 -2
- package/dist/chunks/{command-c20khjev.js → integration-nrdmrqsx.js} +21 -21
- package/dist/chunks/{command-8gvvezbt.js → integration-ny14cx4d.js} +9 -9
- package/dist/chunks/{command-3we2mweb.js → integration-pgy55b37.js} +8 -8
- package/dist/chunks/{command-xkjdq2cq.js → integration-pjbkn2cb.js} +2 -2
- package/dist/chunks/{command-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{command-jkg72wry.js → integration-pwj3jgnv.js} +15 -15
- package/dist/chunks/{command-b4twkq7r.js → integration-py3kkmfq.js} +6 -6
- package/dist/chunks/{command-0j77ygfz.js → integration-q0xm7vwc.js} +6 -6
- package/dist/chunks/{command-xs7n98fv.js → integration-q6m7avnn.js} +11 -11
- package/dist/chunks/{command-w68n4ndy.js → integration-q6qyje63.js} +8 -8
- package/dist/chunks/{command-p31q7kmk.js → integration-qbq3t42m.js} +5 -5
- package/dist/chunks/{command-jfqtm2ew.js → integration-qm0v3jhh.js} +7 -7
- package/dist/chunks/{command-epctnf05.js → integration-qnb2yq88.js} +36 -36
- package/dist/chunks/{command-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{command-mn5ewebe.js → integration-qt7ev8qn.js} +11 -11
- package/dist/chunks/{command-rfg37sv6.js → integration-qv2msmpw.js} +8 -8
- package/dist/chunks/{command-qxjc9qry.js → integration-qxjc9qry.js} +3 -3
- package/dist/chunks/{command-dzgakk8a.js → integration-qxxfbcsd.js} +3 -3
- package/dist/chunks/{command-tw3ak1wx.js → integration-qzy7989e.js} +5 -5
- package/dist/chunks/{command-fy7htkd5.js → integration-r2qww7ak.js} +12 -12
- package/dist/chunks/{command-tpsj3vqj.js → integration-r85gy1sq.js} +11 -11
- package/dist/chunks/{command-kx0tjg78.js → integration-r89p6vhj.js} +22 -22
- package/dist/chunks/{command-dpzj6tdt.js → integration-ra6s4a33.js} +5 -5
- package/dist/chunks/{command-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-rhjbct0v.js → integration-rhjbct0v.js} +1 -1
- package/dist/chunks/{command-1acjjqhc.js → integration-rhraev7y.js} +4 -4
- package/dist/chunks/{command-ndf92shb.js → integration-rj80bee6.js} +32 -32
- package/dist/chunks/{command-5yenn1gs.js → integration-rp35854z.js} +1 -1
- package/dist/chunks/{command-as7cf5zz.js → integration-s0b7t9fd.js} +4 -4
- package/dist/chunks/{command-s1gmxnwk.js → integration-s58h0p13.js} +13 -13
- package/dist/chunks/{command-3s4kvr6z.js → integration-s8j4x6y5.js} +20 -20
- package/dist/chunks/{command-m20vhgm3.js → integration-sa13dnrp.js} +5 -5
- package/dist/chunks/{command-wecqtg5s.js → integration-scgrse2b.js} +5 -5
- package/dist/chunks/{command-nz2nwecc.js → integration-sczwmd32.js} +10 -10
- package/dist/chunks/{command-9nyp8823.js → integration-shpbn2ny.js} +22 -22
- package/dist/chunks/{command-zxzherh8.js → integration-smgb8att.js} +50 -50
- package/dist/chunks/{command-gehm4ms6.js → integration-sqpatsj3.js} +29 -29
- package/dist/chunks/{command-srq8z0b0.js → integration-srq8z0b0.js} +2 -2
- package/dist/chunks/{command-6kc2kwfx.js → integration-svvjfvf0.js} +17 -17
- package/dist/chunks/{command-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-06hn525z.js → integration-tb5f0k4y.js} +35 -35
- package/dist/chunks/{command-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{command-rmvqqtj5.js → integration-tk75c10s.js} +37 -37
- package/dist/chunks/{command-tbmmctgf.js → integration-ty3geqrm.js} +3 -3
- package/dist/chunks/{command-v0es1rhs.js → integration-v0es1rhs.js} +2 -2
- package/dist/chunks/integration-v1faaxn9.js +18 -0
- package/dist/chunks/{command-dncrbkga.js → integration-v3cmarp4.js} +12 -12
- package/dist/chunks/{command-vmc16zgv.js → integration-v3k09np6.js} +14 -14
- package/dist/chunks/{command-txy71j19.js → integration-vdvz9aqh.js} +311 -311
- package/dist/chunks/{command-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{command-kzh1e4c0.js → integration-vh2jeqv7.js} +15 -15
- package/dist/chunks/{command-rnkhex19.js → integration-vhxef7nb.js} +25 -25
- package/dist/chunks/{command-5ggnyshr.js → integration-vrpaqz73.js} +10 -10
- package/dist/chunks/{command-f1vyh6xp.js → integration-vtt0yr3x.js} +9 -9
- package/dist/chunks/{command-nardgk59.js → integration-vv4g9afh.js} +25 -25
- package/dist/chunks/{command-ama4hd1q.js → integration-vye3xcrx.js} +35 -35
- package/dist/chunks/{command-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-r7j38eze.js → integration-w6ahnghs.js} +9 -9
- package/dist/chunks/{command-pj1c1pk3.js → integration-w6eesa9k.js} +17 -17
- package/dist/chunks/{command-k2eg95vs.js → integration-w7ep3043.js} +10 -10
- package/dist/chunks/{command-fzxt6f8m.js → integration-wd2y1ed1.js} +67 -67
- package/dist/chunks/{command-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{command-5cy4n67n.js → integration-wdem0pek.js} +6 -6
- package/dist/chunks/{command-5vkm6pr7.js → integration-wjs5yan7.js} +32 -32
- package/dist/chunks/{command-2b8cc78r.js → integration-wjx6hqf1.js} +8 -8
- package/dist/chunks/{command-442pcgs7.js → integration-wypccatr.js} +23 -23
- package/dist/chunks/{command-dxptp51h.js → integration-x10t073p.js} +26 -26
- package/dist/chunks/{command-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-ejjfd3s4.js → integration-x3rjzwb2.js} +18 -18
- package/dist/chunks/{command-g5w8qwbj.js → integration-xfkkasph.js} +4 -4
- package/dist/chunks/integration-xh623j6n.js +253 -0
- package/dist/chunks/{command-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{command-7bc93ez4.js → integration-xsa88cz6.js} +5 -5
- package/dist/chunks/{command-z2qvtray.js → integration-xsgjgyxe.js} +6 -6
- package/dist/chunks/{command-16tzjgec.js → integration-xtdf1ygn.js} +18 -18
- package/dist/chunks/{command-ard2gdvt.js → integration-xxs52zwy.js} +16 -16
- package/dist/chunks/{command-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-pfetzwhm.js → integration-y6g66d6j.js} +3 -3
- package/dist/chunks/{command-n6s91g4w.js → integration-yb3q3xyj.js} +27 -27
- package/dist/chunks/{command-qne3fa44.js → integration-ygdna4kr.js} +5 -5
- package/dist/chunks/{command-vynmvp9h.js → integration-yvsf4n3e.js} +9 -9
- package/dist/chunks/{command-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-ffx0yjy1.js → integration-z16ah6n9.js} +10 -10
- package/dist/chunks/{command-yf4jcbx9.js → integration-zdwe30dy.js} +6 -6
- package/dist/chunks/{command-j2wb8rqv.js → integration-zjkadnqj.js} +44 -44
- package/dist/chunks/{command-hyc9nd41.js → integration-zjsge41k.js} +5 -5
- package/dist/chunks/{command-9hyc1rme.js → integration-zm7ktbkp.js} +30 -30
- package/dist/chunks/{command-g75k6dtk.js → integration-zp9rdmx5.js} +51 -51
- package/dist/chunks/{command-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-2vybv818.js → integration-zx74ysyp.js} +8 -8
- package/dist/chunks/{command-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- 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 +116 -116
- 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 +116 -116
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +99 -99
- 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 +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- 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 +85 -85
- 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 +127 -127
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +4 -4
- 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 +113 -113
- package/dist/plugin/provider/openai.js +95 -95
- 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 +4 -4
- 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 +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +5 -5
- 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 +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- 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 +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- 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 +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- 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 +7 -7
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/command-err0hz1z.js +0 -26
- package/dist/chunks/command-n95b3jav.js +0 -18
- package/dist/chunks/command-xtwb32s8.js +0 -253
- /package/dist/chunks/{command-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Service64
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-56p4k42z.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./integration-ghxvzn3x.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./integration-87fhqkv0.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-arz7hw7x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service68
|
|
18
|
+
} from "./integration-n1ccbseb.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./integration-ejb98f1s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service22
|
|
25
|
+
} from "./integration-4zt4rykk.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make11
|
|
31
|
+
} from "./integration-4b96sq08.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin15,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input12 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin15 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
|
+
const jobs = yield* Service68;
|
|
94
94
|
const agents = yield* Service64;
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
95
|
+
const config = yield* Service42;
|
|
96
|
+
const permission = yield* Service61;
|
|
97
|
+
const models = yield* Service66;
|
|
98
|
+
const subagents = yield* make11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin11 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin11 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin11 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin15, exports_subagent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-c2zf2dj4.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node81
|
|
12
|
+
} from "./integration-xsgjgyxe.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info25 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service77 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service77,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node81]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info25({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service77.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node80 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info25, NotFound3, CreateConflict2, Service77, configured11, node80, exports_workspace };
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID11 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info19 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID11,
|
|
7
|
+
export { ID11, Info19, SessionSchema2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./integration-mjqndqed.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./integration-v3k09np6.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
26
|
ID: () => ID6,
|
|
27
|
-
Service: () =>
|
|
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";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
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* Service82;
|
|
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",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
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, node86, 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,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID6,
|
|
166
|
+
export { ID6, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service82
|
|
3
|
-
} from "./command-0skwdn09.js";
|
|
4
1
|
import {
|
|
5
2
|
Service83
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./integration-kr7bb6bc.js";
|
|
4
|
+
import {
|
|
5
|
+
Service69
|
|
6
|
+
} from "./integration-sczwmd32.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service24,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-v1faaxn9.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-46rrtey5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service24,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service69;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service24.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node21 = Node.makeLocationNode({
|
|
226
|
+
service: Service24,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./integration-zdwe30dy.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-v1faaxn9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-j8s9ab9g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service36
|
|
12
|
+
} from "./integration-hpzkemhr.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service58;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./integration-yvsf4n3e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./integration-zdwe30dy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-v1faaxn9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./integration-9y0w708y.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-j8s9ab9g.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service36
|
|
23
|
+
} from "./integration-hpzkemhr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./integration-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service58;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service65;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service36;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service39;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|