@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./formatter-7y3w5jth.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./formatter-wbt8he73.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin20 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin25 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin20, exports_compaction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service50,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service50 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service50.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node53 = makeLocationNode({
|
|
143
|
+
service: Service50,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node53, exports_tool_output2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./formatter-7y3w5jth.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./formatter-zab19jja.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin25
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin25 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
|
+
const image = yield* Service67;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin30 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin25, exports_image };
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-jcf77vsk.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-mxz1spxe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin4 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service79;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin4, exports_git };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./formatter-q99k41bd.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service70;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node44, exports_service2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./formatter-st612rmk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service73
|
|
10
|
+
} from "./formatter-3hr7jtfn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service73;
|
|
51
|
+
const permission = yield* Service74;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin9 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output6, description4, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-kyarz3ws.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-st612rmk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info27,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service73,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event18 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info27 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service73 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service73.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node77 = makeLocationNode({
|
|
112
|
+
service: Service73,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info27, ID12, Name2, available2, toModelOutput3, prepare3, Service73, node77, exports_skill5, Event18 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node54
|
|
9
|
+
} from "./formatter-82gda1eq.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service45,
|
|
24
|
+
node: () => node48
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service45 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service51;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service45.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node48 = makeLocationNode({ service: Service45, layer, deps: [node54, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service45, node48, exports_ripgrep };
|