@opencode/core 2.0.9 → 2.0.11
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/chunks/{tool-2g2cd18n.js → snapshot-05ccmpx3.js} +32 -32
- package/dist/chunks/{tool-adffrgan.js → snapshot-0b7xwtx5.js} +18 -18
- package/dist/chunks/{tool-bhj4y43k.js → snapshot-0f9afca0.js} +5 -5
- package/dist/chunks/{tool-t6rnym7v.js → snapshot-0jxy745m.js} +14 -14
- package/dist/chunks/{tool-2vmydbdw.js → snapshot-0n8be5qx.js} +10 -10
- package/dist/chunks/{tool-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-e7q4x2ep.js → snapshot-0pwwg0r9.js} +18 -18
- package/dist/chunks/{tool-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-5e19p4dw.js → snapshot-0r7yqxbf.js} +5 -5
- package/dist/chunks/{tool-0mb99r4j.js → snapshot-0ze8bqjq.js} +34 -27
- package/dist/chunks/{tool-n3mc6yaw.js → snapshot-15qgq8aa.js} +28 -28
- package/dist/chunks/{tool-5rdsaqrf.js → snapshot-17z9bz8a.js} +5 -5
- package/dist/chunks/{tool-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-w6ertran.js → snapshot-1s14q6dv.js} +13 -13
- package/dist/chunks/{tool-dwktjsma.js → snapshot-1z34psg2.js} +1 -1
- package/dist/chunks/{tool-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-27arm9z1.js → snapshot-245ef20w.js} +5 -5
- package/dist/chunks/{tool-w1tdvvt2.js → snapshot-29mryp8j.js} +9 -9
- package/dist/chunks/{tool-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-76p4c97e.js → snapshot-2angj6gv.js} +12 -12
- package/dist/chunks/{tool-zxcbkvg1.js → snapshot-2h9dp271.js} +18 -18
- package/dist/chunks/{tool-cap3n08w.js → snapshot-2nczyj0y.js} +22 -22
- package/dist/chunks/{tool-jd81wks2.js → snapshot-2nrpd9wt.js} +35 -35
- package/dist/chunks/{tool-42djxevb.js → snapshot-2skcvdjf.js} +44 -44
- package/dist/chunks/{tool-d9s573fh.js → snapshot-2w6fc0zt.js} +7 -7
- package/dist/chunks/{tool-qzwv76tp.js → snapshot-304wgtgv.js} +6 -6
- package/dist/chunks/{tool-pcfkrm12.js → snapshot-3838ekre.js} +4 -4
- package/dist/chunks/{tool-57m9tgf1.js → snapshot-3ey45nrc.js} +13 -13
- package/dist/chunks/{tool-ek2qcn6v.js → snapshot-3fc50xhh.js} +5 -5
- package/dist/chunks/{tool-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-e1ddjrnd.js → snapshot-3krb85k7.js} +32 -32
- package/dist/chunks/{tool-qecsarb4.js → snapshot-3mvkwxa1.js} +25 -25
- package/dist/chunks/{tool-jn4t2z3d.js → snapshot-3n7dg3xb.js} +4 -4
- package/dist/chunks/{tool-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-r9s1vmbv.js → snapshot-3tmne9mx.js} +11 -11
- package/dist/chunks/{tool-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-pwf27gkd.js → snapshot-3w0c26hf.js} +8 -8
- package/dist/chunks/{tool-4e8vs6eh.js → snapshot-428ep8fh.js} +8 -8
- package/dist/chunks/{tool-9thxh3x6.js → snapshot-464y6a4g.js} +7 -7
- package/dist/chunks/{tool-9hd1jrv7.js → snapshot-49nkpac4.js} +10 -10
- package/dist/chunks/{tool-t0e82vdg.js → snapshot-4rvktb94.js} +24 -28
- package/dist/chunks/{tool-1ygqh575.js → snapshot-56gdpj1q.js} +9 -9
- package/dist/chunks/{tool-t183he7n.js → snapshot-56we7275.js} +20 -20
- package/dist/chunks/{tool-d0syxqaf.js → snapshot-58ap2djv.js} +6 -6
- package/dist/chunks/{tool-pf6xmb6f.js → snapshot-5cehpmmt.js} +9 -9
- package/dist/chunks/{tool-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-ff0svapt.js → snapshot-5j1rj33z.js} +2 -2
- package/dist/chunks/{tool-dqmvjehx.js → snapshot-5mtagd67.js} +20 -20
- package/dist/chunks/{tool-rx6gygm6.js → snapshot-5q81y70z.js} +3 -3
- package/dist/chunks/{tool-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-y5pzn50y.js → snapshot-5t4gc2jw.js} +32 -32
- package/dist/chunks/{tool-wyd4vgvd.js → snapshot-5ykyd4jc.js} +14 -14
- package/dist/chunks/{tool-nr25fmgm.js → snapshot-5z77y00w.js} +27 -27
- package/dist/chunks/{tool-5y430q9n.js → snapshot-60nch4ac.js} +11 -11
- package/dist/chunks/{tool-1rf9k0bb.js → snapshot-60zmewym.js} +38 -38
- package/dist/chunks/{tool-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{tool-8t1mk3vk.js → snapshot-67b7pecv.js} +46 -46
- package/dist/chunks/{tool-vppzcqrc.js → snapshot-6d4tvs2t.js} +15 -15
- package/dist/chunks/{tool-nj8fcevf.js → snapshot-6d64q4dx.js} +17 -17
- package/dist/chunks/{tool-08ed4zmw.js → snapshot-6enr500s.js} +6 -6
- package/dist/chunks/{tool-m32ek0sw.js → snapshot-6jk3bzck.js} +4 -4
- package/dist/chunks/{tool-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-8vvqba33.js → snapshot-6n7nndyg.js} +14 -14
- package/dist/chunks/{tool-fsbk27r1.js → snapshot-6pzw4973.js} +9 -9
- package/dist/chunks/{tool-wt8nwjmt.js → snapshot-6rdwqshr.js} +9 -9
- package/dist/chunks/{tool-9pr9fbrd.js → snapshot-6t13h2x7.js} +23 -23
- package/dist/chunks/{tool-tqf8vx6a.js → snapshot-6w4rd0f9.js} +13 -13
- package/dist/chunks/{tool-a9jc8qdz.js → snapshot-6z3szx22.js} +10 -10
- package/dist/chunks/{tool-5d17xbav.js → snapshot-70y17xeh.js} +5 -5
- package/dist/chunks/{tool-jd6wf3ec.js → snapshot-7691x525.js} +6 -6
- package/dist/chunks/{tool-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-qgn6gcr1.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-ar0mpfen.js → snapshot-7ftq7qvn.js} +16 -16
- package/dist/chunks/{tool-y1swv0f0.js → snapshot-7h25ywkf.js} +5 -5
- package/dist/chunks/{tool-dc0tp24d.js → snapshot-7remxrzh.js} +5 -5
- package/dist/chunks/{tool-afmcrv4e.js → snapshot-7y4wq52a.js} +11 -11
- package/dist/chunks/{tool-hzfzrbn9.js → snapshot-818pfwc9.js} +8 -8
- package/dist/chunks/{tool-xr88f9g7.js → snapshot-8cdw1f3e.js} +325 -325
- package/dist/chunks/{tool-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-rx871m47.js → snapshot-8gmsnjtv.js} +2 -2
- package/dist/chunks/{tool-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-c7hpn42k.js → snapshot-8qpa9xgh.js} +19 -19
- package/dist/chunks/{tool-1tx6fftr.js → snapshot-8vk0rx1f.js} +11 -11
- package/dist/chunks/{tool-8b03w2b6.js → snapshot-8vknm4nz.js} +51 -51
- package/dist/chunks/{tool-czgzge8y.js → snapshot-8y5je5gc.js} +8 -8
- package/dist/chunks/{tool-f8ekkhd9.js → snapshot-957rdjpt.js} +34 -34
- package/dist/chunks/{tool-py5ms06j.js → snapshot-9nf84nt1.js} +32 -32
- package/dist/chunks/{tool-rxerzcr3.js → snapshot-9y23kz5h.js} +46 -46
- package/dist/chunks/{tool-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-9endzh9e.js → snapshot-a3h76wby.js} +16 -16
- package/dist/chunks/{tool-2g7ehmrk.js → snapshot-a4p59pzs.js} +7 -7
- package/dist/chunks/{tool-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-88wb8vtq.js → snapshot-arxd92e2.js} +28 -28
- package/dist/chunks/{tool-vbyfx3mn.js → snapshot-av6hk5kh.js} +21 -21
- package/dist/chunks/{tool-vgc515rw.js → snapshot-b487q0f6.js} +6 -6
- package/dist/chunks/{tool-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-3j9bgvtg.js → snapshot-b7b4ctej.js} +5 -5
- package/dist/chunks/{tool-89smrnyf.js → snapshot-bajakh74.js} +4 -4
- package/dist/chunks/{tool-6bsje7ws.js → snapshot-ber8nkq1.js} +3 -3
- package/dist/chunks/{tool-x0511brf.js → snapshot-bjn91642.js} +4 -4
- package/dist/chunks/{tool-5yzzbxa7.js → snapshot-br0tr5aq.js} +8 -8
- package/dist/chunks/{tool-8eg130jy.js → snapshot-c16wc94y.js} +22 -22
- package/dist/chunks/{tool-r2m639zq.js → snapshot-c3v90f4q.js} +6 -6
- package/dist/chunks/{tool-zpks96xd.js → snapshot-c4e6pzcn.js} +13 -13
- package/dist/chunks/{tool-3cbaeney.js → snapshot-cb5rj1n4.js} +3 -3
- package/dist/chunks/{tool-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-8cpww9tf.js → snapshot-cs0qcqys.js} +6 -6
- package/dist/chunks/{tool-197ae9n4.js → snapshot-csarv5tx.js} +74 -74
- package/dist/chunks/{tool-e1hrzsan.js → snapshot-csxdrzv8.js} +12 -12
- package/dist/chunks/{tool-5y6wgat7.js → snapshot-cyxg0edp.js} +54 -54
- package/dist/chunks/{tool-2sejkfem.js → snapshot-d4he2qe1.js} +9 -9
- package/dist/chunks/{tool-4vjsat8t.js → snapshot-d4pnz4pg.js} +17 -17
- package/dist/chunks/{tool-dz1mzf7h.js → snapshot-db4drgrc.js} +29 -29
- package/dist/chunks/snapshot-dma7d8q9.js +326 -0
- package/dist/chunks/{tool-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-yravmt5v.js → snapshot-dr3b7y51.js} +11 -11
- package/dist/chunks/{tool-drwq78ky.js → snapshot-drwq78ky.js} +1 -1
- package/dist/chunks/{tool-1q4w1hkk.js → snapshot-dvc78tkm.js} +13 -13
- package/dist/chunks/{tool-vy03e0d7.js → snapshot-e35xemm9.js} +17 -17
- package/dist/chunks/{tool-x6z1bn3h.js → snapshot-e75ke13k.js} +30 -30
- package/dist/chunks/{tool-zdetck8p.js → snapshot-ecknp8fz.js} +58 -58
- package/dist/chunks/{tool-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-gnrgb9v9.js → snapshot-egqspz5t.js} +9 -9
- package/dist/chunks/{tool-h5msn5dz.js → snapshot-ehpn2ybd.js} +19 -19
- package/dist/chunks/{tool-qr7xcjfz.js → snapshot-ek5x11h9.js} +18 -18
- package/dist/chunks/{tool-t15tae8c.js → snapshot-emeymtg1.js} +28 -28
- package/dist/chunks/{tool-a012ky48.js → snapshot-emqq8ak8.js} +10 -10
- package/dist/chunks/{tool-v6kqcv79.js → snapshot-eqqbpm6c.js} +15 -15
- package/dist/chunks/{tool-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
- package/dist/chunks/{tool-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-df3x4kde.js → snapshot-ewcnbscq.js} +15 -15
- package/dist/chunks/{tool-f2n192rq.js → snapshot-f2n192rq.js} +1 -1
- package/dist/chunks/{tool-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{tool-tkmwgdpd.js → snapshot-fm2qvscf.js} +7 -7
- package/dist/chunks/{tool-p6q10aaw.js → snapshot-fnzbgxwj.js} +17 -17
- package/dist/chunks/{tool-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-cavr175a.js → snapshot-g190xswt.js} +4 -4
- package/dist/chunks/{tool-gbag256c.js → snapshot-gamssws5.js} +28 -28
- package/dist/chunks/{tool-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-2849xt8w.js → snapshot-gnfdtyvv.js} +11 -11
- package/dist/chunks/{tool-yyb7tjpc.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-5yeq06a0.js → snapshot-gzbkpp9m.js} +9 -9
- package/dist/chunks/{tool-xxh17bsg.js → snapshot-h39wk7x8.js} +11 -11
- package/dist/chunks/{tool-h6r3nrb9.js → snapshot-h6r3nrb9.js} +1 -1
- package/dist/chunks/{tool-nwgfxwxy.js → snapshot-h6scdryw.js} +22 -22
- package/dist/chunks/{tool-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-epap41sx.js → snapshot-h7vmv32c.js} +4 -4
- package/dist/chunks/{tool-rq1pz7qt.js → snapshot-hck32qxt.js} +24 -24
- package/dist/chunks/{tool-4n9mx8v3.js → snapshot-hcv4andf.js} +29 -29
- package/dist/chunks/{tool-8rras65h.js → snapshot-hjhce8qj.js} +17 -17
- package/dist/chunks/{tool-vqfzq50h.js → snapshot-hkgwrjz7.js} +6 -6
- package/dist/chunks/{tool-fcy52zm3.js → snapshot-hned6hg3.js} +47 -47
- package/dist/chunks/{tool-vsbgd8f5.js → snapshot-j18d1fqp.js} +23 -23
- package/dist/chunks/{tool-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-vcev46jt.js → snapshot-jha1w5gw.js} +29 -29
- package/dist/chunks/{tool-0tkwk172.js → snapshot-jhtcsndg.js} +23 -23
- package/dist/chunks/{tool-sr2ca446.js → snapshot-jj7gwavy.js} +1 -1
- package/dist/chunks/{tool-0e14c09c.js → snapshot-jkeqmryh.js} +33 -33
- package/dist/chunks/{tool-2a8ctrw4.js → snapshot-jmmssc4g.js} +26 -26
- package/dist/chunks/{tool-2s87feef.js → snapshot-jr0krsnz.js} +20 -20
- package/dist/chunks/{tool-b71trcwb.js → snapshot-jswd9s5f.js} +15 -15
- package/dist/chunks/{tool-nzks3jc8.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-133y1x9c.js → snapshot-k6vp76cy.js} +5 -5
- package/dist/chunks/{tool-krc9qdj7.js → snapshot-k7s9z768.js} +32 -32
- package/dist/chunks/{tool-zz2gaj37.js → snapshot-kkdgbc8p.js} +24 -24
- package/dist/chunks/{tool-fkjmw100.js → snapshot-knb7evpn.js} +6 -6
- package/dist/chunks/{tool-vwgz8d7g.js → snapshot-kq0rqjhd.js} +15 -8
- package/dist/chunks/{tool-77m2y8gv.js → snapshot-kv5f48t6.js} +12 -12
- package/dist/chunks/{tool-5rbeskxf.js → snapshot-m23s96xk.js} +9 -9
- package/dist/chunks/{tool-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-ns0n9ww9.js → snapshot-m4wkd7vk.js} +22 -22
- package/dist/chunks/{tool-d8dkarbn.js → snapshot-m84c1hab.js} +11 -11
- package/dist/chunks/{tool-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-s4fep8mk.js → snapshot-ma67z3zc.js} +18 -18
- package/dist/chunks/{tool-zk0g89ph.js → snapshot-mcd4v3ex.js} +13 -13
- package/dist/chunks/{tool-7gyssj7x.js → snapshot-mcn6nnm1.js} +26 -26
- package/dist/chunks/{tool-cb2k1f8p.js → snapshot-md1n8x4e.js} +25 -25
- package/dist/chunks/{tool-qqcjb6jx.js → snapshot-md8zhqmb.js} +30 -30
- package/dist/chunks/{tool-hxsyww7z.js → snapshot-mj04be94.js} +16 -16
- package/dist/chunks/{tool-91f0wncr.js → snapshot-mns78yaz.js} +11 -11
- package/dist/chunks/{tool-1n6jm1r8.js → snapshot-mpmx6jec.js} +9 -9
- package/dist/chunks/{tool-5c0f1prt.js → snapshot-msq0jde0.js} +4 -4
- package/dist/chunks/{tool-e7vjfaw8.js → snapshot-mz792qcz.js} +92 -91
- package/dist/chunks/{tool-1y3ke0et.js → snapshot-n0fbsc79.js} +16 -16
- package/dist/chunks/{tool-zy1jay2k.js → snapshot-n13w3gvb.js} +4 -4
- package/dist/chunks/{tool-xn17ps4b.js → snapshot-n4539hth.js} +3 -3
- package/dist/chunks/{tool-qc9kn75m.js → snapshot-nb0rdgct.js} +8 -8
- package/dist/chunks/{tool-nccpag2r.js → snapshot-nncsk983.js} +25 -25
- package/dist/chunks/{tool-tjmwbj5k.js → snapshot-nqvd82jv.js} +16 -16
- package/dist/chunks/{tool-0gpvppac.js → snapshot-nw8fq4p4.js} +11 -11
- package/dist/chunks/{tool-7nm0hg1a.js → snapshot-p1vzt0xq.js} +31 -31
- package/dist/chunks/{tool-b1syqa90.js → snapshot-p28crxb3.js} +5 -5
- package/dist/chunks/{tool-p28j5sbe.js → snapshot-p28j5sbe.js} +2 -2
- package/dist/chunks/{tool-60hfzj8m.js → snapshot-p4pjqjd8.js} +4 -4
- package/dist/chunks/{tool-phc8pspp.js → snapshot-p9785zz6.js} +3 -3
- package/dist/chunks/{tool-skq2eby0.js → snapshot-pjtwddcx.js} +18 -18
- package/dist/chunks/{tool-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{tool-zhq6vg7a.js → snapshot-pstg3rfm.js} +1 -1
- package/dist/chunks/{tool-vh7phyy0.js → snapshot-px97y8ks.js} +40 -40
- package/dist/chunks/{tool-07kta9gz.js → snapshot-q1y9nw0c.js} +5 -5
- package/dist/chunks/snapshot-q509s3k3.js +18 -0
- package/dist/chunks/{tool-ebdw14y1.js → snapshot-qbagxqbq.js} +24 -24
- package/dist/chunks/{tool-pb77jvd0.js → snapshot-qfmxj2pv.js} +7 -7
- package/dist/chunks/{tool-f7j90zp2.js → snapshot-qg0jgkcp.js} +9 -9
- package/dist/chunks/{tool-vs9wvdae.js → snapshot-qgzk9bq2.js} +176 -176
- package/dist/chunks/{tool-6gc9zjjv.js → snapshot-qhn36hzk.js} +23 -23
- package/dist/chunks/{tool-vzyzcn29.js → snapshot-qqkhs8gs.js} +30 -30
- package/dist/chunks/{tool-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-yp1xsd17.js → snapshot-qtfkp9j4.js} +43 -43
- package/dist/chunks/{tool-7037ptb2.js → snapshot-qv4acq8h.js} +27 -27
- package/dist/chunks/{tool-sd3ysec1.js → snapshot-qz572w8n.js} +30 -30
- package/dist/chunks/{tool-stag65f9.js → snapshot-r01t9b5y.js} +8 -8
- package/dist/chunks/{tool-73tb2d7t.js → snapshot-r5x6zcsm.js} +3 -3
- package/dist/chunks/{tool-5q02cxx3.js → snapshot-r98e92ep.js} +4 -4
- package/dist/chunks/{tool-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-8szgh749.js → snapshot-rdzw18d8.js} +4 -4
- package/dist/chunks/{tool-kcrds6bj.js → snapshot-rhbshm4z.js} +18 -18
- package/dist/chunks/{tool-n24pcqxv.js → snapshot-rnmzpqyz.js} +8 -8
- package/dist/chunks/{tool-0t9wd588.js → snapshot-rqqqmm2x.js} +8 -8
- package/dist/chunks/snapshot-s4c35f54.js +26 -0
- package/dist/chunks/{tool-7ngem68y.js → snapshot-s7v5atnr.js} +3 -3
- package/dist/chunks/{tool-22yzgjh2.js → snapshot-sc2n5z84.js} +27 -27
- package/dist/chunks/{tool-dcjp3a2d.js → snapshot-snzw7wbz.js} +29 -29
- package/dist/chunks/{tool-ye73daeg.js → snapshot-sqtv888r.js} +19 -19
- package/dist/chunks/{tool-0ft9cg2j.js → snapshot-ss0awb04.js} +6 -6
- package/dist/chunks/{tool-mh3xs90e.js → snapshot-svcfvp1d.js} +25 -25
- package/dist/chunks/{tool-xg0cet8h.js → snapshot-szw0jx24.js} +32 -32
- package/dist/chunks/{tool-n4pqkaym.js → snapshot-t0fxg8b9.js} +5 -5
- package/dist/chunks/{tool-fnkqs40h.js → snapshot-t3ycmmbw.js} +33 -33
- package/dist/chunks/{tool-s8d7rejh.js → snapshot-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-zwfjdtpq.js → snapshot-tbb3jqr6.js} +35 -35
- package/dist/chunks/{tool-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{tool-4chvkj0g.js → snapshot-tjkwv8hv.js} +27 -27
- package/dist/chunks/{tool-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-qnc1epre.js → snapshot-v09qg9gy.js} +9 -9
- package/dist/chunks/{tool-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-13kry10e.js → snapshot-vgnpzjjg.js} +9 -9
- package/dist/chunks/{tool-r6qdpshk.js → snapshot-vksmc797.js} +13 -13
- package/dist/chunks/{tool-1yee1wsw.js → snapshot-vnbvs77d.js} +5 -5
- package/dist/chunks/{tool-nt9apy23.js → snapshot-vptgej5p.js} +12 -12
- package/dist/chunks/{tool-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-4gtpy403.js → snapshot-w41q0r8c.js} +29 -29
- package/dist/chunks/{tool-9ebbd7jr.js → snapshot-w56nvsqd.js} +5 -5
- package/dist/chunks/{tool-vzt7w0x1.js → snapshot-w7h7vw95.js} +18 -18
- package/dist/chunks/{tool-6nma5gxg.js → snapshot-w870kwhh.js} +10 -10
- package/dist/chunks/snapshot-w93cjeax.js +252 -0
- package/dist/chunks/{tool-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{tool-xhtw6jf1.js → snapshot-wdmrbch6.js} +5 -5
- package/dist/chunks/{tool-qf41qe2n.js → snapshot-wgp85hfs.js} +11 -11
- package/dist/chunks/{tool-277eer69.js → snapshot-wj76ss2k.js} +4 -4
- package/dist/chunks/{tool-z89cezv7.js → snapshot-wmc7hp9t.js} +3 -3
- package/dist/chunks/{tool-jm3kmfpd.js → snapshot-wmw0fegk.js} +44 -44
- package/dist/chunks/{tool-3mtxmfhx.js → snapshot-wsnba0xr.js} +30 -30
- package/dist/chunks/{tool-h2t4955r.js → snapshot-x047p5f0.js} +19 -19
- package/dist/chunks/{tool-yxjvheq8.js → snapshot-x19pfb0v.js} +22 -26
- package/dist/chunks/{tool-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-z80n829h.js → snapshot-x6qawnay.js} +41 -41
- package/dist/chunks/{tool-ww5k9hxf.js → snapshot-xcvqvcxh.js} +24 -24
- package/dist/chunks/{tool-eq68chpb.js → snapshot-xpgvc2kh.js} +9 -9
- package/dist/chunks/{tool-06x8he3q.js → snapshot-xw0r27ex.js} +4 -4
- package/dist/chunks/{tool-qbp86h8m.js → snapshot-y18vgfv6.js} +93 -93
- package/dist/chunks/{tool-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-6hjx5zpb.js → snapshot-y56ehv6b.js} +9 -9
- package/dist/chunks/{tool-2gch173w.js → snapshot-ym9kjrwn.js} +25 -25
- package/dist/chunks/{tool-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-dssw6a44.js → snapshot-yxkbr454.js} +22 -22
- package/dist/chunks/{tool-v8z2wyq8.js → snapshot-yyfr1n4t.js} +32 -32
- package/dist/chunks/{tool-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-rq775frq.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-rav9e4bf.js → snapshot-zex37ywk.js} +8 -8
- package/dist/chunks/{tool-4k6nnmrf.js → snapshot-zpgwzwjs.js} +30 -30
- package/dist/chunks/{tool-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-drz214yv.js → snapshot-ztyhcbrw.js} +19 -19
- package/dist/chunks/{tool-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +98 -98
- 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/id/id.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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/instructions.d.ts +3 -2
- package/dist/types/skill/instructions.d.ts +3 -2
- package/dist/types/skill.d.ts +2 -2
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/tool-7a4dnpr3.js +0 -326
- package/dist/chunks/tool-az58nsbk.js +0 -26
- package/dist/chunks/tool-gyce5qg1.js +0 -18
- package/dist/chunks/tool-rdf0737w.js +0 -252
- /package/dist/chunks/{tool-0mesazry.js → snapshot-0mesazry.js} +0 -0
- /package/dist/chunks/{tool-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node66
|
|
4
|
+
} from "./snapshot-b487q0f6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./snapshot-a3h76wby.js";
|
|
9
9
|
import {
|
|
10
10
|
ID11,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./snapshot-rhbshm4z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-db4drgrc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service73,
|
|
24
|
+
node77
|
|
25
|
+
} from "./snapshot-svcfvp1d.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-922hggd3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info32,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service76,
|
|
33
|
+
node80
|
|
34
|
+
} from "./snapshot-5ykyd4jc.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID12,
|
|
37
|
+
Service72,
|
|
38
|
+
node76
|
|
39
|
+
} from "./snapshot-md8zhqmb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service71,
|
|
42
|
+
node75
|
|
43
|
+
} from "./snapshot-mns78yaz.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service48,
|
|
46
|
+
node50
|
|
47
|
+
} from "./snapshot-gamssws5.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service80,
|
|
50
|
+
node84
|
|
51
|
+
} from "./snapshot-3ey45nrc.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service46,
|
|
54
|
+
node48
|
|
55
|
+
} from "./snapshot-v09qg9gy.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID9,
|
|
58
|
+
Service66,
|
|
59
|
+
node69
|
|
60
|
+
} from "./snapshot-jkeqmryh.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID10
|
|
63
|
+
} from "./snapshot-hcv4andf.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service21,
|
|
66
|
+
node25
|
|
67
|
+
} from "./snapshot-cyxg0edp.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service62,
|
|
70
|
+
node64
|
|
71
|
+
} from "./snapshot-428ep8fh.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service59,
|
|
74
|
+
node61
|
|
75
|
+
} from "./snapshot-67b7pecv.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service41,
|
|
78
|
+
node43
|
|
79
|
+
} from "./snapshot-qbagxqbq.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source4,
|
|
82
|
+
Service43,
|
|
83
|
+
node45
|
|
84
|
+
} from "./snapshot-snzw7wbz.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info6,
|
|
87
|
+
Service36,
|
|
88
|
+
node38
|
|
89
|
+
} from "./snapshot-jha1w5gw.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service14,
|
|
92
|
+
node17
|
|
93
|
+
} from "./snapshot-y18vgfv6.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service37,
|
|
96
|
+
node39
|
|
97
|
+
} from "./snapshot-p1vzt0xq.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service58,
|
|
100
|
+
node60
|
|
101
|
+
} from "./snapshot-0pwwg0r9.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service49,
|
|
104
|
+
node51
|
|
105
|
+
} from "./snapshot-6t13h2x7.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID18,
|
|
108
|
+
Service79,
|
|
109
|
+
node83
|
|
110
|
+
} from "./snapshot-mcn6nnm1.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service45,
|
|
113
|
+
node47
|
|
114
|
+
} from "./snapshot-x047p5f0.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info8,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service44,
|
|
120
|
+
node46
|
|
121
|
+
} from "./snapshot-x6qawnay.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service50,
|
|
124
|
+
node52
|
|
125
|
+
} from "./snapshot-md1n8x4e.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
146
|
+
const agents = yield* Service70;
|
|
147
|
+
const aisdk = yield* Service71;
|
|
148
|
+
const providers = yield* Service72;
|
|
149
|
+
const models = yield* Service66;
|
|
150
|
+
const commands = yield* Service48;
|
|
151
|
+
const bus = yield* Service81;
|
|
152
|
+
const integration = yield* Service73;
|
|
153
|
+
const kv = yield* Service80;
|
|
154
|
+
const mcp = yield* Service21;
|
|
155
|
+
const location = yield* Service76;
|
|
156
|
+
const reference = yield* Service43;
|
|
157
|
+
const rpc = yield* Service58;
|
|
158
|
+
const skill = yield* Service36;
|
|
159
|
+
const tools = yield* Service41;
|
|
160
|
+
const vcs = yield* Service49;
|
|
161
|
+
const websearch = yield* Service79;
|
|
162
|
+
const generate = yield* Service50;
|
|
163
|
+
const permission = yield* Service59;
|
|
164
|
+
const hooks = yield* Service62;
|
|
165
|
+
const sessions = yield* Service14;
|
|
166
|
+
const persistentPty = yield* Service37;
|
|
167
|
+
const locations = yield* Service46;
|
|
168
|
+
const worktrees = yield* Service44;
|
|
169
|
+
const worktreeStrategies = yield* Service45;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info32({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info8);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service76;
|
|
186
|
+
const agents = yield* Service70;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info32({
|
|
189
189
|
directory: location.directory,
|
|
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID12.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID9.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID9.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID12.make(providerID), ID9.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID9.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID9.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID9.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID12.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID13.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID13.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID13.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID13.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID13.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID13.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID13.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
|
|
368
368
|
},
|
|
369
369
|
transform: (callback) => integration.transform((editor) => {
|
|
370
370
|
callback({
|
|
371
371
|
list: () => mutable(editor.list()),
|
|
372
|
-
get: (id) => mutable(editor.get(
|
|
373
|
-
update: (id, update) => editor.update(
|
|
374
|
-
remove: (id) => editor.remove(
|
|
372
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
373
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
374
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
375
375
|
method: {
|
|
376
|
-
list: (id) => editor.method.list(
|
|
376
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
377
377
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
378
|
-
remove: (id, method) => editor.method.remove(
|
|
378
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
})
|
|
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service76;
|
|
389
|
+
const mcp = yield* Service21;
|
|
390
390
|
return {
|
|
391
391
|
location: new Info32({
|
|
392
392
|
directory: location.directory,
|
|
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
423
423
|
reload: reference.reload,
|
|
424
424
|
transform: (callback) => reference.transform((editor) => {
|
|
425
425
|
callback({
|
|
426
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
426
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
427
427
|
remove: editor.remove,
|
|
428
428
|
list: editor.list,
|
|
429
429
|
get: editor.get
|
|
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
437
437
|
callback({
|
|
438
438
|
list: () => mutable(editor.list()),
|
|
439
439
|
get: editor.get,
|
|
440
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
440
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
441
441
|
update: editor.update,
|
|
442
442
|
remove: editor.remove
|
|
443
443
|
});
|
|
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
468
468
|
providers: () => response(websearch.providers()),
|
|
469
469
|
query: (input) => response(websearch.query({
|
|
470
470
|
query: input.query,
|
|
471
|
-
providerID: input.providerID === undefined ? undefined :
|
|
471
|
+
providerID: input.providerID === undefined ? undefined : ID18.make(input.providerID)
|
|
472
472
|
})),
|
|
473
473
|
reload: websearch.reload,
|
|
474
474
|
transform: (callback) => websearch.transform((editor) => {
|
|
475
475
|
callback({
|
|
476
476
|
add: (definition) => editor.add({
|
|
477
|
-
id:
|
|
477
|
+
id: ID18.make(definition.id),
|
|
478
478
|
name: definition.name,
|
|
479
479
|
execute: definition.execute
|
|
480
480
|
}),
|
|
481
481
|
default: {
|
|
482
482
|
get: editor.default.get,
|
|
483
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
483
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID18.make(selection))
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
})
|
|
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
537
|
+
node66,
|
|
538
|
+
node74,
|
|
539
|
+
node75,
|
|
538
540
|
node76,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
541
|
+
node69,
|
|
542
|
+
node50,
|
|
543
|
+
node85,
|
|
544
|
+
node77,
|
|
545
|
+
node84,
|
|
546
|
+
node25,
|
|
544
547
|
node80,
|
|
545
|
-
|
|
546
|
-
|
|
548
|
+
node45,
|
|
549
|
+
node60,
|
|
550
|
+
node38,
|
|
551
|
+
node43,
|
|
552
|
+
node51,
|
|
547
553
|
node83,
|
|
554
|
+
node46,
|
|
555
|
+
node47,
|
|
548
556
|
node52,
|
|
557
|
+
node61,
|
|
549
558
|
node64,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
node67,
|
|
554
|
-
node54,
|
|
555
|
-
node55,
|
|
556
|
-
node21,
|
|
557
|
-
node73,
|
|
558
|
-
node77,
|
|
559
|
-
node22,
|
|
560
|
-
node65,
|
|
561
|
-
node59
|
|
559
|
+
node17,
|
|
560
|
+
node39,
|
|
561
|
+
node48
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -585,7 +585,7 @@ function methodImplementation(input) {
|
|
|
585
585
|
if ("authorize" in input) {
|
|
586
586
|
const refresh = input.refresh;
|
|
587
587
|
return {
|
|
588
|
-
integrationID:
|
|
588
|
+
integrationID: ID13.make(input.integrationID),
|
|
589
589
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
590
590
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
591
591
|
if (authorization.mode === "auto") {
|
|
@@ -605,18 +605,18 @@ function methodImplementation(input) {
|
|
|
605
605
|
}
|
|
606
606
|
if (input.method.type === "env") {
|
|
607
607
|
return {
|
|
608
|
-
integrationID:
|
|
608
|
+
integrationID: ID13.make(input.integrationID),
|
|
609
609
|
method: input.method
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
612
|
if (input.method.type === "command") {
|
|
613
613
|
return {
|
|
614
|
-
integrationID:
|
|
614
|
+
integrationID: ID13.make(input.integrationID),
|
|
615
615
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID13.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|