@opencode/core 0.0.0-dev-19511 → 0.0.0-dev-19514
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{project-49z946gs.js → file-048xp89v.js} +17 -17
- package/dist/chunks/{project-4e10zhsk.js → file-07ch4k8a.js} +31 -31
- package/dist/chunks/{project-mspfsrrg.js → file-0a423ajn.js} +43 -43
- package/dist/chunks/{project-fys1mhb0.js → file-0bcfzsmy.js} +7 -7
- package/dist/chunks/{project-5cbh0j70.js → file-0dzcdmmm.js} +9 -9
- package/dist/chunks/{project-athype10.js → file-0gdmqesm.js} +6 -6
- package/dist/chunks/{project-s8fqe7jm.js → file-0gsjhwbw.js} +23 -23
- package/dist/chunks/{project-8w2hbp94.js → file-0kenkm4y.js} +3 -3
- package/dist/chunks/{project-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{project-hnr5yq9h.js → file-0r7yqxbf.js} +5 -5
- package/dist/chunks/{project-xttm4980.js → file-0rymwcrg.js} +25 -25
- package/dist/chunks/{project-5qb16e34.js → file-1288mpm8.js} +56 -56
- package/dist/chunks/{project-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-fhvnb7q8.js → file-1dgfjwgv.js} +24 -24
- package/dist/chunks/{project-fmsmdavp.js → file-1j388zrc.js} +22 -22
- package/dist/chunks/{project-t0d6gkvd.js → file-1vtz46z8.js} +8 -8
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{project-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{project-m5gdw33a.js → file-21tk25ps.js} +1 -1
- package/dist/chunks/{project-eraanh1f.js → file-23mbrqv5.js} +6 -6
- package/dist/chunks/{project-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{project-9bf6jj70.js → file-25nfakxt.js} +28 -28
- package/dist/chunks/{project-h1fxz2n8.js → file-26m15rn7.js} +29 -29
- package/dist/chunks/{project-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-03byqthe.js → file-2scwh29m.js} +24 -24
- package/dist/chunks/{project-g4e9nbcn.js → file-30f1x3mc.js} +13 -13
- package/dist/chunks/{project-5v6xbca9.js → file-365b2wx5.js} +156 -156
- package/dist/chunks/{project-9qfkze9a.js → file-37yfqsb0.js} +14 -14
- package/dist/chunks/{project-jmz50v4a.js → file-3ec5gh45.js} +16 -16
- package/dist/chunks/{project-j84bzan4.js → file-3g5458vk.js} +40 -40
- package/dist/chunks/{project-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-cgjzvrd1.js → file-3jrr9nrh.js} +4 -4
- package/dist/chunks/{project-czc1p6ep.js → file-3kwdbmfv.js} +24 -24
- package/dist/chunks/{project-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-2f0bjgcj.js → file-3w0fmcng.js} +5 -5
- package/dist/chunks/{project-1w0xs9z0.js → file-3yqybkx7.js} +9 -9
- package/dist/chunks/{project-8dnxqjce.js → file-40bxqg89.js} +10 -10
- package/dist/chunks/{project-17f7730q.js → file-40p7j5ff.js} +20 -20
- package/dist/chunks/{project-tz0jyenk.js → file-4p6bmny6.js} +10 -10
- package/dist/chunks/{project-xse6m6qk.js → file-4we3c2am.js} +35 -35
- package/dist/chunks/{project-4y66k410.js → file-4y66k410.js} +2 -2
- package/dist/chunks/{project-kcyhewq8.js → file-52hm8910.js} +6 -6
- package/dist/chunks/{project-mfqp6xfm.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{project-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{project-vnb6p14m.js → file-5n5g9tme.js} +13 -13
- package/dist/chunks/{project-1tjc281v.js → file-5ppegk2h.js} +5 -5
- package/dist/chunks/{project-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-wa8w638y.js → file-5vpje3g0.js} +15 -15
- package/dist/chunks/{project-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{project-gfqzzqy5.js → file-6d9mz4vp.js} +9 -9
- package/dist/chunks/{project-9n42172b.js → file-6h09v0nk.js} +28 -28
- package/dist/chunks/{project-2xnqg3kz.js → file-6h539xbt.js} +10 -10
- package/dist/chunks/{project-6vc8p3va.js → file-6kb1ngvr.js} +1 -1
- package/dist/chunks/{project-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-nvqrzj9g.js → file-715w4jb6.js} +9 -9
- package/dist/chunks/{project-1p3xnr7f.js → file-71eqg07f.js} +13 -13
- package/dist/chunks/{project-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{project-ktxw75tm.js → file-779r4x49.js} +15 -15
- package/dist/chunks/{project-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-qgn6gcr1.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-06brqfbk.js → file-7hkbksc5.js} +19 -19
- package/dist/chunks/{project-k8p4hbnm.js → file-7n50n386.js} +7 -7
- package/dist/chunks/{project-tb99n96z.js → file-7rd885s9.js} +29 -29
- package/dist/chunks/{project-kkaqcpw4.js → file-7rxw70p2.js} +18 -18
- package/dist/chunks/{project-81swgkk7.js → file-81swgkk7.js} +2 -2
- package/dist/chunks/{project-ywkfy99j.js → file-84zt2byv.js} +9 -9
- package/dist/chunks/{project-pgr272tc.js → file-858qdcc3.js} +20 -20
- package/dist/chunks/file-86de9m55.js +22 -0
- package/dist/chunks/{project-3c1tgrea.js → file-8a2qdx2a.js} +6 -6
- package/dist/chunks/{project-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-dez563yv.js → file-8g5hs4np.js} +42 -42
- package/dist/chunks/{project-8za6t4pe.js → file-8j5k38c8.js} +8 -8
- package/dist/chunks/{project-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{project-0mqws7ma.js → file-8secz49e.js} +22 -22
- package/dist/chunks/{project-hdz1sw8x.js → file-903gnre9.js} +11 -11
- package/dist/chunks/{project-tk07mxne.js → file-915t83ht.js} +11 -11
- package/dist/chunks/{project-1nypc09g.js → file-92vqf0gg.js} +18 -18
- package/dist/chunks/{project-cpa9365v.js → file-96v5c2p5.js} +26 -26
- package/dist/chunks/{project-n5qsk9dt.js → file-9cfgjn1d.js} +12 -12
- package/dist/chunks/{project-zp5ax0qn.js → file-9khdf5s3.js} +8 -8
- package/dist/chunks/{project-gxg7s5ax.js → file-9z0v2yqn.js} +27 -27
- package/dist/chunks/{project-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{project-0mgvehma.js → file-a3rvyvck.js} +3 -3
- package/dist/chunks/{project-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{project-1qg96azw.js → file-akrnn5pm.js} +8 -8
- package/dist/chunks/{project-gsbm691j.js → file-ar7nfc0b.js} +20 -20
- package/dist/chunks/{project-s6bhfz4z.js → file-aw9hkdyd.js} +21 -21
- package/dist/chunks/{project-t2fc4mz5.js → file-b27vhd2z.js} +4 -4
- package/dist/chunks/{project-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-9z0604wv.js → file-b7kmpk6t.js} +45 -45
- package/dist/chunks/{project-0jrfp098.js → file-ba5k2znj.js} +7 -7
- package/dist/chunks/{project-4jct13es.js → file-bj61hnyg.js} +14 -14
- package/dist/chunks/{project-by3d5382.js → file-bm7vyjfb.js} +11 -11
- package/dist/chunks/{project-9bb2zzrg.js → file-br4mb8ra.js} +18 -18
- package/dist/chunks/{project-yh49gxee.js → file-bvr7grfh.js} +4 -4
- package/dist/chunks/{project-128jwkd9.js → file-c0n50874.js} +11 -11
- package/dist/chunks/{project-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{project-2etzwqq0.js → file-cn02216x.js} +3 -3
- package/dist/chunks/{project-pncxwfjb.js → file-cyfhm506.js} +17 -17
- package/dist/chunks/{project-d0acstaf.js → file-d9s96shc.js} +43 -43
- package/dist/chunks/{project-xbmcec40.js → file-da2m7fje.js} +5 -5
- package/dist/chunks/{project-41v07cqx.js → file-dedq8wa1.js} +11 -11
- package/dist/chunks/{project-s36sm4ep.js → file-detsjsfs.js} +33 -33
- package/dist/chunks/{project-pmr4s4kc.js → file-dfe8djrf.js} +4 -4
- package/dist/chunks/{project-180kq3wy.js → file-dkkjpy3x.js} +11 -11
- package/dist/chunks/{project-dpkg50ah.js → file-dpkg50ah.js} +1 -1
- package/dist/chunks/{project-vyqn3nqs.js → file-dwvzh0g2.js} +6 -6
- package/dist/chunks/{project-z4h22pxa.js → file-e5y2w16d.js} +12 -12
- package/dist/chunks/{project-r33ff4dw.js → file-e6hd9jay.js} +6 -6
- package/dist/chunks/{project-1gsa2cck.js → file-edqnm9wa.js} +14 -14
- package/dist/chunks/{project-k18waxcd.js → file-ee39sspt.js} +33 -33
- package/dist/chunks/{project-v6paxmcr.js → file-eg10bheh.js} +32 -32
- package/dist/chunks/{project-rm2yqhr0.js → file-ekkfxm1b.js} +5 -4
- package/dist/chunks/{project-getxn4jm.js → file-embs9rr0.js} +22 -22
- package/dist/chunks/{project-k0c7x7cv.js → file-ep6qz3j5.js} +5 -5
- package/dist/chunks/{project-gf79vf69.js → file-epd1fg1b.js} +4 -4
- package/dist/chunks/{project-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-xmqchchm.js → file-f49kx7ec.js} +18 -18
- package/dist/chunks/{project-m1t0sds5.js → file-f6x64a2f.js} +16 -16
- package/dist/chunks/{project-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{project-3dv0dhzr.js → file-fbgw5egt.js} +83 -83
- package/dist/chunks/{project-x2q7kmg1.js → file-fdma6z5m.js} +8 -8
- package/dist/chunks/{project-mxz3erqp.js → file-fg1gh0c9.js} +37 -37
- package/dist/chunks/{project-6f2gh7ng.js → file-fh5t8s2q.js} +1 -1
- package/dist/chunks/{project-havt8zv8.js → file-fhqc3h92.js} +36 -36
- package/dist/chunks/{project-2bj8tynh.js → file-fjszsmnf.js} +4 -4
- package/dist/chunks/{project-vjazvx2w.js → file-fqtt6ran.js} +25 -25
- package/dist/chunks/{project-e6jkap1f.js → file-frwpyczr.js} +4 -4
- package/dist/chunks/{project-sgjjsjgk.js → file-fs5r8wpj.js} +25 -25
- package/dist/chunks/{project-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{project-at6fsfad.js → file-fzthsjy4.js} +14 -14
- package/dist/chunks/{project-rk0v45j3.js → file-g02cz0vt.js} +13 -13
- package/dist/chunks/{project-nk6256zg.js → file-g67wee21.js} +4 -4
- package/dist/chunks/{project-p8095ktx.js → file-g6fqja2m.js} +13 -13
- package/dist/chunks/{project-04hzg152.js → file-g7hhbneb.js} +15 -15
- package/dist/chunks/{project-dmw8ezrh.js → file-g83qpwmz.js} +3 -3
- package/dist/chunks/{project-v9kqwjfa.js → file-g9t7qa9y.js} +29 -29
- package/dist/chunks/{project-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{project-zaah75v1.js → file-gmmhsxfs.js} +21 -21
- package/dist/chunks/{project-bvm1hg5c.js → file-gmprtwsb.js} +1 -1
- package/dist/chunks/{project-th5km1p3.js → file-gv6a8nnw.js} +5 -5
- package/dist/chunks/{project-qvf77yps.js → file-gy7w27zy.js} +11 -11
- package/dist/chunks/{project-a7h8je70.js → file-gyaee7jp.js} +17 -17
- package/dist/chunks/{project-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{project-3ymzj6fs.js → file-h2fpsr6d.js} +8 -8
- package/dist/chunks/{project-1rhhxb2c.js → file-h3fx38h7.js} +26 -26
- package/dist/chunks/{project-r034a52s.js → file-h6f2rjkg.js} +9 -9
- package/dist/chunks/{project-2qmj82d1.js → file-h6t3ct0z.js} +44 -44
- package/dist/chunks/{project-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-rrzxexy0.js → file-h9n27kr1.js} +52 -52
- package/dist/chunks/{project-hmz9dp0k.js → file-hh50gg05.js} +5 -5
- package/dist/chunks/{project-ag81pwzz.js → file-hhzb4w78.js} +12 -12
- package/dist/chunks/{project-p44d8wdy.js → file-hkfg6fzm.js} +5 -5
- package/dist/chunks/{project-485wz5ap.js → file-hn612hq8.js} +70 -70
- package/dist/chunks/{project-0gcj0wxd.js → file-hv3f10xw.js} +10 -10
- package/dist/chunks/{project-0kgvfrm4.js → file-hy7ma9dc.js} +20 -20
- package/dist/chunks/{project-1vtpe7zb.js → file-hy9khhh5.js} +4 -4
- package/dist/chunks/{project-j028xdjb.js → file-j028xdjb.js} +1 -1
- package/dist/chunks/{project-7h2z3prw.js → file-j2xqzd67.js} +92 -43
- package/dist/chunks/{project-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{project-rmtkxqwx.js → file-jfahe5dm.js} +7 -7
- package/dist/chunks/{project-2vs2nh1n.js → file-jj3qxa52.js} +4 -4
- package/dist/chunks/{project-40zzw5vx.js → file-jm6kzkv1.js} +5 -5
- package/dist/chunks/{project-3yme9dtt.js → file-jrpprbm6.js} +14 -14
- package/dist/chunks/{project-mm16nfvn.js → file-jsa2395n.js} +28 -28
- package/dist/chunks/{project-9502mm2y.js → file-jwadv04f.js} +34 -34
- package/dist/chunks/{project-8vyszhxq.js → file-jxyz68eg.js} +7 -7
- package/dist/chunks/{project-k79tzb9n.js → file-jzzy94zk.js} +9 -9
- package/dist/chunks/{project-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{project-3hzqgt9w.js → file-kmv05cyx.js} +30 -30
- package/dist/chunks/{project-tfwap27p.js → file-kt5w8vxh.js} +10 -10
- package/dist/chunks/{project-82kwe8pc.js → file-ky6wt9x3.js} +5 -5
- package/dist/chunks/{project-z40tgwd8.js → file-kym9c2x0.js} +9 -9
- package/dist/chunks/{project-d643ey3h.js → file-m3krncyp.js} +13 -13
- package/dist/chunks/{project-by1fd37v.js → file-m6cttsv8.js} +16 -16
- package/dist/chunks/{project-7xjy9a2e.js → file-m6qbstta.js} +11 -11
- package/dist/chunks/{project-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-4p1ga2js.js → file-ma9yb35x.js} +6 -6
- package/dist/chunks/{project-gnh4rmrp.js → file-mbpbw8jh.js} +8 -8
- package/dist/chunks/{project-rhxfnfwf.js → file-mj63ee6j.js} +23 -23
- package/dist/chunks/{project-yyb6d1pw.js → file-mpvjdhq3.js} +15 -15
- package/dist/chunks/{project-0jzgk3xk.js → file-msprhwgy.js} +15 -15
- package/dist/chunks/{project-rsdf2nvv.js → file-msq0jde0.js} +4 -4
- package/dist/chunks/{project-xw98cjw1.js → file-mtjmqs8n.js} +2 -2
- package/dist/chunks/{project-gzhexwst.js → file-mv3cm7pe.js} +16 -16
- package/dist/chunks/{project-fqj9nv8j.js → file-mvdg3mfe.js} +8 -8
- package/dist/chunks/{project-cdkak6c5.js → file-n01rjve2.js} +19 -19
- package/dist/chunks/{project-6597xj7n.js → file-np6jr823.js} +7 -7
- package/dist/chunks/{project-8e2hps12.js → file-nrafk414.js} +32 -32
- package/dist/chunks/{project-rtdy2j7k.js → file-nv4467mr.js} +11 -11
- package/dist/chunks/{project-7nypd6v8.js → file-nw0z258d.js} +18 -18
- package/dist/chunks/{project-f2n192rq.js → file-nxer0yad.js} +4 -4
- package/dist/chunks/{project-wx9wy1qm.js → file-p33ejz0k.js} +1 -1
- package/dist/chunks/{project-nhy5jxhy.js → file-p6yzb5ay.js} +4 -4
- package/dist/chunks/{project-yfetrmg9.js → file-pdy8tdap.js} +290 -290
- package/dist/chunks/{project-yptvf0vj.js → file-pef5zs3s.js} +18 -18
- package/dist/chunks/{project-c5c0bz0t.js → file-pfq1ksym.js} +5 -5
- package/dist/chunks/{project-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{project-fjhcf7g9.js → file-pv06hj7d.js} +2 -2
- package/dist/chunks/{project-3592630s.js → file-pw6rbwyw.js} +6 -6
- package/dist/chunks/{project-qqjjzdpg.js → file-pxs9g58w.js} +47 -47
- package/dist/chunks/{project-3yjg5mh2.js → file-pxt4kznk.js} +3 -3
- package/dist/chunks/{project-g30z4c76.js → file-q19rd6y7.js} +9 -9
- package/dist/chunks/{project-9wsm2w7d.js → file-q6vwf3nd.js} +6 -6
- package/dist/chunks/{project-hs9cbhjh.js → file-qeden6pr.js} +26 -26
- package/dist/chunks/{project-magykp64.js → file-qj8eh1ht.js} +4 -4
- package/dist/chunks/{project-zh3kw9jz.js → file-qjrh95de.js} +4 -4
- package/dist/chunks/{project-vytej9g6.js → file-qmj11y7g.js} +18 -18
- package/dist/chunks/{project-crc3g98t.js → file-qr42g2ex.js} +12 -12
- package/dist/chunks/{project-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{project-936n54ck.js → file-qtptnsh1.js} +1 -1
- package/dist/chunks/file-qtvmxc8s.js +4 -0
- package/dist/chunks/{project-x8gz1y8e.js → file-qvb3nf84.js} +8 -8
- package/dist/chunks/{project-qqmxp0w7.js → file-r4aah319.js} +12 -12
- package/dist/chunks/{project-ndgqx56h.js → file-r8vf1f61.js} +6 -6
- package/dist/chunks/{project-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{project-svxygcjw.js → file-rfkfgx1j.js} +2 -2
- package/dist/chunks/{project-4qw9jy8s.js → file-rgy7ctyq.js} +6 -6
- package/dist/chunks/{project-p60kmaay.js → file-rjjwk750.js} +60 -60
- package/dist/chunks/{project-cx98cjrt.js → file-rny9rhyh.js} +4 -4
- package/dist/chunks/{project-x71d43dg.js → file-rqnks7rh.js} +6 -6
- package/dist/chunks/{project-ce6x2zr0.js → file-rzmkrbvb.js} +2 -2
- package/dist/chunks/{project-3gtmxc06.js → file-s8b69be9.js} +8 -8
- package/dist/chunks/{project-tyy2ek0j.js → file-sj50v99f.js} +22 -22
- package/dist/chunks/{project-da239ya3.js → file-skmtrd5n.js} +21 -21
- package/dist/chunks/{project-g7xq9dq6.js → file-sv08ktng.js} +15 -15
- package/dist/chunks/{project-fn3pntxg.js → file-t0r7fcbn.js} +24 -24
- package/dist/chunks/{project-h943hffx.js → file-t2mvn8e2.js} +9 -9
- package/dist/chunks/{project-h0n6hk95.js → file-t3v0vag8.js} +7 -7
- package/dist/chunks/{project-k266rhdn.js → file-t4fqcf9n.js} +24 -24
- package/dist/chunks/{project-h9jj2pmn.js → file-t7f26a2p.js} +20 -20
- package/dist/chunks/{project-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-30b4p980.js → file-td8ytyxd.js} +8 -8
- package/dist/chunks/{project-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{project-msgqzgez.js → file-tjr0drtg.js} +11 -11
- package/dist/chunks/{project-7j92jdde.js → file-tm7zr4pr.js} +4 -4
- package/dist/chunks/{project-pa8pe2x7.js → file-tpw6cwsb.js} +8 -8
- package/dist/chunks/{project-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{project-z9p65wfg.js → file-v1gbks79.js} +42 -42
- package/dist/chunks/{project-cg9cg68q.js → file-v1h457r3.js} +9 -9
- package/dist/chunks/{project-f79y50b7.js → file-v1sethzn.js} +21 -21
- package/dist/chunks/{project-e9ngbr94.js → file-v6v8ttny.js} +20 -20
- package/dist/chunks/{project-nh3r2c9y.js → file-v8xrsrn8.js} +6 -6
- package/dist/chunks/{project-r4a4h3h4.js → file-v9me9bjc.js} +18 -18
- package/dist/chunks/{project-syn9s4ck.js → file-vbz5sa67.js} +34 -34
- package/dist/chunks/{project-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{project-rm0vmy1k.js → file-vm34h1x5.js} +8 -8
- package/dist/chunks/{project-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-jcbnna01.js → file-wd6ep4mh.js} +1 -1
- package/dist/chunks/{project-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{project-vsrns1zn.js → file-wpm2rk0p.js} +6 -6
- package/dist/chunks/{project-k1v67f28.js → file-wywpfvj8.js} +29 -29
- package/dist/chunks/{project-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-9gdc11pm.js → file-x4fh1qwh.js} +19 -19
- package/dist/chunks/{project-8421cefc.js → file-xc694gh7.js} +3 -3
- package/dist/chunks/{project-9jmfdv3c.js → file-xte6ahy5.js} +9 -9
- package/dist/chunks/{project-74t57acv.js → file-xx4ze2dw.js} +9 -9
- package/dist/chunks/{project-2wgpvvmt.js → file-xy0cewe0.js} +11 -11
- package/dist/chunks/{project-y80gd2k5.js → file-xz25bmqh.js} +21 -21
- package/dist/chunks/{project-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-352w66m8.js → file-y2rgym3m.js} +9 -9
- package/dist/chunks/{project-1y3t80aq.js → file-yb2a0x4v.js} +3 -3
- package/dist/chunks/{project-61pd2xsr.js → file-ye1tt27n.js} +31 -31
- package/dist/chunks/{project-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{project-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/file-zb4ha1kd.js +247 -0
- package/dist/chunks/{project-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-c4ykr5r1.js → file-znf35ddy.js} +43 -43
- package/dist/chunks/{project-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-c61qbbjh.js → file-zvsn794g.js} +10 -10
- package/dist/chunks/{project-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- 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 +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +87 -87
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +5 -5
- 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 +83 -83
- package/dist/reference.js +81 -81
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +124 -124
- package/dist/session/context.js +146 -146
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- 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 +3 -3
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- 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 +13 -13
- package/dist/types/config.d.ts +5 -1
- package/dist/types/shell/select.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/project-6kdq0pjd.js +0 -4
- package/dist/chunks/project-ajqyq5kb.js +0 -22
- package/dist/chunks/project-ht5y0zrb.js +0 -18
- package/dist/chunks/project-mpaqfvem.js +0 -247
- /package/dist/chunks/{project-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{project-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-paphc93g.js → file-paphc93g.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node66
|
|
5
|
+
} from "./file-9khdf5s3.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-msq0jde0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node63
|
|
13
|
+
} from "./file-1vtz46z8.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-h9n27kr1.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-np6jr823.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./file-1dgfjwgv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service39,
|
|
25
25
|
node42
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-40bxqg89.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make17
|
|
29
|
+
} from "./file-p6yzb5ay.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-p33ejz0k.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
44
|
+
layer: () => layer16,
|
|
45
45
|
node: () => node41,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service60;
|
|
157
|
+
const transport = yield* Service39;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -244,7 +244,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
246
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
247
|
-
return
|
|
247
|
+
return Service38.of({
|
|
248
248
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
249
249
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
250
250
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
@@ -252,9 +252,9 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
252
252
|
});
|
|
253
253
|
}));
|
|
254
254
|
var node41 = makeLocationNode({
|
|
255
|
-
service:
|
|
256
|
-
layer:
|
|
257
|
-
deps: [
|
|
255
|
+
service: Service38,
|
|
256
|
+
layer: layer16,
|
|
257
|
+
deps: [node63, node42, node66]
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
260
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer16, node41, exports_model_request };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/catalog.ts
|
|
6
6
|
var exports_catalog = {};
|
|
7
7
|
__export(exports_catalog, {
|
|
8
8
|
CodeModeCatalog: () => exports_catalog,
|
|
9
9
|
Summary: () => Summary2,
|
|
10
|
-
Tool: () =>
|
|
10
|
+
Tool: () => Tool3,
|
|
11
11
|
namespaceLine: () => namespaceLine2,
|
|
12
12
|
summarize: () => summarize2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
15
|
-
var
|
|
15
|
+
var Tool3 = Schema.Struct({
|
|
16
16
|
type: Schema.Literal("tool"),
|
|
17
17
|
name: Schema.String,
|
|
18
18
|
description: Schema.String,
|
|
@@ -148,4 +148,4 @@ function cost(text) {
|
|
|
148
148
|
return Math.round(text.length / CHARACTERS_PER_TOKEN);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Tool3, Summary2, summarize2, namespaceLine2, exports_catalog };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mtjmqs8n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-xz25bmqh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-30f1x3mc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service12
|
|
14
|
+
} from "./file-dkkjpy3x.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./file-h9n27kr1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service55,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-g7hhbneb.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_edit, {
|
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input10,
|
|
34
34
|
Output: () => Output7,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin11,
|
|
36
36
|
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -103,15 +103,15 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin11 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service55;
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service74;
|
|
112
|
+
const formatter = yield* Service12;
|
|
113
113
|
const location = yield* Service76;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service56;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
@@ -194,4 +194,4 @@ var Plugin42 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name10, Input10, Output7,
|
|
197
|
+
export { name10, Input10, Output7, Plugin11, exports_edit };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical2
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical2 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical2, exports_directory };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9khdf5s3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./file-4we3c2am.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-07ch4k8a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID13
|
|
14
|
+
} from "./file-rqnks7rh.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID13.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID9.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service69;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./file-t0r7fcbn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./file-akrnn5pm.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-g67wee21.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./file-j2xqzd67.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin25
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin25 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin13 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID7.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID7.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin25, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-rqnks7rh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
15
|
+
ID: () => ID12,
|
|
16
16
|
Info: () => Info27,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
@@ -22,7 +22,7 @@ __export(exports_model2, {
|
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID12 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info27, compatibility2, parse5, exports_model2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-3ec5gh45.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-h9n27kr1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service43.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node46 = makeLocationNode({
|
|
112
|
+
service: Service43,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service43, node46, exports_skill5, Event8 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mtjmqs8n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make18,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-0gdmqesm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
18
|
Service: () => Service30,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,7 +29,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
29
29
|
return Service30.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make18({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make18({
|
|
53
|
-
key:
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export { Service30,
|
|
66
|
+
export { Service30, node33, exports_builtins };
|