@opencode/core 0.0.0-dev-19755 → 0.0.0-dev-19757
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{variant-zav06jzw.js → formatter-06x8he3q.js} +4 -4
- package/dist/chunks/{variant-13dh974y.js → formatter-08ym40nb.js} +2 -2
- package/dist/chunks/{variant-h71w788e.js → formatter-0996nyz8.js} +9 -9
- package/dist/chunks/{variant-nxhqveyz.js → formatter-0f9afca0.js} +5 -5
- package/dist/chunks/{variant-baqjdnwk.js → formatter-0fxerekh.js} +10 -10
- package/dist/chunks/{variant-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-msy9kxmj.js → formatter-0v0eynhg.js} +6 -6
- package/dist/chunks/{variant-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-t679ksrz.js → formatter-1pj95ama.js} +14 -14
- package/dist/chunks/{variant-56gdpj1q.js → formatter-1ygqh575.js} +9 -9
- package/dist/chunks/{variant-4y9pqhyv.js → formatter-1yv162eq.js} +4 -4
- package/dist/chunks/{variant-e9nwq02x.js → formatter-1zksj7yq.js} +11 -11
- package/dist/chunks/{variant-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{variant-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-s4wyphra.js → formatter-24rwab1a.js} +32 -32
- package/dist/chunks/{variant-xf9f43sm.js → formatter-29bjb6a3.js} +20 -20
- package/dist/chunks/{variant-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-r17hastf.js → formatter-2bh5apgf.js} +23 -23
- package/dist/chunks/{variant-p5ckrkz6.js → formatter-2cyr096t.js} +4 -4
- package/dist/chunks/{variant-q9qvx5k4.js → formatter-2jshy6k2.js} +4 -4
- package/dist/chunks/{variant-34mngf15.js → formatter-2mmbc3xp.js} +47 -47
- package/dist/chunks/{variant-zrjh3the.js → formatter-2vywekkr.js} +13 -13
- package/dist/chunks/{variant-jarn1zxe.js → formatter-2wj8n25z.js} +6 -6
- package/dist/chunks/{variant-gmdh372t.js → formatter-2z5bgv6k.js} +11 -11
- package/dist/chunks/{variant-vvza37g4.js → formatter-34nv4jvf.js} +12 -12
- package/dist/chunks/{variant-rhq1evez.js → formatter-37sjec0g.js} +11 -11
- package/dist/chunks/{variant-2wt4q6sv.js → formatter-39vx9120.js} +8 -8
- package/dist/chunks/{variant-fyxezqnx.js → formatter-3b7cesba.js} +5 -5
- package/dist/chunks/{variant-hq8zt1th.js → formatter-3c1tgrea.js} +6 -6
- package/dist/chunks/{variant-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-6fza86b1.js → formatter-3fq7r9z3.js} +25 -25
- package/dist/chunks/{variant-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-tfsrmy5e.js → formatter-3hr7jtfn.js} +26 -26
- package/dist/chunks/{variant-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-c99jbp8g.js → formatter-3ybmm67g.js} +14 -14
- package/dist/chunks/{variant-sd7tgwdz.js → formatter-432zg6d4.js} +32 -32
- package/dist/chunks/{variant-10x51kd0.js → formatter-46kx5wxz.js} +11 -11
- package/dist/chunks/{variant-a24cc65p.js → formatter-47aj3v1p.js} +14 -14
- package/dist/chunks/{variant-n2k4sx1d.js → formatter-4d3mce5a.js} +39 -39
- package/dist/chunks/{variant-mrz9s6e6.js → formatter-4h2p8nkm.js} +9 -9
- package/dist/chunks/{variant-b97cbvw3.js → formatter-4jc5c4h4.js} +1 -1
- package/dist/chunks/{variant-fjvydvzm.js → formatter-4jv7e9dq.js} +8 -8
- package/dist/chunks/{variant-aztr3m3n.js → formatter-4r1f55er.js} +17 -17
- package/dist/chunks/{variant-mx4tgcxr.js → formatter-4r6m9py7.js} +18 -18
- package/dist/chunks/{variant-x14pzsvy.js → formatter-4zaq21pg.js} +13 -13
- package/dist/chunks/{variant-d9j1s0dk.js → formatter-52vhye62.js} +20 -20
- package/dist/chunks/{variant-57ez7d0k.js → formatter-57ez7d0k.js} +2 -2
- package/dist/chunks/{variant-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-qatfm6ce.js → formatter-5fyzcds6.js} +23 -23
- package/dist/chunks/{variant-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{variant-0gaj4617.js → formatter-6anwy9fs.js} +6 -6
- package/dist/chunks/{variant-he5m8xjt.js → formatter-6ctg8cmm.js} +13 -13
- package/dist/chunks/{variant-e72xwpbb.js → formatter-6gqwehnk.js} +11 -11
- package/dist/chunks/{variant-h424sj19.js → formatter-6h1s4fng.js} +13 -13
- package/dist/chunks/{variant-zx9yds1z.js → formatter-6js7ajd4.js} +30 -30
- package/dist/chunks/{variant-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-wjzf10yw.js → formatter-6q2qzy88.js} +4 -4
- package/dist/chunks/{variant-rbwerdtn.js → formatter-6q3qeyxk.js} +5 -5
- package/dist/chunks/{variant-k0crd1e0.js → formatter-6rmnkzfb.js} +15 -15
- package/dist/chunks/{variant-gvkpq563.js → formatter-76vcy4ng.js} +16 -16
- package/dist/chunks/{variant-y6zv80t6.js → formatter-7815knry.js} +11 -11
- package/dist/chunks/{variant-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-b1nwpeh8.js → formatter-7tmymnpd.js} +9 -9
- package/dist/chunks/{variant-xqn5qrhj.js → formatter-7xmff81v.js} +15 -15
- package/dist/chunks/{variant-k4kk5nq6.js → formatter-7y3w5jth.js} +43 -43
- package/dist/chunks/{variant-myd99ydh.js → formatter-82gda1eq.js} +21 -21
- package/dist/chunks/{variant-t0d015xz.js → formatter-82ppghe7.js} +5 -5
- package/dist/chunks/{variant-y6gtwkkz.js → formatter-858xx9fq.js} +3 -3
- package/dist/chunks/{variant-fwpce522.js → formatter-86d6e2n1.js} +33 -33
- package/dist/chunks/{variant-xy2jrymb.js → formatter-87gcxw7f.js} +17 -17
- package/dist/chunks/{variant-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-qe7hh5pt.js → formatter-8krhc899.js} +30 -30
- package/dist/chunks/{variant-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-fzcazhxe.js → formatter-8xgg1ta2.js} +3 -3
- package/dist/chunks/{variant-jcxa0jkb.js → formatter-98ms71gf.js} +14 -14
- package/dist/chunks/{variant-stb6pav1.js → formatter-9rj3xa8n.js} +15 -15
- package/dist/chunks/formatter-9sd31a58.js +26 -0
- package/dist/chunks/{variant-0fzt54dc.js → formatter-a002vgwb.js} +6 -6
- package/dist/chunks/{variant-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-1r23n6jg.js → formatter-aettmwyp.js} +31 -31
- package/dist/chunks/{variant-kd66rd8f.js → formatter-aj204w2b.js} +47 -47
- package/dist/chunks/{variant-rcn97vet.js → formatter-akrnn5pm.js} +8 -8
- package/dist/chunks/{variant-46q9e2t6.js → formatter-arr7rt2x.js} +25 -25
- package/dist/chunks/{variant-2zph646v.js → formatter-ax3z2rcn.js} +3 -3
- package/dist/chunks/{variant-yf0xe7xe.js → formatter-b5wchtbc.js} +21 -21
- package/dist/chunks/{variant-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-ez8khb7t.js → formatter-bgmk75ab.js} +8 -8
- package/dist/chunks/{variant-15nepkqg.js → formatter-bh0zzf2s.js} +8 -8
- package/dist/chunks/{variant-bha4atvq.js → formatter-bha4atvq.js} +4 -4
- package/dist/chunks/{variant-ka5jcpbb.js → formatter-bkbe2fp5.js} +10 -10
- package/dist/chunks/{variant-xdkvt8cn.js → formatter-c0m9hyz0.js} +9 -9
- package/dist/chunks/{variant-gmjq4p6e.js → formatter-c488s98d.js} +12 -12
- package/dist/chunks/{variant-9eqcqd4c.js → formatter-c5aq6n3b.js} +7 -7
- package/dist/chunks/{variant-m6j00t72.js → formatter-c61a4c85.js} +24 -24
- package/dist/chunks/{variant-2f0bjgcj.js → formatter-c78bbtc9.js} +5 -5
- package/dist/chunks/{variant-htawzerg.js → formatter-c9qv3xyw.js} +77 -77
- package/dist/chunks/{variant-9wdbzsk5.js → formatter-cacz7m9f.js} +18 -18
- package/dist/chunks/{variant-hssa1mk1.js → formatter-ceh329e1.js} +11 -11
- package/dist/chunks/{variant-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-87b5ab83.js → formatter-d650b0nm.js} +21 -21
- package/dist/chunks/{variant-52xvjhmr.js → formatter-d78wf4jw.js} +11 -11
- package/dist/chunks/{variant-1y283654.js → formatter-d858xzj7.js} +4 -4
- package/dist/chunks/{variant-djszqvmq.js → formatter-djszqvmq.js} +2 -2
- package/dist/chunks/{variant-mz4hn5fn.js → formatter-dqcgfggf.js} +10 -10
- package/dist/chunks/{variant-s1kf21y0.js → formatter-dsxekm4p.js} +27 -27
- package/dist/chunks/{variant-2wehargz.js → formatter-dtv9hzvh.js} +13 -13
- package/dist/chunks/{variant-cmwkp3r5.js → formatter-dv1qgsyq.js} +8 -8
- package/dist/chunks/{variant-dwq6ryhm.js → formatter-dy8qh9xy.js} +8 -8
- package/dist/chunks/{variant-m7qewpwr.js → formatter-e4346r51.js} +19 -19
- package/dist/chunks/{variant-aqagt0xn.js → formatter-e8ym8eqq.js} +16 -16
- package/dist/chunks/{variant-eaj1djv9.js → formatter-eaj1djv9.js} +1 -1
- package/dist/chunks/{variant-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-6346gqxg.js → formatter-ekt5sq8n.js} +14 -14
- package/dist/chunks/{variant-6x3sne5z.js → formatter-enbm4ny7.js} +14 -14
- package/dist/chunks/{variant-erw5rpbs.js → formatter-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-czncv1dn.js → formatter-f7c5yctb.js} +3 -3
- package/dist/chunks/{variant-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{variant-2k8khapm.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{variant-pembkt64.js → formatter-ft01kdnj.js} +4 -4
- package/dist/chunks/{variant-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-6jmftpwx.js → formatter-g34rm5ee.js} +30 -30
- package/dist/chunks/{variant-e4g5679w.js → formatter-g3yyr5p0.js} +13 -13
- package/dist/chunks/{variant-c8phhc0k.js → formatter-g9nqk1j3.js} +28 -28
- package/dist/chunks/{variant-da92w30y.js → formatter-gaftdbkr.js} +38 -38
- package/dist/chunks/{variant-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-69eyqcz3.js → formatter-gqf6jkd0.js} +15 -15
- package/dist/chunks/{variant-dvyyk6h6.js → formatter-gqn8487k.js} +44 -44
- package/dist/chunks/{variant-mhk0nngs.js → formatter-gs7mtawa.js} +33 -33
- package/dist/chunks/{variant-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-wn00c1d4.js → formatter-h3b1qqa9.js} +7 -7
- package/dist/chunks/{variant-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-8n2ngqz1.js → formatter-haqyfn71.js} +38 -38
- package/dist/chunks/{variant-evnmj0gr.js → formatter-hkxhfj70.js} +16 -16
- package/dist/chunks/{variant-1q4zsn8w.js → formatter-hmq6fc40.js} +11 -11
- package/dist/chunks/{variant-nm2vgw0w.js → formatter-hn6dtez2.js} +27 -27
- package/dist/chunks/formatter-hxa7m5za.js +4 -0
- package/dist/chunks/{variant-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-pmr4s4kc.js → formatter-j83byb14.js} +4 -4
- package/dist/chunks/{variant-qr62dt95.js → formatter-j9gazmrb.js} +5 -5
- package/dist/chunks/{variant-3ebgyt18.js → formatter-jcf77vsk.js} +2 -2
- package/dist/chunks/{variant-szjxjngx.js → formatter-jfn6ykkf.js} +12 -12
- package/dist/chunks/{variant-aqrscnf9.js → formatter-jfq5ya7h.js} +30 -30
- package/dist/chunks/{variant-r176d7a5.js → formatter-jjp0yg0r.js} +16 -16
- package/dist/chunks/{variant-g5x3nt1n.js → formatter-jwpsb1fs.js} +24 -24
- package/dist/chunks/{variant-11r4b5ha.js → formatter-k3a03e74.js} +11 -11
- package/dist/chunks/{variant-zes4m6vf.js → formatter-kkjryrew.js} +9 -9
- package/dist/chunks/{variant-1cac7wev.js → formatter-ks6s6bng.js} +46 -46
- package/dist/chunks/{variant-r9h5kjxq.js → formatter-kvz7gft4.js} +3 -3
- package/dist/chunks/{variant-2vdhmmy2.js → formatter-kw4y2rsq.js} +304 -304
- package/dist/chunks/{variant-p3ewdwpp.js → formatter-kyarz3ws.js} +12 -12
- package/dist/chunks/{variant-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-re8h066d.js → formatter-mg63z3hs.js} +25 -25
- package/dist/chunks/{variant-73tb2d7t.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-a5ypbz75.js → formatter-mtz5a3ex.js} +5 -5
- package/dist/chunks/{variant-wnedv2xw.js → formatter-mxz1spxe.js} +13 -13
- package/dist/chunks/{variant-z4n77hj8.js → formatter-n1tnp0w1.js} +17 -17
- package/dist/chunks/{variant-61kgnza5.js → formatter-na2nrvv6.js} +31 -31
- package/dist/chunks/{variant-6x7n2evt.js → formatter-nccgq8j4.js} +16 -16
- package/dist/chunks/{variant-br86fby1.js → formatter-nvb1qhwk.js} +14 -14
- package/dist/chunks/{variant-8b6mfqax.js → formatter-nwpzj615.js} +9 -9
- package/dist/chunks/{variant-nzks3jc8.js → formatter-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-44h5tttr.js → formatter-nzyhnfxz.js} +4 -4
- package/dist/chunks/{variant-p28j5sbe.js → formatter-p28j5sbe.js} +2 -2
- package/dist/chunks/{variant-yb7hxqky.js → formatter-p6j26bex.js} +7 -7
- package/dist/chunks/{variant-m7yrkyxp.js → formatter-p9wyast9.js} +6 -6
- package/dist/chunks/{variant-1v4r0pjr.js → formatter-pegh2r6s.js} +9 -9
- package/dist/chunks/{variant-2f02t6at.js → formatter-pg9911fw.js} +40 -40
- package/dist/chunks/{variant-5jq2p11x.js → formatter-pgey37v9.js} +12 -12
- package/dist/chunks/{variant-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{variant-nq7qbqzc.js → formatter-pnv527nz.js} +9 -9
- package/dist/chunks/{variant-yxc8j9am.js → formatter-pstjchew.js} +20 -20
- package/dist/chunks/{variant-adze53zs.js → formatter-psve6y68.js} +8 -8
- package/dist/chunks/{variant-nr5pr1ka.js → formatter-pxcfj33x.js} +28 -28
- package/dist/chunks/{variant-yv1wsmnb.js → formatter-q3rwwjss.js} +24 -24
- package/dist/chunks/{variant-dmzb2kh1.js → formatter-q3thq4d0.js} +8 -8
- package/dist/chunks/formatter-q509s3k3.js +18 -0
- package/dist/chunks/{variant-29eh7px0.js → formatter-q52v1zkd.js} +9 -9
- package/dist/chunks/{variant-bjmk25e5.js → formatter-q7daxc3f.js} +18 -18
- package/dist/chunks/{variant-r714qx8e.js → formatter-q99k41bd.js} +28 -28
- package/dist/chunks/{variant-bc17bezm.js → formatter-qb5946j2.js} +18 -18
- package/dist/chunks/{variant-g6m037q6.js → formatter-qby8jf2p.js} +8 -8
- package/dist/chunks/{variant-k2h4r4s0.js → formatter-qj8eh1ht.js} +4 -4
- package/dist/chunks/{variant-5waazmq4.js → formatter-qk09twxp.js} +8 -8
- package/dist/chunks/{variant-57b9ws8p.js → formatter-qqeeq2t9.js} +4 -4
- package/dist/chunks/{variant-k3an9tzv.js → formatter-qrg0q5a9.js} +12 -12
- package/dist/chunks/{variant-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-8tskyc8r.js → formatter-qtdgjjy1.js} +11 -11
- package/dist/chunks/{variant-5c0a4jh2.js → formatter-qzjnbpqp.js} +38 -38
- package/dist/chunks/{variant-m4nm25j0.js → formatter-rc8abpkz.js} +6 -6
- package/dist/chunks/{variant-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-hx8ybye2.js → formatter-rfczfd12.js} +10 -10
- package/dist/chunks/{variant-mnpyady4.js → formatter-rmerk4f4.js} +49 -49
- package/dist/chunks/{variant-zwzbmaqk.js → formatter-rmf8y2x7.js} +15 -15
- package/dist/chunks/{variant-96te9d4b.js → formatter-rmk2c50f.js} +5 -5
- package/dist/chunks/{variant-r75q3gpe.js → formatter-ry9ybv6e.js} +1 -1
- package/dist/chunks/{variant-qa3qhgw8.js → formatter-ryr25ayn.js} +4 -4
- package/dist/chunks/{variant-4r2cc09n.js → formatter-ryvbxndv.js} +25 -25
- package/dist/chunks/{variant-42cx3bd5.js → formatter-rz9n75z5.js} +32 -32
- package/dist/chunks/{variant-erdgrhzk.js → formatter-s0b4m20z.js} +8 -8
- package/dist/chunks/formatter-s0mep9za.js +252 -0
- package/dist/chunks/{variant-vt81eaed.js → formatter-s4jehtr9.js} +13 -13
- package/dist/chunks/{variant-wa6z1zpc.js → formatter-s5cgwvcm.js} +3 -3
- package/dist/chunks/{variant-nk6esdp9.js → formatter-s61nvhk3.js} +5 -5
- package/dist/chunks/{variant-wc0ayt6v.js → formatter-sfmpga1j.js} +21 -21
- package/dist/chunks/{variant-b2946ah7.js → formatter-sh9rh5j7.js} +25 -25
- package/dist/chunks/{variant-h6jr292a.js → formatter-shh6fz4q.js} +4 -4
- package/dist/chunks/{variant-x3a9b0cv.js → formatter-skfdyt5m.js} +26 -26
- package/dist/chunks/{variant-8bpqntr2.js → formatter-spettxyb.js} +3 -3
- package/dist/chunks/{variant-p41gq7r8.js → formatter-spr8h2ym.js} +9 -9
- package/dist/chunks/{variant-g3ca0se1.js → formatter-ss1d5n7s.js} +19 -19
- package/dist/chunks/{variant-e07bhymk.js → formatter-st612rmk.js} +30 -30
- package/dist/chunks/{variant-8gy6y1pp.js → formatter-sw8vrykn.js} +15 -15
- package/dist/chunks/{variant-sz1t3jvt.js → formatter-sxjzzd7x.js} +10 -10
- package/dist/chunks/{variant-6jhhwrjj.js → formatter-szgtqmk5.js} +6 -6
- package/dist/chunks/{variant-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{variant-9p24bb7b.js → formatter-tq9bddfy.js} +10 -10
- package/dist/chunks/{variant-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-2eegacq4.js → formatter-tx9w5tca.js} +8 -8
- package/dist/chunks/{variant-9bm1wkqx.js → formatter-v1kad2yc.js} +23 -23
- package/dist/chunks/{variant-b5f1m11j.js → formatter-vavx823f.js} +11 -11
- package/dist/chunks/{variant-qf1qmhmd.js → formatter-vbgqmq0k.js} +34 -34
- package/dist/chunks/{variant-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-vmgq4x8b.js → formatter-vmgq4x8b.js} +2 -2
- package/dist/chunks/{variant-vmwh049b.js → formatter-vmwh049b.js} +3 -3
- package/dist/chunks/{variant-kjrb6qxe.js → formatter-vy8be3j0.js} +5 -5
- package/dist/chunks/{variant-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-26k5bknw.js → formatter-w1k39n5e.js} +4 -4
- package/dist/chunks/{variant-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-3as10fz9.js → formatter-w6fn3d5n.js} +4 -4
- package/dist/chunks/{variant-amt6wfs0.js → formatter-w7m5m02k.js} +42 -42
- package/dist/chunks/{variant-qte5z7bc.js → formatter-wbkyxrgf.js} +5 -5
- package/dist/chunks/{variant-ztb7zmdv.js → formatter-wbt8he73.js} +26 -26
- package/dist/chunks/{variant-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{variant-fpy7bqj6.js → formatter-wgcgxnpz.js} +3 -3
- package/dist/chunks/{variant-k5vfzq67.js → formatter-wgdgcqs0.js} +25 -25
- package/dist/chunks/{variant-hpwhafhw.js → formatter-wht0dt7x.js} +3 -3
- package/dist/chunks/{variant-84eerp93.js → formatter-wrj9kdwa.js} +1 -1
- package/dist/chunks/{variant-zg1tkmrp.js → formatter-wvj88p5n.js} +24 -24
- package/dist/chunks/{variant-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-r4zbqzs6.js → formatter-xc7y8sbe.js} +26 -26
- package/dist/chunks/{variant-9yhcv9e4.js → formatter-xe2dwhgm.js} +13 -13
- package/dist/chunks/{variant-6tvncfhr.js → formatter-xfp1mhk8.js} +4 -4
- package/dist/chunks/{variant-983aazre.js → formatter-xhczph7k.js} +9 -9
- package/dist/chunks/{variant-gxjafr90.js → formatter-xhqsr2sb.js} +61 -61
- package/dist/chunks/{variant-75knnh2w.js → formatter-xpzt8j8n.js} +11 -11
- package/dist/chunks/{variant-2z8j0phm.js → formatter-xt2789zt.js} +31 -31
- package/dist/chunks/{variant-xzgc5d6v.js → formatter-xtdfp5ze.js} +19 -19
- package/dist/chunks/{variant-hwnqw730.js → formatter-xwrmtca6.js} +11 -11
- package/dist/chunks/{variant-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{variant-9pe9ne7r.js → formatter-y766knqa.js} +19 -19
- package/dist/chunks/{variant-r8xr0va3.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{variant-w5b9s23p.js → formatter-yp6mbb9j.js} +30 -30
- package/dist/chunks/{variant-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-05r119gk.js → formatter-yt4sqp67.js} +18 -18
- package/dist/chunks/{variant-zf13v5ha.js → formatter-ywmq5p8p.js} +17 -17
- package/dist/chunks/{variant-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-j07j1cdh.js → formatter-z47fxbth.js} +39 -39
- package/dist/chunks/{variant-z63w68vq.js → formatter-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-ffy1vj08.js → formatter-z9s6ggjz.js} +13 -13
- package/dist/chunks/{variant-6n4b0dsb.js → formatter-zab19jja.js} +9 -9
- package/dist/chunks/{variant-768gsh1v.js → formatter-zdbfb4d6.js} +8 -8
- package/dist/chunks/{variant-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-zk79tsjd.js → formatter-zh9xaa1s.js} +32 -32
- package/dist/chunks/{variant-dgx4jdcd.js → formatter-zk1psjwf.js} +74 -74
- package/dist/chunks/{variant-3tq5qxbk.js → formatter-zqx8wcya.js} +6 -6
- package/dist/chunks/{variant-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-dw7gtyxg.js → formatter-zs0nrmpk.js} +12 -12
- package/dist/chunks/{variant-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-0154zt3t.js → formatter-zyrceszn.js} +160 -160
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-0mesazry.js +0 -4
- package/dist/chunks/variant-by5v678g.js +0 -18
- package/dist/chunks/variant-pget6tg7.js +0 -252
- package/dist/chunks/variant-xt9w0car.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5cmxdwv8.js → formatter-5cmxdwv8.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./formatter-kyarz3ws.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./formatter-xt2789zt.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-jcf77vsk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service51,
|
|
19
|
+
node54
|
|
20
|
+
} from "./formatter-82gda1eq.js";
|
|
21
21
|
import {
|
|
22
22
|
ID11,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service72,
|
|
24
|
+
node76
|
|
25
|
+
} from "./formatter-qrg0q5a9.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service70,
|
|
34
|
+
node74
|
|
35
|
+
} from "./formatter-q99k41bd.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
106
|
+
const environment = yield* Service51;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service72;
|
|
109
|
+
const integration = yield* Service70;
|
|
110
|
+
const credentials = yield* Service71;
|
|
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 layer13 = (options) => Layer.effect(Service33, 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 = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service33, 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(Service71, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,14 +144,14 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError3({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
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(Service71, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
@@ -240,7 +240,7 @@ var layer13 = (options) => Layer.effect(Service33, 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(Service51, 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 layer13 = (options) => Layer.effect(Service33, 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 layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service32.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer13 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node83,
|
|
515
|
+
service: Service32,
|
|
516
|
+
layer: layer15(options),
|
|
517
|
+
deps: [node83, node54, node86, node76, node74, node75]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node35 = 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,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-st612rmk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service32,
|
|
13
|
+
node35
|
|
14
|
+
} from "./formatter-rmerk4f4.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./formatter-432zg6d4.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
25
25
|
__export(exports_instructions2, {
|
|
26
26
|
McpInstructions: () => exports_instructions2,
|
|
27
27
|
Service: () => Service26,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -64,8 +64,8 @@ var update = (previous, current) => {
|
|
|
64
64
|
|
|
65
65
|
class Service26 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
67
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service32;
|
|
69
69
|
return Service26.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
@@ -90,7 +90,7 @@ var layer9 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node29 = makeLocationNode({ service: Service26, layer: layer11, deps: [node35] });
|
|
104
104
|
|
|
105
|
-
export { Service26,
|
|
105
|
+
export { Service26, layer11, node29, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = 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 Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-jcf77vsk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./formatter-9rj3xa8n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./formatter-hkxhfj70.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-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 "./formatter-7xmff81v.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-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: () => Input11,
|
|
36
|
+
Plugin: () => Plugin44,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
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 name11 = "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 Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin44 = {
|
|
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* Service47;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
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: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin6 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name11, Input11, Plugin44, toModelContent6, exports_read };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./formatter-82gda1eq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-6h1s4fng.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./formatter-jfn6ykkf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./formatter-st612rmk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service47
|
|
17
|
+
} from "./formatter-9rj3xa8n.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service47;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service51;
|
|
58
|
+
const formatter = yield* Service60;
|
|
59
|
+
const permission = yield* Service74;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output7, toModelContent5, Plugin42, exports_write };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-hmq6fc40.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin37 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin6, exports_tavily };
|