@opencode/core 0.0.0-dev-20559 → 0.0.0-dev-20561
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{integration-qbq3t42m.js → filesystem-05s1xpx9.js} +5 -5
- package/dist/chunks/{integration-by6hqsjv.js → filesystem-0b5d4wqg.js} +26 -26
- package/dist/chunks/{integration-ty3geqrm.js → filesystem-0darn3w3.js} +3 -3
- package/dist/chunks/{integration-a687420s.js → filesystem-0g731nkn.js} +37 -37
- package/dist/chunks/{integration-smgb8att.js → filesystem-0p056far.js} +48 -48
- package/dist/chunks/{integration-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-wdem0pek.js → filesystem-0vadek73.js} +6 -6
- package/dist/chunks/{integration-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{integration-gsgajazs.js → filesystem-1178x954.js} +24 -24
- package/dist/chunks/{integration-rhraev7y.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{integration-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-1dvck2a7.js → filesystem-1dvck2a7.js} +2 -2
- package/dist/chunks/{integration-w6ahnghs.js → filesystem-1k07r218.js} +9 -9
- package/dist/chunks/{integration-89vjf07m.js → filesystem-1nwxscpy.js} +5 -5
- package/dist/chunks/{integration-2px63w2g.js → filesystem-1pb87kts.js} +7 -7
- package/dist/chunks/{integration-4rz3aacp.js → filesystem-20yrtfvs.js} +27 -27
- package/dist/chunks/{integration-brtzvjxe.js → filesystem-21mjyg2m.js} +13 -13
- package/dist/chunks/{integration-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-qzy7989e.js → filesystem-2d5yxwhn.js} +5 -5
- package/dist/chunks/{integration-1afj9w30.js → filesystem-2e1yz4t0.js} +22 -22
- package/dist/chunks/{integration-46rrtey5.js → filesystem-2k4z4ex5.js} +167 -167
- package/dist/chunks/{integration-3w0qz7bz.js → filesystem-2kn5e7ew.js} +11 -11
- package/dist/chunks/{integration-q6qyje63.js → filesystem-2pb4n73y.js} +11 -11
- package/dist/chunks/{integration-zx74ysyp.js → filesystem-2w3n3m8j.js} +5 -5
- package/dist/chunks/{integration-a2zscq7f.js → filesystem-2wcm31wb.js} +39 -39
- package/dist/chunks/{integration-zm7ktbkp.js → filesystem-2wdzasa3.js} +27 -27
- package/dist/chunks/filesystem-2za63s1q.js +507 -0
- package/dist/chunks/{integration-by1ddq7k.js → filesystem-33y1fd5k.js} +4 -4
- package/dist/chunks/{integration-kfzr7t9c.js → filesystem-3cy6ygha.js} +7 -7
- package/dist/chunks/{integration-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-wypccatr.js → filesystem-3wdkwvwj.js} +20 -20
- package/dist/chunks/{integration-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-a8kx2z1g.js → filesystem-44e8p68v.js} +3 -3
- package/dist/chunks/{integration-9y0w708y.js → filesystem-4a0nv7mx.js} +8 -8
- package/dist/chunks/{integration-4ts7tf6z.js → filesystem-4ts7tf6z.js} +2 -2
- package/dist/chunks/{integration-v3k09np6.js → filesystem-50vxqkrt.js} +2 -2
- package/dist/chunks/{integration-894p73wy.js → filesystem-5167myhe.js} +11 -11
- package/dist/chunks/{integration-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-33w4ejhs.js → filesystem-56gdpj1q.js} +6 -6
- package/dist/chunks/{integration-qnb2yq88.js → filesystem-5c67hs8w.js} +34 -34
- package/dist/chunks/{integration-ghxvzn3x.js → filesystem-5cpk2dg7.js} +27 -27
- package/dist/chunks/{integration-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-pgy55b37.js → filesystem-5nv1sxm7.js} +8 -8
- package/dist/chunks/{integration-c2zf2dj4.js → filesystem-5s1dr8ae.js} +3 -3
- package/dist/chunks/{integration-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-c3ctmvyr.js → filesystem-5xtsng1h.js} +21 -21
- package/dist/chunks/{integration-9b07y4jg.js → filesystem-61ga223q.js} +20 -20
- package/dist/chunks/{integration-2kw5c8ge.js → filesystem-64dva6qk.js} +18 -18
- package/dist/chunks/{integration-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{integration-xsgjgyxe.js → filesystem-68dcddmz.js} +4 -4
- package/dist/chunks/{integration-jm1t4tee.js → filesystem-6hxqkvwn.js} +3 -3
- package/dist/chunks/{integration-g281e4xk.js → filesystem-6mrppxqh.js} +17 -17
- package/dist/chunks/{integration-4m5j9vj5.js → filesystem-6y4y1s1z.js} +24 -24
- package/dist/chunks/{integration-71az546q.js → filesystem-71az546q.js} +2 -2
- package/dist/chunks/{integration-b2ehpbd4.js → filesystem-72gzdak0.js} +16 -16
- package/dist/chunks/{integration-j56prkdn.js → filesystem-745q83q9.js} +24 -24
- package/dist/chunks/{integration-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-sa13dnrp.js → filesystem-7g0a4xbf.js} +5 -5
- package/dist/chunks/{integration-s8j4x6y5.js → filesystem-7gk56s9p.js} +20 -20
- package/dist/chunks/{integration-5jr74dtx.js → filesystem-7mqtmdfv.js} +1 -1
- package/dist/chunks/{integration-msetvear.js → filesystem-7tbpabav.js} +20 -20
- package/dist/chunks/{integration-r89p6vhj.js → filesystem-82p5sc74.js} +11 -11
- package/dist/chunks/{integration-6m372yhf.js → filesystem-8606fqv4.js} +15 -15
- package/dist/chunks/{integration-56p4k42z.js → filesystem-86mzb83b.js} +19 -19
- package/dist/chunks/{integration-ex63z9fa.js → filesystem-8bsq9cmc.js} +12 -12
- package/dist/chunks/{integration-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-r2qww7ak.js → filesystem-8zz7qfd2.js} +12 -12
- package/dist/chunks/{integration-9e5bzkjp.js → filesystem-9e5bzkjp.js} +3 -3
- package/dist/chunks/{integration-vtt0yr3x.js → filesystem-9k8khh75.js} +11 -11
- package/dist/chunks/{integration-89kpdwyc.js → filesystem-9mbktg3q.js} +6 -6
- package/dist/chunks/{integration-dqnxxnj8.js → filesystem-a1548wxn.js} +4 -4
- package/dist/chunks/{integration-73tb2d7t.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{integration-fpv54gav.js → filesystem-a1gzp32g.js} +28 -28
- package/dist/chunks/{integration-xsa88cz6.js → filesystem-a7cdrn8g.js} +5 -5
- package/dist/chunks/{integration-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-58ctt3vw.js → filesystem-aaxagp5t.js} +11 -11
- package/dist/chunks/{integration-mxvxcxwy.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{integration-g1f3c3d1.js → filesystem-aej1k0m3.js} +16 -16
- package/dist/chunks/{integration-55qae9zm.js → filesystem-afe1rz3j.js} +32 -32
- package/dist/chunks/{integration-rp35854z.js → filesystem-ap0z94yk.js} +1 -1
- package/dist/chunks/{integration-k8hpw67k.js → filesystem-axs6pdy0.js} +5 -5
- package/dist/chunks/{integration-hpzkemhr.js → filesystem-b1ejk53y.js} +24 -24
- package/dist/chunks/{integration-hp412gpb.js → filesystem-b49trrwf.js} +14 -14
- package/dist/chunks/{integration-py3kkmfq.js → filesystem-b4twkq7r.js} +6 -6
- package/dist/chunks/{integration-ygdna4kr.js → filesystem-b674v2dg.js} +5 -5
- package/dist/chunks/{integration-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-tb5f0k4y.js → filesystem-bd0wg847.js} +33 -33
- package/dist/chunks/{integration-w6eesa9k.js → filesystem-bh7b7fwa.js} +17 -17
- package/dist/chunks/{integration-ra6s4a33.js → filesystem-bhmagzz7.js} +5 -5
- package/dist/chunks/{integration-bgxbcym9.js → filesystem-bp3dz00c.js} +9 -9
- package/dist/chunks/filesystem-brhkvxaw.js +253 -0
- package/dist/chunks/{integration-effradxc.js → filesystem-c42w5rbs.js} +13 -13
- package/dist/chunks/{integration-zdwe30dy.js → filesystem-c8bydgjz.js} +6 -6
- package/dist/chunks/{integration-5yzzbxa7.js → filesystem-cmwkp3r5.js} +8 -8
- package/dist/chunks/{integration-4b9qmq0d.js → filesystem-csgf08gg.js} +13 -13
- package/dist/chunks/filesystem-ctefx7dc.js +18 -0
- package/dist/chunks/{integration-qv2msmpw.js → filesystem-cwvd40hs.js} +8 -8
- package/dist/chunks/{integration-21gxxnb9.js → filesystem-d19qcdcp.js} +26 -26
- package/dist/chunks/{integration-1hddc0ez.js → filesystem-d3efwvz5.js} +48 -48
- package/dist/chunks/{integration-ewbkp6fe.js → filesystem-da721fkj.js} +11 -11
- package/dist/chunks/{integration-vhxef7nb.js → filesystem-ddf5b0s2.js} +16 -16
- package/dist/chunks/{integration-2g2qndgs.js → filesystem-demj5k7q.js} +10 -10
- package/dist/chunks/{integration-cdpaedqb.js → filesystem-dhcb13vn.js} +11 -11
- package/dist/chunks/{integration-e2hjzebn.js → filesystem-dhmh7aw6.js} +4 -4
- package/dist/chunks/{integration-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{integration-590nj5ba.js → filesystem-dqz32msn.js} +8 -8
- package/dist/chunks/{integration-bv788cy3.js → filesystem-dt1mmnkg.js} +50 -50
- package/dist/chunks/{integration-0n1m97p8.js → filesystem-dypdz9hf.js} +12 -12
- package/dist/chunks/{integration-8ehfs3z6.js → filesystem-dyyz5283.js} +6 -6
- package/dist/chunks/{integration-2qpg8hvw.js → filesystem-e53c762s.js} +4 -4
- package/dist/chunks/{integration-vv4g9afh.js → filesystem-e656h771.js} +22 -22
- package/dist/chunks/{integration-8sr9g41h.js → filesystem-e66qqpgz.js} +20 -20
- package/dist/chunks/{integration-0nrwha1n.js → filesystem-eb1dxvtt.js} +10 -10
- package/dist/chunks/{integration-48fsd0ze.js → filesystem-ee5sde4w.js} +19 -19
- package/dist/chunks/{integration-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-mm2b3xx7.js → filesystem-eh93c3s7.js} +9 -9
- package/dist/chunks/{integration-gn4bm1t0.js → filesystem-en2hpwz4.js} +8 -8
- package/dist/chunks/{integration-5xe1z5pd.js → filesystem-epephavf.js} +11 -11
- package/dist/chunks/{integration-0xqyf95c.js → filesystem-espax8zg.js} +4 -4
- package/dist/chunks/{integration-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-92hbrp2m.js → filesystem-eycb1p8a.js} +20 -20
- package/dist/chunks/{integration-5amwpbtf.js → filesystem-ez14c0m1.js} +33 -33
- package/dist/chunks/{integration-3v9zqnbq.js → filesystem-f99wh82f.js} +6 -6
- package/dist/chunks/{integration-r85gy1sq.js → filesystem-fahsxrte.js} +11 -11
- package/dist/chunks/{integration-j6ky7ame.js → filesystem-fcvkxbgs.js} +17 -17
- package/dist/chunks/{integration-pwj3jgnv.js → filesystem-ff11qc79.js} +15 -15
- package/dist/chunks/{integration-zp9rdmx5.js → filesystem-fjt2jd2k.js} +43 -43
- package/dist/chunks/{integration-kchkj68z.js → filesystem-fme8rgsj.js} +4 -4
- package/dist/chunks/{integration-sczwmd32.js → filesystem-fnnra18v.js} +10 -10
- package/dist/chunks/{integration-e72g3r26.js → filesystem-fsxfdkb2.js} +18 -18
- package/dist/chunks/{integration-vye3xcrx.js → filesystem-ft0syenm.js} +42 -42
- package/dist/chunks/{integration-4nj4bn9q.js → filesystem-fwwk8vbp.js} +9 -9
- package/dist/chunks/{integration-n1ccbseb.js → filesystem-fx0ft7bw.js} +16 -16
- package/dist/chunks/{integration-9ztdmq49.js → filesystem-g3wadahe.js} +11 -11
- package/dist/chunks/{integration-h2f60434.js → filesystem-g4kgyb8v.js} +11 -11
- package/dist/chunks/{integration-xfkkasph.js → filesystem-g5w8qwbj.js} +4 -4
- package/dist/chunks/{integration-5fykfdj7.js → filesystem-g6yfr6ja.js} +5 -5
- package/dist/chunks/{integration-9berh2b5.js → filesystem-gbm58kyz.js} +20 -20
- package/dist/chunks/{integration-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-ebdd9dvq.js → filesystem-gqk7pm7c.js} +33 -33
- package/dist/chunks/{integration-ny14cx4d.js → filesystem-gt8z7hnk.js} +7 -7
- package/dist/chunks/{integration-rj80bee6.js → filesystem-gwfpf1r0.js} +29 -29
- package/dist/chunks/{integration-q6m7avnn.js → filesystem-gx4wbphy.js} +8 -8
- package/dist/chunks/{integration-h2b79v29.js → filesystem-h2b79v29.js} +2 -2
- package/dist/chunks/{integration-bqaat35f.js → filesystem-h31epwvj.js} +16 -16
- package/dist/chunks/{integration-996p1jm6.js → filesystem-h4bey8yr.js} +16 -16
- package/dist/chunks/{integration-svvjfvf0.js → filesystem-h6gabqmb.js} +15 -15
- package/dist/chunks/{integration-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-2nnxyksf.js → filesystem-hf0fjtc4.js} +10 -10
- package/dist/chunks/{integration-25r1j187.js → filesystem-hj8vgj88.js} +15 -15
- package/dist/chunks/{integration-kr7bb6bc.js → filesystem-hkh5g506.js} +4 -4
- package/dist/chunks/{integration-pjbkn2cb.js → filesystem-ht5zbj26.js} +2 -2
- package/dist/chunks/{integration-m6f3t844.js → filesystem-hz0q9sdq.js} +8 -8
- package/dist/chunks/{integration-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-8bjnfysf.js → filesystem-j7qdy4kr.js} +13 -13
- package/dist/chunks/{integration-8mpfj14y.js → filesystem-jeegv1qz.js} +27 -27
- package/dist/chunks/{integration-mkxakkxe.js → filesystem-jervv9x6.js} +6 -6
- package/dist/chunks/{integration-dpcpxgba.js → filesystem-jf9xte2j.js} +46 -46
- package/dist/chunks/{integration-hphr80a8.js → filesystem-jkgq88nr.js} +13 -13
- package/dist/chunks/{integration-vrpaqz73.js → filesystem-jmn6tp13.js} +8 -8
- package/dist/chunks/{integration-yb3q3xyj.js → filesystem-jw6e3k9x.js} +24 -24
- package/dist/chunks/{integration-mgv8frcb.js → filesystem-jyj71esj.js} +20 -20
- package/dist/chunks/{integration-80baj145.js → filesystem-k5981vyk.js} +11 -11
- package/dist/chunks/{integration-srq8z0b0.js → filesystem-k70p9jzb.js} +9 -9
- package/dist/chunks/{integration-8xfszxp2.js → filesystem-kevfspn8.js} +7 -7
- package/dist/chunks/{integration-6mw7ctgq.js → filesystem-kf3zv6hf.js} +11 -11
- package/dist/chunks/{integration-k5m0fz1p.js → filesystem-kjfdeayr.js} +8 -8
- package/dist/chunks/{integration-5y8bwb6n.js → filesystem-kteg0bd6.js} +14 -14
- package/dist/chunks/{integration-5zkn5psj.js → filesystem-kyc74hmy.js} +33 -33
- package/dist/chunks/{integration-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-cng830g8.js → filesystem-m4fxjmpc.js} +9 -9
- package/dist/chunks/{integration-9jz63y1y.js → filesystem-m4g8rqwq.js} +11 -11
- package/dist/chunks/{integration-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-k7w12qb3.js → filesystem-mm0ehgq1.js} +24 -24
- package/dist/chunks/{integration-tk75c10s.js → filesystem-mmhfxctp.js} +32 -32
- package/dist/chunks/{integration-7p75npdk.js → filesystem-mt3dh78v.js} +20 -20
- package/dist/chunks/{integration-kmx0na6r.js → filesystem-mwwxnxty.js} +4 -4
- package/dist/chunks/{integration-3sj8yt8v.js → filesystem-n1n192bv.js} +4 -4
- package/dist/chunks/{integration-zjsge41k.js → filesystem-n8df4ymx.js} +5 -5
- package/dist/chunks/{integration-v3cmarp4.js → filesystem-ncfw2m6a.js} +12 -12
- package/dist/chunks/{integration-ktfy3swb.js → filesystem-ng5taz21.js} +9 -9
- package/dist/chunks/{integration-633ngz6x.js → filesystem-nkbqs3g6.js} +6 -6
- package/dist/chunks/{integration-shpbn2ny.js → filesystem-nkdq3f4j.js} +20 -20
- package/dist/chunks/{integration-dapszkb4.js → filesystem-nqw83y6t.js} +43 -43
- package/dist/chunks/{integration-nqxj0yn4.js → filesystem-nqxj0yn4.js} +2 -2
- package/dist/chunks/{integration-nrdmrqsx.js → filesystem-nrdmrqsx.js} +1 -1
- package/dist/chunks/{integration-n2thn3nx.js → filesystem-ns3eape4.js} +1 -1
- package/dist/chunks/{integration-w7ep3043.js → filesystem-p2nmdyzb.js} +10 -10
- package/dist/chunks/{integration-ketcqt3x.js → filesystem-p4pj0byg.js} +15 -15
- package/dist/chunks/{integration-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{integration-xxs52zwy.js → filesystem-ppnybpah.js} +20 -20
- package/dist/chunks/{integration-jnd02v53.js → filesystem-ptnpxtm5.js} +25 -25
- package/dist/chunks/{integration-jzfk96c8.js → filesystem-ptwr3tsj.js} +3 -3
- package/dist/chunks/{integration-4t430f93.js → filesystem-pw0ckph3.js} +12 -12
- package/dist/chunks/filesystem-q0w5zgnd.js +26 -0
- package/dist/chunks/{integration-q0xm7vwc.js → filesystem-q0xm7vwc.js} +2 -2
- package/dist/chunks/{integration-9vygpq8x.js → filesystem-q86s7tss.js} +32 -32
- package/dist/chunks/{integration-n2srvep7.js → filesystem-qbqbaz6q.js} +4 -4
- package/dist/chunks/{integration-n6fcfdpm.js → filesystem-qgyv1dwh.js} +3 -3
- package/dist/chunks/{integration-nbg1na0y.js → filesystem-qhrb4a35.js} +22 -22
- package/dist/chunks/{integration-cwa6csj7.js → filesystem-qmqgtz8f.js} +9 -9
- package/dist/chunks/{integration-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{integration-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-qxjc9qry.js → filesystem-qxjc9qry.js} +3 -3
- package/dist/chunks/{integration-aj11vg3s.js → filesystem-qyfgy2gq.js} +29 -29
- package/dist/chunks/{integration-x3rjzwb2.js → filesystem-r3z47bx0.js} +23 -23
- package/dist/chunks/{integration-vh2jeqv7.js → filesystem-r9jqn31q.js} +11 -11
- package/dist/chunks/{integration-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-fxj3b9yg.js → filesystem-rt07f39r.js} +33 -33
- package/dist/chunks/{integration-9pf0h08k.js → filesystem-rz34hq66.js} +15 -15
- package/dist/chunks/{integration-s58h0p13.js → filesystem-s7pdhzrp.js} +13 -13
- package/dist/chunks/{integration-6mxns61s.js → filesystem-s85m4ty3.js} +5 -5
- package/dist/chunks/{integration-rhjbct0v.js → filesystem-s8d7rejh.js} +4 -4
- package/dist/chunks/{integration-ce06597t.js → filesystem-secpxc4k.js} +13 -13
- package/dist/chunks/{integration-xtdf1ygn.js → filesystem-sfa3hexk.js} +11 -11
- package/dist/chunks/{integration-wjs5yan7.js → filesystem-sgma6wrx.js} +27 -27
- package/dist/chunks/{integration-j8s9ab9g.js → filesystem-snf1tfdw.js} +6 -6
- package/dist/chunks/{integration-qm0v3jhh.js → filesystem-sxz6gkc3.js} +4 -4
- package/dist/chunks/{integration-m46p307c.js → filesystem-t35etwb9.js} +11 -11
- package/dist/chunks/{integration-y6g66d6j.js → filesystem-taex66d2.js} +3 -3
- package/dist/chunks/{integration-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
- package/dist/chunks/{integration-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{integration-avj0dg4d.js → filesystem-te6tp5cr.js} +26 -26
- package/dist/chunks/{integration-wd2y1ed1.js → filesystem-tfryn9s8.js} +70 -70
- package/dist/chunks/{integration-zjkadnqj.js → filesystem-tv0940e9.js} +44 -44
- package/dist/chunks/{integration-sqpatsj3.js → filesystem-tx57kkma.js} +23 -23
- package/dist/chunks/{integration-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/{integration-2dh77zgk.js → filesystem-v8r5by3x.js} +84 -84
- package/dist/chunks/{integration-z16ah6n9.js → filesystem-vafjtnbs.js} +10 -10
- package/dist/chunks/{integration-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-gn2hfjap.js → filesystem-vgx6weyf.js} +8 -8
- package/dist/chunks/{integration-kphg7ckb.js → filesystem-vnqerq2z.js} +15 -15
- package/dist/chunks/{integration-qxxfbcsd.js → filesystem-vr31stga.js} +3 -3
- package/dist/chunks/{integration-1jfd0cc7.js → filesystem-vr6dg64g.js} +3 -3
- package/dist/chunks/{integration-4zt4rykk.js → filesystem-vt69289g.js} +84 -84
- package/dist/chunks/{integration-m0510ky1.js → filesystem-vvecbeba.js} +22 -22
- package/dist/chunks/{integration-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-84txncab.js → filesystem-w1eejvng.js} +5 -5
- package/dist/chunks/{integration-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-yvsf4n3e.js → filesystem-w8djw5a7.js} +9 -9
- package/dist/chunks/{integration-f2jgthag.js → filesystem-wc87bz9b.js} +19 -19
- package/dist/chunks/{integration-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{integration-m06mmkzg.js → filesystem-wjk84ptv.js} +22 -22
- package/dist/chunks/{integration-hcc7q1jq.js → filesystem-wnm70ssr.js} +16 -16
- package/dist/chunks/{integration-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-qt7ev8qn.js → filesystem-xd0jjt73.js} +11 -11
- package/dist/chunks/{integration-am14x6rr.js → filesystem-xew8gt5p.js} +24 -24
- package/dist/chunks/{integration-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
- package/dist/chunks/{integration-wjx6hqf1.js → filesystem-xmcfxvam.js} +8 -8
- package/dist/chunks/{integration-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-6vk1te3k.js → filesystem-ybjb50wp.js} +11 -11
- package/dist/chunks/{integration-62n8sp77.js → filesystem-ykk2czw6.js} +29 -29
- package/dist/chunks/{integration-g62648wr.js → filesystem-yvxbrs33.js} +6 -6
- package/dist/chunks/{integration-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-x10t073p.js → filesystem-z25t9qfb.js} +21 -21
- package/dist/chunks/{integration-g1t94mew.js → filesystem-z2fhbmnd.js} +25 -25
- package/dist/chunks/{integration-f98j5cfa.js → filesystem-z5earm0j.js} +13 -13
- package/dist/chunks/{integration-6njf40he.js → filesystem-z6qgms2n.js} +27 -27
- package/dist/chunks/{integration-4b96sq08.js → filesystem-z7bsjx09.js} +11 -11
- package/dist/chunks/{integration-mjqndqed.js → filesystem-zc5g640q.js} +5 -5
- package/dist/chunks/{integration-8ymvype8.js → filesystem-zek9rv4e.js} +4 -4
- package/dist/chunks/{integration-69hsyh17.js → filesystem-zf29esk9.js} +18 -18
- package/dist/chunks/{integration-86s15hxv.js → filesystem-zfs19yjd.js} +18 -18
- package/dist/chunks/{integration-s0b7t9fd.js → filesystem-zfs8ae4p.js} +4 -4
- package/dist/chunks/{integration-ejb98f1s.js → filesystem-zqaa94x3.js} +44 -44
- package/dist/chunks/{integration-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-87fhqkv0.js → filesystem-zr4r5d69.js} +43 -43
- package/dist/chunks/{integration-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-scgrse2b.js → filesystem-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +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 +216 -216
- 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 +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- 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 +5 -5
- 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 +13 -13
- 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 +1 -1
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +205 -205
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/integration-53j303dn.js +0 -26
- package/dist/chunks/integration-v1faaxn9.js +0 -18
- package/dist/chunks/integration-vdvz9aqh.js +0 -507
- package/dist/chunks/integration-xh623j6n.js +0 -253
- /package/dist/chunks/{integration-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-arz7hw7x.js → filesystem-arz7hw7x.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service58,
|
|
3
|
+
node61
|
|
4
|
+
} from "./filesystem-qhrb4a35.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-50vxqkrt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./filesystem-zr4r5d69.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service57;
|
|
40
|
+
const watcher = yield* Service58;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node60, FSUtil.node, node61, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-1178x954.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-jw6e3k9x.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-hkh5g506.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./filesystem-fnnra18v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service59 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service72;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service59.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [httpClient, node76, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service59, Event11, inspect2, resolve4, node62, exports_wellknown };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2kn5e7ew.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-hkh5g506.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service76
|
|
12
|
+
} from "./filesystem-1178x954.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-jw6e3k9x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-tx57kkma.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID6,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info14
|
|
28
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID13.openai;
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service76;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info14.default(ID13.openai, ID6.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-tx57kkma.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info14
|
|
11
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info14.make({
|
|
122
|
+
...Info14.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5s1dr8ae.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service34 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service34.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node38, exports_instruction_entry };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-hkh5g506.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,12 +15,12 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event15,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service67,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node70
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -30,15 +30,15 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info18 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service67 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info18.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service67.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID10.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID10.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info18, Service67, node70, exports_agent4, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hkh5g506.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-50vxqkrt.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./filesystem-0p056far.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service80;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service42;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|