@opencode/core 0.0.0-dev-19370 → 0.0.0-dev-19372
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{credential-e9cy62py.js → pty-02zskd6f.js} +4 -4
- package/dist/chunks/{credential-ck0ahkdp.js → pty-07770t2t.js} +6 -6
- package/dist/chunks/{credential-f7ehr2sm.js → pty-0996nyz8.js} +5 -5
- package/dist/chunks/{credential-t550f9t1.js → pty-0gdmqesm.js} +4 -4
- package/dist/chunks/{credential-h4e6gkjy.js → pty-0gg4eh9d.js} +11 -11
- package/dist/chunks/{credential-1dfhrqqs.js → pty-0hpxrkyb.js} +5 -5
- package/dist/chunks/{credential-34jgwge8.js → pty-0jzeq7bg.js} +9 -9
- package/dist/chunks/pty-0mesazry.js +4 -0
- package/dist/chunks/{credential-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-prhyc2hv.js → pty-0pyqcms3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-j5eg37j2.js → pty-0wmswe57.js} +23 -23
- package/dist/chunks/{credential-hv14eds1.js → pty-0x1qwe4m.js} +9 -9
- package/dist/chunks/{credential-enjtf4g5.js → pty-0x4g6ndm.js} +29 -29
- package/dist/chunks/{credential-rce8n207.js → pty-0xkh6216.js} +34 -34
- package/dist/chunks/{credential-e4f8tf4k.js → pty-102jvkd5.js} +63 -63
- package/dist/chunks/{credential-4sdp0m6c.js → pty-107fwvqp.js} +37 -37
- package/dist/chunks/{credential-xwrmknpr.js → pty-14p0bf99.js} +4 -4
- package/dist/chunks/{credential-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-djgrr753.js → pty-1khr35v4.js} +27 -27
- package/dist/chunks/{credential-1398rwbr.js → pty-1y981vcy.js} +33 -33
- package/dist/chunks/{credential-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{credential-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-a8bn8zg0.js → pty-2pnhn36q.js} +21 -21
- package/dist/chunks/{credential-b8q0kteq.js → pty-2x9w7gwc.js} +4 -4
- package/dist/chunks/{credential-1ygqh575.js → pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{credential-10w8kkbh.js → pty-357v7vj3.js} +33 -33
- package/dist/chunks/{credential-j4xyrz15.js → pty-3a50zsz9.js} +17 -17
- package/dist/chunks/{credential-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-4p7g3wg8.js → pty-3mke1r8k.js} +23 -23
- package/dist/chunks/{credential-fwr271s3.js → pty-3pmjwr1e.js} +24 -24
- package/dist/chunks/{credential-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-jpreg3hv.js → pty-3zhfhk0f.js} +5 -5
- package/dist/chunks/{credential-q2ytqwwa.js → pty-40d8dwxk.js} +14 -14
- package/dist/chunks/{credential-vnn0ngfa.js → pty-41q0v4q7.js} +9 -9
- package/dist/chunks/{credential-v5tz0txx.js → pty-47fetphe.js} +32 -32
- package/dist/chunks/{credential-z56nne8r.js → pty-4azybn4n.js} +37 -37
- package/dist/chunks/{credential-rxpr5tzb.js → pty-4dfh6zmw.js} +17 -17
- package/dist/chunks/{credential-7rr0m4bs.js → pty-4qv5c5xf.js} +26 -26
- package/dist/chunks/{credential-bsmwhs5j.js → pty-4rph1v41.js} +13 -13
- package/dist/chunks/{credential-8gcdc49z.js → pty-4sksr709.js} +5 -5
- package/dist/chunks/{credential-b191y2av.js → pty-4z80d8a9.js} +3 -3
- package/dist/chunks/{credential-089q26yp.js → pty-51kcvgxx.js} +18 -18
- package/dist/chunks/{credential-ybjz3e3p.js → pty-526v470z.js} +2 -2
- package/dist/chunks/{credential-hrm8y51b.js → pty-578n16w1.js} +28 -28
- package/dist/chunks/{credential-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-tscy7q8w.js → pty-5g6xb262.js} +28 -28
- package/dist/chunks/{credential-8r1kcnkf.js → pty-5j4skxhh.js} +9 -9
- package/dist/chunks/{credential-yx2kztkn.js → pty-5j7h8n2k.js} +16 -16
- package/dist/chunks/{credential-ffnezcy6.js → pty-5sjkzzsa.js} +46 -46
- package/dist/chunks/{credential-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-fvn9gckt.js → pty-5vs9ndt5.js} +26 -26
- package/dist/chunks/{credential-sc5zwnjf.js → pty-5zthbsee.js} +7 -7
- package/dist/chunks/{credential-13p69r1g.js → pty-60geffh5.js} +7 -7
- package/dist/chunks/{credential-snndsnj2.js → pty-6126dgt1.js} +46 -46
- package/dist/chunks/{credential-8f79ekhe.js → pty-62k5e5wb.js} +20 -20
- package/dist/chunks/{credential-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{credential-6h73sxmp.js → pty-6h73sxmp.js} +1 -1
- package/dist/chunks/{credential-gsx0ryk4.js → pty-6jnybvqn.js} +9 -9
- package/dist/chunks/{credential-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-af3pq8fz.js → pty-6qw5vjfk.js} +5 -5
- package/dist/chunks/{credential-yckq38a0.js → pty-6xe913v8.js} +22 -22
- package/dist/chunks/{credential-4xe4npvy.js → pty-6zm1wyjc.js} +20 -20
- package/dist/chunks/{credential-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-gb33nbqp.js → pty-76mrr06k.js} +43 -43
- package/dist/chunks/{credential-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-r8d99g81.js → pty-7ce2cjd5.js} +18 -18
- package/dist/chunks/{credential-esafk7q3.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{credential-aqsvh3mt.js → pty-7rjdtxkk.js} +4 -4
- package/dist/chunks/{credential-n3yewg4x.js → pty-7xggmshf.js} +8 -8
- package/dist/chunks/{credential-3nxb9rvh.js → pty-81swgkk7.js} +9 -9
- package/dist/chunks/{credential-msq0jde0.js → pty-88sz8qcd.js} +4 -4
- package/dist/chunks/{credential-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-ayzmjt8w.js → pty-8gtqgsn5.js} +37 -37
- package/dist/chunks/{credential-26pye05k.js → pty-8kcmt1fk.js} +7 -7
- package/dist/chunks/{credential-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-9m3dk78v.js → pty-8vct2pgr.js} +3 -3
- package/dist/chunks/{credential-ed29z705.js → pty-8w0tny4e.js} +4 -4
- package/dist/chunks/{credential-q928s5sj.js → pty-9cg0vjy1.js} +8 -8
- package/dist/chunks/{credential-trt7jtkk.js → pty-9ef57syn.js} +11 -11
- package/dist/chunks/{credential-cw7k1zn0.js → pty-9fxpdq0y.js} +28 -28
- package/dist/chunks/{credential-qjhwvxvx.js → pty-9m9t2a7k.js} +18 -18
- package/dist/chunks/{credential-qhbg58t9.js → pty-9p3b3m98.js} +6 -6
- package/dist/chunks/{credential-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-966c8cap.js → pty-a1dptbm0.js} +25 -25
- package/dist/chunks/{credential-dda3kyyb.js → pty-a31gkhvw.js} +8 -8
- package/dist/chunks/{credential-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-x9nmc2sn.js → pty-abkdt1xb.js} +1 -1
- package/dist/chunks/{credential-xmhy143a.js → pty-ajghh6ra.js} +6 -6
- package/dist/chunks/{credential-0hch6svz.js → pty-an126cry.js} +30 -30
- package/dist/chunks/{credential-y2vjxt4h.js → pty-b1rqwz98.js} +9 -9
- package/dist/chunks/{credential-p33ejz0k.js → pty-b3wkxfg9.js} +1 -1
- package/dist/chunks/{credential-05jaqbfy.js → pty-b428793c.js} +17 -17
- package/dist/chunks/{credential-txc11aqg.js → pty-b5svzbqe.js} +11 -11
- package/dist/chunks/{credential-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-a5drzcdb.js → pty-b7n25z46.js} +16 -16
- package/dist/chunks/{credential-8w44pm91.js → pty-bagg3g1z.js} +2 -2
- package/dist/chunks/{credential-v1szd0f8.js → pty-bgks4w36.js} +24 -24
- package/dist/chunks/{credential-q3mrh7hn.js → pty-bh8p3ktg.js} +6 -6
- package/dist/chunks/{credential-ejv06xv9.js → pty-bw8xqn9c.js} +54 -54
- package/dist/chunks/{credential-04cfyv7b.js → pty-bxft0ra9.js} +32 -32
- package/dist/chunks/pty-by5v678g.js +18 -0
- package/dist/chunks/{credential-3batxdes.js → pty-c487kk09.js} +45 -45
- package/dist/chunks/{credential-jd8xsdb7.js → pty-c4twzx9w.js} +20 -20
- package/dist/chunks/{credential-zjmsgra3.js → pty-c9cenec4.js} +5 -5
- package/dist/chunks/{credential-kyfddjrj.js → pty-cd4mc13g.js} +1 -1
- package/dist/chunks/{credential-c576t1j6.js → pty-cf3tj770.js} +7 -7
- package/dist/chunks/{credential-4naz9raq.js → pty-cf7stcnz.js} +6 -6
- package/dist/chunks/{credential-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-hczynf47.js → pty-cgs7ndjq.js} +9 -9
- package/dist/chunks/{credential-6k8padng.js → pty-cj4mykbe.js} +9 -9
- package/dist/chunks/{credential-crkg5x17.js → pty-cjr8y0wq.js} +20 -20
- package/dist/chunks/{credential-rzs3gq0x.js → pty-cny5rd43.js} +8 -8
- package/dist/chunks/{credential-33kgjfz5.js → pty-crd48we5.js} +83 -83
- package/dist/chunks/{credential-83jbspt8.js → pty-cwtk2d1m.js} +6 -6
- package/dist/chunks/{credential-nqnvy2d4.js → pty-d1f48wm0.js} +46 -46
- package/dist/chunks/{credential-tq9yxfd0.js → pty-dcdbx179.js} +50 -50
- package/dist/chunks/{credential-rfhr4evy.js → pty-ddmrj1q7.js} +27 -27
- package/dist/chunks/{credential-xw0r27ex.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{credential-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{credential-c9v3njsq.js → pty-e1sywrpy.js} +6 -6
- package/dist/chunks/{credential-h54g1dhn.js → pty-eea9n1gg.js} +5 -5
- package/dist/chunks/{credential-mgpvk6q1.js → pty-eg20r4ae.js} +17 -17
- package/dist/chunks/{credential-tzar2m42.js → pty-egkwkxxa.js} +86 -86
- package/dist/chunks/{credential-mhkvc446.js → pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{credential-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-h4j6qtac.js → pty-ewyzxja9.js} +10 -10
- package/dist/chunks/{credential-pefy2fys.js → pty-exrwhhqk.js} +4 -4
- package/dist/chunks/{credential-hyd8y20x.js → pty-ezs85qj9.js} +2 -2
- package/dist/chunks/{credential-yn5yksm3.js → pty-f242nvhy.js} +6 -6
- package/dist/chunks/{credential-yp2x3t23.js → pty-f2n192rq.js} +4 -4
- package/dist/chunks/{credential-st6cv0zf.js → pty-f4dw8gwj.js} +41 -41
- package/dist/chunks/{credential-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{credential-z2ymbzcw.js → pty-f9dcx0s3.js} +17 -17
- package/dist/chunks/{credential-p0p6txpm.js → pty-feebpcf8.js} +20 -20
- package/dist/chunks/{credential-dj9sq318.js → pty-fpmq6gma.js} +5 -5
- package/dist/chunks/{credential-qtnnx2m7.js → pty-fr2caje5.js} +36 -36
- package/dist/chunks/{credential-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-rnnysrbx.js → pty-g254301b.js} +3 -3
- package/dist/chunks/{credential-7b5mp5c8.js → pty-gcbpht8g.js} +18 -18
- package/dist/chunks/{credential-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-drxtvntd.js → pty-gf4qtxm6.js} +1 -1
- package/dist/chunks/{credential-yc60x9p4.js → pty-ghe33san.js} +15 -15
- package/dist/chunks/{credential-bgs9y14h.js → pty-ghrzdqqx.js} +5 -5
- package/dist/chunks/{credential-z1f4gy9p.js → pty-gj9xpvv3.js} +4 -4
- package/dist/chunks/{credential-9c1g789v.js → pty-gqqez5b8.js} +9 -9
- package/dist/chunks/{credential-05ffq7ws.js → pty-gtjpq3yd.js} +10 -10
- package/dist/chunks/{credential-dsgca7mb.js → pty-gvvw2n81.js} +11 -11
- package/dist/chunks/{credential-7vqdbxhf.js → pty-gw1k03mf.js} +11 -11
- package/dist/chunks/{credential-ay8ez75v.js → pty-gy3ftesa.js} +32 -32
- package/dist/chunks/{credential-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-1b74es1f.js → pty-h91yv7bq.js} +16 -16
- package/dist/chunks/{credential-e6hmchc5.js → pty-hcz3zddy.js} +5 -5
- package/dist/chunks/{credential-dy52c8h1.js → pty-hdsygwhy.js} +12 -12
- package/dist/chunks/{credential-v8tn9yq8.js → pty-hv7vaf99.js} +7 -7
- package/dist/chunks/{credential-cbtntvbe.js → pty-hw55hn24.js} +7 -7
- package/dist/chunks/{credential-h2j3v1fy.js → pty-j4rqb0e8.js} +293 -293
- package/dist/chunks/{credential-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-paphc93g.js → pty-j935v87r.js} +2 -2
- package/dist/chunks/pty-jcst6tya.js +247 -0
- package/dist/chunks/{credential-yjqv8qmq.js → pty-jefma2gq.js} +10 -10
- package/dist/chunks/{credential-aqapmjqb.js → pty-jfdrs8g9.js} +10 -10
- package/dist/chunks/{credential-ratrq7cm.js → pty-jfqtm2ew.js} +4 -4
- package/dist/chunks/{credential-qaf3yvw3.js → pty-jjc2e0wf.js} +16 -16
- package/dist/chunks/{credential-eddgwn1r.js → pty-jrvvap85.js} +22 -22
- package/dist/chunks/{credential-q567r7t6.js → pty-jsaewa63.js} +5 -5
- package/dist/chunks/{credential-ff6j3eyt.js → pty-jt2m25jy.js} +13 -13
- package/dist/chunks/{credential-jaevav1w.js → pty-jxcvs55h.js} +13 -13
- package/dist/chunks/{credential-n5650byf.js → pty-jy3rk2pm.js} +15 -15
- package/dist/chunks/{credential-ywa477g8.js → pty-k8a0mrdq.js} +39 -39
- package/dist/chunks/{credential-7vx5fws8.js → pty-ken34rgm.js} +20 -20
- package/dist/chunks/{credential-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-1319r755.js → pty-khy2t77v.js} +32 -32
- package/dist/chunks/{credential-s1y2e255.js → pty-kjr2p1gf.js} +37 -37
- package/dist/chunks/{credential-6rm0dwms.js → pty-kv3072p9.js} +4 -4
- package/dist/chunks/{credential-zetb5yra.js → pty-kwgqzsmm.js} +4 -4
- package/dist/chunks/{credential-m4455s3y.js → pty-m0f7gyab.js} +24 -24
- package/dist/chunks/{credential-k0ncd55s.js → pty-m0pn08h0.js} +8 -8
- package/dist/chunks/{credential-4f4r2056.js → pty-m2r7xkr0.js} +18 -18
- package/dist/chunks/{credential-2feh4c3v.js → pty-m5aw9kqs.js} +18 -18
- package/dist/chunks/{credential-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-qnkzwnkk.js → pty-mf3kdcv1.js} +10 -10
- package/dist/chunks/{credential-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-k8mz02ds.js → pty-mnewsc6w.js} +34 -34
- package/dist/chunks/{credential-shh6fz4q.js → pty-mqy0jkn2.js} +4 -4
- package/dist/chunks/{credential-d2aac7k2.js → pty-mtft99cd.js} +5 -5
- package/dist/chunks/{credential-q312td4y.js → pty-mwva2wqz.js} +18 -18
- package/dist/chunks/{credential-b15px6y4.js → pty-nfk4q15c.js} +22 -22
- package/dist/chunks/{credential-5kzc33a4.js → pty-ng5shs3s.js} +1 -1
- package/dist/chunks/{credential-e82z9tr0.js → pty-nhy5jxhy.js} +7 -7
- package/dist/chunks/{credential-essb66p0.js → pty-nw5w3cjp.js} +23 -23
- package/dist/chunks/{credential-t0x5rdq8.js → pty-p1wf2k30.js} +9 -9
- package/dist/chunks/{credential-pny7yx7d.js → pty-p9ts1dg8.js} +13 -13
- package/dist/chunks/{credential-dtrk9gzb.js → pty-pc04q47q.js} +24 -24
- package/dist/chunks/{credential-2nycvdb8.js → pty-pe79rxdj.js} +31 -31
- package/dist/chunks/{credential-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{credential-r7cr63pb.js → pty-pqd1mzxt.js} +8 -8
- package/dist/chunks/{credential-0m29xn9k.js → pty-q1bbvmq4.js} +26 -26
- package/dist/chunks/{credential-21a5jk7k.js → pty-q1hjdkpd.js} +14 -14
- package/dist/chunks/{credential-rfs6vkg6.js → pty-q1tx050w.js} +8 -8
- package/dist/chunks/{credential-p9tm0mrs.js → pty-q24fq4k9.js} +18 -18
- package/dist/chunks/{credential-gsdcmbmr.js → pty-q6rs4hjt.js} +49 -49
- package/dist/chunks/{credential-bzrne2cf.js → pty-qgp720zn.js} +27 -27
- package/dist/chunks/{credential-ekab52cg.js → pty-qgy2rw28.js} +7 -7
- package/dist/chunks/{credential-7g3h93b8.js → pty-qpw0y00r.js} +17 -17
- package/dist/chunks/{credential-vncycja5.js → pty-qq11w61w.js} +4 -4
- package/dist/chunks/{credential-8tzm5kpv.js → pty-qr736bxy.js} +11 -11
- package/dist/chunks/{credential-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-1nzs1dt7.js → pty-qz49fwgp.js} +6 -6
- package/dist/chunks/{credential-cvs5r53p.js → pty-qzdews7q.js} +6 -6
- package/dist/chunks/{credential-m4r2ec35.js → pty-r0xf0e5c.js} +25 -25
- package/dist/chunks/{credential-5dsh741q.js → pty-r8febyms.js} +14 -14
- package/dist/chunks/{credential-dnanfhkd.js → pty-r8nahq2d.js} +15 -15
- package/dist/chunks/{credential-mb942295.js → pty-rbygrj0c.js} +6 -6
- package/dist/chunks/{credential-015cheya.js → pty-refnp3pv.js} +4 -4
- package/dist/chunks/{credential-5jjjy8t8.js → pty-rkg39e93.js} +7 -7
- package/dist/chunks/pty-rnevd4w8.js +22 -0
- package/dist/chunks/{credential-tksm74b3.js → pty-rrdk89a5.js} +27 -27
- package/dist/chunks/{credential-4j4j6b7c.js → pty-rssnh3zg.js} +24 -24
- package/dist/chunks/{credential-zcrvs66x.js → pty-rxjhrqx1.js} +20 -20
- package/dist/chunks/{credential-kg7hpk6b.js → pty-rxyhbgbe.js} +20 -20
- package/dist/chunks/{credential-4e4ycstq.js → pty-rzyzyf97.js} +10 -10
- package/dist/chunks/{credential-er05gb0t.js → pty-s0fyf8fb.js} +19 -19
- package/dist/chunks/{credential-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-pg4ttegr.js → pty-s4sy206n.js} +32 -32
- package/dist/chunks/{credential-pw9v3g6d.js → pty-s8bz6z4k.js} +8 -8
- package/dist/chunks/{credential-vmar8n8n.js → pty-sgaqms2z.js} +13 -13
- package/dist/chunks/{credential-dkgmj00c.js → pty-sgvsg5c7.js} +15 -15
- package/dist/chunks/{credential-5z248baa.js → pty-sr4mx09d.js} +11 -11
- package/dist/chunks/{credential-wm06yq12.js → pty-szjmac0q.js} +25 -25
- package/dist/chunks/{credential-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{credential-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{credential-ewhzqcma.js → pty-te0vzhy5.js} +10 -10
- package/dist/chunks/{credential-th5km1p3.js → pty-th5km1p3.js} +2 -2
- package/dist/chunks/{credential-wb9vn7gc.js → pty-tp2tr8k0.js} +3 -3
- package/dist/chunks/{credential-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-hq4namph.js → pty-tzaf1sec.js} +10 -10
- package/dist/chunks/{credential-4eb3ngbp.js → pty-v1y1zkts.js} +6 -6
- package/dist/chunks/{credential-kxcd42x8.js → pty-v6wk655t.js} +36 -36
- package/dist/chunks/{credential-s90d8d6b.js → pty-v8jfbz3g.js} +6 -6
- package/dist/chunks/{credential-w5837gkz.js → pty-v9cmgtcf.js} +1 -1
- package/dist/chunks/{credential-mxcvjysz.js → pty-vaynpwqg.js} +12 -12
- package/dist/chunks/{credential-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-bajakh74.js → pty-vkxpz7g2.js} +4 -4
- package/dist/chunks/{credential-cwmq7ztw.js → pty-vyqtz9n7.js} +1 -1
- package/dist/chunks/{credential-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-b1xevyg4.js → pty-w7zd1bg5.js} +22 -22
- package/dist/chunks/{credential-3sqtj86k.js → pty-w8dmehha.js} +41 -41
- package/dist/chunks/{credential-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{credential-jkw62c4x.js → pty-wf7nhwxb.js} +21 -21
- package/dist/chunks/{credential-7hdna1a1.js → pty-wnqzfj2j.js} +12 -12
- package/dist/chunks/{credential-6640nxyp.js → pty-wreggwv7.js} +13 -13
- package/dist/chunks/{credential-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-svntbjgt.js → pty-xa6by1f1.js} +22 -22
- package/dist/chunks/{credential-qrxqsn15.js → pty-xdzdvgbv.js} +20 -20
- package/dist/chunks/{credential-wq4tenhy.js → pty-xj584aw0.js} +11 -11
- package/dist/chunks/{credential-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{credential-s7zpjck1.js → pty-yfbmjfv9.js} +11 -11
- package/dist/chunks/{credential-7fy1mpjh.js → pty-ym4367vb.js} +20 -20
- package/dist/chunks/{credential-mjanhrey.js → pty-yntqacmd.js} +15 -15
- package/dist/chunks/{credential-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-1h4ktfcf.js → pty-yww5gzhe.js} +5 -5
- package/dist/chunks/{credential-x92tzhpc.js → pty-yy158baq.js} +14 -14
- package/dist/chunks/{credential-3g58nq9n.js → pty-yzsvg0b0.js} +170 -170
- package/dist/chunks/{credential-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-bpgg8zv2.js → pty-z5c2cr5p.js} +16 -16
- package/dist/chunks/{credential-0wd4jbpn.js → pty-z5wc9zep.js} +11 -11
- package/dist/chunks/{credential-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-kkxyzwpq.js → pty-zjqdssy0.js} +18 -18
- package/dist/chunks/{credential-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-58jet3bj.js → pty-zvpdk192.js} +24 -24
- package/dist/chunks/{credential-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-y7x142mt.js → pty-zyr433b0.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +124 -124
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- 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 +81 -81
- 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 +6 -6
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- 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 +120 -120
- 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 +106 -106
- 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 +97 -97
- package/dist/plugin/command.js +94 -94
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +115 -115
- 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 +78 -78
- 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 +343 -343
- package/dist/plugin/update.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +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 +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- 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 +129 -129
- 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 +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +121 -121
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- 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 +211 -211
- 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 +7 -7
- 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 +86 -86
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- 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 +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- 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/credential-4vjscmnp.js +0 -247
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-qdyb70sk.js +0 -18
- package/dist/chunks/credential-tw6y6bmq.js +0 -22
- /package/dist/chunks/{credential-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
12
|
Service: () => Service4,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service4,
|
|
54
|
+
export { Service4, node6, exports_update };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make18,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make18(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./pty-c487kk09.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./pty-pqd1mzxt.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
|
+
const image = yield* Service41;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin20 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin27, exports_image };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -385,4 +385,4 @@ function update2(adapter, event) {
|
|
|
385
385
|
return project(event);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
export {
|
|
388
|
+
export { update3, exports_message_updater };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-9p3b3m98.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./pty-c487kk09.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin32
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin32 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service67;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
|
|
|
155
155
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export {
|
|
158
|
+
export { Plugin32, exports_provider };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./pty-q6rs4hjt.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin6,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin6 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service51;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin35 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin6, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rkg39e93.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin18,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin18 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin4 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin4 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin18, exports_parallel };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./pty-m0f7gyab.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./pty-q6rs4hjt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./pty-a1dptbm0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin3 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service51;
|
|
53
|
+
const forms = yield* Service59;
|
|
54
|
+
const websearch = yield* Service22;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin3, exports_websearch };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-8w0tny4e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./pty-qpw0y00r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./pty-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service73,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node78
|
|
16
|
+
} from "./pty-gw1k03mf.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-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: () => CreateInput2,
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node22
|
|
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 Event3 } 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 Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service73;
|
|
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(Service52, 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 NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service52, 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 = ID2.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(Service52, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node22 = makeLocationNode({
|
|
274
|
+
service: Service19,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node81, node78]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service19, node22, exports_pty, Event3 };
|