@opencode/core 0.0.0-dev-20264 → 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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{workspace-a0we4caf.js → pty-02kyjrrf.js} +19 -19
- package/dist/chunks/{workspace-yqny3wzb.js → pty-08jzjes0.js} +14 -14
- package/dist/chunks/{workspace-hbrrph54.js → pty-0bgm2scx.js} +6 -6
- package/dist/chunks/{workspace-thb2qt97.js → pty-0dax1ved.js} +10 -10
- package/dist/chunks/{workspace-msn9b09r.js → pty-0g3691s2.js} +3 -3
- package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-d1khqved.js → pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{workspace-byg8ehtd.js → pty-0tdmjwb2.js} +8 -8
- package/dist/chunks/{workspace-adcnt4rv.js → pty-13jpn9qf.js} +22 -22
- package/dist/chunks/{workspace-qnszwk7c.js → pty-1a6dfp6a.js} +29 -29
- package/dist/chunks/{workspace-8f89cdk6.js → pty-1bb8svhn.js} +2 -2
- package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-amvk3m0k.js → pty-1fa79a5x.js} +17 -17
- package/dist/chunks/{workspace-7ed7xqaw.js → pty-1hkz1vbe.js} +43 -43
- package/dist/chunks/{workspace-jnt7j0mw.js → pty-1htqca44.js} +24 -24
- package/dist/chunks/{workspace-a8d65xm0.js → pty-1k60at64.js} +18 -18
- package/dist/chunks/{workspace-1dh04bw7.js → pty-1nmamnpy.js} +11 -11
- package/dist/chunks/{workspace-anm4ebge.js → pty-1ts3bv9c.js} +5 -5
- package/dist/chunks/{workspace-bv2494fp.js → pty-1wjdvt08.js} +11 -11
- package/dist/chunks/{workspace-0esv0v2f.js → pty-1xr69c2t.js} +18 -18
- package/dist/chunks/{workspace-j5rxtxht.js → pty-1y283654.js} +4 -4
- package/dist/chunks/{workspace-hhbksee2.js → pty-1zqvwrvt.js} +1 -1
- package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-yy4mhxfw.js → pty-24mw9w70.js} +45 -45
- package/dist/chunks/{workspace-n7d88tpn.js → pty-256nx13v.js} +3 -3
- package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-tn3cms9e.js → pty-2afcb8r8.js} +3 -3
- package/dist/chunks/{workspace-asn2fj91.js → pty-2carkhwg.js} +29 -29
- package/dist/chunks/{workspace-qkpn2zhg.js → pty-2d8cdpea.js} +11 -11
- package/dist/chunks/{workspace-2qp6y8xf.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{workspace-hxtm6n0v.js → pty-2h35z0wh.js} +5 -5
- package/dist/chunks/{workspace-05h3ajhe.js → pty-2hj0m5wb.js} +32 -32
- package/dist/chunks/{workspace-7dqw4kz8.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-dpgqf81p.js → pty-2kmckccx.js} +6 -6
- package/dist/chunks/{workspace-fyy579se.js → pty-2rpgwtpn.js} +15 -15
- package/dist/chunks/{workspace-yh17q2z3.js → pty-2xz8gpqm.js} +17 -17
- package/dist/chunks/{workspace-tj8wya5m.js → pty-34e05b1q.js} +43 -43
- package/dist/chunks/{workspace-21cvqpf2.js → pty-380y1y2g.js} +5 -5
- package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-zma5ph91.js → pty-3x346wy7.js} +7 -7
- package/dist/chunks/{workspace-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-2wzn9pgf.js → pty-49d2x1ay.js} +9 -9
- package/dist/chunks/{workspace-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{workspace-6gnkbb9f.js → pty-4mznkh6v.js} +13 -13
- package/dist/chunks/{workspace-fvs88h35.js → pty-4p83bz2m.js} +14 -14
- package/dist/chunks/{workspace-57ez7d0k.js → pty-4sn99hha.js} +7 -7
- package/dist/chunks/{workspace-zj25y3vw.js → pty-4x8rwf1z.js} +10 -10
- package/dist/chunks/{workspace-7r1am2av.js → pty-4xm1nyz8.js} +26 -26
- package/dist/chunks/{workspace-armm5zzb.js → pty-502jrry9.js} +35 -35
- package/dist/chunks/pty-54ma36ye.js +13 -0
- package/dist/chunks/{workspace-mfqp6xfm.js → pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{workspace-b7h5w75k.js → pty-5crqxzqh.js} +22 -22
- package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-7txctfqm.js → pty-5dhb501x.js} +29 -29
- package/dist/chunks/{workspace-mcn8xyhc.js → pty-5hzwz31f.js} +31 -31
- package/dist/chunks/{workspace-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{workspace-xxndcd6m.js → pty-5qwkxp89.js} +4 -4
- package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-p8tghp2z.js → pty-5tcqb85s.js} +4 -4
- package/dist/chunks/{workspace-3eh8hbe0.js → pty-5xxdmyws.js} +23 -23
- package/dist/chunks/{workspace-4ks2jedg.js → pty-5zpkgqsx.js} +15 -15
- package/dist/chunks/{workspace-yf10kn3d.js → pty-63j7grd1.js} +7 -7
- package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{workspace-35agz59w.js → pty-6ersrjne.js} +6 -6
- package/dist/chunks/{workspace-9nvvrd04.js → pty-6h7g19nv.js} +5 -5
- package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-33embpqp.js → pty-6qthb5g6.js} +38 -38
- package/dist/chunks/{workspace-k47d8epf.js → pty-6sjv1yn4.js} +17 -17
- package/dist/chunks/{workspace-sz4m7fdc.js → pty-6zxr1haw.js} +14 -14
- package/dist/chunks/{workspace-jcw0exzd.js → pty-73eaq82f.js} +46 -46
- package/dist/chunks/{workspace-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-9v9gaw3z.js → pty-7cgsffzd.js} +25 -25
- package/dist/chunks/{workspace-3j2ten6t.js → pty-7g8jrxe6.js} +13 -13
- package/dist/chunks/{workspace-fy5ggzyd.js → pty-7jxp6c8r.js} +4 -4
- package/dist/chunks/{workspace-tt1jn7yq.js → pty-7nf46ayk.js} +28 -22
- package/dist/chunks/{workspace-ggb9jc81.js → pty-7pgzc71a.js} +22 -22
- package/dist/chunks/{workspace-y90bxx1r.js → pty-7tcwyjc5.js} +23 -23
- package/dist/chunks/{workspace-acp7khxw.js → pty-818pfwc9.js} +11 -11
- package/dist/chunks/{workspace-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{workspace-2xz11qcd.js → pty-86bgrgvg.js} +11 -11
- package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-pqm1rhk2.js → pty-8kkrevze.js} +12 -12
- package/dist/chunks/{workspace-vy4ycdfn.js → pty-8v3yzv2h.js} +9 -9
- package/dist/chunks/{workspace-47n05jd8.js → pty-8vw6f0y9.js} +8 -8
- package/dist/chunks/{workspace-g5agzp2h.js → pty-8zh4h089.js} +5 -5
- package/dist/chunks/{workspace-gfvb90ym.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-0jq9fyba.js → pty-9c5ctaw2.js} +9 -9
- package/dist/chunks/{workspace-se38fxxv.js → pty-9cgpdx50.js} +35 -35
- package/dist/chunks/{workspace-pjpskrfk.js → pty-9hk91h5t.js} +4 -4
- package/dist/chunks/{workspace-svzm8hw8.js → pty-9pe3kqxd.js} +10 -10
- package/dist/chunks/{workspace-d99a0xzw.js → pty-9q688fhg.js} +20 -20
- package/dist/chunks/{workspace-rjn9akkc.js → pty-9r1kpfzv.js} +22 -22
- package/dist/chunks/{workspace-3tzv1h6v.js → pty-9xbw9ht5.js} +23 -23
- package/dist/chunks/{workspace-904hh5b8.js → pty-a0d1xb7f.js} +25 -26
- package/dist/chunks/{workspace-qb8mnfmj.js → pty-a8zzg8q6.js} +36 -36
- package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-q0r4yfw6.js → pty-amsmzym1.js} +11 -11
- package/dist/chunks/{workspace-zyvaghy6.js → pty-atgg4bc2.js} +7 -7
- package/dist/chunks/{workspace-ytgexr68.js → pty-axjgxag5.js} +18 -18
- package/dist/chunks/{workspace-r8j5hrnp.js → pty-b25kyxm0.js} +13 -13
- package/dist/chunks/pty-b5ngr1ky.js +252 -0
- package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-07h32jh0.js → pty-ba85j57v.js} +12 -12
- package/dist/chunks/{workspace-pbwbcs2p.js → pty-bb3ggaws.js} +18 -18
- package/dist/chunks/{workspace-n6hrp3vy.js → pty-bcx8t3jh.js} +30 -30
- package/dist/chunks/{workspace-mdgk69cg.js → pty-be2e2rmc.js} +89 -89
- package/dist/chunks/{workspace-52fpbh6z.js → pty-bh0zzf2s.js} +8 -8
- package/dist/chunks/{workspace-stp04w3x.js → pty-bn3y9jg9.js} +10 -10
- package/dist/chunks/{workspace-qq8x5mwt.js → pty-bscb95cy.js} +6 -6
- package/dist/chunks/{workspace-n8dykrk6.js → pty-bw9zjykr.js} +6 -6
- package/dist/chunks/{workspace-p49brwaq.js → pty-bxg1h86k.js} +37 -37
- package/dist/chunks/{workspace-zvfpjs5v.js → pty-bz150c0w.js} +35 -35
- package/dist/chunks/{workspace-2y3fx3w1.js → pty-bzsja1m4.js} +15 -15
- package/dist/chunks/{workspace-54tcyq79.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-e895wtaf.js → pty-cnn51gq9.js} +8 -8
- package/dist/chunks/{workspace-2c70nd61.js → pty-czj2jzje.js} +21 -21
- package/dist/chunks/{workspace-6hr9dd4j.js → pty-cztxt40h.js} +24 -24
- package/dist/chunks/{workspace-wzpx768g.js → pty-d1x2vcvb.js} +5 -5
- package/dist/chunks/{workspace-qey0t35a.js → pty-da3t3c1a.js} +29 -29
- package/dist/chunks/{workspace-z0t8fm4a.js → pty-dcq5f67f.js} +54 -54
- package/dist/chunks/{workspace-xsgk3b13.js → pty-dda0p7y7.js} +9 -9
- package/dist/chunks/{workspace-an7cqtb7.js → pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{workspace-djszqvmq.js → pty-djszqvmq.js} +2 -2
- package/dist/chunks/{workspace-dmqcgk4z.js → pty-dmqcgk4z.js} +2 -2
- package/dist/chunks/{workspace-eb1przc2.js → pty-ds1793d3.js} +4 -4
- package/dist/chunks/{workspace-y0sfaewn.js → pty-dtk78y7z.js} +9 -9
- package/dist/chunks/{workspace-3qgk2cp1.js → pty-dweqnfec.js} +16 -16
- package/dist/chunks/{workspace-b3k69wk1.js → pty-dzm75127.js} +27 -27
- package/dist/chunks/{workspace-qax1zhmv.js → pty-e098c5nd.js} +11 -11
- package/dist/chunks/{workspace-zb7dvrzd.js → pty-e1ttr1vf.js} +3 -3
- package/dist/chunks/{workspace-rt0e5hny.js → pty-e2e3ejy6.js} +6 -6
- package/dist/chunks/{workspace-b6k2g2aw.js → pty-e3d33s46.js} +10 -10
- package/dist/chunks/pty-e6qpbzva.js +65 -0
- package/dist/chunks/{workspace-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-6139trde.js → pty-ejnjzycc.js} +3 -3
- package/dist/chunks/{workspace-cjwramev.js → pty-esjfm2jj.js} +8 -8
- package/dist/chunks/{workspace-vfjhn2wd.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-55ka69d6.js → pty-ey798p8x.js} +23 -23
- package/dist/chunks/{workspace-4z58m4b4.js → pty-f29mbr7f.js} +4 -4
- package/dist/chunks/pty-f81tjggh.js +18 -0
- package/dist/chunks/{workspace-pvp4hp30.js → pty-fqc83w48.js} +26 -26
- package/dist/chunks/{workspace-mm7e9znx.js → pty-fyr884dn.js} +22 -22
- package/dist/chunks/{workspace-kk00bynn.js → pty-g190xswt.js} +21 -21
- package/dist/chunks/{workspace-tc4qg87r.js → pty-g2yqr101.js} +40 -40
- package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-e1rm96se.js → pty-gkkx8aj6.js} +321 -321
- package/dist/chunks/{workspace-a4xwz2dd.js → pty-gr2zgnkv.js} +8 -8
- package/dist/chunks/{workspace-ch4t865s.js → pty-gv66gg0x.js} +5 -5
- package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-e1gm7gnr.js → pty-gzeebjq4.js} +7 -7
- package/dist/chunks/{workspace-gafkvcrz.js → pty-h0vkjtgq.js} +9 -9
- package/dist/chunks/{workspace-xrgwyj2y.js → pty-h1ccr47d.js} +9 -9
- package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-fct3jm02.js → pty-h8k7e6cy.js} +23 -23
- package/dist/chunks/{workspace-vsvh96pm.js → pty-hcspxn5n.js} +33 -33
- package/dist/chunks/{workspace-dn4q5z5h.js → pty-hm56a3s4.js} +16 -16
- package/dist/chunks/{workspace-n4j0bwm2.js → pty-hme2pbyj.js} +11 -11
- package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-2gczsa3d.js → pty-j96vhws7.js} +11 -11
- package/dist/chunks/{workspace-362cfxp2.js → pty-ja83vbyg.js} +48 -48
- package/dist/chunks/{workspace-qn3pj8t7.js → pty-jcng7cb1.js} +13 -13
- package/dist/chunks/{workspace-h22xjybc.js → pty-jkg30kz0.js} +12 -12
- package/dist/chunks/{workspace-y04bkcxp.js → pty-jpqmydm4.js} +28 -28
- package/dist/chunks/{workspace-z1gdfwgp.js → pty-jw7hkzk6.js} +5 -5
- package/dist/chunks/{workspace-y71avatq.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{workspace-vb67tcvd.js → pty-jx2ev558.js} +11 -11
- package/dist/chunks/{workspace-rsc9fyh1.js → pty-jxnddvck.js} +8 -8
- package/dist/chunks/{workspace-4rjj1nnn.js → pty-k0af0wc4.js} +22 -22
- package/dist/chunks/{workspace-k3c624dm.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-jwr1tq60.js → pty-kcpkb08r.js} +10 -10
- package/dist/chunks/{workspace-khp6e3r9.js → pty-kcrpm209.js} +36 -33
- package/dist/chunks/{workspace-891558g8.js → pty-khw8rk4h.js} +88 -88
- package/dist/chunks/{workspace-s56z6xwq.js → pty-kjhxpvza.js} +25 -25
- package/dist/chunks/{workspace-yq6v8tcv.js → pty-krmxyf0d.js} +25 -25
- package/dist/chunks/{workspace-tv5yn0qk.js → pty-kv8zkh1g.js} +26 -26
- package/dist/chunks/{workspace-s5r3t8tv.js → pty-kwq0bhn5.js} +3 -3
- package/dist/chunks/{workspace-g1p3ax05.js → pty-kwv0ec6e.js} +9 -4
- package/dist/chunks/{workspace-bey1rn81.js → pty-m0afwaej.js} +15 -15
- package/dist/chunks/{workspace-19vyxm7g.js → pty-m2nqxzae.js} +16 -16
- package/dist/chunks/{workspace-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-kbegyq1c.js → pty-m7va1g8x.js} +2 -2
- package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-5j4za14s.js → pty-mfb84nzt.js} +28 -28
- package/dist/chunks/{workspace-6sksgwqs.js → pty-mfz952mq.js} +11 -11
- package/dist/chunks/{workspace-vrpz8t5t.js → pty-mjagy123.js} +5 -5
- package/dist/chunks/{workspace-k5fkyrge.js → pty-mmnw2dm8.js} +21 -21
- package/dist/chunks/{workspace-784hb5j4.js → pty-mvksx64m.js} +4 -4
- package/dist/chunks/{workspace-wkb5v2dq.js → pty-mwjfjsx4.js} +20 -20
- package/dist/chunks/{workspace-6ywc98p8.js → pty-n33g3f6z.js} +16 -16
- package/dist/chunks/{workspace-xdjq0qq8.js → pty-nrp9mwhy.js} +5 -5
- package/dist/chunks/{workspace-5amwhyk8.js → pty-ns15zm60.js} +6 -6
- package/dist/chunks/{workspace-b5dzbz8y.js → pty-p0hymv7m.js} +9 -9
- package/dist/chunks/{workspace-3gy2gz1p.js → pty-p2zp5k1h.js} +27 -27
- package/dist/chunks/{workspace-t0w6xk4d.js → pty-pe348q3c.js} +38 -38
- package/dist/chunks/{workspace-809q4hne.js → pty-pecb0brz.js} +5 -5
- package/dist/chunks/{workspace-g0445xdp.js → pty-phstrbs2.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-j3s2z371.js → pty-pnv527nz.js} +9 -9
- package/dist/chunks/{workspace-x22dcc52.js → pty-ppxmacq5.js} +6 -6
- package/dist/chunks/{workspace-q8cd557v.js → pty-pt4qm015.js} +9 -9
- package/dist/chunks/{workspace-qv8pqxg3.js → pty-pxwtvwnd.js} +1 -1
- package/dist/chunks/{workspace-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{workspace-aqya6993.js → pty-q1fsfhde.js} +43 -43
- package/dist/chunks/{workspace-tmqzzmrr.js → pty-qc833vcy.js} +27 -27
- package/dist/chunks/{workspace-qcy9t0vc.js → pty-qk6jy71g.js} +13 -13
- package/dist/chunks/{workspace-6184ykyn.js → pty-qkvbc3b4.js} +33 -33
- package/dist/chunks/{workspace-t82t8sqa.js → pty-qn6wy31b.js} +32 -32
- package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-pn3cc07s.js → pty-qwjmgwmn.js} +8 -8
- package/dist/chunks/{workspace-j6g7bvva.js → pty-qxyg3cpe.js} +24 -24
- package/dist/chunks/{workspace-dj5tf2vm.js → pty-r1fjzajf.js} +32 -32
- package/dist/chunks/{workspace-80wndp0v.js → pty-r554yfq4.js} +11 -11
- package/dist/chunks/{workspace-hs64b4t9.js → pty-r6yz2jv0.js} +14 -14
- package/dist/chunks/{workspace-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{workspace-nwyx06m3.js → pty-raaksh1t.js} +7 -7
- package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-t550f9t1.js → pty-rhjbct0v.js} +4 -4
- package/dist/chunks/{workspace-3556dn8t.js → pty-rk1r2hx8.js} +1 -1
- package/dist/chunks/{workspace-stdrmdv2.js → pty-rn906758.js} +17 -17
- package/dist/chunks/{workspace-vafrjbqb.js → pty-ry74srx0.js} +10 -10
- package/dist/chunks/{workspace-dfy8jncq.js → pty-s2fe5yee.js} +15 -15
- package/dist/chunks/{workspace-s6td23qz.js → pty-s5ezmp18.js} +3 -3
- package/dist/chunks/{workspace-90t43mk5.js → pty-sn2139ra.js} +46 -46
- package/dist/chunks/{workspace-63djj9ck.js → pty-sngffazn.js} +15 -15
- package/dist/chunks/{workspace-sz2735r6.js → pty-snv4mqbq.js} +50 -50
- package/dist/chunks/{workspace-2pcwh8hd.js → pty-sp3tb7eb.js} +35 -32
- package/dist/chunks/{workspace-7vpk705g.js → pty-sz559pvg.js} +22 -22
- package/dist/chunks/{workspace-j31eqrn6.js → pty-t4sx140a.js} +24 -24
- package/dist/chunks/{workspace-nxc1gwm5.js → pty-t5er0ca3.js} +13 -13
- package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-2n58yfcg.js → pty-tjt041fv.js} +11 -11
- package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-56j9mr8z.js → pty-v1q5vzy1.js} +30 -30
- package/dist/chunks/{workspace-fm2qvscf.js → pty-v5dkyp31.js} +4 -4
- package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-9q1aa7mh.js → pty-vt3tdkn6.js} +180 -180
- package/dist/chunks/{workspace-xqmnnsfj.js → pty-vvwye2nj.js} +12 -12
- package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-kxhy6ymf.js → pty-w0fatpdm.js} +11 -11
- package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-5063wg77.js → pty-w4yf5md3.js} +6 -6
- package/dist/chunks/{workspace-9rhprmrd.js → pty-w5tae9vr.js} +5 -5
- package/dist/chunks/{workspace-b83f2vrv.js → pty-w8qg93vv.js} +3 -3
- package/dist/chunks/{workspace-psazpmmj.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-tfebfy6e.js → pty-wdm89pze.js} +26 -26
- package/dist/chunks/pty-x0tv82ed.js +26 -0
- package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-5zga58qv.js → pty-x1nmkajp.js} +19 -19
- package/dist/chunks/{workspace-8dz0wm0f.js → pty-x6mcsa6z.js} +12 -12
- package/dist/chunks/{workspace-2cxrmyms.js → pty-xb8h79t6.js} +22 -22
- package/dist/chunks/{workspace-drwq78ky.js → pty-xfkkasph.js} +4 -4
- package/dist/chunks/{workspace-z8fpy401.js → pty-xrdbxh55.js} +8 -8
- package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-kr37grpa.js → pty-ya6d4wsg.js} +12 -12
- package/dist/chunks/{workspace-dhnj6tay.js → pty-yacpk8s2.js} +43 -43
- package/dist/chunks/{workspace-pe0sy5kw.js → pty-yc98vja2.js} +71 -71
- package/dist/chunks/{workspace-0fg9afnv.js → pty-yfyxqpka.js} +19 -19
- package/dist/chunks/{workspace-jrg8ysyy.js → pty-yjjnrnmm.js} +11 -11
- package/dist/chunks/{workspace-qvk2gm1h.js → pty-ykm8y97q.js} +44 -44
- package/dist/chunks/{workspace-vy4zg7qh.js → pty-yn0sp2c9.js} +12 -12
- package/dist/chunks/{workspace-e2g9a36b.js → pty-ypfpty4j.js} +21 -21
- package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-s4enseaf.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-4p2g859r.js → pty-yswe8ex8.js} +23 -23
- package/dist/chunks/{workspace-yq14pbr7.js → pty-yt3hy1g9.js} +5 -5
- package/dist/chunks/{workspace-bxqvavhm.js → pty-ytpc42gn.js} +50 -50
- package/dist/chunks/{workspace-bjtzbw4r.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{workspace-y3b884q5.js → pty-z6wkpgve.js} +23 -23
- package/dist/chunks/{workspace-ttqh24zm.js → pty-zee1rnkq.js} +4 -4
- package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-68wemvkx.js → pty-zv28qa6p.js} +32 -32
- package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +123 -123
- package/dist/config/plugin/command.js +213 -212
- 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 +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- 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 +144 -144
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +95 -95
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +228 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- 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 +124 -124
- 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 +98 -98
- package/dist/models-dev.js +107 -107
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- 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 +76 -76
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +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 +97 -97
- 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 +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +129 -128
- 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 +5 -5
- 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 +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +87 -87
- 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 +110 -110
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- 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 +112 -112
- 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 +14 -14
- 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 +7 -7
- 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 +4 -4
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +82 -82
- 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/workspace-31yf23ch.js +0 -63
- package/dist/chunks/workspace-9zdhvgqs.js +0 -18
- package/dist/chunks/workspace-fdjdfwsh.js +0 -252
- package/dist/chunks/workspace-k32qtvdn.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -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: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
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";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
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",
|
|
@@ -48,7 +48,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
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,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer9, node21, exports_generate };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-8kkrevze.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./pty-p2zp5k1h.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-7tcwyjc5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -32,16 +32,16 @@ __export(exports_integration, {
|
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
34
|
Event: () => Event18,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info28,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
|
+
node: () => node78
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -63,7 +63,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
65
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
-
var
|
|
66
|
+
var ID12 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info28 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID12,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
|
+
const bus = yield* Service81;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info28.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service74.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node78 = makeLocationNode({
|
|
584
|
+
service: Service74,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node80, node85, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event18 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-2afcb8r8.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-s5ezmp18.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-1a6dfp6a.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-da3t3c1a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -75,6 +75,11 @@ var openaiResponses = (_, support) => {
|
|
|
75
75
|
var responsesEffort = (effort) => ({
|
|
76
76
|
settings: { reasoningEffort: effort, reasoningSummary: "auto", include: ENCRYPTED_REASONING }
|
|
77
77
|
});
|
|
78
|
+
var xaiResponses = (_, support) => {
|
|
79
|
+
if (support.type !== "effort")
|
|
80
|
+
return [];
|
|
81
|
+
return efforts(support.values ?? EFFORTS, responsesEffort);
|
|
82
|
+
};
|
|
78
83
|
var cloudflareAIGateway = (model, support) => {
|
|
79
84
|
const id = modelID(model);
|
|
80
85
|
if (id.startsWith("openai/"))
|
|
@@ -470,7 +475,7 @@ var PROTOCOLS = {
|
|
|
470
475
|
"@opencode/ai/providers/mistral": openaiChat,
|
|
471
476
|
"@opencode/ai/providers/moonshot/chat": moonshotChat,
|
|
472
477
|
"@opencode/ai/providers/togetherai": openaiChat,
|
|
473
|
-
"@opencode/ai/providers/xai":
|
|
478
|
+
"@opencode/ai/providers/xai": xaiResponses,
|
|
474
479
|
"@opencode/ai/providers/zai/chat": zaiChat,
|
|
475
480
|
"@opencode/ai/providers/zai-coding-plan/chat": zaiChat,
|
|
476
481
|
"@opencode/ai/providers/anthropic": anthropicMessages,
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node54
|
|
9
|
+
} from "./pty-1htqca44.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-fqc83w48.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node8,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service51;
|
|
335
|
+
return Service6.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node8 = makeLocationNode({ service: Service6, layer, deps: [node54] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./pty-dda0p7y7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./pty-bw9zjykr.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-f81tjggh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./pty-qwjmgwmn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-raaksh1t.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service45
|
|
23
|
+
} from "./pty-wdm89pze.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service62;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service71;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service45;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service47;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-256nx13v.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./pty-8kkrevze.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event9,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service46,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event9 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service46 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service46.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service46,
|
|
110
|
+
layer: layer17(options),
|
|
111
|
+
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node49 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event9, Options6, Service46, layer17, configured6, node49, exports_instruction_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Service77
|
|
7
|
+
} from "./pty-zv28qa6p.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-256nx13v.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-raaksh1t.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service77;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID15.make(from),
|
|
91
|
+
to: ID15.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|