@opencode/core 0.0.0-dev-19617 → 0.0.0-dev-19619
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-retention-w6k2nhch.js → state-097xh0r3.js} +33 -33
- package/dist/chunks/{file-retention-29cs1g18.js → state-0faq74rz.js} +11 -11
- package/dist/chunks/{file-retention-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-sazb1h0p.js → state-0wzb4xv0.js} +11 -11
- package/dist/chunks/{file-retention-x4nz54qe.js → state-0xdeh7pz.js} +15 -15
- package/dist/chunks/{file-retention-gjzff5er.js → state-10q2fftm.js} +10 -10
- package/dist/chunks/{file-retention-fqb2p7cx.js → state-19vf66h0.js} +4 -4
- package/dist/chunks/{file-retention-ej3vp9cf.js → state-1a1r3f73.js} +6 -6
- package/dist/chunks/{file-retention-9jwg4mj7.js → state-1b89q7zg.js} +14 -14
- package/dist/chunks/{file-retention-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-fy1kaafr.js → state-1p637tnt.js} +14 -14
- package/dist/chunks/{file-retention-70y17xeh.js → state-1x75wf9g.js} +5 -5
- package/dist/chunks/state-2118r6de.js +26 -0
- package/dist/chunks/{file-retention-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-18swyw0t.js → state-28kcw9hr.js} +45 -45
- package/dist/chunks/{file-retention-8rr5w2ew.js → state-29rcqgc7.js} +80 -80
- package/dist/chunks/{file-retention-a9tcrq61.js → state-29wq7zbx.js} +12 -12
- package/dist/chunks/{file-retention-z63w68vq.js → state-29x78va6.js} +6 -6
- package/dist/chunks/{file-retention-aqeqq1tf.js → state-2a1p01cj.js} +51 -51
- package/dist/chunks/{file-retention-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-h7ygw6q4.js → state-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-retention-agq2sn5n.js → state-2e147z16.js} +6 -6
- package/dist/chunks/{file-retention-57ez7d0k.js → state-2fgn2we9.js} +9 -9
- package/dist/chunks/{file-retention-qgn6gcr1.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{file-retention-mypwhdkk.js → state-2p5y98w0.js} +6 -6
- package/dist/chunks/{file-retention-0b4f6mp2.js → state-2prd3etb.js} +30 -30
- package/dist/chunks/{file-retention-kg5r7emp.js → state-2texzmrd.js} +26 -26
- package/dist/chunks/{file-retention-qh7d57mv.js → state-324jz7fy.js} +4 -4
- package/dist/chunks/{file-retention-mnhyjcyd.js → state-33b7aymv.js} +86 -86
- package/dist/chunks/{file-retention-e6hd9jay.js → state-35agz59w.js} +4 -4
- package/dist/chunks/{file-retention-0r2k9kj6.js → state-35g6mzst.js} +15 -15
- package/dist/chunks/{file-retention-d85qp1ds.js → state-3avsbw2y.js} +19 -19
- package/dist/chunks/{file-retention-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3p5hkrxv.js → state-3jqje4at.js} +34 -34
- package/dist/chunks/{file-retention-bhb5n9xr.js → state-3jwvk6df.js} +18 -18
- package/dist/chunks/{file-retention-mm71tc60.js → state-3s08q6xc.js} +19 -19
- package/dist/chunks/{file-retention-nnmab3m5.js → state-3shj2rdg.js} +16 -16
- package/dist/chunks/{file-retention-9kts0vsr.js → state-3sjz8m0p.js} +25 -25
- package/dist/chunks/{file-retention-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-q1gp8mbh.js → state-3sr08wap.js} +6 -6
- package/dist/chunks/{file-retention-qv9y4v6r.js → state-3te25qqc.js} +33 -33
- package/dist/chunks/{file-retention-ndf7wh7w.js → state-3tsj5f46.js} +21 -21
- package/dist/chunks/{file-retention-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-w171fkng.js → state-3w05p07m.js} +20 -20
- package/dist/chunks/{file-retention-hsp71j46.js → state-3zevfmxv.js} +1 -1
- package/dist/chunks/{file-retention-4dgbcxzg.js → state-4dgbcxzg.js} +1 -1
- package/dist/chunks/{file-retention-tvh2peyk.js → state-51wwr1cb.js} +7 -7
- package/dist/chunks/{file-retention-mfqp6xfm.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-retention-kemm8n5q.js → state-571v8kyd.js} +32 -32
- package/dist/chunks/{file-retention-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/state-5edc1x4t.js +472 -0
- package/dist/chunks/{file-retention-6p84ymk5.js → state-5f71spy3.js} +36 -36
- package/dist/chunks/{file-retention-cb9cr8vz.js → state-5k6red0j.js} +22 -22
- package/dist/chunks/state-5r663aq2.js +251 -0
- package/dist/chunks/{file-retention-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-4z0v33m4.js → state-64xmj3r0.js} +30 -30
- package/dist/chunks/{file-retention-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-m2bm8kgx.js → state-67zdakk3.js} +17 -17
- package/dist/chunks/{file-retention-rtfsnp04.js → state-68na6ghx.js} +9 -9
- package/dist/chunks/{file-retention-f5wvj1yw.js → state-6bhdwa4f.js} +11 -11
- package/dist/chunks/{file-retention-5er01f6t.js → state-6mp5kyz7.js} +180 -180
- package/dist/chunks/{file-retention-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-pgy12fq2.js → state-6r5csvev.js} +17 -17
- package/dist/chunks/{file-retention-13b7xy8e.js → state-71n3th9c.js} +5 -5
- package/dist/chunks/{file-retention-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-b1v7x4f0.js → state-73mx17hp.js} +23 -23
- package/dist/chunks/{file-retention-vzbef369.js → state-75p5n5ps.js} +22 -22
- package/dist/chunks/{file-retention-ewd1ksqg.js → state-76dkszc0.js} +23 -23
- package/dist/chunks/{file-retention-wbhjeqa0.js → state-78b8w714.js} +24 -24
- package/dist/chunks/{file-retention-844ef7ks.js → state-7b15y959.js} +8 -8
- package/dist/chunks/{file-retention-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-jx8kcw9w.js → state-7bqgghcm.js} +37 -37
- package/dist/chunks/{file-retention-gs3psw06.js → state-7qdpe4cb.js} +9 -9
- package/dist/chunks/{file-retention-xxynqx5z.js → state-7w99qc9d.js} +2 -2
- package/dist/chunks/{file-retention-hf8fr414.js → state-7zj5q8bn.js} +15 -15
- package/dist/chunks/{file-retention-3wpzg793.js → state-89srvkns.js} +15 -15
- package/dist/chunks/{file-retention-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-8p4f9s12.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-wknvw5dv.js → state-8pj4s1sz.js} +17 -17
- package/dist/chunks/{file-retention-pb1eahw5.js → state-8xd21chy.js} +11 -11
- package/dist/chunks/{file-retention-9xzn68v5.js → state-8zrm0029.js} +35 -35
- package/dist/chunks/{file-retention-9nz7ga5n.js → state-97pyyzsd.js} +11 -11
- package/dist/chunks/{file-retention-3thn9ygr.js → state-97tba3wc.js} +22 -22
- package/dist/chunks/{file-retention-y9eqwahs.js → state-9jbjfr7m.js} +9 -9
- package/dist/chunks/{file-retention-rb9d13h1.js → state-9je39wvw.js} +43 -43
- package/dist/chunks/{file-retention-4wdhwteq.js → state-9wb1t077.js} +3 -3
- package/dist/chunks/{file-retention-j6h70cxt.js → state-9yfa5vrp.js} +22 -22
- package/dist/chunks/{file-retention-a1bz86dw.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-spp1p3tw.js → state-a1jea0jw.js} +32 -32
- package/dist/chunks/{file-retention-mw7s1qqm.js → state-a8279h33.js} +20 -20
- package/dist/chunks/{file-retention-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-pesg4g4m.js → state-agndh9mm.js} +3 -3
- package/dist/chunks/{file-retention-j83byb14.js → state-an7cqtb7.js} +4 -4
- package/dist/chunks/{file-retention-b4m0jvqm.js → state-azcr6ymc.js} +20 -20
- package/dist/chunks/{file-retention-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-q80dxf01.js → state-bajjbck4.js} +27 -27
- package/dist/chunks/{file-retention-y183daxr.js → state-bbth31rk.js} +9 -9
- package/dist/chunks/{file-retention-06dxphr1.js → state-bccb6npm.js} +4 -4
- package/dist/chunks/{file-retention-wxffcvth.js → state-bjmdedkt.js} +9 -9
- package/dist/chunks/{file-retention-8e1b1gzh.js → state-bqszwq89.js} +6 -6
- package/dist/chunks/{file-retention-5cb8a4qv.js → state-bwpeaz3e.js} +29 -29
- package/dist/chunks/{file-retention-magykp64.js → state-c20khjev.js} +21 -21
- package/dist/chunks/{file-retention-kgtbg51g.js → state-c74rwkq8.js} +24 -24
- package/dist/chunks/{file-retention-tf7cta9d.js → state-cfm6v96c.js} +15 -15
- package/dist/chunks/{file-retention-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-hfdr1yjj.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-retention-5ffqwp29.js → state-cw6ezj50.js} +24 -24
- package/dist/chunks/{file-retention-d09006c3.js → state-d09006c3.js} +2 -2
- package/dist/chunks/{file-retention-rsyxjf6n.js → state-d2jcwrqj.js} +11 -11
- package/dist/chunks/{file-retention-z8y90bmn.js → state-d2y84238.js} +23 -23
- package/dist/chunks/{file-retention-7d01vtdt.js → state-d3tz2ej1.js} +9 -9
- package/dist/chunks/{file-retention-wyj0k83d.js → state-d3yf3xs0.js} +43 -43
- package/dist/chunks/{file-retention-nvv2w69t.js → state-d66s3x2y.js} +11 -11
- package/dist/chunks/{file-retention-dyr0fjz1.js → state-d7pfk9kx.js} +11 -11
- package/dist/chunks/{file-retention-126se46d.js → state-db0wt107.js} +10 -10
- package/dist/chunks/{file-retention-2pam5ezh.js → state-dd3vv6mw.js} +20 -20
- package/dist/chunks/{file-retention-jhxy2sk1.js → state-dfem2sdx.js} +2 -2
- package/dist/chunks/{file-retention-rg3v5vpq.js → state-dfst6sb1.js} +17 -17
- package/dist/chunks/{file-retention-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-h1afk52f.js → state-dq66pm2h.js} +6 -6
- package/dist/chunks/{file-retention-evbgk2k8.js → state-dqmwfghx.js} +5 -5
- package/dist/chunks/{file-retention-r5depw3d.js → state-ds6yvnwz.js} +24 -24
- package/dist/chunks/{file-retention-esj6mydx.js → state-e3mscyvg.js} +13 -13
- package/dist/chunks/{file-retention-s5rh44ar.js → state-e3pb3krz.js} +4 -4
- package/dist/chunks/{file-retention-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-retention-e5nv3ght.js → state-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-retention-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-retention-zqcfhx7s.js → state-ebvdhfn5.js} +30 -30
- package/dist/chunks/{file-retention-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-kcyfyv8v.js → state-ezc4vqg9.js} +16 -16
- package/dist/chunks/{file-retention-rhraev7y.js → state-f2n192rq.js} +4 -4
- package/dist/chunks/{file-retention-exx0kxr8.js → state-f5cp0sk0.js} +7 -7
- package/dist/chunks/{file-retention-f828m53h.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-v07rhjax.js → state-f9j6kmhz.js} +9 -9
- package/dist/chunks/{file-retention-havwf4k9.js → state-fc7zbc5p.js} +8 -8
- package/dist/chunks/{file-retention-bsda9gvx.js → state-fd7qd9sy.js} +24 -24
- package/dist/chunks/{file-retention-sx8f04je.js → state-fm5c3zy8.js} +16 -16
- package/dist/chunks/{file-retention-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-508cf8kg.js → state-g31yknb9.js} +5 -5
- package/dist/chunks/{file-retention-9s7s2hrz.js → state-g5akcga1.js} +1 -1
- package/dist/chunks/{file-retention-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-4gyxjxrp.js → state-gmh1p7c3.js} +47 -47
- package/dist/chunks/{file-retention-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/state-gyce5qg1.js +18 -0
- package/dist/chunks/{file-retention-s90s62as.js → state-gz9zg84n.js} +17 -17
- package/dist/chunks/{file-retention-wvapbnfc.js → state-gzv4yv3q.js} +10 -10
- package/dist/chunks/{file-retention-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/state-h47he10w.js +4 -0
- package/dist/chunks/{file-retention-zkqsy98m.js → state-h61yhmmq.js} +17 -17
- package/dist/chunks/{file-retention-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-qg9t7k56.js → state-h7vn9w3e.js} +4 -4
- package/dist/chunks/{file-retention-j07ynkak.js → state-hb432nf5.js} +15 -15
- package/dist/chunks/{file-retention-276gygcj.js → state-hc2ch4mw.js} +5 -5
- package/dist/chunks/{file-retention-81q6s179.js → state-hc844qg4.js} +18 -18
- package/dist/chunks/{file-retention-pvp0fmcy.js → state-hk9khx82.js} +13 -13
- package/dist/chunks/{file-retention-qefhz522.js → state-hkckt1bw.js} +11 -11
- package/dist/chunks/{file-retention-fg50ch7r.js → state-hkha9254.js} +4 -4
- package/dist/chunks/{file-retention-hkmh7tch.js → state-hmw7b3xg.js} +26 -26
- package/dist/chunks/{file-retention-2h7tr172.js → state-hzm9egg4.js} +11 -11
- package/dist/chunks/{file-retention-3fp85657.js → state-j4265jp1.js} +26 -26
- package/dist/chunks/{file-retention-d0q8x7fd.js → state-j4w3v36h.js} +18 -18
- package/dist/chunks/{file-retention-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-fd1zsxbb.js → state-j7gh742f.js} +6 -6
- package/dist/chunks/{file-retention-dmxvr22s.js → state-j7q006w5.js} +24 -24
- package/dist/chunks/{file-retention-g2n1kqkx.js → state-jbqb2jwb.js} +18 -18
- package/dist/chunks/{file-retention-7j92jdde.js → state-jva4mgym.js} +4 -4
- package/dist/chunks/{file-retention-9180haxf.js → state-k3j9nvsf.js} +26 -26
- package/dist/chunks/{file-retention-4tzvqyk7.js → state-kkk4ycsn.js} +32 -32
- package/dist/chunks/{file-retention-xqmwp9mt.js → state-kkvmk5mz.js} +10 -10
- package/dist/chunks/{file-retention-trdbzp7q.js → state-kp6q4vfw.js} +38 -38
- package/dist/chunks/{file-retention-5qzqc01j.js → state-krmc1sjp.js} +4 -4
- package/dist/chunks/{file-retention-d72qkhwk.js → state-kthsafvd.js} +11 -11
- package/dist/chunks/{file-retention-qc5a07km.js → state-kxfmahn5.js} +18 -18
- package/dist/chunks/{file-retention-kcfncsdb.js → state-kytg702f.js} +11 -11
- package/dist/chunks/{file-retention-cqxef839.js → state-m4hmv5tv.js} +32 -32
- package/dist/chunks/{file-retention-1zprvct9.js → state-m8d7rwwq.js} +6 -6
- package/dist/chunks/{file-retention-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-v4cwwf6k.js → state-mrx0gnf8.js} +1 -1
- package/dist/chunks/{file-retention-4xhhjths.js → state-mw934p8z.js} +8 -8
- package/dist/chunks/{file-retention-qbvd2c79.js → state-mx19mr1m.js} +28 -28
- package/dist/chunks/{file-retention-qb8wdytp.js → state-n1t3wdzz.js} +8 -8
- package/dist/chunks/{file-retention-dd4k3tty.js → state-n36sd619.js} +47 -47
- package/dist/chunks/{file-retention-j279vgb3.js → state-n5a5z38x.js} +54 -54
- package/dist/chunks/{file-retention-j6dc1d3z.js → state-n91phzgs.js} +6 -6
- package/dist/chunks/{file-retention-7581kcks.js → state-nc2qx4zy.js} +30 -30
- package/dist/chunks/{file-retention-ak8w4t1r.js → state-nhgnsbzd.js} +26 -26
- package/dist/chunks/{file-retention-egthh08c.js → state-nk4syya3.js} +15 -15
- package/dist/chunks/{file-retention-ky3seynh.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{file-retention-hk9ksenn.js → state-npkvcn11.js} +10 -10
- package/dist/chunks/{file-retention-n3gg6d5p.js → state-nrs119em.js} +12 -12
- package/dist/chunks/{file-retention-a4d6h2dp.js → state-nspxmzm8.js} +25 -25
- package/dist/chunks/{file-retention-nbx459v7.js → state-ny5dfp0g.js} +14 -14
- package/dist/chunks/{file-retention-bgr2vz0b.js → state-p1d46h3z.js} +25 -25
- package/dist/chunks/{file-retention-23sxaqwc.js → state-p57dvf2n.js} +4 -4
- package/dist/chunks/{file-retention-na6jv411.js → state-ph0fbfq2.js} +2 -2
- package/dist/chunks/{file-retention-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-30ffk5w0.js → state-pv445f03.js} +27 -27
- package/dist/chunks/{file-retention-y3pw9whf.js → state-py24y5k5.js} +20 -20
- package/dist/chunks/{file-retention-f2gjs8p9.js → state-q0dhpvqs.js} +17 -17
- package/dist/chunks/{file-retention-qsxff6dv.js → state-q2tqwnr3.js} +25 -25
- package/dist/chunks/{file-retention-f2h0ge9w.js → state-q34edmb6.js} +13 -13
- package/dist/chunks/{file-retention-av8es0ey.js → state-qagnz9a5.js} +11 -11
- package/dist/chunks/{file-retention-s0nkzfby.js → state-qbvf5jer.js} +8 -8
- package/dist/chunks/{file-retention-xezh77hc.js → state-qfmkjdkz.js} +20 -20
- package/dist/chunks/{file-retention-3w1d8477.js → state-qhptap2d.js} +14 -14
- package/dist/chunks/{file-retention-p8bhcqp6.js → state-qqjwcvaq.js} +5 -5
- package/dist/chunks/{file-retention-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-hnr5yq9h.js → state-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-retention-gn2hfjap.js → state-qtkzm0vp.js} +8 -8
- package/dist/chunks/{file-retention-3zykk5as.js → state-qwjmgwmn.js} +8 -8
- package/dist/chunks/{file-retention-f2742wym.js → state-qx0y9v2b.js} +17 -17
- package/dist/chunks/{file-retention-wdrzmzfn.js → state-r0r5a59z.js} +28 -28
- package/dist/chunks/{file-retention-8vx9rmwz.js → state-r3g16p04.js} +11 -11
- package/dist/chunks/{file-retention-npkymxxz.js → state-r402hwa6.js} +1 -1
- package/dist/chunks/{file-retention-mhkvc446.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-retention-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{file-retention-qs0gs2g1.js → state-raec4cfz.js} +12 -12
- package/dist/chunks/{file-retention-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-s8d7rejh.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-retention-4cyvw3p6.js → state-rn2343kj.js} +56 -56
- package/dist/chunks/{file-retention-tt4xct96.js → state-rp6tmztm.js} +19 -19
- package/dist/chunks/{file-retention-bz85s9hh.js → state-ryt7pzqc.js} +1 -1
- package/dist/chunks/{file-retention-8310x4c5.js → state-s16nmm85.js} +12 -12
- package/dist/chunks/{file-retention-yrznvahk.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{file-retention-4m2pmvxz.js → state-s90d8d6b.js} +6 -6
- package/dist/chunks/{file-retention-1gw4hrxs.js → state-sb225ygc.js} +13 -13
- package/dist/chunks/{file-retention-wmzw9v22.js → state-sb6d7jsa.js} +13 -13
- package/dist/chunks/{file-retention-264y2mvj.js → state-se4nd5as.js} +10 -10
- package/dist/chunks/{file-retention-gxdqkm0c.js → state-sw33f489.js} +9 -9
- package/dist/chunks/{file-retention-924ykxna.js → state-sxmda080.js} +3 -3
- package/dist/chunks/{file-retention-t3q0zrtj.js → state-sy64ktx8.js} +5 -5
- package/dist/chunks/{file-retention-c390ksyj.js → state-t1pxv65t.js} +3 -3
- package/dist/chunks/{file-retention-tph3grx4.js → state-t4c6n1n4.js} +9 -9
- package/dist/chunks/{file-retention-aq9j564q.js → state-t7kxrzfv.js} +17 -17
- package/dist/chunks/{file-retention-g7pgb33s.js → state-t8esaq1p.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-fdttfrh6.js → state-tc6j6x3q.js} +9 -9
- package/dist/chunks/{file-retention-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-g17wn8cw.js → state-tk4xefdg.js} +12 -12
- package/dist/chunks/{file-retention-xwgqmv93.js → state-tqwj4vg0.js} +27 -27
- package/dist/chunks/{file-retention-h4qgb8xj.js → state-ttpn01ps.js} +41 -41
- package/dist/chunks/{file-retention-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-e0jdvfpf.js → state-txxgpxvq.js} +3 -3
- package/dist/chunks/{file-retention-r7g94wtk.js → state-tzfrkvh8.js} +24 -24
- package/dist/chunks/{file-retention-cjvw1vr1.js → state-v1kf15d2.js} +6 -6
- package/dist/chunks/{file-retention-ccxmgenq.js → state-v55354wq.js} +1 -1
- package/dist/chunks/{file-retention-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-xj7wbnn3.js → state-vqjrrrw6.js} +4 -4
- package/dist/chunks/{file-retention-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-v6wrn1g2.js → state-vzy7bsbz.js} +23 -23
- package/dist/chunks/{file-retention-bdhd9qj0.js → state-w21hr1ag.js} +9 -9
- package/dist/chunks/{file-retention-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-q2f8db2z.js → state-wfzjjtzq.js} +4 -4
- package/dist/chunks/{file-retention-e8340df8.js → state-wq4mgxca.js} +4 -4
- package/dist/chunks/{file-retention-y50sdzkw.js → state-wq66yabw.js} +46 -46
- package/dist/chunks/{file-retention-2tkyep3v.js → state-ww06kf95.js} +16 -16
- package/dist/chunks/{file-retention-ax9ctke6.js → state-wwr4cs06.js} +11 -11
- package/dist/chunks/{file-retention-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-07wrr0rm.js → state-x6mn7k7a.js} +16 -16
- package/dist/chunks/{file-retention-mab4qcb1.js → state-xcmejnqk.js} +8 -8
- package/dist/chunks/{file-retention-7fyak8f4.js → state-xe12cp59.js} +8 -8
- package/dist/chunks/{file-retention-5k148b68.js → state-xg3fmavg.js} +9 -9
- package/dist/chunks/{file-retention-fcwjxcrg.js → state-xnvr041a.js} +1 -1
- package/dist/chunks/{file-retention-f73rjn58.js → state-xw0r27ex.js} +4 -4
- package/dist/chunks/{file-retention-5r3jnckw.js → state-xwm0ajsd.js} +5 -5
- package/dist/chunks/{file-retention-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-hpc1ag31.js → state-yb0s1s95.js} +52 -52
- package/dist/chunks/{file-retention-4y1pzw9c.js → state-ymawwaz8.js} +4 -4
- package/dist/chunks/{file-retention-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-pecb0brz.js → state-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-retention-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-5t9ap4g5.js → state-z87ss26s.js} +10 -10
- package/dist/chunks/{file-retention-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-pmc74pb4.js → state-zmhc1ceh.js} +4 -4
- package/dist/chunks/{file-retention-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-kf3rtttb.js → state-zveeavy8.js} +24 -24
- package/dist/chunks/{file-retention-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +72 -72
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-retention-49gatq4q.js +0 -472
- package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
- package/dist/chunks/file-retention-907a706s.js +0 -251
- package/dist/chunks/file-retention-q509s3k3.js +0 -18
- package/dist/chunks/file-retention-vh6dfrxf.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-sxmda080.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./state-s90d8d6b.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-gyce5qg1.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-bccb6npm.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-d66s3x2y.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-m4hmv5tv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./state-29rcqgc7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service31;
|
|
36
36
|
const database = yield* Service81;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service16;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-zmhc1ceh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service74,
|
|
11
|
+
node79
|
|
12
|
+
} from "./state-ds6yvnwz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./state-ezc4vqg9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node76
|
|
20
|
+
} from "./state-cw6ezj50.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service79,
|
|
24
|
+
node84
|
|
25
|
+
} from "./state-d2y84238.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service70,
|
|
34
|
+
node74
|
|
35
|
+
} from "./state-a8279h33.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service26,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured2,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node30
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options2 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
103
|
+
var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service76;
|
|
105
|
+
const environment = yield* Service72;
|
|
106
106
|
const bus = yield* Service80;
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
107
|
+
const forms = yield* Service79;
|
|
108
|
+
const integration = yield* Service70;
|
|
109
|
+
const credentials = yield* Service74;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID13.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError2({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID18.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service26.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured2(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service26,
|
|
514
|
+
layer: layer12(options),
|
|
515
|
+
deps: [node81, node76, node85, node84, node74, node79]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node30 = configured2();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service26, Options2, layer12, configured2, node30, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node14, exports_discovery };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-hzm9egg4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-vzy7bsbz.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-dq66pm2h.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID12.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-sxmda080.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-zmhc1ceh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service31
|
|
9
|
+
} from "./state-s90d8d6b.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-bjmdedkt.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service45
|
|
29
|
+
} from "./state-3shj2rdg.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service30
|
|
34
|
+
} from "./state-c74rwkq8.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service27
|
|
37
|
+
} from "./state-kp6q4vfw.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./state-fm5c3zy8.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./state-py24y5k5.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./state-t4c6n1n4.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./state-w21hr1ag.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./state-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service80;
|
|
67
67
|
const database = yield* Service81;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service45;
|
|
69
|
+
const instances = yield* Service31;
|
|
70
|
+
const execution = yield* Service27;
|
|
71
|
+
const admission = yield* Service30;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service81, database), Effect.provideService(Service80, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service80, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|