@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./formatter-jfq5ya7h.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID8.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-kyarz3ws.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service79,
|
|
12
12
|
node83
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-jcf77vsk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service46 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
42
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
44
|
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service46.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeLocationNode({ service: Service46, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service46, node49, exports_rpc, define2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-1pj95ama.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-jcf77vsk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./formatter-st612rmk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service47,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node50,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service79;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service74;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service47.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [FSUtil.node, node83, node78] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service47, resolvePath2, node50, exports_file_access };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./formatter-dy8qh9xy.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin9
|
|
6
|
+
} from "./formatter-7tmymnpd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin10
|
|
9
|
+
} from "./formatter-0v0eynhg.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./formatter-s0b4m20z.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin8
|
|
15
|
+
} from "./formatter-4h2p8nkm.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin7,
|
|
20
|
+
Plugin9,
|
|
21
|
+
Plugin10,
|
|
22
|
+
Plugin6,
|
|
23
|
+
Plugin8
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-2jshy6k2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make8, exports_retry };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-858xx9fq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./formatter-kyarz3ws.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./formatter-3c1tgrea.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-vmwh049b.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
28
|
Service75
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-qk09twxp.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service40
|
|
34
|
+
} from "./formatter-mg63z3hs.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service38
|
|
37
|
+
} from "./formatter-gaftdbkr.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-nccgq8j4.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./formatter-v1kad2yc.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./formatter-spr8h2ym.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./formatter-c0m9hyz0.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./formatter-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service83;
|
|
68
68
|
const store = yield* Service75;
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
69
|
+
const instances = yield* Service41;
|
|
70
|
+
const execution = yield* Service38;
|
|
71
|
+
const admission = yield* Service40;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service82, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-kyarz3ws.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-jcf77vsk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node54
|
|
12
|
+
} from "./formatter-82gda1eq.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service55,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node59
|
|
20
|
+
} from "./formatter-q7daxc3f.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service78,
|
|
23
|
+
node82
|
|
24
|
+
} from "./formatter-tx9w5tca.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service49,
|
|
27
|
+
node52
|
|
28
|
+
} from "./formatter-bh0zzf2s.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-5cmxdwv8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service56,
|
|
35
|
+
node60
|
|
36
|
+
} from "./formatter-7y3w5jth.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-34nv4jvf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service48,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node51
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service48 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
91
|
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service55;
|
|
94
|
+
const environment = yield* Service51;
|
|
95
|
+
const hooks = yield* Service78;
|
|
96
|
+
const environments = yield* Service49;
|
|
97
|
+
const config = yield* Service56;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service48.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node51 = makeLocationNode({
|
|
320
|
+
service: Service48,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node86,
|
|
324
324
|
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node59,
|
|
327
|
+
node54,
|
|
328
|
+
node82,
|
|
329
|
+
node52,
|
|
330
|
+
node60,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service48, cleanup2, node51, exports_shell4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info19
|
|
6
|
+
} from "./formatter-qj8eh1ht.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info18
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info19)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info18, exports_agent3 };
|