@opencode-ai/core 0.0.0-beta-19124 → 0.0.0-beta-19129
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 +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{event-logger-c9cdp0vn.js → pty-008qgtj7.js} +12 -12
- package/dist/chunks/{event-logger-bzrqex1b.js → pty-00nfbmm6.js} +28 -28
- package/dist/chunks/{event-logger-92avn38j.js → pty-0363n1t5.js} +9 -9
- package/dist/chunks/{event-logger-vd4s1zsg.js → pty-07bmqgvp.js} +13 -13
- package/dist/chunks/{event-logger-5c1zb16k.js → pty-0avfzrjc.js} +25 -25
- package/dist/chunks/{event-logger-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{event-logger-cpy6gm2a.js → pty-0gaj4617.js} +4 -4
- package/dist/chunks/{event-logger-rkkn0pd8.js → pty-0p9r6mft.js} +9 -9
- package/dist/chunks/{event-logger-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0rag4e4f.js → pty-0rag4e4f.js} +1 -1
- package/dist/chunks/{event-logger-hhhknvt0.js → pty-0rbnrynr.js} +8 -8
- package/dist/chunks/{event-logger-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/pty-0t58jqdp.js +247 -0
- package/dist/chunks/{event-logger-z54mf0m5.js → pty-0vydt2xt.js} +37 -37
- package/dist/chunks/{event-logger-ar3vq2rb.js → pty-0ywnm299.js} +12 -12
- package/dist/chunks/{event-logger-xf2wyvfy.js → pty-1459b0x6.js} +14 -14
- package/dist/chunks/{event-logger-65qy5zc3.js → pty-19g5gqh3.js} +27 -27
- package/dist/chunks/{event-logger-4w2mg71f.js → pty-1bbszw8w.js} +16 -16
- package/dist/chunks/{event-logger-q8ktfbaq.js → pty-1c5j02v1.js} +47 -47
- package/dist/chunks/{event-logger-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{event-logger-ppjnvzpn.js → pty-1hb2jj92.js} +11 -11
- package/dist/chunks/{event-logger-qt60dt5t.js → pty-1sbqnd7p.js} +6 -6
- package/dist/chunks/{event-logger-082zmtg6.js → pty-1vxvbkdw.js} +6 -6
- package/dist/chunks/{event-logger-zk5b56gg.js → pty-1wbsj790.js} +21 -21
- package/dist/chunks/{event-logger-re7npzcd.js → pty-1we85e4n.js} +32 -32
- package/dist/chunks/{event-logger-8ab07kvc.js → pty-1wm9p8v7.js} +24 -24
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{event-logger-h722e297.js → pty-1ydgq2r4.js} +5 -5
- package/dist/chunks/{event-logger-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{event-logger-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-cn8d14z9.js → pty-2aqpvcef.js} +27 -27
- package/dist/chunks/{event-logger-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{event-logger-2jqmte8w.js → pty-2jqmte8w.js} +2 -2
- package/dist/chunks/{event-logger-8ct07e69.js → pty-2vw6f4gm.js} +9 -9
- package/dist/chunks/{event-logger-4crm0y3y.js → pty-2wkcjqsg.js} +1 -1
- package/dist/chunks/{event-logger-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-65rxya3j.js → pty-3hfmeb9q.js} +37 -37
- package/dist/chunks/{event-logger-3jj6bjb6.js → pty-3jj6bjb6.js} +2 -2
- package/dist/chunks/{event-logger-p08wj8bf.js → pty-3khkq25c.js} +10 -10
- package/dist/chunks/{event-logger-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{event-logger-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-5mp6hy2y.js → pty-3w073660.js} +19 -19
- package/dist/chunks/{event-logger-n6wnzfnt.js → pty-3wx44s71.js} +9 -9
- package/dist/chunks/{event-logger-yn9v8pzf.js → pty-3zdgt117.js} +4 -4
- package/dist/chunks/{event-logger-kbg9q44r.js → pty-403y7qtc.js} +11 -11
- package/dist/chunks/{event-logger-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{event-logger-aymbgepw.js → pty-4qfjm3y1.js} +19 -19
- package/dist/chunks/{event-logger-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{event-logger-8m379ac9.js → pty-4rnz283z.js} +7 -7
- package/dist/chunks/{event-logger-3xfkzkzd.js → pty-4sz2x7hf.js} +7 -7
- package/dist/chunks/{event-logger-pxhak851.js → pty-4vp46et4.js} +6 -6
- package/dist/chunks/{event-logger-4x0nmcjx.js → pty-4x0nmcjx.js} +2 -2
- package/dist/chunks/{event-logger-jqhng384.js → pty-51e9twpg.js} +280 -280
- package/dist/chunks/{event-logger-0wc4szmq.js → pty-577gck9x.js} +1 -1
- package/dist/chunks/{event-logger-00s3pqt3.js → pty-5aq0nxp3.js} +16 -16
- package/dist/chunks/{event-logger-28nhnrpr.js → pty-5b9mh310.js} +22 -22
- package/dist/chunks/{event-logger-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{event-logger-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{event-logger-j935v87r.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{event-logger-5sg4xzjf.js → pty-5sg4xzjf.js} +1 -1
- package/dist/chunks/{event-logger-ah7grg4z.js → pty-63k70rre.js} +18 -18
- package/dist/chunks/{event-logger-p2k6rx42.js → pty-693tgxwd.js} +35 -35
- package/dist/chunks/{event-logger-1z80kc63.js → pty-6e958v7x.js} +8 -8
- package/dist/chunks/{event-logger-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{event-logger-n6g7b5d4.js → pty-6jea8mds.js} +16 -16
- package/dist/chunks/{event-logger-65xfkb7w.js → pty-6my8ebcr.js} +4 -4
- package/dist/chunks/{event-logger-6tf8tr4v.js → pty-6tf8tr4v.js} +2 -2
- package/dist/chunks/{event-logger-711hfp6y.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{event-logger-xy8v4fm7.js → pty-71c4ctfp.js} +24 -24
- package/dist/chunks/{event-logger-qja7rspw.js → pty-759pz1a2.js} +8 -8
- package/dist/chunks/{event-logger-1xtv6dmm.js → pty-76ma23qb.js} +17 -17
- package/dist/chunks/{event-logger-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-2k8khapm.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{event-logger-jbxj9y91.js → pty-7k8mdtae.js} +10 -10
- package/dist/chunks/{event-logger-bezsr0nz.js → pty-7n1wp2cn.js} +20 -20
- package/dist/chunks/{event-logger-10jtetaj.js → pty-7w3s9kd0.js} +4 -4
- package/dist/chunks/{event-logger-2st7rw5q.js → pty-7zvydh0p.js} +11 -11
- package/dist/chunks/{event-logger-85awaqv8.js → pty-8w99qwke.js} +11 -11
- package/dist/chunks/{event-logger-dzfg11yk.js → pty-8wng66kw.js} +23 -23
- package/dist/chunks/{event-logger-yba16dxq.js → pty-8yr65315.js} +4 -4
- package/dist/chunks/{event-logger-x90cphh5.js → pty-92y7g8ad.js} +11 -11
- package/dist/chunks/{event-logger-93a8yfjt.js → pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{event-logger-ssg93tm8.js → pty-94ms672g.js} +3 -3
- package/dist/chunks/{event-logger-5jayeb3j.js → pty-96gb8wnx.js} +8 -8
- package/dist/chunks/{event-logger-07dcg4f5.js → pty-97mrdvqz.js} +17 -17
- package/dist/chunks/{event-logger-637qq8n2.js → pty-9d4vrqc0.js} +9 -9
- package/dist/chunks/{event-logger-redfcqdd.js → pty-9hq8x1wg.js} +4 -4
- package/dist/chunks/{event-logger-aae7qk0j.js → pty-9j3029qe.js} +9 -9
- package/dist/chunks/{event-logger-v6fy9za8.js → pty-9rb0g439.js} +28 -28
- package/dist/chunks/pty-9zwhrd2p.js +4 -0
- package/dist/chunks/pty-a0w3frjs.js +22 -0
- package/dist/chunks/{event-logger-df0c2mh7.js → pty-a40eyqg5.js} +18 -18
- package/dist/chunks/{event-logger-16r38w9g.js → pty-a615ws19.js} +4 -4
- package/dist/chunks/{event-logger-fwv1yqzw.js → pty-a95b1rzb.js} +18 -18
- package/dist/chunks/{event-logger-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-kxch3v52.js → pty-actzaqhd.js} +26 -26
- package/dist/chunks/{event-logger-xw0r27ex.js → pty-ag4rn41e.js} +4 -4
- package/dist/chunks/{event-logger-47b3sbnz.js → pty-amgxn0m4.js} +41 -41
- package/dist/chunks/{event-logger-kfyw9f0s.js → pty-b0mtdz8k.js} +25 -25
- package/dist/chunks/{event-logger-x6bh0d7a.js → pty-b1bsdq9a.js} +8 -8
- package/dist/chunks/{event-logger-b1najej0.js → pty-b5g03hab.js} +9 -9
- package/dist/chunks/{event-logger-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{event-logger-7mx8k0q7.js → pty-baqx186v.js} +6 -6
- package/dist/chunks/{event-logger-j83byb14.js → pty-bct739vz.js} +4 -4
- package/dist/chunks/{event-logger-9r3tzwf8.js → pty-be52w0n4.js} +25 -25
- package/dist/chunks/{event-logger-tksywzaq.js → pty-be60nag3.js} +1 -1
- package/dist/chunks/{event-logger-c4p254r2.js → pty-bj2c3eqn.js} +11 -11
- package/dist/chunks/{event-logger-brevw2rp.js → pty-bp2y3dz3.js} +15 -15
- package/dist/chunks/{event-logger-t15nzqa6.js → pty-bq6az8vb.js} +1 -1
- package/dist/chunks/{event-logger-j6q9fy2f.js → pty-bsfcvmm2.js} +3 -3
- package/dist/chunks/{event-logger-3n6w8qeh.js → pty-bzq1f2yq.js} +21 -21
- package/dist/chunks/{event-logger-amahfvfq.js → pty-c0ggnrvh.js} +13 -13
- package/dist/chunks/{event-logger-3je9ha5z.js → pty-cfsy2wpb.js} +31 -31
- package/dist/chunks/{event-logger-n600s6ej.js → pty-cfwzd6ef.js} +12 -12
- package/dist/chunks/{event-logger-cfcd82q6.js → pty-cpkp23c7.js} +10 -10
- package/dist/chunks/{event-logger-2cvfr09c.js → pty-cq8wrtqn.js} +7 -7
- package/dist/chunks/{event-logger-hjzj6vwa.js → pty-ct6p9e56.js} +10 -10
- package/dist/chunks/{event-logger-4vtp7hga.js → pty-ctwxaq1f.js} +3 -3
- package/dist/chunks/{event-logger-x4kfdah3.js → pty-cwfwshwn.js} +34 -34
- package/dist/chunks/{event-logger-rt2rznzy.js → pty-cznc2qrv.js} +9 -9
- package/dist/chunks/{event-logger-z1g5cset.js → pty-dc9emjf0.js} +3 -3
- package/dist/chunks/{event-logger-5p36vnsq.js → pty-e1qkg8tm.js} +15 -15
- package/dist/chunks/{event-logger-1bbkgx8g.js → pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{event-logger-yzjhj2th.js → pty-eqyz6y0f.js} +58 -58
- package/dist/chunks/{event-logger-n9s43yzq.js → pty-exrgs9wp.js} +10 -10
- package/dist/chunks/{event-logger-pc12brnn.js → pty-f08hbj4m.js} +27 -27
- package/dist/chunks/{event-logger-jteae0j7.js → pty-fc5mkwbz.js} +3 -3
- package/dist/chunks/{event-logger-jfbh8m2n.js → pty-fn68vvm1.js} +24 -24
- package/dist/chunks/{event-logger-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{event-logger-j8nnq7em.js → pty-fyzy9awj.js} +1 -1
- package/dist/chunks/{event-logger-hrvm11jt.js → pty-g2dy4bvs.js} +3 -3
- package/dist/chunks/{event-logger-d72308c8.js → pty-g2gt0w0k.js} +2 -2
- package/dist/chunks/{event-logger-ryr25ayn.js → pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{event-logger-0v1ejg55.js → pty-gd248znf.js} +18 -18
- package/dist/chunks/{event-logger-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-cw5md1zh.js → pty-gf185zmw.js} +17 -17
- package/dist/chunks/{event-logger-x58c4bx0.js → pty-gfsgf35y.js} +5 -5
- package/dist/chunks/{event-logger-2h6s9956.js → pty-ghzvc9jv.js} +30 -30
- package/dist/chunks/{event-logger-57m8p4qp.js → pty-gnar656t.js} +10 -10
- package/dist/chunks/{event-logger-5ypfxmn1.js → pty-graq44t8.js} +2 -2
- package/dist/chunks/{event-logger-snz9vtbe.js → pty-gts5f7ad.js} +60 -60
- package/dist/chunks/{event-logger-0nhqfpxa.js → pty-gxeqtc45.js} +9 -9
- package/dist/chunks/{event-logger-ecjyhxv0.js → pty-gy57ja53.js} +12 -12
- package/dist/chunks/{event-logger-g6wnemy4.js → pty-h50kfk2b.js} +13 -13
- package/dist/chunks/{event-logger-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-12wcht6n.js → pty-h95089yr.js} +22 -22
- package/dist/chunks/{event-logger-f03pjn97.js → pty-hbax5y4r.js} +22 -22
- package/dist/chunks/{event-logger-c2khgprk.js → pty-hcz6m02t.js} +15 -15
- package/dist/chunks/{event-logger-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{event-logger-9xvrg3b1.js → pty-hhv3cd3z.js} +1 -1
- package/dist/chunks/{event-logger-e4x9q39t.js → pty-hkzxevja.js} +9 -9
- package/dist/chunks/{event-logger-7tq9gac0.js → pty-hqhp5amc.js} +25 -25
- package/dist/chunks/{event-logger-w4h8rkf0.js → pty-j2n289q7.js} +6 -6
- package/dist/chunks/{event-logger-4taktcvc.js → pty-j5w0a358.js} +8 -8
- package/dist/chunks/{event-logger-7fh311k0.js → pty-jab386st.js} +12 -12
- package/dist/chunks/{event-logger-jasnfvjs.js → pty-jasnfvjs.js} +3 -3
- package/dist/chunks/{event-logger-pre7wgsd.js → pty-jb7pc305.js} +46 -46
- package/dist/chunks/{event-logger-wf1mfr52.js → pty-jv6tbxxe.js} +8 -8
- package/dist/chunks/{event-logger-keawj43j.js → pty-jxyej7y6.js} +11 -11
- package/dist/chunks/{event-logger-mq9r6drf.js → pty-jysfrgga.js} +3 -3
- package/dist/chunks/{event-logger-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{event-logger-yhtqjkzd.js → pty-k558dr3h.js} +6 -6
- package/dist/chunks/{event-logger-pg99br7g.js → pty-k65x9esf.js} +10 -10
- package/dist/chunks/{event-logger-erw4kpzp.js → pty-kcb6z3jk.js} +4 -4
- package/dist/chunks/{event-logger-1n0se4en.js → pty-kd0z462q.js} +18 -18
- package/dist/chunks/{event-logger-6vq97qmv.js → pty-kerhshr9.js} +5 -5
- package/dist/chunks/{event-logger-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{event-logger-4ttmm7zd.js → pty-kh5wzj48.js} +35 -35
- package/dist/chunks/{event-logger-yfbd16n1.js → pty-kk3rr3qh.js} +5 -5
- package/dist/chunks/{event-logger-825xseqb.js → pty-ktgp4y5h.js} +10 -10
- package/dist/chunks/{event-logger-hw4pv20g.js → pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{event-logger-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-a089b8en.js → pty-maf5n4v0.js} +11 -11
- package/dist/chunks/{event-logger-92g85qkt.js → pty-mj6q7gvy.js} +15 -15
- package/dist/chunks/{event-logger-m3eazqpa.js → pty-mmt6p78x.js} +24 -24
- package/dist/chunks/{event-logger-9m7v4qnm.js → pty-msqtn7fd.js} +15 -15
- package/dist/chunks/{event-logger-yj1cwwh1.js → pty-n3qm3e12.js} +11 -11
- package/dist/chunks/{event-logger-q178der0.js → pty-n7x3jcdn.js} +9 -9
- package/dist/chunks/{event-logger-xaqvfbh0.js → pty-na4p81s6.js} +12 -12
- package/dist/chunks/{event-logger-qj716cw9.js → pty-ndgdc4c9.js} +11 -11
- package/dist/chunks/{event-logger-hc8apxh6.js → pty-nmg9j082.js} +29 -29
- package/dist/chunks/{event-logger-2mqy9ydc.js → pty-nmjynsra.js} +45 -45
- package/dist/chunks/{event-logger-22drdanb.js → pty-nry7nvbp.js} +24 -24
- package/dist/chunks/{event-logger-1qw2s0et.js → pty-nxrz604p.js} +5 -5
- package/dist/chunks/{event-logger-1ezz2wmh.js → pty-p3ds9s6g.js} +3 -3
- package/dist/chunks/{event-logger-hz5hqkd0.js → pty-pcxcrysh.js} +18 -18
- package/dist/chunks/{event-logger-50whrf1e.js → pty-pjdqv3xm.js} +11 -11
- package/dist/chunks/{event-logger-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-r3nfe89y.js → pty-pk02mbyy.js} +28 -28
- package/dist/chunks/{event-logger-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-m6rmdee7.js → pty-ps7tg90p.js} +24 -24
- package/dist/chunks/{event-logger-yjj59j99.js → pty-q0zss3w0.js} +18 -18
- package/dist/chunks/{event-logger-vyh7b9b2.js → pty-q38gg7qs.js} +13 -13
- package/dist/chunks/{event-logger-bpnz08mb.js → pty-qepd2pkj.js} +2 -2
- package/dist/chunks/{event-logger-4yxs9dbd.js → pty-qhehnkc2.js} +23 -23
- package/dist/chunks/{event-logger-5c3qnfth.js → pty-qnzq15jm.js} +7 -7
- package/dist/chunks/{event-logger-x6a99p7m.js → pty-qs7zdahm.js} +5 -5
- package/dist/chunks/{event-logger-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-9qm9egsn.js → pty-qvbcabdc.js} +2 -2
- package/dist/chunks/{event-logger-b84bthst.js → pty-qydr0h4k.js} +22 -22
- package/dist/chunks/{event-logger-xzz8m99m.js → pty-r0av7t19.js} +30 -30
- package/dist/chunks/{event-logger-f4kct4fj.js → pty-r79tve40.js} +75 -75
- package/dist/chunks/{event-logger-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{event-logger-qk60q5g0.js → pty-rbjghvkh.js} +29 -29
- package/dist/chunks/{event-logger-p8n9hqs2.js → pty-rgnb5s7e.js} +4 -4
- package/dist/chunks/{event-logger-kkxc5154.js → pty-rh6rd7ag.js} +4 -4
- package/dist/chunks/{event-logger-5fww7ark.js → pty-rha7dayt.js} +10 -10
- package/dist/chunks/{event-logger-ptcr5d7p.js → pty-rp0x3qp0.js} +5 -5
- package/dist/chunks/{event-logger-g8jrjr0k.js → pty-rp8r0d5g.js} +26 -26
- package/dist/chunks/{event-logger-qz0eehcw.js → pty-rq421gwk.js} +15 -15
- package/dist/chunks/{event-logger-t00n1yfv.js → pty-s0gfpzhy.js} +8 -8
- package/dist/chunks/{event-logger-6z5bwd8g.js → pty-saak5ttd.js} +6 -6
- package/dist/chunks/{event-logger-1cngsnb6.js → pty-sb910js5.js} +20 -20
- package/dist/chunks/{event-logger-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{event-logger-7ekmjv5k.js → pty-scd9nzg0.js} +2 -2
- package/dist/chunks/{event-logger-d3qtrs71.js → pty-seka0gvy.js} +4 -4
- package/dist/chunks/{event-logger-sn6d8wk1.js → pty-shtw02y9.js} +19 -19
- package/dist/chunks/{event-logger-j1py3mfn.js → pty-sy5z5695.js} +164 -164
- package/dist/chunks/{event-logger-mp43ttd6.js → pty-szkq7e78.js} +20 -20
- package/dist/chunks/{event-logger-3wgash5j.js → pty-t33fapxs.js} +11 -11
- package/dist/chunks/{event-logger-k1fx3rh1.js → pty-t39q75fx.js} +13 -13
- package/dist/chunks/{event-logger-t3daf40q.js → pty-t3daf40q.js} +3 -3
- package/dist/chunks/{event-logger-dn08ahxn.js → pty-t3v3vr71.js} +34 -34
- package/dist/chunks/{event-logger-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-rwbhhn1p.js → pty-tdt6s1r3.js} +8 -8
- package/dist/chunks/{event-logger-bphmvjfp.js → pty-thfv75je.js} +5 -5
- package/dist/chunks/{event-logger-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{event-logger-vysbh40w.js → pty-tk2yzb1v.js} +5 -5
- package/dist/chunks/{event-logger-2g399ttb.js → pty-tp89m72a.js} +6 -6
- package/dist/chunks/{event-logger-r08t1rec.js → pty-ttbkqz8v.js} +6 -6
- package/dist/chunks/{event-logger-jk8v4ysk.js → pty-twvb3q6j.js} +22 -22
- package/dist/chunks/{event-logger-j2sh7cb4.js → pty-vb336b53.js} +5 -5
- package/dist/chunks/{event-logger-3z8dkpqv.js → pty-vh2xdqjs.js} +25 -25
- package/dist/chunks/{event-logger-9xybsmp2.js → pty-vjgwbf9e.js} +15 -15
- package/dist/chunks/{event-logger-fd84j5ds.js → pty-vkpagyjs.js} +8 -8
- package/dist/chunks/{event-logger-dsf4qpn2.js → pty-vn9f2x03.js} +14 -14
- package/dist/chunks/{event-logger-hdqmeh3c.js → pty-vrktewq8.js} +25 -25
- package/dist/chunks/{event-logger-8p0zspew.js → pty-vywxfc32.js} +41 -41
- package/dist/chunks/{event-logger-6vtbmr7p.js → pty-w1r5ypf7.js} +25 -25
- package/dist/chunks/{event-logger-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-vwbmxwbe.js → pty-wafa9yr2.js} +20 -20
- package/dist/chunks/{event-logger-31rwmws4.js → pty-wahfyr88.js} +11 -11
- package/dist/chunks/{event-logger-9s6t48vc.js → pty-wcj1zaj1.js} +52 -52
- package/dist/chunks/{event-logger-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-7vg7b77p.js → pty-wdq8bkk0.js} +21 -21
- package/dist/chunks/{event-logger-ydk5gqry.js → pty-wrtxarjq.js} +16 -16
- package/dist/chunks/{event-logger-5ssd2kfs.js → pty-wxcf70d6.js} +14 -14
- package/dist/chunks/{event-logger-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-9969c03r.js → pty-x5hde6ee.js} +4 -4
- package/dist/chunks/{event-logger-1vjz4200.js → pty-xk0vfajd.js} +10 -10
- package/dist/chunks/{event-logger-9dvsnz4e.js → pty-xqe0fhba.js} +5 -5
- package/dist/chunks/{event-logger-trpkjvmn.js → pty-xwq131f5.js} +43 -43
- package/dist/chunks/{event-logger-tydrpyjm.js → pty-xy4dk1dp.js} +6 -6
- package/dist/chunks/{event-logger-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-8xy158zb.js → pty-y5bfzsd4.js} +19 -19
- package/dist/chunks/{event-logger-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{event-logger-jbmjz4v3.js → pty-y974v3mv.js} +4 -4
- package/dist/chunks/{event-logger-ajtjthsy.js → pty-yg7sb877.js} +2 -2
- package/dist/chunks/{event-logger-gf4sh87j.js → pty-ythy6836.js} +1 -1
- package/dist/chunks/{event-logger-14h757nk.js → pty-ytrgf914.js} +11 -11
- package/dist/chunks/{event-logger-5xcxm97n.js → pty-yxw0cavp.js} +7 -7
- package/dist/chunks/{event-logger-qte34krb.js → pty-yyy5ev01.js} +25 -25
- package/dist/chunks/{event-logger-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{event-logger-djtdz80w.js → pty-z3xgatyd.js} +4 -4
- package/dist/chunks/{event-logger-jjzmpkqm.js → pty-z78tg67p.js} +5 -5
- package/dist/chunks/{event-logger-12m9a30f.js → pty-zbqrk12b.js} +13 -13
- package/dist/chunks/{event-logger-ywes9ebt.js → pty-zdk6vxsj.js} +79 -79
- package/dist/chunks/{event-logger-h6qrvrep.js → pty-zx7jt85y.js} +24 -24
- package/dist/chunks/{event-logger-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-jhaj8wq0.js → pty-zya0p8p9.js} +20 -20
- 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 +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +114 -114
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.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 +358 -358
- 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 +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-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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +90 -90
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- 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 +111 -111
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +1 -1
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +87 -87
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +108 -108
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +82 -82
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +108 -108
- 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 +11 -11
- 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 +5 -5
- 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 +2 -2
- 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 +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/event-logger-7zk4hah4.js +0 -4
- package/dist/chunks/event-logger-9zdhvgqs.js +0 -18
- package/dist/chunks/event-logger-jj13rngr.js +0 -22
- package/dist/chunks/event-logger-ze44yzpk.js +0 -247
- /package/dist/chunks/{event-logger-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{event-logger-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./pty-5aq0nxp3.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service17
|
|
10
|
+
} from "./pty-6jea8mds.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./pty-eqyz6y0f.js";
|
|
14
14
|
import {
|
|
15
15
|
Service6
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-jab386st.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service3
|
|
31
|
+
} from "./pty-msqtn7fd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Plugin: () => Plugin8,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name8 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input8 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin8 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
65
|
+
const reader = yield* Service3;
|
|
66
|
+
const mutation = yield* Service17;
|
|
67
|
+
const permission = yield* Service53;
|
|
68
68
|
const sessionInstructions = yield* Service6;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service72;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name8,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input8,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin15 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name8,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin15 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent3 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name8, Input8, Plugin8, toModelContent3, exports_read };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-y974v3mv.js";
|
|
8
8
|
import {
|
|
9
9
|
Event16,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node73
|
|
12
|
+
} from "./pty-bzq1f2yq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node77
|
|
16
|
+
} from "./pty-5aq0nxp3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node70
|
|
20
|
+
} from "./pty-nry7nvbp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service50,
|
|
24
|
+
node54
|
|
25
|
+
} from "./pty-71c4ctfp.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service49,
|
|
34
|
+
node53
|
|
35
|
+
} from "./pty-pk02mbyy.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-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
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service41,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer18,
|
|
67
|
+
node: () => node44
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service72;
|
|
178
|
+
const environment = yield* Service66;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service50;
|
|
181
|
+
const integration = yield* Service49;
|
|
182
|
+
const credentials = yield* Service68;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID6.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
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(
|
|
406
|
+
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(Service66, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service41.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured5(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service41,
|
|
683
|
+
layer: layer18(options),
|
|
684
|
+
deps: [node77, node70, node84, node54, node53, node73]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node44 = configured5();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service41, Options5, layer18, configured5, node44, exports_mcp4 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node77
|
|
19
|
+
} from "./pty-5aq0nxp3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node71
|
|
23
|
+
} from "./pty-actzaqhd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service66,
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node70,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service66 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service72;
|
|
66
|
+
const workspace = yield* Service67;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node70 = makeLocationNode({
|
|
71
|
+
service: Service66,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node77, node71]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service66, node70, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -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-ai/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
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./pty-tdt6s1r3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID18.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID7,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-5b9mh310.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./pty-amgxn0m4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin23,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin23 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info9.make({
|
|
431
|
+
id: ID7.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info9.make({
|
|
438
|
+
id: ID7.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service62;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin23, exports_skill2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./pty-71c4ctfp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./pty-eqyz6y0f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service50;
|
|
57
|
+
const permission = yield* Service53;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|