@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,98 +1,98 @@
|
|
|
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
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-vmwh049b.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-a1bz86dw.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-bha4atvq.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-w1k39n5e.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-qby8jf2p.js";
|
|
31
31
|
import {
|
|
32
32
|
Service75,
|
|
33
33
|
node79
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-qk09twxp.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service14,
|
|
37
|
+
node16
|
|
38
|
+
} from "./formatter-dsxekm4p.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service29,
|
|
44
|
+
node32
|
|
45
|
+
} from "./formatter-vavx823f.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./formatter-zh9xaa1s.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make8
|
|
51
|
+
} from "./formatter-a002vgwb.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service8,
|
|
54
|
+
node10
|
|
55
|
+
} from "./formatter-wbt8he73.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service22,
|
|
58
|
+
node25
|
|
59
|
+
} from "./formatter-c9qv3xyw.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./formatter-mg63z3hs.js";
|
|
65
65
|
import {
|
|
66
66
|
Service2,
|
|
67
67
|
isUntitled2,
|
|
68
68
|
node3
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./formatter-e8ym8eqq.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service39
|
|
73
|
+
} from "./formatter-06x8he3q.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node63
|
|
76
|
+
} from "./formatter-6js7ajd4.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node53
|
|
79
|
+
} from "./formatter-34nv4jvf.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make3
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./formatter-ss1d5n7s.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service25
|
|
86
|
+
} from "./formatter-q509s3k3.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node20
|
|
89
|
+
} from "./formatter-d650b0nm.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./formatter-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./formatter-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
@@ -105,15 +105,15 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const bus = yield*
|
|
110
|
-
const lifecycle = yield*
|
|
108
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
109
|
+
const bus = yield* Service82;
|
|
110
|
+
const lifecycle = yield* Service14;
|
|
111
111
|
const store = yield* Service75;
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
112
|
+
const context = yield* Service22;
|
|
113
|
+
const modelTransport = yield* Service29;
|
|
114
114
|
const db = (yield* Service83).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
115
|
+
const compaction = yield* Service8;
|
|
116
|
+
const plugins = yield* Service25;
|
|
117
117
|
const title = yield* Service2;
|
|
118
118
|
const steps = yield* make3;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make8(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,23 +361,23 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service39.of({ drain });
|
|
365
365
|
}));
|
|
366
366
|
var node2 = makeLocationNode({
|
|
367
|
-
service:
|
|
367
|
+
service: Service39,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
node86,
|
|
371
|
+
node16,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
node25,
|
|
374
|
+
node32,
|
|
375
375
|
node79,
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
node10,
|
|
377
|
+
node20,
|
|
378
378
|
node3,
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
node63,
|
|
380
|
+
node53,
|
|
381
381
|
node87
|
|
382
382
|
]
|
|
383
383
|
});
|
|
@@ -1,37 +1,37 @@
|
|
|
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
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-hn6dtez2.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin17 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service56;
|
|
35
35
|
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin17, exports_reference };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service71, node75, exports_credential };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-hmq6fc40.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./formatter-kyarz3ws.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service71
|
|
11
|
+
} from "./formatter-xt2789zt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./formatter-q99k41bd.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./formatter-jfq5ya7h.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-szgtqmk5.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service71;
|
|
57
|
+
const integrations = yield* Service70;
|
|
58
|
+
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./formatter-7y3w5jth.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin18
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service56;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin28 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin18, exports_websearch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./formatter-kyarz3ws.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./formatter-xt2789zt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-q99k41bd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-jfq5ya7h.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-pxcfj33x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID9.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -108,7 +108,7 @@ function oauth(http) {
|
|
|
108
108
|
var OpencodePlugin2 = define({
|
|
109
109
|
id: "opencode.provider.opencode",
|
|
110
110
|
effect: Effect.fn(function* (ctx) {
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service82;
|
|
112
112
|
const http = yield* HttpClient.HttpClient;
|
|
113
113
|
const loading = Semaphore.makeUnsafe(1);
|
|
114
114
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID9.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID8.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID8.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
251
251
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
252
252
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
253
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
253
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
254
254
|
query: input.query,
|
|
255
255
|
providerID: descriptor.providerID
|
|
256
256
|
}));
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|