@opencode/core 0.0.0-dev-210 → 0.0.0-dev-220
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 +91 -90
- package/dist/aisdk-native.js +99 -98
- package/dist/aisdk.js +105 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +81 -80
- package/dist/chunks/{filesystem-0vt12t1a.js → kv-012zgee3.js} +12 -12
- package/dist/chunks/{filesystem-034tev2y.js → kv-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-fg2aznv6.js → kv-04ha61zj.js} +13 -13
- package/dist/chunks/{filesystem-cnaqb1tg.js → kv-0a14bvbq.js} +14 -14
- package/dist/chunks/kv-0ae5074t.js +257 -0
- package/dist/chunks/{filesystem-cpvd08na.js → kv-0ahs07zn.js} +4 -4
- package/dist/chunks/{filesystem-psfkywbe.js → kv-0c5200xg.js} +28 -28
- package/dist/chunks/{filesystem-h7gvp0tv.js → kv-0w2jttgf.js} +2 -2
- package/dist/chunks/{filesystem-cm18kf9d.js → kv-12cn17wj.js} +18 -18
- package/dist/chunks/{filesystem-18g90bpv.js → kv-18g90bpv.js} +2 -2
- package/dist/chunks/{filesystem-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-1r7af8ee.js → kv-1r7af8ee.js} +3 -3
- package/dist/chunks/{filesystem-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-b46dpqs0.js → kv-1xvmkwc1.js} +13 -13
- package/dist/chunks/{filesystem-204s3925.js → kv-204s3925.js} +1 -1
- package/dist/chunks/{filesystem-j6fmvzx1.js → kv-25xb6pe7.js} +66 -31
- package/dist/chunks/{filesystem-g8763th5.js → kv-26hpmn7d.js} +18 -18
- package/dist/chunks/{filesystem-r8m134k8.js → kv-2ftpkp9m.js} +17 -17
- package/dist/chunks/{filesystem-1ym1r093.js → kv-2jzckm7x.js} +48 -48
- package/dist/chunks/{filesystem-89jkg93w.js → kv-2rd32aej.js} +21 -21
- package/dist/chunks/{filesystem-w1fms507.js → kv-2vyekkkc.js} +27 -27
- package/dist/chunks/{filesystem-vg0erq9k.js → kv-2zp5a6yg.js} +3 -3
- package/dist/chunks/{filesystem-hry4p7je.js → kv-34jrcrfp.js} +13 -13
- package/dist/chunks/{filesystem-pvpa9p11.js → kv-3bn85y8g.js} +45 -45
- package/dist/chunks/{filesystem-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-5yght9ra.js → kv-3hsgvtvz.js} +32 -32
- package/dist/chunks/{filesystem-45wb8ppp.js → kv-3jymkt4s.js} +4 -4
- package/dist/chunks/{filesystem-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-jg2yb00g.js → kv-3qx2d3by.js} +34 -34
- package/dist/chunks/{filesystem-hyyve62m.js → kv-3ynrmz35.js} +31 -31
- package/dist/chunks/{filesystem-gm2f0atq.js → kv-4847f668.js} +18 -18
- package/dist/chunks/{filesystem-bdpbxs8g.js → kv-4g429xmd.js} +20 -20
- package/dist/chunks/{filesystem-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
- package/dist/chunks/{filesystem-wq31c655.js → kv-4qy1z7f6.js} +35 -35
- package/dist/chunks/{filesystem-nv9tsjma.js → kv-4sbgv4xb.js} +6 -6
- package/dist/chunks/{filesystem-4pw98qd4.js → kv-4tqs0jzk.js} +4 -4
- package/dist/chunks/{filesystem-4v008n1t.js → kv-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-ye085k5q.js → kv-4ye3148g.js} +97 -97
- package/dist/chunks/{filesystem-444az151.js → kv-52t9gqeq.js} +30 -30
- package/dist/chunks/{filesystem-pbbktnbz.js → kv-57rxwkwv.js} +4 -4
- package/dist/chunks/{filesystem-434rvpkg.js → kv-599a1s2w.js} +9 -9
- package/dist/chunks/{filesystem-fncrvfr8.js → kv-5a22xwpn.js} +9 -9
- package/dist/chunks/{filesystem-vdfc3vwf.js → kv-5bt48bf8.js} +33 -33
- package/dist/chunks/{filesystem-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-rfy1qsv0.js → kv-5mm8f81r.js} +5 -5
- package/dist/chunks/{filesystem-b6vsg801.js → kv-5nnwax6m.js} +5 -5
- package/dist/chunks/{filesystem-55y85j01.js → kv-5v7cas5c.js} +15 -15
- package/dist/chunks/{filesystem-r98dxkx5.js → kv-5ybmaaxe.js} +24 -24
- package/dist/chunks/{filesystem-t1ncdzfb.js → kv-61frstw0.js} +30 -30
- package/dist/chunks/{filesystem-kaaytn36.js → kv-61thn005.js} +20 -20
- package/dist/chunks/kv-633sd1y2.js +179 -0
- package/dist/chunks/{filesystem-dma5n97j.js → kv-63krpghe.js} +37 -37
- package/dist/chunks/{filesystem-hs9b4b47.js → kv-64a4dgx4.js} +9 -9
- package/dist/chunks/{filesystem-pcrfxpzv.js → kv-65qthyj5.js} +21 -21
- package/dist/chunks/{filesystem-gxwtb78g.js → kv-69shnrg3.js} +17 -17
- package/dist/chunks/{filesystem-stka8v7r.js → kv-6ajg7n55.js} +5 -5
- package/dist/chunks/{filesystem-n61g9vyf.js → kv-6bzdkscq.js} +27 -27
- package/dist/chunks/{filesystem-6esdw8yj.js → kv-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-gsnkxft0.js → kv-6zzadmn7.js} +11 -11
- package/dist/chunks/kv-731rr8nf.js +26 -0
- package/dist/chunks/{filesystem-annen545.js → kv-74mpvf4f.js} +8 -8
- package/dist/chunks/{filesystem-76cb1hcw.js → kv-76cb1hcw.js} +1 -1
- package/dist/chunks/{filesystem-nah043kf.js → kv-770pw0s1.js} +4 -4
- package/dist/chunks/{filesystem-y5d65aff.js → kv-78a6ksdd.js} +15 -15
- package/dist/chunks/{filesystem-91bvc4ty.js → kv-7a3c5r1g.js} +4 -4
- package/dist/chunks/{filesystem-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-df9zz4rf.js → kv-7gsvdv77.js} +8 -8
- package/dist/chunks/{filesystem-1vz7yhpq.js → kv-7tq5dytk.js} +45 -45
- package/dist/chunks/{filesystem-0g3nw2rk.js → kv-7vppvan5.js} +5 -5
- package/dist/chunks/{filesystem-1hmj4y1x.js → kv-7vqmw3sn.js} +17 -17
- package/dist/chunks/{filesystem-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-e3g479a6.js → kv-8bhp05y1.js} +83 -83
- package/dist/chunks/{filesystem-11hfp36g.js → kv-8jztxfpf.js} +4 -4
- package/dist/chunks/{filesystem-8wc2fpae.js → kv-8p5baybq.js} +5 -5
- package/dist/chunks/{filesystem-qf8srjpf.js → kv-8pffgsza.js} +23 -23
- package/dist/chunks/{filesystem-31avdb49.js → kv-8rgb2cvr.js} +11 -11
- package/dist/chunks/{filesystem-dr326g96.js → kv-8vbymk7s.js} +9 -9
- package/dist/chunks/{filesystem-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-rcthcsey.js → kv-8x5yjrep.js} +13 -13
- package/dist/chunks/{filesystem-hrp7h9k8.js → kv-8y4f3b6m.js} +11 -11
- package/dist/chunks/{filesystem-90zstvax.js → kv-90zstvax.js} +1 -1
- package/dist/chunks/{filesystem-89vjf07m.js → kv-92azg307.js} +5 -5
- package/dist/chunks/{filesystem-61ennm6n.js → kv-95sp4hdf.js} +6 -6
- package/dist/chunks/{filesystem-97ctmtmy.js → kv-9gj0w5vn.js} +7 -7
- package/dist/chunks/{filesystem-pw343ads.js → kv-9s28vret.js} +40 -40
- package/dist/chunks/{filesystem-kj6bvb2j.js → kv-9svpjq3a.js} +5 -5
- package/dist/chunks/{filesystem-14hxjxc8.js → kv-9swetm95.js} +11 -11
- package/dist/chunks/{filesystem-gmqegw1e.js → kv-9xhmkd72.js} +12 -12
- package/dist/chunks/{filesystem-4dxkx4vc.js → kv-9xm13q7e.js} +15 -15
- package/dist/chunks/{filesystem-c34yv8jr.js → kv-a42ahrx1.js} +11 -11
- package/dist/chunks/{filesystem-p6aax6q6.js → kv-aa2ns65p.js} +23 -23
- package/dist/chunks/{filesystem-wxrneye3.js → kv-adxkyhe2.js} +8 -8
- package/dist/chunks/{filesystem-drvbhkez.js → kv-agqd6nxz.js} +2 -2
- package/dist/chunks/{filesystem-g82fkzhe.js → kv-ajcpcdxh.js} +19 -19
- package/dist/chunks/{filesystem-m3bdadrj.js → kv-at3qw7wz.js} +14 -14
- package/dist/chunks/{filesystem-z6vvjhzx.js → kv-av2nmxmh.js} +19 -19
- package/dist/chunks/{filesystem-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-xt0z8zst.js → kv-b0npgc9t.js} +8 -8
- package/dist/chunks/{filesystem-ssfehs1z.js → kv-b1pn0vxn.js} +4 -4
- package/dist/chunks/{filesystem-6easw4m5.js → kv-b702c733.js} +4 -4
- package/dist/chunks/{filesystem-6r5tx5vd.js → kv-b7gscnqx.js} +17 -17
- package/dist/chunks/{filesystem-mgxqcbam.js → kv-bf66261d.js} +8 -8
- package/dist/chunks/{filesystem-8hwf4h4a.js → kv-bg484meh.js} +29 -29
- package/dist/chunks/{filesystem-bstexjd6.js → kv-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-xptjxdz6.js → kv-c2fax6kv.js} +16 -16
- package/dist/chunks/{filesystem-09bv4atg.js → kv-c46s9eb3.js} +5 -5
- package/dist/chunks/{filesystem-yxy26kq2.js → kv-ckem8rwf.js} +12 -12
- package/dist/chunks/{filesystem-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
- package/dist/chunks/{filesystem-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-bhvs01y7.js → kv-d7akxsfc.js} +6 -6
- package/dist/chunks/{filesystem-fj2tjxmw.js → kv-d94yyeb9.js} +30 -30
- package/dist/chunks/{filesystem-fe5m0zbk.js → kv-daj7chhq.js} +25 -25
- package/dist/chunks/{filesystem-8aem79f2.js → kv-dgf6zq35.js} +21 -21
- package/dist/chunks/{filesystem-dvaraee2.js → kv-dnkd09hs.js} +19 -19
- package/dist/chunks/{filesystem-9wm1sbvz.js → kv-dqha5xxy.js} +30 -30
- package/dist/chunks/{filesystem-cj5ykkxh.js → kv-ds7s58c2.js} +5 -5
- package/dist/chunks/{filesystem-dt77769w.js → kv-dt77769w.js} +1 -1
- package/dist/chunks/{filesystem-sjq3mznt.js → kv-dxzgq9mt.js} +11 -11
- package/dist/chunks/{filesystem-e07q2w5p.js → kv-e07q2w5p.js} +1 -1
- package/dist/chunks/{filesystem-esbzcf2v.js → kv-e5p345z4.js} +6 -6
- package/dist/chunks/{filesystem-bprm2g42.js → kv-e6dfer8c.js} +24 -24
- package/dist/chunks/{filesystem-ytys4wt6.js → kv-e72jqpxh.js} +28 -28
- package/dist/chunks/{filesystem-e834z07m.js → kv-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-w5qh0yp9.js → kv-e86zhykr.js} +19 -19
- package/dist/chunks/{filesystem-e618q6jv.js → kv-ea0rn8y9.js} +9 -9
- package/dist/chunks/{filesystem-0nhbejy7.js → kv-eamxt9ya.js} +36 -35
- package/dist/chunks/{filesystem-n2h4jtew.js → kv-efaww74b.js} +5 -5
- package/dist/chunks/{filesystem-15rqtvc6.js → kv-egwx6sc7.js} +19 -19
- package/dist/chunks/{filesystem-pgzqbqf1.js → kv-egz82r8a.js} +6 -6
- package/dist/chunks/{filesystem-kjst82ar.js → kv-ephaerw8.js} +1 -1
- package/dist/chunks/{filesystem-y47dt2v0.js → kv-ewym2d35.js} +24 -24
- package/dist/chunks/{filesystem-x2kwmbaj.js → kv-f37hb3vx.js} +6 -6
- package/dist/chunks/{filesystem-jc4yfsds.js → kv-f6m9q3z5.js} +7 -7
- package/dist/chunks/{filesystem-j5ge61vx.js → kv-f9bjw1xa.js} +69 -49
- package/dist/chunks/{filesystem-890cq6zw.js → kv-fejsg08h.js} +23 -23
- package/dist/chunks/{filesystem-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-pj65rgyr.js → kv-fzb1j6q3.js} +4 -4
- package/dist/chunks/{filesystem-n0raz6dg.js → kv-g4a9tkat.js} +4 -4
- package/dist/chunks/{filesystem-qpa23kw8.js → kv-gbeftx2c.js} +32 -32
- package/dist/chunks/{filesystem-csvfcyj3.js → kv-gbgp8t9w.js} +21 -21
- package/dist/chunks/{filesystem-k079z09p.js → kv-gfge5jvq.js} +1 -1
- package/dist/chunks/{filesystem-8cykdwq1.js → kv-gmcaypba.js} +50 -50
- package/dist/chunks/{filesystem-phmgxt2f.js → kv-h1fd1zdz.js} +3 -3
- package/dist/chunks/{filesystem-2pb4csn2.js → kv-h6f1yd3e.js} +40 -40
- package/dist/chunks/{filesystem-armxxs9m.js → kv-h9gr7s7t.js} +9 -9
- package/dist/chunks/{filesystem-7rct0254.js → kv-hc58cmaw.js} +15 -15
- package/dist/chunks/{filesystem-6bafzmvy.js → kv-hgkkk3en.js} +188 -188
- package/dist/chunks/{filesystem-2vzb41ed.js → kv-hjfa1fnd.js} +5 -5
- package/dist/chunks/{filesystem-nk58jtss.js → kv-hknpeeyr.js} +21 -21
- package/dist/chunks/{filesystem-hpg1pkwy.js → kv-hpg1pkwy.js} +1 -1
- package/dist/chunks/{filesystem-14k2p94z.js → kv-hryaegyv.js} +6 -6
- package/dist/chunks/{filesystem-zgd8t41s.js → kv-hvy79q2t.js} +9 -9
- package/dist/chunks/{filesystem-zyfw5drr.js → kv-hynthsg4.js} +51 -17
- package/dist/chunks/{filesystem-k3febq9m.js → kv-j1rmbcb1.js} +45 -45
- package/dist/chunks/{filesystem-rngmar94.js → kv-j6bs70x1.js} +36 -36
- package/dist/chunks/{filesystem-1z5aa1s9.js → kv-j6q561b5.js} +5 -5
- package/dist/chunks/{filesystem-f1g9v2n6.js → kv-j83smehp.js} +3 -3
- package/dist/chunks/{filesystem-6cems51h.js → kv-jchkmxa0.js} +11 -11
- package/dist/chunks/{filesystem-bwqn28c5.js → kv-jcpk82zm.js} +5 -5
- package/dist/chunks/{filesystem-jfaecv01.js → kv-jfaecv01.js} +1 -1
- package/dist/chunks/{filesystem-g4pcw3ts.js → kv-jhcvgvr6.js} +24 -24
- package/dist/chunks/{filesystem-w6763yes.js → kv-jmydtm9v.js} +32 -32
- package/dist/chunks/kv-js46qwqq.js +356 -0
- package/dist/chunks/{filesystem-hdfrs5mg.js → kv-jscvymgc.js} +9 -9
- package/dist/chunks/{filesystem-jtnps1zs.js → kv-jtnps1zs.js} +2 -2
- package/dist/chunks/{filesystem-8zh671ad.js → kv-jx1rt6bm.js} +22 -22
- package/dist/chunks/{filesystem-nbdtng8k.js → kv-jxda6dbt.js} +28 -28
- package/dist/chunks/{filesystem-hx3mz2q2.js → kv-k7fcp7vh.js} +8 -8
- package/dist/chunks/{filesystem-k814nvkf.js → kv-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-xajgh51x.js → kv-k98kmmbk.js} +13 -13
- package/dist/chunks/{filesystem-bw7c9nwt.js → kv-kahm3ndg.js} +17 -17
- package/dist/chunks/{filesystem-94wxcshz.js → kv-kd2z5z9c.js} +9 -9
- package/dist/chunks/{filesystem-18crnhyq.js → kv-kgc898hj.js} +11 -11
- package/dist/chunks/{filesystem-9d50e9x8.js → kv-kgvyhc3g.js} +12 -12
- package/dist/chunks/{filesystem-xarg0qdr.js → kv-kkzv3wph.js} +11 -11
- package/dist/chunks/{filesystem-bmrbft0k.js → kv-ks9peych.js} +27 -27
- package/dist/chunks/{filesystem-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
- package/dist/chunks/{filesystem-n1gr2kpt.js → kv-kx2hsc0a.js} +6 -6
- package/dist/chunks/{filesystem-m1714858.js → kv-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-hfgk9wzg.js → kv-m37sd98t.js} +4 -4
- package/dist/chunks/{filesystem-rerxfbrr.js → kv-m4dmg5tq.js} +10 -10
- package/dist/chunks/{filesystem-p76me67c.js → kv-m7xh3h0x.js} +4 -4
- package/dist/chunks/{filesystem-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-x4z26120.js → kv-ma7t0w64.js} +12 -12
- package/dist/chunks/kv-me0dhgxs.js +18 -0
- package/dist/chunks/{filesystem-nkdehe09.js → kv-mfq1s597.js} +31 -31
- package/dist/chunks/{filesystem-xdkjcj8h.js → kv-mt04zp9g.js} +25 -25
- package/dist/chunks/{filesystem-ck72d7f2.js → kv-mwkpd8g6.js} +12 -12
- package/dist/chunks/{filesystem-v7rdhf5e.js → kv-mzw7cnwp.js} +11 -11
- package/dist/chunks/{filesystem-j8b46n9s.js → kv-n3jfc8px.js} +20 -20
- package/dist/chunks/{filesystem-ax7jxbq7.js → kv-n5q9ghjn.js} +51 -51
- package/dist/chunks/{filesystem-wappnbgt.js → kv-n78qdz6f.js} +11 -11
- package/dist/chunks/{filesystem-hjwwwxxw.js → kv-n7v9rxsn.js} +24 -24
- package/dist/chunks/{filesystem-fny70jpy.js → kv-nad4mkqt.js} +8 -8
- package/dist/chunks/{filesystem-h01md3m8.js → kv-nepyj2zh.js} +6 -6
- package/dist/chunks/{filesystem-fej4fvmz.js → kv-nqt0rnqz.js} +15 -15
- package/dist/chunks/{filesystem-c8fxmp84.js → kv-nswvxj5k.js} +4 -4
- package/dist/chunks/{filesystem-4nyhany0.js → kv-nt66xtkz.js} +29 -29
- package/dist/chunks/{filesystem-p015t6z3.js → kv-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-y20gse86.js → kv-p48hdm09.js} +11 -11
- package/dist/chunks/{filesystem-myztnk54.js → kv-p5j5bg0f.js} +16 -0
- package/dist/chunks/{filesystem-s43pka83.js → kv-p6k3stbe.js} +9 -9
- package/dist/chunks/{filesystem-1yq9hg58.js → kv-p7vhpwh8.js} +5 -5
- package/dist/chunks/{filesystem-c7xcdgb3.js → kv-pa952zd5.js} +3 -3
- package/dist/chunks/{filesystem-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-m146rhxa.js → kv-pnd6yhbb.js} +19 -19
- package/dist/chunks/{filesystem-prq7xxp2.js → kv-prq7xxp2.js} +2 -2
- package/dist/chunks/{filesystem-k1txdcnn.js → kv-pxdj1q62.js} +26 -26
- package/dist/chunks/{filesystem-aq96vb51.js → kv-q2pskytr.js} +14 -14
- package/dist/chunks/{filesystem-gg8p9cgs.js → kv-q61bmwds.js} +16 -4
- package/dist/chunks/{filesystem-60wv84he.js → kv-q7efev1k.js} +15 -15
- package/dist/chunks/{filesystem-1a6vdzep.js → kv-qa1v0dcw.js} +12 -12
- package/dist/chunks/{filesystem-bdf3r1gz.js → kv-qbard0ja.js} +60 -60
- package/dist/chunks/{filesystem-24c2n9k1.js → kv-qe6tdfev.js} +34 -34
- package/dist/chunks/{filesystem-3kwyfx5c.js → kv-qkzwxqy8.js} +22 -22
- package/dist/chunks/{filesystem-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
- package/dist/chunks/{filesystem-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
- package/dist/chunks/{filesystem-d3bra3vm.js → kv-qvjwss32.js} +8 -8
- package/dist/chunks/{filesystem-xhesmbhs.js → kv-qwxwvmsk.js} +17 -17
- package/dist/chunks/{filesystem-r0yr0wbs.js → kv-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-r542h3bh.js → kv-r542h3bh.js} +1 -1
- package/dist/chunks/{filesystem-7m5yeeqj.js → kv-r555eje6.js} +25 -25
- package/dist/chunks/{filesystem-tf83vx35.js → kv-r8z6cp6s.js} +7 -7
- package/dist/chunks/{filesystem-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-qv57zvvg.js → kv-rm3kdsrk.js} +344 -334
- package/dist/chunks/{filesystem-pd94qqs3.js → kv-rqgh6f0p.js} +22 -22
- package/dist/chunks/{filesystem-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-qbhjbqdd.js → kv-rt637qmr.js} +20 -20
- package/dist/chunks/{filesystem-fcrv3p1c.js → kv-ryf5krpb.js} +13 -13
- package/dist/chunks/{filesystem-s7gmm2q3.js → kv-s7gmm2q3.js} +3 -3
- package/dist/chunks/{filesystem-v0t96s7a.js → kv-s7kyse9r.js} +4 -4
- package/dist/chunks/{filesystem-t54qx1t0.js → kv-s8q4kr0g.js} +6 -6
- package/dist/chunks/{filesystem-3ztadfm7.js → kv-s8sm6pz9.js} +45 -45
- package/dist/chunks/{filesystem-vm40an3j.js → kv-s91tv05p.js} +11 -11
- package/dist/chunks/{filesystem-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
- package/dist/chunks/{filesystem-5jmrcfpw.js → kv-sh593rcs.js} +15 -15
- package/dist/chunks/{filesystem-thq4q9my.js → kv-shx1cm30.js} +10 -10
- package/dist/chunks/{filesystem-sqjzf8x2.js → kv-sqjzf8x2.js} +1 -1
- package/dist/chunks/{filesystem-2ps4vp47.js → kv-sraj155f.js} +60 -56
- package/dist/chunks/{filesystem-xgjn9k1a.js → kv-sth2mpx1.js} +2 -2
- package/dist/chunks/{filesystem-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
- package/dist/chunks/{filesystem-3rhjxprg.js → kv-sw303ny0.js} +18 -18
- package/dist/chunks/{filesystem-1596dtyg.js → kv-sz1d7yss.js} +14 -14
- package/dist/chunks/{filesystem-ynaqhc8e.js → kv-t1m8yzy8.js} +11 -11
- package/dist/chunks/{filesystem-emz5z3x7.js → kv-t5p319pj.js} +2 -2
- package/dist/chunks/{filesystem-ws6kh7b7.js → kv-t93906nx.js} +12 -12
- package/dist/chunks/{filesystem-czzevw5a.js → kv-t9bxgeh8.js} +15 -15
- package/dist/chunks/{filesystem-crxr35d9.js → kv-t9bz6ak5.js} +35 -35
- package/dist/chunks/{filesystem-qmx7pqgw.js → kv-ta4h3adp.js} +29 -21
- package/dist/chunks/{filesystem-2yqf0428.js → kv-tbz6hn3s.js} +5 -5
- package/dist/chunks/{filesystem-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-4se3fcjy.js → kv-thnc25bd.js} +16 -16
- package/dist/chunks/{filesystem-ywjp853w.js → kv-ts8cpkvv.js} +27 -27
- package/dist/chunks/{filesystem-bsjb0v70.js → kv-tsf79j3w.js} +5 -5
- package/dist/chunks/{filesystem-xqx7k15x.js → kv-tvfgc8z5.js} +53 -53
- package/dist/chunks/{filesystem-twssxy5n.js → kv-twssxy5n.js} +2 -2
- package/dist/chunks/kv-ty7weeps.js +28 -0
- package/dist/chunks/{filesystem-r0dsnsr8.js → kv-v05nc33y.js} +16 -16
- package/dist/chunks/{filesystem-aw4xetmc.js → kv-v2ez46s2.js} +11 -11
- package/dist/chunks/{filesystem-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-2ede0ce3.js → kv-v3c6vjpc.js} +18 -18
- package/dist/chunks/{filesystem-v5hpj9dd.js → kv-v5hpj9dd.js} +1 -1
- package/dist/chunks/{filesystem-8z7fx9da.js → kv-v9x4gzxv.js} +20 -20
- package/dist/chunks/{filesystem-n6v0k17x.js → kv-vwttaq9x.js} +11 -11
- package/dist/chunks/{filesystem-vsqvcqta.js → kv-vzppetdn.js} +6 -6
- package/dist/chunks/{filesystem-ykamt9jm.js → kv-w05smnam.js} +24 -24
- package/dist/chunks/{filesystem-w2eysc6j.js → kv-w2eysc6j.js} +2 -2
- package/dist/chunks/{filesystem-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-xbc6qp68.js → kv-w667zm0d.js} +6 -6
- package/dist/chunks/{filesystem-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-rgzggw2r.js → kv-wbqjejvk.js} +2 -2
- package/dist/chunks/{filesystem-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-hjaahymy.js → kv-wm6mgyw2.js} +50 -50
- package/dist/chunks/{filesystem-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
- package/dist/chunks/{filesystem-wr3re1en.js → kv-wr3re1en.js} +1 -1
- package/dist/chunks/{filesystem-hc4wny2n.js → kv-ww3hkwgk.js} +11 -11
- package/dist/chunks/{filesystem-r2rzgj46.js → kv-x3zd0b7w.js} +30 -30
- package/dist/chunks/{filesystem-61ee6dgv.js → kv-x75aecwm.js} +25 -25
- package/dist/chunks/{filesystem-rvp0ckfz.js → kv-xddmewgr.js} +29 -29
- package/dist/chunks/{filesystem-w3p04qes.js → kv-xef7rqtq.js} +53 -53
- package/dist/chunks/{filesystem-majcfxdx.js → kv-xw5bqvrx.js} +9 -9
- package/dist/chunks/{filesystem-snfsmn1e.js → kv-xwmtk72n.js} +8 -8
- package/dist/chunks/{filesystem-qgjxsz2y.js → kv-xxampj5x.js} +20 -20
- package/dist/chunks/{filesystem-yara3q77.js → kv-yara3q77.js} +2 -2
- package/dist/chunks/{filesystem-x4vrc5nf.js → kv-yav7psvj.js} +19 -19
- package/dist/chunks/{filesystem-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-zgtpaate.js → kv-ybt8qzqk.js} +17 -17
- package/dist/chunks/{filesystem-aw8sakew.js → kv-ye8h2zwf.js} +22 -22
- package/dist/chunks/{filesystem-ex5adzvz.js → kv-yf4mtc0f.js} +7 -7
- package/dist/chunks/{filesystem-zes7n4m2.js → kv-yg4xz38f.js} +91 -91
- package/dist/chunks/{filesystem-z38nccrw.js → kv-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-5ect6tx9.js → kv-zb5gs1ba.js} +3 -3
- package/dist/chunks/{filesystem-fn2p6yf2.js → kv-zfbaz3eg.js} +31 -31
- package/dist/chunks/{filesystem-08w4mgsv.js → kv-zwyvyh0a.js} +33 -33
- 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 +87 -86
- package/dist/config/discovery.js +92 -91
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +109 -108
- package/dist/config/plugin/agent.js +123 -122
- package/dist/config/plugin/command.js +221 -220
- package/dist/config/plugin/compaction.js +164 -163
- package/dist/config/plugin/compatibility.js +144 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +123 -122
- package/dist/config/plugin/location-watcher.js +123 -122
- package/dist/config/plugin/mcp.js +130 -129
- package/dist/config/plugin/policy.js +125 -124
- package/dist/config/plugin/provider.js +124 -123
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +125 -124
- package/dist/config/plugin/skill-file.js +140 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +147 -146
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +120 -119
- package/dist/config/plugin/tool-output.js +124 -123
- package/dist/config/plugin/websearch.js +124 -123
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -88
- package/dist/database/database.js +78 -77
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +6 -0
- package/dist/database/migration.gen.js +57 -56
- package/dist/database/migration.js +59 -58
- 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 +105 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +386 -382
- 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 +103 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -102
- 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 +82 -81
- package/dist/file-access.js +150 -149
- package/dist/file-mutation.js +104 -103
- 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 +88 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -233
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +109 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -111
- package/dist/form.js +94 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +97 -96
- package/dist/generate.js +117 -116
- 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 +101 -100
- 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 +377 -373
- package/dist/instruction-discovery.js +92 -91
- package/dist/instructions/builtins.js +97 -96
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +5 -5
- package/dist/integration.js +95 -94
- package/dist/job.js +86 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +81 -80
- package/dist/location-activity.js +168 -167
- package/dist/location-lifecycle.js +144 -143
- package/dist/location-service-map.js +96 -95
- package/dist/location-services.js +374 -370
- package/dist/location.js +97 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +101 -100
- package/dist/mcp/index.js +117 -116
- package/dist/mcp/instructions.js +170 -169
- package/dist/mcp/oauth.js +86 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +100 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -100
- package/dist/model-resolver.js +109 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +83 -82
- package/dist/plugin/agent.js +82 -81
- package/dist/plugin/command.js +110 -109
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +347 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +107 -106
- package/dist/plugin/module.js +125 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +140 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +101 -100
- package/dist/plugin/provider/azure.js +123 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +123 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/credential-settings.js +82 -81
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +103 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +105 -104
- package/dist/plugin/provider/gitlab.js +104 -103
- package/dist/plugin/provider/google-vertex.js +120 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +86 -85
- package/dist/plugin/provider/lmstudio.js +130 -129
- package/dist/plugin/provider/local.js +129 -128
- package/dist/plugin/provider/modal.js +102 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +132 -131
- package/dist/plugin/provider/openai-context-caps.js +100 -99
- package/dist/plugin/provider/openai.js +123 -122
- package/dist/plugin/provider/opencode.js +126 -125
- package/dist/plugin/provider/openrouter.js +101 -100
- package/dist/plugin/provider/poe.js +87 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +101 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/vllm.js +132 -131
- package/dist/plugin/provider/xai.js +101 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +174 -173
- package/dist/plugin/sdk.js +82 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -93
- package/dist/plugin/vcs/hg.js +96 -95
- package/dist/plugin/verbosity.js +103 -102
- package/dist/plugin/warming.js +121 -120
- 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 +8 -8
- package/dist/plugin.js +234 -233
- 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 +100 -99
- package/dist/provider.js +111 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -105
- package/dist/reference/instructions.js +98 -97
- package/dist/reference.js +100 -99
- package/dist/repository-cache.js +90 -89
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -104
- package/dist/rpc.js +96 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +245 -553
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +122 -121
- package/dist/session/command.js +82 -81
- package/dist/session/compaction.js +164 -163
- package/dist/session/context.js +190 -189
- package/dist/session/diff.js +98 -97
- 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 +233 -232
- package/dist/session/execution.js +154 -153
- package/dist/session/generate.js +192 -191
- package/dist/session/history.js +138 -129
- package/dist/session/inbox.js +136 -135
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -133
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +157 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +158 -157
- package/dist/session/projector.js +136 -135
- package/dist/session/prompt.js +142 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +132 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +241 -240
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +110 -109
- package/dist/session/runner/publish-llm-event.js +143 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -153
- package/dist/session/runner/to-llm-message.js +130 -129
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +174 -173
- package/dist/session/shell.js +137 -136
- package/dist/session/skill.js +141 -140
- package/dist/session/sql.js +7 -5
- package/dist/session/stats.js +116 -83
- package/dist/session/store.js +135 -134
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +221 -220
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -191
- package/dist/session/to-session-error.js +142 -141
- package/dist/session/transfer.js +232 -231
- package/dist/session/usage.js +1 -1
- package/dist/session.js +227 -226
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +143 -142
- package/dist/skill.js +150 -149
- package/dist/snapshot.js +101 -100
- 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 +167 -166
- package/dist/tool/plugin/edit.js +158 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -159
- package/dist/tool/plugin/grep.js +154 -153
- package/dist/tool/plugin/image-generate.js +230 -228
- package/dist/tool/plugin/mcp-resource.js +156 -155
- package/dist/tool/plugin/opencode.js +155 -154
- package/dist/tool/plugin/patch.js +158 -157
- package/dist/tool/plugin/question.js +140 -139
- package/dist/tool/plugin/read.js +163 -162
- package/dist/tool/plugin/schedule.js +230 -0
- package/dist/tool/plugin/shell.js +226 -225
- package/dist/tool/plugin/skill.js +151 -150
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/todo.js +147 -146
- package/dist/tool/plugin/webfetch.js +149 -148
- package/dist/tool/plugin/websearch.js +147 -146
- package/dist/tool/plugin/write.js +160 -159
- package/dist/tool/read-filesystem.js +112 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261029002625_session_part.d.ts +3 -0
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/schedule.d.ts +65 -1
- package/dist/types/session/history.d.ts +1165 -1
- package/dist/types/session/sql.d.ts +236 -0
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/schedule.d.ts +46 -0
- package/dist/usage-limits.js +95 -94
- 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 +102 -101
- 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 +103 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -98
- package/dist/voice.js +94 -93
- package/dist/websearch.js +88 -87
- package/dist/wellknown/plugin.js +84 -83
- package/dist/wellknown.js +87 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +90 -89
- 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 +99 -98
- package/dist/worktree.js +110 -109
- package/package.json +8 -8
- package/dist/chunks/filesystem-bsgt82ad.js +0 -257
- package/dist/chunks/filesystem-s7ertgdh.js +0 -26
- package/dist/chunks/filesystem-z355x5yr.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1jakw16s.js → kv-1jakw16s.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → kv-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-beh6qq61.js → kv-beh6qq61.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → kv-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-ncqqe42p.js → kv-ncqqe42p.js} +0 -0
- /package/dist/chunks/{filesystem-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9gj0w5vn.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-ephaerw8.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make24(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make24, makeWithDefaults2 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service84,
|
|
9
|
-
node88
|
|
10
|
-
} from "./filesystem-x4z26120.js";
|
|
11
|
-
import {
|
|
12
8
|
Service82,
|
|
13
9
|
node86
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./kv-ma7t0w64.js";
|
|
11
|
+
import {
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./kv-v05nc33y.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node46,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, 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
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node46 = makeLocationNode({
|
|
158
|
+
service: Service42,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -177,4 +177,4 @@ function failure(operation, cause) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID5, Error3, Service42, node46, noopLayer2, exports_snapshot2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./kv-c2fax6kv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node77
|
|
7
|
+
} from "./kv-12cn17wj.js";
|
|
8
8
|
import {
|
|
9
9
|
Service4,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-78a6ksdd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service31
|
|
14
|
+
} from "./kv-me0dhgxs.js";
|
|
15
15
|
import {
|
|
16
16
|
node18,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-dnkd09hs.js";
|
|
19
19
|
import {
|
|
20
20
|
Service6,
|
|
21
21
|
node8
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-v5hpj9dd.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./kv-rm3kdsrk.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make9,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-t93906nx.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
Service7,
|
|
35
|
-
node9
|
|
36
|
-
} from "./filesystem-gmqegw1e.js";
|
|
37
|
-
import {
|
|
38
34
|
Service5,
|
|
39
35
|
node7
|
|
40
|
-
} from "./
|
|
36
|
+
} from "./kv-9xhmkd72.js";
|
|
37
|
+
import {
|
|
38
|
+
Service12,
|
|
39
|
+
node14
|
|
40
|
+
} from "./kv-64a4dgx4.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
@@ -134,13 +134,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
134
134
|
};
|
|
135
135
|
});
|
|
136
136
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
137
|
-
const registry = yield*
|
|
138
|
-
const sdk = yield*
|
|
137
|
+
const registry = yield* Service31;
|
|
138
|
+
const sdk = yield* Service5;
|
|
139
139
|
const instance = yield* Service6;
|
|
140
140
|
const sources = yield* Service4;
|
|
141
|
-
const modules = yield*
|
|
142
|
-
const bus = yield*
|
|
143
|
-
const updates = yield*
|
|
141
|
+
const modules = yield* make9();
|
|
142
|
+
const bus = yield* Service86;
|
|
143
|
+
const updates = yield* Service12;
|
|
144
144
|
const internal = yield* list2();
|
|
145
145
|
let release = yield* registry.hold();
|
|
146
146
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -216,13 +216,13 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
216
216
|
}));
|
|
217
217
|
var nodeDeps = [
|
|
218
218
|
node18,
|
|
219
|
-
|
|
219
|
+
node7,
|
|
220
220
|
node8,
|
|
221
221
|
node6,
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
node14,
|
|
223
|
+
node90,
|
|
224
224
|
Npm.node,
|
|
225
|
-
|
|
225
|
+
node77,
|
|
226
226
|
requirements2
|
|
227
227
|
];
|
|
228
228
|
function pluginSource(target) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service57,
|
|
3
|
+
node61
|
|
4
|
+
} from "./kv-thnc25bd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service20,
|
|
7
|
+
node23
|
|
8
|
+
} from "./kv-4ye3148g.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service20;
|
|
30
|
+
const jobs = yield* Service57;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node23, node61]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./kv-c2fax6kv.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-4qy1z7f6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service13,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./kv-9s28vret.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service13;
|
|
42
|
+
const bus = yield* Service86;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./kv-c2fax6kv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-95sp4hdf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID15,
|
|
14
|
+
Service77,
|
|
15
|
+
node81,
|
|
16
|
+
Event15
|
|
17
|
+
} from "./kv-5bt48bf8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./kv-v05nc33y.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider3, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
|
-
Request: () =>
|
|
40
|
-
Service: () =>
|
|
39
|
+
Request: () => Request4,
|
|
40
|
+
Service: () => Service76,
|
|
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: () => node80,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
336
|
-
var
|
|
335
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
336
|
+
var ID14 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -423,6 +423,7 @@ var builtins = new Map([
|
|
|
423
423
|
["@opencode/ai/providers/groq", () => import("@opencode/ai/providers/groq")],
|
|
424
424
|
["@opencode/ai/providers/meta", () => import("@opencode/ai/providers/meta")],
|
|
425
425
|
["@opencode/ai/providers/meta/chat", () => import("@opencode/ai/providers/meta/chat")],
|
|
426
|
+
["@opencode/ai/providers/meta/images", () => import("@opencode/ai/providers/meta/images")],
|
|
426
427
|
["@opencode/ai/providers/meta/messages", () => import("@opencode/ai/providers/meta/messages")],
|
|
427
428
|
["@opencode/ai/providers/meta/responses", () => import("@opencode/ai/providers/meta/responses")],
|
|
428
429
|
["@opencode/ai/providers/minimax", () => import("@opencode/ai/providers/minimax")],
|
|
@@ -571,14 +572,14 @@ function mergeHeaders2(base, overlay) {
|
|
|
571
572
|
return result;
|
|
572
573
|
}, new Map).values());
|
|
573
574
|
}
|
|
574
|
-
var
|
|
575
|
+
var Request4 = Provider.Request;
|
|
575
576
|
var Compaction3 = Provider.Compaction;
|
|
576
577
|
var Cache2 = Provider.Cache;
|
|
577
578
|
var Transport2 = Provider.Transport;
|
|
578
579
|
var Settings2 = Provider.Settings;
|
|
579
|
-
var
|
|
580
|
+
var Info24 = Provider.Info;
|
|
580
581
|
|
|
581
|
-
class
|
|
582
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
582
583
|
}
|
|
583
584
|
var definitions = new WeakMap;
|
|
584
585
|
function index(providerID, models) {
|
|
@@ -591,10 +592,10 @@ function index(providerID, models) {
|
|
|
591
592
|
definitions.set(models, indexes);
|
|
592
593
|
return result;
|
|
593
594
|
}
|
|
594
|
-
var layer = Layer.effect(
|
|
595
|
-
const bus = yield*
|
|
596
|
-
const integrations = yield*
|
|
597
|
-
const location = yield*
|
|
595
|
+
var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
596
|
+
const bus = yield* Service86;
|
|
597
|
+
const integrations = yield* Service77;
|
|
598
|
+
const location = yield* Service80;
|
|
598
599
|
const state = create3({
|
|
599
600
|
name: "provider",
|
|
600
601
|
initial: () => new Map,
|
|
@@ -605,7 +606,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
605
606
|
const current = records.get(id);
|
|
606
607
|
if (current)
|
|
607
608
|
return current;
|
|
608
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
609
610
|
records.set(id, added);
|
|
610
611
|
maps.add(added.models);
|
|
611
612
|
return added;
|
|
@@ -686,7 +687,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
686
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
687
688
|
if (record.provider.activation === "disabled")
|
|
688
689
|
return false;
|
|
689
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID15.make(record.provider.id));
|
|
690
691
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
691
692
|
return false;
|
|
692
693
|
if (record.provider.activation === "enabled")
|
|
@@ -712,8 +713,8 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
712
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
713
714
|
});
|
|
714
715
|
});
|
|
715
|
-
yield* bus.subscribe([
|
|
716
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service76.of({
|
|
717
718
|
transform: state.transform,
|
|
718
719
|
reload: state.reload,
|
|
719
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -722,7 +723,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
722
723
|
snapshot
|
|
723
724
|
});
|
|
724
725
|
}));
|
|
725
|
-
var
|
|
726
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node90, node81, node84] });
|
|
726
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
727
728
|
const module = yield* Effect2.tryPromise({
|
|
728
729
|
try: () => {
|
|
@@ -744,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
744
745
|
return module;
|
|
745
746
|
});
|
|
746
747
|
|
|
747
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service76, node80, exports_provider3, Event14 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./kv-eamxt9ya.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID14.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service47,
|
|
8
|
+
node51
|
|
9
|
+
} from "./kv-5ybmaaxe.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-d94yyeb9.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service29,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node33,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service29 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service47;
|
|
335
|
+
return Service29.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node51] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service29, read2, node33, exports_read_filesystem };
|