@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service56
|
|
4
|
+
} from "./credential-4j4j6b7c.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service38
|
|
8
|
+
} from "./credential-3batxdes.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-9m3dk78v.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service32
|
|
14
|
+
} from "./credential-n5650byf.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service53
|
|
18
|
+
} from "./credential-gsdcmbmr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service14
|
|
21
|
+
} from "./credential-33kgjfz5.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./credential-k0ncd55s.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Output: () => Output3,
|
|
37
|
+
Plugin: () => Plugin33,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input12 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output3 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin33 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service14;
|
|
84
|
+
const jobs = yield* Service32;
|
|
85
|
+
const agents = yield* Service56;
|
|
86
|
+
const config = yield* Service38;
|
|
87
|
+
const permission = yield* Service53;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input3,
|
|
94
|
+
output: Output3,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin14 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin14 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID7.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name3, Input3, Output3, description2, Plugin33, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service42,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node45
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service42 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service42.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service42, node45, exports_image2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-st6cv0zf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node78
|
|
10
|
+
} from "./credential-7g3h93b8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service53,
|
|
13
|
+
node56
|
|
14
|
+
} from "./credential-gsdcmbmr.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service45,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node48,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service73;
|
|
61
|
+
const permission = yield* Service53;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service45.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node48 = makeLocationNode({ service: Service45, layer, deps: [FSUtil.node, node78, node56] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service45, resolvePath2, node48, exports_file_access };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command5 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-ed29z705.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./credential-7g3h93b8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./credential-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service68,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node73
|
|
16
|
+
} from "./credential-7vqdbxhf.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event9,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info20,
|
|
31
|
+
NotFoundError: () => NotFoundError5,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node55
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info20 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service52 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const shell = yield* Service68;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service52.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node55 = makeLocationNode({
|
|
274
|
+
service: Service52,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node78, node73]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info20, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service52, node55, exports_pty, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./credential-7g3h93b8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./credential-r8d99g81.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./credential-er05gb0t.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./credential-05jaqbfy.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin39,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin39 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service45;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin4 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent5 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name9, Input9, Plugin39, toModelContent5, exports_read };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./credential-jkw62c4x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./credential-s90d8d6b.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-qdyb70sk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service31;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-ffnezcy6.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|