@opencode/core 0.0.0-dev-19629 → 0.0.0-dev-19631
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{kv-8syrtys8.js → location-01mcbsxa.js} +22 -22
- package/dist/chunks/{kv-rpjgfq5s.js → location-02khppbe.js} +8 -8
- package/dist/chunks/{kv-f73rjn58.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{kv-f8xn5mp1.js → location-074pt63z.js} +15 -15
- package/dist/chunks/{kv-3fehqr8e.js → location-0c5388rw.js} +310 -310
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{kv-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-v712pcm8.js → location-0twsnrm2.js} +8 -8
- package/dist/chunks/{kv-eqsf0vrq.js → location-11cks9p9.js} +16 -16
- package/dist/chunks/{kv-s30dnwqx.js → location-13yde72h.js} +32 -32
- package/dist/chunks/{kv-34vv8vke.js → location-156aka68.js} +29 -29
- package/dist/chunks/{kv-rmjmtd11.js → location-15tm9q3z.js} +10 -10
- package/dist/chunks/{kv-5yzzbxa7.js → location-1ajx6rf5.js} +8 -8
- package/dist/chunks/{kv-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-s5smtsjm.js → location-1fm22rx7.js} +44 -44
- package/dist/chunks/{kv-kywwpdnb.js → location-1gqsytf7.js} +22 -22
- package/dist/chunks/{kv-nqnxh7mc.js → location-1nzs1dt7.js} +6 -6
- package/dist/chunks/{kv-pdmffqas.js → location-1z8e5f7y.js} +16 -16
- package/dist/chunks/{kv-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-nbrmnvm6.js → location-2aqjzvxw.js} +24 -24
- package/dist/chunks/{kv-g9sd7rfb.js → location-2d47syzh.js} +6 -6
- package/dist/chunks/{kv-ahd542yp.js → location-2hr5nhwa.js} +8 -8
- package/dist/chunks/{kv-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{kv-0kxjg0q6.js → location-2m31qgzj.js} +4 -4
- package/dist/chunks/{kv-1dd4vm50.js → location-2m8nb1h0.js} +85 -85
- package/dist/chunks/{kv-t2e73jsf.js → location-2pavbj2f.js} +4 -4
- package/dist/chunks/{kv-a8bn8zg0.js → location-2pnhn36q.js} +21 -21
- package/dist/chunks/{kv-w8ts9jr1.js → location-323n19w4.js} +24 -24
- package/dist/chunks/{kv-1cy0dveg.js → location-32qx2cqk.js} +11 -11
- package/dist/chunks/{kv-30846h32.js → location-37ea9c2d.js} +8 -8
- package/dist/chunks/{kv-2qzhajv7.js → location-3bg215ag.js} +27 -27
- package/dist/chunks/{kv-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-9f8ak43h.js → location-3hk432b6.js} +46 -46
- package/dist/chunks/{kv-8kqwd5pg.js → location-3kara66y.js} +15 -15
- package/dist/chunks/{kv-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-5v79k2nc.js → location-3xa758da.js} +3 -3
- package/dist/chunks/{kv-e82z9tr0.js → location-47gsdddb.js} +4 -4
- package/dist/chunks/{kv-0jdwemc3.js → location-4q2gvvft.js} +5 -5
- package/dist/chunks/{kv-sjf3tctt.js → location-4y72ap3v.js} +12 -12
- package/dist/chunks/{kv-7qqyjhvb.js → location-5008mk82.js} +15 -15
- package/dist/chunks/{kv-95g476w1.js → location-50hhjvx3.js} +4 -4
- package/dist/chunks/{kv-eq23s0y6.js → location-510m7gjw.js} +5 -5
- package/dist/chunks/{kv-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{kv-g2y161wv.js → location-57e9z27j.js} +8 -8
- package/dist/chunks/{kv-81swgkk7.js → location-57ez7d0k.js} +7 -7
- package/dist/chunks/{kv-30jdby9k.js → location-5bd7vy8t.js} +36 -36
- package/dist/chunks/{kv-4hrje9fh.js → location-5d530p9y.js} +25 -25
- package/dist/chunks/{kv-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-63zbbs1j.js → location-5dx64r44.js} +11 -11
- package/dist/chunks/{kv-zanxcczd.js → location-5hbjas2j.js} +5 -5
- package/dist/chunks/{kv-k9x9pwcp.js → location-5krmfrm4.js} +3 -3
- package/dist/chunks/{kv-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-6tpe83gt.js → location-5xjbzt31.js} +24 -24
- package/dist/chunks/{kv-90ymhmgy.js → location-617xwdkc.js} +4 -4
- package/dist/chunks/{kv-c3zqkckj.js → location-61nnwajg.js} +20 -20
- package/dist/chunks/location-64ezs4vy.js +247 -0
- package/dist/chunks/{kv-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{kv-1nwxscpy.js → location-66r9f6z1.js} +5 -5
- package/dist/chunks/{kv-ddaa640a.js → location-68wv0erp.js} +47 -47
- package/dist/chunks/{kv-rhzsrfv2.js → location-6cadhda4.js} +17 -17
- package/dist/chunks/{kv-y4naaajn.js → location-6fnbs7de.js} +11 -11
- package/dist/chunks/{kv-2402vzrj.js → location-6h73sxmp.js} +5 -5
- package/dist/chunks/{kv-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-ztawzxhp.js → location-6r3wktb6.js} +5 -5
- package/dist/chunks/{kv-vy06sfs5.js → location-6r7kkwrh.js} +15 -15
- package/dist/chunks/{kv-8b82hca9.js → location-6t7vpv8v.js} +28 -28
- package/dist/chunks/{kv-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-pe51b52v.js → location-7ctrm1dc.js} +24 -24
- package/dist/chunks/{kv-7ncyt31b.js → location-7jyz8t5r.js} +29 -29
- package/dist/chunks/{kv-a5wfw340.js → location-7pa101rz.js} +41 -41
- package/dist/chunks/{kv-x3z5bnde.js → location-7rfg73ak.js} +4 -4
- package/dist/chunks/{kv-mnbh32fx.js → location-87deq66t.js} +6 -6
- package/dist/chunks/{kv-cw8kd3he.js → location-89g9pdqq.js} +5 -5
- package/dist/chunks/{kv-tcezcvh9.js → location-89znhe33.js} +4 -4
- package/dist/chunks/{kv-7w0zh5tk.js → location-8a1axwae.js} +3 -3
- package/dist/chunks/{kv-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-m0f726mn.js → location-8n5wyrft.js} +23 -23
- package/dist/chunks/{kv-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-1hepnvy6.js → location-8vehx84x.js} +14 -14
- package/dist/chunks/{kv-4m9ebp8q.js → location-8vvc7kdn.js} +12 -12
- package/dist/chunks/{kv-zs5x0rfp.js → location-8y6m80vy.js} +5 -5
- package/dist/chunks/{kv-xrz9vnwt.js → location-9vhxz3jd.js} +63 -63
- package/dist/chunks/{kv-h5y9zjhm.js → location-9y4jm800.js} +26 -26
- package/dist/chunks/{kv-e9cyw18g.js → location-a1254jaz.js} +37 -37
- package/dist/chunks/{kv-2czm2xf1.js → location-a1788f7w.js} +26 -26
- package/dist/chunks/{kv-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-6hjx5zpb.js → location-a3ftg8j6.js} +9 -9
- package/dist/chunks/{kv-1gjp40nv.js → location-a5dv1fsr.js} +30 -30
- package/dist/chunks/{kv-4nd1vhcc.js → location-a7bb2qk3.js} +25 -25
- package/dist/chunks/{kv-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-w2tpxd08.js → location-ae7j6849.js} +17 -17
- package/dist/chunks/{kv-c78bbtc9.js → location-ag9w8cw1.js} +5 -5
- package/dist/chunks/{kv-ec3p188n.js → location-amtcdxb0.js} +6 -6
- package/dist/chunks/{kv-za2awsd1.js → location-avb4mchm.js} +17 -17
- package/dist/chunks/{kv-13q063b0.js → location-avc8n21j.js} +8 -8
- package/dist/chunks/{kv-z2p1zgek.js → location-axt0rzpy.js} +6 -6
- package/dist/chunks/{kv-df5t2j38.js → location-az4749a7.js} +11 -11
- package/dist/chunks/{kv-m8m3zpqy.js → location-b1frtypz.js} +32 -32
- package/dist/chunks/{kv-8tt0ytjn.js → location-b4ae2b13.js} +20 -20
- package/dist/chunks/location-b6enga28.js +26 -0
- package/dist/chunks/{kv-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-ca4srnk3.js → location-b8hzf7nw.js} +8 -8
- package/dist/chunks/{kv-qffs32b2.js → location-bacq2ea4.js} +34 -34
- package/dist/chunks/{kv-wcge806m.js → location-bajakh74.js} +4 -4
- package/dist/chunks/{kv-06dxphr1.js → location-bccb6npm.js} +4 -4
- package/dist/chunks/{kv-pmr4s4kc.js → location-bf0ztrs3.js} +4 -4
- package/dist/chunks/{kv-vngnfmgt.js → location-btp88bps.js} +5 -5
- package/dist/chunks/location-by5v678g.js +18 -0
- package/dist/chunks/{kv-q07v9h9y.js → location-c4y595wv.js} +18 -18
- package/dist/chunks/{kv-2k6xrwva.js → location-c6t8208k.js} +16 -16
- package/dist/chunks/{kv-gk3xegv2.js → location-cenkhvam.js} +14 -14
- package/dist/chunks/{kv-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-r2m716tb.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{kv-v9wse47b.js → location-cx6817x4.js} +10 -10
- package/dist/chunks/{kv-5hjmcfpt.js → location-d079nfyg.js} +15 -15
- package/dist/chunks/{kv-3kth0658.js → location-d5my93c7.js} +18 -18
- package/dist/chunks/{kv-matxb2xk.js → location-dhwrr4jy.js} +5 -5
- package/dist/chunks/{kv-zjp75jv5.js → location-djcy9x12.js} +11 -11
- package/dist/chunks/{kv-pprr9hht.js → location-dqhwfw66.js} +10 -10
- package/dist/chunks/{kv-z225y43a.js → location-dr2yesb8.js} +32 -32
- package/dist/chunks/{kv-x1pmkwqz.js → location-e1krdr4f.js} +13 -13
- package/dist/chunks/{kv-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{kv-e5nv3ght.js → location-e5nv3ght.js} +2 -2
- package/dist/chunks/{kv-4dgbcxzg.js → location-ebe9bak5.js} +4 -4
- package/dist/chunks/{kv-6sh9twb3.js → location-ebvkxj71.js} +15 -15
- package/dist/chunks/{kv-wmvxdcxf.js → location-eev3q2gn.js} +10 -10
- package/dist/chunks/{kv-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-tsmrpsr3.js → location-ejjvavc8.js} +15 -15
- package/dist/chunks/{kv-m7jrkp26.js → location-em5xkjbs.js} +11 -11
- package/dist/chunks/{kv-v8q1sw48.js → location-ep45g7a1.js} +11 -11
- package/dist/chunks/{kv-bdh9mrz4.js → location-etn2manz.js} +11 -11
- package/dist/chunks/{kv-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-8ngqmhjn.js → location-ew828j3w.js} +23 -23
- package/dist/chunks/{kv-dr13ydbw.js → location-f14adf9f.js} +11 -11
- package/dist/chunks/{kv-knnr3ffb.js → location-f4ywtdzx.js} +2 -2
- package/dist/chunks/{kv-81p48be3.js → location-f5qz3jzy.js} +3 -3
- package/dist/chunks/{kv-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{kv-h29ec78n.js → location-fee9ry81.js} +20 -20
- package/dist/chunks/{kv-y6f0p4jw.js → location-fjs5xx1d.js} +2 -2
- package/dist/chunks/{kv-at2jt8b6.js → location-fjven42y.js} +24 -24
- package/dist/chunks/{kv-k7fvcj83.js → location-fjwgd49k.js} +21 -21
- package/dist/chunks/{kv-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-hwdqbtk8.js → location-fz01tdmw.js} +21 -21
- package/dist/chunks/{kv-feadmf2k.js → location-g2dazt51.js} +7 -7
- package/dist/chunks/{kv-6m3jg8gc.js → location-g4a6era7.js} +24 -24
- package/dist/chunks/{kv-9esays49.js → location-g9kz57e4.js} +21 -21
- package/dist/chunks/{kv-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-jp5d52r3.js → location-gdcqe04r.js} +6 -6
- package/dist/chunks/{kv-5nqxz0mf.js → location-gg5tcp93.js} +30 -30
- package/dist/chunks/{kv-527k0vp5.js → location-gjg6hemq.js} +28 -28
- package/dist/chunks/{kv-w7s1kwgb.js → location-gkyvheh7.js} +8 -8
- package/dist/chunks/{kv-5tgy5hp4.js → location-gs12886w.js} +28 -28
- package/dist/chunks/{kv-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-ywepdr4j.js → location-gzzsg5dy.js} +9 -9
- package/dist/chunks/{kv-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-9gm7t8wy.js → location-h0cvahep.js} +172 -172
- package/dist/chunks/{kv-0xbae0ch.js → location-h1t9w82k.js} +44 -44
- package/dist/chunks/{kv-wqbc9es3.js → location-h61p2mjp.js} +9 -9
- package/dist/chunks/{kv-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-dk8y6tpb.js → location-hph2erh9.js} +18 -18
- package/dist/chunks/{kv-2wtgfcw5.js → location-hxr4ws4r.js} +8 -8
- package/dist/chunks/{kv-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-372jp7zc.js → location-jcxqzaz3.js} +17 -17
- package/dist/chunks/{kv-ggyk9197.js → location-jp31vt9x.js} +12 -12
- package/dist/chunks/{kv-dd0kn80g.js → location-js2bxmsr.js} +37 -37
- package/dist/chunks/{kv-bwx7yfz9.js → location-jv984b6y.js} +3 -3
- package/dist/chunks/{kv-8s8mxddj.js → location-jva4mgym.js} +4 -4
- package/dist/chunks/{kv-1j4wj2wj.js → location-k9b4hh1d.js} +1 -1
- package/dist/chunks/{kv-9030epd1.js → location-kbq8etb1.js} +10 -10
- package/dist/chunks/{kv-ynj7eg78.js → location-kcfppy95.js} +23 -23
- package/dist/chunks/{kv-bqns2xeb.js → location-ke21jj3y.js} +6 -6
- package/dist/chunks/{kv-ahxxq61c.js → location-kf11waxr.js} +28 -28
- package/dist/chunks/{kv-542nn9ke.js → location-kjdar36t.js} +5 -5
- package/dist/chunks/{kv-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-0fqqwfme.js → location-msv9qz60.js} +13 -13
- package/dist/chunks/{kv-w35smk9y.js → location-mx09shfg.js} +12 -12
- package/dist/chunks/{kv-aphhdr9a.js → location-my6q1kj9.js} +9 -9
- package/dist/chunks/{kv-cz7ybxbg.js → location-my8v8pz1.js} +79 -79
- package/dist/chunks/{kv-zj36n4ch.js → location-n0re1kpp.js} +50 -50
- package/dist/chunks/{kv-z5bw8km2.js → location-n5dqecfz.js} +24 -24
- package/dist/chunks/{kv-dwqd4fec.js → location-n7dgzw6q.js} +11 -11
- package/dist/chunks/{kv-vxc69cc3.js → location-n9h856x1.js} +26 -26
- package/dist/chunks/{kv-dysy2d9a.js → location-na0vc07j.js} +38 -38
- package/dist/chunks/{kv-tshc7g5p.js → location-njabt98v.js} +16 -16
- package/dist/chunks/{kv-4e0pntr6.js → location-p0cgaswm.js} +27 -27
- package/dist/chunks/{kv-hqaqsecz.js → location-p132gxzd.js} +13 -13
- package/dist/chunks/{kv-n6vgg671.js → location-p8nbz4mm.js} +23 -23
- package/dist/chunks/{kv-95q9m7a4.js → location-paffydma.js} +10 -10
- package/dist/chunks/{kv-rwp9jh2s.js → location-pd1sw0zy.js} +21 -21
- package/dist/chunks/{kv-fm2ehgba.js → location-pgeftpx4.js} +14 -14
- package/dist/chunks/{kv-gqvs4pn0.js → location-phtx5pzp.js} +31 -31
- package/dist/chunks/{kv-5qkxfyep.js → location-pjedbq3k.js} +4 -4
- package/dist/chunks/{kv-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{kv-fj47jftw.js → location-pv3p64vq.js} +15 -15
- package/dist/chunks/{kv-p0mccv6z.js → location-pvrjs4yz.js} +7 -7
- package/dist/chunks/{kv-0v0g3rme.js → location-q0sr5rc9.js} +11 -11
- package/dist/chunks/{kv-3r7dg8e2.js → location-q858cr49.js} +27 -27
- package/dist/chunks/{kv-g8d3gcyj.js → location-qa3qhgw8.js} +7 -7
- package/dist/chunks/{kv-r00cs8xe.js → location-qb97jg0r.js} +9 -9
- package/dist/chunks/{kv-1bqb4p60.js → location-qfw0430s.js} +32 -32
- package/dist/chunks/{kv-5dcwpk27.js → location-qm2zhff3.js} +11 -11
- package/dist/chunks/{kv-8yvyc9sz.js → location-qr1gr1bz.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-y47czx5y.js → location-r3648v35.js} +17 -17
- package/dist/chunks/{kv-xky1335j.js → location-r3gbt3jp.js} +37 -37
- package/dist/chunks/{kv-4ddcvy6e.js → location-r3n1f5t9.js} +4 -4
- package/dist/chunks/{kv-1bbkgx8g.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{kv-b09hzw3k.js → location-r8ste1ck.js} +2 -2
- package/dist/chunks/{kv-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-kwpsrvng.js → location-rk7y43hf.js} +4 -4
- package/dist/chunks/{kv-bz85s9hh.js → location-ryt7pzqc.js} +1 -1
- package/dist/chunks/{kv-gs9jkpg2.js → location-s245kgzv.js} +8 -8
- package/dist/chunks/{kv-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{kv-gf2azzj7.js → location-skzj3dtk.js} +43 -43
- package/dist/chunks/{kv-a1a50ys5.js → location-sra9araw.js} +5 -5
- package/dist/chunks/{kv-32qkfht5.js → location-swqfa4q3.js} +25 -25
- package/dist/chunks/{kv-0mesg93d.js → location-sxragm8h.js} +18 -18
- package/dist/chunks/{kv-93ygb5af.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{kv-c2zwhayg.js → location-szk5yzmn.js} +16 -16
- package/dist/chunks/{kv-7zc61v3j.js → location-t11smtq6.js} +17 -17
- package/dist/chunks/{kv-rhjbct0v.js → location-t550f9t1.js} +4 -4
- package/dist/chunks/{kv-yygyxej2.js → location-t87rd070.js} +16 -16
- package/dist/chunks/{kv-prshwy6f.js → location-t96ncvbk.js} +10 -10
- package/dist/chunks/{kv-fy685n2s.js → location-t9hwq8k2.js} +43 -43
- package/dist/chunks/{kv-w9y6ap5g.js → location-ta2sz16v.js} +28 -28
- package/dist/chunks/{kv-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-h6nf8f2s.js → location-tbnfv1pf.js} +13 -13
- package/dist/chunks/{kv-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{kv-dbjhyg4p.js → location-tm1qqpd4.js} +7 -7
- package/dist/chunks/{kv-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-3em56y7w.js → location-tx3fqe1r.js} +9 -9
- package/dist/chunks/{kv-8hh8nk77.js → location-tyxhm0p2.js} +6 -6
- package/dist/chunks/{kv-ywywtd2f.js → location-v98rq2xh.js} +9 -9
- package/dist/chunks/{kv-9mwzt4fq.js → location-v9xsj6pf.js} +11 -11
- package/dist/chunks/{kv-tc99cfes.js → location-vahtdhsf.js} +32 -32
- package/dist/chunks/{kv-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-hyn19ewr.js → location-vjnvk4fc.js} +24 -24
- package/dist/chunks/{kv-yb5nc9wz.js → location-vpw3edpt.js} +51 -51
- package/dist/chunks/{kv-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-f65qawn9.js → location-w27pm9me.js} +18 -18
- package/dist/chunks/{kv-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{kv-5mt5zsn7.js → location-wgre8czs.js} +19 -19
- package/dist/chunks/{kv-e5xpd6yj.js → location-wgsyq2g2.js} +7 -7
- package/dist/chunks/{kv-k00jvwze.js → location-wseq2wer.js} +32 -32
- package/dist/chunks/{kv-pgwmtx9h.js → location-wvng7zrg.js} +3 -3
- package/dist/chunks/{kv-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-fmvxt08z.js → location-x2t5q3mx.js} +18 -18
- package/dist/chunks/{kv-s2vfe9rb.js → location-xdt3s13f.js} +7 -7
- package/dist/chunks/{kv-shpbz5ss.js → location-xekh0j5r.js} +18 -18
- package/dist/chunks/{kv-x4ksm1tj.js → location-y14psceh.js} +11 -11
- package/dist/chunks/{kv-ww506ezs.js → location-y16882bh.js} +10 -10
- package/dist/chunks/{kv-r1d8brym.js → location-y190ygrp.js} +18 -18
- package/dist/chunks/{kv-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{kv-23wc2maw.js → location-y806bx01.js} +4 -4
- package/dist/chunks/{kv-e0xcq4mb.js → location-yd2t4f4q.js} +15 -15
- package/dist/chunks/{kv-qxn9n16s.js → location-yfccazc5.js} +46 -46
- package/dist/chunks/{kv-r8xr0va3.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-xk747vep.js → location-ywkfy99j.js} +9 -9
- package/dist/chunks/{kv-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-g2p206kf.js → location-z3dbx3sy.js} +20 -20
- package/dist/chunks/{kv-dkbfs573.js → location-z76rvear.js} +4 -4
- package/dist/chunks/{kv-wtfafaw2.js → location-zaz698nn.js} +9 -9
- package/dist/chunks/{kv-gcddavgz.js → location-zbb6f2kh.js} +39 -39
- package/dist/chunks/{kv-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zk1ywxhw.js → location-zs1be8nq.js} +11 -11
- package/dist/chunks/{kv-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-rd8yq3pc.js → location-zzccx3d7.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- 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 +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +123 -123
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +360 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +73 -73
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- 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 +4 -4
- 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 +93 -93
- 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/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 +157 -157
- 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 +344 -344
- 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 +8 -8
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- 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 +97 -97
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +113 -113
- 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 +228 -228
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +111 -111
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- 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 +11 -11
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +3 -3
- 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 +79 -79
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/kv-9zdhvgqs.js +0 -18
- package/dist/chunks/kv-hxa7m5za.js +0 -4
- package/dist/chunks/kv-pjwrvnpv.js +0 -247
- package/dist/chunks/kv-yp2eeyxk.js +0 -26
- /package/dist/chunks/{kv-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-r3n1f5t9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-njabt98v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node72
|
|
12
|
+
} from "./location-n5dqecfz.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service51,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node53
|
|
20
|
+
} from "./location-w27pm9me.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service58,
|
|
23
|
+
node60
|
|
24
|
+
} from "./location-37ea9c2d.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service49,
|
|
27
|
+
node51
|
|
28
|
+
} from "./location-2hr5nhwa.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-fjs5xx1d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service59,
|
|
35
|
+
node61
|
|
36
|
+
} from "./location-3hk432b6.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-mx09shfg.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service48,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node50
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service48 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service81;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service78;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service51;
|
|
94
|
+
const environment = yield* Service70;
|
|
95
|
+
const hooks = yield* Service58;
|
|
96
|
+
const environments = yield* Service49;
|
|
97
|
+
const config = yield* Service59;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service48.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node50 = makeLocationNode({
|
|
320
|
+
service: Service48,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node85,
|
|
324
|
-
|
|
324
|
+
node82,
|
|
325
325
|
Global.node,
|
|
326
|
-
node51,
|
|
327
326
|
node53,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
node72,
|
|
328
|
+
node60,
|
|
329
|
+
node51,
|
|
330
|
+
node61,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service48, cleanup2, node50, exports_shell4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service4,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service4 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service4.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service4, node6, exports_discovery };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-wvng7zrg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-r3n1f5t9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./location-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service35
|
|
16
|
+
} from "./location-7ctrm1dc.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-wgsyq2g2.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service42;
|
|
46
46
|
const database = yield* Service82;
|
|
47
47
|
const bus = yield* Service81;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service35;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service42;
|
|
78
78
|
const bus = yield* Service81;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service35;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin27,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin27 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin43 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin27, exports_opencode };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-pvrjs4yz.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin35 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin5 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin5 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin35, exports_tinyfish };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-r3n1f5t9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node62
|
|
7
|
+
} from "./location-5xjbzt31.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service3,
|
|
10
|
+
node5
|
|
11
|
+
} from "./location-a7bb2qk3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./location-by5v678g.js";
|
|
15
15
|
import {
|
|
16
16
|
node18,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
ID3
|
|
18
|
+
} from "./location-c4y595wv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service8,
|
|
21
|
+
node10
|
|
22
|
+
} from "./location-1ajx6rf5.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-0c5388rw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make10,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-hxr4ws4r.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service9,
|
|
34
|
+
node11
|
|
35
|
+
} from "./location-paffydma.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service10,
|
|
38
|
+
node12
|
|
39
|
+
} from "./location-a3ftg8j6.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer4,
|
|
49
|
+
node: () => node4
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID3.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
127
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service34;
|
|
129
|
+
const sdk = yield* Service9;
|
|
130
|
+
const instance = yield* Service8;
|
|
131
|
+
const sources = yield* Service3;
|
|
132
|
+
const modules = yield* make10();
|
|
133
133
|
const bus = yield* Service81;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service10;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,13 +207,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
209
|
node18,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
node6,
|
|
210
|
+
node11,
|
|
211
|
+
node10,
|
|
213
212
|
node5,
|
|
213
|
+
node12,
|
|
214
214
|
node85,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node62,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer4, node4, exports_supervisor };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-a5dv1fsr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service52,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node54
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID12,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service52 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service52.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node54 = makeLocationNode({ service: Service52, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service52, locationLayer2, node54, exports_aisdk };
|