@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,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-jcf77vsk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./formatter-82gda1eq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-6h1s4fng.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./formatter-jfn6ykkf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./formatter-st612rmk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service47,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-9rj3xa8n.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin46,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin46 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service47;
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const formatter = yield* Service60;
|
|
113
113
|
const location = yield* Service79;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service74;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name12,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input12,
|
|
120
|
+
output: Output8,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin10 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name12, Input12, Output8, Plugin46, exports_edit };
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
+
Service56
|
|
9
|
+
} from "./formatter-7y3w5jth.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./formatter-qb5946j2.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin28
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin28 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service56;
|
|
34
34
|
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service64;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin20 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin28, exports_worktree };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-nzyhnfxz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./formatter-kyarz3ws.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./formatter-xt2789zt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-q99k41bd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service69
|
|
20
|
+
} from "./formatter-jfq5ya7h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./formatter-yp6mbb9j.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-7815knry.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-hmq6fc40.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service69;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-858xx9fq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./formatter-kyarz3ws.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./formatter-sw8vrykn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./formatter-3c1tgrea.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./formatter-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./formatter-06x8he3q.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-vmwh049b.js";
|
|
30
30
|
import {
|
|
31
31
|
Service75,
|
|
32
32
|
node79
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-qk09twxp.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./formatter-2jshy6k2.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-mg63z3hs.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./formatter-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service38,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer19,
|
|
50
|
+
node: () => node42,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service38 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var layer19 = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
69
|
const store = yield* Service75;
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
70
|
+
const instances = yield* Service41;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service61;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service38.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [node79,
|
|
132
|
+
var node42 = makeGlobalNode({
|
|
133
|
+
service: Service38,
|
|
134
|
+
layer: layer19,
|
|
135
|
+
deps: [node79, node44, node86, node87, node65]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service38, terminal2, layer19, node42, noopLayer2, exports_execution };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./formatter-kyarz3ws.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-nzyhnfxz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./formatter-xt2789zt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./formatter-q99k41bd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service69
|
|
16
|
+
} from "./formatter-jfq5ya7h.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-pgey37v9.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service69;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|