@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./filesystem-86mzb83b.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service60
|
|
8
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./filesystem-zr4r5d69.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-arz7hw7x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./filesystem-fx0ft7bw.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./filesystem-zqaa94x3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./filesystem-vt69289g.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make6
|
|
31
|
+
} from "./filesystem-z7bsjx09.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
39
|
Input: () => Input12,
|
|
40
40
|
Output: () => Output8,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin33,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description5,
|
|
44
44
|
name: () => name12
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin33 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service63;
|
|
94
|
+
const agents = yield* Service67;
|
|
95
|
+
const config = yield* Service57;
|
|
96
|
+
const permission = yield* Service64;
|
|
97
|
+
const models = yield* Service60;
|
|
98
|
+
const subagents = yield* make6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -168,7 +168,7 @@ var Plugin15 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export { name12, Input12, Output8, description5,
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin33, exports_subagent };
|
|
@@ -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
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-zqaa94x3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node45
|
|
13
|
+
} from "./filesystem-0p056far.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./filesystem-gwfpf1r0.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service33,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service42;
|
|
68
|
+
return Service33.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service33, layer: layer12, deps: [node45] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service33, layer12, node36, exports_instructions2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-50vxqkrt.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/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node54
|
|
5
|
+
} from "./filesystem-2kn5e7ew.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-n1n192bv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node71
|
|
13
|
+
} from "./filesystem-4a0nv7mx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-zqaa94x3.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-xd0jjt73.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./filesystem-ptnpxtm5.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service36,
|
|
28
|
+
node40
|
|
29
|
+
} from "./filesystem-g4kgyb8v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make16
|
|
32
|
+
} from "./filesystem-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-ns3eape4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service35,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node39,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service68;
|
|
158
|
+
const transport = yield* Service36;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -260,17 +260,17 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service35.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node39 = makeLocationNode({
|
|
271
|
+
service: Service35,
|
|
272
|
+
layer: layer13,
|
|
273
|
+
deps: [node71, node40, node54]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer13, node39, exports_model_request };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
node55
|
|
7
|
+
} from "./filesystem-tv0940e9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
layer: () => layer9,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var layer9 = Layer.effect(
|
|
39
|
+
var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service52;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service18.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node21 = makeLocationNode({
|
|
74
|
+
service: Service18,
|
|
75
75
|
layer: layer9,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node55, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer9, node21, exports_generate };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-50vxqkrt.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service39,
|
|
19
|
+
node: () => node43
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service39 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service39.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make21({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node43 = makeLocationNode({ service: Service39, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service39, node43, exports_builtins };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./filesystem-tx57kkma.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node73
|
|
7
|
+
} from "./filesystem-5xtsng1h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service26,
|
|
17
|
+
node: () => node29,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service26 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service70;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service26.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node73] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service26, readText2, syncTextBom2, node29, exports_file_mutation };
|