@opencode/core 0.0.0-dev-20265 → 0.0.0-dev-20268
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-jazqgan2.js → pty-02kyjrrf.js} +19 -19
- package/dist/chunks/{instruction-discovery-kb3k4m85.js → pty-08jzjes0.js} +14 -14
- package/dist/chunks/{instruction-discovery-s4f9hgft.js → pty-0bgm2scx.js} +15 -15
- package/dist/chunks/{instruction-discovery-1h7vkbsh.js → pty-0dax1ved.js} +13 -13
- package/dist/chunks/{instruction-discovery-7pb776yk.js → pty-0g3691s2.js} +3 -3
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-jv01nqvq.js → pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{instruction-discovery-j817qy9h.js → pty-0tdmjwb2.js} +8 -8
- package/dist/chunks/{instruction-discovery-e5bvbpgf.js → pty-13jpn9qf.js} +22 -22
- package/dist/chunks/{instruction-discovery-17razrp5.js → pty-1a6dfp6a.js} +35 -35
- package/dist/chunks/{instruction-discovery-ashvnr8e.js → pty-1bb8svhn.js} +2 -2
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-a46t4z4t.js → pty-1fa79a5x.js} +17 -17
- package/dist/chunks/{instruction-discovery-bm55brr3.js → pty-1hkz1vbe.js} +45 -45
- package/dist/chunks/{instruction-discovery-eqggwkkj.js → pty-1htqca44.js} +24 -24
- package/dist/chunks/{instruction-discovery-djktq2qc.js → pty-1k60at64.js} +20 -20
- package/dist/chunks/{instruction-discovery-vybhs2ww.js → pty-1nmamnpy.js} +11 -11
- package/dist/chunks/{instruction-discovery-xt3nzz9d.js → pty-1ts3bv9c.js} +5 -5
- package/dist/chunks/{instruction-discovery-wqpxpbjy.js → pty-1wjdvt08.js} +11 -11
- package/dist/chunks/{instruction-discovery-pt6k735w.js → pty-1xr69c2t.js} +18 -18
- package/dist/chunks/{instruction-discovery-tjedn1bk.js → pty-1y283654.js} +4 -4
- package/dist/chunks/{instruction-discovery-apyhsggy.js → pty-1zqvwrvt.js} +1 -1
- package/dist/chunks/{instruction-discovery-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-c80srvkw.js → pty-24mw9w70.js} +43 -43
- package/dist/chunks/{instruction-discovery-z5ntc05q.js → pty-256nx13v.js} +3 -3
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-a2knq7mb.js → pty-2afcb8r8.js} +3 -3
- package/dist/chunks/{instruction-discovery-23354q28.js → pty-2carkhwg.js} +27 -27
- package/dist/chunks/{instruction-discovery-97akkmbe.js → pty-2d8cdpea.js} +12 -12
- package/dist/chunks/{instruction-discovery-dj9sq318.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{instruction-discovery-yja9z5zb.js → pty-2h35z0wh.js} +5 -5
- package/dist/chunks/{instruction-discovery-mfrn2wd3.js → pty-2hj0m5wb.js} +32 -32
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-7sf65sz4.js → pty-2kmckccx.js} +4 -4
- package/dist/chunks/{instruction-discovery-trjjaw7x.js → pty-2rpgwtpn.js} +15 -15
- package/dist/chunks/{instruction-discovery-w34c8dxf.js → pty-2xz8gpqm.js} +14 -14
- package/dist/chunks/{instruction-discovery-2qym09dt.js → pty-34e05b1q.js} +41 -41
- package/dist/chunks/{instruction-discovery-tzct1v5g.js → pty-380y1y2g.js} +5 -5
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-c4tcxkt3.js → pty-3x346wy7.js} +10 -10
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-43sv4aqe.js → pty-49d2x1ay.js} +9 -9
- package/dist/chunks/{instruction-discovery-cpj0znwe.js → pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{instruction-discovery-41fyejek.js → pty-4mznkh6v.js} +13 -13
- package/dist/chunks/{instruction-discovery-664gwng4.js → pty-4p83bz2m.js} +20 -20
- package/dist/chunks/{instruction-discovery-q3q4fawj.js → pty-4sn99hha.js} +7 -7
- package/dist/chunks/{instruction-discovery-hj0fmptj.js → pty-4x8rwf1z.js} +10 -10
- package/dist/chunks/{instruction-discovery-90t6c8wy.js → pty-4xm1nyz8.js} +26 -26
- package/dist/chunks/{instruction-discovery-22x1keze.js → pty-502jrry9.js} +34 -34
- package/dist/chunks/pty-54ma36ye.js +13 -0
- package/dist/chunks/{instruction-discovery-1ygqh575.js → pty-56gdpj1q.js} +9 -9
- package/dist/chunks/{instruction-discovery-s2k53bmx.js → pty-5crqxzqh.js} +24 -24
- package/dist/chunks/{instruction-discovery-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-s62vt9wz.js → pty-5dhb501x.js} +29 -29
- package/dist/chunks/{instruction-discovery-g73rfvt8.js → pty-5hzwz31f.js} +26 -26
- package/dist/chunks/{instruction-discovery-bsqx64w4.js → pty-5qwkxp89.js} +4 -4
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-nfk828h3.js → pty-5tcqb85s.js} +4 -4
- package/dist/chunks/{instruction-discovery-2syk99rx.js → pty-5xxdmyws.js} +23 -23
- package/dist/chunks/{instruction-discovery-x3r0xrsa.js → pty-5zpkgqsx.js} +15 -15
- package/dist/chunks/{instruction-discovery-yf10kn3d.js → pty-63j7grd1.js} +7 -7
- package/dist/chunks/{instruction-discovery-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-ab9238g2.js → pty-6ersrjne.js} +4 -4
- package/dist/chunks/{instruction-discovery-r8y742f5.js → pty-6h7g19nv.js} +5 -5
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-pper4dcb.js → pty-6qthb5g6.js} +38 -38
- package/dist/chunks/{instruction-discovery-0fs6c5ns.js → pty-6sjv1yn4.js} +17 -17
- package/dist/chunks/{instruction-discovery-rjatp68y.js → pty-6zxr1haw.js} +15 -15
- package/dist/chunks/{instruction-discovery-473yxhcv.js → pty-73eaq82f.js} +46 -46
- package/dist/chunks/{instruction-discovery-mhkvc446.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-rweyf2z5.js → pty-7cgsffzd.js} +25 -25
- package/dist/chunks/{instruction-discovery-w4cn5rjk.js → pty-7g8jrxe6.js} +13 -13
- package/dist/chunks/{instruction-discovery-6vhktk4v.js → pty-7jxp6c8r.js} +4 -4
- package/dist/chunks/{instruction-discovery-591s59y8.js → pty-7nf46ayk.js} +28 -22
- package/dist/chunks/{instruction-discovery-cyxgkn8e.js → pty-7pgzc71a.js} +21 -21
- package/dist/chunks/{instruction-discovery-c8wg0b7m.js → pty-7tcwyjc5.js} +17 -17
- package/dist/chunks/{instruction-discovery-h2r7bbkd.js → pty-818pfwc9.js} +8 -8
- package/dist/chunks/{instruction-discovery-w1eejvng.js → pty-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-fw1dm0ew.js → pty-86bgrgvg.js} +11 -11
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-j3vzqyes.js → pty-8kkrevze.js} +14 -14
- package/dist/chunks/{instruction-discovery-e5jqtwc8.js → pty-8v3yzv2h.js} +11 -11
- package/dist/chunks/{instruction-discovery-j17xhp8k.js → pty-8vw6f0y9.js} +8 -8
- package/dist/chunks/{instruction-discovery-xvp1j2dc.js → pty-8zh4h089.js} +5 -5
- package/dist/chunks/{instruction-discovery-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → pty-9c5ctaw2.js} +9 -9
- package/dist/chunks/{instruction-discovery-dhzgzdmj.js → pty-9cgpdx50.js} +32 -32
- package/dist/chunks/{instruction-discovery-1wg8se0x.js → pty-9hk91h5t.js} +4 -4
- package/dist/chunks/{instruction-discovery-hbs2xy63.js → pty-9pe3kqxd.js} +10 -10
- package/dist/chunks/{instruction-discovery-1hcjf4ej.js → pty-9q688fhg.js} +20 -20
- package/dist/chunks/{instruction-discovery-s4frkg89.js → pty-9r1kpfzv.js} +22 -22
- package/dist/chunks/{instruction-discovery-84trvwea.js → pty-9xbw9ht5.js} +23 -23
- package/dist/chunks/{instruction-discovery-6rcz3ycw.js → pty-a0d1xb7f.js} +27 -28
- package/dist/chunks/{instruction-discovery-hn28mh03.js → pty-a8zzg8q6.js} +33 -33
- package/dist/chunks/{instruction-discovery-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-n3cgjj67.js → pty-amsmzym1.js} +11 -11
- package/dist/chunks/{instruction-discovery-tmezhr7e.js → pty-atgg4bc2.js} +7 -7
- package/dist/chunks/{instruction-discovery-817gm3bf.js → pty-axjgxag5.js} +18 -18
- package/dist/chunks/{instruction-discovery-gprqxqyp.js → pty-b25kyxm0.js} +13 -13
- package/dist/chunks/pty-b5ngr1ky.js +252 -0
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-6yrwvege.js → pty-ba85j57v.js} +11 -11
- package/dist/chunks/{instruction-discovery-rcf7gz4p.js → pty-bb3ggaws.js} +12 -12
- package/dist/chunks/{instruction-discovery-2zx654xv.js → pty-bcx8t3jh.js} +30 -30
- package/dist/chunks/{instruction-discovery-xxf3qkd3.js → pty-be2e2rmc.js} +86 -86
- package/dist/chunks/{instruction-discovery-7j2qha59.js → pty-bh0zzf2s.js} +8 -8
- package/dist/chunks/{instruction-discovery-ynn26mj8.js → pty-bn3y9jg9.js} +7 -7
- package/dist/chunks/{instruction-discovery-2y34zzjz.js → pty-bscb95cy.js} +4 -4
- package/dist/chunks/{instruction-discovery-0hf9g8pg.js → pty-bw9zjykr.js} +6 -6
- package/dist/chunks/{instruction-discovery-6cqrwtgh.js → pty-bxg1h86k.js} +37 -37
- package/dist/chunks/{instruction-discovery-2kvq420b.js → pty-bz150c0w.js} +32 -32
- package/dist/chunks/{instruction-discovery-8x6s24qq.js → pty-bzsja1m4.js} +15 -15
- package/dist/chunks/{instruction-discovery-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-8kg848v7.js → pty-cnn51gq9.js} +5 -5
- package/dist/chunks/{instruction-discovery-6g9h627f.js → pty-czj2jzje.js} +24 -24
- package/dist/chunks/{instruction-discovery-xbqt463g.js → pty-cztxt40h.js} +20 -20
- package/dist/chunks/{instruction-discovery-7k0nb5a1.js → pty-d1x2vcvb.js} +5 -5
- package/dist/chunks/{instruction-discovery-53y6m0t7.js → pty-da3t3c1a.js} +35 -35
- package/dist/chunks/{instruction-discovery-kvfg1y8a.js → pty-dcq5f67f.js} +53 -53
- package/dist/chunks/{instruction-discovery-76ymgwed.js → pty-dda0p7y7.js} +9 -9
- package/dist/chunks/{instruction-discovery-0v53mg2y.js → pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{instruction-discovery-qmqgtz8f.js → pty-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → pty-dmqcgk4z.js} +2 -2
- package/dist/chunks/{instruction-discovery-70gtrbvz.js → pty-ds1793d3.js} +4 -4
- package/dist/chunks/{instruction-discovery-nejch2yn.js → pty-dtk78y7z.js} +9 -9
- package/dist/chunks/{instruction-discovery-ynys59px.js → pty-dweqnfec.js} +12 -12
- package/dist/chunks/{instruction-discovery-2fnzb52j.js → pty-dzm75127.js} +27 -27
- package/dist/chunks/{instruction-discovery-yx96p73j.js → pty-e098c5nd.js} +8 -8
- package/dist/chunks/{instruction-discovery-vcfhc88h.js → pty-e1ttr1vf.js} +3 -3
- package/dist/chunks/{instruction-discovery-02hh4n40.js → pty-e2e3ejy6.js} +6 -6
- package/dist/chunks/{instruction-discovery-qzs5w1kq.js → pty-e3d33s46.js} +10 -10
- package/dist/chunks/pty-e6qpbzva.js +65 -0
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-t909565e.js → pty-ejnjzycc.js} +3 -3
- package/dist/chunks/{instruction-discovery-pnvk1zxf.js → pty-esjfm2jj.js} +8 -8
- package/dist/chunks/{instruction-discovery-h6310vsd.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-1cakvm3y.js → pty-ey798p8x.js} +28 -28
- package/dist/chunks/{instruction-discovery-a81kfqvn.js → pty-f29mbr7f.js} +4 -4
- package/dist/chunks/pty-f81tjggh.js +18 -0
- package/dist/chunks/{instruction-discovery-e1rt1ry9.js → pty-fqc83w48.js} +21 -21
- package/dist/chunks/{instruction-discovery-8ppxfrtw.js → pty-fyr884dn.js} +20 -20
- package/dist/chunks/{instruction-discovery-jw80jp6b.js → pty-g190xswt.js} +4 -4
- package/dist/chunks/{instruction-discovery-fqk9fphv.js → pty-g2yqr101.js} +40 -40
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/pty-gkkx8aj6.js +507 -0
- package/dist/chunks/{instruction-discovery-jvf906gc.js → pty-gr2zgnkv.js} +8 -8
- package/dist/chunks/{instruction-discovery-2336b01z.js → pty-gv66gg0x.js} +8 -8
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-z88c1cht.js → pty-gzeebjq4.js} +7 -7
- package/dist/chunks/{instruction-discovery-r7hsk55y.js → pty-h0vkjtgq.js} +9 -9
- package/dist/chunks/{instruction-discovery-46j82pgy.js → pty-h1ccr47d.js} +9 -9
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-cw4qawdd.js → pty-h8k7e6cy.js} +12 -12
- package/dist/chunks/{instruction-discovery-sa7x69qd.js → pty-hcspxn5n.js} +33 -33
- package/dist/chunks/{instruction-discovery-6sfywj03.js → pty-hm56a3s4.js} +16 -16
- package/dist/chunks/{instruction-discovery-9v1ppqd2.js → pty-hme2pbyj.js} +4 -4
- package/dist/chunks/{instruction-discovery-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-0qmc57sd.js → pty-j96vhws7.js} +11 -11
- package/dist/chunks/{instruction-discovery-6n4dhht5.js → pty-ja83vbyg.js} +48 -48
- package/dist/chunks/{instruction-discovery-mq1rpz34.js → pty-jcng7cb1.js} +13 -13
- package/dist/chunks/{instruction-discovery-863rh99d.js → pty-jkg30kz0.js} +12 -12
- package/dist/chunks/{instruction-discovery-5n469ean.js → pty-jpqmydm4.js} +26 -26
- package/dist/chunks/{instruction-discovery-595j6h3z.js → pty-jw7hkzk6.js} +5 -5
- package/dist/chunks/{instruction-discovery-y71avatq.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{instruction-discovery-xmfjrgmy.js → pty-jx2ev558.js} +11 -11
- package/dist/chunks/{instruction-discovery-vyfbn2ge.js → pty-jxnddvck.js} +8 -8
- package/dist/chunks/{instruction-discovery-a00r67f6.js → pty-k0af0wc4.js} +25 -25
- package/dist/chunks/{instruction-discovery-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-0121bcaw.js → pty-kcpkb08r.js} +10 -10
- package/dist/chunks/{instruction-discovery-mdkfxwd5.js → pty-kcrpm209.js} +33 -30
- package/dist/chunks/{instruction-discovery-6qs14qev.js → pty-khw8rk4h.js} +87 -87
- package/dist/chunks/{instruction-discovery-83c1zak0.js → pty-kjhxpvza.js} +28 -28
- package/dist/chunks/{instruction-discovery-895w93kx.js → pty-krmxyf0d.js} +20 -20
- package/dist/chunks/{instruction-discovery-v0534hbg.js → pty-kv8zkh1g.js} +32 -32
- package/dist/chunks/{instruction-discovery-kjxkqgqq.js → pty-kwq0bhn5.js} +3 -3
- package/dist/chunks/{instruction-discovery-kcp0xdhb.js → pty-kwv0ec6e.js} +3 -3
- package/dist/chunks/{instruction-discovery-zzct4swk.js → pty-m0afwaej.js} +15 -15
- package/dist/chunks/{instruction-discovery-kjk4f8se.js → pty-m2nqxzae.js} +16 -16
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-ggwd74jc.js → pty-m7va1g8x.js} +2 -2
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-zdy9tpyw.js → pty-mfb84nzt.js} +30 -30
- package/dist/chunks/{instruction-discovery-yx62cr6m.js → pty-mfz952mq.js} +11 -11
- package/dist/chunks/{instruction-discovery-za6yq9hg.js → pty-mjagy123.js} +5 -5
- package/dist/chunks/{instruction-discovery-2xt5mgkb.js → pty-mmnw2dm8.js} +21 -21
- package/dist/chunks/{instruction-discovery-kdvzk119.js → pty-mvksx64m.js} +4 -4
- package/dist/chunks/{instruction-discovery-73n7g0g0.js → pty-mwjfjsx4.js} +23 -23
- package/dist/chunks/{instruction-discovery-s9z9hht1.js → pty-n33g3f6z.js} +16 -16
- package/dist/chunks/{instruction-discovery-d65zzxh9.js → pty-nrp9mwhy.js} +11 -11
- package/dist/chunks/{instruction-discovery-xnbjqws6.js → pty-ns15zm60.js} +6 -6
- package/dist/chunks/{instruction-discovery-rask17kc.js → pty-p0hymv7m.js} +6 -6
- package/dist/chunks/{instruction-discovery-5qe4ms5y.js → pty-p2zp5k1h.js} +33 -33
- package/dist/chunks/{instruction-discovery-qz9hsrda.js → pty-pe348q3c.js} +32 -32
- package/dist/chunks/{instruction-discovery-7gvwkz6m.js → pty-pecb0brz.js} +5 -5
- package/dist/chunks/{instruction-discovery-p37cw4rj.js → pty-phstrbs2.js} +8 -8
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-fhs97t90.js → pty-pnv527nz.js} +9 -9
- package/dist/chunks/{instruction-discovery-jj2cz9da.js → pty-ppxmacq5.js} +6 -6
- package/dist/chunks/{instruction-discovery-4m2ax75s.js → pty-pt4qm015.js} +9 -9
- package/dist/chunks/{instruction-discovery-p7xmn451.js → pty-pxwtvwnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{instruction-discovery-1gnz4btn.js → pty-q1fsfhde.js} +43 -43
- package/dist/chunks/{instruction-discovery-2ngyvhah.js → pty-qc833vcy.js} +31 -31
- package/dist/chunks/{instruction-discovery-g96gh810.js → pty-qk6jy71g.js} +16 -16
- package/dist/chunks/{instruction-discovery-9ze7f770.js → pty-qkvbc3b4.js} +33 -33
- package/dist/chunks/{instruction-discovery-sbpfgvw3.js → pty-qn6wy31b.js} +24 -24
- package/dist/chunks/{instruction-discovery-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-yw8t9dwe.js → pty-qwjmgwmn.js} +7 -7
- package/dist/chunks/{instruction-discovery-jj6m7t8m.js → pty-qxyg3cpe.js} +13 -13
- package/dist/chunks/{instruction-discovery-jx4220gq.js → pty-r1fjzajf.js} +32 -32
- package/dist/chunks/{instruction-discovery-sddzfvn4.js → pty-r554yfq4.js} +11 -11
- package/dist/chunks/{instruction-discovery-0kzn65ts.js → pty-r6yz2jv0.js} +14 -14
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-gy42h51d.js → pty-raaksh1t.js} +3 -3
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-gbt6w4kb.js → pty-rhjbct0v.js} +8 -8
- package/dist/chunks/{instruction-discovery-gg3hnhsj.js → pty-rk1r2hx8.js} +1 -1
- package/dist/chunks/{instruction-discovery-537d2h8y.js → pty-rn906758.js} +17 -17
- package/dist/chunks/{instruction-discovery-h2d9aakw.js → pty-ry74srx0.js} +10 -10
- package/dist/chunks/{instruction-discovery-je1ehb5s.js → pty-s2fe5yee.js} +12 -12
- package/dist/chunks/{instruction-discovery-a9zhqkh4.js → pty-s5ezmp18.js} +3 -3
- package/dist/chunks/{instruction-discovery-0p5r855a.js → pty-sn2139ra.js} +42 -42
- package/dist/chunks/{instruction-discovery-35edcz9a.js → pty-sngffazn.js} +15 -15
- package/dist/chunks/{instruction-discovery-2v08avye.js → pty-snv4mqbq.js} +49 -49
- package/dist/chunks/{instruction-discovery-8mxhwd9p.js → pty-sp3tb7eb.js} +37 -34
- package/dist/chunks/{instruction-discovery-3p7veh30.js → pty-sz559pvg.js} +23 -23
- package/dist/chunks/{instruction-discovery-53qm6swg.js → pty-t4sx140a.js} +22 -22
- package/dist/chunks/{instruction-discovery-1vzw8yhg.js → pty-t5er0ca3.js} +10 -10
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-0s2j72ky.js → pty-tjt041fv.js} +11 -11
- package/dist/chunks/{instruction-discovery-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-vkwyc6cx.js → pty-v1q5vzy1.js} +25 -25
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → pty-v5dkyp31.js} +1 -1
- package/dist/chunks/{instruction-discovery-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-dbrspz9p.js → pty-vt3tdkn6.js} +180 -180
- package/dist/chunks/{instruction-discovery-cytmn42c.js → pty-vvwye2nj.js} +12 -12
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-9ce6tkzz.js → pty-w0fatpdm.js} +11 -11
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-wym4yngj.js → pty-w4yf5md3.js} +6 -6
- package/dist/chunks/{instruction-discovery-mjtjsyjj.js → pty-w5tae9vr.js} +5 -5
- package/dist/chunks/{instruction-discovery-3rpjb0m5.js → pty-w8qg93vv.js} +3 -3
- package/dist/chunks/{instruction-discovery-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-dkzq4e42.js → pty-wdm89pze.js} +20 -20
- package/dist/chunks/pty-x0tv82ed.js +26 -0
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-04tp0yna.js → pty-x1nmkajp.js} +19 -19
- package/dist/chunks/{instruction-discovery-7c1hha0p.js → pty-x6mcsa6z.js} +12 -12
- package/dist/chunks/{instruction-discovery-hzrqtver.js → pty-xb8h79t6.js} +22 -22
- package/dist/chunks/{instruction-discovery-drwq78ky.js → pty-xfkkasph.js} +4 -4
- package/dist/chunks/{instruction-discovery-av73v616.js → pty-xrdbxh55.js} +8 -8
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-e5x0150z.js → pty-ya6d4wsg.js} +12 -12
- package/dist/chunks/{instruction-discovery-fkg6hj3y.js → pty-yacpk8s2.js} +49 -49
- package/dist/chunks/{instruction-discovery-rs5ja1ks.js → pty-yc98vja2.js} +75 -75
- package/dist/chunks/{instruction-discovery-qg5st3y5.js → pty-yfyxqpka.js} +25 -25
- package/dist/chunks/{instruction-discovery-zpjshyj8.js → pty-yjjnrnmm.js} +11 -11
- package/dist/chunks/{instruction-discovery-xj9hgx3w.js → pty-ykm8y97q.js} +44 -44
- package/dist/chunks/{instruction-discovery-cfqj2t13.js → pty-yn0sp2c9.js} +12 -12
- package/dist/chunks/{instruction-discovery-xqgw658g.js → pty-ypfpty4j.js} +24 -24
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-0cg4n3gd.js → pty-yswe8ex8.js} +23 -23
- package/dist/chunks/{instruction-discovery-5e10wf8f.js → pty-yt3hy1g9.js} +5 -5
- package/dist/chunks/{instruction-discovery-d3eanfb0.js → pty-ytpc42gn.js} +49 -49
- package/dist/chunks/{instruction-discovery-z07pqspn.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-4bt591nm.js → pty-z6wkpgve.js} +31 -31
- package/dist/chunks/{instruction-discovery-baaqp4zd.js → pty-zee1rnkq.js} +4 -4
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-05dd0hqh.js → pty-zv28qa6p.js} +33 -33
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -214
- package/dist/config/plugin/compaction.js +161 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +362 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +8 -0
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -134
- package/dist/session/context.js +153 -152
- package/dist/session/diff.js +88 -88
- 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 +225 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -216
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +8 -8
- package/dist/types/instructions/builtins.d.ts +1 -2
- package/dist/types/session/affinity.d.ts +4 -0
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-726w9f8r.js +0 -26
- package/dist/chunks/instruction-discovery-ce6f651r.js +0 -252
- package/dist/chunks/instruction-discovery-ezddc45f.js +0 -507
- package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
- package/dist/chunks/instruction-discovery-tee9eybj.js +0 -63
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-kwq0bhn5.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
|
+
node: () => node87
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service83 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service83.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service83, node87, exports_kv };
|
|
@@ -1,48 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node55
|
|
5
|
+
} from "./pty-hme2pbyj.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-f29mbr7f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service71,
|
|
12
12
|
node75
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-qwjmgwmn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-yacpk8s2.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-2d8cdpea.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-qxyg3cpe.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./instruction-discovery-vybhs2ww.js";
|
|
24
|
+
get5
|
|
25
|
+
} from "./pty-54ma36ye.js";
|
|
27
26
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
Service39,
|
|
28
|
+
node43
|
|
29
|
+
} from "./pty-1nmamnpy.js";
|
|
30
|
+
import {
|
|
31
|
+
make15
|
|
32
|
+
} from "./pty-xfkkasph.js";
|
|
30
33
|
import {
|
|
31
34
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
35
|
+
} from "./pty-rk1r2hx8.js";
|
|
33
36
|
import {
|
|
34
37
|
__export
|
|
35
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
36
39
|
|
|
37
40
|
// src/session/model-request.ts
|
|
38
41
|
var exports_model_request = {};
|
|
39
42
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
43
|
+
Service: () => Service38,
|
|
41
44
|
SessionModelRequest: () => exports_model_request,
|
|
42
45
|
baseTranscript: () => baseTranscript2,
|
|
43
46
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
47
|
+
layer: () => layer14,
|
|
48
|
+
node: () => node42,
|
|
46
49
|
unsupportedParts: () => unsupportedParts2
|
|
47
50
|
});
|
|
48
51
|
import {
|
|
@@ -79,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
79
82
|
return {
|
|
80
83
|
providerMetadataKey,
|
|
81
84
|
system: [
|
|
82
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
83
86
|
input.initial
|
|
84
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
85
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -169,11 +172,11 @@ var boundImages2 = (messages) => {
|
|
|
169
172
|
}));
|
|
170
173
|
};
|
|
171
174
|
|
|
172
|
-
class
|
|
175
|
+
class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
173
176
|
}
|
|
174
|
-
var
|
|
175
|
-
const hooks = yield*
|
|
176
|
-
const transport = yield*
|
|
177
|
+
var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
178
|
+
const hooks = yield* Service71;
|
|
179
|
+
const transport = yield* Service39;
|
|
177
180
|
const app = yield* Metadata2;
|
|
178
181
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
179
182
|
const session = input.session;
|
|
@@ -199,7 +202,7 @@ var layer11 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
199
202
|
const entries = Object.entries(shaped.options);
|
|
200
203
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
201
204
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
202
|
-
const affinity = session
|
|
205
|
+
const affinity = get5(session);
|
|
203
206
|
const base = LLM.request({
|
|
204
207
|
model: model.model,
|
|
205
208
|
http: {
|
|
@@ -277,17 +280,17 @@ var layer11 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
277
280
|
};
|
|
278
281
|
});
|
|
279
282
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
280
|
-
return
|
|
283
|
+
return Service38.of({
|
|
281
284
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
282
285
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
283
286
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
284
287
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
285
288
|
});
|
|
286
289
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
289
|
-
layer:
|
|
290
|
-
deps: [node75,
|
|
290
|
+
var node42 = makeLocationNode({
|
|
291
|
+
service: Service38,
|
|
292
|
+
layer: layer14,
|
|
293
|
+
deps: [node75, node43, node55]
|
|
291
294
|
});
|
|
292
295
|
|
|
293
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
296
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer14, node42, exports_model_request };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID18,
|
|
3
|
+
Info34,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-256nx13v.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kwq0bhn5.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./pty-8kkrevze.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./pty-6qthb5g6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service62,
|
|
24
|
+
node66
|
|
25
|
+
} from "./pty-bw9zjykr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node65
|
|
34
|
+
} from "./pty-5xxdmyws.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-mvksx64m.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-bzsja1m4.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node34
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./pty-1fa79a5x.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node55
|
|
51
|
+
} from "./pty-hme2pbyj.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./pty-raaksh1t.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service68,
|
|
68
|
+
node72
|
|
69
|
+
} from "./pty-dweqnfec.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service82,
|
|
72
|
+
node86
|
|
73
|
+
} from "./pty-rn906758.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service59,
|
|
76
|
+
node64
|
|
77
|
+
} from "./pty-g2yqr101.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./pty-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service39,
|
|
83
|
+
node43
|
|
84
|
+
} from "./pty-1nmamnpy.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./pty-n33g3f6z.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./pty-0tdmjwb2.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service70,
|
|
93
|
+
node74
|
|
94
|
+
} from "./pty-dtk78y7z.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service30,
|
|
100
|
+
node33
|
|
101
|
+
} from "./pty-dcq5f67f.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service49,
|
|
104
|
+
node52
|
|
105
|
+
} from "./pty-bh0zzf2s.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make14
|
|
108
|
+
} from "./pty-hcspxn5n.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./pty-mfz952mq.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./pty-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID18,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info34,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service29,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node32
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service29 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service81;
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service59;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service39;
|
|
163
|
+
const store = yield* Service68;
|
|
164
|
+
const instances = yield* Service62;
|
|
165
|
+
const moves = yield* Service30;
|
|
166
|
+
const jobs = yield* Service82;
|
|
167
|
+
const environments = yield* Service49;
|
|
168
|
+
const locations = yield* Service70;
|
|
169
|
+
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service29.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service62, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node32 = Node.makeGlobalNode({
|
|
331
|
+
service: Service29,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node86,
|
|
335
|
+
node52,
|
|
336
336
|
node88,
|
|
337
|
+
node85,
|
|
337
338
|
node83,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
node37,
|
|
339
|
+
node64,
|
|
340
|
+
node43,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
342
|
+
node72,
|
|
343
|
+
node66,
|
|
344
|
+
node65,
|
|
345
|
+
node33,
|
|
346
346
|
node34,
|
|
347
|
-
|
|
347
|
+
node74,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node55
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service29, node32, exports_session };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
node83
|
|
4
|
-
} from "./instruction-discovery-j3vzqyes.js";
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
2
|
+
Service81,
|
|
7
3
|
node85
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./pty-8kkrevze.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./pty-kcpkb08r.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event4,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service15,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service15 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service81;
|
|
70
|
+
const kv = yield* Service83;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service15.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node18 = makeLocationNode({
|
|
188
|
+
service: Service15,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node85, node87]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./pty-ykm8y97q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service64;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service18.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node21 = makeLocationNode({
|
|
74
|
+
service: Service18,
|
|
75
|
+
layer: layer9,
|
|
76
|
+
deps: [node68, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer9, node21, exports_generate };
|