@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-hkh5g506.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-50vxqkrt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service25,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node28
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service25 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service25.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service25, node28, exports_rpc, define2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-50vxqkrt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service29,
|
|
10
|
+
node32
|
|
11
|
+
} from "./filesystem-zfs19yjd.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./filesystem-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node31,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service28 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service28, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service29;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service28.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service28, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service28.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service28.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service28, layer: layer11(options), deps: [node84, node32] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node31 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service28, ripgrepLayer2, fffLayer2, layer11, configured4, node31, exports_search };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-arz7hw7x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError8,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info8 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command4 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-tx57kkma.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-5cpk2dg7.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./filesystem-zr4r5d69.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-ptwr3tsj.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin18
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin18 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin18, exports_provider };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-d3efwvz5.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-zc5g640q.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-50vxqkrt.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node52,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node52 = makeLocationNode({
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service50, node52, noopLayer3, exports_snapshot2 };
|