@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
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-qxjc9qry.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service73,
|
|
17
|
+
node77
|
|
18
|
+
} from "./filesystem-w8djw5a7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node71
|
|
22
|
+
} from "./filesystem-4a0nv7mx.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service62,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service62 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service73;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service62.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node65 = makeLocationNode({
|
|
277
|
+
service: Service62,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node71, node77]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service62, node65, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-tx57kkma.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-tx57kkma.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info14,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info14.make({
|
|
98
|
+
...Info14.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./filesystem-kjfdeayr.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin38
|
|
6
|
+
} from "./filesystem-m4fxjmpc.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin39
|
|
9
|
+
} from "./filesystem-eh93c3s7.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./filesystem-2w3n3m8j.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin40
|
|
15
|
+
} from "./filesystem-yvxbrs33.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin36,
|
|
20
|
+
Plugin38,
|
|
21
|
+
Plugin39,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin40
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./filesystem-5xtsng1h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service26,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-secpxc4k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./filesystem-r9jqn31q.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./filesystem-zqaa94x3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./filesystem-p4pj0byg.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service21;
|
|
56
|
+
const fileMutation = yield* Service26;
|
|
57
|
+
const environment = yield* Service70;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output3, toModelContent3, Plugin25, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin49,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin49 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin49, exports_identity };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-3cy6ygha.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-ap0z94yk.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service58,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node61,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service58 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service58.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service58.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service58).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service58, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service58, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node61 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options10, Service58, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node61, exports_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|