@opencode/core 0.0.0-dev-19368 → 0.0.0-dev-19370
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{instance-czw7y25w.js → credential-015cheya.js} +4 -4
- package/dist/chunks/{instance-mb44bqwd.js → credential-04cfyv7b.js} +32 -32
- package/dist/chunks/{instance-v00rg87b.js → credential-05ffq7ws.js} +10 -10
- package/dist/chunks/{instance-qdfk511a.js → credential-05jaqbfy.js} +17 -17
- package/dist/chunks/{instance-7vc9j9wm.js → credential-089q26yp.js} +15 -15
- package/dist/chunks/{instance-yaer3rya.js → credential-0hch6svz.js} +30 -30
- package/dist/chunks/{instance-tvmd4yt8.js → credential-0m29xn9k.js} +30 -30
- package/dist/chunks/{instance-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-b1x7x3xx.js → credential-0wd4jbpn.js} +11 -11
- package/dist/chunks/{instance-5v5531ga.js → credential-10w8kkbh.js} +33 -33
- package/dist/chunks/{instance-6an8es06.js → credential-1319r755.js} +23 -23
- package/dist/chunks/{instance-xx6xxkr7.js → credential-1398rwbr.js} +30 -30
- package/dist/chunks/{instance-dhhafstk.js → credential-13p69r1g.js} +7 -7
- package/dist/chunks/{instance-dtmjbvbn.js → credential-1b74es1f.js} +16 -16
- package/dist/chunks/{instance-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-0hpxrkyb.js → credential-1dfhrqqs.js} +5 -5
- package/dist/chunks/{instance-a9ab9jmj.js → credential-1h4ktfcf.js} +5 -5
- package/dist/chunks/{instance-0ft9cg2j.js → credential-1nzs1dt7.js} +6 -6
- package/dist/chunks/{instance-56gdpj1q.js → credential-1ygqh575.js} +9 -9
- package/dist/chunks/{instance-kybd2rxw.js → credential-21a5jk7k.js} +14 -14
- package/dist/chunks/{instance-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{instance-zabjaqgp.js → credential-26pye05k.js} +7 -7
- package/dist/chunks/{instance-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-bgwz9jn7.js → credential-2feh4c3v.js} +18 -18
- package/dist/chunks/{instance-h79vk5n1.js → credential-2nycvdb8.js} +33 -33
- package/dist/chunks/{instance-kvw4zqcr.js → credential-33kgjfz5.js} +86 -86
- package/dist/chunks/{instance-qbsmd41d.js → credential-34jgwge8.js} +9 -9
- package/dist/chunks/{instance-hnmyxa6k.js → credential-3batxdes.js} +45 -45
- package/dist/chunks/{instance-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-yp8ya171.js → credential-3g58nq9n.js} +172 -172
- package/dist/chunks/{instance-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-awbdwcvp.js → credential-3nxb9rvh.js} +9 -9
- package/dist/chunks/{instance-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-adxneatt.js → credential-3sqtj86k.js} +41 -41
- package/dist/chunks/{instance-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-zv30fynd.js → credential-4e4ycstq.js} +10 -10
- package/dist/chunks/{instance-8fa3dps7.js → credential-4eb3ngbp.js} +6 -6
- package/dist/chunks/{instance-naxreecs.js → credential-4f4r2056.js} +20 -20
- package/dist/chunks/{instance-prhmb2m0.js → credential-4j4j6b7c.js} +21 -21
- package/dist/chunks/{instance-rffakc6t.js → credential-4naz9raq.js} +9 -9
- package/dist/chunks/{instance-szn5gnby.js → credential-4p7g3wg8.js} +28 -28
- package/dist/chunks/{instance-x5tfqtqr.js → credential-4sdp0m6c.js} +34 -34
- package/dist/chunks/credential-4vjscmnp.js +247 -0
- package/dist/chunks/{instance-0cqcvrxj.js → credential-4xe4npvy.js} +20 -20
- package/dist/chunks/{instance-a2rkxg63.js → credential-58jet3bj.js} +22 -22
- package/dist/chunks/{instance-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-ejx21pzt.js → credential-5dsh741q.js} +16 -16
- package/dist/chunks/{instance-mdrt31wt.js → credential-5jjjy8t8.js} +11 -11
- package/dist/chunks/{instance-zxgnc9zk.js → credential-5kzc33a4.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-63e2pprf.js → credential-5z248baa.js} +11 -11
- package/dist/chunks/credential-6640nxyp.js +63 -0
- package/dist/chunks/{instance-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → credential-6h73sxmp.js} +1 -1
- package/dist/chunks/{instance-2a10s75x.js → credential-6k8padng.js} +9 -9
- package/dist/chunks/credential-6kdq0pjd.js +4 -0
- package/dist/chunks/{instance-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-gsqa3fkf.js → credential-6rm0dwms.js} +4 -4
- package/dist/chunks/{instance-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-8tzdpj1k.js → credential-7b5mp5c8.js} +20 -20
- package/dist/chunks/{instance-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-g2rrghcj.js → credential-7fy1mpjh.js} +20 -20
- package/dist/chunks/{instance-xjvexad5.js → credential-7g3h93b8.js} +17 -17
- package/dist/chunks/{instance-vrmbk9b3.js → credential-7hdna1a1.js} +12 -12
- package/dist/chunks/{instance-dzgqajh9.js → credential-7rr0m4bs.js} +24 -24
- package/dist/chunks/{instance-frf5pa85.js → credential-7vqdbxhf.js} +21 -21
- package/dist/chunks/{instance-66m6ryhw.js → credential-7vx5fws8.js} +22 -22
- package/dist/chunks/{instance-ty2jx0g0.js → credential-83jbspt8.js} +6 -6
- package/dist/chunks/{instance-7b15y959.js → credential-844ef7ks.js} +8 -8
- package/dist/chunks/{instance-tcezcvh9.js → credential-89znhe33.js} +4 -4
- package/dist/chunks/{instance-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-ebhk0gzw.js → credential-8f79ekhe.js} +20 -20
- package/dist/chunks/{instance-cgw5255p.js → credential-8gcdc49z.js} +5 -5
- package/dist/chunks/{instance-dj2t23y0.js → credential-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-enndethk.js → credential-8r1kcnkf.js} +9 -9
- package/dist/chunks/{instance-e8t7n0n4.js → credential-8tzm5kpv.js} +14 -14
- package/dist/chunks/{instance-1rmngpxg.js → credential-8w44pm91.js} +2 -2
- package/dist/chunks/{instance-0aej6zys.js → credential-966c8cap.js} +25 -25
- package/dist/chunks/{instance-w3q19cma.js → credential-9c1g789v.js} +9 -9
- package/dist/chunks/{instance-2f04pwep.js → credential-9m3dk78v.js} +3 -3
- package/dist/chunks/{instance-5c4hm403.js → credential-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-4d70nnfp.js → credential-a5drzcdb.js} +19 -19
- package/dist/chunks/{instance-f3ngv102.js → credential-a8bn8zg0.js} +4 -4
- package/dist/chunks/{instance-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-p0cja4mf.js → credential-af3pq8fz.js} +5 -5
- package/dist/chunks/{instance-hqzv2zrf.js → credential-aqapmjqb.js} +10 -10
- package/dist/chunks/{instance-vzrz8rh7.js → credential-aqsvh3mt.js} +4 -4
- package/dist/chunks/{instance-9587dzg1.js → credential-ay8ez75v.js} +32 -32
- package/dist/chunks/{instance-9v3w9xbd.js → credential-ayzmjt8w.js} +37 -37
- package/dist/chunks/{instance-vqmr0pha.js → credential-b15px6y4.js} +24 -24
- package/dist/chunks/{instance-7qp9dbwx.js → credential-b191y2av.js} +3 -3
- package/dist/chunks/{instance-9a6pd9wk.js → credential-b1xevyg4.js} +23 -23
- package/dist/chunks/{instance-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-eeke5b1b.js → credential-b8q0kteq.js} +4 -4
- package/dist/chunks/{instance-y31b318c.js → credential-bajakh74.js} +4 -4
- package/dist/chunks/{instance-vnwmzs4a.js → credential-bgs9y14h.js} +5 -5
- package/dist/chunks/{instance-4n7anxvp.js → credential-bpgg8zv2.js} +14 -14
- package/dist/chunks/{instance-bhn6nzqw.js → credential-bsmwhs5j.js} +13 -13
- package/dist/chunks/{instance-hjsa270y.js → credential-bzrne2cf.js} +27 -27
- package/dist/chunks/{instance-j8zzr2am.js → credential-c576t1j6.js} +9 -9
- package/dist/chunks/{instance-9gqncv86.js → credential-c9v3njsq.js} +6 -6
- package/dist/chunks/{instance-evpkjn8p.js → credential-cbtntvbe.js} +10 -10
- package/dist/chunks/{instance-m0jqrx5p.js → credential-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-nm4299rz.js → credential-ck0ahkdp.js} +6 -6
- package/dist/chunks/{instance-j5ztw4z3.js → credential-crkg5x17.js} +17 -17
- package/dist/chunks/{instance-t9c17wmd.js → credential-cvs5r53p.js} +6 -6
- package/dist/chunks/{instance-m3q4xbmf.js → credential-cw7k1zn0.js} +28 -28
- package/dist/chunks/{instance-8qk9tw02.js → credential-cwmq7ztw.js} +1 -1
- package/dist/chunks/{instance-bx4qmb9g.js → credential-d2aac7k2.js} +5 -5
- package/dist/chunks/{instance-h7k619ye.js → credential-dda3kyyb.js} +11 -11
- package/dist/chunks/{instance-4xbskmpe.js → credential-dj9sq318.js} +5 -5
- package/dist/chunks/{instance-taffhj1h.js → credential-djgrr753.js} +27 -27
- package/dist/chunks/{instance-x0e6qwje.js → credential-dkgmj00c.js} +20 -20
- package/dist/chunks/{instance-kv861fwr.js → credential-dnanfhkd.js} +15 -15
- package/dist/chunks/{instance-y71avatq.js → credential-dpkg50ah.js} +4 -4
- package/dist/chunks/{instance-t9e6e84n.js → credential-drxtvntd.js} +1 -1
- package/dist/chunks/{instance-91kzfy2j.js → credential-dsgca7mb.js} +11 -11
- package/dist/chunks/{instance-8jndy7jd.js → credential-dtrk9gzb.js} +22 -22
- package/dist/chunks/{instance-h7bhx2wj.js → credential-dy52c8h1.js} +15 -15
- package/dist/chunks/{instance-4cgf21fz.js → credential-e4f8tf4k.js} +62 -62
- package/dist/chunks/{instance-6hc7z342.js → credential-e6hmchc5.js} +5 -5
- package/dist/chunks/{instance-hjt4xg1x.js → credential-e82z9tr0.js} +7 -7
- package/dist/chunks/{instance-02zskd6f.js → credential-e9cy62py.js} +4 -4
- package/dist/chunks/{instance-2c0b9tk5.js → credential-ed29z705.js} +4 -4
- package/dist/chunks/{instance-6y292xw6.js → credential-eddgwn1r.js} +22 -22
- package/dist/chunks/{instance-x6r00jnc.js → credential-ejv06xv9.js} +56 -56
- package/dist/chunks/{instance-wqkncbjv.js → credential-ekab52cg.js} +6 -6
- package/dist/chunks/{instance-qez77x2d.js → credential-enjtf4g5.js} +21 -21
- package/dist/chunks/{instance-q3zg87hy.js → credential-er05gb0t.js} +19 -19
- package/dist/chunks/{instance-7dqw4kz8.js → credential-esafk7q3.js} +5 -5
- package/dist/chunks/{instance-km7jpebh.js → credential-essb66p0.js} +26 -26
- package/dist/chunks/{instance-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-zqz4jdp2.js → credential-ewhzqcma.js} +10 -10
- package/dist/chunks/{instance-kpvyk30t.js → credential-f7ehr2sm.js} +9 -9
- package/dist/chunks/{instance-hdnk95c8.js → credential-f828m53h.js} +2 -2
- package/dist/chunks/{instance-gzqnxn46.js → credential-ff6j3eyt.js} +13 -13
- package/dist/chunks/{instance-c528srjm.js → credential-ffnezcy6.js} +46 -46
- package/dist/chunks/{instance-np4m5fpj.js → credential-fvn9gckt.js} +22 -22
- package/dist/chunks/{instance-e6720tr1.js → credential-fwr271s3.js} +24 -24
- package/dist/chunks/{instance-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-a43s45q5.js → credential-gb33nbqp.js} +40 -40
- package/dist/chunks/{instance-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-00btbdax.js → credential-gsdcmbmr.js} +54 -54
- package/dist/chunks/{instance-sw3r3x1t.js → credential-gsx0ryk4.js} +9 -9
- package/dist/chunks/{instance-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/credential-h2j3v1fy.js +462 -0
- package/dist/chunks/{instance-hhnemazm.js → credential-h4e6gkjy.js} +11 -11
- package/dist/chunks/{instance-vexpznsa.js → credential-h4j6qtac.js} +12 -12
- package/dist/chunks/{instance-qm29392x.js → credential-h54g1dhn.js} +5 -5
- package/dist/chunks/{instance-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-n8yjw666.js → credential-hczynf47.js} +9 -9
- package/dist/chunks/{instance-nq0sdxn2.js → credential-hq4namph.js} +13 -13
- package/dist/chunks/{instance-9tc5smpg.js → credential-hrm8y51b.js} +29 -29
- package/dist/chunks/{instance-5z5zwjym.js → credential-hv14eds1.js} +9 -9
- package/dist/chunks/{instance-p72z5xx6.js → credential-hyd8y20x.js} +2 -2
- package/dist/chunks/{instance-rfg5pwyx.js → credential-j4xyrz15.js} +17 -17
- package/dist/chunks/{instance-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-7nvervjk.js → credential-j5eg37j2.js} +23 -23
- package/dist/chunks/{instance-cjv0pc3e.js → credential-jaevav1w.js} +13 -13
- package/dist/chunks/{instance-1ajn7x1d.js → credential-jd8xsdb7.js} +25 -25
- package/dist/chunks/{instance-2wcm5qkf.js → credential-jkw62c4x.js} +24 -24
- package/dist/chunks/{instance-84vd1cs0.js → credential-jpreg3hv.js} +5 -5
- package/dist/chunks/{instance-f5dy0vak.js → credential-k0ncd55s.js} +11 -11
- package/dist/chunks/{instance-5qvyv5vg.js → credential-k8mz02ds.js} +36 -36
- package/dist/chunks/{instance-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-xbv5m7mc.js → credential-kg7hpk6b.js} +20 -20
- package/dist/chunks/{instance-tzh4n3sb.js → credential-kkxyzwpq.js} +18 -18
- package/dist/chunks/{instance-h6cfxbqt.js → credential-kxcd42x8.js} +33 -33
- package/dist/chunks/{instance-ffx4mq6v.js → credential-kyfddjrj.js} +1 -1
- package/dist/chunks/{instance-ytx6pywt.js → credential-m4455s3y.js} +25 -25
- package/dist/chunks/{instance-y6y301ds.js → credential-m4r2ec35.js} +23 -23
- package/dist/chunks/{instance-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-yhj4pxny.js → credential-mb942295.js} +6 -6
- package/dist/chunks/{instance-kvx3xm55.js → credential-mgpvk6q1.js} +17 -17
- package/dist/chunks/{instance-7yh4e7ss.js → credential-mhkvc446.js} +3 -3
- package/dist/chunks/{instance-5wxtjvz1.js → credential-mjanhrey.js} +15 -15
- package/dist/chunks/{instance-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instance-w1k39n5e.js → credential-msq0jde0.js} +4 -4
- package/dist/chunks/{instance-n9vjy7vk.js → credential-mxcvjysz.js} +12 -12
- package/dist/chunks/{instance-epnpy5yw.js → credential-n3yewg4x.js} +5 -5
- package/dist/chunks/{instance-891xsxp1.js → credential-n5650byf.js} +17 -17
- package/dist/chunks/{instance-fagd81np.js → credential-nqnvy2d4.js} +47 -47
- package/dist/chunks/{instance-snb2c079.js → credential-p0p6txpm.js} +24 -24
- package/dist/chunks/{instance-rfnzy394.js → credential-p33ejz0k.js} +1 -1
- package/dist/chunks/{instance-knbz53vq.js → credential-p9tm0mrs.js} +18 -18
- package/dist/chunks/{instance-9eve8eyk.js → credential-pefy2fys.js} +4 -4
- package/dist/chunks/{instance-5xzd26eb.js → credential-pg4ttegr.js} +32 -32
- package/dist/chunks/{instance-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{instance-efvawj0d.js → credential-pny7yx7d.js} +13 -13
- package/dist/chunks/{instance-s7xtjryh.js → credential-prhyc2hv.js} +1 -1
- package/dist/chunks/{instance-2a4f6v5q.js → credential-pw9v3g6d.js} +5 -5
- package/dist/chunks/{instance-ew85ryxc.js → credential-q2ytqwwa.js} +12 -12
- package/dist/chunks/{instance-7z2ta81y.js → credential-q312td4y.js} +18 -18
- package/dist/chunks/{instance-gra1ppky.js → credential-q3mrh7hn.js} +6 -6
- package/dist/chunks/{instance-qbxb0yq0.js → credential-q567r7t6.js} +5 -5
- package/dist/chunks/{instance-dc76j9wz.js → credential-q928s5sj.js} +8 -8
- package/dist/chunks/{instance-bw29kp7d.js → credential-qaf3yvw3.js} +16 -16
- package/dist/chunks/credential-qdyb70sk.js +18 -0
- package/dist/chunks/{instance-9qn3qky1.js → credential-qhbg58t9.js} +8 -8
- package/dist/chunks/{instance-840zxbq2.js → credential-qjhwvxvx.js} +18 -18
- package/dist/chunks/{instance-649x8vwy.js → credential-qnkzwnkk.js} +10 -10
- package/dist/chunks/{instance-mm48g0z7.js → credential-qrxqsn15.js} +25 -22
- package/dist/chunks/{instance-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-cz5chahx.js → credential-qtnnx2m7.js} +41 -41
- package/dist/chunks/{instance-wzq4pq7r.js → credential-r7cr63pb.js} +9 -9
- package/dist/chunks/{instance-d01awfpe.js → credential-r8d99g81.js} +18 -18
- package/dist/chunks/{instance-1g7epwpd.js → credential-ratrq7cm.js} +7 -7
- package/dist/chunks/{instance-25nmx83g.js → credential-rce8n207.js} +34 -34
- package/dist/chunks/{instance-d3apn3qh.js → credential-rfhr4evy.js} +27 -27
- package/dist/chunks/{instance-h25mgkm2.js → credential-rfs6vkg6.js} +8 -8
- package/dist/chunks/{instance-5q2yyvh3.js → credential-rnnysrbx.js} +3 -3
- package/dist/chunks/{instance-66x94rbx.js → credential-rxpr5tzb.js} +17 -17
- package/dist/chunks/{instance-cq9vh2fv.js → credential-rzs3gq0x.js} +8 -8
- package/dist/chunks/{instance-7dg8pccb.js → credential-s1y2e255.js} +42 -42
- package/dist/chunks/{instance-jkyr6s8g.js → credential-s7zpjck1.js} +11 -11
- package/dist/chunks/{instance-vpt56g2a.js → credential-s90d8d6b.js} +6 -6
- package/dist/chunks/{instance-73q02ca8.js → credential-sc5zwnjf.js} +7 -7
- package/dist/chunks/{instance-tm7zr4pr.js → credential-shh6fz4q.js} +4 -4
- package/dist/chunks/{instance-19xzpcas.js → credential-snndsnj2.js} +46 -46
- package/dist/chunks/{instance-m2pqzy60.js → credential-st6cv0zf.js} +41 -41
- package/dist/chunks/{instance-nwcaskpv.js → credential-svntbjgt.js} +25 -25
- package/dist/chunks/{instance-t0x5rdq8.js → credential-t0x5rdq8.js} +2 -2
- package/dist/chunks/{instance-eaj1djv9.js → credential-t550f9t1.js} +8 -8
- package/dist/chunks/{instance-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{instance-yyb7tjpc.js → credential-th5km1p3.js} +5 -5
- package/dist/chunks/{instance-m9qackvx.js → credential-tksm74b3.js} +27 -27
- package/dist/chunks/{instance-bq373rw2.js → credential-tq9yxfd0.js} +50 -50
- package/dist/chunks/{instance-5k2c2spf.js → credential-trt7jtkk.js} +11 -11
- package/dist/chunks/{instance-hvkz51ym.js → credential-tscy7q8w.js} +30 -30
- package/dist/chunks/{instance-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/credential-tw6y6bmq.js +22 -0
- package/dist/chunks/{instance-3440z6ev.js → credential-txc11aqg.js} +8 -8
- package/dist/chunks/{instance-kqdhfbs0.js → credential-tzar2m42.js} +88 -88
- package/dist/chunks/{instance-xnqtaz30.js → credential-v1szd0f8.js} +26 -26
- package/dist/chunks/{instance-j3r1b2h2.js → credential-v5tz0txx.js} +33 -33
- package/dist/chunks/{instance-rfgz8p3a.js → credential-v8tn9yq8.js} +10 -10
- package/dist/chunks/{instance-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-8h515xwn.js → credential-vmar8n8n.js} +17 -17
- package/dist/chunks/{instance-j83byb14.js → credential-vncycja5.js} +4 -4
- package/dist/chunks/{instance-2zmvsqxc.js → credential-vnn0ngfa.js} +9 -9
- package/dist/chunks/{instance-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-0trb1k4k.js → credential-w5837gkz.js} +1 -1
- package/dist/chunks/{instance-a1jbw6wk.js → credential-wb9vn7gc.js} +3 -3
- package/dist/chunks/{instance-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{instance-808fjmsk.js → credential-wm06yq12.js} +25 -25
- package/dist/chunks/{instance-8g55vyxc.js → credential-wq4tenhy.js} +11 -11
- package/dist/chunks/{instance-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
- package/dist/chunks/{instance-dp9wb4n0.js → credential-x92tzhpc.js} +12 -12
- package/dist/chunks/{instance-710w2ech.js → credential-x9nmc2sn.js} +1 -1
- package/dist/chunks/{instance-fh1cj0jq.js → credential-xmhy143a.js} +6 -6
- package/dist/chunks/{instance-e2hjzebn.js → credential-xw0r27ex.js} +4 -4
- package/dist/chunks/{instance-gbpp1m8e.js → credential-xwrmknpr.js} +4 -4
- package/dist/chunks/{instance-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-w57fgss2.js → credential-y2vjxt4h.js} +9 -9
- package/dist/chunks/{instance-jtw0qgy9.js → credential-y7x142mt.js} +8 -8
- package/dist/chunks/{instance-6j6s7zvs.js → credential-ybjz3e3p.js} +2 -2
- package/dist/chunks/{instance-eafsmgxs.js → credential-yc60x9p4.js} +15 -15
- package/dist/chunks/{instance-7hdvrc4w.js → credential-yckq38a0.js} +22 -22
- package/dist/chunks/{instance-pvx4ycye.js → credential-yjqv8qmq.js} +10 -10
- package/dist/chunks/{instance-c0b4e50e.js → credential-yn5yksm3.js} +6 -6
- package/dist/chunks/{instance-r8xr0va3.js → credential-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-5mvd7r80.js → credential-ywa477g8.js} +35 -35
- package/dist/chunks/{instance-5r5rxa4y.js → credential-yx2kztkn.js} +16 -16
- package/dist/chunks/{instance-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-bv56xrks.js → credential-z1f4gy9p.js} +8 -8
- package/dist/chunks/{instance-8ccsmkea.js → credential-z2ymbzcw.js} +20 -20
- package/dist/chunks/{instance-h3ps68as.js → credential-z56nne8r.js} +38 -38
- package/dist/chunks/{instance-z63w68vq.js → credential-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-5h7k74mc.js → credential-zcrvs66x.js} +20 -20
- package/dist/chunks/{instance-rq775frq.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-px7qcgj8.js → credential-zetb5yra.js} +4 -4
- package/dist/chunks/{instance-d2t4e0c6.js → credential-zjmsgra3.js} +5 -5
- package/dist/chunks/{instance-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +121 -121
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/rpc.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 +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/instance-0mesazry.js +0 -4
- package/dist/chunks/instance-7fj5dwt0.js +0 -18
- package/dist/chunks/instance-ektf7zmc.js +0 -462
- package/dist/chunks/instance-ercs2zy5.js +0 -55
- package/dist/chunks/instance-rqznsqxw.js +0 -22
- package/dist/chunks/instance-yb2z9g45.js +0 -247
- /package/dist/chunks/{instance-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a1tpkmh4.js → credential-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → credential-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service38
|
|
4
|
+
} from "./credential-3batxdes.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./credential-7vqdbxhf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
19
|
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service38;
|
|
27
|
+
const shell = yield* Service68;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin15 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export { Plugin15,
|
|
37
|
+
export { Plugin15, exports_shell };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node78
|
|
4
|
+
} from "./credential-7g3h93b8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service66,
|
|
17
|
+
node: () => node71
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service66 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service73;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service66.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node71 = makeLocationNode({
|
|
91
|
+
service: Service66,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node78, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service66, node71, exports_formatter3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-5jjjy8t8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./credential-qhbg58t9.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-26pye05k.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID11.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-5jjjy8t8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin3 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin33 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint3,
|
|
80
|
+
export { endpoint3, Plugin3, exports_tavily };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service57,
|
|
10
|
+
node: () => node60
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service57 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service57.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node60 = makeLocationNode({ service: Service57, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service57, node60, exports_hooks };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./credential-r7cr63pb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./credential-s90d8d6b.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-qdyb70sk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service57
|
|
15
|
+
} from "./credential-q928s5sj.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-ekab52cg.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service34
|
|
23
|
+
} from "./credential-eddgwn1r.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./credential-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service31;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service57;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service34;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service42;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service18,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service18 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service18.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service18, awaitActivation2, exports_service };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID11,
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request3,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID11 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info27 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, exports_provider3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-ed29z705.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./credential-qhbg58t9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID9
|
|
9
|
+
} from "./credential-7hdna1a1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event20
|
|
12
|
+
} from "./credential-tscy7q8w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID16
|
|
15
|
+
} from "./credential-0m29xn9k.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service60
|
|
18
|
+
} from "./credential-m4r2ec35.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./credential-p9tm0mrs.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service60;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID9.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-b191y2av.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node75
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service70.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service70, node75, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-ed29z705.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service73,
|
|
12
|
+
node78
|
|
13
|
+
} from "./credential-7g3h93b8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service71,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node76
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
|
-
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
29
|
+
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
+
class Service71 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,11 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service73;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
|
+
const closed = yield* Deferred.make();
|
|
46
47
|
const callContext = {
|
|
47
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
48
49
|
};
|
|
@@ -81,13 +82,15 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
81
82
|
const event = registered.event;
|
|
82
83
|
const data = yield* encode(event.schema, args[1]);
|
|
83
84
|
return yield* bus.publish(registered.definition, data, {
|
|
84
|
-
location:
|
|
85
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
85
86
|
}).pipe(Effect.asVoid);
|
|
86
87
|
})
|
|
87
88
|
}
|
|
88
89
|
};
|
|
89
90
|
});
|
|
90
91
|
const call = Effect.fn("Rpc.call")(function* (rpcID, name, input) {
|
|
92
|
+
if (yield* Deferred.isDone(closed))
|
|
93
|
+
return yield* Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`));
|
|
91
94
|
const entry = registrations.get(rpcID)?.at(-1);
|
|
92
95
|
if (!entry)
|
|
93
96
|
return yield* Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`));
|
|
@@ -99,7 +102,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
99
102
|
const result = yield* Effect.suspend(() => {
|
|
100
103
|
const execution = Reflect.apply(handler, undefined, [parsed, callContext]);
|
|
101
104
|
return execution;
|
|
102
|
-
}).pipe(Effect.catch((error) => encodeError(method, error)), Effect.catchDefect((defect) => Effect.logError("rpc handler failed", { rpc: rpcID, method: name, defect }).pipe(Effect.andThen(Effect.fail(failure("rpc.internal", "RPC call failed"))))));
|
|
105
|
+
}).pipe(Effect.catch((error) => encodeError(method, error)), Effect.catchDefect((defect) => Effect.logError("rpc handler failed", { rpc: rpcID, method: name, defect }).pipe(Effect.andThen(Effect.fail(failure("rpc.internal", "RPC call failed"))))), Effect.raceFirst(Deferred.await(closed).pipe(Effect.andThen(Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`))))));
|
|
103
106
|
return yield* encode(method.output, result).pipe(Effect.mapError((error) => failure("rpc.invalid_output", errorMessage(error, "Invalid RPC output"))));
|
|
104
107
|
});
|
|
105
108
|
const client = (definition) => {
|
|
@@ -115,19 +118,19 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
115
118
|
const registered = events.get(name);
|
|
116
119
|
if (!registered)
|
|
117
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service73, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
};
|
|
122
125
|
};
|
|
123
|
-
return
|
|
126
|
+
return Service71.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
124
127
|
}));
|
|
125
|
-
var
|
|
128
|
+
var node76 = makeLocationNode({ service: Service71, layer, deps: [node84, node78] });
|
|
126
129
|
var fields = {
|
|
127
130
|
id: Event.ID,
|
|
128
131
|
created: Schema.Finite,
|
|
129
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
130
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref3)
|
|
131
134
|
};
|
|
132
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
133
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -203,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
203
206
|
...payload,
|
|
204
207
|
type: eventType(definition, name),
|
|
205
208
|
data,
|
|
206
|
-
location:
|
|
209
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
207
210
|
};
|
|
208
211
|
});
|
|
209
212
|
|
|
210
|
-
export {
|
|
213
|
+
export { Service71, node76, exports_rpc, define2 };
|