@opencode-ai/core 0.0.0-dev-18842 → 0.0.0-dev-18849
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{job-0ag03ecw.js → filesystem-0ag03ecw.js} +2 -2
- package/dist/chunks/{job-q7rx6zek.js → filesystem-0cz2ps28.js} +6 -6
- package/dist/chunks/{job-11gc2jam.js → filesystem-0esxkcff.js} +3 -3
- package/dist/chunks/{job-0gpahtwn.js → filesystem-0gpahtwn.js} +2 -2
- package/dist/chunks/{job-0pc4kdn1.js → filesystem-0pc4kdn1.js} +2 -2
- package/dist/chunks/{job-0rz7yd7x.js → filesystem-0rz7yd7x.js} +1 -1
- package/dist/chunks/{job-136c8mz3.js → filesystem-136c8mz3.js} +3 -3
- package/dist/chunks/{job-j1pv0211.js → filesystem-19q6bryv.js} +3 -3
- package/dist/chunks/{job-eb2xywdw.js → filesystem-1b36v9d9.js} +4 -4
- package/dist/chunks/{job-td9vc61z.js → filesystem-1bvzva7x.js} +66 -110
- package/dist/chunks/filesystem-1csppah6.js +30 -0
- package/dist/chunks/{job-ceanmz6r.js → filesystem-1d9fhdtg.js} +2 -2
- package/dist/chunks/filesystem-1dah18zg.js +66 -0
- package/dist/chunks/{job-0enfz0ma.js → filesystem-1m335233.js} +6 -6
- package/dist/chunks/{job-264e1nfp.js → filesystem-264e1nfp.js} +2 -2
- package/dist/chunks/{job-8mg7m5p0.js → filesystem-27fj9ccw.js} +3 -3
- package/dist/chunks/{job-jrph422v.js → filesystem-2cfhhrxx.js} +35 -35
- package/dist/chunks/{job-fxgw98nc.js → filesystem-2pbg43q4.js} +5 -5
- package/dist/chunks/{job-269fvrkm.js → filesystem-2rznzhta.js} +28 -24
- package/dist/chunks/{job-2sqw2jjm.js → filesystem-2sqw2jjm.js} +3 -3
- package/dist/chunks/{job-2x0ckx01.js → filesystem-2x0ckx01.js} +2 -2
- package/dist/chunks/{job-0rqzh2t0.js → filesystem-2x5hndsc.js} +6 -6
- package/dist/chunks/{job-30st6gwt.js → filesystem-30st6gwt.js} +1 -1
- package/dist/chunks/{job-nbj2rd9h.js → filesystem-324xqq74.js} +4 -4
- package/dist/chunks/{job-326j4s6w.js → filesystem-326j4s6w.js} +2 -2
- package/dist/chunks/{job-0kxtx2n6.js → filesystem-34mnqm2d.js} +4 -4
- package/dist/chunks/{job-w7arxzgy.js → filesystem-39h5zewa.js} +3 -3
- package/dist/chunks/{job-3chx3ng6.js → filesystem-3chx3ng6.js} +1 -1
- package/dist/chunks/{job-3ep0k87g.js → filesystem-3ep0k87g.js} +3 -3
- package/dist/chunks/{job-3mc1hhwa.js → filesystem-3mc1hhwa.js} +3 -3
- package/dist/chunks/{job-42zyazrq.js → filesystem-42zyazrq.js} +1 -1
- package/dist/chunks/{job-jxcayfbg.js → filesystem-4aa3xwzq.js} +3 -3
- package/dist/chunks/{job-8v09ztdp.js → filesystem-4qktftwp.js} +3 -3
- package/dist/chunks/{job-4qz7zhx0.js → filesystem-4qz7zhx0.js} +1 -1
- package/dist/chunks/{job-4v6g3p22.js → filesystem-4v6g3p22.js} +1 -1
- package/dist/chunks/{job-esmytdsd.js → filesystem-4wbveyva.js} +37 -58
- package/dist/chunks/{job-q0qgbqhz.js → filesystem-4y28z6c6.js} +5 -5
- package/dist/chunks/{job-xxktkdha.js → filesystem-59ea3s2r.js} +2 -2
- package/dist/chunks/{job-a103gtkd.js → filesystem-5b32r217.js} +17 -17
- package/dist/chunks/filesystem-5n05rxxs.js +68 -0
- package/dist/chunks/{job-axgqwpxh.js → filesystem-5y1910ht.js} +7 -7
- package/dist/chunks/{job-5y5kqjze.js → filesystem-5y5kqjze.js} +1 -1
- package/dist/chunks/{job-63teb4w1.js → filesystem-63teb4w1.js} +3 -3
- package/dist/chunks/{job-66mds5ht.js → filesystem-66mds5ht.js} +1 -1
- package/dist/chunks/filesystem-6bxzghb6.js +20 -0
- package/dist/chunks/{job-6f6thqyy.js → filesystem-6f6thqyy.js} +3 -3
- package/dist/chunks/{job-0te9x89e.js → filesystem-6gqm4c9r.js} +9 -9
- package/dist/chunks/{job-6hppa3xw.js → filesystem-6hppa3xw.js} +2 -2
- package/dist/chunks/{job-09mv6vrx.js → filesystem-6npa3nc5.js} +3 -3
- package/dist/chunks/{job-w6rpskbe.js → filesystem-6phfrvcx.js} +29 -31
- package/dist/chunks/{job-kydppsaa.js → filesystem-6qq5a17v.js} +9 -9
- package/dist/chunks/{job-6vbv4je1.js → filesystem-6vbv4je1.js} +2 -2
- package/dist/chunks/{job-6wsfy4sp.js → filesystem-6wsfy4sp.js} +2 -2
- package/dist/chunks/{job-b82hd5pk.js → filesystem-74ttj73j.js} +4 -4
- package/dist/chunks/{job-750jzgaa.js → filesystem-750jzgaa.js} +3 -3
- package/dist/chunks/{job-rx0jdzn1.js → filesystem-76wejv2z.js} +6 -6
- package/dist/chunks/{job-775vc9wq.js → filesystem-775vc9wq.js} +2 -2
- package/dist/chunks/{job-mxs6e6dt.js → filesystem-7a4550x1.js} +7 -7
- package/dist/chunks/{job-mnezv3sf.js → filesystem-7d9vaqw4.js} +17 -17
- package/dist/chunks/{job-7myqjfx6.js → filesystem-7myqjfx6.js} +1 -1
- package/dist/chunks/{job-x1ycc40w.js → filesystem-7qjjk9de.js} +4 -4
- package/dist/chunks/{job-rqxhk9c6.js → filesystem-7ts63fjd.js} +5 -5
- package/dist/chunks/{job-7y13h7qh.js → filesystem-7y13h7qh.js} +3 -3
- package/dist/chunks/{job-7z97vfjw.js → filesystem-7z97vfjw.js} +1 -1
- package/dist/chunks/{job-6ssy7r0b.js → filesystem-86ht2gbq.js} +4 -4
- package/dist/chunks/{job-89ttfx5q.js → filesystem-89ttfx5q.js} +2 -2
- package/dist/chunks/{job-pba7dq9n.js → filesystem-8b9sj2zk.js} +14 -14
- package/dist/chunks/{job-q6s4cm9s.js → filesystem-8c0zg6vd.js} +7 -7
- package/dist/chunks/{job-8ck72gm8.js → filesystem-8ck72gm8.js} +2 -2
- package/dist/chunks/{job-8ezmrsyj.js → filesystem-8ezmrsyj.js} +2 -2
- package/dist/chunks/{job-8jwkk0nn.js → filesystem-8jwkk0nn.js} +2 -2
- package/dist/chunks/{job-3188qkah.js → filesystem-8m7xk8yr.js} +3 -3
- package/dist/chunks/{job-8r263vtv.js → filesystem-8r263vtv.js} +2 -2
- package/dist/chunks/{job-zp5sk30v.js → filesystem-8rjcypba.js} +4 -4
- package/dist/chunks/filesystem-90xcm3zj.js +196 -0
- package/dist/chunks/{job-a6xqkezx.js → filesystem-a6xqkezx.js} +1 -1
- package/dist/chunks/{job-af42tqdk.js → filesystem-af42tqdk.js} +2 -2
- package/dist/chunks/{job-r2wp2gt5.js → filesystem-as31cxpk.js} +7 -7
- package/dist/chunks/{job-3dx2g5eh.js → filesystem-awdhgvjn.js} +36 -42
- package/dist/chunks/{job-k30v503h.js → filesystem-ax34jjm3.js} +9 -9
- package/dist/chunks/{job-b1f1x5nb.js → filesystem-b1f1x5nb.js} +2 -2
- package/dist/chunks/{job-b7rje112.js → filesystem-b7rje112.js} +1 -1
- package/dist/chunks/{job-bd2mvb8t.js → filesystem-bd2mvb8t.js} +2 -2
- package/dist/chunks/{job-bnha4c96.js → filesystem-bnha4c96.js} +1 -1
- package/dist/chunks/{job-j8ctcntr.js → filesystem-bwb68jq7.js} +10 -10
- package/dist/chunks/{job-byc4rwvh.js → filesystem-byc4rwvh.js} +2 -2
- package/dist/chunks/{job-a1ascybn.js → filesystem-c4rhd12q.js} +3 -3
- package/dist/chunks/{job-c54e84vp.js → filesystem-c54e84vp.js} +1 -1
- package/dist/chunks/{job-rk5d4x4n.js → filesystem-c5vhm6n2.js} +4 -4
- package/dist/chunks/{job-h7146mzn.js → filesystem-c60feqkz.js} +6 -6
- package/dist/chunks/{job-c8ya26sa.js → filesystem-c8ya26sa.js} +2 -2
- package/dist/chunks/{job-5byws29x.js → filesystem-ccq800eg.js} +27 -23
- package/dist/chunks/{job-hn2x58zh.js → filesystem-cf0cdr7k.js} +5 -5
- package/dist/chunks/{job-a4we61cw.js → filesystem-cqewk6j9.js} +6 -6
- package/dist/chunks/{job-ndgt72a5.js → filesystem-cs1srvd9.js} +10 -10
- package/dist/chunks/{job-st3jf8n1.js → filesystem-d4011js6.js} +3 -3
- package/dist/chunks/{job-d4h7vwhh.js → filesystem-d4h7vwhh.js} +2 -2
- package/dist/chunks/{job-1zh3b2my.js → filesystem-dbejzf38.js} +5 -5
- package/dist/chunks/{job-dexm22yg.js → filesystem-dexm22yg.js} +1 -1
- package/dist/chunks/{job-e0awa8v9.js → filesystem-dhyya5ty.js} +11 -11
- package/dist/chunks/{job-j9mcqwxp.js → filesystem-djgmqxyg.js} +11 -11
- package/dist/chunks/{job-jw1h04jj.js → filesystem-dkbytegk.js} +9 -9
- package/dist/chunks/{job-dyhtrhy2.js → filesystem-dyhtrhy2.js} +1 -1
- package/dist/chunks/{job-16v3egq9.js → filesystem-e0v6vwgy.js} +10 -10
- package/dist/chunks/{job-edxnhgvj.js → filesystem-edxnhgvj.js} +1 -1
- package/dist/chunks/{job-etbnsc4s.js → filesystem-etbnsc4s.js} +2 -2
- package/dist/chunks/{job-xpb3qj3z.js → filesystem-ews0d1ws.js} +6 -6
- package/dist/chunks/{job-yhd9jh60.js → filesystem-ezc295ay.js} +5 -5
- package/dist/chunks/{job-f2nhxfjt.js → filesystem-f2nhxfjt.js} +2 -2
- package/dist/chunks/{job-9365petn.js → filesystem-f5z0skgr.js} +3 -3
- package/dist/chunks/{job-1h1v7bwa.js → filesystem-f7xwav3f.js} +3 -3
- package/dist/chunks/{job-s4rhnhxe.js → filesystem-f8hm4fzm.js} +3 -3
- package/dist/chunks/{job-f8wvq04h.js → filesystem-f8wvq04h.js} +1 -1
- package/dist/chunks/{job-a4gmj7wf.js → filesystem-fdcgxqm1.js} +3 -3
- package/dist/chunks/{job-z21xp2am.js → filesystem-fq23fra0.js} +13 -13
- package/dist/chunks/{job-fqehnn9p.js → filesystem-fqehnn9p.js} +2 -2
- package/dist/chunks/{job-vaefgxvd.js → filesystem-ftx80qyy.js} +7 -7
- package/dist/chunks/{job-g2p9f0pb.js → filesystem-g3wtemyx.js} +5 -5
- package/dist/chunks/filesystem-g48g8zvw.js +36 -0
- package/dist/chunks/{job-d4kaqmm5.js → filesystem-g6fz1hqk.js} +6 -6
- package/dist/chunks/{job-g6q238va.js → filesystem-g6q238va.js} +2 -2
- package/dist/chunks/{job-g9dd0fv6.js → filesystem-g9dd0fv6.js} +2 -2
- package/dist/chunks/{job-gb1z7yet.js → filesystem-gb1z7yet.js} +2 -2
- package/dist/chunks/{job-gc513wew.js → filesystem-gc513wew.js} +2 -2
- package/dist/chunks/{job-c8rz2xft.js → filesystem-geq4qq8q.js} +4 -4
- package/dist/chunks/{job-txz9tmdw.js → filesystem-gjbqvrxz.js} +4 -4
- package/dist/chunks/{job-grfz4hhj.js → filesystem-grfz4hhj.js} +1 -1
- package/dist/chunks/{job-pmy2verm.js → filesystem-gte2a4bk.js} +4 -4
- package/dist/chunks/{job-qrq8ws35.js → filesystem-gtpxmh2g.js} +8 -8
- package/dist/chunks/{job-x8dhemnj.js → filesystem-gyj79edp.js} +11 -11
- package/dist/chunks/{job-f1q26wx7.js → filesystem-h0d759dx.js} +6 -6
- package/dist/chunks/{job-8546be2y.js → filesystem-hcgfk2y6.js} +17 -17
- package/dist/chunks/{job-6x8qh0k4.js → filesystem-hf91ha42.js} +5 -5
- package/dist/chunks/{job-hfzsp55z.js → filesystem-hfzsp55z.js} +2 -2
- package/dist/chunks/{job-hgr9y616.js → filesystem-hgr9y616.js} +1 -1
- package/dist/chunks/{job-hhxh8pdx.js → filesystem-hhxh8pdx.js} +2 -2
- package/dist/chunks/{job-hpkeh7wf.js → filesystem-hpkeh7wf.js} +1 -1
- package/dist/chunks/{job-14zr8xkg.js → filesystem-hrqy84w2.js} +12 -12
- package/dist/chunks/{job-hs51b0fc.js → filesystem-hs51b0fc.js} +1 -1
- package/dist/chunks/{job-hvydqsq5.js → filesystem-hvydqsq5.js} +2 -2
- package/dist/chunks/{job-hy5n5jcn.js → filesystem-hy5n5jcn.js} +1 -1
- package/dist/chunks/{job-j0feex7e.js → filesystem-j0feex7e.js} +1 -1
- package/dist/chunks/{job-jjyavv00.js → filesystem-j2d67j28.js} +4 -4
- package/dist/chunks/{job-j9ymnb9b.js → filesystem-j9ymnb9b.js} +2 -2
- package/dist/chunks/{job-56g5e4rh.js → filesystem-jhgky76a.js} +10 -10
- package/dist/chunks/{job-nmy54yre.js → filesystem-jj29ets7.js} +4 -4
- package/dist/chunks/{job-jjepj7kz.js → filesystem-jjepj7kz.js} +2 -2
- package/dist/chunks/{job-0mp83skt.js → filesystem-jmsx6rb7.js} +8 -8
- package/dist/chunks/{job-jqd42x9x.js → filesystem-jqd42x9x.js} +2 -2
- package/dist/chunks/{job-jqhp3fpz.js → filesystem-jqhp3fpz.js} +2 -2
- package/dist/chunks/{job-ptj5ftkd.js → filesystem-jr5m26np.js} +4 -4
- package/dist/chunks/filesystem-k7b49etk.js +37 -0
- package/dist/chunks/{job-k7hkdbw5.js → filesystem-k7hkdbw5.js} +2 -2
- package/dist/chunks/{job-cta2q6q8.js → filesystem-kanv6g5v.js} +3 -3
- package/dist/chunks/{job-02pvb7h5.js → filesystem-kbc6crkv.js} +7 -7
- package/dist/chunks/{job-kggc3hrm.js → filesystem-kggc3hrm.js} +2 -2
- package/dist/chunks/{job-kq3q54gz.js → filesystem-kq3q54gz.js} +1 -1
- package/dist/chunks/{job-kr9vgar1.js → filesystem-kr9vgar1.js} +1 -1
- package/dist/chunks/{job-bjwxwa7m.js → filesystem-kxg7d552.js} +5 -5
- package/dist/chunks/{job-8dnp4spt.js → filesystem-m0q10zmq.js} +3 -3
- package/dist/chunks/{job-8c5xq4gn.js → filesystem-m3k5wttq.js} +6 -6
- package/dist/chunks/{job-m7jtgrng.js → filesystem-m7jtgrng.js} +2 -2
- package/dist/chunks/{job-mwxte97x.js → filesystem-m8ert79h.js} +2 -2
- package/dist/chunks/{job-mf0hyk7z.js → filesystem-mf0hyk7z.js} +1 -1
- package/dist/chunks/{job-mnyszbxc.js → filesystem-mnyszbxc.js} +1 -1
- package/dist/chunks/{job-6gdxzvtt.js → filesystem-mvtas577.js} +2 -2
- package/dist/chunks/{job-5k3818yg.js → filesystem-n0f3hm0d.js} +9 -9
- package/dist/chunks/{job-ngzr6ypz.js → filesystem-ngzr6ypz.js} +2 -2
- package/dist/chunks/{job-s38qzta6.js → filesystem-njngc0b6.js} +6 -6
- package/dist/chunks/{job-nn16cgj7.js → filesystem-nn16cgj7.js} +1 -1
- package/dist/chunks/{job-8xd9jxkj.js → filesystem-np54775z.js} +4 -4
- package/dist/chunks/{job-bp6sgnqt.js → filesystem-nrq9vjw3.js} +2 -2
- package/dist/chunks/{job-nd2mpnq4.js → filesystem-p1ejfdt0.js} +6 -6
- package/dist/chunks/{job-p1m5qwvv.js → filesystem-p1m5qwvv.js} +1 -1
- package/dist/chunks/{job-2je2xafv.js → filesystem-p266x8hj.js} +3 -3
- package/dist/chunks/{job-p5gyct0y.js → filesystem-p5gyct0y.js} +1 -1
- package/dist/chunks/{job-6h6kkzb4.js → filesystem-p9frmd17.js} +3 -3
- package/dist/chunks/{job-sdcn0024.js → filesystem-pdjag84r.js} +3 -3
- package/dist/chunks/{job-pj0nw4b1.js → filesystem-pj0nw4b1.js} +1 -1
- package/dist/chunks/{job-pk53j7qk.js → filesystem-pk53j7qk.js} +2 -2
- package/dist/chunks/{job-eq8ze56a.js → filesystem-pmtzhjhv.js} +12 -12
- package/dist/chunks/{job-pbc8ytj8.js → filesystem-pqtx2b8d.js} +8 -8
- package/dist/chunks/{job-q606pcse.js → filesystem-q606pcse.js} +3 -3
- package/dist/chunks/{job-4my6sqjz.js → filesystem-q6836vfz.js} +11 -11
- package/dist/chunks/{job-pq9ex7yx.js → filesystem-q8sgskas.js} +5 -5
- package/dist/chunks/{job-np12an0w.js → filesystem-qce5hgrz.js} +8 -8
- package/dist/chunks/{job-jjfj9km7.js → filesystem-qec3j967.js} +4 -4
- package/dist/chunks/{job-qf52r0wh.js → filesystem-qf52r0wh.js} +1 -1
- package/dist/chunks/{job-qfvp8zq7.js → filesystem-qfvp8zq7.js} +1 -1
- package/dist/chunks/{job-wppvygxs.js → filesystem-qhb7hvp1.js} +103 -115
- package/dist/chunks/{job-92can0sw.js → filesystem-qnjdkgzz.js} +11 -11
- package/dist/chunks/{job-4s9xsfcg.js → filesystem-qttqt97h.js} +10 -10
- package/dist/chunks/{job-qz5gwjr7.js → filesystem-qz5gwjr7.js} +3 -3
- package/dist/chunks/{job-15q04t6p.js → filesystem-qzk72r7y.js} +14 -14
- package/dist/chunks/{job-49c28rkv.js → filesystem-r4h3cjaw.js} +12 -12
- package/dist/chunks/filesystem-r5ajk2z0.js +45 -0
- package/dist/chunks/{job-3np4b1xg.js → filesystem-r61369vy.js} +2 -2
- package/dist/chunks/{job-r7z6wjth.js → filesystem-r7z6wjth.js} +1 -1
- package/dist/chunks/{job-r932pxqs.js → filesystem-r932pxqs.js} +1 -1
- package/dist/chunks/{job-r9d3d23r.js → filesystem-r9d3d23r.js} +1 -1
- package/dist/chunks/{job-rahat93a.js → filesystem-rahat93a.js} +1 -1
- package/dist/chunks/{job-rancn5ng.js → filesystem-rancn5ng.js} +4 -4
- package/dist/chunks/{job-005spnhy.js → filesystem-rktj6d6j.js} +11 -11
- package/dist/chunks/{job-rr7wbarq.js → filesystem-rr7wbarq.js} +1 -1
- package/dist/chunks/{job-vep5mxw5.js → filesystem-rs0p125h.js} +10 -10
- package/dist/chunks/{job-rv2n9m0t.js → filesystem-rv2n9m0t.js} +2 -2
- package/dist/chunks/{job-ndddgde3.js → filesystem-rv30bcsk.js} +12 -12
- package/dist/chunks/{job-ehg5ts1q.js → filesystem-rv88pcgx.js} +13 -13
- package/dist/chunks/{job-svjq7jk6.js → filesystem-s03d7drk.js} +3 -3
- package/dist/chunks/{job-s2kjqxd3.js → filesystem-s2kjqxd3.js} +1 -1
- package/dist/chunks/{job-s32nnj3r.js → filesystem-s32nnj3r.js} +1 -1
- package/dist/chunks/{job-s3d429ry.js → filesystem-s3d429ry.js} +4 -4
- package/dist/chunks/{job-s6ck6xts.js → filesystem-s6ck6xts.js} +1 -1
- package/dist/chunks/{job-20pscmdd.js → filesystem-sbb2r2e4.js} +2 -2
- package/dist/chunks/{job-sv010prj.js → filesystem-sbvnhmd0.js} +11 -11
- package/dist/chunks/{job-06254es8.js → filesystem-shtft0yb.js} +4 -4
- package/dist/chunks/{job-zsbptk5y.js → filesystem-stx7s587.js} +7 -7
- package/dist/chunks/{job-zvcacn6s.js → filesystem-sv0kr7fe.js} +3 -3
- package/dist/chunks/{job-k6a12cwh.js → filesystem-t3r4zst9.js} +119 -62
- package/dist/chunks/{job-fmf8kj32.js → filesystem-t3r5t0ca.js} +12 -12
- package/dist/chunks/{job-36ahe9ss.js → filesystem-t7fgb5sk.js} +8 -8
- package/dist/chunks/{job-jk7cv6xv.js → filesystem-tgz2y4qt.js} +4 -4
- package/dist/chunks/{job-9t7dztc5.js → filesystem-tpst7g4k.js} +11 -19
- package/dist/chunks/{job-6mwzprn0.js → filesystem-tqt24yzp.js} +7 -7
- package/dist/chunks/{job-tr2gzb1w.js → filesystem-tr2gzb1w.js} +1 -1
- package/dist/chunks/{job-4cbgxbht.js → filesystem-tv65xhjj.js} +5 -5
- package/dist/chunks/{job-6aa6m8fr.js → filesystem-tzyfn1qd.js} +5 -5
- package/dist/chunks/{job-vcwr2vpf.js → filesystem-vcwr2vpf.js} +1 -1
- package/dist/chunks/{job-sdpthfjx.js → filesystem-vvzv82tg.js} +29 -27
- package/dist/chunks/{job-vynk8zbr.js → filesystem-vynk8zbr.js} +1 -1
- package/dist/chunks/{job-8zmf9rzh.js → filesystem-w55cfrd2.js} +25 -25
- package/dist/chunks/{job-w5r9s7kx.js → filesystem-w5r9s7kx.js} +1 -1
- package/dist/chunks/{job-hqxhp0rs.js → filesystem-w5rm7d4k.js} +33 -94
- package/dist/chunks/{job-dvx1az8x.js → filesystem-wbda40yq.js} +60 -60
- package/dist/chunks/{job-wbkt8qpj.js → filesystem-wbkt8qpj.js} +1 -1
- package/dist/chunks/{job-wdqva41w.js → filesystem-wdqva41w.js} +1 -1
- package/dist/chunks/{job-j1ngmxz4.js → filesystem-wet7w2gq.js} +2 -2
- package/dist/chunks/{job-wf5w4wph.js → filesystem-wf5w4wph.js} +1 -1
- package/dist/chunks/{job-w0qb1xa4.js → filesystem-wgm1axa3.js} +1 -1
- package/dist/chunks/{job-wkcm2121.js → filesystem-wkcm2121.js} +3 -3
- package/dist/chunks/{job-wmxdh12w.js → filesystem-wmxdh12w.js} +1 -1
- package/dist/chunks/{job-2hbwmgn0.js → filesystem-wy7h31j4.js} +17 -17
- package/dist/chunks/{job-5cytsx1f.js → filesystem-x03c4db7.js} +2 -2
- package/dist/chunks/{job-x3vb5b1t.js → filesystem-x3vb5b1t.js} +1 -1
- package/dist/chunks/filesystem-x3w6cccg.js +408 -0
- package/dist/chunks/{job-x4az4y7r.js → filesystem-x4az4y7r.js} +1 -1
- package/dist/chunks/{job-xdb88cdw.js → filesystem-xdb88cdw.js} +2 -2
- package/dist/chunks/{job-vh47b2w6.js → filesystem-xej9a08f.js} +5 -5
- package/dist/chunks/{job-xfk2eagt.js → filesystem-xfk2eagt.js} +3 -3
- package/dist/chunks/{job-1m9cpv7k.js → filesystem-xgdv4rfy.js} +4 -4
- package/dist/chunks/{job-xh0dkm7j.js → filesystem-xh0dkm7j.js} +1 -1
- package/dist/chunks/{job-bsm25m3v.js → filesystem-xh247vdn.js} +3 -3
- package/dist/chunks/{job-m7rabmmm.js → filesystem-xj6z665s.js} +18 -18
- package/dist/chunks/{job-5jmpc95y.js → filesystem-xtf5vp0f.js} +4 -4
- package/dist/chunks/{job-xws7arpm.js → filesystem-xws7arpm.js} +1 -1
- package/dist/chunks/{job-cw86g0n7.js → filesystem-y2mxhey5.js} +4 -4
- package/dist/chunks/{job-g9134zmz.js → filesystem-y83qc570.js} +6 -6
- package/dist/chunks/{job-yjxmw1eg.js → filesystem-yjxmw1eg.js} +1 -1
- package/dist/chunks/{job-vew7xnpa.js → filesystem-yvvphx7r.js} +2 -2
- package/dist/chunks/{job-z1x5ppqv.js → filesystem-z1x5ppqv.js} +2 -2
- package/dist/chunks/{job-pe2d0nx9.js → filesystem-z46pd5wr.js} +7 -7
- package/dist/chunks/{job-z8c1ty6e.js → filesystem-z8c1ty6e.js} +1 -1
- package/dist/chunks/{job-zbqqnp0n.js → filesystem-zbqqnp0n.js} +1 -1
- package/dist/chunks/{job-6b3efh24.js → filesystem-zmv1pdth.js} +4 -4
- package/dist/chunks/{job-zn935gjz.js → filesystem-zn935gjz.js} +1 -1
- package/dist/chunks/{job-02s3frw2.js → filesystem-zpsy4603.js} +90 -90
- package/dist/chunks/{job-zq5w46q0.js → filesystem-zq5w46q0.js} +1 -1
- package/dist/chunks/{job-zyyhrfr9.js → filesystem-zyyhrfr9.js} +1 -1
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +4 -4
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +127 -127
- package/dist/config/plugin/command.js +113 -113
- package/dist/config/plugin/compaction.js +166 -166
- package/dist/config/plugin/entry-observer.js +109 -109
- package/dist/config/plugin/formatter.js +114 -114
- package/dist/config/plugin/image.js +126 -126
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +112 -112
- package/dist/config/plugin/mcp.js +122 -122
- package/dist/config/plugin/policy.js +111 -111
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +114 -114
- package/dist/config/plugin/shell.js +113 -113
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +130 -130
- package/dist/config/plugin/snapshot.js +112 -112
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +114 -114
- package/dist/config/plugin/websearch.js +110 -110
- package/dist/config/variable.js +4 -4
- package/dist/config.js +108 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +356 -342
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +216 -318
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +91 -91
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +92 -92
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +80 -80
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +94 -94
- package/dist/image.js +94 -94
- package/dist/instance/service.js +5 -83
- package/dist/instance.js +342 -343
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +82 -82
- package/dist/location-mutation.js +79 -79
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +340 -341
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +215 -199
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +311 -305
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -77
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +127 -127
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor.js +326 -320
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +109 -109
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +214 -200
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +77 -77
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -2
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +79 -79
- package/dist/schema.js +2 -2
- package/dist/session/command.js +79 -0
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +150 -324
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +209 -189
- package/dist/session/execution.js +117 -118
- package/dist/session/generate.js +156 -6
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +134 -134
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +93 -0
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +116 -120
- package/dist/session/revert.js +91 -93
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +223 -330
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +143 -143
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +170 -173
- package/dist/session/shell.js +136 -0
- package/dist/session/skill.js +105 -0
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +2 -2
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +152 -325
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +208 -188
- package/dist/session/usage.js +2 -2
- package/dist/session.js +208 -187
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +2 -2
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +127 -127
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +96 -96
- package/dist/snapshot.js +80 -80
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +108 -108
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +207 -192
- package/dist/tool/plugin/skill.js +97 -97
- package/dist/tool/plugin/subagent.js +206 -191
- package/dist/tool/plugin/webfetch.js +98 -98
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +114 -114
- package/dist/types/effect/app-node-builder.d.ts +2 -1
- package/dist/types/filesystem/location-watcher.d.ts +1 -1
- package/dist/types/instance/service.d.ts +3 -4
- package/dist/types/instance.d.ts +5 -6
- package/dist/types/mcp/client.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +6 -2
- package/dist/types/plugin/internal.d.ts +6 -6
- package/dist/types/plugin/sdk.d.ts +2 -3
- package/dist/types/plugin/supervisor.d.ts +3 -6
- package/dist/types/plugin.d.ts +10 -2
- package/dist/types/reference.d.ts +0 -2
- package/dist/types/session/command.d.ts +16 -0
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/generate.d.ts +9 -13
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/session/move.d.ts +30 -0
- package/dist/types/session/prompt.d.ts +49 -109
- package/dist/types/session/revert.d.ts +18 -22
- package/dist/types/session/runner/llm.d.ts +1 -1
- package/dist/types/session/session.d.ts +18 -6
- package/dist/types/session/shell.d.ts +13 -0
- package/dist/types/session/skill.d.ts +10 -0
- package/dist/types/session.d.ts +7 -18
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +1 -1
- package/dist/types/tool/plugin/glob.d.ts +1 -1
- package/dist/types/tool/plugin/grep.d.ts +1 -1
- package/dist/types/tool/plugin/patch.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +3 -2
- package/dist/types/tool/plugin/skill.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +3 -2
- package/dist/types/tool/plugin/write.d.ts +1 -1
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +81 -81
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +82 -82
- package/package.json +7 -7
- package/dist/chunks/job-230pnk2r.js +0 -144
- package/dist/chunks/job-2gfe5499.js +0 -33
- package/dist/chunks/job-8efafph2.js +0 -404
- package/dist/chunks/job-arbzzwsh.js +0 -16
- package/dist/chunks/job-cprzwt8r.js +0 -77
- package/dist/chunks/job-emva1db9.js +0 -16
- package/dist/chunks/job-kwmzs06t.js +0 -33
- package/dist/chunks/job-mdhk12j3.js +0 -34
- package/dist/chunks/job-mm9pgdqw.js +0 -34
- package/dist/chunks/job-p47x1wxa.js +0 -203
- package/dist/plugin/runtime.js +0 -210
- package/dist/plugin/supervisor-service.js +0 -9
- package/dist/session/generate-node.js +0 -334
- package/dist/session/prompt-node.js +0 -325
- package/dist/session/revert-node.js +0 -325
- package/dist/types/plugin/runtime.d.ts +0 -41
- package/dist/types/plugin/supervisor-service.d.ts +0 -18
- package/dist/types/session/generate-node.d.ts +0 -7
- package/dist/types/session/prompt-node.d.ts +0 -3
- package/dist/types/session/revert-node.d.ts +0 -3
- /package/dist/chunks/{job-0cgt0xh2.js → filesystem-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{job-0f48qthw.js → filesystem-0f48qthw.js} +0 -0
- /package/dist/chunks/{job-0zz82cjq.js → filesystem-0zz82cjq.js} +0 -0
- /package/dist/chunks/{job-1fb7bmpf.js → filesystem-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{job-1wcz8fvj.js → filesystem-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{job-29n7vfk2.js → filesystem-29n7vfk2.js} +0 -0
- /package/dist/chunks/{job-2qdx6zz3.js → filesystem-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{job-2xb0r1c6.js → filesystem-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{job-39ktntah.js → filesystem-39ktntah.js} +0 -0
- /package/dist/chunks/{job-3g3rpp2x.js → filesystem-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{job-3w3ybtfd.js → filesystem-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{job-47ty4mvs.js → filesystem-47ty4mvs.js} +0 -0
- /package/dist/chunks/{job-4b2tz2m9.js → filesystem-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{job-5a5ch9ts.js → filesystem-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{job-5va1yh78.js → filesystem-5va1yh78.js} +0 -0
- /package/dist/chunks/{job-61ek4hj9.js → filesystem-61ek4hj9.js} +0 -0
- /package/dist/chunks/{job-69qrqpw0.js → filesystem-69qrqpw0.js} +0 -0
- /package/dist/chunks/{job-6zqxzw0a.js → filesystem-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{job-7n9qwqk4.js → filesystem-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{job-8nn8kqcn.js → filesystem-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{job-8rpfd2h6.js → filesystem-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{job-8sj3ajy5.js → filesystem-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{job-8w9tzfz1.js → filesystem-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{job-906y0b6d.js → filesystem-906y0b6d.js} +0 -0
- /package/dist/chunks/{job-9dct5xhx.js → filesystem-9dct5xhx.js} +0 -0
- /package/dist/chunks/{job-9maxscqf.js → filesystem-9maxscqf.js} +0 -0
- /package/dist/chunks/{job-9sdtsapf.js → filesystem-9sdtsapf.js} +0 -0
- /package/dist/chunks/{job-a02svayp.js → filesystem-a02svayp.js} +0 -0
- /package/dist/chunks/{job-a83yvq99.js → filesystem-a83yvq99.js} +0 -0
- /package/dist/chunks/{job-ayevdmef.js → filesystem-ayevdmef.js} +0 -0
- /package/dist/chunks/{job-b02txbh8.js → filesystem-b02txbh8.js} +0 -0
- /package/dist/chunks/{job-bbqs2y60.js → filesystem-bbqs2y60.js} +0 -0
- /package/dist/chunks/{job-bjwj8hwv.js → filesystem-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{job-brsh5f65.js → filesystem-brsh5f65.js} +0 -0
- /package/dist/chunks/{job-bxdhjb3y.js → filesystem-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{job-bybkghrn.js → filesystem-bybkghrn.js} +0 -0
- /package/dist/chunks/{job-c77ad0vh.js → filesystem-c77ad0vh.js} +0 -0
- /package/dist/chunks/{job-cm67rqy2.js → filesystem-cm67rqy2.js} +0 -0
- /package/dist/chunks/{job-df3v2q6j.js → filesystem-df3v2q6j.js} +0 -0
- /package/dist/chunks/{job-dhcq6c44.js → filesystem-dhcq6c44.js} +0 -0
- /package/dist/chunks/{job-dht5baf0.js → filesystem-dht5baf0.js} +0 -0
- /package/dist/chunks/{job-dkmkay92.js → filesystem-dkmkay92.js} +0 -0
- /package/dist/chunks/{job-ehj9csmv.js → filesystem-ehj9csmv.js} +0 -0
- /package/dist/chunks/{job-em6xpscd.js → filesystem-em6xpscd.js} +0 -0
- /package/dist/chunks/{job-emmqknsm.js → filesystem-emmqknsm.js} +0 -0
- /package/dist/chunks/{job-ezs3tagn.js → filesystem-ezs3tagn.js} +0 -0
- /package/dist/chunks/{job-f14r7hfz.js → filesystem-f14r7hfz.js} +0 -0
- /package/dist/chunks/{job-f1jj19e8.js → filesystem-f1jj19e8.js} +0 -0
- /package/dist/chunks/{job-f4cp4g4a.js → filesystem-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{job-faypg4r1.js → filesystem-faypg4r1.js} +0 -0
- /package/dist/chunks/{job-fg7fz4q3.js → filesystem-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{job-fgbfdq62.js → filesystem-fgbfdq62.js} +0 -0
- /package/dist/chunks/{job-g23fad86.js → filesystem-g23fad86.js} +0 -0
- /package/dist/chunks/{job-gd5xeqc2.js → filesystem-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{job-ghm4673n.js → filesystem-ghm4673n.js} +0 -0
- /package/dist/chunks/{job-ghwjy7my.js → filesystem-ghwjy7my.js} +0 -0
- /package/dist/chunks/{job-gy500k2r.js → filesystem-gy500k2r.js} +0 -0
- /package/dist/chunks/{job-hzeg9cfr.js → filesystem-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{job-j07kk359.js → filesystem-j07kk359.js} +0 -0
- /package/dist/chunks/{job-j32vdj8r.js → filesystem-j32vdj8r.js} +0 -0
- /package/dist/chunks/{job-jqms80b0.js → filesystem-jqms80b0.js} +0 -0
- /package/dist/chunks/{job-jve7t217.js → filesystem-jve7t217.js} +0 -0
- /package/dist/chunks/{job-k3e42drn.js → filesystem-k3e42drn.js} +0 -0
- /package/dist/chunks/{job-k8b45nas.js → filesystem-k8b45nas.js} +0 -0
- /package/dist/chunks/{job-kpdbz7gn.js → filesystem-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{job-kxy11nzk.js → filesystem-kxy11nzk.js} +0 -0
- /package/dist/chunks/{job-kyyqvx4s.js → filesystem-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{job-m8cbvarh.js → filesystem-m8cbvarh.js} +0 -0
- /package/dist/chunks/{job-ma60vzgv.js → filesystem-ma60vzgv.js} +0 -0
- /package/dist/chunks/{job-n3m50c2t.js → filesystem-n3m50c2t.js} +0 -0
- /package/dist/chunks/{job-nkm1m8dz.js → filesystem-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{job-nsc0c3zb.js → filesystem-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{job-qaarhjrp.js → filesystem-qaarhjrp.js} +0 -0
- /package/dist/chunks/{job-qc167nrn.js → filesystem-qc167nrn.js} +0 -0
- /package/dist/chunks/{job-qp95y4jb.js → filesystem-qp95y4jb.js} +0 -0
- /package/dist/chunks/{job-r8f4w671.js → filesystem-r8f4w671.js} +0 -0
- /package/dist/chunks/{job-rdfev9jy.js → filesystem-rdfev9jy.js} +0 -0
- /package/dist/chunks/{job-s7whb9gt.js → filesystem-s7whb9gt.js} +0 -0
- /package/dist/chunks/{job-se76j685.js → filesystem-se76j685.js} +0 -0
- /package/dist/chunks/{job-sem2g21k.js → filesystem-sem2g21k.js} +0 -0
- /package/dist/chunks/{job-sp575ygv.js → filesystem-sp575ygv.js} +0 -0
- /package/dist/chunks/{job-tmb1f636.js → filesystem-tmb1f636.js} +0 -0
- /package/dist/chunks/{job-ttxf0gsy.js → filesystem-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{job-tvmhrvfj.js → filesystem-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{job-v2adqbbe.js → filesystem-v2adqbbe.js} +0 -0
- /package/dist/chunks/{job-vac9eqd2.js → filesystem-vac9eqd2.js} +0 -0
- /package/dist/chunks/{job-vpjkya7h.js → filesystem-vpjkya7h.js} +0 -0
- /package/dist/chunks/{job-wj4sxzqa.js → filesystem-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{job-wwntjmk1.js → filesystem-wwntjmk1.js} +0 -0
- /package/dist/chunks/{job-wyqjaaa5.js → filesystem-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{job-x4q807cx.js → filesystem-x4q807cx.js} +0 -0
- /package/dist/chunks/{job-yrqrg4vp.js → filesystem-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{job-z47nswr2.js → filesystem-z47nswr2.js} +0 -0
- /package/dist/chunks/{job-zsf8rs93.js → filesystem-zsf8rs93.js} +0 -0
package/dist/tool.js
CHANGED
|
@@ -8,120 +8,120 @@ import {
|
|
|
8
8
|
TextContent,
|
|
9
9
|
exports_tool,
|
|
10
10
|
node
|
|
11
|
-
} from "./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
79
|
-
import"./chunks/
|
|
80
|
-
import"./chunks/
|
|
81
|
-
import"./chunks/
|
|
82
|
-
import"./chunks/
|
|
83
|
-
import"./chunks/
|
|
84
|
-
import"./chunks/
|
|
85
|
-
import"./chunks/
|
|
86
|
-
import"./chunks/
|
|
87
|
-
import"./chunks/
|
|
88
|
-
import"./chunks/
|
|
89
|
-
import"./chunks/
|
|
90
|
-
import"./chunks/
|
|
91
|
-
import"./chunks/
|
|
92
|
-
import"./chunks/
|
|
93
|
-
import"./chunks/
|
|
94
|
-
import"./chunks/
|
|
95
|
-
import"./chunks/
|
|
96
|
-
import"./chunks/
|
|
97
|
-
import"./chunks/
|
|
98
|
-
import"./chunks/
|
|
99
|
-
import"./chunks/
|
|
100
|
-
import"./chunks/
|
|
101
|
-
import"./chunks/
|
|
102
|
-
import"./chunks/
|
|
103
|
-
import"./chunks/
|
|
104
|
-
import"./chunks/
|
|
105
|
-
import"./chunks/
|
|
106
|
-
import"./chunks/
|
|
107
|
-
import"./chunks/
|
|
108
|
-
import"./chunks/
|
|
109
|
-
import"./chunks/
|
|
110
|
-
import"./chunks/
|
|
111
|
-
import"./chunks/
|
|
112
|
-
import"./chunks/
|
|
113
|
-
import"./chunks/
|
|
114
|
-
import"./chunks/
|
|
115
|
-
import"./chunks/
|
|
116
|
-
import"./chunks/
|
|
117
|
-
import"./chunks/
|
|
118
|
-
import"./chunks/
|
|
119
|
-
import"./chunks/
|
|
120
|
-
import"./chunks/
|
|
121
|
-
import"./chunks/
|
|
122
|
-
import"./chunks/
|
|
123
|
-
import"./chunks/
|
|
124
|
-
import"./chunks/
|
|
11
|
+
} from "./chunks/filesystem-6gqm4c9r.js";
|
|
12
|
+
import"./chunks/filesystem-0gpahtwn.js";
|
|
13
|
+
import"./chunks/filesystem-rr7wbarq.js";
|
|
14
|
+
import"./chunks/filesystem-f1jj19e8.js";
|
|
15
|
+
import"./chunks/filesystem-rktj6d6j.js";
|
|
16
|
+
import"./chunks/filesystem-4qktftwp.js";
|
|
17
|
+
import"./chunks/filesystem-d4h7vwhh.js";
|
|
18
|
+
import"./chunks/filesystem-kbc6crkv.js";
|
|
19
|
+
import"./chunks/filesystem-ax34jjm3.js";
|
|
20
|
+
import"./chunks/filesystem-264e1nfp.js";
|
|
21
|
+
import"./chunks/filesystem-2sqw2jjm.js";
|
|
22
|
+
import"./chunks/filesystem-m3k5wttq.js";
|
|
23
|
+
import"./chunks/filesystem-edxnhgvj.js";
|
|
24
|
+
import"./chunks/filesystem-q606pcse.js";
|
|
25
|
+
import"./chunks/filesystem-pdjag84r.js";
|
|
26
|
+
import"./chunks/filesystem-c54e84vp.js";
|
|
27
|
+
import"./chunks/filesystem-nrq9vjw3.js";
|
|
28
|
+
import"./chunks/filesystem-xws7arpm.js";
|
|
29
|
+
import"./chunks/filesystem-a83yvq99.js";
|
|
30
|
+
import"./chunks/filesystem-gjbqvrxz.js";
|
|
31
|
+
import"./chunks/filesystem-g3wtemyx.js";
|
|
32
|
+
import"./chunks/filesystem-7myqjfx6.js";
|
|
33
|
+
import"./chunks/filesystem-y2mxhey5.js";
|
|
34
|
+
import"./chunks/filesystem-rahat93a.js";
|
|
35
|
+
import"./chunks/filesystem-n0f3hm0d.js";
|
|
36
|
+
import"./chunks/filesystem-jqhp3fpz.js";
|
|
37
|
+
import"./chunks/filesystem-hvydqsq5.js";
|
|
38
|
+
import"./chunks/filesystem-6wsfy4sp.js";
|
|
39
|
+
import"./chunks/filesystem-vynk8zbr.js";
|
|
40
|
+
import"./chunks/filesystem-ftx80qyy.js";
|
|
41
|
+
import"./chunks/filesystem-zyyhrfr9.js";
|
|
42
|
+
import"./chunks/filesystem-61ek4hj9.js";
|
|
43
|
+
import"./chunks/filesystem-8rpfd2h6.js";
|
|
44
|
+
import"./chunks/filesystem-bjwj8hwv.js";
|
|
45
|
+
import"./chunks/filesystem-yvvphx7r.js";
|
|
46
|
+
import"./chunks/filesystem-jmsx6rb7.js";
|
|
47
|
+
import"./chunks/filesystem-m7jtgrng.js";
|
|
48
|
+
import"./chunks/filesystem-gb1z7yet.js";
|
|
49
|
+
import"./chunks/filesystem-c8ya26sa.js";
|
|
50
|
+
import"./chunks/filesystem-zbqqnp0n.js";
|
|
51
|
+
import"./chunks/filesystem-qz5gwjr7.js";
|
|
52
|
+
import"./chunks/filesystem-grfz4hhj.js";
|
|
53
|
+
import"./chunks/filesystem-j07kk359.js";
|
|
54
|
+
import"./chunks/filesystem-sem2g21k.js";
|
|
55
|
+
import"./chunks/filesystem-k3e42drn.js";
|
|
56
|
+
import"./chunks/filesystem-b7rje112.js";
|
|
57
|
+
import"./chunks/filesystem-shtft0yb.js";
|
|
58
|
+
import"./chunks/filesystem-zsf8rs93.js";
|
|
59
|
+
import"./chunks/filesystem-66mds5ht.js";
|
|
60
|
+
import"./chunks/filesystem-dbejzf38.js";
|
|
61
|
+
import"./chunks/filesystem-ttxf0gsy.js";
|
|
62
|
+
import"./chunks/filesystem-xh247vdn.js";
|
|
63
|
+
import"./chunks/filesystem-p9frmd17.js";
|
|
64
|
+
import"./chunks/filesystem-wgm1axa3.js";
|
|
65
|
+
import"./chunks/filesystem-1d9fhdtg.js";
|
|
66
|
+
import"./chunks/filesystem-fq23fra0.js";
|
|
67
|
+
import"./chunks/filesystem-s7whb9gt.js";
|
|
68
|
+
import"./chunks/filesystem-wbkt8qpj.js";
|
|
69
|
+
import"./chunks/filesystem-j0feex7e.js";
|
|
70
|
+
import"./chunks/filesystem-bxdhjb3y.js";
|
|
71
|
+
import"./chunks/filesystem-hgr9y616.js";
|
|
72
|
+
import"./chunks/filesystem-vcwr2vpf.js";
|
|
73
|
+
import"./chunks/filesystem-k8b45nas.js";
|
|
74
|
+
import"./chunks/filesystem-0f48qthw.js";
|
|
75
|
+
import"./chunks/filesystem-kanv6g5v.js";
|
|
76
|
+
import"./chunks/filesystem-39ktntah.js";
|
|
77
|
+
import"./chunks/filesystem-zpsy4603.js";
|
|
78
|
+
import"./chunks/filesystem-2xb0r1c6.js";
|
|
79
|
+
import"./chunks/filesystem-3g3rpp2x.js";
|
|
80
|
+
import"./chunks/filesystem-dht5baf0.js";
|
|
81
|
+
import"./chunks/filesystem-dhcq6c44.js";
|
|
82
|
+
import"./chunks/filesystem-ayevdmef.js";
|
|
83
|
+
import"./chunks/filesystem-qp95y4jb.js";
|
|
84
|
+
import"./chunks/filesystem-n3m50c2t.js";
|
|
85
|
+
import"./chunks/filesystem-kxy11nzk.js";
|
|
86
|
+
import"./chunks/filesystem-emmqknsm.js";
|
|
87
|
+
import"./chunks/filesystem-yrqrg4vp.js";
|
|
88
|
+
import"./chunks/filesystem-gd5xeqc2.js";
|
|
89
|
+
import"./chunks/filesystem-47ty4mvs.js";
|
|
90
|
+
import"./chunks/filesystem-6zqxzw0a.js";
|
|
91
|
+
import"./chunks/filesystem-9sdtsapf.js";
|
|
92
|
+
import"./chunks/filesystem-69qrqpw0.js";
|
|
93
|
+
import"./chunks/filesystem-nkm1m8dz.js";
|
|
94
|
+
import"./chunks/filesystem-kyyqvx4s.js";
|
|
95
|
+
import"./chunks/filesystem-se76j685.js";
|
|
96
|
+
import"./chunks/filesystem-ghwjy7my.js";
|
|
97
|
+
import"./chunks/filesystem-fgbfdq62.js";
|
|
98
|
+
import"./chunks/filesystem-1fb7bmpf.js";
|
|
99
|
+
import"./chunks/filesystem-x4q807cx.js";
|
|
100
|
+
import"./chunks/filesystem-v2adqbbe.js";
|
|
101
|
+
import"./chunks/filesystem-faypg4r1.js";
|
|
102
|
+
import"./chunks/filesystem-em6xpscd.js";
|
|
103
|
+
import"./chunks/filesystem-nsc0c3zb.js";
|
|
104
|
+
import"./chunks/filesystem-2qdx6zz3.js";
|
|
105
|
+
import"./chunks/filesystem-3w3ybtfd.js";
|
|
106
|
+
import"./chunks/filesystem-kpdbz7gn.js";
|
|
107
|
+
import"./chunks/filesystem-ghm4673n.js";
|
|
108
|
+
import"./chunks/filesystem-5va1yh78.js";
|
|
109
|
+
import"./chunks/filesystem-29n7vfk2.js";
|
|
110
|
+
import"./chunks/filesystem-qc167nrn.js";
|
|
111
|
+
import"./chunks/filesystem-f14r7hfz.js";
|
|
112
|
+
import"./chunks/filesystem-f4cp4g4a.js";
|
|
113
|
+
import"./chunks/filesystem-ma60vzgv.js";
|
|
114
|
+
import"./chunks/filesystem-cm67rqy2.js";
|
|
115
|
+
import"./chunks/filesystem-8sj3ajy5.js";
|
|
116
|
+
import"./chunks/filesystem-9dct5xhx.js";
|
|
117
|
+
import"./chunks/filesystem-wyqjaaa5.js";
|
|
118
|
+
import"./chunks/filesystem-906y0b6d.js";
|
|
119
|
+
import"./chunks/filesystem-8nn8kqcn.js";
|
|
120
|
+
import"./chunks/filesystem-wwntjmk1.js";
|
|
121
|
+
import"./chunks/filesystem-b02txbh8.js";
|
|
122
|
+
import"./chunks/filesystem-z47nswr2.js";
|
|
123
|
+
import"./chunks/filesystem-tmb1f636.js";
|
|
124
|
+
import"./chunks/filesystem-vpjkya7h.js";
|
|
125
125
|
export {
|
|
126
126
|
CallID,
|
|
127
127
|
Content,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
2
|
-
|
|
2
|
+
import { Layer } from "effect";
|
|
3
|
+
export declare function build<A, E>(root: LayerNode.Graph<A, E>, replacements?: LayerNode.Replacements): Layer.Layer<A, E, never>;
|
|
3
4
|
export * as AppNodeBuilder from "./app-node-builder.js";
|
|
@@ -5,4 +5,4 @@ export interface Interface {
|
|
|
5
5
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/LocationWatcher", Interface>;
|
|
6
6
|
export declare class Service extends Service_base {
|
|
7
7
|
}
|
|
8
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service,
|
|
8
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, import("../persistent-pty/index.js").UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
export * as Instance from "./service.js";
|
|
2
2
|
export type { Services } from "../instance.js";
|
|
3
|
-
import { Context, Effect
|
|
3
|
+
import { Context, type Effect } from "effect";
|
|
4
4
|
import type { Session } from "@opencode-ai/schema/session";
|
|
5
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
5
6
|
import type { Services } from "../instance.js";
|
|
6
7
|
/** Selects Session capabilities; implementations own caching and lifetime. */
|
|
7
8
|
export interface Interface {
|
|
8
9
|
readonly provide: (session: Session.Info) => <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Services>>;
|
|
9
|
-
/** Borrow a cached instance without initializing one when it is absent. */
|
|
10
|
-
readonly provideIfLoaded: (session: Session.Info) => <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<Option.Option<A>, E, Exclude<R, Services>>;
|
|
11
10
|
}
|
|
12
11
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Instance", Interface>;
|
|
13
12
|
export declare class Service extends Service_base {
|
|
14
13
|
}
|
|
15
|
-
export declare const
|
|
14
|
+
export declare const node: LayerNode.Node<Service, never, LayerNode.Tag<"global">>;
|
package/dist/types/instance.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ import { Permission } from "./permission.js";
|
|
|
23
23
|
import { Plugin } from "./plugin.js";
|
|
24
24
|
import { PluginHooks } from "./plugin/hooks.js";
|
|
25
25
|
import { InstancePlugins } from "./plugin/instance.js";
|
|
26
|
-
import { PluginSupervisor } from "./plugin/supervisor.js";
|
|
27
26
|
import { Pty } from "./pty.js";
|
|
28
27
|
import { Shell } from "./shell.js";
|
|
29
28
|
import { ShellSelect } from "./shell/select.js";
|
|
@@ -32,9 +31,9 @@ import { Rpc } from "./rpc.js";
|
|
|
32
31
|
import { WebSearch } from "./websearch.js";
|
|
33
32
|
import { ReferenceInstructions } from "./reference/instructions.js";
|
|
34
33
|
import { SessionRunnerModel } from "./session/runner/model.js";
|
|
35
|
-
import { SessionModelTransport } from "./session/model-transport.js";
|
|
36
34
|
import { SessionCompaction } from "./session/compaction.js";
|
|
37
35
|
import { SessionTitle } from "./session/title.js";
|
|
36
|
+
import { SessionContext } from "./session/context.js";
|
|
38
37
|
import { Skill } from "./skill.js";
|
|
39
38
|
import { SkillInstructions } from "./skill/instructions.js";
|
|
40
39
|
import { Snapshot } from "./snapshot.js";
|
|
@@ -48,13 +47,13 @@ import { Tool } from "./tool.js";
|
|
|
48
47
|
import { ToolOutput } from "./tool-output.js";
|
|
49
48
|
import { Vcs } from "./vcs.js";
|
|
50
49
|
export * as Instance from "./instance.js";
|
|
51
|
-
export { Service,
|
|
52
|
-
export declare const graph: LayerNode.Graph<Location.Service | Agent.Service | AISDK.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Config.Service | Environment.Service | FileMutation.Service | FileSystemSearch.Service | FileSystem.Service | Formatter.Service | ModelResolver.Service | Generate.Service | Image.Service |
|
|
50
|
+
export { Service, node, type Interface } from "./instance/service.js";
|
|
51
|
+
export declare const graph: LayerNode.Graph<Location.Service | Agent.Service | AISDK.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Config.Service | Environment.Service | FileMutation.Service | FileSystemSearch.Service | FileSystem.Service | Formatter.Service | ModelResolver.Service | Generate.Service | Image.Service | ShellSelect.Service | Reference.Service | Rpc.Service | WebSearch.Service | Plugin.Service | PluginHooks.Service | InstancePlugins.Service | Mcp.Service | LocationMutation.Service | Permission.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | Skill.Service | InstructionDiscovery.Service | SessionCompaction.Service | Snapshot.Service | Tool.Service | ToolOutput.Service | Pty.Service | InstructionBuiltIns.Service | SkillInstructions.Service | ReferenceInstructions.Service | InstructionEntry.Service | McpTool.Service | SessionRunnerModel.Service | SessionTitle.Service | SessionContext.Service | import("./session/runner/index.js").Service | Vcs.Service | LocationWatcher.Service, import("./persistent-pty/index.js").UnavailableError, LayerNode.Tag<"location">>;
|
|
53
52
|
export type Services = LayerNode.Output<typeof graph>;
|
|
54
|
-
export type Error =
|
|
53
|
+
export type Error = Layer.Error<ReturnType<typeof layer>>;
|
|
55
54
|
export interface Options {
|
|
56
55
|
readonly plugins?: InstancePlugins.List;
|
|
57
56
|
readonly discovery?: boolean;
|
|
58
57
|
readonly replacements?: LayerNode.Replacements;
|
|
59
58
|
}
|
|
60
|
-
export declare function layer(ref: Location.Ref, options?: Options): Layer.Layer<
|
|
59
|
+
export declare function layer(ref: Location.Ref, options?: Options): Layer.Layer<Services>;
|
|
@@ -282,4 +282,4 @@ export declare const connect: (server: string, config: import("@opencode-ai/sche
|
|
|
282
282
|
onToolsChanged: (callback: () => void) => void;
|
|
283
283
|
onPromptsChanged: (callback: () => void) => void;
|
|
284
284
|
onResourcesChanged: (callback: () => void) => void;
|
|
285
|
-
},
|
|
285
|
+
}, ConnectError | NeedsAuthError, import("effect/Scope").Scope | import("../environment/environment.js").Service>;
|
|
@@ -9,8 +9,10 @@ import { Bus } from "../bus.js";
|
|
|
9
9
|
import { Integration } from "../integration.js";
|
|
10
10
|
import { KV } from "../kv.js";
|
|
11
11
|
import { Location } from "../location.js";
|
|
12
|
+
import { LocationServiceMap } from "../location-service-map.js";
|
|
12
13
|
import { Mcp } from "../mcp/index.js";
|
|
13
|
-
import {
|
|
14
|
+
import { Session } from "../session.js";
|
|
15
|
+
import { PersistentPty } from "../persistent-pty.js";
|
|
14
16
|
import { Reference } from "../reference.js";
|
|
15
17
|
import { Rpc } from "../rpc.js";
|
|
16
18
|
import { Skill } from "../skill.js";
|
|
@@ -21,5 +23,7 @@ import { Generate } from "../generate.js";
|
|
|
21
23
|
import { Permission } from "../permission.js";
|
|
22
24
|
import { PluginHooks } from "./hooks.js";
|
|
23
25
|
import type { Interface } from "../plugin.js";
|
|
24
|
-
|
|
26
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
27
|
+
export declare const make: (plugin: Pick<Interface, "list">, pluginID?: string | undefined) => Effect.Effect<Plugin.Context, never, Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | KV.Service | Generate.Service | PersistentPty.Service | LocationServiceMap.Service | Reference.Service | Rpc.Service | WebSearch.Service | PluginHooks.Service | Mcp.Service | Permission.Service | Session.Service | Skill.Service | Tool.Service | Vcs.Service>;
|
|
28
|
+
export declare const requirements: LayerNode.Graph<Bus.Service | Location.Service | Agent.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | KV.Service | Generate.Service | PersistentPty.Service | LocationServiceMap.Service | Reference.Service | Rpc.Service | WebSearch.Service | PluginHooks.Service | Mcp.Service | Permission.Service | Session.Service | Skill.Service | Tool.Service | Vcs.Service, PersistentPty.UnavailableError, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
25
29
|
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -21,6 +21,7 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
21
21
|
import { Image } from "../image.js";
|
|
22
22
|
import { InstructionDiscovery } from "../instruction-discovery.js";
|
|
23
23
|
import { Integration } from "../integration.js";
|
|
24
|
+
import { Job } from "../job.js";
|
|
24
25
|
import { KV } from "../kv.js";
|
|
25
26
|
import { Location } from "../location.js";
|
|
26
27
|
import { LocationMutation } from "../location-mutation.js";
|
|
@@ -31,6 +32,7 @@ import { Permission } from "../permission.js";
|
|
|
31
32
|
import { Reference } from "../reference.js";
|
|
32
33
|
import { WebSearch } from "../websearch.js";
|
|
33
34
|
import { Ripgrep } from "../ripgrep.js";
|
|
35
|
+
import { Session } from "../session.js";
|
|
34
36
|
import { SessionCompaction } from "../session/compaction.js";
|
|
35
37
|
import { SessionInstructions } from "../session/instructions.js";
|
|
36
38
|
import { Shell } from "../shell.js";
|
|
@@ -43,13 +45,11 @@ import { ReadToolFileSystem } from "../tool/read-filesystem.js";
|
|
|
43
45
|
import { Tool } from "../tool.js";
|
|
44
46
|
import { ToolOutput } from "../tool-output.js";
|
|
45
47
|
import { WellKnown } from "../wellknown.js";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export type Requirements = ContextServices<Effect.Success<ReturnType<typeof services>>>;
|
|
50
|
-
export declare const requirements: LayerNode.Graph<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | Environment.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | Mcp.Service | Reference.Service | WebSearch.Service | Skill.Service | Tool.Service | Permission.Service | PluginRuntime.Service | ModelsDev.Service | LocationMutation.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Shell.Service | ShellSelect.Service | LocationWatcherPolicy.Service | InstructionDiscovery.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
48
|
+
declare const services: readonly [typeof Agent.Service, typeof AppProcess.Service, typeof Catalog.Service, typeof Command.Service, typeof Config.Service, typeof Credential.Service, typeof Bus.Service, typeof Environment.Service, typeof FileMutation.Service, typeof Formatter.Service, typeof LocationWatcherPolicy.Service, typeof FileSystem.Service, typeof FSUtil.Service, typeof Global.Service, Context.Service<HttpClient.HttpClient, HttpClient.HttpClient>, typeof Image.Service, typeof InstructionDiscovery.Service, typeof Integration.Service, typeof Job.Service, typeof KV.Service, typeof Location.Service, typeof LocationMutation.Service, typeof ModelsDev.Service, typeof Mcp.Service, typeof Npm.Service, typeof Permission.Service, typeof Form.Service, typeof ReadToolFileSystem.Service, typeof Reference.Service, typeof WebSearch.Service, typeof Ripgrep.Service, typeof Session.Service, typeof SessionCompaction.Service, typeof SessionInstructions.Service, typeof Shell.Service, typeof ShellSelect.Service, typeof Snapshot.Service, typeof Skill.Service, typeof SkillDiscovery.Service, typeof Tool.Service, typeof ToolOutput.Service, typeof Watcher.Service, typeof WellKnown.Service];
|
|
49
|
+
export type Requirements = Context.Service.Identifier<(typeof services)[number]>;
|
|
50
|
+
export declare const requirements: LayerNode.Graph<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Bus.Service | Location.Service | Agent.Service | Npm.Service | Credential.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | Environment.Service | FileMutation.Service | Ripgrep.Service | FileSystem.Service | Formatter.Service | Image.Service | ShellSelect.Service | Reference.Service | WebSearch.Service | Mcp.Service | ModelsDev.Service | LocationMutation.Service | Permission.Service | ReadToolFileSystem.Service | SessionInstructions.Service | Session.Service | Job.Service | Shell.Service | Skill.Service | LocationWatcherPolicy.Service | InstructionDiscovery.Service | SessionCompaction.Service | Snapshot.Service | SkillDiscovery.Service | Tool.Service | ToolOutput.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
51
51
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
52
52
|
export declare const list: () => Effect.Effect<{
|
|
53
53
|
pre: Plugin<Scope.Scope>[];
|
|
54
54
|
post: Plugin<Scope.Scope>[];
|
|
55
|
-
}, never,
|
|
55
|
+
}, never, Requirements>;
|
|
@@ -38,9 +38,8 @@ export declare const Updated: import("effect/Schema").Struct<{
|
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Holds the plugins an embedder (the `@opencode-ai/sdk` host) contributes,
|
|
41
|
-
* so
|
|
42
|
-
* generation path
|
|
43
|
-
* config. Registration publishes an unlocated update so every booted Location
|
|
41
|
+
* so the application loader can add them on every Location boot through its
|
|
42
|
+
* ordinary generation path. Registration publishes an unlocated update so every booted Location
|
|
44
43
|
* reloads its plugin generation from the shared store.
|
|
45
44
|
*
|
|
46
45
|
* Each host-global layer owns one private store. Location graphs reuse that
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
export * as PluginSupervisor from "./supervisor.js";
|
|
2
|
-
export { Service, type Interface } from "./supervisor-service.js";
|
|
3
2
|
import { Layer } from "effect";
|
|
4
3
|
import { ConfigPluginSource } from "../config/plugin/source.js";
|
|
5
|
-
import { Bus } from "../bus.js";
|
|
6
|
-
import { Npm } from "@opencode-ai/util/npm";
|
|
7
4
|
import { Plugin } from "../plugin.js";
|
|
8
5
|
import { InstancePlugins } from "./instance.js";
|
|
6
|
+
import { PluginInternal } from "./internal.js";
|
|
9
7
|
import { SdkPlugins } from "./sdk.js";
|
|
10
|
-
import { Service } from "./supervisor-service.js";
|
|
11
8
|
import { PluginUpdate } from "./update.js";
|
|
12
|
-
export declare const layer: Layer.Layer<
|
|
13
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<
|
|
9
|
+
export declare const layer: Layer.Layer<never, never, Plugin.Service | InstancePlugins.Service | SdkPlugins.Service | ConfigPluginSource.Service | PluginUpdate.Service | PluginInternal.Requirements>;
|
|
10
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<never, import("../persistent-pty/index.js").UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -2,10 +2,18 @@ export * as Plugin from "./plugin.js";
|
|
|
2
2
|
export { Event, ID, Info, Source, State } from "@opencode-ai/schema/plugin";
|
|
3
3
|
import { Plugin } from "@opencode-ai/schema/plugin";
|
|
4
4
|
import type { Plugin as PluginDefinition } from "@opencode-ai/plugin/effect/plugin";
|
|
5
|
-
import {
|
|
5
|
+
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
6
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
7
|
+
import type { PersistentPty } from "./persistent-pty.js";
|
|
8
|
+
import { Context, Effect, Exit } from "effect";
|
|
6
9
|
export interface Interface {
|
|
7
10
|
readonly activate: (plugins: readonly Generation[], failures?: readonly Failure[]) => Effect.Effect<void>;
|
|
8
11
|
readonly list: () => Effect.Effect<Plugin.Info[]>;
|
|
12
|
+
readonly close: (exit: Exit.Exit<unknown, unknown>) => Effect.Effect<void>;
|
|
13
|
+
/** Wait for announced updates and activation to settle; failures remain in the inventory. */
|
|
14
|
+
readonly awaitActivation: Effect.Effect<void>;
|
|
15
|
+
/** Keep readiness pending while preparing an update. Run the returned Effect to release it. */
|
|
16
|
+
readonly hold: () => Effect.Effect<Effect.Effect<void>>;
|
|
9
17
|
}
|
|
10
18
|
type Failure = Plugin.Info & {
|
|
11
19
|
readonly state: Extract<Plugin.State, {
|
|
@@ -20,4 +28,4 @@ export type Generation = PluginDefinition & {
|
|
|
20
28
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Plugin", Interface>;
|
|
21
29
|
export declare class Service extends Service_base {
|
|
22
30
|
}
|
|
23
|
-
export declare const node:
|
|
31
|
+
export declare const node: LayerNode.Provider<Service, PersistentPty.UnavailableError, typeof Node.tags.values.location>;
|
|
@@ -57,8 +57,6 @@ type Draft = {
|
|
|
57
57
|
};
|
|
58
58
|
export interface Interface extends State.Transformable<Draft> {
|
|
59
59
|
readonly list: () => Effect.Effect<Info[]>;
|
|
60
|
-
/** Schedules daily refresh checks in the Location scope without waiting for Git. */
|
|
61
|
-
readonly refresh: () => Effect.Effect<void>;
|
|
62
60
|
}
|
|
63
61
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Reference", Interface>;
|
|
64
62
|
export declare class Service extends Service_base {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * as SessionCommand from "./command.js";
|
|
2
|
+
import type { PromptInput } from "@opencode-ai/schema/prompt-input";
|
|
3
|
+
import type { Session } from "@opencode-ai/schema/session";
|
|
4
|
+
import type { SessionInbox } from "@opencode-ai/schema/session-inbox";
|
|
5
|
+
import { Effect } from "effect";
|
|
6
|
+
import { Command } from "../command.js";
|
|
7
|
+
import { Instance } from "../instance/service.js";
|
|
8
|
+
export declare const execute: (input: {
|
|
9
|
+
session: Session.Info;
|
|
10
|
+
command: string;
|
|
11
|
+
text: string;
|
|
12
|
+
files?: PromptInput.Prompt["files"];
|
|
13
|
+
agents?: PromptInput.Prompt["agents"];
|
|
14
|
+
skills?: PromptInput.Prompt["skills"];
|
|
15
|
+
delivery?: SessionInbox.Delivery;
|
|
16
|
+
}) => Effect.Effect<void, Command.NotFoundError | Command.ExecutionError, Instance.Service>;
|
|
@@ -44,5 +44,5 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionRest
|
|
|
44
44
|
*/
|
|
45
45
|
export declare class Service extends Service_base {
|
|
46
46
|
}
|
|
47
|
-
export declare const layer: (options?: Options) => Layer.Layer<Service, never, Bus.Service |
|
|
47
|
+
export declare const layer: (options?: Options) => Layer.Layer<Service, never, Bus.Service | Session.Service | Job.Service | SessionStore.Service | SessionExecution.Service>;
|
|
48
48
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
export * as SessionGenerate from "./generate.js";
|
|
2
|
-
import type
|
|
3
|
-
import {
|
|
2
|
+
import { type AIError } from "@opencode-ai/ai";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
import { Database } from "../database/database.js";
|
|
5
|
+
import { Instance } from "../instance/service.js";
|
|
4
6
|
import type { Instructions } from "../instructions/index.js";
|
|
5
7
|
import type { AgentNotFoundError } from "./error.js";
|
|
6
8
|
import type { SessionRunnerModel } from "./runner/model.js";
|
|
7
9
|
import type { SessionSchema } from "./schema.js";
|
|
8
10
|
export type Error = AgentNotFoundError | Instructions.InitializationBlocked | SessionRunnerModel.Error | AIError;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}) => Effect.Effect<string, Error>;
|
|
15
|
-
}
|
|
16
|
-
declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionGenerate", Interface>;
|
|
17
|
-
/** Location-scoped transient generation from Session context. */
|
|
18
|
-
export declare class Service extends Service_base {
|
|
19
|
-
}
|
|
11
|
+
/** Generates text from current Session context without mutating the Session. */
|
|
12
|
+
export declare const generate: (input: {
|
|
13
|
+
session: SessionSchema.Info;
|
|
14
|
+
prompt: string;
|
|
15
|
+
}) => Effect.Effect<string, AIError | SessionRunnerModel.Error | AgentNotFoundError | Instructions.InitializationBlocked, Database.Service | import("@opencode-ai/ai").LLMClientService | Instance.Service>;
|
|
@@ -13,4 +13,4 @@ export declare class Service extends Service_base {
|
|
|
13
13
|
}
|
|
14
14
|
export declare const makeLayer: (connector: WebSocketConnector) => Layer.Layer<Service, never, never>;
|
|
15
15
|
export declare const layer: Layer.Layer<Service, never, Socket.WebSocketConstructor>;
|
|
16
|
-
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"
|
|
16
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export * as SessionMove from "./move.js";
|
|
2
|
+
import type { Session } from "@opencode-ai/schema/session";
|
|
3
|
+
import type { SessionInbox } from "@opencode-ai/schema/session-inbox";
|
|
4
|
+
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
5
|
+
import { Global } from "@opencode-ai/util/global";
|
|
6
|
+
import { Cause, Effect, Schema } from "effect";
|
|
7
|
+
import { Location } from "../location.js";
|
|
8
|
+
import { LocationServiceMap } from "../location-service-map.js";
|
|
9
|
+
import { Project } from "../project.js";
|
|
10
|
+
import { AbsolutePath } from "../schema.js";
|
|
11
|
+
declare const DestinationNotFoundError_base: Schema.Class<DestinationNotFoundError, Schema.TaggedStruct<"Session.DestinationNotFoundError", {
|
|
12
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13
|
+
}>, Cause.YieldableError>;
|
|
14
|
+
export declare class DestinationNotFoundError extends DestinationNotFoundError_base {
|
|
15
|
+
}
|
|
16
|
+
declare const DestinationNotDirectoryError_base: Schema.Class<DestinationNotDirectoryError, Schema.TaggedStruct<"Session.DestinationNotDirectoryError", {
|
|
17
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
18
|
+
}>, Cause.YieldableError>;
|
|
19
|
+
export declare class DestinationNotDirectoryError extends DestinationNotDirectoryError_base {
|
|
20
|
+
}
|
|
21
|
+
declare const DestinationUnavailableError_base: Schema.Class<DestinationUnavailableError, Schema.TaggedStruct<"Session.DestinationUnavailableError", {
|
|
22
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
23
|
+
}>, Cause.YieldableError>;
|
|
24
|
+
export declare class DestinationUnavailableError extends DestinationUnavailableError_base {
|
|
25
|
+
}
|
|
26
|
+
export declare const prepare: (input: {
|
|
27
|
+
session: Session.Info;
|
|
28
|
+
directory: AbsolutePath;
|
|
29
|
+
workspaceID?: Location.Ref["workspaceID"];
|
|
30
|
+
}) => Effect.Effect<SessionInbox.MovePayload, DestinationNotFoundError | DestinationNotDirectoryError | DestinationUnavailableError, Global.Service | FSUtil.Service | Project.Service | LocationServiceMap.Service>;
|