@opencode/core 0.0.0-dev-21590 → 0.0.0-dev-21599
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{reference-73hhvkv7.js → tool-output-02vyapm1.js} +4 -4
- package/dist/chunks/{reference-wy4ffk9y.js → tool-output-02yfng3f.js} +5 -5
- package/dist/chunks/{reference-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{reference-rjr2dewt.js → tool-output-03wdg0rt.js} +21 -21
- package/dist/chunks/{reference-997dsrmm.js → tool-output-0gka690g.js} +4 -4
- package/dist/chunks/{reference-7e442h9n.js → tool-output-0gt8ey1a.js} +125 -53
- package/dist/chunks/{reference-cgx3zxj6.js → tool-output-0r009c13.js} +12 -12
- package/dist/chunks/{reference-dgaww69h.js → tool-output-0yxbjwbd.js} +29 -29
- package/dist/chunks/{reference-69vhhgbf.js → tool-output-10y9v1vv.js} +14 -14
- package/dist/chunks/{reference-br28babr.js → tool-output-14k2p94z.js} +6 -6
- package/dist/chunks/{reference-ga0jheq7.js → tool-output-14zr9vj7.js} +15 -15
- package/dist/chunks/{reference-g35eyyjw.js → tool-output-15engxec.js} +47 -47
- package/dist/chunks/{reference-1m5v0ayp.js → tool-output-1bsnzyrd.js} +20 -20
- package/dist/chunks/{reference-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-18sg5j62.js → tool-output-1vkp420h.js} +12 -12
- package/dist/chunks/{reference-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-p7vhpwh8.js → tool-output-1yq9hg58.js} +5 -5
- package/dist/chunks/{reference-qp86s7ck.js → tool-output-20fcarzd.js} +3 -3
- package/dist/chunks/{reference-ev4x93rx.js → tool-output-20nwq5j7.js} +10 -10
- package/dist/chunks/{reference-331p6xjh.js → tool-output-27bs79w9.js} +2 -2
- package/dist/chunks/{reference-wxd8q9mp.js → tool-output-2e1v5rzb.js} +11 -11
- package/dist/chunks/{reference-gphsqkvp.js → tool-output-2f4xewgk.js} +16 -16
- package/dist/chunks/{reference-c55tr7hb.js → tool-output-2gc5wwsr.js} +19 -19
- package/dist/chunks/{reference-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
- package/dist/chunks/{reference-s12jh10e.js → tool-output-31wms35x.js} +8 -8
- package/dist/chunks/{reference-76jxzvwp.js → tool-output-33fnmx25.js} +13 -13
- package/dist/chunks/{reference-g32wv891.js → tool-output-3ae58x6v.js} +45 -45
- package/dist/chunks/{reference-c62eb685.js → tool-output-3aracdxg.js} +34 -34
- package/dist/chunks/{reference-b792txny.js → tool-output-3f9f2kqk.js} +14 -14
- package/dist/chunks/{reference-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-4jzj6ttp.js → tool-output-3nn70jee.js} +19 -19
- package/dist/chunks/{reference-02szp9gm.js → tool-output-3w0cf4vg.js} +9 -9
- package/dist/chunks/{reference-91tbfg8t.js → tool-output-3wfjj3xn.js} +18 -18
- package/dist/chunks/{reference-5enarcya.js → tool-output-40za9wsf.js} +6 -6
- package/dist/chunks/{reference-jk7ax7q1.js → tool-output-45fm8dkf.js} +49 -49
- package/dist/chunks/{reference-z8bkf37c.js → tool-output-4cmd85k7.js} +23 -24
- package/dist/chunks/{reference-pzjxx5kj.js → tool-output-4t0ptnzh.js} +1 -1
- package/dist/chunks/{reference-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-4xvmh7wp.js → tool-output-4xvmh7wp.js} +3 -3
- package/dist/chunks/{reference-gb7emm0a.js → tool-output-4z3w2m2c.js} +4 -4
- package/dist/chunks/{reference-hh0p0dz0.js → tool-output-52fzkx6b.js} +24 -24
- package/dist/chunks/{reference-ygavzdh1.js → tool-output-56zd4020.js} +40 -40
- package/dist/chunks/{reference-cnjhsh0b.js → tool-output-575qvmdv.js} +4 -4
- package/dist/chunks/{reference-3rsg1p7p.js → tool-output-5cv37nj8.js} +19 -19
- package/dist/chunks/{reference-69dckygt.js → tool-output-5epaxwsw.js} +4 -4
- package/dist/chunks/{reference-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-7784vw5s.js → tool-output-5ndmwyx5.js} +32 -32
- package/dist/chunks/{reference-dj0vzv63.js → tool-output-6dhf79kj.js} +23 -23
- package/dist/chunks/tool-output-6e65pr7w.js +257 -0
- package/dist/chunks/{reference-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
- package/dist/chunks/{reference-e3tyzyg9.js → tool-output-6npt4pta.js} +11 -11
- package/dist/chunks/{reference-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
- package/dist/chunks/{reference-ctewqk08.js → tool-output-6v3q5vvj.js} +12 -12
- package/dist/chunks/{reference-szcgc7h4.js → tool-output-6y263vp8.js} +5 -5
- package/dist/chunks/{reference-gqv6dref.js → tool-output-732r365v.js} +5 -5
- package/dist/chunks/{reference-gth7ey8h.js → tool-output-75kq81p9.js} +28 -28
- package/dist/chunks/{reference-w8qtt4th.js → tool-output-76cb1hcw.js} +4 -4
- package/dist/chunks/{reference-49n54dn2.js → tool-output-7adgnzsg.js} +11 -11
- package/dist/chunks/{reference-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-zz476xrp.js → tool-output-7ees5jkk.js} +17 -17
- package/dist/chunks/{reference-g5wz76jx.js → tool-output-7mrxhv66.js} +43 -43
- package/dist/chunks/{reference-2ga909q5.js → tool-output-7n9251cj.js} +23 -23
- package/dist/chunks/{reference-1hahx13g.js → tool-output-7nsfs16y.js} +195 -195
- package/dist/chunks/{reference-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7mkh44ga.js → tool-output-86aqzbp9.js} +21 -21
- package/dist/chunks/{reference-dwwyec8z.js → tool-output-89sdcr2v.js} +6 -6
- package/dist/chunks/{reference-158tfn12.js → tool-output-8a38ne9n.js} +11 -11
- package/dist/chunks/{reference-22hmzxt9.js → tool-output-8d56qhxn.js} +30 -30
- package/dist/chunks/{reference-6mhdkm3r.js → tool-output-8gf3zxsg.js} +17 -17
- package/dist/chunks/{reference-392nsjvq.js → tool-output-8gtwayjs.js} +47 -47
- package/dist/chunks/{reference-3k4jc8v0.js → tool-output-8k8s1td8.js} +5 -5
- package/dist/chunks/{reference-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-9t2khtsw.js → tool-output-8ykqf5wm.js} +8 -8
- package/dist/chunks/{reference-e42petng.js → tool-output-8zqhaj5c.js} +13 -13
- package/dist/chunks/{reference-91rj84md.js → tool-output-91rj84md.js} +1 -1
- package/dist/chunks/{reference-ax04rzcv.js → tool-output-98pd45a3.js} +10 -10
- package/dist/chunks/{reference-998yhzzq.js → tool-output-998yhzzq.js} +3 -3
- package/dist/chunks/{reference-p0bn44dh.js → tool-output-9a6nh89z.js} +14 -14
- package/dist/chunks/{reference-9b28cy4d.js → tool-output-9b28cy4d.js} +2 -2
- package/dist/chunks/{reference-n17ttpw5.js → tool-output-9fk2bqmm.js} +6 -6
- package/dist/chunks/{reference-3zvjb0hd.js → tool-output-9g93d3f5.js} +21 -21
- package/dist/chunks/{reference-zwtk19q4.js → tool-output-9pqw3rfv.js} +19 -19
- package/dist/chunks/{reference-92at24ve.js → tool-output-9wgzwg7t.js} +34 -34
- package/dist/chunks/{reference-atxct68j.js → tool-output-abvderva.js} +55 -55
- package/dist/chunks/{reference-jxxeqwt8.js → tool-output-ad0mv7as.js} +6 -6
- package/dist/chunks/{reference-mqnjedcc.js → tool-output-agech8jz.js} +16 -16
- package/dist/chunks/{reference-nggn9d43.js → tool-output-aja4sf8e.js} +18 -18
- package/dist/chunks/{reference-t5jgkqc0.js → tool-output-at9rzsb2.js} +75 -70
- package/dist/chunks/{reference-qh6sbcd8.js → tool-output-awcmzese.js} +4 -4
- package/dist/chunks/{reference-jpfg3tzk.js → tool-output-axwvcc3s.js} +18 -18
- package/dist/chunks/{reference-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
- package/dist/chunks/{reference-btxxq5tt.js → tool-output-b0p0cccz.js} +28 -28
- package/dist/chunks/{reference-h85hk0jt.js → tool-output-b0v8jwaf.js} +5 -5
- package/dist/chunks/{reference-3tt1qkhr.js → tool-output-b29mbqx6.js} +5 -5
- package/dist/chunks/{reference-p1c1t367.js → tool-output-b3hcype2.js} +27 -27
- package/dist/chunks/{reference-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-n72v8kyg.js → tool-output-bcq1fbbx.js} +23 -23
- package/dist/chunks/{reference-rt0txz63.js → tool-output-bgm817xr.js} +9 -9
- package/dist/chunks/{reference-bxmy050v.js → tool-output-bjvhwptd.js} +3 -3
- package/dist/chunks/{reference-8w3ybxxd.js → tool-output-bmrhpq87.js} +14 -14
- package/dist/chunks/{reference-sah69mkr.js → tool-output-bqwdyg2t.js} +9 -9
- package/dist/chunks/{reference-617zxnkf.js → tool-output-br3esf13.js} +4 -4
- package/dist/chunks/{reference-xd9cc171.js → tool-output-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-35fm799j.js → tool-output-bwz2p6z2.js} +32 -32
- package/dist/chunks/{reference-dcqk33sb.js → tool-output-c0xk14mm.js} +18 -18
- package/dist/chunks/{reference-vfqfz9ng.js → tool-output-c46f3117.js} +11 -11
- package/dist/chunks/{reference-p0tsr9h6.js → tool-output-c6x7d2ts.js} +4 -4
- package/dist/chunks/{reference-mgc5ajq3.js → tool-output-cgs2kznv.js} +15 -15
- package/dist/chunks/{reference-xt1e9zqw.js → tool-output-ckekbsk5.js} +28 -28
- package/dist/chunks/{reference-mvx17366.js → tool-output-cky18ayb.js} +11 -11
- package/dist/chunks/{reference-mt84etn8.js → tool-output-cpqed4zs.js} +3 -3
- package/dist/chunks/{reference-hp05sb1w.js → tool-output-ctrm230j.js} +27 -27
- package/dist/chunks/{reference-6m8d80j4.js → tool-output-d3fzpcez.js} +10 -10
- package/dist/chunks/{reference-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-fm90g8ey.js → tool-output-dgmwqqqe.js} +7 -7
- package/dist/chunks/{reference-pc1v25hk.js → tool-output-dh62xe4r.js} +3 -3
- package/dist/chunks/{reference-6czmj677.js → tool-output-dk5xnaxx.js} +4 -4
- package/dist/chunks/{reference-57kxvcz1.js → tool-output-dmc9yb6t.js} +23 -23
- package/dist/chunks/{reference-gk1rk4s8.js → tool-output-dn2q7ewa.js} +7 -7
- package/dist/chunks/{reference-n6xp163e.js → tool-output-dr6kpnea.js} +17 -17
- package/dist/chunks/{reference-y8dt0ywh.js → tool-output-e1wc05en.js} +11 -11
- package/dist/chunks/{reference-17gtvps5.js → tool-output-e3148eb1.js} +21 -21
- package/dist/chunks/{reference-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{reference-p48hbk47.js → tool-output-e8nh79sb.js} +9 -9
- package/dist/chunks/{reference-585ybms8.js → tool-output-ebwz916e.js} +20 -20
- package/dist/chunks/{reference-14v17fgg.js → tool-output-eendxhec.js} +28 -28
- package/dist/chunks/{reference-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-pnz1sqhe.js → tool-output-f13580fy.js} +1 -1
- package/dist/chunks/{reference-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-97q6z4z1.js → tool-output-fjd8d6hc.js} +20 -20
- package/dist/chunks/{reference-9rq4kxzz.js → tool-output-fvaebv5c.js} +26 -26
- package/dist/chunks/{reference-0h8y3ex8.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{reference-2k6pc5wc.js → tool-output-g22673a8.js} +18 -18
- package/dist/chunks/{reference-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
- package/dist/chunks/{reference-n6j3m873.js → tool-output-gc2w1p23.js} +17 -17
- package/dist/chunks/{reference-y70av53j.js → tool-output-gdvg1v0w.js} +28 -28
- package/dist/chunks/{reference-7jp0etre.js → tool-output-ggx4rb7k.js} +11 -11
- package/dist/chunks/{reference-c4mt52fx.js → tool-output-gh947223.js} +18 -18
- package/dist/chunks/{reference-gbc8mqyx.js → tool-output-gjpepzdv.js} +6 -6
- package/dist/chunks/{reference-aapktb4s.js → tool-output-gn6n2gww.js} +15 -15
- package/dist/chunks/{reference-h0wvm00t.js → tool-output-gry66kc0.js} +5 -5
- package/dist/chunks/{reference-dghpgdwh.js → tool-output-h0ndpbmn.js} +9 -9
- package/dist/chunks/{reference-2wjzf534.js → tool-output-h2tz44th.js} +13 -13
- package/dist/chunks/{reference-2vaegvqr.js → tool-output-h31pp8t3.js} +20 -20
- package/dist/chunks/{reference-4x43ze8b.js → tool-output-hcs2f452.js} +18 -18
- package/dist/chunks/{reference-7k3386r2.js → tool-output-hfpdjywt.js} +14 -14
- package/dist/chunks/{reference-zysxana2.js → tool-output-hr7bspm8.js} +50 -50
- package/dist/chunks/{reference-j113cymg.js → tool-output-j113cymg.js} +1 -1
- package/dist/chunks/{reference-c4y96v02.js → tool-output-j7gyfce7.js} +12 -12
- package/dist/chunks/{reference-e5dqjz6v.js → tool-output-jchrqzf6.js} +4 -4
- package/dist/chunks/{reference-v7s2kyj8.js → tool-output-jewpd055.js} +3 -3
- package/dist/chunks/{reference-8cn6bdr7.js → tool-output-jfxkbtd9.js} +4 -4
- package/dist/chunks/{reference-sp2pyba2.js → tool-output-jtp4xp8v.js} +7 -7
- package/dist/chunks/{reference-zwexphgd.js → tool-output-jv32aesp.js} +88 -88
- package/dist/chunks/{reference-yjptjaqs.js → tool-output-k175he82.js} +37 -37
- package/dist/chunks/{reference-dpydvgsc.js → tool-output-k5aja770.js} +8 -8
- package/dist/chunks/{reference-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-dbs9f4d2.js → tool-output-k8kdgf5t.js} +175 -78
- package/dist/chunks/{reference-khz9qtbd.js → tool-output-k9qv649c.js} +19 -19
- package/dist/chunks/{reference-9xt3rwsk.js → tool-output-ka4dz7nq.js} +12 -12
- package/dist/chunks/{reference-ctya507c.js → tool-output-ke7xq34d.js} +5 -5
- package/dist/chunks/{reference-dv41yykm.js → tool-output-kebac8xz.js} +32 -32
- package/dist/chunks/{reference-enkpkfwx.js → tool-output-kmzgegqq.js} +8 -8
- package/dist/chunks/{reference-7cd2rmsc.js → tool-output-kp7p0dvh.js} +33 -33
- package/dist/chunks/{reference-82k6k4r9.js → tool-output-kxkx1fm5.js} +13 -13
- package/dist/chunks/{reference-s85z3cra.js → tool-output-ky596kc3.js} +4 -4
- package/dist/chunks/{reference-sparrdxh.js → tool-output-m0jsseqx.js} +32 -32
- package/dist/chunks/{reference-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{reference-xptgtj2n.js → tool-output-m9qp2phv.js} +5 -5
- package/dist/chunks/{reference-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-mxej95nn.js → tool-output-md00hke5.js} +25 -25
- package/dist/chunks/{reference-xydhs8a8.js → tool-output-md8c097b.js} +30 -30
- package/dist/chunks/{reference-me5bcav6.js → tool-output-me5bcav6.js} +1 -1
- package/dist/chunks/{reference-1178vxht.js → tool-output-mfd4wsk8.js} +42 -42
- package/dist/chunks/{reference-c3cfh5w6.js → tool-output-mmkbt6v3.js} +9 -9
- package/dist/chunks/{reference-1zrn58qb.js → tool-output-mn7fc7ja.js} +15 -15
- package/dist/chunks/{reference-9t6kz4yn.js → tool-output-mpe6qr53.js} +8 -8
- package/dist/chunks/{reference-nkxa5wq0.js → tool-output-myfas7b5.js} +4 -4
- package/dist/chunks/{reference-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
- package/dist/chunks/{reference-gt0jrv1m.js → tool-output-n8m4zwz8.js} +4 -4
- package/dist/chunks/{reference-bt6rz2kw.js → tool-output-n8vtaxca.js} +25 -25
- package/dist/chunks/{reference-nah043kf.js → tool-output-nah043kf.js} +1 -1
- package/dist/chunks/{reference-y06e3eb4.js → tool-output-nemq3kwn.js} +11 -11
- package/dist/chunks/{reference-fkdejkqx.js → tool-output-nh85g63h.js} +10 -10
- package/dist/chunks/{reference-cf1w38y2.js → tool-output-nhh83qbn.js} +45 -45
- package/dist/chunks/{reference-e93cazkx.js → tool-output-nkkejs0x.js} +13 -13
- package/dist/chunks/{reference-s0m4xskg.js → tool-output-nmjyhvat.js} +89 -89
- package/dist/chunks/{reference-z47ak11q.js → tool-output-npbfck1k.js} +3 -3
- package/dist/chunks/{reference-dyqd29rb.js → tool-output-nybszfb1.js} +13 -13
- package/dist/chunks/{reference-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-5qapgh17.js → tool-output-p0wda9xt.js} +3 -3
- package/dist/chunks/{reference-bcb37r7z.js → tool-output-p1m96dps.js} +16 -16
- package/dist/chunks/{reference-zb9z236r.js → tool-output-p3hsmbes.js} +8 -8
- package/dist/chunks/{reference-f2jmt318.js → tool-output-pf90p5q7.js} +46 -46
- package/dist/chunks/{reference-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{reference-d0jwqxv7.js → tool-output-pqngf5gp.js} +37 -37
- package/dist/chunks/{reference-jt507tgk.js → tool-output-py28whss.js} +10 -10
- package/dist/chunks/{reference-0mfc0d68.js → tool-output-pycah8he.js} +35 -35
- package/dist/chunks/{reference-dy5an0j5.js → tool-output-q0x7bn0w.js} +5 -5
- package/dist/chunks/{reference-apd5jra7.js → tool-output-q46y00v4.js} +9 -9
- package/dist/chunks/{reference-mgrmgacb.js → tool-output-q4b3sjyf.js} +33 -33
- package/dist/chunks/{reference-spqp8scq.js → tool-output-q5zq6djh.js} +5 -5
- package/dist/chunks/tool-output-q8814pp6.js +26 -0
- package/dist/chunks/{reference-yhbnhfm6.js → tool-output-q9mdne05.js} +11 -11
- package/dist/chunks/{reference-q21p601r.js → tool-output-qf8mwm23.js} +6 -6
- package/dist/chunks/{reference-w70n3epg.js → tool-output-qfs9mmpn.js} +8 -8
- package/dist/chunks/{reference-qjgzc4b4.js → tool-output-qjgzc4b4.js} +1 -1
- package/dist/chunks/{reference-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-yqtd0t4r.js → tool-output-r3b59dab.js} +17 -17
- package/dist/chunks/{reference-fyxzhex2.js → tool-output-r4tf9cx3.js} +12 -12
- package/dist/chunks/{reference-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-axa1k9j1.js → tool-output-rcq2wj92.js} +15 -15
- package/dist/chunks/{reference-42jd4697.js → tool-output-rrad2nt9.js} +4 -4
- package/dist/chunks/{reference-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-mfyv679b.js → tool-output-rxqg2rh4.js} +9 -9
- package/dist/chunks/{reference-r0h3bw7v.js → tool-output-s4g98fk9.js} +35 -35
- package/dist/chunks/{reference-w35wzz9x.js → tool-output-s7kyse9r.js} +4 -4
- package/dist/chunks/{reference-sd9qfce6.js → tool-output-sc1vpcb8.js} +18 -18
- package/dist/chunks/{reference-mrn7jrf1.js → tool-output-sf3ha4fy.js} +28 -28
- package/dist/chunks/{reference-h5x76x6y.js → tool-output-sp47q1yk.js} +18 -18
- package/dist/chunks/{reference-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-d2887f8n.js → tool-output-ssfehs1z.js} +4 -4
- package/dist/chunks/{reference-6z67c7sw.js → tool-output-ssqdbp8v.js} +32 -32
- package/dist/chunks/{reference-3wj3659j.js → tool-output-t9be5fj7.js} +1 -1
- package/dist/chunks/{reference-xkympmbz.js → tool-output-tasvem1v.js} +6 -6
- package/dist/chunks/{reference-z1797mdk.js → tool-output-tbspmpch.js} +13 -13
- package/dist/chunks/{reference-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-3nnrz6f6.js → tool-output-tmc7xdjs.js} +4 -4
- package/dist/chunks/{reference-2e3p09q4.js → tool-output-tmp6rxaj.js} +26 -26
- package/dist/chunks/{reference-tw8zr1ps.js → tool-output-tw8zr1ps.js} +1 -1
- package/dist/chunks/{reference-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
- package/dist/chunks/{reference-6pz21ma1.js → tool-output-v2gtqsm1.js} +17 -17
- package/dist/chunks/{reference-pka0ykct.js → tool-output-v42401vs.js} +21 -21
- package/dist/chunks/{reference-dfv0e3xz.js → tool-output-v9vr9943.js} +21 -16
- package/dist/chunks/{reference-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
- package/dist/chunks/{reference-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/tool-output-vfeyjw6g.js +523 -0
- package/dist/chunks/{reference-g7esga4v.js → tool-output-vmfhgzt5.js} +5 -5
- package/dist/chunks/{reference-ba07h9gm.js → tool-output-vx3jgdek.js} +3 -3
- package/dist/chunks/{reference-f2tcvpah.js → tool-output-w35wk246.js} +19 -19
- package/dist/chunks/{reference-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-dmcydt5k.js → tool-output-w5htd40q.js} +16 -16
- package/dist/chunks/{reference-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{reference-vk70kcm0.js → tool-output-wedq2s1n.js} +11 -11
- package/dist/chunks/{reference-pvk64qra.js → tool-output-wf83r483.js} +28 -28
- package/dist/chunks/{reference-sfpgp9sh.js → tool-output-wgnf5zhk.js} +2 -2
- package/dist/chunks/{reference-45sa55ra.js → tool-output-wjc56gzf.js} +32 -32
- package/dist/chunks/{reference-5hr8xq0q.js → tool-output-wm4529mk.js} +1 -1
- package/dist/chunks/{reference-b7tdm2jb.js → tool-output-wp8cf92c.js} +29 -29
- package/dist/chunks/{reference-g02452fg.js → tool-output-ws10xz6w.js} +14 -14
- package/dist/chunks/{reference-5jz32ng9.js → tool-output-wxmyhsez.js} +8 -8
- package/dist/chunks/{reference-zw1psc7x.js → tool-output-wxsjgajd.js} +19 -19
- package/dist/chunks/{reference-bjf39wav.js → tool-output-wyef362n.js} +34 -34
- package/dist/chunks/{reference-bhknf9fc.js → tool-output-x147gj8q.js} +23 -23
- package/dist/chunks/{reference-bpe9b5xd.js → tool-output-x1edc6rz.js} +36 -36
- package/dist/chunks/{reference-ap22wcp6.js → tool-output-xcqg2a4v.js} +7 -7
- package/dist/chunks/{reference-h26pfjbv.js → tool-output-xjbg8z6j.js} +11 -11
- package/dist/chunks/{reference-0ceasb8s.js → tool-output-xyjyzs8x.js} +20 -20
- package/dist/chunks/{reference-yd3g8txe.js → tool-output-xzg8yhtc.js} +9 -9
- package/dist/chunks/{reference-tmd1r8tg.js → tool-output-y00x4xpa.js} +4 -4
- package/dist/chunks/{reference-wyt6s0d6.js → tool-output-y150bje3.js} +32 -32
- package/dist/chunks/{reference-6f6dq05w.js → tool-output-y4dk34dd.js} +13 -11
- package/dist/chunks/{reference-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-x774aw49.js → tool-output-yd1f0tk7.js} +11 -11
- package/dist/chunks/{reference-hwhakdtp.js → tool-output-yfsz5fxv.js} +15 -15
- package/dist/chunks/{reference-75n0062n.js → tool-output-yj87g6ga.js} +11 -11
- package/dist/chunks/{reference-jk7xnh1r.js → tool-output-yr9cnj92.js} +4 -4
- package/dist/chunks/{reference-0pv52n9j.js → tool-output-yv12yyqt.js} +12 -12
- package/dist/chunks/{reference-aqfgbfd8.js → tool-output-ywhmtaft.js} +20 -20
- package/dist/chunks/{reference-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-b321b1xq.js → tool-output-z2vdc9zv.js} +34 -34
- package/dist/chunks/tool-output-z355x5yr.js +18 -0
- package/dist/chunks/{reference-da7jqf2t.js → tool-output-z38egdw8.js} +16 -16
- package/dist/chunks/{reference-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-9n5nfdbf.js → tool-output-z65n0b11.js} +23 -23
- package/dist/chunks/{reference-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
- package/dist/chunks/{reference-k879r3tb.js → tool-output-zqn9s4re.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +107 -102
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +71 -0
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/mcp/client.d.ts +7 -2
- package/dist/types/mcp/index.d.ts +8 -1
- package/dist/types/mcp/socket-client.d.ts +28 -0
- package/dist/types/session/compaction.d.ts +7 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/reference-6zjm2phc.js +0 -18
- package/dist/chunks/reference-dfy9at9k.js +0 -26
- package/dist/chunks/reference-gy55dmjh.js +0 -257
- package/dist/chunks/reference-hwnyt2r8.js +0 -523
- /package/dist/chunks/{reference-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5fjb7ams.js → tool-output-5fjb7ams.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → tool-output-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e3qxr5gk.js → tool-output-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bjvhwptd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-5epaxwsw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node58
|
|
12
|
+
} from "./tool-output-89sdcr2v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./tool-output-pf90p5q7.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./tool-output-dr6kpnea.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service60,
|
|
26
|
+
node63
|
|
27
|
+
} from "./tool-output-7adgnzsg.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./tool-output-ad0mv7as.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-output-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service52
|
|
39
|
+
} from "./tool-output-ky596kc3.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service58,
|
|
42
|
+
node61
|
|
43
|
+
} from "./tool-output-1vkp420h.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service53,
|
|
48
|
+
node56,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./tool-output-ywhmtaft.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service51,
|
|
53
|
+
node55
|
|
54
|
+
} from "./tool-output-pqngf5gp.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./tool-output-gc2w1p23.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service60;
|
|
93
|
+
const store = yield* Service58;
|
|
94
|
+
const execution = yield* Service51;
|
|
95
|
+
const instances = yield* Service55;
|
|
96
|
+
const admission = yield* Service53;
|
|
97
97
|
const database = yield* Service86;
|
|
98
98
|
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service52.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node63,
|
|
174
|
+
node61,
|
|
175
|
+
node55,
|
|
176
|
+
node58,
|
|
173
177
|
node56,
|
|
174
|
-
node50,
|
|
175
|
-
node36,
|
|
176
|
-
node38,
|
|
177
|
-
node37,
|
|
178
178
|
node90,
|
|
179
179
|
node89,
|
|
180
|
-
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-bjvhwptd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./tool-output-89sdcr2v.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-z355x5yr.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-xcqg2a4v.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-wjc56gzf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service29
|
|
18
|
+
} from "./tool-output-nmjyhvat.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-n0p0277s.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service55;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./tool-output-15engxec.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service43
|
|
10
|
+
} from "./tool-output-z65n0b11.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
18
|
Input: () => Input9,
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin27,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description4,
|
|
23
23
|
name: () => name9,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name9 = "skill";
|
|
30
30
|
var Input9 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,18 +43,18 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin27 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service43;
|
|
51
|
+
const permission = yield* Service56;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name9,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
56
|
input: Input9,
|
|
57
|
-
output:
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
@@ -79,4 +79,4 @@ var Plugin43 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name9, Input9,
|
|
82
|
+
export { name9, Input9, Output7, description4, toModelOutput2, Plugin27, exports_skill2 };
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bjvhwptd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-5epaxwsw.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-ad0mv7as.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-998yhzzq.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-dk5xnaxx.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-xcqg2a4v.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service58,
|
|
30
|
+
node61
|
|
31
|
+
} from "./tool-output-1vkp420h.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service16,
|
|
34
|
+
node18
|
|
35
|
+
} from "./tool-output-kebac8xz.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-output-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service39,
|
|
41
|
+
node43
|
|
42
|
+
} from "./tool-output-6npt4pta.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-output-wjc56gzf.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
make10
|
|
48
|
+
} from "./tool-output-tasvem1v.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-output-732r365v.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Service11,
|
|
54
|
+
node13,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./tool-output-k8kdgf5t.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node74
|
|
59
|
+
} from "./tool-output-cky18ayb.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service29,
|
|
62
|
+
node33
|
|
63
|
+
} from "./tool-output-nmjyhvat.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./tool-output-ywhmtaft.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service10,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node12
|
|
73
|
+
} from "./tool-output-tmp6rxaj.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service52
|
|
77
|
+
} from "./tool-output-ky596kc3.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node51
|
|
80
|
+
} from "./tool-output-q4b3sjyf.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
make9
|
|
84
|
+
} from "./tool-output-h31pp8t3.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service40
|
|
87
|
+
} from "./tool-output-z355x5yr.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
node21
|
|
90
|
+
} from "./tool-output-xyjyzs8x.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./tool-output-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node10
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service85;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
112
|
+
const lifecycle = yield* Service16;
|
|
113
|
+
const store = yield* Service58;
|
|
114
|
+
const context = yield* Service29;
|
|
115
|
+
const modelTransport = yield* Service39;
|
|
116
116
|
const db = (yield* Service86).db;
|
|
117
|
-
const compaction = yield*
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
120
|
-
const steps = yield*
|
|
117
|
+
const compaction = yield* Service11;
|
|
118
|
+
const plugins = yield* Service40;
|
|
119
|
+
const title = yield* Service10;
|
|
120
|
+
const steps = yield* make9;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
123
123
|
const sessionID = input.sessionID;
|
|
@@ -238,7 +238,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
238
238
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
239
239
|
const sessionID = first.session.id;
|
|
240
240
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
241
|
-
const retry = yield*
|
|
241
|
+
const retry = yield* make10(bus, sessionID);
|
|
242
242
|
let initial = first;
|
|
243
243
|
let recoverOverflow = true;
|
|
244
244
|
let recoverContinuation = true;
|
|
@@ -252,6 +252,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
252
252
|
assistantMessageID = SessionMessage2.ID.create();
|
|
253
253
|
continue;
|
|
254
254
|
}
|
|
255
|
+
yield* compaction.precompute(Effect.succeed(loaded));
|
|
255
256
|
const stepLimitReached = loaded.agent.info.steps !== undefined && step >= loaded.agent.info.steps;
|
|
256
257
|
const transcript = baseTranscript2({
|
|
257
258
|
agent: loaded.agent.info,
|
|
@@ -290,7 +291,11 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
290
291
|
recoverOverflow: Effect.suspend(() => recoverOverflow ? compaction.compact({ reason: "overflow", context: loaded }).pipe(Effect.map((result) => result.status === "completed")) : Effect.succeed(false))
|
|
291
292
|
});
|
|
292
293
|
const completed = yield* Outcome2.$match(outcome, {
|
|
293
|
-
Completed:
|
|
294
|
+
Completed: Effect.fnUntraced(function* (outcome) {
|
|
295
|
+
if (!outcome.needsContinuation)
|
|
296
|
+
yield* compaction.precompute(store.context(sessionID).pipe(Effect.map((messages) => ({ ...loaded, messages }))));
|
|
297
|
+
return outcome.needsContinuation;
|
|
298
|
+
}),
|
|
294
299
|
Retry: (outcome) => retry.wait({
|
|
295
300
|
decision: outcome.decision,
|
|
296
301
|
error: outcome.error,
|
|
@@ -370,25 +375,25 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
370
375
|
}
|
|
371
376
|
}
|
|
372
377
|
});
|
|
373
|
-
return
|
|
378
|
+
return Service52.of({ drain });
|
|
374
379
|
}));
|
|
375
|
-
var
|
|
376
|
-
service:
|
|
380
|
+
var node10 = makeLocationNode({
|
|
381
|
+
service: Service52,
|
|
377
382
|
layer,
|
|
378
383
|
deps: [
|
|
379
384
|
node89,
|
|
380
|
-
|
|
385
|
+
node18,
|
|
381
386
|
llmClient2,
|
|
387
|
+
node33,
|
|
388
|
+
node43,
|
|
389
|
+
node61,
|
|
390
|
+
node13,
|
|
382
391
|
node21,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
node16,
|
|
387
|
-
node4,
|
|
388
|
-
node40,
|
|
389
|
-
node62,
|
|
392
|
+
node12,
|
|
393
|
+
node51,
|
|
394
|
+
node74,
|
|
390
395
|
node90
|
|
391
396
|
]
|
|
392
397
|
});
|
|
393
398
|
|
|
394
|
-
export {
|
|
399
|
+
export { node10, exports_llm };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-b29mbqx6.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|