@opencode/core 0.0.0-dev-19907 → 0.0.0-dev-19908
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{kv-8e1b1gzh.js → location-service-map-0fn2v7vk.js} +6 -6
- package/dist/chunks/{kv-rph3zd4r.js → location-service-map-0ft9cg2j.js} +4 -4
- package/dist/chunks/{kv-y35sf2j4.js → location-service-map-0m0tvs7x.js} +4 -4
- package/dist/chunks/{kv-9tjqbk6w.js → location-service-map-0mkceren.js} +18 -18
- package/dist/chunks/{kv-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-7wss1nf1.js → location-service-map-0pvf7m16.js} +10 -10
- package/dist/chunks/{kv-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-ahd542yp.js → location-service-map-0t9wd588.js} +8 -8
- package/dist/chunks/{kv-aqsyctv9.js → location-service-map-0yxeee59.js} +20 -20
- package/dist/chunks/{kv-g1sxm558.js → location-service-map-166kng33.js} +8 -8
- package/dist/chunks/{kv-fy1ja343.js → location-service-map-1a5fqs30.js} +13 -13
- package/dist/chunks/{kv-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-yb9ap035.js → location-service-map-1tm87m4q.js} +32 -32
- package/dist/chunks/{kv-w7rmyftk.js → location-service-map-1v655e7m.js} +30 -30
- package/dist/chunks/{kv-6xyh1qs0.js → location-service-map-1w6r18a3.js} +9 -9
- package/dist/chunks/{kv-56gdpj1q.js → location-service-map-1ygqh575.js} +9 -9
- package/dist/chunks/{kv-77m3t2wx.js → location-service-map-1z27hz33.js} +47 -47
- package/dist/chunks/{kv-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/location-service-map-25wt5q19.js +26 -0
- package/dist/chunks/{kv-e4hqgfv0.js → location-service-map-27npcnq6.js} +43 -43
- package/dist/chunks/{kv-8a2a668f.js → location-service-map-2938t71n.js} +86 -86
- package/dist/chunks/{kv-93abf8q0.js → location-service-map-2a4ngzra.js} +13 -13
- package/dist/chunks/{kv-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-tzgparrc.js → location-service-map-2b1sk39h.js} +15 -15
- package/dist/chunks/{kv-919gtm5z.js → location-service-map-2e38sqrt.js} +31 -31
- package/dist/chunks/{kv-dffckn3e.js → location-service-map-2f0ps26r.js} +3 -3
- package/dist/chunks/{kv-57ez7d0k.js → location-service-map-2fgn2we9.js} +9 -9
- package/dist/chunks/{kv-pp0dfqj5.js → location-service-map-2km99av1.js} +26 -26
- package/dist/chunks/{kv-0fqaqex5.js → location-service-map-2n3788zq.js} +11 -11
- package/dist/chunks/{kv-cq37gk0t.js → location-service-map-2tfmgkzg.js} +4 -4
- package/dist/chunks/{kv-5vffz15w.js → location-service-map-2v82530a.js} +27 -27
- package/dist/chunks/{kv-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-wyr01bxk.js → location-service-map-3y1j0a2h.js} +4 -4
- package/dist/chunks/{kv-9qvzpxxy.js → location-service-map-3zjkz1b2.js} +17 -17
- package/dist/chunks/{kv-ashm2j11.js → location-service-map-4bhjphkk.js} +9 -9
- package/dist/chunks/{kv-6mh7prgr.js → location-service-map-4cxhm7bv.js} +21 -21
- package/dist/chunks/{kv-g747632r.js → location-service-map-4jhxmthm.js} +88 -88
- package/dist/chunks/{kv-jbzpcekb.js → location-service-map-4m7whkwr.js} +8 -8
- package/dist/chunks/{kv-b8f0wakq.js → location-service-map-4ppc3h9w.js} +23 -23
- package/dist/chunks/{kv-njp6mvbt.js → location-service-map-4q8wsteh.js} +21 -21
- package/dist/chunks/{kv-n9vz2vnq.js → location-service-map-4xwtynpb.js} +23 -23
- package/dist/chunks/{kv-1tccbkrd.js → location-service-map-4y1a8txt.js} +4 -4
- package/dist/chunks/{kv-zp4teyv5.js → location-service-map-51tvzc68.js} +5 -5
- package/dist/chunks/{kv-vjm9dhs9.js → location-service-map-5bxs6rtb.js} +2 -2
- package/dist/chunks/{kv-a1bz86dw.js → location-service-map-5c4hm403.js} +3 -3
- package/dist/chunks/{kv-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-rhhhr77m.js → location-service-map-5egg5sww.js} +3 -3
- package/dist/chunks/{kv-808gkvxk.js → location-service-map-5kfdkwnt.js} +10 -10
- package/dist/chunks/{kv-kbzrpwq7.js → location-service-map-5r3df9a0.js} +6 -6
- package/dist/chunks/{kv-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-f2dsw8mf.js → location-service-map-5wrvcd50.js} +30 -30
- package/dist/chunks/{kv-4cfsjg75.js → location-service-map-5xerxp25.js} +8 -8
- package/dist/chunks/{kv-4541pte3.js → location-service-map-5yeq06a0.js} +8 -8
- package/dist/chunks/{kv-xhe70vcs.js → location-service-map-65m45y7f.js} +30 -30
- package/dist/chunks/{kv-w1scyf0k.js → location-service-map-662skhf0.js} +20 -20
- package/dist/chunks/{kv-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{kv-4n03ym89.js → location-service-map-66px8fgb.js} +10 -10
- package/dist/chunks/{kv-nydpgk7k.js → location-service-map-67e2aj6a.js} +12 -12
- package/dist/chunks/{kv-9hxm561b.js → location-service-map-6836s78k.js} +11 -11
- package/dist/chunks/{kv-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
- package/dist/chunks/{kv-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/location-service-map-6pjjxh9g.js +492 -0
- package/dist/chunks/{kv-kwrxvtcv.js → location-service-map-6qn23cec.js} +3 -3
- package/dist/chunks/{kv-ve29h0n2.js → location-service-map-772npm7s.js} +40 -40
- package/dist/chunks/{kv-x0630geq.js → location-service-map-78tqsgcn.js} +41 -41
- package/dist/chunks/{kv-4v1cknsg.js → location-service-map-7b4eysef.js} +20 -20
- package/dist/chunks/{kv-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-97tp0f8d.js → location-service-map-7ph5r14r.js} +10 -10
- package/dist/chunks/{kv-4dx8w9dh.js → location-service-map-83bwd35t.js} +10 -10
- package/dist/chunks/{kv-4b538nbs.js → location-service-map-8a9xw8ry.js} +13 -13
- package/dist/chunks/{kv-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-6nst04g6.js → location-service-map-8hyye2v9.js} +19 -19
- package/dist/chunks/{kv-6yf8tcbm.js → location-service-map-8jb42n3c.js} +23 -23
- package/dist/chunks/{kv-q9n6grkv.js → location-service-map-8pen1rfb.js} +9 -9
- package/dist/chunks/{kv-mapfqya8.js → location-service-map-8pxjqnah.js} +11 -11
- package/dist/chunks/{kv-19dtv92t.js → location-service-map-8r1shvjs.js} +4 -4
- package/dist/chunks/{kv-tm7zr4pr.js → location-service-map-8s8mxddj.js} +4 -4
- package/dist/chunks/{kv-j1ahn6pb.js → location-service-map-90zzpcmb.js} +5 -5
- package/dist/chunks/{kv-aj1a57b6.js → location-service-map-9180s51j.js} +6 -6
- package/dist/chunks/{kv-b0grxa7w.js → location-service-map-92azg307.js} +5 -5
- package/dist/chunks/{kv-6vryn14y.js → location-service-map-98b0h016.js} +10 -10
- package/dist/chunks/{kv-4dgbcxzg.js → location-service-map-9a1vbzsf.js} +4 -4
- package/dist/chunks/{kv-f0tymj53.js → location-service-map-9gn5b0q7.js} +32 -32
- package/dist/chunks/{kv-br0tr5aq.js → location-service-map-9hn6k4tm.js} +8 -8
- package/dist/chunks/{kv-1rtba0ev.js → location-service-map-9v0tnpfd.js} +36 -36
- package/dist/chunks/{kv-x0at2frt.js → location-service-map-9vnf7qt0.js} +32 -32
- package/dist/chunks/{kv-vyqmyn2m.js → location-service-map-9wtk3fb8.js} +7 -7
- package/dist/chunks/{kv-3cfzdc8e.js → location-service-map-9xvq3m7s.js} +5 -5
- package/dist/chunks/{kv-kshmvdv5.js → location-service-map-a4vpawzh.js} +181 -181
- package/dist/chunks/{kv-my9ddvxt.js → location-service-map-a5t0p1z6.js} +17 -17
- package/dist/chunks/{kv-xsgk3b13.js → location-service-map-a881zpfh.js} +9 -9
- package/dist/chunks/{kv-de4rjsqn.js → location-service-map-a8efdyvq.js} +4 -4
- package/dist/chunks/{kv-wm6zn5ab.js → location-service-map-a90nz60e.js} +22 -22
- package/dist/chunks/{kv-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-5f90fjb2.js → location-service-map-ab8cnxkj.js} +12 -12
- package/dist/chunks/{kv-j3e56896.js → location-service-map-ag26xfby.js} +23 -23
- package/dist/chunks/{kv-0ddj7dze.js → location-service-map-army0fs2.js} +15 -15
- package/dist/chunks/{kv-wp1ydzdp.js → location-service-map-awxzb73g.js} +11 -11
- package/dist/chunks/{kv-dxcqkya1.js → location-service-map-b4x0msg6.js} +9 -9
- package/dist/chunks/{kv-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-vtyb1r89.js → location-service-map-b6jkr1zz.js} +13 -13
- package/dist/chunks/{kv-zqnfafzk.js → location-service-map-b9ez143t.js} +51 -51
- package/dist/chunks/{kv-9xvxgvc5.js → location-service-map-bbfzv23w.js} +70 -70
- package/dist/chunks/{kv-rxwv643q.js → location-service-map-bn6tr5ps.js} +8 -8
- package/dist/chunks/{kv-016ep8ha.js → location-service-map-bxtw2qk2.js} +17 -17
- package/dist/chunks/{kv-x9zgmvtg.js → location-service-map-bypa996g.js} +11 -11
- package/dist/chunks/{kv-f3ngv102.js → location-service-map-cavr175a.js} +4 -4
- package/dist/chunks/{kv-jkpxpvxj.js → location-service-map-ckp5ab6w.js} +24 -24
- package/dist/chunks/{kv-ewz8hxgf.js → location-service-map-ckyt0zc1.js} +16 -16
- package/dist/chunks/{kv-myfx93p4.js → location-service-map-cnhy75xp.js} +10 -10
- package/dist/chunks/{kv-08wdka6n.js → location-service-map-d0g4z7q4.js} +5 -5
- package/dist/chunks/{kv-3pbjq009.js → location-service-map-d1x6gan2.js} +8 -8
- package/dist/chunks/{kv-f3j7av9a.js → location-service-map-ddbqavaz.js} +11 -11
- package/dist/chunks/{kv-n4r3xatb.js → location-service-map-ddt2bs9e.js} +4 -4
- package/dist/chunks/{kv-mzj4wz6x.js → location-service-map-de260zrm.js} +35 -35
- package/dist/chunks/{kv-dk01hgmk.js → location-service-map-dexmpbfg.js} +11 -11
- package/dist/chunks/{kv-8p4f9s12.js → location-service-map-dj2t23y0.js} +2 -2
- package/dist/chunks/{kv-d4he2qe1.js → location-service-map-djszqvmq.js} +9 -9
- package/dist/chunks/{kv-x29hkr4n.js → location-service-map-dn8dshff.js} +31 -31
- package/dist/chunks/{kv-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-xfkkasph.js → location-service-map-drwq78ky.js} +4 -4
- package/dist/chunks/{kv-0z7hq4tf.js → location-service-map-dtcnxq3d.js} +10 -10
- package/dist/chunks/{kv-qb1zrn96.js → location-service-map-dy5qaydb.js} +16 -16
- package/dist/chunks/{kv-4naj7qfz.js → location-service-map-e4a7h3de.js} +30 -30
- package/dist/chunks/{kv-rhjbct0v.js → location-service-map-eaj1djv9.js} +8 -8
- package/dist/chunks/{kv-bp7012b3.js → location-service-map-ebs875ns.js} +4 -4
- package/dist/chunks/{kv-4awvxcz6.js → location-service-map-eewwnnjm.js} +4 -4
- package/dist/chunks/{kv-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-2k6mwc23.js → location-service-map-emrt4k6z.js} +18 -18
- package/dist/chunks/{kv-t55k3kbq.js → location-service-map-ep7z2cty.js} +7 -7
- package/dist/chunks/{kv-qn4ba14w.js → location-service-map-eq23s0y6.js} +5 -5
- package/dist/chunks/{kv-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
- package/dist/chunks/{kv-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-9wjafgec.js → location-service-map-f5vqjzqv.js} +23 -23
- package/dist/chunks/{kv-9bx54yxd.js → location-service-map-f6dgbcmr.js} +15 -15
- package/dist/chunks/{kv-d2fz9sen.js → location-service-map-f98t382m.js} +27 -27
- package/dist/chunks/{kv-hrp273hz.js → location-service-map-fdwj3bfj.js} +20 -20
- package/dist/chunks/{kv-rsey8z00.js → location-service-map-fhk237js.js} +41 -41
- package/dist/chunks/{kv-k9kj6xed.js → location-service-map-fkjmw100.js} +2 -2
- package/dist/chunks/{kv-s07c02gx.js → location-service-map-fmyban77.js} +12 -12
- package/dist/chunks/{kv-pqgb7b4t.js → location-service-map-fv22qhf7.js} +11 -11
- package/dist/chunks/{kv-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-y3p89ykt.js → location-service-map-fzb7pnb3.js} +37 -37
- package/dist/chunks/{kv-6hh8tjw2.js → location-service-map-g8d3gcyj.js} +7 -7
- package/dist/chunks/{kv-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-7hkdhk4z.js → location-service-map-gkejymts.js} +4 -4
- package/dist/chunks/{kv-3cw6v8y2.js → location-service-map-gkxbbwdq.js} +18 -18
- package/dist/chunks/{kv-sh7r9bsv.js → location-service-map-gp68ydnh.js} +8 -8
- package/dist/chunks/{kv-mssxwj52.js → location-service-map-gtsscnck.js} +9 -9
- package/dist/chunks/{kv-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-g4e84e49.js → location-service-map-gx2b53vf.js} +20 -20
- package/dist/chunks/{kv-6x0z541j.js → location-service-map-gxnxecbq.js} +28 -28
- package/dist/chunks/{kv-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-f828m53h.js → location-service-map-hdnk95c8.js} +2 -2
- package/dist/chunks/{kv-zjt4jcqn.js → location-service-map-hfeprhdn.js} +13 -13
- package/dist/chunks/{kv-dzz7qjnq.js → location-service-map-hk3dpda4.js} +44 -44
- package/dist/chunks/{kv-ky3seynh.js → location-service-map-hkagk5ex.js} +2 -2
- package/dist/chunks/{kv-pecb0brz.js → location-service-map-hkfg6fzm.js} +5 -5
- package/dist/chunks/{kv-m0dxmj7c.js → location-service-map-hs63n349.js} +32 -32
- package/dist/chunks/{kv-e26ccrgm.js → location-service-map-hsvnfevx.js} +10 -10
- package/dist/chunks/{kv-0hf0dvjg.js → location-service-map-htx28xdf.js} +4 -4
- package/dist/chunks/{kv-vh914xz4.js → location-service-map-hzbz7kx4.js} +35 -35
- package/dist/chunks/{kv-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-9webdbhq.js → location-service-map-j7jx6nts.js} +11 -11
- package/dist/chunks/{kv-wxffcvth.js → location-service-map-jemfgm91.js} +3 -3
- package/dist/chunks/{kv-2p22j845.js → location-service-map-jqx27dm3.js} +12 -12
- package/dist/chunks/{kv-rpn5wm0z.js → location-service-map-jrxej8cd.js} +19 -19
- package/dist/chunks/{kv-rgp3k4qr.js → location-service-map-k188wcvq.js} +14 -14
- package/dist/chunks/{kv-c5mwbj6c.js → location-service-map-k9ab4ktd.js} +11 -11
- package/dist/chunks/{kv-6sr2wt01.js → location-service-map-kp1afcxm.js} +25 -25
- package/dist/chunks/{kv-th6y9wvc.js → location-service-map-m012ar2z.js} +3 -3
- package/dist/chunks/{kv-cfpkc3c9.js → location-service-map-m0jqrx5p.js} +2 -2
- package/dist/chunks/{kv-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-8t49j30y.js → location-service-map-m4z85945.js} +10 -10
- package/dist/chunks/{kv-efr2tgeg.js → location-service-map-m5xhdgb9.js} +24 -24
- package/dist/chunks/{kv-t04zpnyz.js → location-service-map-m6ry2d28.js} +14 -14
- package/dist/chunks/{kv-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-73tb2d7t.js → location-service-map-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-3mafyhn8.js → location-service-map-mtq5sw6w.js} +1 -1
- package/dist/chunks/{kv-k32r7ds6.js → location-service-map-mv76532y.js} +28 -28
- package/dist/chunks/{kv-2xrdc5fd.js → location-service-map-n98zs5sd.js} +15 -15
- package/dist/chunks/{kv-xxynqx5z.js → location-service-map-ndmv45hp.js} +3 -3
- package/dist/chunks/{kv-4n5ys5m2.js → location-service-map-nhnj3r8x.js} +6 -6
- package/dist/chunks/{kv-hjsn6sfw.js → location-service-map-nn0rafdk.js} +25 -25
- package/dist/chunks/{kv-2r0az32q.js → location-service-map-nx2c145c.js} +24 -24
- package/dist/chunks/{kv-k3c624dm.js → location-service-map-nzks3jc8.js} +3 -3
- package/dist/chunks/{kv-p28j5sbe.js → location-service-map-p28j5sbe.js} +2 -2
- package/dist/chunks/{kv-jkwpts30.js → location-service-map-p3mw2y19.js} +24 -24
- package/dist/chunks/{kv-2veksrsx.js → location-service-map-p5qkcp8b.js} +38 -38
- package/dist/chunks/{kv-ycjb11n5.js → location-service-map-p7a39gy5.js} +6 -6
- package/dist/chunks/{kv-msq0jde0.js → location-service-map-paegk39x.js} +4 -4
- package/dist/chunks/{kv-t0bzk6ff.js → location-service-map-pbw8g0bs.js} +23 -23
- package/dist/chunks/location-service-map-pf31ssb9.js +18 -0
- package/dist/chunks/{kv-85q4b28w.js → location-service-map-pfca1pfz.js} +16 -16
- package/dist/chunks/{kv-3ewed21c.js → location-service-map-ph842b28.js} +4 -4
- package/dist/chunks/{kv-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{kv-m2d0j7c0.js → location-service-map-pnv527nz.js} +9 -9
- package/dist/chunks/{kv-2k8khapm.js → location-service-map-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-8kcfv5zz.js → location-service-map-qh9dpbry.js} +24 -24
- package/dist/chunks/{kv-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-npxf5m1z.js → location-service-map-qtq0xewc.js} +17 -17
- package/dist/chunks/{kv-wgsyg5rr.js → location-service-map-qwfgmsy8.js} +32 -32
- package/dist/chunks/{kv-gg8fxa1q.js → location-service-map-r33kyee3.js} +17 -17
- package/dist/chunks/{kv-byx5yvga.js → location-service-map-r3fe1xjf.js} +9 -9
- package/dist/chunks/{kv-8fegk1m2.js → location-service-map-r40g9bwm.js} +20 -20
- package/dist/chunks/{kv-bybnc9qs.js → location-service-map-r6apnabc.js} +15 -15
- package/dist/chunks/{kv-a03sfate.js → location-service-map-r8z66xh6.js} +26 -26
- package/dist/chunks/{kv-a3ftg8j6.js → location-service-map-r9w3djhf.js} +9 -9
- package/dist/chunks/{kv-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-5crkfdp0.js → location-service-map-rew2pe94.js} +3 -3
- package/dist/chunks/{kv-yjxthy7s.js → location-service-map-rx6jh09a.js} +5 -5
- package/dist/chunks/{kv-b0hm95gt.js → location-service-map-s7rj0mx9.js} +24 -24
- package/dist/chunks/{kv-e5y87xzk.js → location-service-map-s9zgft08.js} +11 -11
- package/dist/chunks/{kv-w9c8km42.js → location-service-map-sd2d2cgh.js} +32 -32
- package/dist/chunks/{kv-cr7ytev5.js → location-service-map-t847fcsw.js} +18 -18
- package/dist/chunks/{kv-wmw6ek1w.js → location-service-map-t9sq69f9.js} +29 -29
- package/dist/chunks/{kv-t9zs3egg.js → location-service-map-t9zs3egg.js} +1 -1
- package/dist/chunks/{kv-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-pstg3rfm.js → location-service-map-tcg29b4q.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{kv-a1r514te.js → location-service-map-trhnmn1e.js} +47 -47
- package/dist/chunks/{kv-5t63jafw.js → location-service-map-tt8pxjfh.js} +1 -1
- package/dist/chunks/{kv-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-54wxpgsv.js → location-service-map-v0nht15a.js} +39 -39
- package/dist/chunks/{kv-vkmz3hqs.js → location-service-map-v3h1wcwh.js} +6 -6
- package/dist/chunks/{kv-9dr7mpfx.js → location-service-map-v3vvdts4.js} +8 -8
- package/dist/chunks/{kv-fb54x766.js → location-service-map-v74dqahz.js} +9 -9
- package/dist/chunks/{kv-jk51gpb2.js → location-service-map-vd14z2yv.js} +15 -15
- package/dist/chunks/{kv-k3gwtfvd.js → location-service-map-ve8rn4r1.js} +17 -17
- package/dist/chunks/{kv-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/location-service-map-vj32h5cd.js +252 -0
- package/dist/chunks/{kv-gmy3q4b3.js → location-service-map-vk9pbctf.js} +30 -30
- package/dist/chunks/{kv-d383cjmk.js → location-service-map-vkt5fbj2.js} +8 -8
- package/dist/chunks/{kv-c9e5e4rd.js → location-service-map-vq6a6twd.js} +25 -25
- package/dist/chunks/{kv-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-rtd6da40.js → location-service-map-wawr6n1a.js} +12 -12
- package/dist/chunks/{kv-gjq744zp.js → location-service-map-wby7c117.js} +5 -5
- package/dist/chunks/{kv-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{kv-9d65yh5s.js → location-service-map-whtzs7pp.js} +23 -23
- package/dist/chunks/{kv-rrdj9wge.js → location-service-map-wkegjedf.js} +5 -5
- package/dist/chunks/{kv-rta7htmp.js → location-service-map-wpe4t8d6.js} +6 -6
- package/dist/chunks/{kv-kfev65qz.js → location-service-map-wqc4f3p6.js} +13 -13
- package/dist/chunks/{kv-edaf7xb4.js → location-service-map-wtf9a8xg.js} +11 -11
- package/dist/chunks/{kv-x2d9qy7d.js → location-service-map-wvgd2jmw.js} +5 -5
- package/dist/chunks/{kv-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-q1a7cndp.js → location-service-map-x1xcpfha.js} +13 -13
- package/dist/chunks/{kv-pfgc5rcf.js → location-service-map-x6cf67we.js} +52 -52
- package/dist/chunks/{kv-femdt96g.js → location-service-map-xam4be5c.js} +24 -24
- package/dist/chunks/{kv-83b0q66e.js → location-service-map-xmhy1khr.js} +5 -5
- package/dist/chunks/{kv-dpmb0kg5.js → location-service-map-xp4st0zd.js} +8 -8
- package/dist/chunks/{kv-1z026b3c.js → location-service-map-xpqdzpnq.js} +15 -15
- package/dist/chunks/location-service-map-xrsqh21y.js +4 -0
- package/dist/chunks/{kv-h0aaaj7p.js → location-service-map-xt2qmbhx.js} +39 -39
- package/dist/chunks/{kv-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-q3q42tc8.js → location-service-map-y2f1nv48.js} +27 -27
- package/dist/chunks/{kv-zsj0ykwj.js → location-service-map-y38r0g18.js} +6 -6
- package/dist/chunks/{kv-6rfqve99.js → location-service-map-y3a3cvm4.js} +32 -32
- package/dist/chunks/{kv-gdyz9gdm.js → location-service-map-y642n9b2.js} +22 -22
- package/dist/chunks/{kv-wsrrqgyf.js → location-service-map-y6h6zkea.js} +16 -16
- package/dist/chunks/{kv-b3284ayf.js → location-service-map-y87t9fp6.js} +22 -22
- package/dist/chunks/{kv-s00wyagk.js → location-service-map-yfdxd69c.js} +5 -5
- package/dist/chunks/{kv-tw359zch.js → location-service-map-ykw8m083.js} +18 -18
- package/dist/chunks/{kv-r8xr0va3.js → location-service-map-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-7jrfdjdk.js → location-service-map-yqm635vm.js} +15 -15
- package/dist/chunks/{kv-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-8fg2zjqr.js → location-service-map-yt1n8wq9.js} +44 -44
- package/dist/chunks/{kv-fw706sg4.js → location-service-map-yxtrr34x.js} +22 -22
- package/dist/chunks/{kv-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-0tzksh12.js → location-service-map-z76vp15m.js} +6 -6
- package/dist/chunks/{kv-a5vppn9j.js → location-service-map-z8z94c7r.js} +18 -18
- package/dist/chunks/{kv-pzczrn70.js → location-service-map-zar9kkhf.js} +23 -23
- package/dist/chunks/{kv-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-fmgv7yrr.js → location-service-map-ztwwngdb.js} +8 -8
- package/dist/chunks/{kv-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +98 -98
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/kv-1x11rq2a.js +0 -18
- package/dist/chunks/kv-984n0kj7.js +0 -252
- package/dist/chunks/kv-hcqhcc5z.js +0 -492
- package/dist/chunks/kv-qapv375x.js +0 -4
- package/dist/chunks/kv-r6qhc6jy.js +0 -26
- /package/dist/chunks/{kv-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./location-service-map-hk3dpda4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin6,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin6 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service45;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin48 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin6, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info7,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info7 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info7, exports_provider2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-htx28xdf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
|
|
|
26
26
|
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options8,
|
|
30
|
+
Service: () => Service49,
|
|
31
|
+
configured: () => configured7,
|
|
32
|
+
layer: () => layer21,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
45
|
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options8 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer21 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -74,7 +74,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
74
74
|
}),
|
|
75
75
|
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service49.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured7(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service49,
|
|
110
|
+
layer: layer21(options),
|
|
111
111
|
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node51 = configured7();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2, Event8,
|
|
145
|
+
export { File2, Event8, Options8, Service49, layer21, configured7, node51, exports_instruction_discovery };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-htx28xdf.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./location-service-map-dy5qaydb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service19 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node86, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service19, node22, exports_rpc, define2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node48
|
|
4
|
+
} from "./location-service-map-0yxeee59.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-service-map-dy5qaydb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node47
|
|
12
|
+
} from "./location-service-map-hk3dpda4.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service11,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node13
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service11 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service45;
|
|
40
|
+
const watcher = yield* Service46;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service11.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node13 = makeLocationNode({
|
|
74
|
+
service: Service11,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node47, FSUtil.node, node48, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service11,
|
|
80
|
+
layer: Layer.succeed(Service11, Service11.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service11, layer6, node13, empty2, exports_source };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-htx28xdf.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./location-service-map-dy5qaydb.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info24,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service63,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node66
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info24, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service63 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info24));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service63.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node66 = makeLocationNode({
|
|
168
|
+
service: Service63,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node82, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info24, Mode2, DiffError2, Service63, node66, exports_vcs };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-service-map-4cxhm7bv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service56
|
|
8
|
+
} from "./location-service-map-1tm87m4q.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./location-service-map-hk3dpda4.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ndmv45hp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service40
|
|
18
|
+
} from "./location-service-map-bxtw2qk2.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./location-service-map-1z27hz33.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service20
|
|
25
|
+
} from "./location-service-map-4jhxmthm.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./location-service-map-6836s78k.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description4,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin22 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service20;
|
|
93
|
+
const jobs = yield* Service40;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service45;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service56;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin12 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description4,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin12 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin12 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name5];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name5, Input5, Output4, description4, Plugin22, exports_subagent };
|