@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-zc5g640q.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make13
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make13 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make17 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make13, exports_git2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hkh5g506.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./filesystem-te6tp5cr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./filesystem-ptnpxtm5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./filesystem-dhcb13vn.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-snf1tfdw.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-a7cdrn8g.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-44e8p68v.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-zyk1yjk8.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service50;
|
|
58
|
+
const toolOutput = yield* Service78;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,38 +1,38 @@
|
|
|
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
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID13,
|
|
25
|
+
Service74
|
|
26
|
+
} from "./filesystem-tx57kkma.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID6
|
|
29
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-0vadek73.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make7(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service76;
|
|
81
|
+
const providers = yield* Service74;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make5(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID13.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,7 +152,7 @@ function make5(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
156
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
@@ -192,7 +192,7 @@ function make5(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make5(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make5(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make5(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID13.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make5(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make5(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID13.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID13.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make5(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID13.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make5(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID13.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID13.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make5(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID13.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make7();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID6.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID6.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-arz7hw7x.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./filesystem-0p056far.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./filesystem-zqaa94x3.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin24
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin24 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service42;
|
|
26
|
+
const permission = yield* Service64;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin3 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin24, exports_mcp_resource };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-en2hpwz4.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-50vxqkrt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node67
|
|
14
|
+
} from "./filesystem-zqaa94x3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
|
+
node: () => node24,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service21 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service80;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service64;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service21.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [FSUtil.node, node84, node67] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service21, resolvePath2, node24, exports_file_access };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./filesystem-b1ejk53y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service40,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node44
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID7,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service40 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service61;
|
|
67
|
+
return Service40.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node44 = makeLocationNode({ service: Service40, layer, deps: [node64] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service40, node44, exports_instructions5 };
|