@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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-sjmm3wxa.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-91rj84md.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-4baptj63.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./session-w1sdcmwk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-3dtnq2mh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-mswjwmxw.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID8.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service75;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service87,
|
|
3
|
-
node91
|
|
4
|
-
} from "./file-mutation-0pj9ddaq.js";
|
|
5
|
-
import {
|
|
6
|
-
latestSequence2,
|
|
7
2
|
Service86,
|
|
8
3
|
node90
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./session-5vfn2g7x.js";
|
|
5
|
+
import {
|
|
6
|
+
latestSequence2,
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./session-9e02zste.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-34wpvpj5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service78,
|
|
21
|
+
node82
|
|
22
|
+
} from "./session-y2yv3qsd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service29,
|
|
25
|
+
node33
|
|
26
|
+
} from "./session-q9p5q8t8.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./session-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,12 +72,12 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
80
|
-
const db = (yield*
|
|
78
|
+
const context = yield* Service29;
|
|
79
|
+
const store = yield* Service78;
|
|
80
|
+
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
83
83
|
let failed = false;
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service2.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [
|
|
165
|
+
var node3 = makeLocationNode({
|
|
166
|
+
service: Service2,
|
|
167
|
+
layer: layer3,
|
|
168
|
+
deps: [node89, llmClient2, node33, node82, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node13, exports_update };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-w17kfy1v.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-r9zqjbr3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./session-5vfn2g7x.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-34wpvpj5.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-ybnpgdfy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service78,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node82
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service78 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
59
|
-
const { db } = yield*
|
|
60
|
-
return
|
|
58
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
59
|
+
const { db } = yield* Service86;
|
|
60
|
+
return Service78.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service78, node82, exports_store };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./session-n09ktrpj.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./session-a89yv2pz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-yggmnpfe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./session-1c9d625f.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service77
|
|
14
|
+
} from "./session-4zwvdbwp.js";
|
|
15
15
|
import {
|
|
16
16
|
Service15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./session-8mer360m.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./session-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin27,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin27 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service15;
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service77;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output6, toModelContent5, Plugin27, exports_write };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node68,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node68 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node68, exports_driver };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./session-9e02zste.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref4,
|
|
11
|
+
Service82,
|
|
12
|
+
node86
|
|
13
|
+
} from "./session-jxyj8hpn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service21 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const location = yield* Service82;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service21.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node89, node86] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service21, node24, exports_rpc, define2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-yeejah88.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info27 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info27, SessionSchema2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./session-mswjwmxw.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|