@opencode/core 0.0.0-dev-149 → 0.0.0-dev-150
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 +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +79 -79
- package/dist/chunks/{plugin-5qrcxmcm.js → file-mutation-02jpp536.js} +35 -35
- package/dist/chunks/{plugin-aj7mw0zk.js → file-mutation-034tev2y.js} +2 -2
- package/dist/chunks/{plugin-2yvtks3w.js → file-mutation-04mewp1n.js} +6 -6
- package/dist/chunks/{plugin-f01y088k.js → file-mutation-09bv4atg.js} +5 -5
- package/dist/chunks/{plugin-ymz7p2c9.js → file-mutation-0f8tg23y.js} +3 -3
- package/dist/chunks/{plugin-xt3tj154.js → file-mutation-0m350p2y.js} +15 -15
- package/dist/chunks/{plugin-79cgpb4a.js → file-mutation-0qaf62d8.js} +3 -3
- package/dist/chunks/{plugin-023350j2.js → file-mutation-0qs8yesb.js} +21 -21
- package/dist/chunks/{plugin-z2cf1fxy.js → file-mutation-0tgj0enh.js} +8 -8
- package/dist/chunks/{plugin-st7p3hwb.js → file-mutation-0w2jttgf.js} +2 -2
- package/dist/chunks/{plugin-2ht51f9z.js → file-mutation-0wy96kee.js} +9 -9
- package/dist/chunks/{plugin-2aj7fkzc.js → file-mutation-0yy582wq.js} +8 -8
- package/dist/chunks/{plugin-bddgjnn0.js → file-mutation-1ck73ww0.js} +16 -16
- package/dist/chunks/{plugin-27w5k9zf.js → file-mutation-1ep2p91f.js} +2 -2
- package/dist/chunks/{plugin-8jvwjrps.js → file-mutation-1sfajnh7.js} +54 -54
- package/dist/chunks/{plugin-rvsw30t9.js → file-mutation-1t3qy2r0.js} +5 -5
- package/dist/chunks/{plugin-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{plugin-5zrxpy3q.js → file-mutation-1yq9hg58.js} +5 -5
- package/dist/chunks/{plugin-xty73vjp.js → file-mutation-1zx0pxwe.js} +5 -5
- package/dist/chunks/{plugin-204s3925.js → file-mutation-204s3925.js} +1 -1
- package/dist/chunks/{plugin-bycfeyc6.js → file-mutation-22g4mmnz.js} +17 -17
- package/dist/chunks/{plugin-26x8chrq.js → file-mutation-26x8chrq.js} +3 -3
- package/dist/chunks/{plugin-eykczw6s.js → file-mutation-291261ha.js} +20 -20
- package/dist/chunks/{plugin-3tjrgpk4.js → file-mutation-2cywgpj2.js} +10 -10
- package/dist/chunks/{plugin-jzsddmmt.js → file-mutation-2em4q09y.js} +4 -4
- package/dist/chunks/{plugin-m9s6j6x5.js → file-mutation-2ndq7hcx.js} +28 -28
- package/dist/chunks/{plugin-2n0r37q4.js → file-mutation-2qcan4gv.js} +15 -15
- package/dist/chunks/{plugin-xbzzjpen.js → file-mutation-2r5550sa.js} +21 -21
- package/dist/chunks/{plugin-gcrehvxf.js → file-mutation-2s3pxq91.js} +4 -4
- package/dist/chunks/{plugin-k87qgv3b.js → file-mutation-2xzxwh9n.js} +39 -39
- package/dist/chunks/file-mutation-301cc765.js +511 -0
- package/dist/chunks/{plugin-8rgb2cvr.js → file-mutation-31avdb49.js} +11 -11
- package/dist/chunks/{plugin-xv9vyde2.js → file-mutation-34asacga.js} +13 -13
- package/dist/chunks/{plugin-rp6tyec3.js → file-mutation-36cfnhgq.js} +32 -32
- package/dist/chunks/{plugin-drvbhkez.js → file-mutation-36qx82yz.js} +2 -2
- package/dist/chunks/{plugin-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-9brshkr5.js → file-mutation-3mth2z3s.js} +17 -17
- package/dist/chunks/{plugin-n72e3dxd.js → file-mutation-3n5jkvcw.js} +5 -5
- package/dist/chunks/{plugin-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{plugin-s3xbe3tv.js → file-mutation-3phywp6k.js} +17 -17
- package/dist/chunks/{plugin-p0tsr9h6.js → file-mutation-3ryz99p0.js} +4 -4
- package/dist/chunks/{plugin-0vypjg2b.js → file-mutation-42d0kh11.js} +11 -11
- package/dist/chunks/{plugin-r1y4q7eg.js → file-mutation-44s5ds88.js} +43 -43
- package/dist/chunks/{plugin-s9eh0yy5.js → file-mutation-488y184h.js} +27 -27
- package/dist/chunks/{plugin-kpbwe1qr.js → file-mutation-4cr9j35r.js} +21 -21
- package/dist/chunks/{plugin-y4w3wqv8.js → file-mutation-4db922nk.js} +12 -12
- package/dist/chunks/{plugin-t9qkp5rw.js → file-mutation-4ddsgm24.js} +9 -9
- package/dist/chunks/{plugin-4pyp9zr9.js → file-mutation-4pyp9zr9.js} +1 -1
- package/dist/chunks/{plugin-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{plugin-g1bf65h0.js → file-mutation-55mnpje1.js} +17 -17
- package/dist/chunks/{plugin-gg56aea0.js → file-mutation-57cc6ds0.js} +23 -23
- package/dist/chunks/{plugin-91y6r506.js → file-mutation-5cwfc2ka.js} +13 -13
- package/dist/chunks/{plugin-8w7pper6.js → file-mutation-5hbegf98.js} +5 -5
- package/dist/chunks/{plugin-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-60k7rxvs.js → file-mutation-615ze5mc.js} +12 -12
- package/dist/chunks/{plugin-zzdv5d93.js → file-mutation-61ennm6n.js} +4 -4
- package/dist/chunks/{plugin-k83ve1kc.js → file-mutation-66vehr1c.js} +6 -6
- package/dist/chunks/{plugin-36cj4gmt.js → file-mutation-6cn2mxvv.js} +9 -9
- package/dist/chunks/{plugin-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
- package/dist/chunks/{plugin-qgrpvdhs.js → file-mutation-6fjxz4z4.js} +97 -97
- package/dist/chunks/file-mutation-6h2wa517.js +257 -0
- package/dist/chunks/{plugin-xys8w9aj.js → file-mutation-6vdm78sx.js} +15 -15
- package/dist/chunks/{plugin-h6evkf2m.js → file-mutation-6xks9hqy.js} +19 -19
- package/dist/chunks/{plugin-3kdbrncp.js → file-mutation-6xqtcmxs.js} +5 -5
- package/dist/chunks/{plugin-76cb1hcw.js → file-mutation-76cb1hcw.js} +1 -1
- package/dist/chunks/{plugin-770pw0s1.js → file-mutation-770pw0s1.js} +1 -1
- package/dist/chunks/{plugin-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-0artd7x6.js → file-mutation-7hb0ye5y.js} +6 -6
- package/dist/chunks/{plugin-31z3tt8p.js → file-mutation-7rw1vw5b.js} +8 -8
- package/dist/chunks/{plugin-3rcscnb1.js → file-mutation-7szmtnr1.js} +4 -4
- package/dist/chunks/{plugin-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{plugin-3vwws94n.js → file-mutation-8441pj9h.js} +20 -20
- package/dist/chunks/{plugin-9dja39nt.js → file-mutation-84q6t6ac.js} +44 -44
- package/dist/chunks/{plugin-d2w1yggf.js → file-mutation-89rmqxc6.js} +5 -5
- package/dist/chunks/{plugin-3gp97vax.js → file-mutation-8bmfs902.js} +22 -22
- package/dist/chunks/{plugin-b8987e27.js → file-mutation-8dzwfsfj.js} +9 -9
- package/dist/chunks/{plugin-11hfp36g.js → file-mutation-8jztxfpf.js} +4 -4
- package/dist/chunks/{plugin-2bf9kvgn.js → file-mutation-8wpev9de.js} +1 -1
- package/dist/chunks/{plugin-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{plugin-90zstvax.js → file-mutation-90zstvax.js} +1 -1
- package/dist/chunks/{plugin-etfsdzn3.js → file-mutation-92smj43y.js} +2 -2
- package/dist/chunks/{plugin-360yt0tf.js → file-mutation-9bc1thgt.js} +8 -8
- package/dist/chunks/{plugin-2cy9cbrx.js → file-mutation-9xzhsdnm.js} +11 -11
- package/dist/chunks/{plugin-9f3sjfep.js → file-mutation-9z9tayqc.js} +9 -9
- package/dist/chunks/{plugin-gb4m33x1.js → file-mutation-9zc50dp0.js} +4 -4
- package/dist/chunks/{plugin-0sp0v5x6.js → file-mutation-a5hkphf1.js} +15 -15
- package/dist/chunks/{plugin-sr3pe222.js → file-mutation-a6sanqb6.js} +21 -21
- package/dist/chunks/{plugin-hv8gebrm.js → file-mutation-a72t788c.js} +21 -21
- package/dist/chunks/{plugin-vk3nwvaj.js → file-mutation-a9gs869n.js} +12 -12
- package/dist/chunks/{plugin-wvm11qkm.js → file-mutation-ajdh0zra.js} +16 -16
- package/dist/chunks/{plugin-7yz3nkr2.js → file-mutation-avfx08wj.js} +18 -18
- package/dist/chunks/{plugin-e4tm35ss.js → file-mutation-aycr4par.js} +43 -43
- package/dist/chunks/{plugin-3cbjf1nt.js → file-mutation-ayjs7tqn.js} +2 -2
- package/dist/chunks/{plugin-64c707zx.js → file-mutation-b23hpydp.js} +2 -2
- package/dist/chunks/{plugin-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
- package/dist/chunks/{plugin-w687dnns.js → file-mutation-b6z35kmf.js} +4 -4
- package/dist/chunks/{plugin-d3ssywhq.js → file-mutation-b9tvtgtk.js} +16 -16
- package/dist/chunks/{plugin-927xh9nh.js → file-mutation-bb9y3cr3.js} +21 -21
- package/dist/chunks/{plugin-msya5s3a.js → file-mutation-bgtvwfds.js} +11 -11
- package/dist/chunks/{plugin-0zfb02tz.js → file-mutation-br0jzkw0.js} +14 -14
- package/dist/chunks/{plugin-xd9cc171.js → file-mutation-bstexjd6.js} +5 -5
- package/dist/chunks/{plugin-vxp4ss06.js → file-mutation-bv5h9gn1.js} +1 -1
- package/dist/chunks/{plugin-syqc1q91.js → file-mutation-bwj0e09a.js} +13 -13
- package/dist/chunks/{plugin-2mbjfaxd.js → file-mutation-c5kjsz6q.js} +4 -4
- package/dist/chunks/{plugin-ssfehs1z.js → file-mutation-c9t2ty9q.js} +4 -4
- package/dist/chunks/{plugin-r72fjvgr.js → file-mutation-ccbxgw01.js} +7 -7
- package/dist/chunks/{plugin-g2tn4t9t.js → file-mutation-cff47hc0.js} +24 -24
- package/dist/chunks/{plugin-rckzcncc.js → file-mutation-cgfk4g4x.js} +11 -11
- package/dist/chunks/{plugin-38hqgsk1.js → file-mutation-ch0v3cp9.js} +23 -23
- package/dist/chunks/{plugin-mkk6jxrn.js → file-mutation-cpsrm9kz.js} +32 -32
- package/dist/chunks/{plugin-8n7h5d4s.js → file-mutation-cqqjw5e0.js} +27 -27
- package/dist/chunks/{plugin-brtbsxkn.js → file-mutation-ct7725a2.js} +11 -11
- package/dist/chunks/{plugin-cwrgdav8.js → file-mutation-cwrgdav8.js} +2 -2
- package/dist/chunks/{plugin-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{plugin-p3rndcyt.js → file-mutation-d53xcg4f.js} +10 -10
- package/dist/chunks/{plugin-7aq8rkr3.js → file-mutation-d65zxn08.js} +17 -17
- package/dist/chunks/{plugin-s4f8ct6t.js → file-mutation-d8p3t516.js} +4 -4
- package/dist/chunks/{plugin-10krap29.js → file-mutation-dbj4j4p0.js} +11 -11
- package/dist/chunks/{plugin-dt77769w.js → file-mutation-dt77769w.js} +1 -1
- package/dist/chunks/{plugin-xkrr3nbc.js → file-mutation-dvrysxe9.js} +23 -23
- package/dist/chunks/{plugin-sqcd90z6.js → file-mutation-e6197nkp.js} +6 -6
- package/dist/chunks/{plugin-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/{plugin-a3vjmkxr.js → file-mutation-ehpmpmqy.js} +2 -2
- package/dist/chunks/{plugin-s7qpx3zw.js → file-mutation-erzzkc7h.js} +37 -37
- package/dist/chunks/{plugin-yexzw78a.js → file-mutation-eyck5g6r.js} +4 -4
- package/dist/chunks/{plugin-f7jj8f84.js → file-mutation-ez4nhay2.js} +8 -8
- package/dist/chunks/{plugin-c1qqsdsb.js → file-mutation-f5q6vy05.js} +24 -24
- package/dist/chunks/{plugin-wcqyq6xg.js → file-mutation-f6a72pnd.js} +11 -11
- package/dist/chunks/{plugin-q5pv97qv.js → file-mutation-f6egh6v0.js} +3 -3
- package/dist/chunks/{plugin-m10c82vj.js → file-mutation-faazj2st.js} +29 -29
- package/dist/chunks/{plugin-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{plugin-fg9p65nk.js → file-mutation-fg9p65nk.js} +2 -2
- package/dist/chunks/{plugin-ggxt8q7a.js → file-mutation-fnjr23v9.js} +25 -25
- package/dist/chunks/{plugin-y6zkfemf.js → file-mutation-fvsxqh4k.js} +13 -13
- package/dist/chunks/{plugin-kpaptj6h.js → file-mutation-g59pth55.js} +10 -10
- package/dist/chunks/{plugin-epkrfhse.js → file-mutation-g5vc4awh.js} +11 -11
- package/dist/chunks/{plugin-7fvcpx9m.js → file-mutation-g9kk5sfb.js} +7 -7
- package/dist/chunks/{plugin-bcastkv0.js → file-mutation-ga5dber3.js} +13 -13
- package/dist/chunks/{plugin-e9z9ekwf.js → file-mutation-gam5pswh.js} +36 -36
- package/dist/chunks/{plugin-zz4wg0fg.js → file-mutation-gawyv5h6.js} +53 -53
- package/dist/chunks/{plugin-ep59zg61.js → file-mutation-gg8p9cgs.js} +3 -3
- package/dist/chunks/{plugin-1kn6jdkn.js → file-mutation-gtn9c16a.js} +4 -4
- package/dist/chunks/{plugin-znft027p.js → file-mutation-gxk9nqgj.js} +15 -15
- package/dist/chunks/{plugin-jn9v78dn.js → file-mutation-h4n5s0gm.js} +24 -24
- package/dist/chunks/{plugin-0xhcwp0e.js → file-mutation-h8ktp5nz.js} +24 -24
- package/dist/chunks/{plugin-rvte90y7.js → file-mutation-hcs64hj8.js} +31 -31
- package/dist/chunks/{plugin-af0k6e03.js → file-mutation-hdfrs5mg.js} +9 -9
- package/dist/chunks/{plugin-96h9ajm3.js → file-mutation-hmfc8wjy.js} +23 -23
- package/dist/chunks/{plugin-hpg1pkwy.js → file-mutation-hpg1pkwy.js} +1 -1
- package/dist/chunks/{plugin-jh74jycr.js → file-mutation-hqxkkta1.js} +3 -3
- package/dist/chunks/{plugin-n6adtcwm.js → file-mutation-hte3z5j4.js} +5 -5
- package/dist/chunks/{plugin-h2xt6wet.js → file-mutation-hvvf9qw8.js} +6 -6
- package/dist/chunks/{plugin-13sfv54y.js → file-mutation-hzw8faeh.js} +5 -5
- package/dist/chunks/{plugin-xh3etvdp.js → file-mutation-jb168mmq.js} +25 -25
- package/dist/chunks/{plugin-vq1ppevj.js → file-mutation-jc512s3p.js} +8 -8
- package/dist/chunks/{plugin-gcjdgkn2.js → file-mutation-jcqm84fr.js} +9 -9
- package/dist/chunks/{plugin-jfaecv01.js → file-mutation-jfaecv01.js} +1 -1
- package/dist/chunks/{plugin-37eted7f.js → file-mutation-jft4dbeh.js} +16 -16
- package/dist/chunks/{plugin-q6vpdb57.js → file-mutation-jpfg3bv3.js} +8 -8
- package/dist/chunks/{plugin-38qaxswc.js → file-mutation-jrc6mwxy.js} +9 -9
- package/dist/chunks/{plugin-jtnps1zs.js → file-mutation-jtnps1zs.js} +2 -2
- package/dist/chunks/{plugin-r7xk0eym.js → file-mutation-jw74caa4.js} +32 -32
- package/dist/chunks/{plugin-fcbsb19f.js → file-mutation-jzk4jfxk.js} +32 -32
- package/dist/chunks/{plugin-02xem3g7.js → file-mutation-k6j7z2k4.js} +11 -11
- package/dist/chunks/{plugin-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
- package/dist/chunks/{plugin-d4qn5jcn.js → file-mutation-kb4zeprx.js} +25 -25
- package/dist/chunks/{plugin-t57f7ggb.js → file-mutation-kj99f3y3.js} +25 -25
- package/dist/chunks/{plugin-wzsnw9zx.js → file-mutation-knsnfpmh.js} +13 -13
- package/dist/chunks/{plugin-k2zdq3mp.js → file-mutation-kp1vg9ss.js} +2 -2
- package/dist/chunks/{plugin-kt3bjfbg.js → file-mutation-kt3bjfbg.js} +1 -1
- package/dist/chunks/{plugin-623yr967.js → file-mutation-kx9nywdq.js} +8 -8
- package/dist/chunks/{plugin-197frfyp.js → file-mutation-m05gm3xd.js} +12 -12
- package/dist/chunks/{plugin-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{plugin-ycn3cwaw.js → file-mutation-m5z3tkyc.js} +7 -7
- package/dist/chunks/{plugin-43e24x2b.js → file-mutation-m91kzycp.js} +12 -12
- package/dist/chunks/{plugin-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-w8waja94.js → file-mutation-mbv7k5zt.js} +26 -26
- package/dist/chunks/{plugin-9kpkhjk2.js → file-mutation-mgxf3nw1.js} +8 -8
- package/dist/chunks/{plugin-xjrcpxys.js → file-mutation-n0dfvze1.js} +3 -3
- package/dist/chunks/{plugin-0b7gzexh.js → file-mutation-n1650mfh.js} +5 -5
- package/dist/chunks/file-mutation-n3r3rt18.js +18 -0
- package/dist/chunks/{plugin-2gyck6q0.js → file-mutation-n5rt61vk.js} +2 -2
- package/dist/chunks/{plugin-zkbcvvjq.js → file-mutation-n6wkrbw6.js} +26 -26
- package/dist/chunks/{plugin-vw2s6thg.js → file-mutation-n7bhcchc.js} +20 -20
- package/dist/chunks/{plugin-hj8dv2fv.js → file-mutation-nf3nsvxh.js} +4 -4
- package/dist/chunks/{plugin-xp2r83c8.js → file-mutation-nkfn7phj.js} +19 -19
- package/dist/chunks/{plugin-p0fnxbrs.js → file-mutation-nwbbxj2q.js} +23 -23
- package/dist/chunks/{plugin-457hahnb.js → file-mutation-nwe4qtzq.js} +14 -14
- package/dist/chunks/{plugin-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
- package/dist/chunks/{plugin-m4x6ymdg.js → file-mutation-p0q2ne2s.js} +13 -13
- package/dist/chunks/{plugin-cr66ykxa.js → file-mutation-p4gp7n98.js} +30 -30
- package/dist/chunks/{plugin-a01n3spq.js → file-mutation-phzz8nf6.js} +62 -62
- package/dist/chunks/{plugin-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-fqjx0mtk.js → file-mutation-pr24arth.js} +20 -20
- package/dist/chunks/{plugin-jb98ea0v.js → file-mutation-psj7p3gy.js} +10 -10
- package/dist/chunks/{plugin-9ebmah4g.js → file-mutation-pwqzey69.js} +11 -11
- package/dist/chunks/{plugin-ktg919s3.js → file-mutation-pxbzzzzm.js} +179 -179
- package/dist/chunks/{plugin-sz0km235.js → file-mutation-q110nakk.js} +40 -40
- package/dist/chunks/{plugin-znt4182k.js → file-mutation-q2w99wmr.js} +11 -11
- package/dist/chunks/{plugin-qs4830ty.js → file-mutation-q3w50k8c.js} +24 -24
- package/dist/chunks/{plugin-q63cb7ap.js → file-mutation-q63cb7ap.js} +3 -3
- package/dist/chunks/{plugin-97c5t57a.js → file-mutation-q9z0p7gh.js} +18 -18
- package/dist/chunks/{plugin-fjjkker5.js → file-mutation-qcmchz52.js} +4 -4
- package/dist/chunks/{plugin-qp7r0hxv.js → file-mutation-qp7r0hxv.js} +1 -1
- package/dist/chunks/{plugin-82776bsn.js → file-mutation-qqve4v8g.js} +10 -10
- package/dist/chunks/{plugin-k31rcwbk.js → file-mutation-qv4vz01m.js} +11 -11
- package/dist/chunks/{plugin-jm1kbgn5.js → file-mutation-qwc0pngt.js} +27 -27
- package/dist/chunks/{plugin-a15jtcfa.js → file-mutation-qy453c32.js} +6 -6
- package/dist/chunks/{plugin-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
- package/dist/chunks/{plugin-r41sfy63.js → file-mutation-r41sfy63.js} +2 -2
- package/dist/chunks/{plugin-r542h3bh.js → file-mutation-r542h3bh.js} +1 -1
- package/dist/chunks/{plugin-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{plugin-xwffaj6p.js → file-mutation-rc5cfkkt.js} +5 -5
- package/dist/chunks/{plugin-8ft3xw2m.js → file-mutation-rcxfmvg3.js} +5 -5
- package/dist/chunks/{plugin-hgfpvvhf.js → file-mutation-rkkrzzbq.js} +16 -16
- package/dist/chunks/{plugin-y78g3j1n.js → file-mutation-rr4kc3kv.js} +3 -3
- package/dist/chunks/{plugin-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{plugin-atx93y9v.js → file-mutation-rz6zznan.js} +11 -11
- package/dist/chunks/{plugin-dys0nn3x.js → file-mutation-s3zszyzt.js} +24 -24
- package/dist/chunks/{plugin-n74ky04a.js → file-mutation-s9ynkngn.js} +22 -22
- package/dist/chunks/{plugin-sa3fpqfw.js → file-mutation-sa3fpqfw.js} +2 -2
- package/dist/chunks/{plugin-k5c2ssdt.js → file-mutation-sawge6zb.js} +1 -1
- package/dist/chunks/{plugin-ajnhcgwj.js → file-mutation-sqc0p8sq.js} +15 -15
- package/dist/chunks/{plugin-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
- package/dist/chunks/{plugin-0gc20grr.js → file-mutation-stj6qkja.js} +32 -32
- package/dist/chunks/{plugin-svcy3p9a.js → file-mutation-svcy3p9a.js} +1 -1
- package/dist/chunks/{plugin-38adaqc0.js → file-mutation-sykc9y4a.js} +5 -5
- package/dist/chunks/{plugin-bb2gy873.js → file-mutation-syrgmen4.js} +32 -32
- package/dist/chunks/{plugin-2dpmrcw8.js → file-mutation-t07kmxgp.js} +21 -21
- package/dist/chunks/{plugin-9hr3w0ac.js → file-mutation-t30gga41.js} +18 -18
- package/dist/chunks/{plugin-qr5d7g8r.js → file-mutation-tazdrhsb.js} +89 -89
- package/dist/chunks/{plugin-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{plugin-q7cvrf9n.js → file-mutation-tfnfgxqy.js} +7 -7
- package/dist/chunks/{plugin-ddvn7d3w.js → file-mutation-tg1vr1qt.js} +8 -8
- package/dist/chunks/{plugin-zd8qpfyv.js → file-mutation-tpx6dfdg.js} +9 -9
- package/dist/chunks/{plugin-jj25aphh.js → file-mutation-tvhsqegv.js} +14 -14
- package/dist/chunks/{plugin-twssxy5n.js → file-mutation-twssxy5n.js} +2 -2
- package/dist/chunks/{plugin-s7kyse9r.js → file-mutation-v0t96s7a.js} +4 -4
- package/dist/chunks/{plugin-fqjwhs84.js → file-mutation-v1bqj1yq.js} +6 -6
- package/dist/chunks/{plugin-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{plugin-qmysd79e.js → file-mutation-v5mw2t49.js} +36 -36
- package/dist/chunks/{plugin-7smxv6qm.js → file-mutation-v7sj5brm.js} +7 -7
- package/dist/chunks/{plugin-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-qrez554k.js → file-mutation-vhc9amj9.js} +18 -18
- package/dist/chunks/{plugin-42rqyp4k.js → file-mutation-vjsahgsx.js} +22 -22
- package/dist/chunks/{plugin-hfgk9wzg.js → file-mutation-vmfhgzt5.js} +4 -4
- package/dist/chunks/{plugin-j8yg66kd.js → file-mutation-vp8n94ta.js} +25 -25
- package/dist/chunks/{plugin-3ytse99a.js → file-mutation-vrg9pvbr.js} +4 -4
- package/dist/chunks/{plugin-yrvrwg16.js → file-mutation-vye0b1vt.js} +75 -75
- package/dist/chunks/{plugin-6c2a7p2k.js → file-mutation-vyeahs8y.js} +12 -12
- package/dist/chunks/{plugin-k9zkdd2y.js → file-mutation-w307e9wj.js} +4 -4
- package/dist/chunks/{plugin-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-qzwtc0ad.js → file-mutation-w6c5q4g8.js} +49 -49
- package/dist/chunks/{plugin-z5vsfvmb.js → file-mutation-w7gfejrx.js} +16 -16
- package/dist/chunks/{plugin-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{plugin-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-m07vw4yt.js → file-mutation-we7rx8f6.js} +18 -18
- package/dist/chunks/file-mutation-wm0kh7y8.js +26 -0
- package/dist/chunks/{plugin-wnhgecwx.js → file-mutation-wnhgecwx.js} +1 -1
- package/dist/chunks/{plugin-hs9b4b47.js → file-mutation-wrd39zd3.js} +9 -9
- package/dist/chunks/{plugin-0j0hgpg3.js → file-mutation-wrj223sh.js} +18 -18
- package/dist/chunks/{plugin-n10b8vxr.js → file-mutation-wrnggakg.js} +21 -21
- package/dist/chunks/{plugin-3167kh59.js → file-mutation-wy6d4nzf.js} +3 -3
- package/dist/chunks/{plugin-ty2rqtrv.js → file-mutation-x46ssyqq.js} +14 -14
- package/dist/chunks/{plugin-jgr9rt82.js → file-mutation-x9xdyhyz.js} +20 -20
- package/dist/chunks/{plugin-1xpesaja.js → file-mutation-xav8p412.js} +37 -37
- package/dist/chunks/{plugin-x19938zk.js → file-mutation-xj5ejtth.js} +13 -13
- package/dist/chunks/{plugin-93a9jndt.js → file-mutation-xjxwv06c.js} +28 -28
- package/dist/chunks/{plugin-kna34kpp.js → file-mutation-xktxpnft.js} +25 -25
- package/dist/chunks/{plugin-cn335rzh.js → file-mutation-xphx33pk.js} +1 -1
- package/dist/chunks/{plugin-7x516nkt.js → file-mutation-y04qvqhx.js} +45 -45
- package/dist/chunks/{plugin-wyhjxk24.js → file-mutation-y369bsvk.js} +19 -19
- package/dist/chunks/{plugin-x41rd3ct.js → file-mutation-y457bc3h.js} +9 -9
- package/dist/chunks/{plugin-0byhdbpk.js → file-mutation-y9f9p42a.js} +45 -45
- package/dist/chunks/{plugin-qkw2jr9b.js → file-mutation-yara3q77.js} +2 -2
- package/dist/chunks/{plugin-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{plugin-yg3znkte.js → file-mutation-yggcq3r2.js} +18 -18
- package/dist/chunks/{plugin-7ycxtgxb.js → file-mutation-yj2b5f3h.js} +33 -33
- package/dist/chunks/{plugin-meevhkww.js → file-mutation-ynkzga2v.js} +44 -44
- package/dist/chunks/{plugin-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
- package/dist/chunks/{plugin-t3y9r3y2.js → file-mutation-z64rkn65.js} +35 -35
- package/dist/chunks/{plugin-nvxqht09.js → file-mutation-zb5gs1ba.js} +3 -3
- package/dist/chunks/{plugin-e2ry9241.js → file-mutation-zdvvded9.js} +32 -32
- package/dist/chunks/{plugin-npg5se5z.js → file-mutation-zrm686mt.js} +9 -9
- package/dist/chunks/{plugin-fchc5cs2.js → file-mutation-zy3tpbx7.js} +21 -21
- package/dist/chunks/{plugin-amcehceb.js → file-mutation-zzj2xcr4.js} +6 -6
- package/dist/chunks/{plugin-5kb7v1wv.js → file-mutation-zzwc8gnd.js} +20 -20
- 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 +85 -85
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +109 -109
- package/dist/git.js +11 -11
- 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 +99 -99
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +164 -164
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +2 -2
- 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 +230 -230
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +231 -231
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +134 -134
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +142 -142
- package/dist/snapshot.js +99 -99
- 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 +163 -163
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +156 -156
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/plugin-f8ma18fn.js +0 -18
- package/dist/chunks/plugin-kq90df9y.js +0 -26
- package/dist/chunks/plugin-pz2hbxnb.js +0 -511
- package/dist/chunks/plugin-zjx96n3w.js +0 -257
- /package/dist/chunks/{plugin-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1jakw16s.js → file-mutation-1jakw16s.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4m86bj6y.js → file-mutation-4m86bj6y.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5w3e23ze.js → file-mutation-5w3e23ze.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a058387c.js → file-mutation-a058387c.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-beh6qq61.js → file-mutation-beh6qq61.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cqv5kn06.js → file-mutation-cqv5kn06.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fkpq3x5p.js → file-mutation-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jwr30sdr.js → file-mutation-jwr30sdr.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-ncqqe42p.js → file-mutation-ncqqe42p.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-p71gwv9c.js → file-mutation-p71gwv9c.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./file-mutation-rkkrzzbq.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-61ennm6n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./file-mutation-xjxwv06c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./file-mutation-t07kmxgp.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./file-mutation-ch0v3cp9.js";
|
|
17
17
|
import {
|
|
18
18
|
load4,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-n0dfvze1.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service77;
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service38, exports_runner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-jpfg3bv3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service79
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-xjxwv06c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-t07kmxgp.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-ch0v3cp9.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -70,7 +70,7 @@ var XAIPlugin2 = define({
|
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
72
|
const credentials = yield* Service79;
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./file-mutation-fnjr23v9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service9
|
|
15
|
+
} from "./file-mutation-zzwc8gnd.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service30
|
|
26
|
+
} from "./file-mutation-zy3tpbx7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input3,
|
|
35
|
+
Plugin: () => Plugin4,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name3,
|
|
38
38
|
toModelContent: () => toModelContent2
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin4 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service30;
|
|
61
|
+
const access = yield* Service18;
|
|
62
|
+
const sessionInstructions = yield* Service9;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service81;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name3,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input3,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name3, Input3, Plugin4, toModelContent2, exports_read };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./file-mutation-84q6t6ac.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./file-mutation-nkfn7phj.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin39
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin39 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service72;
|
|
27
|
+
const shell = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin34 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin39, exports_shell2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-rkkrzzbq.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
Service78,
|
|
15
15
|
node82,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event17
|
|
17
|
+
} from "./file-mutation-t07kmxgp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_provider3, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service77,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node81,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -574,7 +574,7 @@ var Transport2 = Provider.Transport;
|
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
575
|
var Info23 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service77 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,10 +587,10 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
591
|
-
const bus = yield*
|
|
590
|
+
var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
591
|
+
const bus = yield* Service84;
|
|
592
592
|
const integrations = yield* Service78;
|
|
593
|
-
const location = yield*
|
|
593
|
+
const location = yield* Service81;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
596
596
|
initial: () => new Map,
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -708,8 +708,8 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
708
708
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
|
-
yield* bus.subscribe([
|
|
712
|
-
return
|
|
711
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
+
return Service77.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node88, node82, node85] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service77, node81, exports_provider3, Event16 };
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service48,
|
|
12
|
+
node51
|
|
13
|
+
} from "./file-mutation-kj99f3y3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event8,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError6,
|
|
34
|
+
Service: () => Service47,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node50
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event8 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service47 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service81;
|
|
102
|
+
const search = yield* Service48;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service47.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError6({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node50 = makeLocationNode({
|
|
162
|
+
service: Service47,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node85, node51]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service47, node50, exports_filesystem, Entry2, Match2, Submatch2 };
|