@opencode/core 0.0.0-dev-20558 → 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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{form-nd2282pj.js → integration-0n1m97p8.js} +27 -27
- package/dist/chunks/{form-410ybt9f.js → integration-0nrwha1n.js} +10 -10
- package/dist/chunks/{form-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-bgc5ggmx.js → integration-0xqyf95c.js} +4 -4
- package/dist/chunks/{form-139zgem4.js → integration-1afj9w30.js} +18 -18
- package/dist/chunks/{form-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-1dvck2a7.js → integration-1dvck2a7.js} +2 -2
- package/dist/chunks/{form-8243bb6r.js → integration-1hddc0ez.js} +48 -48
- package/dist/chunks/{form-0rxhd4fp.js → integration-1jfd0cc7.js} +3 -3
- package/dist/chunks/{form-831b6nc2.js → integration-21gxxnb9.js} +26 -26
- package/dist/chunks/{form-0a6m0sn5.js → integration-25r1j187.js} +15 -15
- package/dist/chunks/{form-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-kb6n023e.js → integration-2dh77zgk.js} +85 -85
- package/dist/chunks/{form-bbf6ycgz.js → integration-2g2qndgs.js} +10 -10
- package/dist/chunks/{form-2k8khapm.js → integration-2k8khapm.js} +1 -1
- package/dist/chunks/{form-amv9ph3x.js → integration-2kw5c8ge.js} +18 -18
- package/dist/chunks/{form-0kh8q2cz.js → integration-2nnxyksf.js} +10 -10
- package/dist/chunks/{form-rmdwjes8.js → integration-2px63w2g.js} +10 -10
- package/dist/chunks/{form-yttcfxr3.js → integration-2qpg8hvw.js} +4 -4
- package/dist/chunks/{form-56gdpj1q.js → integration-33w4ejhs.js} +6 -6
- package/dist/chunks/{form-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-4z58m4b4.js → integration-3sj8yt8v.js} +4 -4
- package/dist/chunks/{form-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-20hj0g8t.js → integration-3v9zqnbq.js} +6 -6
- package/dist/chunks/{form-fb4649a6.js → integration-3w0qz7bz.js} +11 -11
- package/dist/chunks/{form-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-2khecp4x.js → integration-46rrtey5.js} +167 -167
- package/dist/chunks/{form-xzqnqwe5.js → integration-48fsd0ze.js} +17 -17
- package/dist/chunks/{form-963t4b8d.js → integration-4b96sq08.js} +11 -11
- package/dist/chunks/{form-z2azaray.js → integration-4b9qmq0d.js} +13 -13
- package/dist/chunks/{form-snnjz9px.js → integration-4m5j9vj5.js} +22 -22
- package/dist/chunks/{form-bydnjh3t.js → integration-4nj4bn9q.js} +9 -9
- package/dist/chunks/{form-4hywwe8w.js → integration-4rz3aacp.js} +27 -27
- package/dist/chunks/{form-59tzm8as.js → integration-4t430f93.js} +23 -23
- package/dist/chunks/{form-2ccvkpx1.js → integration-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-6kew3p49.js → integration-4zt4rykk.js} +83 -83
- package/dist/chunks/integration-53j303dn.js +26 -0
- package/dist/chunks/{form-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{form-pejrxmjd.js → integration-55qae9zm.js} +36 -36
- package/dist/chunks/{form-5tmpnkg7.js → integration-56p4k42z.js} +24 -24
- package/dist/chunks/{form-03szxm6d.js → integration-58ctt3vw.js} +11 -11
- package/dist/chunks/{form-nh0012fv.js → integration-590nj5ba.js} +8 -8
- package/dist/chunks/{form-zftvh7g0.js → integration-5amwpbtf.js} +33 -33
- package/dist/chunks/{form-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{form-tk14y25j.js → integration-5fykfdj7.js} +5 -5
- package/dist/chunks/{form-3bjes9s2.js → integration-5jr74dtx.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-2r4x9gdw.js → integration-5xe1z5pd.js} +11 -11
- package/dist/chunks/{form-f3fh568b.js → integration-5y8bwb6n.js} +11 -11
- package/dist/chunks/{form-cmwkp3r5.js → integration-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-nv063apg.js → integration-5zkn5psj.js} +33 -33
- package/dist/chunks/{form-qqte0x82.js → integration-62n8sp77.js} +35 -35
- package/dist/chunks/{form-w5ystqj3.js → integration-633ngz6x.js} +6 -6
- package/dist/chunks/{form-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{form-0wq2r79s.js → integration-69hsyh17.js} +16 -16
- package/dist/chunks/{form-266yt33y.js → integration-6m372yhf.js} +13 -13
- package/dist/chunks/{form-9j8xz9qv.js → integration-6mw7ctgq.js} +11 -11
- package/dist/chunks/{form-b290rm04.js → integration-6mxns61s.js} +5 -5
- package/dist/chunks/{form-2dt4k0ps.js → integration-6njf40he.js} +26 -26
- package/dist/chunks/{form-h5fanne1.js → integration-6vk1te3k.js} +11 -11
- package/dist/chunks/{form-71az546q.js → integration-71az546q.js} +2 -2
- package/dist/chunks/{form-r5x6zcsm.js → integration-73tb2d7t.js} +3 -3
- package/dist/chunks/{form-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-was3je4q.js → integration-7p75npdk.js} +20 -20
- package/dist/chunks/{form-ej6bmym5.js → integration-80baj145.js} +11 -11
- package/dist/chunks/{form-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{form-w742576v.js → integration-86s15hxv.js} +14 -14
- package/dist/chunks/{form-6101zcv1.js → integration-87fhqkv0.js} +43 -43
- package/dist/chunks/{form-dbnnge52.js → integration-894p73wy.js} +11 -11
- package/dist/chunks/{form-d1vtevgw.js → integration-89kpdwyc.js} +6 -6
- package/dist/chunks/{form-dtqg9ce1.js → integration-89vjf07m.js} +5 -5
- package/dist/chunks/{form-tcezcvh9.js → integration-89znhe33.js} +4 -4
- package/dist/chunks/{form-44x2tf61.js → integration-8bjnfysf.js} +13 -13
- package/dist/chunks/{form-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-8y62cfgq.js → integration-8ehfs3z6.js} +6 -6
- package/dist/chunks/{form-0askjry2.js → integration-8mpfj14y.js} +28 -28
- package/dist/chunks/{form-z4bjpn68.js → integration-8sr9g41h.js} +20 -20
- package/dist/chunks/{form-8j6h8xtz.js → integration-8xfszxp2.js} +7 -7
- package/dist/chunks/{form-nymf30pn.js → integration-8ymvype8.js} +4 -4
- package/dist/chunks/{form-vkqe175g.js → integration-92hbrp2m.js} +20 -20
- package/dist/chunks/{form-hnkd7amx.js → integration-996p1jm6.js} +16 -16
- package/dist/chunks/{form-4cnvczny.js → integration-9b07y4jg.js} +20 -20
- package/dist/chunks/{form-721rh6ja.js → integration-9berh2b5.js} +17 -17
- package/dist/chunks/{form-9e5bzkjp.js → integration-9e5bzkjp.js} +3 -3
- package/dist/chunks/{form-sv69nfwm.js → integration-9jz63y1y.js} +11 -11
- package/dist/chunks/{form-39te63p7.js → integration-9pf0h08k.js} +20 -20
- package/dist/chunks/{form-5qw8dnms.js → integration-9vygpq8x.js} +26 -26
- package/dist/chunks/{form-73kdj4zj.js → integration-9y0w708y.js} +8 -8
- package/dist/chunks/{form-kaa5qdt6.js → integration-9ztdmq49.js} +11 -11
- package/dist/chunks/{form-mmwx4d7d.js → integration-a2zscq7f.js} +41 -41
- package/dist/chunks/{form-7x21407k.js → integration-a687420s.js} +37 -37
- package/dist/chunks/{form-p1jffgmm.js → integration-a8kx2z1g.js} +3 -3
- package/dist/chunks/{form-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{form-e7rphtjg.js → integration-aj11vg3s.js} +45 -45
- package/dist/chunks/{form-gek98axs.js → integration-am14x6rr.js} +26 -26
- package/dist/chunks/{form-my4zabxr.js → integration-arz7hw7x.js} +2 -2
- package/dist/chunks/{form-9t3p0xs6.js → integration-avj0dg4d.js} +18 -18
- package/dist/chunks/{form-cg670mff.js → integration-b2ehpbd4.js} +20 -20
- package/dist/chunks/{form-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-8d6dgrgb.js → integration-bgxbcym9.js} +9 -9
- package/dist/chunks/{form-png00w38.js → integration-bqaat35f.js} +16 -16
- package/dist/chunks/{form-ve8n8r8t.js → integration-brtzvjxe.js} +17 -17
- package/dist/chunks/{form-4r5dvdf8.js → integration-bv788cy3.js} +50 -50
- package/dist/chunks/{form-5a3a8qy1.js → integration-by1ddq7k.js} +4 -4
- package/dist/chunks/{form-pvtskdjk.js → integration-by6hqsjv.js} +26 -26
- package/dist/chunks/{form-z1j80smy.js → integration-c2zf2dj4.js} +3 -3
- package/dist/chunks/{form-j7mhatt8.js → integration-c3ctmvyr.js} +21 -21
- package/dist/chunks/{form-yg62bcth.js → integration-cdpaedqb.js} +11 -11
- package/dist/chunks/{form-zqtc8gvw.js → integration-ce06597t.js} +13 -13
- package/dist/chunks/{form-59hq1pwc.js → integration-cng830g8.js} +9 -9
- package/dist/chunks/{form-2sejkfem.js → integration-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-nwsgejtt.js → integration-dapszkb4.js} +43 -43
- package/dist/chunks/{form-nnn7p406.js → integration-dpcpxgba.js} +43 -43
- package/dist/chunks/{form-dpkg50ah.js → integration-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-6qmgps4y.js → integration-dqnxxnj8.js} +4 -4
- package/dist/chunks/{form-kne8f3cn.js → integration-e2hjzebn.js} +4 -4
- package/dist/chunks/{form-47epm23s.js → integration-e72g3r26.js} +18 -18
- package/dist/chunks/{form-axnsfap1.js → integration-ebdd9dvq.js} +31 -31
- package/dist/chunks/{form-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-psbd2vry.js → integration-effradxc.js} +13 -13
- package/dist/chunks/{form-qz7nmp4w.js → integration-ejb98f1s.js} +52 -52
- package/dist/chunks/{form-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-5b66h5dm.js → integration-ewbkp6fe.js} +11 -11
- package/dist/chunks/{form-e9t3gnr2.js → integration-ex63z9fa.js} +12 -12
- package/dist/chunks/{form-vwpvz4rm.js → integration-f2jgthag.js} +31 -31
- package/dist/chunks/{form-vrqs2q7k.js → integration-f98j5cfa.js} +13 -13
- package/dist/chunks/{form-vvkr8kkt.js → integration-fpv54gav.js} +24 -24
- package/dist/chunks/{form-21zzetpa.js → integration-fxj3b9yg.js} +31 -31
- package/dist/chunks/{form-5th92fqm.js → integration-g1f3c3d1.js} +16 -16
- package/dist/chunks/{form-vq1ezhbs.js → integration-g1t94mew.js} +20 -20
- package/dist/chunks/{form-pndgmahk.js → integration-g281e4xk.js} +17 -17
- package/dist/chunks/{form-3ns2az59.js → integration-g62648wr.js} +6 -6
- package/dist/chunks/{form-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-6kwj5r58.js → integration-ghxvzn3x.js} +23 -23
- package/dist/chunks/{form-7rwqf82v.js → integration-gn2hfjap.js} +8 -8
- package/dist/chunks/{form-7rnsdfke.js → integration-gn4bm1t0.js} +8 -8
- package/dist/chunks/{form-dwh3vr9x.js → integration-gsgajazs.js} +24 -24
- package/dist/chunks/{form-h2b79v29.js → integration-h2b79v29.js} +2 -2
- package/dist/chunks/{form-dh6ejakv.js → integration-h2f60434.js} +11 -11
- package/dist/chunks/{form-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-8zqtvbyg.js → integration-hcc7q1jq.js} +16 -16
- package/dist/chunks/{form-jxj94jpx.js → integration-hp412gpb.js} +14 -14
- package/dist/chunks/{form-b3b12yn7.js → integration-hphr80a8.js} +13 -13
- package/dist/chunks/{form-xdj26av2.js → integration-hpzkemhr.js} +22 -22
- package/dist/chunks/{form-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{form-wfpnxbz2.js → integration-j56prkdn.js} +24 -24
- package/dist/chunks/{form-nmkj0za1.js → integration-j6ky7ame.js} +17 -17
- package/dist/chunks/{form-w05x0cfw.js → integration-j8s9ab9g.js} +9 -9
- package/dist/chunks/{form-3y1bc7de.js → integration-jm1t4tee.js} +3 -3
- package/dist/chunks/{form-850qbkw0.js → integration-jnd02v53.js} +22 -22
- package/dist/chunks/{form-8k27bntb.js → integration-jzfk96c8.js} +3 -3
- package/dist/chunks/{form-rc1dmyce.js → integration-k5m0fz1p.js} +8 -8
- package/dist/chunks/{form-aqp720et.js → integration-k7w12qb3.js} +24 -24
- package/dist/chunks/{form-axs6pdy0.js → integration-k8hpw67k.js} +5 -5
- package/dist/chunks/{form-6nktm29f.js → integration-kchkj68z.js} +4 -4
- package/dist/chunks/{form-vwqx2j5z.js → integration-ketcqt3x.js} +15 -15
- package/dist/chunks/{form-3f2j97tm.js → integration-kfzr7t9c.js} +7 -7
- package/dist/chunks/{form-4eq8w0dz.js → integration-kmx0na6r.js} +4 -4
- package/dist/chunks/{form-yh4yt34p.js → integration-kphg7ckb.js} +17 -17
- package/dist/chunks/{form-ecgk3wpe.js → integration-kr7bb6bc.js} +4 -4
- package/dist/chunks/{form-v2dz1vdf.js → integration-ktfy3swb.js} +9 -9
- package/dist/chunks/{form-8bgx1k0m.js → integration-m0510ky1.js} +25 -25
- package/dist/chunks/{form-2bt9r67e.js → integration-m06mmkzg.js} +25 -25
- package/dist/chunks/{form-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-1xy6xe00.js → integration-m46p307c.js} +11 -11
- package/dist/chunks/{form-k1qrnqst.js → integration-m6f3t844.js} +8 -8
- package/dist/chunks/{form-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-ed2paqxd.js → integration-mgv8frcb.js} +22 -22
- package/dist/chunks/{form-mjqndqed.js → integration-mjqndqed.js} +5 -5
- package/dist/chunks/{form-7c08hygz.js → integration-mkxakkxe.js} +11 -11
- package/dist/chunks/{form-mn94j7kz.js → integration-mm2b3xx7.js} +9 -9
- package/dist/chunks/{form-prd0dw70.js → integration-msetvear.js} +20 -20
- package/dist/chunks/{form-addxnjmp.js → integration-mxvxcxwy.js} +4 -4
- package/dist/chunks/{form-njt1r4jv.js → integration-n1ccbseb.js} +16 -16
- package/dist/chunks/{form-3ewed21c.js → integration-n2srvep7.js} +4 -4
- package/dist/chunks/{form-3556dn8t.js → integration-n2thn3nx.js} +1 -1
- package/dist/chunks/{form-0yb9snjw.js → integration-n6fcfdpm.js} +3 -3
- package/dist/chunks/{form-4acqjqp7.js → integration-nbg1na0y.js} +24 -24
- package/dist/chunks/{form-drnf6xwf.js → integration-nqxj0yn4.js} +2 -2
- package/dist/chunks/{form-c20khjev.js → integration-nrdmrqsx.js} +21 -21
- package/dist/chunks/{form-8kp3yy8k.js → integration-ny14cx4d.js} +7 -7
- package/dist/chunks/{form-0scwa2te.js → integration-pgy55b37.js} +8 -8
- package/dist/chunks/{form-nex88e4j.js → integration-pjbkn2cb.js} +2 -2
- package/dist/chunks/{form-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{form-953hpm28.js → integration-pwj3jgnv.js} +15 -15
- package/dist/chunks/{form-cfsekr6v.js → integration-py3kkmfq.js} +2 -2
- package/dist/chunks/{form-0j77ygfz.js → integration-q0xm7vwc.js} +6 -6
- package/dist/chunks/{form-g4sxyesw.js → integration-q6m7avnn.js} +11 -11
- package/dist/chunks/{form-y2541frd.js → integration-q6qyje63.js} +8 -8
- package/dist/chunks/{form-3mdp71a3.js → integration-qbq3t42m.js} +5 -5
- package/dist/chunks/{form-fm2qvscf.js → integration-qm0v3jhh.js} +7 -7
- package/dist/chunks/{form-3yebr94x.js → integration-qnb2yq88.js} +22 -22
- package/dist/chunks/{form-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{form-bwp2vssd.js → integration-qt7ev8qn.js} +11 -11
- package/dist/chunks/{form-d418jqtc.js → integration-qv2msmpw.js} +8 -8
- package/dist/chunks/{form-qxjc9qry.js → integration-qxjc9qry.js} +3 -3
- package/dist/chunks/{form-b45wjgqf.js → integration-qxxfbcsd.js} +3 -3
- package/dist/chunks/{form-hkymnnk0.js → integration-qzy7989e.js} +5 -5
- package/dist/chunks/{form-1hwfwv7m.js → integration-r2qww7ak.js} +12 -12
- package/dist/chunks/{form-jj9ye6kg.js → integration-r85gy1sq.js} +11 -11
- package/dist/chunks/{form-63r7rbtf.js → integration-r89p6vhj.js} +22 -22
- package/dist/chunks/{form-tbybmkrm.js → integration-ra6s4a33.js} +5 -5
- package/dist/chunks/{form-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rhjbct0v.js → integration-rhjbct0v.js} +1 -1
- package/dist/chunks/{form-1acjjqhc.js → integration-rhraev7y.js} +4 -4
- package/dist/chunks/{form-fzfwmgw5.js → integration-rj80bee6.js} +29 -29
- package/dist/chunks/{form-g7v0c87a.js → integration-rp35854z.js} +1 -1
- package/dist/chunks/{form-as7cf5zz.js → integration-s0b7t9fd.js} +4 -4
- package/dist/chunks/{form-fyjtj9y6.js → integration-s58h0p13.js} +10 -10
- package/dist/chunks/{form-f6cpxsan.js → integration-s8j4x6y5.js} +18 -18
- package/dist/chunks/{form-4nt6zhnm.js → integration-sa13dnrp.js} +5 -5
- package/dist/chunks/{form-mha52fg8.js → integration-scgrse2b.js} +5 -5
- package/dist/chunks/{form-y51gb3fq.js → integration-sczwmd32.js} +10 -10
- package/dist/chunks/{form-s6jwspqv.js → integration-shpbn2ny.js} +18 -18
- package/dist/chunks/{form-be221666.js → integration-smgb8att.js} +48 -48
- package/dist/chunks/{form-6s8wajv0.js → integration-sqpatsj3.js} +23 -23
- package/dist/chunks/{form-gh5z95q3.js → integration-srq8z0b0.js} +9 -9
- package/dist/chunks/{form-hb63cgcb.js → integration-svvjfvf0.js} +15 -15
- package/dist/chunks/{form-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-rh400emc.js → integration-tb5f0k4y.js} +33 -33
- package/dist/chunks/{form-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{form-83qnhswv.js → integration-tk75c10s.js} +34 -34
- package/dist/chunks/{form-b1ktxh04.js → integration-ty3geqrm.js} +3 -3
- package/dist/chunks/{form-v0es1rhs.js → integration-v0es1rhs.js} +2 -2
- package/dist/chunks/integration-v1faaxn9.js +18 -0
- package/dist/chunks/{form-1rgkr28y.js → integration-v3cmarp4.js} +12 -12
- package/dist/chunks/{form-8tmgfbm7.js → integration-v3k09np6.js} +2 -2
- package/dist/chunks/{form-jb9k9xr1.js → integration-vdvz9aqh.js} +327 -327
- package/dist/chunks/{form-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{form-wx3ch3wa.js → integration-vh2jeqv7.js} +11 -11
- package/dist/chunks/{form-cgcjmp7z.js → integration-vhxef7nb.js} +23 -23
- package/dist/chunks/{form-k10g0m9h.js → integration-vrpaqz73.js} +8 -8
- package/dist/chunks/{form-ckbnwpw7.js → integration-vtt0yr3x.js} +9 -9
- package/dist/chunks/{form-ct00nwgz.js → integration-vv4g9afh.js} +22 -22
- package/dist/chunks/{form-pw11r9y7.js → integration-vye3xcrx.js} +42 -42
- package/dist/chunks/{form-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-79katkn0.js → integration-w6ahnghs.js} +9 -9
- package/dist/chunks/{form-ba0vw6r1.js → integration-w6eesa9k.js} +15 -15
- package/dist/chunks/{form-022dhnk7.js → integration-w7ep3043.js} +10 -10
- package/dist/chunks/{form-gsjmd0bt.js → integration-wd2y1ed1.js} +70 -70
- package/dist/chunks/{form-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{form-f78p0ezd.js → integration-wdem0pek.js} +6 -6
- package/dist/chunks/{form-0pw168n3.js → integration-wjs5yan7.js} +27 -27
- package/dist/chunks/{form-8yxcpbcn.js → integration-wjx6hqf1.js} +8 -8
- package/dist/chunks/{form-yj4aadch.js → integration-wypccatr.js} +20 -20
- package/dist/chunks/{form-mpkfyece.js → integration-x10t073p.js} +24 -24
- package/dist/chunks/{form-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-r60y1j1r.js → integration-x3rjzwb2.js} +21 -21
- package/dist/chunks/{form-g5w8qwbj.js → integration-xfkkasph.js} +4 -4
- package/dist/chunks/integration-xh623j6n.js +253 -0
- package/dist/chunks/{form-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{form-jd1jhfts.js → integration-xsa88cz6.js} +5 -5
- package/dist/chunks/{form-hj5bkg0c.js → integration-xsgjgyxe.js} +4 -4
- package/dist/chunks/{form-vktry8n7.js → integration-xtdf1ygn.js} +11 -11
- package/dist/chunks/{form-j5w5frs6.js → integration-xxs52zwy.js} +18 -18
- package/dist/chunks/{form-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-rz8fmr7m.js → integration-y6g66d6j.js} +3 -3
- package/dist/chunks/{form-3gj081ay.js → integration-yb3q3xyj.js} +24 -24
- package/dist/chunks/{form-47jkzegy.js → integration-ygdna4kr.js} +5 -5
- package/dist/chunks/{form-sqmzwr9m.js → integration-yvsf4n3e.js} +9 -9
- package/dist/chunks/{form-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-2rd5edbk.js → integration-z16ah6n9.js} +10 -10
- package/dist/chunks/{form-909p1r3q.js → integration-zdwe30dy.js} +6 -6
- package/dist/chunks/{form-pw3wzpsy.js → integration-zjkadnqj.js} +44 -44
- package/dist/chunks/{form-1zqcwm4c.js → integration-zjsge41k.js} +5 -5
- package/dist/chunks/{form-0cymt7sw.js → integration-zm7ktbkp.js} +20 -20
- package/dist/chunks/{form-1szfzhnp.js → integration-zp9rdmx5.js} +41 -41
- package/dist/chunks/{form-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-c8zvfsgk.js → integration-zx74ysyp.js} +5 -5
- package/dist/chunks/{form-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 +85 -85
- 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 +70 -70
- 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 +6 -6
- 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 +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +85 -85
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +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 +82 -82
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- 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 +89 -89
- 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 +95 -95
- 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 +133 -133
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +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 +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +118 -118
- 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 +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- 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 +112 -112
- package/dist/tool/plugin/write.js +118 -118
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- 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/form-a1mrvsqs.js +0 -253
- package/dist/chunks/form-pdg9vknw.js +0 -26
- package/dist/chunks/form-qc068m1q.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node41
|
|
4
|
+
} from "./integration-3w0qz7bz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-kr7bb6bc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./integration-56p4k42z.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-gsgajazs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service72,
|
|
24
|
+
node75
|
|
25
|
+
} from "./integration-yb3q3xyj.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service80,
|
|
33
33
|
node84
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-v3k09np6.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID12,
|
|
37
|
+
Service71,
|
|
38
|
+
node74
|
|
39
|
+
} from "./integration-sqpatsj3.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service70,
|
|
42
|
+
node73
|
|
43
|
+
} from "./integration-r85gy1sq.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service48,
|
|
46
|
+
node52
|
|
47
|
+
} from "./integration-x10t073p.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service69,
|
|
50
|
+
node72
|
|
51
|
+
} from "./integration-sczwmd32.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service67,
|
|
54
|
+
node70
|
|
55
|
+
} from "./integration-ktfy3swb.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID10,
|
|
58
|
+
Service66,
|
|
59
|
+
node69
|
|
60
|
+
} from "./integration-ghxvzn3x.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID16
|
|
63
|
+
} from "./integration-am14x6rr.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service32,
|
|
66
|
+
node35
|
|
67
|
+
} from "./integration-smgb8att.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
72
|
-
import {
|
|
73
|
-
Service51,
|
|
74
|
-
node53
|
|
75
|
-
} from "./form-qz7nmp4w.js";
|
|
69
|
+
Service65,
|
|
70
|
+
node68
|
|
71
|
+
} from "./integration-9y0w708y.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
80
|
-
import {
|
|
81
|
-
Source4,
|
|
82
|
-
Service39,
|
|
83
|
-
node42
|
|
84
|
-
} from "./form-vvkr8kkt.js";
|
|
73
|
+
Service61,
|
|
74
|
+
node64
|
|
75
|
+
} from "./integration-ejb98f1s.js";
|
|
85
76
|
import {
|
|
86
|
-
Info6,
|
|
87
77
|
Service38,
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
78
|
+
node42
|
|
79
|
+
} from "./integration-jnd02v53.js";
|
|
90
80
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
81
|
+
Source4,
|
|
82
|
+
Service46,
|
|
83
|
+
node50
|
|
84
|
+
} from "./integration-fpv54gav.js";
|
|
94
85
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
Info5,
|
|
87
|
+
Service36,
|
|
88
|
+
node39
|
|
89
|
+
} from "./integration-hpzkemhr.js";
|
|
98
90
|
import {
|
|
99
91
|
Service22,
|
|
100
92
|
node25
|
|
101
|
-
} from "./
|
|
93
|
+
} from "./integration-4zt4rykk.js";
|
|
102
94
|
import {
|
|
103
95
|
Service21,
|
|
104
96
|
node24
|
|
105
|
-
} from "./
|
|
97
|
+
} from "./integration-0n1m97p8.js";
|
|
106
98
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./form-cgcjmp7z.js";
|
|
99
|
+
Service79,
|
|
100
|
+
node83
|
|
101
|
+
} from "./integration-xtdf1ygn.js";
|
|
111
102
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
103
|
+
Service78,
|
|
104
|
+
node82
|
|
105
|
+
} from "./integration-j6ky7ame.js";
|
|
106
|
+
import {
|
|
107
|
+
ID4,
|
|
108
|
+
Service20,
|
|
109
|
+
node23
|
|
110
|
+
} from "./integration-vhxef7nb.js";
|
|
111
|
+
import {
|
|
112
|
+
Service51,
|
|
113
|
+
node55
|
|
114
|
+
} from "./integration-g1f3c3d1.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info13,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service50,
|
|
120
|
+
node54
|
|
121
|
+
} from "./integration-tk75c10s.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service19,
|
|
124
|
+
node22
|
|
125
|
+
} from "./integration-9pf0h08k.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./integration-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 make12 = 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*
|
|
146
|
+
const agents = yield* Service64;
|
|
147
|
+
const aisdk = yield* Service70;
|
|
148
|
+
const providers = yield* Service71;
|
|
149
|
+
const models = yield* Service66;
|
|
150
|
+
const commands = yield* Service48;
|
|
151
151
|
const bus = yield* Service83;
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
152
|
+
const integration = yield* Service72;
|
|
153
|
+
const kv = yield* Service69;
|
|
154
|
+
const mcp = yield* Service32;
|
|
155
155
|
const location = yield* Service80;
|
|
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*
|
|
156
|
+
const reference = yield* Service46;
|
|
157
|
+
const rpc = yield* Service79;
|
|
158
|
+
const skill = yield* Service36;
|
|
159
|
+
const tools = yield* Service38;
|
|
160
|
+
const vcs = yield* Service78;
|
|
161
|
+
const websearch = yield* Service20;
|
|
162
|
+
const generate = yield* Service19;
|
|
163
|
+
const permission = yield* Service61;
|
|
164
|
+
const hooks = yield* Service65;
|
|
165
|
+
const sessions = yield* Service22;
|
|
166
|
+
const persistentPty = yield* Service21;
|
|
167
|
+
const locations = yield* Service67;
|
|
168
|
+
const worktrees = yield* Service50;
|
|
169
|
+
const worktreeStrategies = yield* Service51;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info27({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make12 = 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 : ID16.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(Info13);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
185
|
const location = yield* Service80;
|
|
186
|
-
const agents = yield*
|
|
186
|
+
const agents = yield* Service64;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info27({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make12 = 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
265
|
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.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), ID10.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID10.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make12 = 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), ID10.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID10.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID10.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), ID10.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 make12 = 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,46 +327,46 @@ var make12 = 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(
|
|
366
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
367
367
|
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
|
|
368
368
|
status: (input) => integration.connection.status({
|
|
369
|
-
integrationID:
|
|
369
|
+
integrationID: ID13.make(input.integrationID),
|
|
370
370
|
connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
|
|
371
371
|
status: input.status
|
|
372
372
|
})
|
|
@@ -374,13 +374,13 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
374
374
|
transform: (callback) => integration.transform((editor) => {
|
|
375
375
|
callback({
|
|
376
376
|
list: () => mutable(editor.list()),
|
|
377
|
-
get: (id) => mutable(editor.get(
|
|
378
|
-
update: (id, update) => editor.update(
|
|
379
|
-
remove: (id) => editor.remove(
|
|
377
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
378
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
379
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
380
380
|
method: {
|
|
381
|
-
list: (id) => editor.method.list(
|
|
381
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
382
382
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
383
|
-
remove: (id, method) => editor.method.remove(
|
|
383
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
})
|
|
@@ -391,7 +391,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
391
391
|
if (ref && !isCurrentLocation(ref))
|
|
392
392
|
return Effect.gen(function* () {
|
|
393
393
|
const location = yield* Service80;
|
|
394
|
-
const mcp = yield*
|
|
394
|
+
const mcp = yield* Service32;
|
|
395
395
|
return {
|
|
396
396
|
location: new Info27({
|
|
397
397
|
directory: location.directory,
|
|
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
442
442
|
callback({
|
|
443
443
|
list: () => mutable(editor.list()),
|
|
444
444
|
get: editor.get,
|
|
445
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
445
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
|
|
446
446
|
update: editor.update,
|
|
447
447
|
remove: editor.remove
|
|
448
448
|
});
|
|
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
473
473
|
providers: () => response(websearch.providers()),
|
|
474
474
|
query: (input) => response(websearch.query({
|
|
475
475
|
query: input.query,
|
|
476
|
-
providerID: input.providerID === undefined ? undefined :
|
|
476
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
477
477
|
})),
|
|
478
478
|
reload: websearch.reload,
|
|
479
479
|
transform: (callback) => websearch.transform((editor) => {
|
|
480
480
|
callback({
|
|
481
481
|
add: (definition) => editor.add({
|
|
482
|
-
id:
|
|
482
|
+
id: ID4.make(definition.id),
|
|
483
483
|
name: definition.name,
|
|
484
484
|
execute: definition.execute
|
|
485
485
|
}),
|
|
486
486
|
default: {
|
|
487
487
|
get: editor.default.get,
|
|
488
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
488
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
})
|
|
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
545
545
|
return context;
|
|
546
546
|
});
|
|
547
547
|
var requirements3 = LayerNode.group([
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
548
|
+
node41,
|
|
549
|
+
node67,
|
|
550
|
+
node73,
|
|
551
|
+
node74,
|
|
552
|
+
node69,
|
|
553
|
+
node52,
|
|
554
554
|
node87,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
555
|
+
node75,
|
|
556
|
+
node72,
|
|
557
|
+
node35,
|
|
558
558
|
node84,
|
|
559
|
+
node50,
|
|
560
|
+
node83,
|
|
561
|
+
node39,
|
|
559
562
|
node42,
|
|
563
|
+
node82,
|
|
564
|
+
node23,
|
|
565
|
+
node54,
|
|
566
|
+
node55,
|
|
567
|
+
node22,
|
|
568
|
+
node64,
|
|
569
|
+
node68,
|
|
560
570
|
node25,
|
|
561
|
-
node41,
|
|
562
|
-
node57,
|
|
563
571
|
node24,
|
|
564
|
-
|
|
565
|
-
node26,
|
|
566
|
-
node27,
|
|
567
|
-
node19,
|
|
568
|
-
node53,
|
|
569
|
-
node73,
|
|
570
|
-
node28,
|
|
571
|
-
node18,
|
|
572
|
-
node51
|
|
572
|
+
node70
|
|
573
573
|
]);
|
|
574
574
|
function storage2(kv, pluginID) {
|
|
575
575
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -596,7 +596,7 @@ function methodImplementation(input) {
|
|
|
596
596
|
if ("authorize" in input) {
|
|
597
597
|
const refresh = input.refresh;
|
|
598
598
|
return {
|
|
599
|
-
integrationID:
|
|
599
|
+
integrationID: ID13.make(input.integrationID),
|
|
600
600
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
601
601
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
602
602
|
if (authorization.mode === "auto") {
|
|
@@ -616,18 +616,18 @@ function methodImplementation(input) {
|
|
|
616
616
|
}
|
|
617
617
|
if (input.method.type === "env") {
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID13.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "command") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID13.make(input.integrationID),
|
|
626
626
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
630
|
-
integrationID:
|
|
630
|
+
integrationID: ID13.make(input.integrationID),
|
|
631
631
|
method: input.method
|
|
632
632
|
};
|
|
633
633
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-3w0qz7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-kr7bb6bc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./integration-gsgajazs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-yb3q3xyj.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-sqpatsj3.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./integration-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID13.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID13.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID12.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID12.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID12.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|