@opencode/core 0.0.0-dev-20063 → 0.0.0-dev-20065
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-activity-5q02cxx3.js → app-00z3vp5f.js} +4 -4
- package/dist/chunks/{location-activity-yj6jvem3.js → app-0g51362j.js} +7 -7
- package/dist/chunks/{location-activity-2e64pjdc.js → app-0hbq61gs.js} +41 -41
- package/dist/chunks/{location-activity-ss1t0ydj.js → app-0nxp1cg4.js} +15 -15
- package/dist/chunks/{location-activity-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-28tjsp2t.js → app-0q4vh2xx.js} +22 -22
- package/dist/chunks/{location-activity-zdyg23fs.js → app-0vd36xya.js} +15 -15
- package/dist/chunks/{location-activity-adp3t0dd.js → app-110zgqmk.js} +9 -9
- package/dist/chunks/{location-activity-3dvxy880.js → app-153ryezx.js} +3 -3
- package/dist/chunks/{location-activity-rzs3gq0x.js → app-15nepkqg.js} +8 -8
- package/dist/chunks/{location-activity-h6af64dv.js → app-18z30b45.js} +20 -20
- package/dist/chunks/{location-activity-qfrf60an.js → app-1aksr4z1.js} +29 -29
- package/dist/chunks/{location-activity-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-8dqywazt.js → app-1hxy9wee.js} +24 -24
- package/dist/chunks/{location-activity-rmwhpqen.js → app-1pxh0esx.js} +18 -18
- package/dist/chunks/{location-activity-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-9rjpgvvn.js → app-21yxkrpf.js} +72 -72
- package/dist/chunks/{location-activity-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-fpq9acqp.js → app-2a6rn6yr.js} +6 -6
- package/dist/chunks/{location-activity-y737gw18.js → app-2anem1gx.js} +58 -58
- package/dist/chunks/{location-activity-nq8jptq0.js → app-2cjzwb63.js} +29 -29
- package/dist/chunks/{location-activity-zwhj34n5.js → app-2ed8p666.js} +9 -9
- package/dist/chunks/{location-activity-p8e0wkny.js → app-2f45c8dm.js} +15 -15
- package/dist/chunks/{location-activity-xqh3dn7b.js → app-2jt3f8gh.js} +40 -40
- package/dist/chunks/{location-activity-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{location-activity-r2m716tb.js → app-2mq1h16s.js} +9 -9
- package/dist/chunks/{location-activity-aptwngym.js → app-368s6tf9.js} +16 -16
- package/dist/chunks/{location-activity-wsdzd4jz.js → app-375b9z0r.js} +22 -22
- package/dist/chunks/{location-activity-tam61k2d.js → app-38evpe7h.js} +7 -7
- package/dist/chunks/{location-activity-gmf6fkqv.js → app-3ddygy17.js} +6 -6
- package/dist/chunks/{location-activity-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-mh939zjr.js → app-3hymt261.js} +6 -6
- package/dist/chunks/{location-activity-4hctzmxj.js → app-3j1fq1t9.js} +16 -16
- package/dist/chunks/{location-activity-q4ecx0yd.js → app-3npryhn4.js} +23 -23
- package/dist/chunks/{location-activity-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-zha1n4y3.js → app-48ck0avw.js} +9 -9
- package/dist/chunks/{location-activity-j6praawb.js → app-4fcrz8xk.js} +18 -18
- package/dist/chunks/{location-activity-xdvzyxsg.js → app-4my1p8tw.js} +4 -4
- package/dist/chunks/{location-activity-fkt81cgr.js → app-4qaxnqby.js} +28 -28
- package/dist/chunks/{location-activity-gqawmzqm.js → app-4xhhjths.js} +8 -8
- package/dist/chunks/{location-activity-50mzsvk4.js → app-50mzsvk4.js} +1 -1
- package/dist/chunks/{location-activity-hw4e6nah.js → app-533ssrma.js} +11 -11
- package/dist/chunks/{location-activity-ag580yac.js → app-53fyba40.js} +4 -4
- package/dist/chunks/{location-activity-2r95kv5m.js → app-551w3c13.js} +11 -11
- package/dist/chunks/{location-activity-drwq78ky.js → app-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-activity-9pv0dm11.js → app-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-activity-g1ssvemz.js → app-590y27gw.js} +18 -18
- package/dist/chunks/{location-activity-exdd6hg0.js → app-59xdd3bc.js} +4 -4
- package/dist/chunks/{location-activity-377tdzm5.js → app-5cmxdwv8.js} +3 -3
- package/dist/chunks/{location-activity-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-5ekn9679.js → app-5ekn9679.js} +1 -1
- package/dist/chunks/{location-activity-vqynjnv5.js → app-5fa40qca.js} +5 -5
- package/dist/chunks/{location-activity-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-gjhhyng1.js → app-5tpjfzgf.js} +18 -18
- package/dist/chunks/{location-activity-v10dbevp.js → app-60we93z3.js} +13 -13
- package/dist/chunks/{location-activity-xp19q54n.js → app-6243fhfm.js} +50 -50
- package/dist/chunks/{location-activity-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-c7n0gy2n.js → app-6cywv5sk.js} +20 -20
- package/dist/chunks/{location-activity-3wvnfhyh.js → app-6d3a72b8.js} +30 -30
- package/dist/chunks/{location-activity-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-activity-rp6b2dn2.js → app-6j9k7dhm.js} +3 -3
- package/dist/chunks/{location-activity-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-mqdaae5k.js → app-6n0tyswj.js} +31 -31
- package/dist/chunks/{location-activity-1bh1vgap.js → app-6ykmb074.js} +30 -30
- package/dist/chunks/{location-activity-eh3tre7x.js → app-6yy5kzjp.js} +5 -5
- package/dist/chunks/{location-activity-tkeqt0zy.js → app-7247jp3g.js} +17 -17
- package/dist/chunks/{location-activity-1bbkgx8g.js → app-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-activity-yb47thv5.js → app-76bwpp6f.js} +11 -11
- package/dist/chunks/{location-activity-as4gnc5h.js → app-7arbjz9c.js} +7 -7
- package/dist/chunks/{location-activity-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-jxm9g8ke.js → app-7e3ec40m.js} +1 -1
- package/dist/chunks/{location-activity-ycaxr18x.js → app-7j2y68kr.js} +18 -18
- package/dist/chunks/{location-activity-ksfg8aps.js → app-7trd08pa.js} +18 -18
- package/dist/chunks/{location-activity-10z8m19f.js → app-7xk1r0zn.js} +21 -21
- package/dist/chunks/{location-activity-9my1jb7g.js → app-7z4p05m0.js} +8 -8
- package/dist/chunks/{location-activity-yq564c25.js → app-7zngzwcp.js} +29 -29
- package/dist/chunks/{location-activity-d1rxd69n.js → app-83237rng.js} +30 -30
- package/dist/chunks/{location-activity-kqm3aza1.js → app-87deq66t.js} +6 -6
- package/dist/chunks/{location-activity-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-j1zwg1qf.js → app-8dfw8sn4.js} +31 -31
- package/dist/chunks/{location-activity-xmdegtbq.js → app-8fsdzctg.js} +11 -11
- package/dist/chunks/{location-activity-p0rpvep3.js → app-8mwwm09k.js} +7 -7
- package/dist/chunks/{location-activity-fy9s6ntj.js → app-8n1yy9xf.js} +20 -20
- package/dist/chunks/{location-activity-sxzpbmd8.js → app-8syxyqtm.js} +28 -28
- package/dist/chunks/{location-activity-xbya9qm4.js → app-8vq2trkm.js} +32 -32
- package/dist/chunks/{location-activity-nybr5vrh.js → app-8z3dztpz.js} +5 -5
- package/dist/chunks/{location-activity-jjnhab29.js → app-93mn44n6.js} +48 -48
- package/dist/chunks/{location-activity-94ek1h2f.js → app-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-activity-jdaq26vq.js → app-95ezkcx5.js} +36 -36
- package/dist/chunks/{location-activity-3ebvwzrm.js → app-967f0wxr.js} +8 -8
- package/dist/chunks/{location-activity-z4hec619.js → app-9r8h4h2t.js} +4 -4
- package/dist/chunks/{location-activity-2xn7zd19.js → app-9rw1b8hz.js} +44 -44
- package/dist/chunks/{location-activity-kbp4b3kq.js → app-a1jjtyb0.js} +5 -5
- package/dist/chunks/{location-activity-fr89z8wq.js → app-a30fqjjc.js} +10 -10
- package/dist/chunks/{location-activity-rwmg7s8f.js → app-a7bcxdzj.js} +9 -9
- package/dist/chunks/{location-activity-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-7yve55hb.js → app-ace9jgbv.js} +11 -11
- package/dist/chunks/{location-activity-j6fcj7cn.js → app-ajnt6f3q.js} +34 -34
- package/dist/chunks/{location-activity-1ktgcqzb.js → app-as71pn4z.js} +12 -12
- package/dist/chunks/{location-activity-gx5qdb8v.js → app-avsy9rdh.js} +15 -15
- package/dist/chunks/{location-activity-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-wmm8dv1r.js → app-b75ywe9t.js} +11 -11
- package/dist/chunks/{location-activity-r345zd6w.js → app-bj01mvwh.js} +9 -9
- package/dist/chunks/{location-activity-ynd78kyw.js → app-bnzhvqn2.js} +29 -29
- package/dist/chunks/{location-activity-ynemb08k.js → app-bxejt7xe.js} +11 -11
- package/dist/chunks/{location-activity-e6pst98e.js → app-c1a9bmae.js} +13 -13
- package/dist/chunks/{location-activity-jx0sxaf8.js → app-c1qdz9a6.js} +20 -20
- package/dist/chunks/{location-activity-ckecvw8r.js → app-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-activity-cpj0znwe.js → app-cpj0znwe.js} +1 -1
- package/dist/chunks/{location-activity-yprm8cmd.js → app-cr039k61.js} +33 -33
- package/dist/chunks/{location-activity-k6akjfjs.js → app-ctss01x6.js} +26 -26
- package/dist/chunks/{location-activity-m4tkdjj2.js → app-cy56w1rk.js} +1 -1
- package/dist/chunks/{location-activity-ywyx2haj.js → app-d48vtfkp.js} +17 -17
- package/dist/chunks/{location-activity-ppjpn8dd.js → app-d77v1e4e.js} +20 -20
- package/dist/chunks/{location-activity-yyfgae3q.js → app-dnfz4fw9.js} +5 -5
- package/dist/chunks/{location-activity-y71avatq.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-a0y8x1x9.js → app-dwvnzms3.js} +10 -10
- package/dist/chunks/app-dxj72tfx.js +18 -0
- package/dist/chunks/{location-activity-pe4q6a9q.js → app-e241j9r3.js} +3 -3
- package/dist/chunks/{location-activity-yr02nea7.js → app-e6hd9jay.js} +6 -6
- package/dist/chunks/{location-activity-75yx4wx5.js → app-e8c8crbp.js} +2 -2
- package/dist/chunks/{location-activity-rhjbct0v.js → app-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-activity-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-abm6z959.js → app-ekf2dyc6.js} +3 -3
- package/dist/chunks/{location-activity-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-activity-k8w0np50.js → app-et1r3136.js} +13 -13
- package/dist/chunks/{location-activity-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-qek27vk5.js → app-f7xyqgbx.js} +16 -16
- package/dist/chunks/{location-activity-fx9e08vj.js → app-fdk7nwtk.js} +14 -14
- package/dist/chunks/{location-activity-eap65vxz.js → app-fms2b7ny.js} +11 -11
- package/dist/chunks/{location-activity-ewshcpys.js → app-fnd47v7t.js} +8 -8
- package/dist/chunks/{location-activity-pnaxc6j9.js → app-fqtvmpfq.js} +8 -8
- package/dist/chunks/{location-activity-w1gpz0n4.js → app-fs7vhdbk.js} +9 -9
- package/dist/chunks/{location-activity-34kw275d.js → app-fykntd8n.js} +25 -25
- package/dist/chunks/{location-activity-ey6q54wj.js → app-g0m5zvds.js} +26 -26
- package/dist/chunks/{location-activity-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-gg7pg1rj.js → app-gg7pg1rj.js} +2 -2
- package/dist/chunks/{location-activity-8rzt22gh.js → app-gkqnxj86.js} +88 -88
- package/dist/chunks/{location-activity-r2znzkew.js → app-gtj40zt6.js} +4 -4
- package/dist/chunks/{location-activity-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-fc5st77a.js → app-h3psvw6m.js} +9 -9
- package/dist/chunks/{location-activity-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-x4rdan3s.js → app-hn3a6rqc.js} +26 -26
- package/dist/chunks/{location-activity-04n29kb5.js → app-hnbeegqe.js} +30 -30
- package/dist/chunks/{location-activity-1f1g9bfp.js → app-hnf8gsa1.js} +18 -18
- package/dist/chunks/{location-activity-q8ycz8dj.js → app-hps1987y.js} +19 -19
- package/dist/chunks/{location-activity-cvbtfyb1.js → app-hz0q9sdq.js} +8 -8
- package/dist/chunks/{location-activity-p1hpvzdr.js → app-hzv68fmt.js} +19 -19
- package/dist/chunks/{location-activity-pj5anp6d.js → app-j4g4mtm2.js} +11 -11
- package/dist/chunks/{location-activity-thc2y70h.js → app-j4t6y5ss.js} +11 -11
- package/dist/chunks/{location-activity-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-0jq9fyba.js → app-j58c5xyq.js} +9 -9
- package/dist/chunks/{location-activity-64fn380f.js → app-j7vtgtgy.js} +26 -26
- package/dist/chunks/{location-activity-nkj8wer8.js → app-j9kjtgcz.js} +15 -15
- package/dist/chunks/{location-activity-25fn6rqq.js → app-jf2v5c06.js} +22 -22
- package/dist/chunks/{location-activity-xk747vep.js → app-jjs74g98.js} +9 -9
- package/dist/chunks/{location-activity-yt3901j4.js → app-k9ttrstx.js} +43 -43
- package/dist/chunks/{location-activity-s03qb2ns.js → app-kdv3x5g7.js} +39 -39
- package/dist/chunks/{location-activity-trz4cp0y.js → app-kjrk9rzn.js} +17 -17
- package/dist/chunks/{location-activity-3838ekre.js → app-kzbpe9h1.js} +4 -4
- package/dist/chunks/{location-activity-nenvspp7.js → app-m1vvrwcy.js} +13 -13
- package/dist/chunks/{location-activity-sb3yhvye.js → app-m25rymws.js} +11 -11
- package/dist/chunks/{location-activity-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-mhc2wkgs.js → app-m8yjrps0.js} +19 -19
- package/dist/chunks/{location-activity-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-7tr8b183.js → app-mb635f63.js} +5 -5
- package/dist/chunks/{location-activity-33w4ejhs.js → app-mfqp6xfm.js} +9 -9
- package/dist/chunks/{location-activity-hw1ctq4m.js → app-mg2zncmg.js} +22 -22
- package/dist/chunks/{location-activity-84r664yw.js → app-mjs378zw.js} +20 -20
- package/dist/chunks/{location-activity-axenzrc6.js → app-mjx34a5s.js} +46 -46
- package/dist/chunks/{location-activity-7p1mknrn.js → app-msw86qcf.js} +4 -4
- package/dist/chunks/{location-activity-64myw47f.js → app-msxag2ht.js} +10 -10
- package/dist/chunks/{location-activity-10g6xcs2.js → app-mzdr220s.js} +21 -21
- package/dist/chunks/app-n0y6r1yv.js +252 -0
- package/dist/chunks/{location-activity-v86d1rgq.js → app-nbzsj80d.js} +6 -6
- package/dist/chunks/{location-activity-cymxymym.js → app-nmrsv1dc.js} +37 -37
- package/dist/chunks/{location-activity-r1sa43kq.js → app-nrfvb82z.js} +23 -23
- package/dist/chunks/{location-activity-m7kk9p21.js → app-ns15zm60.js} +6 -6
- package/dist/chunks/{location-activity-bmycbdx7.js → app-nx68k9yk.js} +13 -13
- package/dist/chunks/{location-activity-nzks3jc8.js → app-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-activity-tkjpgj67.js → app-p1zpfjkz.js} +12 -12
- package/dist/chunks/{location-activity-7bmrmgmj.js → app-p3vzrz7t.js} +14 -14
- package/dist/chunks/{location-activity-czfptnv9.js → app-p42hj8p8.js} +8 -8
- package/dist/chunks/{location-activity-e9vw5rew.js → app-p9kt6re1.js} +6 -6
- package/dist/chunks/{location-activity-y07mz5m8.js → app-paehqpmp.js} +26 -26
- package/dist/chunks/{location-activity-hkfg6fzm.js → app-pecb0brz.js} +5 -5
- package/dist/chunks/{location-activity-rg55ar54.js → app-pgzeccqn.js} +9 -9
- package/dist/chunks/{location-activity-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-knb90njk.js → app-pnhe2c1x.js} +5 -5
- package/dist/chunks/{location-activity-fwvygk21.js → app-ppchbf73.js} +3 -3
- package/dist/chunks/{location-activity-14hrbb5d.js → app-ps11h5gy.js} +30 -30
- package/dist/chunks/{location-activity-fznn93sw.js → app-pyjct6fe.js} +15 -15
- package/dist/chunks/{location-activity-926caeg8.js → app-q98zgpmz.js} +13 -13
- package/dist/chunks/{location-activity-txvhh9w4.js → app-qcxh87b9.js} +78 -78
- package/dist/chunks/{location-activity-b026zjym.js → app-qe2fkp0s.js} +23 -23
- package/dist/chunks/{location-activity-87np76z4.js → app-qn6h5j4k.js} +6 -6
- package/dist/chunks/{location-activity-eh0978h6.js → app-qntm3nww.js} +11 -11
- package/dist/chunks/{location-activity-evbgk2k8.js → app-qr8csav2.js} +5 -5
- package/dist/chunks/{location-activity-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-e2jw5gm9.js → app-qwwyczrh.js} +38 -38
- package/dist/chunks/{location-activity-qjxevsft.js → app-r3c4069c.js} +1 -1
- package/dist/chunks/{location-activity-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-150yg2gd.js → app-reg6q42h.js} +5 -5
- package/dist/chunks/{location-activity-yz0b1y95.js → app-rfh1wnxb.js} +12 -12
- package/dist/chunks/{location-activity-3tz3ez9v.js → app-rmps83f0.js} +21 -21
- package/dist/chunks/{location-activity-gkcf8h2e.js → app-rnwxbttv.js} +8 -8
- package/dist/chunks/{location-activity-cxtpsf86.js → app-rryjnr2s.js} +15 -15
- package/dist/chunks/{location-activity-ryhskwyp.js → app-ryxphezs.js} +22 -22
- package/dist/chunks/{location-activity-9r60mcam.js → app-s6dskvww.js} +8 -8
- package/dist/chunks/{location-activity-egn9h43e.js → app-s7xh2hpr.js} +25 -25
- package/dist/chunks/{location-activity-ss07bkd2.js → app-saz9d1e1.js} +25 -25
- package/dist/chunks/{location-activity-yfqvh5hc.js → app-sjet8qs7.js} +20 -20
- package/dist/chunks/{location-activity-7rbx6shk.js → app-swr81fay.js} +179 -179
- package/dist/chunks/{location-activity-hm7nmt8v.js → app-t295gyhv.js} +5 -5
- package/dist/chunks/{location-activity-6vxqzkte.js → app-t55tk8n1.js} +9 -9
- package/dist/chunks/{location-activity-p9w36536.js → app-t5z440qy.js} +25 -25
- package/dist/chunks/{location-activity-e2hjzebn.js → app-t7n9q6bq.js} +4 -4
- package/dist/chunks/{location-activity-df4v6x34.js → app-ta0kzjga.js} +32 -32
- package/dist/chunks/{location-activity-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-k6445fkp.js → app-tf2pk26t.js} +14 -14
- package/dist/chunks/{location-activity-rc786g95.js → app-tgvr22f4.js} +8 -8
- package/dist/chunks/{location-activity-bp8cjhxv.js → app-thnehmyr.js} +8 -8
- package/dist/chunks/{location-activity-d216944b.js → app-tkmwgdpd.js} +4 -4
- package/dist/chunks/{location-activity-vfdgmadz.js → app-trshmsc8.js} +44 -44
- package/dist/chunks/{location-activity-q4jgg3kf.js → app-tvnx3264.js} +18 -18
- package/dist/chunks/{location-activity-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-3ehtcamn.js → app-tx4my4nz.js} +43 -43
- package/dist/chunks/{location-activity-a3zemzkc.js → app-v1cnb83x.js} +6 -6
- package/dist/chunks/{location-activity-74nzjkek.js → app-v6zx26cv.js} +19 -19
- package/dist/chunks/{location-activity-fdbzjfsn.js → app-v87dcxq7.js} +7 -7
- package/dist/chunks/{location-activity-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/app-vgczqxfk.js +503 -0
- package/dist/chunks/{location-activity-d16qd7aj.js → app-vmgq4x8b.js} +2 -2
- package/dist/chunks/{location-activity-jv6862zv.js → app-vmwh049b.js} +6 -6
- package/dist/chunks/{location-activity-1024j2x1.js → app-vt8dvwd8.js} +3 -3
- package/dist/chunks/{location-activity-vtxr0yy2.js → app-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-activity-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-3qpy5f0j.js → app-vzfbsavd.js} +13 -13
- package/dist/chunks/{location-activity-j479vnfw.js → app-w0ae26qm.js} +9 -9
- package/dist/chunks/{location-activity-c47mvw4e.js → app-w3crv97k.js} +39 -39
- package/dist/chunks/{location-activity-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-b7v4cx43.js → app-w8xr7nv8.js} +5 -5
- package/dist/chunks/{location-activity-wd3x2cqz.js → app-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-activity-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-6h85ktba.js → app-whfn5mjk.js} +43 -43
- package/dist/chunks/{location-activity-ckyn2epw.js → app-wp9tfm2b.js} +11 -11
- package/dist/chunks/{location-activity-3fmtxraa.js → app-wq4mmp7m.js} +4 -4
- package/dist/chunks/{location-activity-7799vnb2.js → app-wt6f8kas.js} +8 -8
- package/dist/chunks/{location-activity-1tbm2v5y.js → app-wtypy9yg.js} +27 -27
- package/dist/chunks/{location-activity-t15cpccw.js → app-wyeygdap.js} +4 -4
- package/dist/chunks/{location-activity-2fx2tzfe.js → app-wza937mg.js} +20 -20
- package/dist/chunks/{location-activity-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-03dcqpaj.js → app-xaagk8jj.js} +5 -5
- package/dist/chunks/{location-activity-fkjmw100.js → app-xfdrc2qg.js} +8 -8
- package/dist/chunks/{location-activity-g4br81qq.js → app-xfm370aa.js} +24 -24
- package/dist/chunks/{location-activity-hrexgq4a.js → app-xkf0t35f.js} +44 -44
- package/dist/chunks/{location-activity-9c4capd3.js → app-xsp8mkyd.js} +20 -20
- package/dist/chunks/{location-activity-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-dbb8vp5z.js → app-y6mhz57t.js} +4 -4
- package/dist/chunks/{location-activity-ma3y0ar2.js → app-y7v1b0f0.js} +14 -14
- package/dist/chunks/{location-activity-17q0rvyw.js → app-ybvnw0jt.js} +13 -13
- package/dist/chunks/{location-activity-1acjjqhc.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-activity-pt3jfr41.js → app-yq2cczkq.js} +9 -9
- package/dist/chunks/{location-activity-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-4kg75r2a.js → app-yvhvpfbj.js} +14 -14
- package/dist/chunks/{location-activity-z07pqspn.js → app-z07pqspn.js} +3 -3
- package/dist/chunks/{location-activity-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-kxjjqxmp.js → app-z2p5fxnh.js} +22 -22
- package/dist/chunks/{location-activity-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-x0bafnv5.js → app-za3xgyhg.js} +21 -21
- package/dist/chunks/{location-activity-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/app-zgdvnj2k.js +26 -0
- package/dist/chunks/{location-activity-gnb728zk.js → app-zh3fr1rp.js} +24 -24
- package/dist/chunks/{location-activity-s0hza5ac.js → app-zj09a0ew.js} +4 -4
- package/dist/chunks/{location-activity-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- 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 +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-activity-8hdnh29e.js +0 -252
- package/dist/chunks/location-activity-9sh4wc5j.js +0 -18
- package/dist/chunks/location-activity-chy251gt.js +0 -26
- package/dist/chunks/location-activity-pr5e2nkq.js +0 -503
- /package/dist/chunks/{location-activity-0mesazry.js → app-0mesazry.js} +0 -0
- /package/dist/chunks/{location-activity-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-mb635f63.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./app-2f45c8dm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./app-hps1987y.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./app-j9kjtgcz.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin39,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin39 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service66;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin2 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent4 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name5, Input5, Plugin39, toModelContent4, exports_read };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service45, exports_runner };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./app-368s6tf9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node37
|
|
8
|
+
} from "./app-trshmsc8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./app-6243fhfm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service57,
|
|
15
|
+
node59
|
|
16
|
+
} from "./app-ryxphezs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service34;
|
|
42
|
+
const tools = yield* Service57;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node36 = makeLocationNode({
|
|
124
|
+
service: Service33,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node59, node37, node83, node76]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service33, layer14, node36, exports_mcp3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./app-368s6tf9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-mb635f63.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./app-trshmsc8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin34 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service77;
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
|
+
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin34, exports_command2 };
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-mb635f63.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-c1qdz9a6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin26 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service77;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin26, exports_git };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-wq4mmp7m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-53fyba40.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command4 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./app-368s6tf9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service61,
|
|
11
|
+
node63
|
|
12
|
+
} from "./app-95ezkcx5.js";
|
|
13
13
|
import {
|
|
14
14
|
Service77,
|
|
15
15
|
node81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-mb635f63.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node72
|
|
20
|
+
} from "./app-za3xgyhg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service62,
|
|
24
|
+
node64
|
|
25
|
+
} from "./app-xfm370aa.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service60,
|
|
34
|
+
node62
|
|
35
|
+
} from "./app-7zngzwcp.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured4,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node37
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,13 +101,13 @@ var Options4 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service77;
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
106
|
+
const environment = yield* Service69;
|
|
107
|
+
const bus = yield* Service79;
|
|
108
|
+
const forms = yield* Service62;
|
|
109
|
+
const integration = yield* Service60;
|
|
110
|
+
const credentials = yield* Service61;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID8.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service61, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service61, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = 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(
|
|
243
|
+
const load = 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(Service69, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service34.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -512,12 +512,12 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
512
512
|
}));
|
|
513
513
|
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node81,
|
|
515
|
+
service: Service34,
|
|
516
|
+
layer: layer15(options),
|
|
517
|
+
deps: [node81, node72, node83, node64, node62, node63]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node37 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer15, configured4, node37, exports_mcp4 };
|