@opencode/core 0.0.0-dev-21793 → 0.0.0-dev-21794
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{file-mutation-034tev2y.js → session-034tev2y.js} +2 -2
- package/dist/chunks/{file-mutation-pq7xjvmm.js → session-062ehyaz.js} +77 -77
- package/dist/chunks/{file-mutation-n6vey4v0.js → session-0d6cx0rs.js} +22 -22
- package/dist/chunks/{file-mutation-nc7nfcmn.js → session-0f1eg881.js} +5 -5
- package/dist/chunks/{file-mutation-y29v8fx6.js → session-0gcad0bv.js} +6 -6
- package/dist/chunks/{file-mutation-b47kxsq8.js → session-0h2nsn20.js} +19 -19
- package/dist/chunks/{file-mutation-fznmdakp.js → session-0h8y3ex8.js} +4 -4
- package/dist/chunks/{file-mutation-1z6jjy5p.js → session-0ks2n9jf.js} +6 -6
- package/dist/chunks/{file-mutation-dk5xnaxx.js → session-0q213vj2.js} +4 -4
- package/dist/chunks/{file-mutation-ynx2y6bw.js → session-0q821zbt.js} +21 -21
- package/dist/chunks/{file-mutation-dh62xe4r.js → session-0ss1ygn7.js} +3 -3
- package/dist/chunks/{file-mutation-7vrycr0x.js → session-0xxxb573.js} +34 -34
- package/dist/chunks/{file-mutation-34y5t1s2.js → session-10zfg2m9.js} +14 -14
- package/dist/chunks/{file-mutation-9bsvgzkn.js → session-11j0fj5y.js} +28 -28
- package/dist/chunks/{file-mutation-tg1vr1qt.js → session-160yv0cs.js} +8 -8
- package/dist/chunks/{file-mutation-kbn4pv95.js → session-19qc5p7m.js} +35 -35
- package/dist/chunks/{file-mutation-jppfcdsv.js → session-1c9d625f.js} +15 -15
- package/dist/chunks/{file-mutation-1ep2p91f.js → session-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-mutation-hj4sgq0k.js → session-1kjfp0fz.js} +55 -55
- package/dist/chunks/{file-mutation-1x2knyw4.js → session-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-mutation-v9ez2kgh.js → session-1yq9hg58.js} +5 -5
- package/dist/chunks/{file-mutation-5mn06ewq.js → session-2cmpaz1f.js} +30 -30
- package/dist/chunks/{file-mutation-mt039edz.js → session-2d61r7rv.js} +40 -40
- package/dist/chunks/{file-mutation-tkawvzsd.js → session-2ppfz31h.js} +7 -7
- package/dist/chunks/{file-mutation-7be1feys.js → session-2sbxavqm.js} +6 -6
- package/dist/chunks/{file-mutation-2z1j29yd.js → session-2z1j29yd.js} +1 -1
- package/dist/chunks/{file-mutation-m4n458ne.js → session-34a20nb4.js} +34 -34
- package/dist/chunks/{file-mutation-by4yhs9f.js → session-34wpvpj5.js} +7 -7
- package/dist/chunks/{file-mutation-rpyyyxcq.js → session-3dtnq2mh.js} +35 -35
- package/dist/chunks/{file-mutation-wfjf3dbs.js → session-3fn6zqdq.js} +4 -4
- package/dist/chunks/{file-mutation-681w63qn.js → session-3gtc2smr.js} +4 -4
- package/dist/chunks/{file-mutation-86e3dsdc.js → session-3h19vw7t.js} +29 -29
- package/dist/chunks/{file-mutation-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3nnrz6f6.js → session-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-mutation-x9bfykwd.js → session-3t7xvzsm.js} +5 -5
- package/dist/chunks/{file-mutation-r9vxfp52.js → session-3xv816p6.js} +47 -47
- package/dist/chunks/{file-mutation-zzdv5d93.js → session-42jd4697.js} +4 -4
- package/dist/chunks/{file-mutation-s2fjhn33.js → session-4baptj63.js} +11 -11
- package/dist/chunks/{file-mutation-b4mwhj0w.js → session-4reaw0q3.js} +9 -9
- package/dist/chunks/{file-mutation-zcz1zead.js → session-4sjtyb7f.js} +22 -22
- package/dist/chunks/{file-mutation-jve1z22x.js → session-4tesayfa.js} +2 -2
- package/dist/chunks/{file-mutation-4v008n1t.js → session-4v008n1t.js} +1 -1
- package/dist/chunks/{file-mutation-wn5tx07g.js → session-4zwvdbwp.js} +52 -52
- package/dist/chunks/{file-mutation-tw3w7kk6.js → session-506rfma8.js} +11 -11
- package/dist/chunks/{file-mutation-ts53k1nz.js → session-5ccdmfre.js} +19 -19
- package/dist/chunks/{file-mutation-1nf7yf0j.js → session-5gz1a8gf.js} +47 -47
- package/dist/chunks/{file-mutation-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-0pj9ddaq.js → session-5vfn2g7x.js} +11 -11
- package/dist/chunks/{file-mutation-sqz5s9dc.js → session-5vmd8x8k.js} +19 -19
- package/dist/chunks/{file-mutation-m6v7brdr.js → session-5za9n41j.js} +27 -27
- package/dist/chunks/{file-mutation-4rwjg7ym.js → session-60e6nj43.js} +12 -12
- package/dist/chunks/{file-mutation-jqnr3q0b.js → session-61sg38kq.js} +11 -11
- package/dist/chunks/{file-mutation-x4a10420.js → session-67hn45n1.js} +5 -5
- package/dist/chunks/{file-mutation-a0e2vy3h.js → session-6a5rjam5.js} +23 -23
- package/dist/chunks/{file-mutation-e8zejd8s.js → session-6aysrmft.js} +51 -51
- package/dist/chunks/session-6bshxcsx.js +18 -0
- package/dist/chunks/{file-mutation-dz8hhvgv.js → session-6c5cd6ez.js} +9 -9
- package/dist/chunks/{file-mutation-6esdw8yj.js → session-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-mutation-6pjqjmy2.js → session-6pjqjmy2.js} +1 -1
- package/dist/chunks/{file-mutation-3c9yzw43.js → session-7335qpww.js} +12 -12
- package/dist/chunks/{file-mutation-w8qtt4th.js → session-76cb1hcw.js} +4 -4
- package/dist/chunks/{file-mutation-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-aye484sv.js → session-7v5zyc51.js} +22 -22
- package/dist/chunks/{file-mutation-qvzyn69b.js → session-7v990z7p.js} +9 -9
- package/dist/chunks/{file-mutation-7w2ypzdf.js → session-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-mutation-9d1m9pmn.js → session-7y01hpps.js} +22 -22
- package/dist/chunks/{file-mutation-wzkhz6q0.js → session-81frkmaj.js} +7 -7
- package/dist/chunks/{file-mutation-21f4f1g1.js → session-891z9254.js} +18 -18
- package/dist/chunks/{file-mutation-jah766w3.js → session-8arqx5ke.js} +1 -1
- package/dist/chunks/session-8c5e14ts.js +26 -0
- package/dist/chunks/{file-mutation-x39k9451.js → session-8ck4qs81.js} +12 -12
- package/dist/chunks/{file-mutation-0f6r689f.js → session-8ctv7822.js} +6 -6
- package/dist/chunks/{file-mutation-yy2edg57.js → session-8mer360m.js} +12 -12
- package/dist/chunks/{file-mutation-spw53e2n.js → session-8mjp2b1j.js} +15 -15
- package/dist/chunks/{file-mutation-8wtp7s3z.js → session-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-mutation-bgm817xr.js → session-8x9y3wj0.js} +5 -5
- package/dist/chunks/{file-mutation-st8aw945.js → session-8xty3x34.js} +11 -11
- package/dist/chunks/{file-mutation-nva7xeab.js → session-8xy3wmge.js} +17 -17
- package/dist/chunks/{file-mutation-fntjqd6t.js → session-8zdgw9se.js} +53 -53
- package/dist/chunks/{file-mutation-91rj84md.js → session-91rj84md.js} +1 -1
- package/dist/chunks/{file-mutation-998yhzzq.js → session-998yhzzq.js} +3 -3
- package/dist/chunks/{file-mutation-fvc4bqe2.js → session-9b28cy4d.js} +5 -5
- package/dist/chunks/{file-mutation-k10dwtqd.js → session-9c9v8j80.js} +4 -4
- package/dist/chunks/{file-mutation-ppvrw4s2.js → session-9e02zste.js} +16 -16
- package/dist/chunks/{file-mutation-qye7m5mc.js → session-9hwpyg2w.js} +13 -13
- package/dist/chunks/{file-mutation-hvjpqjdc.js → session-9jxqhc39.js} +16 -16
- package/dist/chunks/{file-mutation-6krm39vr.js → session-9khtjtv4.js} +11 -11
- package/dist/chunks/{file-mutation-jchrqzf6.js → session-9p9xqj3m.js} +8 -8
- package/dist/chunks/{file-mutation-5w1mdqt7.js → session-9tvpxs1q.js} +4 -4
- package/dist/chunks/{file-mutation-njm07axa.js → session-9x470fw5.js} +94 -94
- package/dist/chunks/{file-mutation-06t7n8q8.js → session-9z93zpeq.js} +27 -27
- package/dist/chunks/{file-mutation-gjn8q2kb.js → session-a2zex5ge.js} +8 -8
- package/dist/chunks/{file-mutation-x1rh1q6n.js → session-a89yv2pz.js} +24 -24
- package/dist/chunks/{file-mutation-xyeba02v.js → session-a9p3h3tw.js} +5 -5
- package/dist/chunks/{file-mutation-5q1634ts.js → session-ahwwkk38.js} +29 -29
- package/dist/chunks/{file-mutation-pdh4yr0t.js → session-ank1n48c.js} +12 -12
- package/dist/chunks/{file-mutation-ayjs7tqn.js → session-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-mutation-b0mv4wxm.js → session-b0mv4wxm.js} +2 -2
- package/dist/chunks/{file-mutation-b6vsg801.js → session-b6vsg801.js} +2 -2
- package/dist/chunks/{file-mutation-j9gv32p7.js → session-b76jrbz3.js} +25 -25
- package/dist/chunks/{file-mutation-mppte30v.js → session-bar6jh2f.js} +34 -34
- package/dist/chunks/{file-mutation-npqr99vp.js → session-bd90b2et.js} +189 -189
- package/dist/chunks/{file-mutation-x9v18vd1.js → session-bdxea53v.js} +11 -11
- package/dist/chunks/session-begkjybw.js +517 -0
- package/dist/chunks/{file-mutation-jf98v3pw.js → session-bjczhbbc.js} +11 -11
- package/dist/chunks/{file-mutation-kng2vz2g.js → session-c4929c0a.js} +33 -33
- package/dist/chunks/{file-mutation-kt2hvhfc.js → session-c8by3qsw.js} +15 -15
- package/dist/chunks/{file-mutation-9dyr6dbd.js → session-csmj30ps.js} +13 -13
- package/dist/chunks/{file-mutation-f378m401.js → session-cssss2c8.js} +28 -28
- package/dist/chunks/{file-mutation-nkkjs32s.js → session-cve9e8a9.js} +11 -11
- package/dist/chunks/{file-mutation-7fkfpscz.js → session-cz5dy49f.js} +5 -5
- package/dist/chunks/{file-mutation-w1gspdc4.js → session-cznpay9q.js} +24 -24
- package/dist/chunks/{file-mutation-c9t2ty9q.js → session-d2887f8n.js} +4 -4
- package/dist/chunks/{file-mutation-1y0wdj51.js → session-d2dx6a7h.js} +4 -4
- package/dist/chunks/{file-mutation-d4v9tmah.js → session-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-mutation-e65cdmhb.js → session-d8qd4w10.js} +5 -5
- package/dist/chunks/{file-mutation-b0yyfzfw.js → session-d8yv6077.js} +17 -17
- package/dist/chunks/{file-mutation-dbhxdrr0.js → session-dqyhwsyt.js} +11 -11
- package/dist/chunks/{file-mutation-9qc30j8j.js → session-drbn9sqq.js} +24 -24
- package/dist/chunks/{file-mutation-jee9mcyq.js → session-dxfrhysr.js} +28 -28
- package/dist/chunks/{file-mutation-0n9958p8.js → session-dxsmaa4c.js} +33 -33
- package/dist/chunks/{file-mutation-thhhq1vt.js → session-dzrhh8df.js} +21 -21
- package/dist/chunks/{file-mutation-ta48ntn4.js → session-e1t5xn98.js} +10 -10
- package/dist/chunks/{file-mutation-rxrr3qdh.js → session-e7dq7fm5.js} +14 -14
- package/dist/chunks/{file-mutation-e834z07m.js → session-e834z07m.js} +1 -1
- package/dist/chunks/{file-mutation-zx6dx56d.js → session-eamfc2kn.js} +9 -9
- package/dist/chunks/{file-mutation-14zwc1tm.js → session-ez4sj4sx.js} +20 -20
- package/dist/chunks/{file-mutation-vxq3rjst.js → session-f2w4rchf.js} +5 -5
- package/dist/chunks/{file-mutation-jajr2nk9.js → session-f6trr7e3.js} +2 -2
- package/dist/chunks/{file-mutation-hx36yvej.js → session-fern24mt.js} +14 -14
- package/dist/chunks/{file-mutation-fffv3p7h.js → session-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-mutation-vvrrv243.js → session-fhwr4dms.js} +42 -42
- package/dist/chunks/{file-mutation-nnra64kg.js → session-ft08xt5m.js} +52 -52
- package/dist/chunks/{file-mutation-5bk3jjmc.js → session-fvk0n00t.js} +23 -23
- package/dist/chunks/{file-mutation-g5h9c0rr.js → session-g5h9c0rr.js} +2 -2
- package/dist/chunks/{file-mutation-agqd6nxz.js → session-g6dfma3d.js} +6 -6
- package/dist/chunks/{file-mutation-h5tgkdcy.js → session-g757gqbv.js} +16 -16
- package/dist/chunks/{file-mutation-2pmnyg9r.js → session-g9ahbbjh.js} +9 -9
- package/dist/chunks/session-gjvjf4m7.js +261 -0
- package/dist/chunks/{file-mutation-jyfkkafv.js → session-gkng5bng.js} +6 -6
- package/dist/chunks/{file-mutation-gzd9h9wc.js → session-gkr1bq4j.js} +27 -27
- package/dist/chunks/{file-mutation-16ef7g89.js → session-gy80xb2c.js} +10 -10
- package/dist/chunks/{file-mutation-q27sz64n.js → session-h2gh3a9a.js} +23 -23
- package/dist/chunks/{file-mutation-awz66qxh.js → session-h3m0t2ze.js} +8 -8
- package/dist/chunks/{file-mutation-rkfx65sc.js → session-h5337942.js} +5 -5
- package/dist/chunks/{file-mutation-d3kt6ywa.js → session-h8y6gcmk.js} +28 -28
- package/dist/chunks/{file-mutation-e5mc6wd5.js → session-hczvdcac.js} +18 -18
- package/dist/chunks/{file-mutation-jq88ke7r.js → session-hdfrs5mg.js} +9 -9
- package/dist/chunks/{file-mutation-9h0z3fxn.js → session-hks15d2t.js} +13 -13
- package/dist/chunks/{file-mutation-d42sg7e1.js → session-hrzx7x9s.js} +27 -27
- package/dist/chunks/{file-mutation-wcm504gr.js → session-hve2fq9y.js} +23 -23
- package/dist/chunks/{file-mutation-3wyhrqfb.js → session-hx6gesf1.js} +8 -8
- package/dist/chunks/{file-mutation-j113cymg.js → session-j113cymg.js} +1 -1
- package/dist/chunks/{file-mutation-v2map4bj.js → session-j84gxmpm.js} +14 -14
- package/dist/chunks/{file-mutation-pyyefh93.js → session-j8hzpz0h.js} +20 -20
- package/dist/chunks/{file-mutation-xn4rg1bt.js → session-jmes5zhb.js} +45 -45
- package/dist/chunks/{file-mutation-m168f1q5.js → session-jxyj8hpn.js} +17 -17
- package/dist/chunks/{file-mutation-k814nvkf.js → session-k814nvkf.js} +1 -1
- package/dist/chunks/{file-mutation-b8g5x7py.js → session-kcy24dzk.js} +23 -23
- package/dist/chunks/{file-mutation-ydgk5ecx.js → session-kk8d2twr.js} +4 -4
- package/dist/chunks/{file-mutation-kt3bjfbg.js → session-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-mutation-hq99wsn5.js → session-kzff85gc.js} +17 -17
- package/dist/chunks/{file-mutation-m1714858.js → session-m1714858.js} +1 -1
- package/dist/chunks/{file-mutation-m37sd98t.js → session-m37sd98t.js} +1 -1
- package/dist/chunks/{file-mutation-ak0nv30a.js → session-m3fd9we8.js} +17 -17
- package/dist/chunks/{file-mutation-gkxweqzn.js → session-m5g9y4b4.js} +21 -21
- package/dist/chunks/{file-mutation-sqa3z3dz.js → session-m8d6aeba.js} +11 -11
- package/dist/chunks/{file-mutation-9z8a2djx.js → session-m8ejsvff.js} +38 -38
- package/dist/chunks/{file-mutation-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-maspj1v3.js → session-maspj1v3.js} +1 -1
- package/dist/chunks/{file-mutation-0ja23t1b.js → session-msgtmmwm.js} +20 -20
- package/dist/chunks/{file-mutation-fwrhh8te.js → session-mswjwmxw.js} +35 -35
- package/dist/chunks/{file-mutation-0j822yer.js → session-n09ktrpj.js} +35 -35
- package/dist/chunks/{file-mutation-n0p0277s.js → session-n0p0277s.js} +1 -1
- package/dist/chunks/{file-mutation-rx9zn29t.js → session-n6cmtmgk.js} +14 -14
- package/dist/chunks/{file-mutation-szcgc7h4.js → session-n6v2b7cw.js} +5 -5
- package/dist/chunks/{file-mutation-ah9fbd82.js → session-n78vgp01.js} +49 -49
- package/dist/chunks/{file-mutation-td4wpn7p.js → session-n816me0g.js} +4 -4
- package/dist/chunks/{file-mutation-770pw0s1.js → session-nah043kf.js} +4 -4
- package/dist/chunks/{file-mutation-z9etxwmp.js → session-nrpwggeq.js} +18 -18
- package/dist/chunks/{file-mutation-t79q4a8s.js → session-ntfe8f6c.js} +19 -19
- package/dist/chunks/{file-mutation-mpw1k9ag.js → session-ny3db5hz.js} +3 -3
- package/dist/chunks/{file-mutation-p015t6z3.js → session-p015t6z3.js} +2 -2
- package/dist/chunks/{file-mutation-jgx5v8fy.js → session-p428xhy8.js} +23 -23
- package/dist/chunks/{file-mutation-hvvf9qw8.js → session-p580ev26.js} +6 -6
- package/dist/chunks/{file-mutation-6wded51y.js → session-pc4vvwq8.js} +13 -13
- package/dist/chunks/{file-mutation-28ymys8g.js → session-pe475p9x.js} +33 -33
- package/dist/chunks/{file-mutation-a77zgm32.js → session-pjrkhw1k.js} +4 -4
- package/dist/chunks/{file-mutation-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-d32ywmm3.js → session-pxkqc3rb.js} +9 -9
- package/dist/chunks/{file-mutation-8kf7njae.js → session-q2334jn5.js} +13 -13
- package/dist/chunks/{file-mutation-412bryh6.js → session-q3ewpg24.js} +26 -26
- package/dist/chunks/{file-mutation-ad85zqd0.js → session-q43ne7hn.js} +37 -37
- package/dist/chunks/{file-mutation-6cmnpesq.js → session-q8y7gvtp.js} +9 -9
- package/dist/chunks/{file-mutation-dycw1daa.js → session-q9p5q8t8.js} +88 -88
- package/dist/chunks/{file-mutation-hvnmtape.js → session-qgygq16w.js} +33 -33
- package/dist/chunks/{file-mutation-qjgzc4b4.js → session-qjgzc4b4.js} +1 -1
- package/dist/chunks/{file-mutation-htgm1bds.js → session-qp8y541x.js} +3 -3
- package/dist/chunks/{file-mutation-184a1rnm.js → session-qqg9c0kv.js} +7 -7
- package/dist/chunks/{file-mutation-q4b90a1g.js → session-qz2b8ww8.js} +8 -8
- package/dist/chunks/{file-mutation-ev1t90qk.js → session-r038qm3v.js} +23 -23
- package/dist/chunks/{file-mutation-r0yr0wbs.js → session-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-mutation-r542h3bh.js → session-r542h3bh.js} +1 -1
- package/dist/chunks/{file-mutation-rv3msfz7.js → session-r5bacmxe.js} +13 -13
- package/dist/chunks/{file-mutation-jc236n4m.js → session-r9zqjbr3.js} +3 -3
- package/dist/chunks/{file-mutation-rb9dy4dg.js → session-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-mutation-bs6kz8fr.js → session-rmd72c1c.js} +51 -51
- package/dist/chunks/{file-mutation-2n8qcs80.js → session-rpfa5gae.js} +21 -21
- package/dist/chunks/{file-mutation-gdfaxg1p.js → session-rresjmf5.js} +14 -14
- package/dist/chunks/{file-mutation-rt5dr6hb.js → session-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-mutation-wtfvr6dg.js → session-s5nd0bc4.js} +28 -28
- package/dist/chunks/{file-mutation-jkk3563p.js → session-s6072wj9.js} +12 -12
- package/dist/chunks/{file-mutation-azzgb3g2.js → session-s6awdsy0.js} +7 -7
- package/dist/chunks/{file-mutation-c8j7dx8q.js → session-s9ty2h8k.js} +11 -11
- package/dist/chunks/{file-mutation-sa3fpqfw.js → session-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-mutation-fzpx1t84.js → session-saf6r2z0.js} +11 -11
- package/dist/chunks/{file-mutation-5fjb7ams.js → session-sjmm3wxa.js} +14 -4
- package/dist/chunks/{file-mutation-wkv9y70z.js → session-sjnxp7hy.js} +14 -14
- package/dist/chunks/{file-mutation-sqjzf8x2.js → session-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-mutation-n93ct7p0.js → session-sr9frw7e.js} +17 -17
- package/dist/chunks/{file-mutation-znfqxp8f.js → session-t3bmncnt.js} +29 -29
- package/dist/chunks/{file-mutation-c781gd4g.js → session-t729t864.js} +14 -14
- package/dist/chunks/{file-mutation-0fpyks1q.js → session-t83ydtm3.js} +12 -12
- package/dist/chunks/{file-mutation-agt7cqbv.js → session-t9ph4z61.js} +8 -8
- package/dist/chunks/{file-mutation-5fzv3jtq.js → session-tb2a6kf9.js} +24 -24
- package/dist/chunks/{file-mutation-pkmtmf38.js → session-tb7p4ryh.js} +8 -8
- package/dist/chunks/{file-mutation-tczq8hjw.js → session-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-mutation-engkm2d6.js → session-tdpndm1c.js} +5 -5
- package/dist/chunks/{file-mutation-583v5ha0.js → session-th9wcrk9.js} +19 -19
- package/dist/chunks/{file-mutation-n9pam4rb.js → session-tq4bs9zv.js} +24 -24
- package/dist/chunks/{file-mutation-s1tpjhgy.js → session-tsa4q033.js} +30 -30
- package/dist/chunks/{file-mutation-twv2r8f4.js → session-twv2r8f4.js} +2 -2
- package/dist/chunks/{file-mutation-c8b8mnkb.js → session-tz6w8ssj.js} +46 -46
- package/dist/chunks/{file-mutation-7jev2p96.js → session-v2kvxxkm.js} +45 -45
- package/dist/chunks/{file-mutation-v2r1d0zg.js → session-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-mutation-xm251h68.js → session-v33x8f1w.js} +33 -33
- package/dist/chunks/{file-mutation-4w13ygjb.js → session-v3jb7vyc.js} +4 -4
- package/dist/chunks/{file-mutation-n3h7tt9m.js → session-v589fyg6.js} +15 -15
- package/dist/chunks/{file-mutation-vd3b3yk9.js → session-vd3b3yk9.js} +1 -1
- package/dist/chunks/{file-mutation-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-s0a3xd7q.js → session-vmd96ftr.js} +11 -11
- package/dist/chunks/{file-mutation-sqgyj4gx.js → session-vne3092r.js} +61 -61
- package/dist/chunks/{file-mutation-pgga6m9y.js → session-vsbzdb7a.js} +27 -27
- package/dist/chunks/{file-mutation-hvz0d71n.js → session-vv3zm7s1.js} +6 -6
- package/dist/chunks/{file-mutation-9na97aeg.js → session-w0q46mwf.js} +20 -20
- package/dist/chunks/{file-mutation-1xnx50jx.js → session-w17kfy1v.js} +1 -1
- package/dist/chunks/{file-mutation-e9jwpacd.js → session-w1sdcmwk.js} +35 -35
- package/dist/chunks/{file-mutation-r41sfy63.js → session-w2eysc6j.js} +6 -6
- package/dist/chunks/{file-mutation-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3ycsgzwh.js → session-w93ety8x.js} +16 -16
- package/dist/chunks/{file-mutation-emq6awqh.js → session-w9w8mt4n.js} +4 -4
- package/dist/chunks/{file-mutation-wakvkjy4.js → session-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-20nwq5j7.js → session-wdv0vama.js} +10 -10
- package/dist/chunks/{file-mutation-tt1npxdc.js → session-wkvawzmd.js} +13 -13
- package/dist/chunks/{file-mutation-vpgtgc27.js → session-wm1t2d3t.js} +4 -4
- package/dist/chunks/{file-mutation-18a9gpqs.js → session-x6y41mvz.js} +17 -17
- package/dist/chunks/{file-mutation-xd9cc171.js → session-xd9cc171.js} +1 -1
- package/dist/chunks/{file-mutation-fzw3ggbd.js → session-xdjszmj8.js} +5 -5
- package/dist/chunks/{file-mutation-4xvmh7wp.js → session-xkfczkpn.js} +3 -3
- package/dist/chunks/{file-mutation-mh72q75k.js → session-xm60pncv.js} +11 -11
- package/dist/chunks/{file-mutation-j6emb5q4.js → session-xn1sajjh.js} +32 -32
- package/dist/chunks/{file-mutation-bqwdyg2t.js → session-xrpfz6f8.js} +9 -9
- package/dist/chunks/{file-mutation-cvqwb722.js → session-y2cbhfd8.js} +3 -3
- package/dist/chunks/{file-mutation-42c08vbd.js → session-y2yv3qsd.js} +15 -15
- package/dist/chunks/{file-mutation-cppvt4zp.js → session-y3rwszce.js} +3 -3
- package/dist/chunks/{file-mutation-5et2web4.js → session-y9jcaqkj.js} +30 -30
- package/dist/chunks/{file-mutation-ry63fkbp.js → session-y9xrhqjb.js} +6 -6
- package/dist/chunks/{file-mutation-yb20nhc3.js → session-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-mutation-qx48z7fz.js → session-ybn89qre.js} +21 -21
- package/dist/chunks/{file-mutation-zqx4v1dp.js → session-ybnpgdfy.js} +2 -2
- package/dist/chunks/{file-mutation-99z41sf4.js → session-yeejah88.js} +3 -3
- package/dist/chunks/{file-mutation-je176taz.js → session-yge12d25.js} +5 -5
- package/dist/chunks/{file-mutation-r385tprj.js → session-yggmnpfe.js} +13 -13
- package/dist/chunks/{file-mutation-ne9926sq.js → session-yqkv9frz.js} +9 -9
- package/dist/chunks/{file-mutation-w4aahjgf.js → session-yytq8b7t.js} +34 -34
- package/dist/chunks/{file-mutation-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z38nccrw.js → session-z38nccrw.js} +1 -1
- package/dist/chunks/{file-mutation-4k9b8ckd.js → session-zayahjwy.js} +11 -11
- package/dist/chunks/{file-mutation-zkg84ctx.js → session-zkg84ctx.js} +1 -1
- package/dist/chunks/{file-mutation-s6h5wwd7.js → session-zq26ymxa.js} +22 -22
- package/dist/chunks/{file-mutation-tdaksa41.js → session-zsebhnnd.js} +21 -21
- package/dist/chunks/{file-mutation-sv1g5dmz.js → session-zy9w95j4.js} +40 -40
- package/dist/chunks/{file-mutation-xf0kw6r5.js → session-zykvwzsc.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +89 -89
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +74 -74
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +78 -78
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +99 -99
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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 +96 -96
- 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 +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +106 -106
- 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 +94 -94
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +226 -226
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- 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 +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- 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 +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/file-mutation-f9b0xc0f.js +0 -26
- package/dist/chunks/file-mutation-pp26ka9h.js +0 -261
- package/dist/chunks/file-mutation-qrbmkj4e.js +0 -517
- package/dist/chunks/file-mutation-z7bdqmx5.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a058387c.js → session-a058387c.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cqv5kn06.js → session-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jwr30sdr.js → session-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → session-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wjj7prxr.js → session-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-mswjwmxw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./session-n09ktrpj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin45,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin45 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service71;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin45, exports_verbosity };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-gkng5bng.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-4zwvdbwp.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-3dtnq2mh.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-v2kvxxkm.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-sr9frw7e.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./session-9e02zste.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event15,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info22,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event15 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info22 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID10.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node78 = makeLocationNode({ service: Service74, layer: layer28, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID10, Info22, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer28, node78, validateAnswer2, validateFields2, exports_form, Event15 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info24,
|
|
6
|
+
ID12,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-5za9n41j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./session-8zdgw9se.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin49,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin49 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info24.make({
|
|
439
|
+
id: ID12.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info24.make({
|
|
446
|
+
id: ID12.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service59;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin49, exports_skill3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info30,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info30 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info30, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./session-8zdgw9se.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service19,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-wdv0vama.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-6pjqjmy2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin15
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin15 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service59;
|
|
34
|
+
const managed = yield* Service19;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin40 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin15, exports_policy };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID9,
|
|
7
|
+
Service73,
|
|
8
|
+
node77
|
|
9
|
+
} from "./session-3dtnq2mh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info3,
|
|
18
|
+
Service: () => Service16,
|
|
19
|
+
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer9,
|
|
22
|
+
node: () => node18
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service16 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service73;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID9.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service16.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node18 = makeLocationNode({
|
|
72
|
+
service: Service16,
|
|
73
|
+
layer: layer9,
|
|
74
|
+
deps: [node77, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info3, UnavailableError2, Service16, layer9, node18, exports_usage_limits };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node73
|
|
7
|
+
} from "./session-v2kvxxkm.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
UnavailableError: () => UnavailableError5,
|
|
22
|
+
layer: () => layer26,
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service68 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer26 = Layer.effect(Service68, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service69;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError5({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service68.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node72 = makeLocationNode({
|
|
77
|
+
service: Service68,
|
|
78
|
+
layer: layer26,
|
|
79
|
+
deps: [node73, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError5, Service68, layer26, node72, exports_generate2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service57,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node60
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service57, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service57.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service57, node60, exports_environment };
|