@aiderdesk/aiderdesk 0.73.0 → 0.74.0
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/out/renderer/assets/{AgentSettings-B8NFKgLb.js → AgentSettings-B-793Wr6.js} +4561 -3203
- package/out/renderer/assets/{InfoIcon-DhMP8XnB.js → InfoIcon-cuLXzJtV.js} +1 -1
- package/out/renderer/assets/{Onboarding-CmlEw4fh.js → Onboarding-xrPWRnXm.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-DMNcKpGs.js → ProviderHeader-CMVyqpPa.js} +145 -2
- package/out/renderer/assets/{SettingsPage-CmOR4wA1.js → SettingsPage-BBtDhv80.js} +13 -7
- package/out/renderer/assets/{UsageDashboard-BGAWd1b2.js → UsageDashboard-CGI4iwCD.js} +3 -3
- package/out/renderer/assets/{arc-Jg3VSYdu.js → arc-CFENq1wJ.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-BhT1Ad0h.js → architectureDiagram-3BPJPVTR-BRG_9Mao.js} +3 -3
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-BZuMX6U_.js → blockDiagram-GPEHLZMM-B3c7WMY4.js} +4 -4
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-QL7T5rpZ.js → c4Diagram-AAUBKEIU-BYQrxMcW.js} +2 -2
- package/out/renderer/assets/{channel-K2W31OE5.js → channel-DPxL1rpa.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-LumY2cbE.js → chunk-2J33WTMH-C-kk05Nj.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-GLhRzKG1.js → chunk-4BX2VUAB-BV8PWxnG.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-B3B3AcnH.js → chunk-55IACEB6-Cj6KHkUp.js} +1 -1
- package/out/renderer/assets/{chunk-727SXJPM-DMyZUEKf.js → chunk-727SXJPM-BaIkuSPr.js} +5 -5
- package/out/renderer/assets/{chunk-AQP2D5EJ-CQsD5TCd.js → chunk-AQP2D5EJ-DVZR_bfB.js} +3 -3
- package/out/renderer/assets/{chunk-FMBD7UC4-x4SmU5Oe.js → chunk-FMBD7UC4-CNrb2a0a.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-pT6s9nFT.js → chunk-ND2GUHAM-ClOnPDjy.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-Cv8umQxL.js → chunk-QZHKN3VN-B2sJx9j2.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-DmOcXaER.js → classDiagram-4FO5ZUOK-ZzwWMcLO.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-DmOcXaER.js → classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-Bi6ESdxa.js → cose-bilkent-S5V4N54A-DBx-UiMU.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-BK2slT53.js → dagre-BM42HDAG-B_vMvYpz.js} +3 -3
- package/out/renderer/assets/{diagram-2AECGRRQ-DkgLH6e2.js → diagram-2AECGRRQ-Do-w2xXO.js} +3 -3
- package/out/renderer/assets/{diagram-5GNKFQAL-BwAieVd0.js → diagram-5GNKFQAL-JzG77sgb.js} +4 -4
- package/out/renderer/assets/{diagram-KO2AKTUF-D6Km_LB9.js → diagram-KO2AKTUF-CGMx2nPP.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-BhWSHEeO.js → diagram-LMA3HP47-BqXnQeNu.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-zoN4RvNr.js → diagram-OG6HWLK6-BR4e0lIb.js} +4 -4
- package/out/renderer/assets/{erDiagram-TEJ5UH35-DooZS_mc.js → erDiagram-TEJ5UH35-B7QK0XSy.js} +4 -4
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-CmZPvaDJ.js → flowDiagram-I6XJVG4X-BOySqejA.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-Bx6OJzRM.js → ganttDiagram-6RSMTGT7-BORAleML.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-BPUT8Ht7.js → gitGraphDiagram-PVQCEYII-DTReLiJT.js} +4 -4
- package/out/renderer/assets/{graph-CwC0h_b8.js → graph-Bf8U9r0n.js} +1 -1
- package/out/renderer/assets/{index-Ds5GQdTm.js → index-5i67azF0.js} +1 -1
- package/out/renderer/assets/{index-B3o44aT2.css → index-7NwOg_q_.css} +8 -16
- package/out/renderer/assets/{index-CXq4cCbe.js → index-BOQBc3Qj.js} +4 -3
- package/out/renderer/assets/{index-DOOlJc12.js → index-BS5vy5uH.js} +1 -1
- package/out/renderer/assets/{index-BrZFlbuf.js → index-COyr1I0o.js} +1 -1
- package/out/renderer/assets/{index-ChKmR4QP.js → index-CmQY2QKE.js} +1 -1
- package/out/renderer/assets/{index-PGLvyST0.js → index-D3R9tjiT.js} +1 -1
- package/out/renderer/assets/{index-DqiktxfT.js → index-D6b3rMtW.js} +1 -1
- package/out/renderer/assets/{index-BSFaA4XQ.js → index-DUoUqcJ_.js} +1 -1
- package/out/renderer/assets/{index-CI0IUNzz.js → index-Dq3ldCAy.js} +1022 -821
- package/out/renderer/assets/{index-xI0MsLE8.js → index-Dtxgil7l.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-C77gIx1a.js → infoDiagram-5YYISTIA-Ryv-Emth.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DZ8xk7_N.js → ishikawaDiagram-YF4QCWOH-Blzp6JLN.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-BLPdv_c5.js → journeyDiagram-JHISSGLW--KB4ASET.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-1M6DZ35g.js → jsx-dev-runtime-DAzw_Red.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-CMHVN7c3.js → kanban-definition-UN3LZRKU-BzNpCu_x.js} +2 -2
- package/out/renderer/assets/{layout-BJqshyQm.js → layout-BQu4M-KW.js} +2 -2
- package/out/renderer/assets/{linear-CbEhS1qE.js → linear-DNZEF2Al.js} +1 -1
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-C8Cz7pQU.js → mindmap-definition-RKZ34NQL-CxQjZIps.js} +3 -3
- package/out/renderer/assets/{pieDiagram-4H26LBE5-Bx5tSw6i.js → pieDiagram-4H26LBE5-qJt7eGwM.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-CX6DcDEk.js → quadrantDiagram-W4KKPZXB-mMOhLjN_.js} +2 -2
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-qBp8nKy9.js → requirementDiagram-4Y6WPE33-GLhMtLW7.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-B5zYIsBo.js → sankeyDiagram-5OEKKPKP-Kcd8qR8y.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-C57DtTdH.js → sequenceDiagram-3UESZ5HK-CpmBIgMJ.js} +3 -3
- package/out/renderer/assets/{stateDiagram-AJRCARHV-CGRyr6CG.js → stateDiagram-AJRCARHV-D00qZ9cQ.js} +6 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-3hvBe5lv.js → stateDiagram-v2-BHNVJYJU-CkEgNJrB.js} +4 -4
- package/out/renderer/assets/{time-B3bXse3U.js → time-CQSoUo1N.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-Dpq0iPd0.js → timeline-definition-PNZ67QCA-CmydTbH6.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-_jSNuVb5.js → vennDiagram-CIIHVFJN-B4QGhnvI.js} +1 -1
- package/out/renderer/assets/{wardley-L42UT6IY-DixmVaQZ.js → wardley-L42UT6IY-B-mpW52K.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-DMK4zc32.js → wardleyDiagram-YWT4CUSO-Cz1pK1MY.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-DKPuWmAF.js → xychartDiagram-2RQKCTM6-H-Q9Zv48.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/skills/agent-creator/SKILL.md +223 -0
- package/out/resources/skills/agent-creator/assets/examples/sample-profile.json +47 -0
- package/out/resources/skills/agent-creator/assets/templates/config.json.template +47 -0
- package/out/resources/skills/agent-creator/references/agent-profile-schema.md +294 -0
- package/out/resources/skills/agent-creator/references/profile-examples.md +490 -0
- package/out/resources/skills/agent-creator/references/subagent-guide.md +317 -0
- package/out/resources/skills/agent-creator/references/tool-approval-guide.md +484 -0
- package/out/runner.js +10790 -10126
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-BM42HDAG-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-BM42HDAG-B_vMvYpz.js","./graph-Bf8U9r0n.js","./layout-BQu4M-KW.js","./cose-bilkent-S5V4N54A-DBx-UiMU.js","./cytoscape.esm-Bm8DJGmZ.js","./c4Diagram-AAUBKEIU-BYQrxMcW.js","./chunk-ND2GUHAM-ClOnPDjy.js","./flowDiagram-I6XJVG4X-BOySqejA.js","./chunk-FMBD7UC4-CNrb2a0a.js","./chunk-55IACEB6-Cj6KHkUp.js","./chunk-2J33WTMH-C-kk05Nj.js","./channel-DPxL1rpa.js","./erDiagram-TEJ5UH35-B7QK0XSy.js","./gitGraphDiagram-PVQCEYII-DTReLiJT.js","./chunk-4BX2VUAB-BV8PWxnG.js","./chunk-QZHKN3VN-B2sJx9j2.js","./wardley-L42UT6IY-B-mpW52K.js","./ganttDiagram-6RSMTGT7-BORAleML.js","./time-CQSoUo1N.js","./linear-DNZEF2Al.js","./init-CTO7spbL.js","./defaultLocale-B2RvLBDe.js","./infoDiagram-5YYISTIA-Ryv-Emth.js","./pieDiagram-4H26LBE5-qJt7eGwM.js","./arc-CFENq1wJ.js","./ordinal-BD3Y6v77.js","./quadrantDiagram-W4KKPZXB-mMOhLjN_.js","./xychartDiagram-2RQKCTM6-H-Q9Zv48.js","./band-zXq5o_Ib.js","./requirementDiagram-4Y6WPE33-GLhMtLW7.js","./sequenceDiagram-3UESZ5HK-CpmBIgMJ.js","./classDiagram-4FO5ZUOK-ZzwWMcLO.js","./chunk-727SXJPM-BaIkuSPr.js","./classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js","./stateDiagram-AJRCARHV-D00qZ9cQ.js","./chunk-AQP2D5EJ-DVZR_bfB.js","./stateDiagram-v2-BHNVJYJU-CkEgNJrB.js","./journeyDiagram-JHISSGLW--KB4ASET.js","./timeline-definition-PNZ67QCA-CmydTbH6.js","./mindmap-definition-RKZ34NQL-CxQjZIps.js","./kanban-definition-UN3LZRKU-BzNpCu_x.js","./sankeyDiagram-5OEKKPKP-Kcd8qR8y.js","./diagram-LMA3HP47-BqXnQeNu.js","./diagram-2AECGRRQ-Do-w2xXO.js","./blockDiagram-GPEHLZMM-B3c7WMY4.js","./diagram-5GNKFQAL-JzG77sgb.js","./architectureDiagram-3BPJPVTR-BRG_9Mao.js","./diagram-KO2AKTUF-CGMx2nPP.js","./diagram-OG6HWLK6-BR4e0lIb.js","./wardleyDiagram-YWT4CUSO-Cz1pK1MY.js","./angular-html-BYG42TJr.js","./html-GC16tDh9.js","./javascript-BsAkV7mL.js","./css-BtVcDqlU.js","./angular-ts-BftcHvZ6.js","./scss-Dq-LbI_c.js","./apl-CGZawg-A.js","./xml-BMzZeaqs.js","./java-BfXh-0uJ.js","./json-TjWBGEk1.js","./astro-BxdWOZvM.js","./typescript-CP6ECzON.js","./postcss-kj1IbjVd.js","./tsx-CmGGo4Hm.js","./blade-BbH7YAUi.js","./html-derivative-HU9p64q4.js","./sql-DzUuSofg.js","./bsl-DwPS0BId.js","./sdbl-BBUhycGU.js","./cairo-BtYx2aM5.js","./python-CrdIx4PZ.js","./cobol-B8r1pfPr.js","./coffee-XLjtuEYs.js","./cpp-zh2ePAE_.js","./regexp-BxWeO75u.js","./glsl-CGsiYPcu.js","./c-C4VtT7JA.js","./crystal-BqBRy7Ec.js","./shellscript-CQ8MXh-D.js","./edge-CnHxQ_FD.js","./elixir-B_LIBv5J.js","./elm-BlO7pcFp.js","./erb-Bzn22wO6.js","./ruby-C13Bjepi.js","./haml-DrIklt7F.js","./graphql-CwmtR1ib.js","./jsx-BPmvoin2.js","./lua-BVbbqwZC.js","./yaml-B_vW5iTY.js","./erlang-Ch5kuXHm.js","./markdown-F_EULe_G.js","./fortran-fixed-form-CpmOyvS5.js","./fortran-free-form-5X94ETMi.js","./fsharp-5vtGqRR9.js","./gdresource-B5TLWiFO.js","./gdshader-BEzE4j_3.js","./gdscript-CNW3Aj-d.js","./git-commit-PP9xCApN.js","./diff-BEdzuHlE.js","./git-rebase-D-XQSvDj.js","./glimmer-js-h2QNNiD7.js","./glimmer-ts-Bk3uX6Ae.js","./hack-BTX3ICIE.js","./handlebars-yWFGGD2R.js","./http-DjsOm9E4.js","./hurl-Am2cDU4f.js","./csv-Ba84L8e5.js","./hxml-Jle7oGdm.js","./haxe-BpobLYM9.js","./jinja-FkIlHBgj.js","./jison-BkdOIOd4.js","./julia-CU_UwNb8.js","./r-Dpdc-Kyk.js","./just-tGFryTtU.js","./perl-HITCDkgu.js","./latex-B0gTO9uZ.js","./tex-CGVqF8nD.js","./liquid-QmJ_LYTW.js","./marko-BAWrmNIa.js","./less-BAzLMJNR.js","./mdc-Ca0ft0PS.js","./nextflow-B166B-y1.js","./nextflow-groovy-BOO9s0iq.js","./nginx-BFAkI5_-.js","./nim-B3PAIZ4D.js","./php-C2HieitX.js","./pug-BwQB43qN.js","./qml-jtL8okyu.js","./razor-gBXW6YBJ.js","./csharp-DxX_6tHh.js","./rst-by6KAwTb.js","./cmake-CDfQILeU.js","./sas-BLBgC3TA.js","./shaderlab-C07uO3dL.js","./hlsl-TRzjajlb.js","./shellsession-CkeTp4M1.js","./soy-BHaHgMUy.js","./sparql-DswowMAp.js","./turtle-BnC7StHY.js","./stata-Dl7wDdBE.js","./surrealql-Bs3vUeKA.js","./svelte-fC0HkEkx.js","./templ-CSEiQwNm.js","./go-DRMr3iML.js","./ts-tags-cG2hZuda.js","./twig-CwEEYIBf.js","./vue-K-7Ga-y8.js","./vue-html-DhreShjd.js","./vue-vine-rMIwOpFf.js","./stylus-DXFa_2Jl.js","./xsl-CnwVr_6q.js","./UsageDashboard-CGI4iwCD.js","./SettingsPage-BBtDhv80.js","./AgentSettings-B-793Wr6.js","./InfoIcon-cuLXzJtV.js","./index-BOQBc3Qj.js","./ProviderHeader-CMVyqpPa.js","./Onboarding-xrPWRnXm.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function _mergeNamespaces(n2, m2) {
|
|
3
3
|
for (var i2 = 0; i2 < m2.length; i2++) {
|
|
4
4
|
const e2 = m2[i2];
|
|
@@ -114205,7 +114205,7 @@ const loadReactIcons = () => {
|
|
|
114205
114205
|
if (iconsLoading) {
|
|
114206
114206
|
return iconsLoading;
|
|
114207
114207
|
}
|
|
114208
|
-
iconsLoading = Promise.all([__vitePreload(() => Promise.resolve().then(() => index$9), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$i), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$j), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$6), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$8), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$3), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$h), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-
|
|
114208
|
+
iconsLoading = Promise.all([__vitePreload(() => Promise.resolve().then(() => index$9), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$i), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$j), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$6), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$8), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$3), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$h), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-COyr1I0o.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => import("./index-Dtxgil7l.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => import("./index-D6b3rMtW.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$2), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-DUoUqcJ_.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$g), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-BS5vy5uH.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$f), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$c), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$a), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-CmQY2QKE.js"), true ? [] : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$1), true ? void 0 : void 0, import.meta.url), __vitePreload(() => Promise.resolve().then(() => index$5), true ? void 0 : void 0, import.meta.url), __vitePreload(() => import("./index-5i67azF0.js"), true ? [] : void 0, import.meta.url)]).then(([Fi, Fa, Md, Ai, Bi, Bs, Cg, Di, Fc, Gi, Go, Gr, Hi, Im, Io, Io5, Ri, Si, Tb, Ti, Vsc, Wi]) => {
|
|
114209
114209
|
iconsCache = {
|
|
114210
114210
|
Fi,
|
|
114211
114211
|
Fa,
|
|
@@ -114447,20 +114447,22 @@ const useModelProviders = () => {
|
|
|
114447
114447
|
return context;
|
|
114448
114448
|
};
|
|
114449
114449
|
const DEFAULT_VOICE_SYSTEM_INSTRUCTIONS = "Expect words related to programming, development, and technology.";
|
|
114450
|
-
const AVAILABLE_PROVIDERS = ["alibaba-plan", "anthropic", "anthropic-compatible", "azure", "bedrock", "cerebras", "deepseek", "gemini", "gpustack", "groq", "kimi-plan", "litellm", "lmstudio", "minimax", "mistral", "neuralwatt", "ollama", "openai", "openai-compatible", "opencode", "openrouter", "requesty", "synthetic", "vertex-ai", "zai-plan"];
|
|
114450
|
+
const AVAILABLE_PROVIDERS = ["alibaba-plan", "anthropic", "anthropic-compatible", "azure", "bedrock", "cerebras", "clinepass", "deepseek", "gemini", "gpustack", "groq", "kimi-plan", "litellm", "lmstudio", "minimax", "mistral", "neuralwatt", "ollama", "openai", "openai-compatible", "opencode", "openrouter", "requesty", "synthetic", "vertex-ai", "zai-plan"];
|
|
114451
114451
|
var OpenAiVoiceModel = /* @__PURE__ */ ((OpenAiVoiceModel2) => {
|
|
114452
114452
|
OpenAiVoiceModel2["Gpt4oMiniTranscribe"] = "gpt-4o-mini-transcribe";
|
|
114453
114453
|
OpenAiVoiceModel2["Gpt4oTranscribe"] = "gpt-4o-transcribe";
|
|
114454
|
+
OpenAiVoiceModel2["GptRealtimeWhisper"] = "gpt-realtime-whisper";
|
|
114454
114455
|
return OpenAiVoiceModel2;
|
|
114455
114456
|
})(OpenAiVoiceModel || {});
|
|
114456
114457
|
const isOpenAiProvider = (provider) => provider.name === "openai";
|
|
114457
114458
|
var GeminiVoiceModel = /* @__PURE__ */ ((GeminiVoiceModel2) => {
|
|
114458
|
-
GeminiVoiceModel2["
|
|
114459
|
+
GeminiVoiceModel2["Gemini31FlashLivePreview"] = "gemini-3.1-flash-live-preview";
|
|
114460
|
+
GeminiVoiceModel2["Gemini25FlashNativeAudio"] = "gemini-2.5-flash-native-audio-preview-12-2025";
|
|
114459
114461
|
return GeminiVoiceModel2;
|
|
114460
114462
|
})(GeminiVoiceModel || {});
|
|
114461
114463
|
const isGeminiProvider = (provider) => provider.name === "gemini";
|
|
114462
114464
|
const DEFAULT_PROVIDER_MODELS = {
|
|
114463
|
-
anthropic: "claude-sonnet-
|
|
114465
|
+
anthropic: "claude-sonnet-5"
|
|
114464
114466
|
};
|
|
114465
114467
|
const DEFAULT_AGENT_PROFILE_ID = "default";
|
|
114466
114468
|
const DEFAULT_AGENT_PROFILE = {
|
|
@@ -114643,7 +114645,7 @@ const getDefaultProviderParams = (providerName) => {
|
|
|
114643
114645
|
voice: {
|
|
114644
114646
|
idleTimeoutMs: 5e3,
|
|
114645
114647
|
systemInstructions: DEFAULT_VOICE_SYSTEM_INSTRUCTIONS,
|
|
114646
|
-
model: "gpt-
|
|
114648
|
+
model: "gpt-realtime-whisper",
|
|
114647
114649
|
language: "en"
|
|
114648
114650
|
}
|
|
114649
114651
|
};
|
|
@@ -114680,7 +114682,7 @@ const getDefaultProviderParams = (providerName) => {
|
|
|
114680
114682
|
voice: {
|
|
114681
114683
|
idleTimeoutMs: 5e3,
|
|
114682
114684
|
systemInstructions: DEFAULT_VOICE_SYSTEM_INSTRUCTIONS,
|
|
114683
|
-
model: "gemini-
|
|
114685
|
+
model: "gemini-3.1-flash-live-preview",
|
|
114684
114686
|
temperature: 0.7
|
|
114685
114687
|
}
|
|
114686
114688
|
};
|
|
@@ -114728,6 +114730,12 @@ const getDefaultProviderParams = (providerName) => {
|
|
|
114728
114730
|
apiKey: ""
|
|
114729
114731
|
};
|
|
114730
114732
|
break;
|
|
114733
|
+
case "clinepass":
|
|
114734
|
+
provider = {
|
|
114735
|
+
name: "clinepass",
|
|
114736
|
+
apiKey: ""
|
|
114737
|
+
};
|
|
114738
|
+
break;
|
|
114731
114739
|
case "deepseek":
|
|
114732
114740
|
provider = {
|
|
114733
114741
|
name: "deepseek",
|
|
@@ -114839,6 +114847,21 @@ const getDefaultProviderParams = (providerName) => {
|
|
|
114839
114847
|
}
|
|
114840
114848
|
return provider;
|
|
114841
114849
|
};
|
|
114850
|
+
const isSubagentEnabled = (agentProfile, mainAgentProfile) => {
|
|
114851
|
+
if (!agentProfile.subagent.enabled) {
|
|
114852
|
+
return false;
|
|
114853
|
+
}
|
|
114854
|
+
if (!mainAgentProfile) {
|
|
114855
|
+
return true;
|
|
114856
|
+
}
|
|
114857
|
+
if (agentProfile.id === mainAgentProfile.id) {
|
|
114858
|
+
return false;
|
|
114859
|
+
}
|
|
114860
|
+
return !mainAgentProfile.enabledSubagentIds || mainAgentProfile.enabledSubagentIds.includes(agentProfile.id);
|
|
114861
|
+
};
|
|
114862
|
+
const getSubagentId = (subagent) => {
|
|
114863
|
+
return subagent.name.toLowerCase().replace(/\s+/g, "-");
|
|
114864
|
+
};
|
|
114842
114865
|
const getProviderModelId = (model2) => {
|
|
114843
114866
|
return `${model2.providerId}/${model2.id}`;
|
|
114844
114867
|
};
|
|
@@ -116470,7 +116493,7 @@ const ModelSelector = reactExports.forwardRef((t0, ref) => {
|
|
|
116470
116493
|
let t14;
|
|
116471
116494
|
if ($3[35] !== close || $3[36] !== debouncedSearchTerm || $3[37] !== groupedFilteredModels || $3[38] !== labelOnNull || $3[39] !== onModelSelected || $3[40] !== preferredModels || $3[41] !== state2.highlightedModelIndex || $3[42] !== updateState) {
|
|
116472
116495
|
t14 = (e2) => {
|
|
116473
|
-
const allModels = [...preferredModels, ...groupedFilteredModels.flatMap(_temp4$
|
|
116496
|
+
const allModels = [...preferredModels, ...groupedFilteredModels.flatMap(_temp4$9)];
|
|
116474
116497
|
const totalItems = (labelOnNull && !debouncedSearchTerm ? 1 : 0) + allModels.length;
|
|
116475
116498
|
bb110: switch (e2.key) {
|
|
116476
116499
|
case KeyboardKeys.ArrowDown: {
|
|
@@ -116697,7 +116720,7 @@ function _temp2$t(t0) {
|
|
|
116697
116720
|
function _temp3$g(a3, b2) {
|
|
116698
116721
|
return a3.providerId.localeCompare(b2.providerId);
|
|
116699
116722
|
}
|
|
116700
|
-
function _temp4$
|
|
116723
|
+
function _temp4$9(group) {
|
|
116701
116724
|
return group.models;
|
|
116702
116725
|
}
|
|
116703
116726
|
const ModelSelectorWrapper = reactExports.forwardRef((t0, ref) => {
|
|
@@ -131001,8 +131024,8 @@ const RadioButton = (t0) => {
|
|
|
131001
131024
|
}
|
|
131002
131025
|
return t11;
|
|
131003
131026
|
};
|
|
131004
|
-
const TextArea = (t0) => {
|
|
131005
|
-
const $3 = compilerRuntimeExports.c(
|
|
131027
|
+
const TextArea = reactExports.forwardRef((t0, ref) => {
|
|
131028
|
+
const $3 = compilerRuntimeExports.c(19);
|
|
131006
131029
|
let error;
|
|
131007
131030
|
let label;
|
|
131008
131031
|
let props;
|
|
@@ -131044,39 +131067,41 @@ const TextArea = (t0) => {
|
|
|
131044
131067
|
scrollbar-thumb-bg-fourth
|
|
131045
131068
|
${className}`;
|
|
131046
131069
|
let t4;
|
|
131047
|
-
if ($3[8] !== props || $3[9] !== t3) {
|
|
131048
|
-
t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { spellCheck: false, ...props, className: t3 });
|
|
131070
|
+
if ($3[8] !== props || $3[9] !== ref || $3[10] !== t3) {
|
|
131071
|
+
t4 = /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { ref, spellCheck: false, ...props, className: t3 });
|
|
131049
131072
|
$3[8] = props;
|
|
131050
|
-
$3[9] =
|
|
131051
|
-
$3[10] =
|
|
131073
|
+
$3[9] = ref;
|
|
131074
|
+
$3[10] = t3;
|
|
131075
|
+
$3[11] = t4;
|
|
131052
131076
|
} else {
|
|
131053
|
-
t4 = $3[
|
|
131077
|
+
t4 = $3[11];
|
|
131054
131078
|
}
|
|
131055
131079
|
let t5;
|
|
131056
|
-
if ($3[
|
|
131080
|
+
if ($3[12] !== error) {
|
|
131057
131081
|
t5 = error && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-xs text-error mt-1", children: error });
|
|
131058
|
-
$3[
|
|
131059
|
-
$3[
|
|
131082
|
+
$3[12] = error;
|
|
131083
|
+
$3[13] = t5;
|
|
131060
131084
|
} else {
|
|
131061
|
-
t5 = $3[
|
|
131085
|
+
t5 = $3[13];
|
|
131062
131086
|
}
|
|
131063
131087
|
let t6;
|
|
131064
|
-
if ($3[
|
|
131088
|
+
if ($3[14] !== t2 || $3[15] !== t4 || $3[16] !== t5 || $3[17] !== wrapperClassName) {
|
|
131065
131089
|
t6 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: wrapperClassName, children: [
|
|
131066
131090
|
t2,
|
|
131067
131091
|
t4,
|
|
131068
131092
|
t5
|
|
131069
131093
|
] });
|
|
131070
|
-
$3[
|
|
131071
|
-
$3[
|
|
131072
|
-
$3[
|
|
131073
|
-
$3[
|
|
131074
|
-
$3[
|
|
131094
|
+
$3[14] = t2;
|
|
131095
|
+
$3[15] = t4;
|
|
131096
|
+
$3[16] = t5;
|
|
131097
|
+
$3[17] = wrapperClassName;
|
|
131098
|
+
$3[18] = t6;
|
|
131075
131099
|
} else {
|
|
131076
|
-
t6 = $3[
|
|
131100
|
+
t6 = $3[18];
|
|
131077
131101
|
}
|
|
131078
131102
|
return t6;
|
|
131079
|
-
};
|
|
131103
|
+
});
|
|
131104
|
+
TextArea.displayName = "TextArea";
|
|
131080
131105
|
const LIBRARY_CACHE = /* @__PURE__ */ new Map();
|
|
131081
131106
|
const convertAsAliases = (exports$1) => {
|
|
131082
131107
|
return exports$1.replace(/(\w+)\s+as\s+(\w+)/g, "$1: $2");
|
|
@@ -131114,7 +131139,7 @@ const initExtensionLibraryLoader = async () => {
|
|
|
131114
131139
|
const React2 = await __vitePreload(() => Promise.resolve().then(() => React$1), true ? void 0 : void 0, import.meta.url);
|
|
131115
131140
|
const ReactDOM2 = await __vitePreload(() => Promise.resolve().then(() => index$k), true ? void 0 : void 0, import.meta.url);
|
|
131116
131141
|
const ReactJsxRuntime = await __vitePreload(() => Promise.resolve().then(() => jsxRuntime$1), true ? void 0 : void 0, import.meta.url);
|
|
131117
|
-
const ReactJsxDevRuntime = await __vitePreload(() => import("./jsx-dev-runtime-
|
|
131142
|
+
const ReactJsxDevRuntime = await __vitePreload(() => import("./jsx-dev-runtime-DAzw_Red.js").then((n2) => n2.j), true ? [] : void 0, import.meta.url);
|
|
131118
131143
|
window.__AiderDeskLibs__ = {
|
|
131119
131144
|
React: React2,
|
|
131120
131145
|
ReactDOM: ReactDOM2,
|
|
@@ -132214,7 +132239,7 @@ const SortableTabItem = (t0) => {
|
|
|
132214
132239
|
}
|
|
132215
132240
|
let t13;
|
|
132216
132241
|
if ($3[32] !== handleRightClick || $3[33] !== t12 || $3[34] !== t6) {
|
|
132217
|
-
t13 = /* @__PURE__ */ jsxRuntimeExports.jsxs(dt$1, { onContextMenu: handleRightClick, className: _temp4$
|
|
132242
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsxs(dt$1, { onContextMenu: handleRightClick, className: _temp4$8, children: [
|
|
132218
132243
|
t6,
|
|
132219
132244
|
t12
|
|
132220
132245
|
] });
|
|
@@ -132252,7 +132277,7 @@ function _temp3$f(t0) {
|
|
|
132252
132277
|
} = t0;
|
|
132253
132278
|
return clsx$1("relative cursor-pointer select-none py-2 pl-9 pr-3 text-sm transition-colors", focus ? "bg-bg-secondary-light text-text-primary" : "text-text-muted", selected && "text-text-primary font-medium");
|
|
132254
132279
|
}
|
|
132255
|
-
function _temp4$
|
|
132280
|
+
function _temp4$8(t0) {
|
|
132256
132281
|
const {
|
|
132257
132282
|
selected
|
|
132258
132283
|
} = t0;
|
|
@@ -154641,7 +154666,7 @@ const useTaskResponseHandlers = (baseDir, taskId) => {
|
|
|
154641
154666
|
processingMessage_0.reasoning = reasoning_0 || processingMessage_0.reasoning;
|
|
154642
154667
|
setMessages(taskId, (prevMessages_2) => prevMessages_2.map((message_6) => message_6.id === messageId_0 ? processingMessage_0 : message_6));
|
|
154643
154668
|
} else {
|
|
154644
|
-
setMessages(taskId, _temp4$
|
|
154669
|
+
setMessages(taskId, _temp4$7);
|
|
154645
154670
|
}
|
|
154646
154671
|
}
|
|
154647
154672
|
processingResponseMessageMap.delete(taskId);
|
|
@@ -154686,7 +154711,7 @@ function _temp2$o(message_5) {
|
|
|
154686
154711
|
function _temp3$e(message_7) {
|
|
154687
154712
|
return message_7.type !== "loading";
|
|
154688
154713
|
}
|
|
154689
|
-
function _temp4$
|
|
154714
|
+
function _temp4$7(prevMessages_3) {
|
|
154690
154715
|
return prevMessages_3.filter(_temp3$e);
|
|
154691
154716
|
}
|
|
154692
154717
|
const ProjectSettingsContext = reactExports.createContext(void 0);
|
|
@@ -200691,12 +200716,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
200691
200716
|
registerLayoutLoaders([
|
|
200692
200717
|
{
|
|
200693
200718
|
name: "dagre",
|
|
200694
|
-
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./dagre-BM42HDAG-
|
|
200719
|
+
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./dagre-BM42HDAG-B_vMvYpz.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url), "loader")
|
|
200695
200720
|
},
|
|
200696
200721
|
...[
|
|
200697
200722
|
{
|
|
200698
200723
|
name: "cose-bilkent",
|
|
200699
|
-
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./cose-bilkent-S5V4N54A-
|
|
200724
|
+
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./cose-bilkent-S5V4N54A-DBx-UiMU.js"), true ? __vite__mapDeps([3,4]) : void 0, import.meta.url), "loader")
|
|
200700
200725
|
}
|
|
200701
200726
|
]
|
|
200702
200727
|
]);
|
|
@@ -201097,7 +201122,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
201097
201122
|
}, "detector");
|
|
201098
201123
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
201099
201124
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201100
|
-
const { diagram: diagram22 } = await import("./c4Diagram-AAUBKEIU-
|
|
201125
|
+
const { diagram: diagram22 } = await import("./c4Diagram-AAUBKEIU-BYQrxMcW.js");
|
|
201101
201126
|
return { diagram: diagram22 };
|
|
201102
201127
|
}, true ? __vite__mapDeps([5,6]) : void 0, import.meta.url);
|
|
201103
201128
|
return { id, diagram: diagram2 };
|
|
@@ -201117,7 +201142,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201117
201142
|
}, "detector");
|
|
201118
201143
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
201119
201144
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201120
|
-
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-
|
|
201145
|
+
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-BOySqejA.js");
|
|
201121
201146
|
return { diagram: diagram22 };
|
|
201122
201147
|
}, true ? __vite__mapDeps([7,8,6,9,10,11]) : void 0, import.meta.url);
|
|
201123
201148
|
return { id: id2, diagram: diagram2 };
|
|
@@ -201143,7 +201168,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201143
201168
|
}, "detector");
|
|
201144
201169
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
201145
201170
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201146
|
-
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-
|
|
201171
|
+
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-BOySqejA.js");
|
|
201147
201172
|
return { diagram: diagram22 };
|
|
201148
201173
|
}, true ? __vite__mapDeps([7,8,6,9,10,11]) : void 0, import.meta.url);
|
|
201149
201174
|
return { id: id3, diagram: diagram2 };
|
|
@@ -201160,7 +201185,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
201160
201185
|
}, "detector");
|
|
201161
201186
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
201162
201187
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201163
|
-
const { diagram: diagram22 } = await import("./erDiagram-TEJ5UH35-
|
|
201188
|
+
const { diagram: diagram22 } = await import("./erDiagram-TEJ5UH35-B7QK0XSy.js");
|
|
201164
201189
|
return { diagram: diagram22 };
|
|
201165
201190
|
}, true ? __vite__mapDeps([12,9,10,11]) : void 0, import.meta.url);
|
|
201166
201191
|
return { id: id4, diagram: diagram2 };
|
|
@@ -201177,7 +201202,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
201177
201202
|
}, "detector");
|
|
201178
201203
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
201179
201204
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201180
|
-
const { diagram: diagram22 } = await import("./gitGraphDiagram-PVQCEYII-
|
|
201205
|
+
const { diagram: diagram22 } = await import("./gitGraphDiagram-PVQCEYII-DTReLiJT.js");
|
|
201181
201206
|
return { diagram: diagram22 };
|
|
201182
201207
|
}, true ? __vite__mapDeps([13,14,15,16]) : void 0, import.meta.url);
|
|
201183
201208
|
return { id: id5, diagram: diagram2 };
|
|
@@ -201194,7 +201219,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
201194
201219
|
}, "detector");
|
|
201195
201220
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
201196
201221
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201197
|
-
const { diagram: diagram22 } = await import("./ganttDiagram-6RSMTGT7-
|
|
201222
|
+
const { diagram: diagram22 } = await import("./ganttDiagram-6RSMTGT7-BORAleML.js");
|
|
201198
201223
|
return { diagram: diagram22 };
|
|
201199
201224
|
}, true ? __vite__mapDeps([17,18,19,20,21]) : void 0, import.meta.url);
|
|
201200
201225
|
return { id: id6, diagram: diagram2 };
|
|
@@ -201211,7 +201236,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
201211
201236
|
}, "detector");
|
|
201212
201237
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
201213
201238
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201214
|
-
const { diagram: diagram22 } = await import("./infoDiagram-5YYISTIA-
|
|
201239
|
+
const { diagram: diagram22 } = await import("./infoDiagram-5YYISTIA-Ryv-Emth.js");
|
|
201215
201240
|
return { diagram: diagram22 };
|
|
201216
201241
|
}, true ? __vite__mapDeps([22,16]) : void 0, import.meta.url);
|
|
201217
201242
|
return { id: id7, diagram: diagram2 };
|
|
@@ -201227,7 +201252,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
201227
201252
|
}, "detector");
|
|
201228
201253
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
201229
201254
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201230
|
-
const { diagram: diagram22 } = await import("./pieDiagram-4H26LBE5-
|
|
201255
|
+
const { diagram: diagram22 } = await import("./pieDiagram-4H26LBE5-qJt7eGwM.js");
|
|
201231
201256
|
return { diagram: diagram22 };
|
|
201232
201257
|
}, true ? __vite__mapDeps([23,14,16,24,25,20]) : void 0, import.meta.url);
|
|
201233
201258
|
return { id: id8, diagram: diagram2 };
|
|
@@ -201243,7 +201268,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
201243
201268
|
}, "detector");
|
|
201244
201269
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
201245
201270
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201246
|
-
const { diagram: diagram22 } = await import("./quadrantDiagram-W4KKPZXB-
|
|
201271
|
+
const { diagram: diagram22 } = await import("./quadrantDiagram-W4KKPZXB-mMOhLjN_.js");
|
|
201247
201272
|
return { diagram: diagram22 };
|
|
201248
201273
|
}, true ? __vite__mapDeps([26,19,20,21]) : void 0, import.meta.url);
|
|
201249
201274
|
return { id: id9, diagram: diagram2 };
|
|
@@ -201260,7 +201285,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
201260
201285
|
}, "detector");
|
|
201261
201286
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
201262
201287
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201263
|
-
const { diagram: diagram22 } = await import("./xychartDiagram-2RQKCTM6-
|
|
201288
|
+
const { diagram: diagram22 } = await import("./xychartDiagram-2RQKCTM6-H-Q9Zv48.js");
|
|
201264
201289
|
return { diagram: diagram22 };
|
|
201265
201290
|
}, true ? __vite__mapDeps([27,28,20,25,19,21]) : void 0, import.meta.url);
|
|
201266
201291
|
return { id: id10, diagram: diagram2 };
|
|
@@ -201277,7 +201302,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
201277
201302
|
}, "detector");
|
|
201278
201303
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
201279
201304
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201280
|
-
const { diagram: diagram22 } = await import("./requirementDiagram-4Y6WPE33-
|
|
201305
|
+
const { diagram: diagram22 } = await import("./requirementDiagram-4Y6WPE33-GLhMtLW7.js");
|
|
201281
201306
|
return { diagram: diagram22 };
|
|
201282
201307
|
}, true ? __vite__mapDeps([29,9,10]) : void 0, import.meta.url);
|
|
201283
201308
|
return { id: id11, diagram: diagram2 };
|
|
@@ -201294,7 +201319,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
201294
201319
|
}, "detector");
|
|
201295
201320
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
201296
201321
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201297
|
-
const { diagram: diagram22 } = await import("./sequenceDiagram-3UESZ5HK-
|
|
201322
|
+
const { diagram: diagram22 } = await import("./sequenceDiagram-3UESZ5HK-CpmBIgMJ.js");
|
|
201298
201323
|
return { diagram: diagram22 };
|
|
201299
201324
|
}, true ? __vite__mapDeps([30,6,15]) : void 0, import.meta.url);
|
|
201300
201325
|
return { id: id12, diagram: diagram2 };
|
|
@@ -201314,7 +201339,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201314
201339
|
}, "detector");
|
|
201315
201340
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
201316
201341
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201317
|
-
const { diagram: diagram22 } = await import("./classDiagram-4FO5ZUOK-
|
|
201342
|
+
const { diagram: diagram22 } = await import("./classDiagram-4FO5ZUOK-ZzwWMcLO.js");
|
|
201318
201343
|
return { diagram: diagram22 };
|
|
201319
201344
|
}, true ? __vite__mapDeps([31,32,8,6,9,10]) : void 0, import.meta.url);
|
|
201320
201345
|
return { id: id13, diagram: diagram2 };
|
|
@@ -201334,7 +201359,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201334
201359
|
}, "detector");
|
|
201335
201360
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
201336
201361
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201337
|
-
const { diagram: diagram22 } = await import("./classDiagram-v2-Q7XG4LA2-
|
|
201362
|
+
const { diagram: diagram22 } = await import("./classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js");
|
|
201338
201363
|
return { diagram: diagram22 };
|
|
201339
201364
|
}, true ? __vite__mapDeps([33,32,8,6,9,10]) : void 0, import.meta.url);
|
|
201340
201365
|
return { id: id14, diagram: diagram2 };
|
|
@@ -201354,7 +201379,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201354
201379
|
}, "detector");
|
|
201355
201380
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
201356
201381
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201357
|
-
const { diagram: diagram22 } = await import("./stateDiagram-AJRCARHV-
|
|
201382
|
+
const { diagram: diagram22 } = await import("./stateDiagram-AJRCARHV-D00qZ9cQ.js");
|
|
201358
201383
|
return { diagram: diagram22 };
|
|
201359
201384
|
}, true ? __vite__mapDeps([34,35,9,10,1,2]) : void 0, import.meta.url);
|
|
201360
201385
|
return { id: id15, diagram: diagram2 };
|
|
@@ -201377,7 +201402,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
201377
201402
|
}, "detector");
|
|
201378
201403
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
201379
201404
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201380
|
-
const { diagram: diagram22 } = await import("./stateDiagram-v2-BHNVJYJU-
|
|
201405
|
+
const { diagram: diagram22 } = await import("./stateDiagram-v2-BHNVJYJU-CkEgNJrB.js");
|
|
201381
201406
|
return { diagram: diagram22 };
|
|
201382
201407
|
}, true ? __vite__mapDeps([36,35,9,10]) : void 0, import.meta.url);
|
|
201383
201408
|
return { id: id16, diagram: diagram2 };
|
|
@@ -201394,7 +201419,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
201394
201419
|
}, "detector");
|
|
201395
201420
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
201396
201421
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201397
|
-
const { diagram: diagram22 } = await import("./journeyDiagram-JHISSGLW
|
|
201422
|
+
const { diagram: diagram22 } = await import("./journeyDiagram-JHISSGLW--KB4ASET.js");
|
|
201398
201423
|
return { diagram: diagram22 };
|
|
201399
201424
|
}, true ? __vite__mapDeps([37,8,6,24]) : void 0, import.meta.url);
|
|
201400
201425
|
return { id: id17, diagram: diagram2 };
|
|
@@ -201464,7 +201489,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
201464
201489
|
}, "detector");
|
|
201465
201490
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
201466
201491
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201467
|
-
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-
|
|
201492
|
+
const { diagram: diagram22 } = await import("./flowDiagram-I6XJVG4X-BOySqejA.js");
|
|
201468
201493
|
return { diagram: diagram22 };
|
|
201469
201494
|
}, true ? __vite__mapDeps([7,8,6,9,10,11]) : void 0, import.meta.url);
|
|
201470
201495
|
return { id: id18, diagram: diagram2 };
|
|
@@ -201481,7 +201506,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
201481
201506
|
}, "detector");
|
|
201482
201507
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
201483
201508
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201484
|
-
const { diagram: diagram22 } = await import("./timeline-definition-PNZ67QCA-
|
|
201509
|
+
const { diagram: diagram22 } = await import("./timeline-definition-PNZ67QCA-CmydTbH6.js");
|
|
201485
201510
|
return { diagram: diagram22 };
|
|
201486
201511
|
}, true ? __vite__mapDeps([38,24]) : void 0, import.meta.url);
|
|
201487
201512
|
return { id: id19, diagram: diagram2 };
|
|
@@ -201498,7 +201523,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
201498
201523
|
}, "detector");
|
|
201499
201524
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
201500
201525
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201501
|
-
const { diagram: diagram22 } = await import("./mindmap-definition-RKZ34NQL-
|
|
201526
|
+
const { diagram: diagram22 } = await import("./mindmap-definition-RKZ34NQL-CxQjZIps.js");
|
|
201502
201527
|
return { diagram: diagram22 };
|
|
201503
201528
|
}, true ? __vite__mapDeps([39,9,10]) : void 0, import.meta.url);
|
|
201504
201529
|
return { id: id20, diagram: diagram2 };
|
|
@@ -201515,7 +201540,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
201515
201540
|
}, "detector");
|
|
201516
201541
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
201517
201542
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201518
|
-
const { diagram: diagram22 } = await import("./kanban-definition-UN3LZRKU-
|
|
201543
|
+
const { diagram: diagram22 } = await import("./kanban-definition-UN3LZRKU-BzNpCu_x.js");
|
|
201519
201544
|
return { diagram: diagram22 };
|
|
201520
201545
|
}, true ? __vite__mapDeps([40,8]) : void 0, import.meta.url);
|
|
201521
201546
|
return { id: id21, diagram: diagram2 };
|
|
@@ -201532,7 +201557,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
201532
201557
|
}, "detector");
|
|
201533
201558
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
201534
201559
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201535
|
-
const { diagram: diagram22 } = await import("./sankeyDiagram-5OEKKPKP-
|
|
201560
|
+
const { diagram: diagram22 } = await import("./sankeyDiagram-5OEKKPKP-Kcd8qR8y.js");
|
|
201536
201561
|
return { diagram: diagram22 };
|
|
201537
201562
|
}, true ? __vite__mapDeps([41,25,20]) : void 0, import.meta.url);
|
|
201538
201563
|
return { id: id22, diagram: diagram2 };
|
|
@@ -201549,7 +201574,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
201549
201574
|
}, "detector");
|
|
201550
201575
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
201551
201576
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201552
|
-
const { diagram: diagram22 } = await import("./diagram-LMA3HP47-
|
|
201577
|
+
const { diagram: diagram22 } = await import("./diagram-LMA3HP47-BqXnQeNu.js");
|
|
201553
201578
|
return { diagram: diagram22 };
|
|
201554
201579
|
}, true ? __vite__mapDeps([42,14,16]) : void 0, import.meta.url);
|
|
201555
201580
|
return { id: id23, diagram: diagram2 };
|
|
@@ -201565,7 +201590,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
201565
201590
|
}, "detector");
|
|
201566
201591
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
201567
201592
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201568
|
-
const { diagram: diagram22 } = await import("./diagram-2AECGRRQ-
|
|
201593
|
+
const { diagram: diagram22 } = await import("./diagram-2AECGRRQ-Do-w2xXO.js");
|
|
201569
201594
|
return { diagram: diagram22 };
|
|
201570
201595
|
}, true ? __vite__mapDeps([43,14,16]) : void 0, import.meta.url);
|
|
201571
201596
|
return { id: id24, diagram: diagram2 };
|
|
@@ -201581,7 +201606,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
201581
201606
|
}, "detector");
|
|
201582
201607
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
201583
201608
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201584
|
-
const { diagram: diagram22 } = await import("./blockDiagram-GPEHLZMM-
|
|
201609
|
+
const { diagram: diagram22 } = await import("./blockDiagram-GPEHLZMM-B3c7WMY4.js");
|
|
201585
201610
|
return { diagram: diagram22 };
|
|
201586
201611
|
}, true ? __vite__mapDeps([44,8,1,11]) : void 0, import.meta.url);
|
|
201587
201612
|
return { id: id25, diagram: diagram2 };
|
|
@@ -201598,7 +201623,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
201598
201623
|
}, "detector");
|
|
201599
201624
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
201600
201625
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201601
|
-
const { diagram: diagram22 } = await import("./diagram-5GNKFQAL-
|
|
201626
|
+
const { diagram: diagram22 } = await import("./diagram-5GNKFQAL-JzG77sgb.js");
|
|
201602
201627
|
return { diagram: diagram22 };
|
|
201603
201628
|
}, true ? __vite__mapDeps([45,14,15,16]) : void 0, import.meta.url);
|
|
201604
201629
|
return { id: id26, diagram: diagram2 };
|
|
@@ -201615,7 +201640,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
|
|
|
201615
201640
|
}, "detector");
|
|
201616
201641
|
var loader27 = /* @__PURE__ */ __name(async () => {
|
|
201617
201642
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201618
|
-
const { diagram: diagram22 } = await import("./architectureDiagram-3BPJPVTR-
|
|
201643
|
+
const { diagram: diagram22 } = await import("./architectureDiagram-3BPJPVTR-BRG_9Mao.js");
|
|
201619
201644
|
return { diagram: diagram22 };
|
|
201620
201645
|
}, true ? __vite__mapDeps([46,14,16,4]) : void 0, import.meta.url);
|
|
201621
201646
|
return { id: id27, diagram: diagram2 };
|
|
@@ -201632,7 +201657,7 @@ var detector28 = /* @__PURE__ */ __name((txt) => {
|
|
|
201632
201657
|
}, "detector");
|
|
201633
201658
|
var loader28 = /* @__PURE__ */ __name(async () => {
|
|
201634
201659
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201635
|
-
const { diagram: diagram22 } = await import("./diagram-KO2AKTUF-
|
|
201660
|
+
const { diagram: diagram22 } = await import("./diagram-KO2AKTUF-CGMx2nPP.js");
|
|
201636
201661
|
return { diagram: diagram22 };
|
|
201637
201662
|
}, true ? __vite__mapDeps([47,14,16]) : void 0, import.meta.url);
|
|
201638
201663
|
return { id: id28, diagram: diagram2 };
|
|
@@ -201649,7 +201674,7 @@ var detector29 = /* @__PURE__ */ __name((txt) => {
|
|
|
201649
201674
|
}, "detector");
|
|
201650
201675
|
var loader29 = /* @__PURE__ */ __name(async () => {
|
|
201651
201676
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201652
|
-
const { diagram: diagram22 } = await import("./ishikawaDiagram-YF4QCWOH-
|
|
201677
|
+
const { diagram: diagram22 } = await import("./ishikawaDiagram-YF4QCWOH-Blzp6JLN.js");
|
|
201653
201678
|
return { diagram: diagram22 };
|
|
201654
201679
|
}, true ? [] : void 0, import.meta.url);
|
|
201655
201680
|
return { id: id29, diagram: diagram2 };
|
|
@@ -201665,7 +201690,7 @@ var detector30 = /* @__PURE__ */ __name((txt) => {
|
|
|
201665
201690
|
}, "detector");
|
|
201666
201691
|
var loader30 = /* @__PURE__ */ __name(async () => {
|
|
201667
201692
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201668
|
-
const { diagram: diagram22 } = await import("./vennDiagram-CIIHVFJN-
|
|
201693
|
+
const { diagram: diagram22 } = await import("./vennDiagram-CIIHVFJN-B4QGhnvI.js");
|
|
201669
201694
|
return { diagram: diagram22 };
|
|
201670
201695
|
}, true ? [] : void 0, import.meta.url);
|
|
201671
201696
|
return { id: id30, diagram: diagram2 };
|
|
@@ -201682,7 +201707,7 @@ var detector31 = /* @__PURE__ */ __name((txt) => {
|
|
|
201682
201707
|
}, "detector");
|
|
201683
201708
|
var loader31 = /* @__PURE__ */ __name(async () => {
|
|
201684
201709
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201685
|
-
const { diagram: diagram22 } = await import("./diagram-OG6HWLK6-
|
|
201710
|
+
const { diagram: diagram22 } = await import("./diagram-OG6HWLK6-BR4e0lIb.js");
|
|
201686
201711
|
return { diagram: diagram22 };
|
|
201687
201712
|
}, true ? __vite__mapDeps([48,10,14,16,21,25,20]) : void 0, import.meta.url);
|
|
201688
201713
|
return { id: id31, diagram: diagram2 };
|
|
@@ -201698,7 +201723,7 @@ var detector32 = /* @__PURE__ */ __name((text2) => {
|
|
|
201698
201723
|
}, "detector");
|
|
201699
201724
|
var loader32 = /* @__PURE__ */ __name(async () => {
|
|
201700
201725
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
201701
|
-
const { diagram: diagram22 } = await import("./wardleyDiagram-YWT4CUSO-
|
|
201726
|
+
const { diagram: diagram22 } = await import("./wardleyDiagram-YWT4CUSO-Cz1pK1MY.js");
|
|
201702
201727
|
return { diagram: diagram22 };
|
|
201703
201728
|
}, true ? __vite__mapDeps([49,14,16]) : void 0, import.meta.url);
|
|
201704
201729
|
return { id: id32, diagram: diagram2 };
|
|
@@ -272900,7 +272925,7 @@ const GlobToolMessageComponent = (t0) => {
|
|
|
272900
272925
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2 mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-semibold text-text-secondary", children: t2("toolMessage.power.glob.foundFiles", {
|
|
272901
272926
|
count: content2.length
|
|
272902
272927
|
}) }) }),
|
|
272903
|
-
Object.keys(groupedFiles).length > 1 ? Object.entries(groupedFiles).map(_temp3$d) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-1", children: content2.map(_temp4$
|
|
272928
|
+
Object.keys(groupedFiles).length > 1 ? Object.entries(groupedFiles).map(_temp3$d) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-1", children: content2.map(_temp4$6) })
|
|
272904
272929
|
] });
|
|
272905
272930
|
};
|
|
272906
272931
|
$3[36] = content2;
|
|
@@ -272973,7 +272998,7 @@ function _temp3$d(t0) {
|
|
|
272973
272998
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ml-4", children: files.map(_temp2$g) })
|
|
272974
272999
|
] }, dir_0);
|
|
272975
273000
|
}
|
|
272976
|
-
function _temp4$
|
|
273001
|
+
function _temp4$6(filePath_0) {
|
|
272977
273002
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-1 text-text-primary", children: [
|
|
272978
273003
|
/* @__PURE__ */ jsxRuntimeExports.jsx(RiFileTextLine, { className: "w-3 h-3" }),
|
|
272979
273004
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: filePath_0 })
|
|
@@ -277768,7 +277793,7 @@ const arePropsEqual$3 = (prevProps, nextProps) => {
|
|
|
277768
277793
|
};
|
|
277769
277794
|
const MessageBlock = reactExports.memo(MessageBlockComponent, arePropsEqual$3);
|
|
277770
277795
|
const GroupMessageBlockComponent = (t0) => {
|
|
277771
|
-
const $3 = compilerRuntimeExports.c(
|
|
277796
|
+
const $3 = compilerRuntimeExports.c(98);
|
|
277772
277797
|
const {
|
|
277773
277798
|
baseDir,
|
|
277774
277799
|
taskId,
|
|
@@ -277776,37 +277801,63 @@ const GroupMessageBlockComponent = (t0) => {
|
|
|
277776
277801
|
allFiles,
|
|
277777
277802
|
renderMarkdown,
|
|
277778
277803
|
remove: remove2,
|
|
277804
|
+
removeGroup,
|
|
277779
277805
|
redo: redo2,
|
|
277780
277806
|
editUserMessage,
|
|
277781
|
-
onInterrupt
|
|
277807
|
+
onInterrupt,
|
|
277808
|
+
onFork,
|
|
277809
|
+
onRemoveUpTo
|
|
277782
277810
|
} = t0;
|
|
277783
277811
|
const {
|
|
277784
277812
|
t: t2
|
|
277785
277813
|
} = useTranslation();
|
|
277786
277814
|
const [isOpen, setIsOpen] = reactExports.useState(false);
|
|
277815
|
+
const messageViewMode = useSettingsStore(_temp$B);
|
|
277816
|
+
const isCompactMode = messageViewMode === MessageViewMode.Compact;
|
|
277787
277817
|
let t1;
|
|
277788
|
-
if ($3[0] !== message2.children) {
|
|
277789
|
-
t1 = message2.children
|
|
277790
|
-
$3[0] =
|
|
277791
|
-
$3[1] =
|
|
277818
|
+
if ($3[0] !== isCompactMode || $3[1] !== message2.children) {
|
|
277819
|
+
t1 = isCompactMode ? groupAssistantMessages(message2.children) : message2.children;
|
|
277820
|
+
$3[0] = isCompactMode;
|
|
277821
|
+
$3[1] = message2.children;
|
|
277822
|
+
$3[2] = t1;
|
|
277792
277823
|
} else {
|
|
277793
|
-
t1 = $3[
|
|
277824
|
+
t1 = $3[2];
|
|
277794
277825
|
}
|
|
277795
|
-
const
|
|
277796
|
-
const previewMessage = messages2[0];
|
|
277797
|
-
const aggregateUsage = _temp3$c;
|
|
277826
|
+
const processedChildren = t1;
|
|
277798
277827
|
let t22;
|
|
277799
|
-
if ($3[
|
|
277800
|
-
t22 =
|
|
277801
|
-
$3[
|
|
277802
|
-
$3[
|
|
277828
|
+
if ($3[3] !== message2.children) {
|
|
277829
|
+
t22 = message2.children.filter(_temp2$e).reverse();
|
|
277830
|
+
$3[3] = message2.children;
|
|
277831
|
+
$3[4] = t22;
|
|
277803
277832
|
} else {
|
|
277804
|
-
t22 = $3[
|
|
277833
|
+
t22 = $3[4];
|
|
277805
277834
|
}
|
|
277806
|
-
const
|
|
277835
|
+
const messages2 = t22;
|
|
277836
|
+
const previewMessage = messages2[0];
|
|
277837
|
+
const aggregateUsage = _temp4$5;
|
|
277807
277838
|
let t3;
|
|
277808
|
-
if ($3[
|
|
277809
|
-
t3 = (
|
|
277839
|
+
if ($3[5] !== message2.children) {
|
|
277840
|
+
t3 = aggregateUsage(message2.children);
|
|
277841
|
+
$3[5] = message2.children;
|
|
277842
|
+
$3[6] = t3;
|
|
277843
|
+
} else {
|
|
277844
|
+
t3 = $3[6];
|
|
277845
|
+
}
|
|
277846
|
+
const aggregatedUsage = t3;
|
|
277847
|
+
let t4;
|
|
277848
|
+
if ($3[7] !== message2.children) {
|
|
277849
|
+
t4 = message2.children.filter(isResponseMessage);
|
|
277850
|
+
$3[7] = message2.children;
|
|
277851
|
+
$3[8] = t4;
|
|
277852
|
+
} else {
|
|
277853
|
+
t4 = $3[8];
|
|
277854
|
+
}
|
|
277855
|
+
const responseMessages = t4;
|
|
277856
|
+
const lastResponse = responseMessages[responseMessages.length - 1];
|
|
277857
|
+
const copyContent = lastResponse?.content;
|
|
277858
|
+
let t5;
|
|
277859
|
+
if ($3[9] !== t2) {
|
|
277860
|
+
t5 = (name2) => {
|
|
277810
277861
|
if (!name2) {
|
|
277811
277862
|
return t2("messages.group");
|
|
277812
277863
|
}
|
|
@@ -277815,165 +277866,220 @@ const GroupMessageBlockComponent = (t0) => {
|
|
|
277815
277866
|
}
|
|
277816
277867
|
return t2(name2.key, name2.params || {});
|
|
277817
277868
|
};
|
|
277818
|
-
$3[
|
|
277819
|
-
$3[
|
|
277869
|
+
$3[9] = t2;
|
|
277870
|
+
$3[10] = t5;
|
|
277820
277871
|
} else {
|
|
277821
|
-
|
|
277872
|
+
t5 = $3[10];
|
|
277822
277873
|
}
|
|
277823
|
-
const getGroupDisplayName =
|
|
277824
|
-
let
|
|
277825
|
-
if ($3[
|
|
277826
|
-
|
|
277874
|
+
const getGroupDisplayName = t5;
|
|
277875
|
+
let t6;
|
|
277876
|
+
if ($3[11] !== message2.group.interruptId || $3[12] !== onInterrupt) {
|
|
277877
|
+
t6 = (e2) => {
|
|
277827
277878
|
if (onInterrupt && message2.group.interruptId) {
|
|
277828
277879
|
e2.stopPropagation();
|
|
277829
277880
|
onInterrupt(message2.group.interruptId);
|
|
277830
277881
|
}
|
|
277831
277882
|
};
|
|
277832
|
-
$3[
|
|
277833
|
-
$3[
|
|
277834
|
-
$3[
|
|
277835
|
-
} else {
|
|
277836
|
-
t4 = $3[8];
|
|
277837
|
-
}
|
|
277838
|
-
const handleInterrupt = t4;
|
|
277839
|
-
const t5 = !message2.group.finished && "animate-pulse";
|
|
277840
|
-
let t6;
|
|
277841
|
-
if ($3[9] !== t5) {
|
|
277842
|
-
t6 = clsx$1("w-full px-3 py-1 group flex items-center justify-between", t5);
|
|
277843
|
-
$3[9] = t5;
|
|
277844
|
-
$3[10] = t6;
|
|
277883
|
+
$3[11] = message2.group.interruptId;
|
|
277884
|
+
$3[12] = onInterrupt;
|
|
277885
|
+
$3[13] = t6;
|
|
277845
277886
|
} else {
|
|
277846
|
-
t6 = $3[
|
|
277887
|
+
t6 = $3[13];
|
|
277847
277888
|
}
|
|
277889
|
+
const handleInterrupt = t6;
|
|
277848
277890
|
let t7;
|
|
277849
|
-
if ($3[
|
|
277850
|
-
t7 =
|
|
277851
|
-
|
|
277852
|
-
|
|
277853
|
-
|
|
277891
|
+
if ($3[14] !== message2 || $3[15] !== removeGroup) {
|
|
277892
|
+
t7 = () => {
|
|
277893
|
+
if (!removeGroup) {
|
|
277894
|
+
return;
|
|
277895
|
+
}
|
|
277896
|
+
removeGroup(message2);
|
|
277897
|
+
};
|
|
277898
|
+
$3[14] = message2;
|
|
277899
|
+
$3[15] = removeGroup;
|
|
277900
|
+
$3[16] = t7;
|
|
277854
277901
|
} else {
|
|
277855
|
-
t7 = $3[
|
|
277902
|
+
t7 = $3[16];
|
|
277856
277903
|
}
|
|
277904
|
+
const handleRemove = t7;
|
|
277857
277905
|
let t8;
|
|
277858
|
-
if ($3[
|
|
277859
|
-
t8 =
|
|
277860
|
-
|
|
277861
|
-
|
|
277906
|
+
if ($3[17] !== message2.children[0] || $3[18] !== onRemoveUpTo) {
|
|
277907
|
+
t8 = () => {
|
|
277908
|
+
if (!onRemoveUpTo) {
|
|
277909
|
+
return;
|
|
277910
|
+
}
|
|
277911
|
+
const target = message2.children[0];
|
|
277912
|
+
if (target) {
|
|
277913
|
+
onRemoveUpTo(target);
|
|
277914
|
+
}
|
|
277915
|
+
};
|
|
277916
|
+
$3[17] = message2.children[0];
|
|
277917
|
+
$3[18] = onRemoveUpTo;
|
|
277918
|
+
$3[19] = t8;
|
|
277862
277919
|
} else {
|
|
277863
|
-
t8 = $3[
|
|
277920
|
+
t8 = $3[19];
|
|
277864
277921
|
}
|
|
277922
|
+
const handleRemoveUpTo = t8;
|
|
277865
277923
|
let t9;
|
|
277866
|
-
if ($3[
|
|
277867
|
-
t9 =
|
|
277868
|
-
|
|
277869
|
-
|
|
277870
|
-
|
|
277871
|
-
|
|
277872
|
-
|
|
277924
|
+
if ($3[20] !== message2.children[0] || $3[21] !== onFork) {
|
|
277925
|
+
t9 = () => {
|
|
277926
|
+
if (!onFork) {
|
|
277927
|
+
return;
|
|
277928
|
+
}
|
|
277929
|
+
const target_0 = message2.children[0];
|
|
277930
|
+
if (target_0) {
|
|
277931
|
+
onFork(target_0);
|
|
277932
|
+
}
|
|
277933
|
+
};
|
|
277934
|
+
$3[20] = message2.children[0];
|
|
277935
|
+
$3[21] = onFork;
|
|
277936
|
+
$3[22] = t9;
|
|
277873
277937
|
} else {
|
|
277874
|
-
t9 = $3[
|
|
277938
|
+
t9 = $3[22];
|
|
277875
277939
|
}
|
|
277876
|
-
|
|
277877
|
-
|
|
277878
|
-
|
|
277879
|
-
|
|
277880
|
-
|
|
277881
|
-
]
|
|
277882
|
-
$3[
|
|
277883
|
-
$3[22] = t8;
|
|
277884
|
-
$3[23] = t9;
|
|
277885
|
-
$3[24] = t10;
|
|
277940
|
+
const handleFork = t9;
|
|
277941
|
+
const t10 = !message2.group.finished && "animate-pulse";
|
|
277942
|
+
let t11;
|
|
277943
|
+
if ($3[23] !== t10) {
|
|
277944
|
+
t11 = clsx$1("w-full px-3 py-1 group flex items-center justify-between", t10);
|
|
277945
|
+
$3[23] = t10;
|
|
277946
|
+
$3[24] = t11;
|
|
277886
277947
|
} else {
|
|
277887
|
-
|
|
277948
|
+
t11 = $3[24];
|
|
277888
277949
|
}
|
|
277889
|
-
|
|
277890
|
-
|
|
277891
|
-
|
|
277892
|
-
|
|
277893
|
-
$3[
|
|
277950
|
+
let t12;
|
|
277951
|
+
if ($3[25] !== getGroupDisplayName || $3[26] !== message2.group.name) {
|
|
277952
|
+
t12 = getGroupDisplayName(message2.group.name);
|
|
277953
|
+
$3[25] = getGroupDisplayName;
|
|
277954
|
+
$3[26] = message2.group.name;
|
|
277955
|
+
$3[27] = t12;
|
|
277894
277956
|
} else {
|
|
277895
|
-
|
|
277957
|
+
t12 = $3[27];
|
|
277896
277958
|
}
|
|
277897
|
-
const t12 = !message2.group.finished && "animate-pulse";
|
|
277898
277959
|
let t13;
|
|
277899
|
-
if ($3[
|
|
277900
|
-
t13 =
|
|
277901
|
-
$3[
|
|
277902
|
-
$3[
|
|
277960
|
+
if ($3[28] !== t12) {
|
|
277961
|
+
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs text-left", children: t12 });
|
|
277962
|
+
$3[28] = t12;
|
|
277963
|
+
$3[29] = t13;
|
|
277903
277964
|
} else {
|
|
277904
|
-
t13 = $3[
|
|
277965
|
+
t13 = $3[29];
|
|
277905
277966
|
}
|
|
277906
277967
|
let t14;
|
|
277907
|
-
if ($3[
|
|
277908
|
-
t14 = {
|
|
277909
|
-
|
|
277910
|
-
|
|
277911
|
-
$3[
|
|
277912
|
-
$3[
|
|
277968
|
+
if ($3[30] !== handleInterrupt || $3[31] !== message2.group.finished || $3[32] !== message2.group.interruptId || $3[33] !== t2) {
|
|
277969
|
+
t14 = !message2.group.finished && message2.group.interruptId && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleInterrupt, size: "xs", variant: "outline", color: "danger", children: t2("common.cancel") });
|
|
277970
|
+
$3[30] = handleInterrupt;
|
|
277971
|
+
$3[31] = message2.group.finished;
|
|
277972
|
+
$3[32] = message2.group.interruptId;
|
|
277973
|
+
$3[33] = t2;
|
|
277974
|
+
$3[34] = t14;
|
|
277913
277975
|
} else {
|
|
277914
|
-
t14 = $3[
|
|
277976
|
+
t14 = $3[34];
|
|
277915
277977
|
}
|
|
277916
277978
|
let t15;
|
|
277917
|
-
if ($3[
|
|
277918
|
-
t15 = /* @__PURE__ */ jsxRuntimeExports.
|
|
277919
|
-
|
|
277920
|
-
|
|
277921
|
-
|
|
277979
|
+
if ($3[35] !== t11 || $3[36] !== t13 || $3[37] !== t14) {
|
|
277980
|
+
t15 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t11, children: [
|
|
277981
|
+
t13,
|
|
277982
|
+
t14
|
|
277983
|
+
] });
|
|
277984
|
+
$3[35] = t11;
|
|
277985
|
+
$3[36] = t13;
|
|
277986
|
+
$3[37] = t14;
|
|
277987
|
+
$3[38] = t15;
|
|
277922
277988
|
} else {
|
|
277923
|
-
t15 = $3[
|
|
277989
|
+
t15 = $3[38];
|
|
277924
277990
|
}
|
|
277991
|
+
const header = t15;
|
|
277925
277992
|
let t16;
|
|
277926
|
-
if ($3[
|
|
277927
|
-
|
|
277928
|
-
|
|
277929
|
-
|
|
277930
|
-
|
|
277931
|
-
|
|
277932
|
-
|
|
277933
|
-
|
|
277934
|
-
|
|
277935
|
-
|
|
277936
|
-
|
|
277937
|
-
|
|
277938
|
-
|
|
277993
|
+
if ($3[39] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
277994
|
+
t16 = clsx$1("bg-bg-secondary border border-border-dark-light rounded-md relative");
|
|
277995
|
+
$3[39] = t16;
|
|
277996
|
+
} else {
|
|
277997
|
+
t16 = $3[39];
|
|
277998
|
+
}
|
|
277999
|
+
const t17 = !message2.group.finished && "animate-pulse";
|
|
278000
|
+
let t18;
|
|
278001
|
+
if ($3[40] !== t17) {
|
|
278002
|
+
t18 = clsx$1("absolute left-0 top-0 h-full w-1 rounded-tl-md rounded-bl-md z-10", t17);
|
|
278003
|
+
$3[40] = t17;
|
|
278004
|
+
$3[41] = t18;
|
|
278005
|
+
} else {
|
|
278006
|
+
t18 = $3[41];
|
|
278007
|
+
}
|
|
278008
|
+
let t19;
|
|
278009
|
+
if ($3[42] !== message2.group.color) {
|
|
278010
|
+
t19 = {
|
|
278011
|
+
backgroundColor: message2.group.color
|
|
278012
|
+
};
|
|
278013
|
+
$3[42] = message2.group.color;
|
|
278014
|
+
$3[43] = t19;
|
|
278015
|
+
} else {
|
|
278016
|
+
t19 = $3[43];
|
|
278017
|
+
}
|
|
278018
|
+
let t20;
|
|
278019
|
+
if ($3[44] !== t18 || $3[45] !== t19) {
|
|
278020
|
+
t20 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: t18, style: t19 });
|
|
278021
|
+
$3[44] = t18;
|
|
278022
|
+
$3[45] = t19;
|
|
278023
|
+
$3[46] = t20;
|
|
278024
|
+
} else {
|
|
278025
|
+
t20 = $3[46];
|
|
278026
|
+
}
|
|
278027
|
+
let t21;
|
|
278028
|
+
if ($3[47] !== allFiles || $3[48] !== baseDir || $3[49] !== editUserMessage || $3[50] !== onFork || $3[51] !== onInterrupt || $3[52] !== onRemoveUpTo || $3[53] !== processedChildren || $3[54] !== redo2 || $3[55] !== remove2 || $3[56] !== renderMarkdown || $3[57] !== taskId) {
|
|
278029
|
+
let t2222;
|
|
278030
|
+
if ($3[59] !== allFiles || $3[60] !== baseDir || $3[61] !== editUserMessage || $3[62] !== onFork || $3[63] !== onInterrupt || $3[64] !== onRemoveUpTo || $3[65] !== redo2 || $3[66] !== remove2 || $3[67] !== renderMarkdown || $3[68] !== taskId) {
|
|
278031
|
+
t2222 = (child, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlockWrapper, { baseDir, taskId, message: child, allFiles, renderMarkdown, removeMessage: remove2, redoUserPrompt: redo2 ? () => redo2() : void 0, editUserMessage, onInterrupt, onForkFromMessage: onFork, onRemoveUpToMessage: onRemoveUpTo }, child.id || index2);
|
|
278032
|
+
$3[59] = allFiles;
|
|
278033
|
+
$3[60] = baseDir;
|
|
278034
|
+
$3[61] = editUserMessage;
|
|
278035
|
+
$3[62] = onFork;
|
|
278036
|
+
$3[63] = onInterrupt;
|
|
278037
|
+
$3[64] = onRemoveUpTo;
|
|
278038
|
+
$3[65] = redo2;
|
|
278039
|
+
$3[66] = remove2;
|
|
278040
|
+
$3[67] = renderMarkdown;
|
|
278041
|
+
$3[68] = taskId;
|
|
278042
|
+
$3[69] = t2222;
|
|
277939
278043
|
} else {
|
|
277940
|
-
|
|
277941
|
-
}
|
|
277942
|
-
|
|
277943
|
-
$3[
|
|
277944
|
-
$3[
|
|
277945
|
-
$3[
|
|
277946
|
-
$3[
|
|
277947
|
-
$3[
|
|
277948
|
-
$3[
|
|
277949
|
-
$3[
|
|
277950
|
-
$3[
|
|
277951
|
-
$3[
|
|
277952
|
-
$3[
|
|
278044
|
+
t2222 = $3[69];
|
|
278045
|
+
}
|
|
278046
|
+
t21 = processedChildren.map(t2222);
|
|
278047
|
+
$3[47] = allFiles;
|
|
278048
|
+
$3[48] = baseDir;
|
|
278049
|
+
$3[49] = editUserMessage;
|
|
278050
|
+
$3[50] = onFork;
|
|
278051
|
+
$3[51] = onInterrupt;
|
|
278052
|
+
$3[52] = onRemoveUpTo;
|
|
278053
|
+
$3[53] = processedChildren;
|
|
278054
|
+
$3[54] = redo2;
|
|
278055
|
+
$3[55] = remove2;
|
|
278056
|
+
$3[56] = renderMarkdown;
|
|
278057
|
+
$3[57] = taskId;
|
|
278058
|
+
$3[58] = t21;
|
|
277953
278059
|
} else {
|
|
277954
|
-
|
|
278060
|
+
t21 = $3[58];
|
|
277955
278061
|
}
|
|
277956
|
-
let
|
|
277957
|
-
if ($3[
|
|
277958
|
-
|
|
277959
|
-
$3[
|
|
277960
|
-
$3[
|
|
278062
|
+
let t222;
|
|
278063
|
+
if ($3[70] !== t21) {
|
|
278064
|
+
t222 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-2 pl-3 bg-bg-primary-light space-y-2", children: t21 });
|
|
278065
|
+
$3[70] = t21;
|
|
278066
|
+
$3[71] = t222;
|
|
277961
278067
|
} else {
|
|
277962
|
-
|
|
278068
|
+
t222 = $3[71];
|
|
277963
278069
|
}
|
|
277964
|
-
let
|
|
277965
|
-
if ($3[
|
|
277966
|
-
|
|
277967
|
-
$3[
|
|
277968
|
-
$3[
|
|
277969
|
-
$3[
|
|
277970
|
-
$3[
|
|
278070
|
+
let t23;
|
|
278071
|
+
if ($3[72] !== header || $3[73] !== isOpen || $3[74] !== t222) {
|
|
278072
|
+
t23 = /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { buttonClassName: "rounded-b-none", title: header, chevronPosition: "right", noMaxHeight: true, showCollapseButton: true, isOpen, scrollToVisibleWhenExpanded: true, onOpenChange: setIsOpen, children: t222 });
|
|
278073
|
+
$3[72] = header;
|
|
278074
|
+
$3[73] = isOpen;
|
|
278075
|
+
$3[74] = t222;
|
|
278076
|
+
$3[75] = t23;
|
|
277971
278077
|
} else {
|
|
277972
|
-
|
|
278078
|
+
t23 = $3[75];
|
|
277973
278079
|
}
|
|
277974
|
-
let
|
|
277975
|
-
if ($3[
|
|
277976
|
-
|
|
278080
|
+
let t24;
|
|
278081
|
+
if ($3[76] !== allFiles || $3[77] !== baseDir || $3[78] !== isOpen || $3[79] !== message2.group.finished || $3[80] !== previewMessage || $3[81] !== renderMarkdown || $3[82] !== taskId) {
|
|
278082
|
+
t24 = !message2.group.finished && !isOpen && previewMessage && /* @__PURE__ */ jsxRuntimeExports.jsxs(motion.div, { initial: {
|
|
277977
278083
|
opacity: 0,
|
|
277978
278084
|
height: 0
|
|
277979
278085
|
}, animate: {
|
|
@@ -277999,69 +278105,79 @@ const GroupMessageBlockComponent = (t0) => {
|
|
|
277999
278105
|
}, className: "absolute top-0.5 left-6 right-6", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlock, { baseDir, taskId, message: previewMessage, allFiles, renderMarkdown, compact: true, hideMessageBar: true, showThinking: false }) }, previewMessage.id),
|
|
278000
278106
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute bottom-0 left-0 right-0 h-4 bg-gradient-to-t from-bg-secondary via-bg-secondary to-transparent pointer-events-none" })
|
|
278001
278107
|
] });
|
|
278002
|
-
$3[
|
|
278003
|
-
$3[
|
|
278004
|
-
$3[
|
|
278005
|
-
$3[
|
|
278006
|
-
$3[
|
|
278007
|
-
$3[
|
|
278008
|
-
$3[
|
|
278009
|
-
$3[
|
|
278108
|
+
$3[76] = allFiles;
|
|
278109
|
+
$3[77] = baseDir;
|
|
278110
|
+
$3[78] = isOpen;
|
|
278111
|
+
$3[79] = message2.group.finished;
|
|
278112
|
+
$3[80] = previewMessage;
|
|
278113
|
+
$3[81] = renderMarkdown;
|
|
278114
|
+
$3[82] = taskId;
|
|
278115
|
+
$3[83] = t24;
|
|
278010
278116
|
} else {
|
|
278011
|
-
|
|
278117
|
+
t24 = $3[83];
|
|
278012
278118
|
}
|
|
278013
|
-
let
|
|
278014
|
-
if ($3[
|
|
278015
|
-
|
|
278016
|
-
$3[
|
|
278017
|
-
$3[
|
|
278119
|
+
let t25;
|
|
278120
|
+
if ($3[84] !== t24) {
|
|
278121
|
+
t25 = /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: t24 });
|
|
278122
|
+
$3[84] = t24;
|
|
278123
|
+
$3[85] = t25;
|
|
278018
278124
|
} else {
|
|
278019
|
-
|
|
278125
|
+
t25 = $3[85];
|
|
278020
278126
|
}
|
|
278021
|
-
|
|
278022
|
-
|
|
278023
|
-
|
|
278024
|
-
|
|
278025
|
-
|
|
278026
|
-
|
|
278027
|
-
|
|
278028
|
-
|
|
278127
|
+
const t26 = removeGroup ? handleRemove : void 0;
|
|
278128
|
+
const t27 = onFork ? handleFork : void 0;
|
|
278129
|
+
const t28 = onRemoveUpTo ? handleRemoveUpTo : void 0;
|
|
278130
|
+
let t29;
|
|
278131
|
+
if ($3[86] !== aggregatedUsage || $3[87] !== copyContent || $3[88] !== message2 || $3[89] !== t26 || $3[90] !== t27 || $3[91] !== t28) {
|
|
278132
|
+
t29 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 pb-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBar, { className: "mt-0", message: message2, content: copyContent, usageReport: aggregatedUsage, remove: t26, onFork: t27, onRemoveUpTo: t28 }) });
|
|
278133
|
+
$3[86] = aggregatedUsage;
|
|
278134
|
+
$3[87] = copyContent;
|
|
278135
|
+
$3[88] = message2;
|
|
278136
|
+
$3[89] = t26;
|
|
278137
|
+
$3[90] = t27;
|
|
278138
|
+
$3[91] = t28;
|
|
278139
|
+
$3[92] = t29;
|
|
278140
|
+
} else {
|
|
278141
|
+
t29 = $3[92];
|
|
278029
278142
|
}
|
|
278030
|
-
let
|
|
278031
|
-
if ($3[
|
|
278032
|
-
|
|
278033
|
-
t15,
|
|
278034
|
-
t18,
|
|
278143
|
+
let t30;
|
|
278144
|
+
if ($3[93] !== t20 || $3[94] !== t23 || $3[95] !== t25 || $3[96] !== t29) {
|
|
278145
|
+
t30 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: t16, children: [
|
|
278035
278146
|
t20,
|
|
278036
|
-
|
|
278147
|
+
t23,
|
|
278148
|
+
t25,
|
|
278149
|
+
t29
|
|
278037
278150
|
] });
|
|
278038
|
-
$3[
|
|
278039
|
-
$3[
|
|
278040
|
-
$3[
|
|
278041
|
-
$3[
|
|
278042
|
-
$3[
|
|
278151
|
+
$3[93] = t20;
|
|
278152
|
+
$3[94] = t23;
|
|
278153
|
+
$3[95] = t25;
|
|
278154
|
+
$3[96] = t29;
|
|
278155
|
+
$3[97] = t30;
|
|
278043
278156
|
} else {
|
|
278044
|
-
|
|
278157
|
+
t30 = $3[97];
|
|
278045
278158
|
}
|
|
278046
|
-
return
|
|
278159
|
+
return t30;
|
|
278047
278160
|
};
|
|
278048
278161
|
const arePropsEqual$2 = (prevProps, nextProps) => {
|
|
278049
|
-
if (prevProps.baseDir !== nextProps.baseDir || prevProps.allFiles.length !== nextProps.allFiles.length || prevProps.renderMarkdown !== nextProps.renderMarkdown || prevProps.
|
|
278162
|
+
if (prevProps.baseDir !== nextProps.baseDir || prevProps.allFiles.length !== nextProps.allFiles.length || prevProps.renderMarkdown !== nextProps.renderMarkdown || prevProps.removeGroup !== nextProps.removeGroup && prevProps.removeGroup === void 0 !== (nextProps.removeGroup === void 0) || prevProps.redo !== nextProps.redo && prevProps.redo === void 0 !== (nextProps.redo === void 0) || prevProps.editUserMessage !== nextProps.editUserMessage && prevProps.editUserMessage === void 0 !== (nextProps.editUserMessage === void 0) || prevProps.onInterrupt !== nextProps.onInterrupt && prevProps.onInterrupt === void 0 !== (nextProps.onInterrupt === void 0) || prevProps.onFork !== nextProps.onFork && prevProps.onFork === void 0 !== (nextProps.onFork === void 0) || prevProps.onRemoveUpTo !== nextProps.onRemoveUpTo && prevProps.onRemoveUpTo === void 0 !== (nextProps.onRemoveUpTo === void 0)) {
|
|
278050
278163
|
return false;
|
|
278051
278164
|
}
|
|
278052
278165
|
return areMessagesEqual(prevProps.message, nextProps.message);
|
|
278053
278166
|
};
|
|
278054
278167
|
const GroupMessageBlock = reactExports.memo(GroupMessageBlockComponent, arePropsEqual$2);
|
|
278055
|
-
function _temp$B(
|
|
278168
|
+
function _temp$B(state2) {
|
|
278169
|
+
return state2.settings?.messageViewMode;
|
|
278170
|
+
}
|
|
278171
|
+
function _temp2$e(msg) {
|
|
278056
278172
|
return isResponseMessage(msg) || isToolMessage(msg) || isUserMessage(msg);
|
|
278057
278173
|
}
|
|
278058
|
-
function
|
|
278174
|
+
function _temp3$c(sum, msg_1) {
|
|
278059
278175
|
if (isResponseMessage(msg_1) || isToolMessage(msg_1)) {
|
|
278060
278176
|
return sum + (msg_1.usageReport?.messageCost || 0);
|
|
278061
278177
|
}
|
|
278062
278178
|
return sum;
|
|
278063
278179
|
}
|
|
278064
|
-
function
|
|
278180
|
+
function _temp4$5(messages_0) {
|
|
278065
278181
|
const messagesWithUsage = [];
|
|
278066
278182
|
let lastMessageWithUsage;
|
|
278067
278183
|
for (const msg_0 of messages_0) {
|
|
@@ -278074,7 +278190,7 @@ function _temp3$c(messages_0) {
|
|
|
278074
278190
|
return;
|
|
278075
278191
|
}
|
|
278076
278192
|
const lastUsage = lastMessageWithUsage.usageReport;
|
|
278077
|
-
const totalCost = messagesWithUsage.reduce(
|
|
278193
|
+
const totalCost = messagesWithUsage.reduce(_temp3$c, 0);
|
|
278078
278194
|
return {
|
|
278079
278195
|
model: lastUsage.model,
|
|
278080
278196
|
sentTokens: lastUsage.sentTokens,
|
|
@@ -278396,7 +278512,7 @@ const useExtensionMessageComponent = (t0) => {
|
|
|
278396
278512
|
return t5;
|
|
278397
278513
|
};
|
|
278398
278514
|
const MessageBlockWrapperInner = (t0) => {
|
|
278399
|
-
const $3 = compilerRuntimeExports.c(
|
|
278515
|
+
const $3 = compilerRuntimeExports.c(78);
|
|
278400
278516
|
const {
|
|
278401
278517
|
baseDir,
|
|
278402
278518
|
taskId,
|
|
@@ -278407,6 +278523,7 @@ const MessageBlockWrapperInner = (t0) => {
|
|
|
278407
278523
|
hideMessageBar: t2,
|
|
278408
278524
|
inProgress: t3,
|
|
278409
278525
|
removeMessage,
|
|
278526
|
+
removeGroup,
|
|
278410
278527
|
redoUserPrompt,
|
|
278411
278528
|
editUserMessage,
|
|
278412
278529
|
onInterrupt,
|
|
@@ -278471,147 +278588,150 @@ const MessageBlockWrapperInner = (t0) => {
|
|
|
278471
278588
|
t82 = $3[11];
|
|
278472
278589
|
}
|
|
278473
278590
|
let t92;
|
|
278474
|
-
if ($3[12] !== allFiles || $3[13] !== baseDir || $3[14] !== editUserMessage || $3[15] !== message2 || $3[16] !==
|
|
278475
|
-
t92 = /* @__PURE__ */ jsxRuntimeExports.jsx(GroupMessageBlock, { baseDir, taskId, message: message2, allFiles, renderMarkdown, remove: t72, redo: t82, editUserMessage, onInterrupt });
|
|
278591
|
+
if ($3[12] !== allFiles || $3[13] !== baseDir || $3[14] !== editUserMessage || $3[15] !== message2 || $3[16] !== onForkFromMessage || $3[17] !== onInterrupt || $3[18] !== onRemoveUpToMessage || $3[19] !== removeGroup || $3[20] !== renderMarkdown || $3[21] !== t72 || $3[22] !== t82 || $3[23] !== taskId) {
|
|
278592
|
+
t92 = /* @__PURE__ */ jsxRuntimeExports.jsx(GroupMessageBlock, { baseDir, taskId, message: message2, allFiles, renderMarkdown, remove: t72, removeGroup, redo: t82, editUserMessage, onInterrupt, onFork: onForkFromMessage, onRemoveUpTo: onRemoveUpToMessage });
|
|
278476
278593
|
$3[12] = allFiles;
|
|
278477
278594
|
$3[13] = baseDir;
|
|
278478
278595
|
$3[14] = editUserMessage;
|
|
278479
278596
|
$3[15] = message2;
|
|
278480
|
-
$3[16] =
|
|
278481
|
-
$3[17] =
|
|
278482
|
-
$3[18] =
|
|
278483
|
-
$3[19] =
|
|
278484
|
-
$3[20] =
|
|
278485
|
-
$3[21] =
|
|
278597
|
+
$3[16] = onForkFromMessage;
|
|
278598
|
+
$3[17] = onInterrupt;
|
|
278599
|
+
$3[18] = onRemoveUpToMessage;
|
|
278600
|
+
$3[19] = removeGroup;
|
|
278601
|
+
$3[20] = renderMarkdown;
|
|
278602
|
+
$3[21] = t72;
|
|
278603
|
+
$3[22] = t82;
|
|
278604
|
+
$3[23] = taskId;
|
|
278605
|
+
$3[24] = t92;
|
|
278486
278606
|
} else {
|
|
278487
|
-
t92 = $3[
|
|
278607
|
+
t92 = $3[24];
|
|
278488
278608
|
}
|
|
278489
278609
|
messageBlock = t92;
|
|
278490
278610
|
} else {
|
|
278491
278611
|
if (isAssistantGroupMessage(message2)) {
|
|
278492
278612
|
const t72 = inProgress ? void 0 : removeMessage;
|
|
278493
278613
|
let t82;
|
|
278494
|
-
if ($3[
|
|
278614
|
+
if ($3[25] !== allFiles || $3[26] !== baseDir || $3[27] !== message2 || $3[28] !== onForkFromMessage || $3[29] !== onRemoveUpToMessage || $3[30] !== renderMarkdown || $3[31] !== t72 || $3[32] !== taskId) {
|
|
278495
278615
|
t82 = /* @__PURE__ */ jsxRuntimeExports.jsx(AssistantMessageBlock, { baseDir, taskId, message: message2, allFiles, renderMarkdown, remove: t72, onFork: onForkFromMessage, onRemoveUpTo: onRemoveUpToMessage });
|
|
278496
|
-
$3[
|
|
278497
|
-
$3[
|
|
278498
|
-
$3[
|
|
278499
|
-
$3[
|
|
278500
|
-
$3[
|
|
278501
|
-
$3[
|
|
278502
|
-
$3[
|
|
278503
|
-
$3[
|
|
278504
|
-
$3[
|
|
278616
|
+
$3[25] = allFiles;
|
|
278617
|
+
$3[26] = baseDir;
|
|
278618
|
+
$3[27] = message2;
|
|
278619
|
+
$3[28] = onForkFromMessage;
|
|
278620
|
+
$3[29] = onRemoveUpToMessage;
|
|
278621
|
+
$3[30] = renderMarkdown;
|
|
278622
|
+
$3[31] = t72;
|
|
278623
|
+
$3[32] = taskId;
|
|
278624
|
+
$3[33] = t82;
|
|
278505
278625
|
} else {
|
|
278506
|
-
t82 = $3[
|
|
278626
|
+
t82 = $3[33];
|
|
278507
278627
|
}
|
|
278508
278628
|
messageBlock = t82;
|
|
278509
278629
|
} else {
|
|
278510
278630
|
let t72;
|
|
278511
|
-
if ($3[
|
|
278631
|
+
if ($3[34] !== inProgress || $3[35] !== message2 || $3[36] !== removeMessage) {
|
|
278512
278632
|
t72 = inProgress ? void 0 : removeMessage ? () => removeMessage(message2) : void 0;
|
|
278513
|
-
$3[
|
|
278514
|
-
$3[
|
|
278515
|
-
$3[
|
|
278516
|
-
$3[
|
|
278633
|
+
$3[34] = inProgress;
|
|
278634
|
+
$3[35] = message2;
|
|
278635
|
+
$3[36] = removeMessage;
|
|
278636
|
+
$3[37] = t72;
|
|
278517
278637
|
} else {
|
|
278518
|
-
t72 = $3[
|
|
278638
|
+
t72 = $3[37];
|
|
278519
278639
|
}
|
|
278520
278640
|
let t82;
|
|
278521
|
-
if ($3[
|
|
278641
|
+
if ($3[38] !== inProgress || $3[39] !== message2 || $3[40] !== redoUserPrompt) {
|
|
278522
278642
|
t82 = !inProgress && isUserMessage(message2) && redoUserPrompt ? () => redoUserPrompt(message2.id) : void 0;
|
|
278523
|
-
$3[
|
|
278524
|
-
$3[
|
|
278525
|
-
$3[
|
|
278526
|
-
$3[
|
|
278643
|
+
$3[38] = inProgress;
|
|
278644
|
+
$3[39] = message2;
|
|
278645
|
+
$3[40] = redoUserPrompt;
|
|
278646
|
+
$3[41] = t82;
|
|
278527
278647
|
} else {
|
|
278528
|
-
t82 = $3[
|
|
278648
|
+
t82 = $3[41];
|
|
278529
278649
|
}
|
|
278530
278650
|
let t92;
|
|
278531
|
-
if ($3[
|
|
278651
|
+
if ($3[42] !== editUserMessage || $3[43] !== inProgress || $3[44] !== message2) {
|
|
278532
278652
|
t92 = !inProgress && isUserMessage(message2) && editUserMessage ? (content2, images) => editUserMessage(message2.id, content2, images) : void 0;
|
|
278533
|
-
$3[
|
|
278534
|
-
$3[
|
|
278535
|
-
$3[
|
|
278536
|
-
$3[
|
|
278653
|
+
$3[42] = editUserMessage;
|
|
278654
|
+
$3[43] = inProgress;
|
|
278655
|
+
$3[44] = message2;
|
|
278656
|
+
$3[45] = t92;
|
|
278537
278657
|
} else {
|
|
278538
|
-
t92 = $3[
|
|
278658
|
+
t92 = $3[45];
|
|
278539
278659
|
}
|
|
278540
278660
|
let t10;
|
|
278541
|
-
if ($3[
|
|
278661
|
+
if ($3[46] !== message2 || $3[47] !== onForkFromMessage) {
|
|
278542
278662
|
t10 = onForkFromMessage ? () => onForkFromMessage(message2) : void 0;
|
|
278543
|
-
$3[
|
|
278544
|
-
$3[
|
|
278545
|
-
$3[
|
|
278663
|
+
$3[46] = message2;
|
|
278664
|
+
$3[47] = onForkFromMessage;
|
|
278665
|
+
$3[48] = t10;
|
|
278546
278666
|
} else {
|
|
278547
|
-
t10 = $3[
|
|
278667
|
+
t10 = $3[48];
|
|
278548
278668
|
}
|
|
278549
278669
|
let t11;
|
|
278550
|
-
if ($3[
|
|
278670
|
+
if ($3[49] !== message2 || $3[50] !== onRemoveUpToMessage) {
|
|
278551
278671
|
t11 = onRemoveUpToMessage ? () => onRemoveUpToMessage(message2) : void 0;
|
|
278552
|
-
$3[
|
|
278553
|
-
$3[
|
|
278554
|
-
$3[
|
|
278672
|
+
$3[49] = message2;
|
|
278673
|
+
$3[50] = onRemoveUpToMessage;
|
|
278674
|
+
$3[51] = t11;
|
|
278555
278675
|
} else {
|
|
278556
|
-
t11 = $3[
|
|
278676
|
+
t11 = $3[51];
|
|
278557
278677
|
}
|
|
278558
278678
|
let t12;
|
|
278559
|
-
if ($3[
|
|
278679
|
+
if ($3[52] !== allFiles || $3[53] !== baseDir || $3[54] !== compact || $3[55] !== hideMessageBar || $3[56] !== message2 || $3[57] !== onInterrupt || $3[58] !== renderMarkdown || $3[59] !== t10 || $3[60] !== t11 || $3[61] !== t72 || $3[62] !== t82 || $3[63] !== t92 || $3[64] !== taskId) {
|
|
278560
278680
|
t12 = /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlock, { baseDir, taskId, message: message2, allFiles, renderMarkdown, compact, hideMessageBar, remove: t72, redo: t82, edit: t92, onInterrupt, onFork: t10, onRemoveUpTo: t11 });
|
|
278561
|
-
$3[
|
|
278562
|
-
$3[
|
|
278563
|
-
$3[
|
|
278564
|
-
$3[
|
|
278565
|
-
$3[
|
|
278566
|
-
$3[
|
|
278567
|
-
$3[
|
|
278568
|
-
$3[
|
|
278569
|
-
$3[
|
|
278570
|
-
$3[
|
|
278571
|
-
$3[
|
|
278572
|
-
$3[
|
|
278573
|
-
$3[
|
|
278574
|
-
$3[
|
|
278681
|
+
$3[52] = allFiles;
|
|
278682
|
+
$3[53] = baseDir;
|
|
278683
|
+
$3[54] = compact;
|
|
278684
|
+
$3[55] = hideMessageBar;
|
|
278685
|
+
$3[56] = message2;
|
|
278686
|
+
$3[57] = onInterrupt;
|
|
278687
|
+
$3[58] = renderMarkdown;
|
|
278688
|
+
$3[59] = t10;
|
|
278689
|
+
$3[60] = t11;
|
|
278690
|
+
$3[61] = t72;
|
|
278691
|
+
$3[62] = t82;
|
|
278692
|
+
$3[63] = t92;
|
|
278693
|
+
$3[64] = taskId;
|
|
278694
|
+
$3[65] = t12;
|
|
278575
278695
|
} else {
|
|
278576
|
-
t12 = $3[
|
|
278696
|
+
t12 = $3[65];
|
|
278577
278697
|
}
|
|
278578
278698
|
messageBlock = t12;
|
|
278579
278699
|
}
|
|
278580
278700
|
}
|
|
278581
278701
|
}
|
|
278582
278702
|
let t7;
|
|
278583
|
-
if ($3[
|
|
278703
|
+
if ($3[66] !== additionalProps || $3[67] !== baseDir || $3[68] !== taskId) {
|
|
278584
278704
|
t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(ExtensionComponentWrapper, { placement: "task-message-above", additionalProps, projectDir: baseDir, taskId });
|
|
278585
|
-
$3[
|
|
278586
|
-
$3[
|
|
278587
|
-
$3[
|
|
278588
|
-
$3[
|
|
278705
|
+
$3[66] = additionalProps;
|
|
278706
|
+
$3[67] = baseDir;
|
|
278707
|
+
$3[68] = taskId;
|
|
278708
|
+
$3[69] = t7;
|
|
278589
278709
|
} else {
|
|
278590
|
-
t7 = $3[
|
|
278710
|
+
t7 = $3[69];
|
|
278591
278711
|
}
|
|
278592
278712
|
let t8;
|
|
278593
|
-
if ($3[
|
|
278713
|
+
if ($3[70] !== additionalProps || $3[71] !== baseDir || $3[72] !== taskId) {
|
|
278594
278714
|
t8 = /* @__PURE__ */ jsxRuntimeExports.jsx(ExtensionComponentWrapper, { placement: "task-message-below", additionalProps, projectDir: baseDir, taskId });
|
|
278595
|
-
$3[
|
|
278596
|
-
$3[
|
|
278597
|
-
$3[
|
|
278598
|
-
$3[
|
|
278715
|
+
$3[70] = additionalProps;
|
|
278716
|
+
$3[71] = baseDir;
|
|
278717
|
+
$3[72] = taskId;
|
|
278718
|
+
$3[73] = t8;
|
|
278599
278719
|
} else {
|
|
278600
|
-
t8 = $3[
|
|
278720
|
+
t8 = $3[73];
|
|
278601
278721
|
}
|
|
278602
278722
|
let t9;
|
|
278603
|
-
if ($3[
|
|
278723
|
+
if ($3[74] !== messageBlock || $3[75] !== t7 || $3[76] !== t8) {
|
|
278604
278724
|
t9 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
278605
278725
|
t7,
|
|
278606
278726
|
messageBlock,
|
|
278607
278727
|
t8
|
|
278608
278728
|
] });
|
|
278609
|
-
$3[
|
|
278610
|
-
$3[
|
|
278611
|
-
$3[
|
|
278612
|
-
$3[
|
|
278729
|
+
$3[74] = messageBlock;
|
|
278730
|
+
$3[75] = t7;
|
|
278731
|
+
$3[76] = t8;
|
|
278732
|
+
$3[77] = t9;
|
|
278613
278733
|
} else {
|
|
278614
|
-
t9 = $3[
|
|
278734
|
+
t9 = $3[77];
|
|
278615
278735
|
}
|
|
278616
278736
|
return t9;
|
|
278617
278737
|
};
|
|
@@ -278620,7 +278740,7 @@ const arePropsEqual = (prevProps, nextProps) => {
|
|
|
278620
278740
|
if (prevProps.baseDir !== nextProps.baseDir || prevProps.taskId !== nextProps.taskId || prevProps.allFiles.length !== nextProps.allFiles.length || prevProps.renderMarkdown !== nextProps.renderMarkdown || prevProps.compact !== nextProps.compact || prevProps.hideMessageBar !== nextProps.hideMessageBar || prevProps.inProgress !== nextProps.inProgress) {
|
|
278621
278741
|
return false;
|
|
278622
278742
|
}
|
|
278623
|
-
if (prevProps.removeMessage !== nextProps.removeMessage || prevProps.redoUserPrompt !== nextProps.redoUserPrompt || prevProps.editUserMessage !== nextProps.editUserMessage || prevProps.onInterrupt !== nextProps.onInterrupt || prevProps.onForkFromMessage !== nextProps.onForkFromMessage || prevProps.onRemoveUpToMessage !== nextProps.onRemoveUpToMessage) {
|
|
278743
|
+
if (prevProps.removeMessage !== nextProps.removeMessage || prevProps.removeGroup !== nextProps.removeGroup || prevProps.redoUserPrompt !== nextProps.redoUserPrompt || prevProps.editUserMessage !== nextProps.editUserMessage || prevProps.onInterrupt !== nextProps.onInterrupt || prevProps.onForkFromMessage !== nextProps.onForkFromMessage || prevProps.onRemoveUpToMessage !== nextProps.onRemoveUpToMessage) {
|
|
278624
278744
|
return false;
|
|
278625
278745
|
}
|
|
278626
278746
|
return areMessagesEqual(prevProps.message, nextProps.message);
|
|
@@ -278994,7 +279114,7 @@ function _temp3$a(button_1) {
|
|
|
278994
279114
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: button_1.icon, onClick: button_1.onClick, tooltip: button_1.tooltip, className: button_1.className, "aria-label": button_1.ariaLabel, disabled: button_1.disabled }, button_1.key);
|
|
278995
279115
|
}
|
|
278996
279116
|
const MessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
278997
|
-
const $3 = compilerRuntimeExports.c(
|
|
279117
|
+
const $3 = compilerRuntimeExports.c(71);
|
|
278998
279118
|
const {
|
|
278999
279119
|
baseDir,
|
|
279000
279120
|
taskId,
|
|
@@ -279003,6 +279123,7 @@ const MessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
279003
279123
|
allFiles: t1,
|
|
279004
279124
|
renderMarkdown,
|
|
279005
279125
|
removeMessage,
|
|
279126
|
+
removeGroup,
|
|
279006
279127
|
redoUserPrompt,
|
|
279007
279128
|
editUserMessage,
|
|
279008
279129
|
onInterrupt,
|
|
@@ -279163,24 +279284,25 @@ const MessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
279163
279284
|
}
|
|
279164
279285
|
reactExports.useImperativeHandle(ref, t11);
|
|
279165
279286
|
let t12;
|
|
279166
|
-
if ($3[21] !== allFiles || $3[22] !== baseDir || $3[23] !== editUserMessage || $3[24] !== inProgress || $3[25] !== onForkFromMessage || $3[26] !== onInterrupt || $3[27] !== onRemoveUpToMessage || $3[28] !== processedMessages || $3[29] !== redoUserPrompt || $3[30] !==
|
|
279287
|
+
if ($3[21] !== allFiles || $3[22] !== baseDir || $3[23] !== editUserMessage || $3[24] !== inProgress || $3[25] !== onForkFromMessage || $3[26] !== onInterrupt || $3[27] !== onRemoveUpToMessage || $3[28] !== processedMessages || $3[29] !== redoUserPrompt || $3[30] !== removeGroup || $3[31] !== removeMessage || $3[32] !== renderMarkdown || $3[33] !== taskId) {
|
|
279167
279288
|
let t132;
|
|
279168
|
-
if ($3[
|
|
279169
|
-
t132 = (message_0) => /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlockWrapper, { baseDir, taskId, message: message_0, allFiles, renderMarkdown, inProgress, removeMessage, redoUserPrompt, editUserMessage, onInterrupt, onForkFromMessage, onRemoveUpToMessage }, message_0.id);
|
|
279170
|
-
$3[
|
|
279171
|
-
$3[
|
|
279172
|
-
$3[
|
|
279173
|
-
$3[
|
|
279174
|
-
$3[
|
|
279175
|
-
$3[
|
|
279176
|
-
$3[
|
|
279177
|
-
$3[
|
|
279178
|
-
$3[
|
|
279179
|
-
$3[
|
|
279180
|
-
$3[
|
|
279181
|
-
$3[
|
|
279289
|
+
if ($3[35] !== allFiles || $3[36] !== baseDir || $3[37] !== editUserMessage || $3[38] !== inProgress || $3[39] !== onForkFromMessage || $3[40] !== onInterrupt || $3[41] !== onRemoveUpToMessage || $3[42] !== redoUserPrompt || $3[43] !== removeGroup || $3[44] !== removeMessage || $3[45] !== renderMarkdown || $3[46] !== taskId) {
|
|
279290
|
+
t132 = (message_0) => /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlockWrapper, { baseDir, taskId, message: message_0, allFiles, renderMarkdown, inProgress, removeMessage, removeGroup, redoUserPrompt, editUserMessage, onInterrupt, onForkFromMessage, onRemoveUpToMessage }, message_0.id);
|
|
279291
|
+
$3[35] = allFiles;
|
|
279292
|
+
$3[36] = baseDir;
|
|
279293
|
+
$3[37] = editUserMessage;
|
|
279294
|
+
$3[38] = inProgress;
|
|
279295
|
+
$3[39] = onForkFromMessage;
|
|
279296
|
+
$3[40] = onInterrupt;
|
|
279297
|
+
$3[41] = onRemoveUpToMessage;
|
|
279298
|
+
$3[42] = redoUserPrompt;
|
|
279299
|
+
$3[43] = removeGroup;
|
|
279300
|
+
$3[44] = removeMessage;
|
|
279301
|
+
$3[45] = renderMarkdown;
|
|
279302
|
+
$3[46] = taskId;
|
|
279303
|
+
$3[47] = t132;
|
|
279182
279304
|
} else {
|
|
279183
|
-
t132 = $3[
|
|
279305
|
+
t132 = $3[47];
|
|
279184
279306
|
}
|
|
279185
279307
|
t12 = processedMessages.map(t132);
|
|
279186
279308
|
$3[21] = allFiles;
|
|
@@ -279192,87 +279314,88 @@ const MessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
279192
279314
|
$3[27] = onRemoveUpToMessage;
|
|
279193
279315
|
$3[28] = processedMessages;
|
|
279194
279316
|
$3[29] = redoUserPrompt;
|
|
279195
|
-
$3[30] =
|
|
279196
|
-
$3[31] =
|
|
279197
|
-
$3[32] =
|
|
279198
|
-
$3[33] =
|
|
279317
|
+
$3[30] = removeGroup;
|
|
279318
|
+
$3[31] = removeMessage;
|
|
279319
|
+
$3[32] = renderMarkdown;
|
|
279320
|
+
$3[33] = taskId;
|
|
279321
|
+
$3[34] = t12;
|
|
279199
279322
|
} else {
|
|
279200
|
-
t12 = $3[
|
|
279323
|
+
t12 = $3[34];
|
|
279201
279324
|
}
|
|
279202
279325
|
let t13;
|
|
279203
|
-
if ($3[
|
|
279326
|
+
if ($3[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
279204
279327
|
t13 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: messagesEndRef });
|
|
279205
|
-
$3[
|
|
279328
|
+
$3[48] = t13;
|
|
279206
279329
|
} else {
|
|
279207
|
-
t13 = $3[
|
|
279330
|
+
t13 = $3[48];
|
|
279208
279331
|
}
|
|
279209
279332
|
let t14;
|
|
279210
|
-
if ($3[
|
|
279333
|
+
if ($3[49] !== eventHandlers || $3[50] !== t12) {
|
|
279211
279334
|
t14 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: messagesContainerRef, className: "flex flex-col flex-grow overflow-y-auto max-h-full p-4 pb-2 scrollbar-thin scrollbar-track-bg-primary-light scrollbar-thumb-bg-tertiary hover:scrollbar-thumb-bg-fourth space-y-2", ...eventHandlers, children: [
|
|
279212
279335
|
t12,
|
|
279213
279336
|
t13
|
|
279214
279337
|
] });
|
|
279215
|
-
$3[
|
|
279216
|
-
$3[
|
|
279217
|
-
$3[
|
|
279338
|
+
$3[49] = eventHandlers;
|
|
279339
|
+
$3[50] = t12;
|
|
279340
|
+
$3[51] = t14;
|
|
279218
279341
|
} else {
|
|
279219
|
-
t14 = $3[
|
|
279342
|
+
t14 = $3[51];
|
|
279220
279343
|
}
|
|
279221
279344
|
let t15;
|
|
279222
|
-
if ($3[
|
|
279345
|
+
if ($3[52] !== hasNextUserMessage || $3[53] !== hasPreviousUserMessage || $3[54] !== renderGoToPrevious) {
|
|
279223
279346
|
t15 = (hasPreviousUserMessage || hasNextUserMessage) && renderGoToPrevious();
|
|
279224
|
-
$3[
|
|
279225
|
-
$3[
|
|
279226
|
-
$3[
|
|
279227
|
-
$3[
|
|
279347
|
+
$3[52] = hasNextUserMessage;
|
|
279348
|
+
$3[53] = hasPreviousUserMessage;
|
|
279349
|
+
$3[54] = renderGoToPrevious;
|
|
279350
|
+
$3[55] = t15;
|
|
279228
279351
|
} else {
|
|
279229
|
-
t15 = $3[
|
|
279352
|
+
t15 = $3[55];
|
|
279230
279353
|
}
|
|
279231
279354
|
let t16;
|
|
279232
|
-
if ($3[
|
|
279355
|
+
if ($3[56] !== scrollToBottom || $3[57] !== scrollingPaused || $3[58] !== t3) {
|
|
279233
279356
|
t16 = scrollingPaused && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MdKeyboardDoubleArrowDown, { className: "h-6 w-6" }), onClick: scrollToBottom, tooltip: t3("messages.scrollToBottom"), className: "bg-bg-primary-light border border-border-default shadow-lg hover:bg-bg-secondary transition-colors duration-200", "aria-label": t3("messages.scrollToBottom") });
|
|
279234
|
-
$3[
|
|
279235
|
-
$3[
|
|
279236
|
-
$3[
|
|
279237
|
-
$3[
|
|
279357
|
+
$3[56] = scrollToBottom;
|
|
279358
|
+
$3[57] = scrollingPaused;
|
|
279359
|
+
$3[58] = t3;
|
|
279360
|
+
$3[59] = t16;
|
|
279238
279361
|
} else {
|
|
279239
|
-
t16 = $3[
|
|
279362
|
+
t16 = $3[59];
|
|
279240
279363
|
}
|
|
279241
279364
|
let t17;
|
|
279242
|
-
if ($3[
|
|
279365
|
+
if ($3[60] !== hasNextUserMessage || $3[61] !== hasPreviousUserMessage || $3[62] !== renderGoToNext) {
|
|
279243
279366
|
t17 = (hasPreviousUserMessage || hasNextUserMessage) && renderGoToNext();
|
|
279244
|
-
$3[
|
|
279245
|
-
$3[
|
|
279246
|
-
$3[
|
|
279247
|
-
$3[
|
|
279367
|
+
$3[60] = hasNextUserMessage;
|
|
279368
|
+
$3[61] = hasPreviousUserMessage;
|
|
279369
|
+
$3[62] = renderGoToNext;
|
|
279370
|
+
$3[63] = t17;
|
|
279248
279371
|
} else {
|
|
279249
|
-
t17 = $3[
|
|
279372
|
+
t17 = $3[63];
|
|
279250
279373
|
}
|
|
279251
279374
|
let t18;
|
|
279252
|
-
if ($3[
|
|
279375
|
+
if ($3[64] !== t15 || $3[65] !== t16 || $3[66] !== t17) {
|
|
279253
279376
|
t18 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute left-1/2 -translate-x-1/2 bottom-0 w-[140px] z-10 flex justify-center gap-1 pt-6 pb-1 group", children: [
|
|
279254
279377
|
t15,
|
|
279255
279378
|
t16,
|
|
279256
279379
|
t17
|
|
279257
279380
|
] }) });
|
|
279258
|
-
$3[
|
|
279259
|
-
$3[
|
|
279260
|
-
$3[
|
|
279261
|
-
$3[
|
|
279381
|
+
$3[64] = t15;
|
|
279382
|
+
$3[65] = t16;
|
|
279383
|
+
$3[66] = t17;
|
|
279384
|
+
$3[67] = t18;
|
|
279262
279385
|
} else {
|
|
279263
|
-
t18 = $3[
|
|
279386
|
+
t18 = $3[67];
|
|
279264
279387
|
}
|
|
279265
279388
|
let t19;
|
|
279266
|
-
if ($3[
|
|
279389
|
+
if ($3[68] !== t14 || $3[69] !== t18) {
|
|
279267
279390
|
t19 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative flex flex-col h-full", children: [
|
|
279268
279391
|
t14,
|
|
279269
279392
|
t18
|
|
279270
279393
|
] });
|
|
279271
|
-
$3[
|
|
279272
|
-
$3[
|
|
279273
|
-
$3[
|
|
279394
|
+
$3[68] = t14;
|
|
279395
|
+
$3[69] = t18;
|
|
279396
|
+
$3[70] = t19;
|
|
279274
279397
|
} else {
|
|
279275
|
-
t19 = $3[
|
|
279398
|
+
t19 = $3[70];
|
|
279276
279399
|
}
|
|
279277
279400
|
return t19;
|
|
279278
279401
|
});
|
|
@@ -286646,7 +286769,7 @@ var LegendListInner = typedForwardRef(function LegendListInner2(props, forwarded
|
|
|
286646
286769
|
var LegendListRuntime = LegendList;
|
|
286647
286770
|
var LegendList3 = LegendListRuntime;
|
|
286648
286771
|
const VirtualizedMessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
286649
|
-
const $3 = compilerRuntimeExports.c(
|
|
286772
|
+
const $3 = compilerRuntimeExports.c(77);
|
|
286650
286773
|
const {
|
|
286651
286774
|
baseDir,
|
|
286652
286775
|
taskId,
|
|
@@ -286655,6 +286778,7 @@ const VirtualizedMessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
286655
286778
|
allFiles: t1,
|
|
286656
286779
|
renderMarkdown,
|
|
286657
286780
|
removeMessage,
|
|
286781
|
+
removeGroup,
|
|
286658
286782
|
redoUserPrompt,
|
|
286659
286783
|
editUserMessage,
|
|
286660
286784
|
onInterrupt,
|
|
@@ -286885,12 +287009,13 @@ const VirtualizedMessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
286885
287009
|
}
|
|
286886
287010
|
reactExports.useImperativeHandle(ref, t14);
|
|
286887
287011
|
let t15;
|
|
286888
|
-
if ($3[24] !== allFiles || $3[25] !== editUserMessage || $3[26] !== inProgress || $3[27] !== messagesLength || $3[28] !== onForkFromMessage || $3[29] !== onInterrupt || $3[30] !== onRemoveUpToMessage || $3[31] !== redoUserPrompt || $3[32] !==
|
|
287012
|
+
if ($3[24] !== allFiles || $3[25] !== editUserMessage || $3[26] !== inProgress || $3[27] !== messagesLength || $3[28] !== onForkFromMessage || $3[29] !== onInterrupt || $3[30] !== onRemoveUpToMessage || $3[31] !== redoUserPrompt || $3[32] !== removeGroup || $3[33] !== removeMessage || $3[34] !== renderMarkdown) {
|
|
286889
287013
|
t15 = {
|
|
286890
287014
|
inProgress,
|
|
286891
287015
|
allFiles,
|
|
286892
287016
|
renderMarkdown,
|
|
286893
287017
|
removeMessage,
|
|
287018
|
+
removeGroup,
|
|
286894
287019
|
redoUserPrompt,
|
|
286895
287020
|
editUserMessage,
|
|
286896
287021
|
onInterrupt,
|
|
@@ -286906,117 +287031,119 @@ const VirtualizedMessagesComponent = reactExports.forwardRef((t0, ref) => {
|
|
|
286906
287031
|
$3[29] = onInterrupt;
|
|
286907
287032
|
$3[30] = onRemoveUpToMessage;
|
|
286908
287033
|
$3[31] = redoUserPrompt;
|
|
286909
|
-
$3[32] =
|
|
286910
|
-
$3[33] =
|
|
286911
|
-
$3[34] =
|
|
287034
|
+
$3[32] = removeGroup;
|
|
287035
|
+
$3[33] = removeMessage;
|
|
287036
|
+
$3[34] = renderMarkdown;
|
|
287037
|
+
$3[35] = t15;
|
|
286912
287038
|
} else {
|
|
286913
|
-
t15 = $3[
|
|
287039
|
+
t15 = $3[35];
|
|
286914
287040
|
}
|
|
286915
287041
|
const extraData = t15;
|
|
286916
287042
|
let t16;
|
|
286917
|
-
if ($3[
|
|
287043
|
+
if ($3[36] !== allFiles || $3[37] !== baseDir || $3[38] !== editUserMessage || $3[39] !== inProgress || $3[40] !== messagesLength || $3[41] !== onForkFromMessage || $3[42] !== onInterrupt || $3[43] !== onRemoveUpToMessage || $3[44] !== redoUserPrompt || $3[45] !== removeGroup || $3[46] !== removeMessage || $3[47] !== renderMarkdown || $3[48] !== taskId) {
|
|
286918
287044
|
t16 = (t172) => {
|
|
286919
287045
|
const {
|
|
286920
287046
|
item,
|
|
286921
287047
|
index: index_0
|
|
286922
287048
|
} = t172;
|
|
286923
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: twMerge("py-1", index_0 === messagesLength - 1 && "pb-4", index_0 === 0 && "pt-4"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlockWrapper, { baseDir, taskId, message: item, allFiles, renderMarkdown, inProgress, removeMessage, redoUserPrompt, editUserMessage, onInterrupt, onForkFromMessage, onRemoveUpToMessage }) });
|
|
286924
|
-
};
|
|
286925
|
-
$3[
|
|
286926
|
-
$3[
|
|
286927
|
-
$3[
|
|
286928
|
-
$3[
|
|
286929
|
-
$3[
|
|
286930
|
-
$3[
|
|
286931
|
-
$3[
|
|
286932
|
-
$3[
|
|
286933
|
-
$3[
|
|
286934
|
-
$3[
|
|
286935
|
-
$3[
|
|
286936
|
-
$3[
|
|
286937
|
-
$3[
|
|
286938
|
-
|
|
286939
|
-
|
|
287049
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: twMerge("py-1", index_0 === messagesLength - 1 && "pb-4", index_0 === 0 && "pt-4"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageBlockWrapper, { baseDir, taskId, message: item, allFiles, renderMarkdown, inProgress, removeMessage, removeGroup, redoUserPrompt, editUserMessage, onInterrupt, onForkFromMessage, onRemoveUpToMessage }) });
|
|
287050
|
+
};
|
|
287051
|
+
$3[36] = allFiles;
|
|
287052
|
+
$3[37] = baseDir;
|
|
287053
|
+
$3[38] = editUserMessage;
|
|
287054
|
+
$3[39] = inProgress;
|
|
287055
|
+
$3[40] = messagesLength;
|
|
287056
|
+
$3[41] = onForkFromMessage;
|
|
287057
|
+
$3[42] = onInterrupt;
|
|
287058
|
+
$3[43] = onRemoveUpToMessage;
|
|
287059
|
+
$3[44] = redoUserPrompt;
|
|
287060
|
+
$3[45] = removeGroup;
|
|
287061
|
+
$3[46] = removeMessage;
|
|
287062
|
+
$3[47] = renderMarkdown;
|
|
287063
|
+
$3[48] = taskId;
|
|
287064
|
+
$3[49] = t16;
|
|
287065
|
+
} else {
|
|
287066
|
+
t16 = $3[49];
|
|
286940
287067
|
}
|
|
286941
287068
|
const renderItem = t16;
|
|
286942
287069
|
const t17 = !scrollingPaused;
|
|
286943
287070
|
let t18;
|
|
286944
|
-
if ($3[
|
|
287071
|
+
if ($3[50] !== userMessageIds) {
|
|
286945
287072
|
t18 = {
|
|
286946
287073
|
keys: userMessageIds
|
|
286947
287074
|
};
|
|
286948
|
-
$3[
|
|
286949
|
-
$3[
|
|
287075
|
+
$3[50] = userMessageIds;
|
|
287076
|
+
$3[51] = t18;
|
|
286950
287077
|
} else {
|
|
286951
|
-
t18 = $3[
|
|
287078
|
+
t18 = $3[51];
|
|
286952
287079
|
}
|
|
286953
287080
|
let t19;
|
|
286954
|
-
if ($3[
|
|
287081
|
+
if ($3[52] !== extraData || $3[53] !== processedMessages || $3[54] !== renderItem || $3[55] !== t17 || $3[56] !== t18 || $3[57] !== taskId) {
|
|
286955
287082
|
t19 = /* @__PURE__ */ jsxRuntimeExports.jsx(LegendList3, { ref: handleListRef, data: processedMessages, keyExtractor: _temp3$9, renderItem, extraData, estimatedItemSize: 100, maintainScrollAtEnd: t17, maintainScrollAtEndThreshold: 100, onScroll: handleScrollState, initialScrollAtEnd: true, alwaysRender: t18, drawDistance: 250, className: "absolute inset-0 scrollbar-thin scrollbar-track-bg-primary-light scrollbar-thumb-bg-tertiary hover:scrollbar-thumb-bg-fourth px-4" }, taskId);
|
|
286956
|
-
$3[
|
|
286957
|
-
$3[
|
|
286958
|
-
$3[
|
|
286959
|
-
$3[
|
|
286960
|
-
$3[
|
|
286961
|
-
$3[
|
|
286962
|
-
$3[
|
|
287083
|
+
$3[52] = extraData;
|
|
287084
|
+
$3[53] = processedMessages;
|
|
287085
|
+
$3[54] = renderItem;
|
|
287086
|
+
$3[55] = t17;
|
|
287087
|
+
$3[56] = t18;
|
|
287088
|
+
$3[57] = taskId;
|
|
287089
|
+
$3[58] = t19;
|
|
286963
287090
|
} else {
|
|
286964
|
-
t19 = $3[
|
|
287091
|
+
t19 = $3[58];
|
|
286965
287092
|
}
|
|
286966
287093
|
let t20;
|
|
286967
|
-
if ($3[
|
|
287094
|
+
if ($3[59] !== hasNextUserMessage || $3[60] !== hasPreviousUserMessage || $3[61] !== renderGoToPrevious) {
|
|
286968
287095
|
t20 = (hasPreviousUserMessage || hasNextUserMessage) && renderGoToPrevious();
|
|
286969
|
-
$3[
|
|
286970
|
-
$3[
|
|
286971
|
-
$3[
|
|
286972
|
-
$3[
|
|
287096
|
+
$3[59] = hasNextUserMessage;
|
|
287097
|
+
$3[60] = hasPreviousUserMessage;
|
|
287098
|
+
$3[61] = renderGoToPrevious;
|
|
287099
|
+
$3[62] = t20;
|
|
286973
287100
|
} else {
|
|
286974
|
-
t20 = $3[
|
|
287101
|
+
t20 = $3[62];
|
|
286975
287102
|
}
|
|
286976
287103
|
let t21;
|
|
286977
|
-
if ($3[
|
|
287104
|
+
if ($3[63] !== scrollingPaused || $3[64] !== t3) {
|
|
286978
287105
|
t21 = scrollingPaused && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MdKeyboardDoubleArrowDown, { className: "h-6 w-6" }), onClick: scrollToBottom, tooltip: t3("messages.scrollToBottom"), className: "bg-bg-primary-light border border-border-default shadow-lg hover:bg-bg-secondary transition-colors duration-200", "aria-label": t3("messages.scrollToBottom") });
|
|
286979
|
-
$3[
|
|
286980
|
-
$3[
|
|
286981
|
-
$3[
|
|
287106
|
+
$3[63] = scrollingPaused;
|
|
287107
|
+
$3[64] = t3;
|
|
287108
|
+
$3[65] = t21;
|
|
286982
287109
|
} else {
|
|
286983
|
-
t21 = $3[
|
|
287110
|
+
t21 = $3[65];
|
|
286984
287111
|
}
|
|
286985
287112
|
let t22;
|
|
286986
|
-
if ($3[
|
|
287113
|
+
if ($3[66] !== hasNextUserMessage || $3[67] !== hasPreviousUserMessage || $3[68] !== renderGoToNext) {
|
|
286987
287114
|
t22 = (hasPreviousUserMessage || hasNextUserMessage) && renderGoToNext();
|
|
286988
|
-
$3[
|
|
286989
|
-
$3[
|
|
286990
|
-
$3[
|
|
286991
|
-
$3[
|
|
287115
|
+
$3[66] = hasNextUserMessage;
|
|
287116
|
+
$3[67] = hasPreviousUserMessage;
|
|
287117
|
+
$3[68] = renderGoToNext;
|
|
287118
|
+
$3[69] = t22;
|
|
286992
287119
|
} else {
|
|
286993
|
-
t22 = $3[
|
|
287120
|
+
t22 = $3[69];
|
|
286994
287121
|
}
|
|
286995
287122
|
let t23;
|
|
286996
|
-
if ($3[
|
|
287123
|
+
if ($3[70] !== t20 || $3[71] !== t21 || $3[72] !== t22) {
|
|
286997
287124
|
t23 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute left-1/2 -translate-x-1/2 bottom-0 w-[140px] z-10 flex justify-center gap-1 pt-6 pb-1 group", children: [
|
|
286998
287125
|
t20,
|
|
286999
287126
|
t21,
|
|
287000
287127
|
t22
|
|
287001
287128
|
] });
|
|
287002
|
-
$3[
|
|
287003
|
-
$3[
|
|
287004
|
-
$3[
|
|
287005
|
-
$3[
|
|
287129
|
+
$3[70] = t20;
|
|
287130
|
+
$3[71] = t21;
|
|
287131
|
+
$3[72] = t22;
|
|
287132
|
+
$3[73] = t23;
|
|
287006
287133
|
} else {
|
|
287007
|
-
t23 = $3[
|
|
287134
|
+
t23 = $3[73];
|
|
287008
287135
|
}
|
|
287009
287136
|
let t24;
|
|
287010
|
-
if ($3[
|
|
287137
|
+
if ($3[74] !== t19 || $3[75] !== t23) {
|
|
287011
287138
|
t24 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative h-full", children: [
|
|
287012
287139
|
t19,
|
|
287013
287140
|
t23
|
|
287014
287141
|
] });
|
|
287015
|
-
$3[
|
|
287016
|
-
$3[
|
|
287017
|
-
$3[
|
|
287142
|
+
$3[74] = t19;
|
|
287143
|
+
$3[75] = t23;
|
|
287144
|
+
$3[76] = t24;
|
|
287018
287145
|
} else {
|
|
287019
|
-
t24 = $3[
|
|
287146
|
+
t24 = $3[76];
|
|
287020
287147
|
}
|
|
287021
287148
|
return t24;
|
|
287022
287149
|
});
|
|
@@ -327188,6 +327315,107 @@ const useCommands = (baseDir) => {
|
|
|
327188
327315
|
}
|
|
327189
327316
|
return t4;
|
|
327190
327317
|
};
|
|
327318
|
+
const AgentsContext = reactExports.createContext(void 0);
|
|
327319
|
+
const AgentsProvider = ({
|
|
327320
|
+
children: children2
|
|
327321
|
+
}) => {
|
|
327322
|
+
const [profiles, setProfiles] = reactExports.useState([]);
|
|
327323
|
+
const [optimisticProfiles, setOptimisticProfiles] = reactExports.useOptimistic(profiles);
|
|
327324
|
+
const [loading, setLoading] = reactExports.useState(true);
|
|
327325
|
+
const [error, setError] = reactExports.useState(null);
|
|
327326
|
+
const api = useApi();
|
|
327327
|
+
const refreshProfiles = reactExports.useCallback(async () => {
|
|
327328
|
+
try {
|
|
327329
|
+
setLoading(true);
|
|
327330
|
+
setError(null);
|
|
327331
|
+
const result = await api.getAllAgentProfiles();
|
|
327332
|
+
setProfiles(result);
|
|
327333
|
+
} catch (err) {
|
|
327334
|
+
setError(err instanceof Error ? err.message : "Failed to load agent profiles");
|
|
327335
|
+
} finally {
|
|
327336
|
+
setLoading(false);
|
|
327337
|
+
}
|
|
327338
|
+
}, [api]);
|
|
327339
|
+
const getProfiles = reactExports.useCallback((projectDir) => {
|
|
327340
|
+
return optimisticProfiles.filter((p3) => p3.projectDir === projectDir || !p3.projectDir);
|
|
327341
|
+
}, [optimisticProfiles]);
|
|
327342
|
+
const createProfile = reactExports.useCallback(async (profile, projectDir_0) => {
|
|
327343
|
+
try {
|
|
327344
|
+
reactExports.startTransition(async () => {
|
|
327345
|
+
setOptimisticProfiles((current) => [...current, profile]);
|
|
327346
|
+
await api.createAgentProfile(profile, projectDir_0);
|
|
327347
|
+
await refreshProfiles();
|
|
327348
|
+
});
|
|
327349
|
+
} catch (err_0) {
|
|
327350
|
+
setError(err_0 instanceof Error ? err_0.message : "Failed to create agent profile");
|
|
327351
|
+
throw err_0;
|
|
327352
|
+
}
|
|
327353
|
+
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
327354
|
+
const updateProfile = reactExports.useCallback(async (profile_0, projectDir_1) => {
|
|
327355
|
+
try {
|
|
327356
|
+
reactExports.startTransition(async () => {
|
|
327357
|
+
setOptimisticProfiles((current_0) => current_0.map((p_0) => p_0.id === profile_0.id ? profile_0 : p_0));
|
|
327358
|
+
await api.updateAgentProfile(profile_0, projectDir_1);
|
|
327359
|
+
await refreshProfiles();
|
|
327360
|
+
});
|
|
327361
|
+
} catch (err_1) {
|
|
327362
|
+
setError(err_1 instanceof Error ? err_1.message : "Failed to update agent profile");
|
|
327363
|
+
throw err_1;
|
|
327364
|
+
}
|
|
327365
|
+
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
327366
|
+
const deleteProfile = reactExports.useCallback(async (profileId, projectDir_2) => {
|
|
327367
|
+
try {
|
|
327368
|
+
reactExports.startTransition(async () => {
|
|
327369
|
+
setOptimisticProfiles((current_1) => current_1.filter((p_1) => p_1.id !== profileId));
|
|
327370
|
+
await api.deleteAgentProfile(profileId, projectDir_2);
|
|
327371
|
+
await refreshProfiles();
|
|
327372
|
+
});
|
|
327373
|
+
} catch (err_2) {
|
|
327374
|
+
setError(err_2 instanceof Error ? err_2.message : "Failed to delete agent profile");
|
|
327375
|
+
throw err_2;
|
|
327376
|
+
}
|
|
327377
|
+
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
327378
|
+
const updateProfilesOrder = reactExports.useCallback(async (agentProfiles2) => {
|
|
327379
|
+
try {
|
|
327380
|
+
reactExports.startTransition(async () => {
|
|
327381
|
+
setOptimisticProfiles(agentProfiles2);
|
|
327382
|
+
await api.updateAgentProfilesOrder(agentProfiles2);
|
|
327383
|
+
await refreshProfiles();
|
|
327384
|
+
});
|
|
327385
|
+
} catch (err_3) {
|
|
327386
|
+
setError(err_3 instanceof Error ? err_3.message : "Failed to update agent profiles order");
|
|
327387
|
+
throw err_3;
|
|
327388
|
+
}
|
|
327389
|
+
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
327390
|
+
reactExports.useEffect(() => {
|
|
327391
|
+
void refreshProfiles();
|
|
327392
|
+
const unsubscribe = api.addAgentProfilesUpdatedListener((data) => {
|
|
327393
|
+
setProfiles(data.profiles);
|
|
327394
|
+
});
|
|
327395
|
+
return () => {
|
|
327396
|
+
unsubscribe();
|
|
327397
|
+
};
|
|
327398
|
+
}, [api, refreshProfiles]);
|
|
327399
|
+
const value2 = reactExports.useMemo(() => ({
|
|
327400
|
+
profiles: optimisticProfiles,
|
|
327401
|
+
loading,
|
|
327402
|
+
error,
|
|
327403
|
+
createProfile,
|
|
327404
|
+
updateProfile,
|
|
327405
|
+
deleteProfile,
|
|
327406
|
+
refreshProfiles,
|
|
327407
|
+
getProfiles,
|
|
327408
|
+
updateProfilesOrder
|
|
327409
|
+
}), [optimisticProfiles, loading, error, createProfile, updateProfile, deleteProfile, refreshProfiles, getProfiles, updateProfilesOrder]);
|
|
327410
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(AgentsContext.Provider, { value: value2, children: children2 });
|
|
327411
|
+
};
|
|
327412
|
+
const useAgents = () => {
|
|
327413
|
+
const context = reactExports.useContext(AgentsContext);
|
|
327414
|
+
if (context === void 0) {
|
|
327415
|
+
throw new Error("useAgents must be used within an AgentsProvider");
|
|
327416
|
+
}
|
|
327417
|
+
return context;
|
|
327418
|
+
};
|
|
327191
327419
|
var VoiceSessionState = /* @__PURE__ */ ((VoiceSessionState2) => {
|
|
327192
327420
|
VoiceSessionState2["IDLE"] = "idle";
|
|
327193
327421
|
VoiceSessionState2["CONNECTING"] = "connecting";
|
|
@@ -345178,15 +345406,15 @@ class GeminiVoiceProvider {
|
|
|
345178
345406
|
silenceTimeoutRef = null;
|
|
345179
345407
|
stopRecordingCallback = null;
|
|
345180
345408
|
// Session management refs
|
|
345181
|
-
sessionTimerRef = null;
|
|
345182
345409
|
audioQueue = [];
|
|
345183
|
-
sessionRestartInProgress = false;
|
|
345184
345410
|
isSessionActive = false;
|
|
345185
345411
|
audioProcessingActive = false;
|
|
345412
|
+
isUserStopped = false;
|
|
345186
345413
|
async startSession(config2) {
|
|
345187
345414
|
this.config = config2;
|
|
345188
345415
|
this.stopRecordingCallback = config2.onStopRecording || null;
|
|
345189
345416
|
this.setState(VoiceSessionState.CONNECTING);
|
|
345417
|
+
this.isUserStopped = false;
|
|
345190
345418
|
if (!this.audioProcessingActive) {
|
|
345191
345419
|
await this.setupAudioProcessing(config2.mediaStream);
|
|
345192
345420
|
this.audioProcessingActive = true;
|
|
@@ -345203,10 +345431,13 @@ class GeminiVoiceProvider {
|
|
|
345203
345431
|
});
|
|
345204
345432
|
const session = await client2.live.connect({
|
|
345205
345433
|
model: config2.model,
|
|
345434
|
+
config: {
|
|
345435
|
+
responseModalities: [Modality.AUDIO],
|
|
345436
|
+
inputAudioTranscription: {}
|
|
345437
|
+
},
|
|
345206
345438
|
callbacks: {
|
|
345207
345439
|
onopen: () => {
|
|
345208
345440
|
this.setState(VoiceSessionState.ACTIVE);
|
|
345209
|
-
this.startSessionTimer();
|
|
345210
345441
|
this.isSessionActive = true;
|
|
345211
345442
|
},
|
|
345212
345443
|
onmessage: (message2) => {
|
|
@@ -345215,9 +345446,7 @@ class GeminiVoiceProvider {
|
|
|
345215
345446
|
},
|
|
345216
345447
|
onclose: (e2) => {
|
|
345217
345448
|
console.log("Session closed:", e2);
|
|
345218
|
-
|
|
345219
|
-
this.setState(VoiceSessionState.CLOSED);
|
|
345220
|
-
}
|
|
345449
|
+
this.handleSessionClose();
|
|
345221
345450
|
},
|
|
345222
345451
|
onerror: (e2) => {
|
|
345223
345452
|
this.setState(VoiceSessionState.ERROR);
|
|
@@ -345227,9 +345456,6 @@ class GeminiVoiceProvider {
|
|
|
345227
345456
|
});
|
|
345228
345457
|
this.session = session;
|
|
345229
345458
|
this.lastAudioTimeRef = Date.now();
|
|
345230
|
-
session.sendRealtimeInput({
|
|
345231
|
-
activityStart: {}
|
|
345232
|
-
});
|
|
345233
345459
|
this.flushAudioQueue();
|
|
345234
345460
|
return {
|
|
345235
345461
|
isActive: true,
|
|
@@ -345243,11 +345469,8 @@ class GeminiVoiceProvider {
|
|
|
345243
345469
|
}
|
|
345244
345470
|
async stopSession() {
|
|
345245
345471
|
this.isSessionActive = false;
|
|
345472
|
+
this.isUserStopped = true;
|
|
345246
345473
|
this.setState(VoiceSessionState.CLOSED);
|
|
345247
|
-
if (this.sessionTimerRef) {
|
|
345248
|
-
clearTimeout(this.sessionTimerRef);
|
|
345249
|
-
this.sessionTimerRef = null;
|
|
345250
|
-
}
|
|
345251
345474
|
if (this.silenceTimeoutRef) {
|
|
345252
345475
|
clearTimeout(this.silenceTimeoutRef);
|
|
345253
345476
|
this.silenceTimeoutRef = null;
|
|
@@ -345314,7 +345537,7 @@ class GeminiVoiceProvider {
|
|
|
345314
345537
|
const base64Audio = this.arrayBufferToBase64(pcmData.buffer);
|
|
345315
345538
|
if (this.session && this.isSessionActive) {
|
|
345316
345539
|
this.session.sendRealtimeInput({
|
|
345317
|
-
|
|
345540
|
+
audio: {
|
|
345318
345541
|
data: base64Audio,
|
|
345319
345542
|
mimeType: "audio/pcm;rate=16000"
|
|
345320
345543
|
}
|
|
@@ -345334,6 +345557,16 @@ class GeminiVoiceProvider {
|
|
|
345334
345557
|
}
|
|
345335
345558
|
}
|
|
345336
345559
|
}
|
|
345560
|
+
async handleSessionClose() {
|
|
345561
|
+
this.isSessionActive = false;
|
|
345562
|
+
if (this.isUserStopped) {
|
|
345563
|
+
this.setState(VoiceSessionState.CLOSED);
|
|
345564
|
+
} else {
|
|
345565
|
+
this.setState(VoiceSessionState.ERROR);
|
|
345566
|
+
this.config?.onError(new Error("Voice session ended unexpectedly. The stream could not continue."));
|
|
345567
|
+
this.stopRecordingCallback?.();
|
|
345568
|
+
}
|
|
345569
|
+
}
|
|
345337
345570
|
convertFloat32ToInt16(float32Array) {
|
|
345338
345571
|
const pcmData = new Int16Array(float32Array.length);
|
|
345339
345572
|
for (let i2 = 0; i2 < float32Array.length; i2++) {
|
|
@@ -345348,31 +345581,6 @@ class GeminiVoiceProvider {
|
|
|
345348
345581
|
setState(newState) {
|
|
345349
345582
|
this.config?.onSessionStateChange?.(newState);
|
|
345350
345583
|
}
|
|
345351
|
-
startSessionTimer() {
|
|
345352
|
-
if (this.sessionTimerRef) {
|
|
345353
|
-
clearTimeout(this.sessionTimerRef);
|
|
345354
|
-
}
|
|
345355
|
-
this.sessionTimerRef = setTimeout(() => {
|
|
345356
|
-
this.restartSession();
|
|
345357
|
-
}, 1e4);
|
|
345358
|
-
}
|
|
345359
|
-
async restartSession() {
|
|
345360
|
-
if (this.sessionRestartInProgress || !this.config || !this.audioProcessingActive) {
|
|
345361
|
-
return;
|
|
345362
|
-
}
|
|
345363
|
-
this.sessionRestartInProgress = true;
|
|
345364
|
-
this.isSessionActive = false;
|
|
345365
|
-
try {
|
|
345366
|
-
console.log("Restarting session...");
|
|
345367
|
-
await this.closeGeminiSession();
|
|
345368
|
-
await this.createGeminiSession(this.config);
|
|
345369
|
-
} catch (error) {
|
|
345370
|
-
this.setState(VoiceSessionState.ERROR);
|
|
345371
|
-
this.config?.onError(error);
|
|
345372
|
-
} finally {
|
|
345373
|
-
this.sessionRestartInProgress = false;
|
|
345374
|
-
}
|
|
345375
|
-
}
|
|
345376
345584
|
queueAudioData(base64Audio) {
|
|
345377
345585
|
this.audioQueue.push(base64Audio);
|
|
345378
345586
|
if (this.audioQueue.length > 100) {
|
|
@@ -345385,7 +345593,7 @@ class GeminiVoiceProvider {
|
|
|
345385
345593
|
}
|
|
345386
345594
|
this.audioQueue.forEach((audioData) => {
|
|
345387
345595
|
this.session.sendRealtimeInput({
|
|
345388
|
-
|
|
345596
|
+
audio: {
|
|
345389
345597
|
data: audioData,
|
|
345390
345598
|
mimeType: "audio/pcm;rate=16000"
|
|
345391
345599
|
}
|
|
@@ -345733,7 +345941,7 @@ const AudioAnalyzer = (t0) => {
|
|
|
345733
345941
|
return t6;
|
|
345734
345942
|
};
|
|
345735
345943
|
const External = Annotation.define();
|
|
345736
|
-
const COMMANDS = ["/code", "/context", "/agent", "/ask", "/architect", "/add", "/model", "/read-only", "/clear", "/web", "/task-info", "/undo", "/test", "/map-refresh", "/map", "/run", "/reasoning-effort", "/think-tokens", "/copy-context", "/tokens", "/reset", "/drop", "/redo", "/edit-last", "/compact", "/smart-compact", "/commit", "/handoff", "/init", "/clear-logs", "/resolve-conflicts", "/subtask"];
|
|
345944
|
+
const COMMANDS = ["/code", "/context", "/agent", "/ask", "/architect", "/add", "/model", "/read-only", "/clear", "/web", "/task-info", "/undo", "/test", "/map-refresh", "/map", "/run", "/reasoning-effort", "/think-tokens", "/copy-context", "/tokens", "/reset", "/drop", "/redo", "/edit-last", "/compact", "/smart-compact", "/commit", "/handoff", "/init", "/clear-logs", "/resolve-conflicts", "/subtask", "/subagent"];
|
|
345737
345945
|
const ANSWERS = ["y", "n", "a", "d", "maybe"];
|
|
345738
345946
|
const HISTORY_MENU_CHUNK_SIZE = 20;
|
|
345739
345947
|
const PLACEHOLDER_COUNT = 20;
|
|
@@ -345844,6 +346052,12 @@ const PromptField = reactExports.forwardRef(({
|
|
|
345844
346052
|
const editorRef = reactExports.useRef(null);
|
|
345845
346053
|
const [customCommands, extensionCommands] = useCommands(baseDir);
|
|
345846
346054
|
const api = useApi();
|
|
346055
|
+
const {
|
|
346056
|
+
getProfiles
|
|
346057
|
+
} = useAgents();
|
|
346058
|
+
const subagentProfiles = reactExports.useMemo(() => {
|
|
346059
|
+
return getProfiles(baseDir).filter((p3) => p3.subagent.enabled);
|
|
346060
|
+
}, [getProfiles, baseDir]);
|
|
345847
346061
|
const {
|
|
345848
346062
|
isRecording,
|
|
345849
346063
|
isProcessing,
|
|
@@ -345914,9 +346128,9 @@ const PromptField = reactExports.forwardRef(({
|
|
|
345914
346128
|
const [command2, ...args] = parseCommandArgs(text22);
|
|
345915
346129
|
const allCommands = [...customCommands, ...extensionCommands];
|
|
345916
346130
|
const cmd2 = allCommands.find((c3) => `/${c3.name}` === command2);
|
|
345917
|
-
const argIndex = args.length - 1;
|
|
346131
|
+
const argIndex = text22.endsWith(" ") ? args.length : args.length - 1;
|
|
345918
346132
|
if (cmd2?.arguments?.[argIndex]?.options) {
|
|
345919
|
-
const currentArg = args[argIndex];
|
|
346133
|
+
const currentArg = args[argIndex] ?? "";
|
|
345920
346134
|
return {
|
|
345921
346135
|
from: state2.doc.length - currentArg.length,
|
|
345922
346136
|
options: cmd2.arguments[argIndex].options.map((opt) => ({
|
|
@@ -345926,6 +346140,18 @@ const PromptField = reactExports.forwardRef(({
|
|
|
345926
346140
|
validFor: /^\S*$/
|
|
345927
346141
|
};
|
|
345928
346142
|
}
|
|
346143
|
+
if (command2 === "/subagent" && argIndex === 0) {
|
|
346144
|
+
const currentArg = args[0] ?? "";
|
|
346145
|
+
const subagentIds = subagentProfiles.map((p3) => getSubagentId(p3));
|
|
346146
|
+
return {
|
|
346147
|
+
from: state2.doc.length - currentArg.length,
|
|
346148
|
+
options: subagentIds.map((id33) => ({
|
|
346149
|
+
label: id33,
|
|
346150
|
+
type: "variable"
|
|
346151
|
+
})),
|
|
346152
|
+
validFor: /^\S*$/
|
|
346153
|
+
};
|
|
346154
|
+
}
|
|
345929
346155
|
}
|
|
345930
346156
|
if (!word2 || word2.from === word2.to && !context.explicit) {
|
|
345931
346157
|
return null;
|
|
@@ -345949,7 +346175,7 @@ const PromptField = reactExports.forwardRef(({
|
|
|
345949
346175
|
if (text22.startsWith("/")) {
|
|
345950
346176
|
if (text22.includes(" ")) {
|
|
345951
346177
|
const [command2, ...args] = parseCommandArgs(text22);
|
|
345952
|
-
const currentArg = args[args.length - 1];
|
|
346178
|
+
const currentArg = args[args.length - 1] ?? "";
|
|
345953
346179
|
if (command2 === "/add" || command2 === "/read-only") {
|
|
345954
346180
|
const files = await api.getAddableFiles(baseDir, taskId);
|
|
345955
346181
|
return {
|
|
@@ -345981,7 +346207,7 @@ const PromptField = reactExports.forwardRef(({
|
|
|
345981
346207
|
type: "text"
|
|
345982
346208
|
}))
|
|
345983
346209
|
};
|
|
345984
|
-
}, [customCommands, extensionCommands, promptBehavior2.suggestionMode, allFiles, api, baseDir, taskId, words]);
|
|
346210
|
+
}, [customCommands, extensionCommands, promptBehavior2.suggestionMode, allFiles, api, baseDir, taskId, words, subagentProfiles]);
|
|
345985
346211
|
const allHistoryItems = reactExports.useMemo(() => historyMenuVisible && debouncedText.trim().length > 0 ? inputHistory.filter((item) => item.toLowerCase().includes(debouncedText.trim().toLowerCase())) : inputHistory, [historyMenuVisible, debouncedText, inputHistory]);
|
|
345986
346212
|
const historyItems = reactExports.useMemo(() => allHistoryItems.slice(0, historyLimit), [allHistoryItems, historyLimit]);
|
|
345987
346213
|
const loadMoreHistory = reactExports.useCallback(() => {
|
|
@@ -346211,6 +346437,9 @@ ${textToAppend}` : textToAppend;
|
|
|
346211
346437
|
}, [isActive, disabled]);
|
|
346212
346438
|
reactExports.useEffect(() => {
|
|
346213
346439
|
const commandMatch = COMMANDS.find((cmd2) => {
|
|
346440
|
+
if (cmd2 === "/subagent") {
|
|
346441
|
+
return false;
|
|
346442
|
+
}
|
|
346214
346443
|
if (text2 === cmd2) {
|
|
346215
346444
|
return true;
|
|
346216
346445
|
}
|
|
@@ -346269,6 +346498,22 @@ ${textToAppend}` : textToAppend;
|
|
|
346269
346498
|
showErrorNotification(t2("promptField.invalidCommand"));
|
|
346270
346499
|
return;
|
|
346271
346500
|
}
|
|
346501
|
+
if (cmd2 === "subagent") {
|
|
346502
|
+
const subagentId = args[0];
|
|
346503
|
+
if (!subagentId) {
|
|
346504
|
+
showErrorNotification(t2("promptField.invalidCommand"));
|
|
346505
|
+
return;
|
|
346506
|
+
}
|
|
346507
|
+
const matchedProfile = subagentProfiles.find((p3) => getSubagentId(p3) === subagentId || p3.name === subagentId);
|
|
346508
|
+
if (!matchedProfile) {
|
|
346509
|
+
showErrorNotification(`Subagent '${subagentId}' not found`);
|
|
346510
|
+
return;
|
|
346511
|
+
}
|
|
346512
|
+
const subagentPrompt = args.slice(1).join(" ").trim();
|
|
346513
|
+
prepareForNextPrompt();
|
|
346514
|
+
runCommand(`subagent ${getSubagentId(matchedProfile)} ${subagentPrompt}`);
|
|
346515
|
+
return;
|
|
346516
|
+
}
|
|
346272
346517
|
}
|
|
346273
346518
|
if (pendingCommand) {
|
|
346274
346519
|
prepareForNextPrompt();
|
|
@@ -346281,7 +346526,7 @@ ${textToAppend}` : textToAppend;
|
|
|
346281
346526
|
}
|
|
346282
346527
|
setPlaceholderIndex(Math.floor(Math.random() * PLACEHOLDER_COUNT));
|
|
346283
346528
|
}
|
|
346284
|
-
}, [scrollToBottom, stopRecording, text2, pastedImages, customCommands, extensionCommands, api, baseDir, taskId, mode2, prepareForNextPrompt, pendingCommand, handleConfirmCommand, runPrompt, t2]);
|
|
346529
|
+
}, [scrollToBottom, stopRecording, text2, pastedImages, customCommands, extensionCommands, api, baseDir, taskId, mode2, prepareForNextPrompt, pendingCommand, handleConfirmCommand, runPrompt, runCommand, subagentProfiles, t2]);
|
|
346285
346530
|
const handleSavePrompt = async () => {
|
|
346286
346531
|
if (text2) {
|
|
346287
346532
|
try {
|
|
@@ -346536,7 +346781,7 @@ ${textToAppend}` : textToAppend;
|
|
|
346536
346781
|
const [vimExtension, setVimExtension] = reactExports.useState(null);
|
|
346537
346782
|
reactExports.useEffect(() => {
|
|
346538
346783
|
if (promptBehavior2.useVimBindings && !vimExtension) {
|
|
346539
|
-
void __vitePreload(() => import("./index-
|
|
346784
|
+
void __vitePreload(() => import("./index-D3R9tjiT.js"), true ? [] : void 0, import.meta.url).then((module2) => {
|
|
346540
346785
|
setVimExtension(module2.vim());
|
|
346541
346786
|
});
|
|
346542
346787
|
}
|
|
@@ -346640,107 +346885,6 @@ const McpServerSelectorItem = ({
|
|
|
346640
346885
|
}) })
|
|
346641
346886
|
] });
|
|
346642
346887
|
};
|
|
346643
|
-
const AgentsContext = reactExports.createContext(void 0);
|
|
346644
|
-
const AgentsProvider = ({
|
|
346645
|
-
children: children2
|
|
346646
|
-
}) => {
|
|
346647
|
-
const [profiles, setProfiles] = reactExports.useState([]);
|
|
346648
|
-
const [optimisticProfiles, setOptimisticProfiles] = reactExports.useOptimistic(profiles);
|
|
346649
|
-
const [loading, setLoading] = reactExports.useState(true);
|
|
346650
|
-
const [error, setError] = reactExports.useState(null);
|
|
346651
|
-
const api = useApi();
|
|
346652
|
-
const refreshProfiles = reactExports.useCallback(async () => {
|
|
346653
|
-
try {
|
|
346654
|
-
setLoading(true);
|
|
346655
|
-
setError(null);
|
|
346656
|
-
const result = await api.getAllAgentProfiles();
|
|
346657
|
-
setProfiles(result);
|
|
346658
|
-
} catch (err) {
|
|
346659
|
-
setError(err instanceof Error ? err.message : "Failed to load agent profiles");
|
|
346660
|
-
} finally {
|
|
346661
|
-
setLoading(false);
|
|
346662
|
-
}
|
|
346663
|
-
}, [api]);
|
|
346664
|
-
const getProfiles = reactExports.useCallback((projectDir) => {
|
|
346665
|
-
return optimisticProfiles.filter((p3) => p3.projectDir === projectDir || !p3.projectDir);
|
|
346666
|
-
}, [optimisticProfiles]);
|
|
346667
|
-
const createProfile = reactExports.useCallback(async (profile, projectDir_0) => {
|
|
346668
|
-
try {
|
|
346669
|
-
reactExports.startTransition(async () => {
|
|
346670
|
-
setOptimisticProfiles((current) => [...current, profile]);
|
|
346671
|
-
await api.createAgentProfile(profile, projectDir_0);
|
|
346672
|
-
await refreshProfiles();
|
|
346673
|
-
});
|
|
346674
|
-
} catch (err_0) {
|
|
346675
|
-
setError(err_0 instanceof Error ? err_0.message : "Failed to create agent profile");
|
|
346676
|
-
throw err_0;
|
|
346677
|
-
}
|
|
346678
|
-
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
346679
|
-
const updateProfile = reactExports.useCallback(async (profile_0, projectDir_1) => {
|
|
346680
|
-
try {
|
|
346681
|
-
reactExports.startTransition(async () => {
|
|
346682
|
-
setOptimisticProfiles((current_0) => current_0.map((p_0) => p_0.id === profile_0.id ? profile_0 : p_0));
|
|
346683
|
-
await api.updateAgentProfile(profile_0, projectDir_1);
|
|
346684
|
-
await refreshProfiles();
|
|
346685
|
-
});
|
|
346686
|
-
} catch (err_1) {
|
|
346687
|
-
setError(err_1 instanceof Error ? err_1.message : "Failed to update agent profile");
|
|
346688
|
-
throw err_1;
|
|
346689
|
-
}
|
|
346690
|
-
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
346691
|
-
const deleteProfile = reactExports.useCallback(async (profileId, projectDir_2) => {
|
|
346692
|
-
try {
|
|
346693
|
-
reactExports.startTransition(async () => {
|
|
346694
|
-
setOptimisticProfiles((current_1) => current_1.filter((p_1) => p_1.id !== profileId));
|
|
346695
|
-
await api.deleteAgentProfile(profileId, projectDir_2);
|
|
346696
|
-
await refreshProfiles();
|
|
346697
|
-
});
|
|
346698
|
-
} catch (err_2) {
|
|
346699
|
-
setError(err_2 instanceof Error ? err_2.message : "Failed to delete agent profile");
|
|
346700
|
-
throw err_2;
|
|
346701
|
-
}
|
|
346702
|
-
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
346703
|
-
const updateProfilesOrder = reactExports.useCallback(async (agentProfiles2) => {
|
|
346704
|
-
try {
|
|
346705
|
-
reactExports.startTransition(async () => {
|
|
346706
|
-
setOptimisticProfiles(agentProfiles2);
|
|
346707
|
-
await api.updateAgentProfilesOrder(agentProfiles2);
|
|
346708
|
-
await refreshProfiles();
|
|
346709
|
-
});
|
|
346710
|
-
} catch (err_3) {
|
|
346711
|
-
setError(err_3 instanceof Error ? err_3.message : "Failed to update agent profiles order");
|
|
346712
|
-
throw err_3;
|
|
346713
|
-
}
|
|
346714
|
-
}, [api, refreshProfiles, setOptimisticProfiles]);
|
|
346715
|
-
reactExports.useEffect(() => {
|
|
346716
|
-
void refreshProfiles();
|
|
346717
|
-
const unsubscribe = api.addAgentProfilesUpdatedListener((data) => {
|
|
346718
|
-
setProfiles(data.profiles);
|
|
346719
|
-
});
|
|
346720
|
-
return () => {
|
|
346721
|
-
unsubscribe();
|
|
346722
|
-
};
|
|
346723
|
-
}, [api, refreshProfiles]);
|
|
346724
|
-
const value2 = reactExports.useMemo(() => ({
|
|
346725
|
-
profiles: optimisticProfiles,
|
|
346726
|
-
loading,
|
|
346727
|
-
error,
|
|
346728
|
-
createProfile,
|
|
346729
|
-
updateProfile,
|
|
346730
|
-
deleteProfile,
|
|
346731
|
-
refreshProfiles,
|
|
346732
|
-
getProfiles,
|
|
346733
|
-
updateProfilesOrder
|
|
346734
|
-
}), [optimisticProfiles, loading, error, createProfile, updateProfile, deleteProfile, refreshProfiles, getProfiles, updateProfilesOrder]);
|
|
346735
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(AgentsContext.Provider, { value: value2, children: children2 });
|
|
346736
|
-
};
|
|
346737
|
-
const useAgents = () => {
|
|
346738
|
-
const context = reactExports.useContext(AgentsContext);
|
|
346739
|
-
if (context === void 0) {
|
|
346740
|
-
throw new Error("useAgents must be used within an AgentsProvider");
|
|
346741
|
-
}
|
|
346742
|
-
return context;
|
|
346743
|
-
};
|
|
346744
346888
|
const useTaskToolHandlers = (baseDir, taskId) => {
|
|
346745
346889
|
const api = useApi();
|
|
346746
346890
|
const handleTodoTool = reactExports.useCallback((toolName, args, response) => {
|
|
@@ -347807,14 +347951,11 @@ const AgentSelector = reactExports.memo(({
|
|
|
347807
347951
|
setSelectorVisible(false);
|
|
347808
347952
|
}
|
|
347809
347953
|
};
|
|
347810
|
-
const
|
|
347811
|
-
|
|
347812
|
-
|
|
347813
|
-
|
|
347814
|
-
|
|
347815
|
-
});
|
|
347816
|
-
AgentSelector.displayName = "AgentSelector";
|
|
347817
|
-
}
|
|
347954
|
+
const handleUseAsProjectDefault = async (profileId_0) => {
|
|
347955
|
+
setSelectorVisible(false);
|
|
347956
|
+
await saveProjectSettings({
|
|
347957
|
+
agentProfileId: profileId_0
|
|
347958
|
+
});
|
|
347818
347959
|
};
|
|
347819
347960
|
const handleToggleServer = (serverName_1) => {
|
|
347820
347961
|
if (activeGlobalProfile) {
|
|
@@ -347845,12 +347986,42 @@ const AgentSelector = reactExports.memo(({
|
|
|
347845
347986
|
const toggleSelectorVisible = () => {
|
|
347846
347987
|
setSelectorVisible((prev2) => !prev2);
|
|
347847
347988
|
};
|
|
347848
|
-
const handleOpenAgentProfiles = () => {
|
|
347849
|
-
showSettingsPage?.("agents",
|
|
347850
|
-
agentProfileId:
|
|
347851
|
-
}
|
|
347989
|
+
const handleOpenAgentProfiles = (profileId_1) => {
|
|
347990
|
+
showSettingsPage?.("agents", {
|
|
347991
|
+
agentProfileId: profileId_1
|
|
347992
|
+
});
|
|
347852
347993
|
setSelectorVisible(false);
|
|
347853
347994
|
};
|
|
347995
|
+
const handleToggleSubagent = (subagentProfile) => {
|
|
347996
|
+
if (!activeGlobalProfile) {
|
|
347997
|
+
return;
|
|
347998
|
+
}
|
|
347999
|
+
const availableSubagents = profiles.filter((p_1) => isSubagentEnabled(p_1));
|
|
348000
|
+
const allSubagentIds = availableSubagents.filter((p_2) => p_2.id !== activeGlobalProfile.id).map((p_3) => p_3.id);
|
|
348001
|
+
const isCurrentlyEnabled = isSubagentEnabled(subagentProfile, activeGlobalProfile);
|
|
348002
|
+
let newEnabledSubagentIds;
|
|
348003
|
+
if (isCurrentlyEnabled) {
|
|
348004
|
+
newEnabledSubagentIds = allSubagentIds.filter((id33) => id33 !== subagentProfile.id);
|
|
348005
|
+
} else {
|
|
348006
|
+
const currentEnabled = activeGlobalProfile.enabledSubagentIds || allSubagentIds;
|
|
348007
|
+
newEnabledSubagentIds = [...currentEnabled, subagentProfile.id];
|
|
348008
|
+
}
|
|
348009
|
+
const updatedProfile_1 = {
|
|
348010
|
+
...activeGlobalProfile,
|
|
348011
|
+
enabledSubagentIds: newEnabledSubagentIds
|
|
348012
|
+
};
|
|
348013
|
+
void updateProfile(updatedProfile_1);
|
|
348014
|
+
};
|
|
348015
|
+
const availableSubagents_0 = profiles.filter((p_4) => isSubagentEnabled(p_4));
|
|
348016
|
+
const enabledSubagentCount = availableSubagents_0.filter((p_5) => isSubagentEnabled(p_5, activeGlobalProfile)).length;
|
|
348017
|
+
const getSubagentTooltipContent = (profile) => {
|
|
348018
|
+
const firstLine = profile.subagent.invocationMode === InvocationMode.Automatic ? t2("settings.agent.subagent.automaticSubagent") : t2("settings.agent.subagent.onDemandSubagent");
|
|
348019
|
+
if (profile.subagent.invocationMode === InvocationMode.Automatic && profile.subagent.description) {
|
|
348020
|
+
return `${firstLine}
|
|
348021
|
+
${profile.subagent.description}`;
|
|
348022
|
+
}
|
|
348023
|
+
return firstLine;
|
|
348024
|
+
};
|
|
347854
348025
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative", ref: selectorRef, children: [
|
|
347855
348026
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("button", { onClick: toggleSelectorVisible, className: clsx$1("flex items-center gap-1.5 px-2", "bg-bg-secondary text-text-tertiary", "hover:bg-bg-secondary-light hover:text-text-primary", "focus:outline-none transition-colors duration-200", "text-xs border-border-default border rounded-md h-[26px]"), children: [
|
|
347856
348027
|
/* @__PURE__ */ jsxRuntimeExports.jsx(RiToolsFill, { className: "w-3.5 h-3.5" }),
|
|
@@ -347868,26 +348039,23 @@ const AgentSelector = reactExports.memo(({
|
|
|
347868
348039
|
activeTaskProfile.useMemoryTools && /* @__PURE__ */ jsxRuntimeExports.jsx(LuBrain, { className: "w-3 h-3 text-agent-memory-tools opacity-70" }),
|
|
347869
348040
|
activeTaskProfile.useSkillsTools && /* @__PURE__ */ jsxRuntimeExports.jsx(MdPsychology, { className: "w-3.5 h-3.5 text-agent-skills-tools opacity-70" }),
|
|
347870
348041
|
activeTaskProfile.useSubagents && /* @__PURE__ */ jsxRuntimeExports.jsx(HiUserGroup, { className: "w-3.5 h-3.5 text-agent-subagents-tools opacity-70" }),
|
|
347871
|
-
activeTaskProfile.includeContextFiles && /* @__PURE__ */ jsxRuntimeExports.jsx(MdOutlineFileCopy, { className: "w
|
|
347872
|
-
activeTaskProfile.includeRepoMap && /* @__PURE__ */ jsxRuntimeExports.jsx(MdOutlineMap, { className: "w
|
|
348042
|
+
activeTaskProfile.includeContextFiles && /* @__PURE__ */ jsxRuntimeExports.jsx(MdOutlineFileCopy, { className: "w h-3 text-agent-context-files opacity-70" }),
|
|
348043
|
+
activeTaskProfile.includeRepoMap && /* @__PURE__ */ jsxRuntimeExports.jsx(MdOutlineMap, { className: "w h-3 text-agent-repo-map opacity-70" })
|
|
347873
348044
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-2xs truncate max-w-[250px] -mb-0.5", children: t2("agentProfiles.selectProfile") })
|
|
347874
348045
|
] }),
|
|
347875
348046
|
selectorVisible && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute bottom-full left-0 mb-1 bg-bg-primary-light border border-border-default-dark rounded-md shadow-lg z-50 min-w-[290px] max-w-[380px] max-w-[calc(100vw-20px)]", children: [
|
|
347876
348047
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "py-2 border-b border-border-default-dark", children: [
|
|
347877
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
347878
|
-
|
|
348048
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-between mb-2 pl-3 pr-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-medium text-text-secondary uppercase", children: t2("agentProfiles.title") }) }),
|
|
348049
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "max-h-[250px] overflow-y-auto scrollbar-thin scrollbar-thumb-bg-secondary-light scrollbar-track-bg-primary-light", children: profiles.map((profile_0) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1("group flex items-center px-2 py-1 cursor-pointer transition-colors text-2xs relative", profile_0.id === activeTaskProfile?.id ? "bg-bg-secondary-light text-text-primary" : "hover:bg-bg-secondary-light text-text-tertiary"), onClick: () => handleSwitchProfile(profile_0.id), children: [
|
|
348050
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate flex-1 ml-1", children: profile_0.name }),
|
|
347879
348051
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
347880
|
-
|
|
347881
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
347882
|
-
] })
|
|
347883
|
-
|
|
347884
|
-
|
|
347885
|
-
|
|
347886
|
-
|
|
347887
|
-
profile.name,
|
|
347888
|
-
" "
|
|
347889
|
-
] })
|
|
347890
|
-
] }, profile.id)) })
|
|
348052
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(BiCog, { className: "w-3 h-3 opacity-0 group-hover:opacity-100 transition-opacity" }), onClick: () => handleOpenAgentProfiles(profile_0.id), className: "p-1 hover:bg-bg-secondary rounded-md", tooltip: t2("agentProfiles.editProfile") }),
|
|
348053
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MdCheck, { className: clsx$1("w-3 h-3", profile_0.id === projectSettings?.agentProfileId ? "text-success" : "opacity-0 group-hover:opacity-100 transition-opacity") }), onClick: () => handleUseAsProjectDefault(profile_0.id), className: "p-1 hover:bg-bg-secondary rounded-md", tooltip: t2("agentProfiles.useAsProjectDefault") })
|
|
348054
|
+
] }),
|
|
348055
|
+
profile_0.subagent.enabled && /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { content: getSubagentTooltipContent(profile_0), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2.5 h-2.5 rounded-full ml-1 flex-shrink-0", style: {
|
|
348056
|
+
backgroundColor: profile_0.subagent.color
|
|
348057
|
+
} }) })
|
|
348058
|
+
] }, profile_0.id)) })
|
|
347891
348059
|
] }),
|
|
347892
348060
|
activeTaskProfile && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border-b border-border-default-dark", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center w-full", children: [
|
|
347893
348061
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs flex-1 font-medium text-text-secondary text-left px-1 uppercase", children: t2("mcp.servers") }),
|
|
@@ -347897,6 +348065,20 @@ const AgentSelector = reactExports.memo(({
|
|
|
347897
348065
|
Object.keys(mcpServers || {}).length
|
|
347898
348066
|
] })
|
|
347899
348067
|
] }), chevronPosition: "right", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "max-h-[400px] overflow-y-auto scrollbar-thin scrollbar-thumb-bg-secondary-light scrollbar-track-bg-primary-light pb-2", children: Object.keys(mcpServers || {}).length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-2 text-xs text-text-muted italic", children: t2("settings.agent.noServersConfiguredGlobal") }) : Object.keys(mcpServers || {}).map((serverName_3) => /* @__PURE__ */ jsxRuntimeExports.jsx(McpServerSelectorItem, { serverName: serverName_3, disabled: !enabledServers.includes(serverName_3), toolApprovals: activeTaskProfile?.toolApprovals || {}, onToggle: handleToggleServer }, serverName_3)) }) }) }),
|
|
348068
|
+
activeTaskProfile?.useSubagents && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border-b border-border-default-dark", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Accordion, { title: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center w-full", children: [
|
|
348069
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs flex-1 font-medium text-text-secondary text-left px-1 uppercase", children: t2("settings.agent.tabs.subagents") }),
|
|
348070
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "text-2xs text-text-tertiary bg-secondary-light px-1.5 py-0.5 rounded", children: [
|
|
348071
|
+
enabledSubagentCount,
|
|
348072
|
+
"/",
|
|
348073
|
+
availableSubagents_0.length
|
|
348074
|
+
] })
|
|
348075
|
+
] }), chevronPosition: "right", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "max-h-[400px] overflow-y-auto scrollbar-thin scrollbar-thumb-bg-secondary-light scrollbar-track-bg-primary-light pb-2", children: availableSubagents_0.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "py-2 text-xs text-text-muted italic", children: t2("settings.agent.subagent.noSubagentsAvailable") }) : availableSubagents_0.map((subagentProfile_0) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 px-3 py-1", children: [
|
|
348076
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { checked: isSubagentEnabled(subagentProfile_0, activeGlobalProfile), onChange: () => handleToggleSubagent(subagentProfile_0), size: "xs" }),
|
|
348077
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate flex-1 text-2xs text-text-tertiary", children: subagentProfile_0.name }),
|
|
348078
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { content: getSubagentTooltipContent(subagentProfile_0), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2.5 h-2.5 rounded-full flex-shrink-0", style: {
|
|
348079
|
+
backgroundColor: subagentProfile_0.subagent.color
|
|
348080
|
+
} }) })
|
|
348081
|
+
] }, subagentProfile_0.id)) }) }) }),
|
|
347900
348082
|
activeTaskProfile && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-end", children: [
|
|
347901
348083
|
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MdOutlineHdrAuto, { className: clsx$1("w-3.5 h-3.5", activeTaskProfile.useAiderTools ? "text-agent-aider-tools" : "text-text-muted opacity-50") }), onClick: () => handleToggleProfileSetting("useAiderTools", !activeTaskProfile.useAiderTools), className: "p-1.5 hover:bg-bg-secondary rounded-md", tooltip: t2("settings.agent.useAiderTools") }),
|
|
347902
348084
|
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MdFlashOn, { className: clsx$1("w-3.5 h-3.5", activeTaskProfile.usePowerTools ? "text-agent-power-tools" : "text-text-muted opacity-50") }), onClick: () => handleToggleProfileSetting("usePowerTools", !activeTaskProfile.usePowerTools), className: "p-1.5 hover:bg-bg-secondary rounded-md", tooltip: t2("settings.agent.usePowerTools") }),
|
|
@@ -347913,6 +348095,7 @@ const AgentSelector = reactExports.memo(({
|
|
|
347913
348095
|
}, (prevProps, nextProps) => {
|
|
347914
348096
|
return prevProps.projectDir === nextProps.projectDir && prevProps.task.id === nextProps.task.id && prevProps.task.agentProfileId === nextProps.task.agentProfileId && prevProps.isActive === nextProps.isActive && prevProps.showSettingsPage === nextProps.showSettingsPage;
|
|
347915
348097
|
});
|
|
348098
|
+
AgentSelector.displayName = "AgentSelector";
|
|
347916
348099
|
function TbAccessibleFilled(props) {
|
|
347917
348100
|
return GenIcon({ "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.051 6.844a1 1 0 0 0 -1.152 -.663l-.113 .03l-2.684 .895l-2.684 -.895l-.113 -.03a1 1 0 0 0 -.628 1.884l.109 .044l2.316 .771v.976l-1.832 2.75l-.06 .1a1 1 0 0 0 .237 1.21l.1 .076l.101 .06a1 1 0 0 0 1.21 -.237l.076 -.1l1.168 -1.752l1.168 1.752l.07 .093a1 1 0 0 0 1.653 -1.102l-.059 -.1l-1.832 -2.75v-.977l2.316 -.771l.109 -.044a1 1 0 0 0 .524 -1.221zm-3.949 -4.184a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0 -3z" }, "child": [] }] })(props);
|
|
347918
348101
|
}
|
|
@@ -386674,20 +386857,41 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386674
386857
|
showErrorNotification(t2("errors.removeMessageFailed"));
|
|
386675
386858
|
}
|
|
386676
386859
|
}, [setMessages2, task.id, api, projectDir, t2]);
|
|
386677
|
-
const
|
|
386860
|
+
const handleRemoveGroup = reactExports.useCallback(async (group) => {
|
|
386678
386861
|
const originalMessages_0 = useTaskStore.getState().taskMessagesMap.get(task.id) ?? [];
|
|
386679
|
-
|
|
386680
|
-
|
|
386862
|
+
const childIds = new Set(group.children.map((child) => child.id));
|
|
386863
|
+
setMessages2(task.id, (prevMessages_4) => prevMessages_4.filter((msg_2) => !childIds.has(msg_2.id)));
|
|
386864
|
+
const firstChild = group.children[0];
|
|
386865
|
+
if (!firstChild) {
|
|
386866
|
+
return;
|
|
386867
|
+
}
|
|
386868
|
+
try {
|
|
386869
|
+
await api.removeMessage(projectDir, task.id, firstChild.id);
|
|
386870
|
+
} catch (error_1) {
|
|
386871
|
+
console.error("Failed to remove group:", error_1);
|
|
386872
|
+
setMessages2(task.id, () => originalMessages_0);
|
|
386873
|
+
showErrorNotification(t2("errors.removeMessageFailed"));
|
|
386874
|
+
}
|
|
386875
|
+
}, [setMessages2, task.id, api, projectDir, t2]);
|
|
386876
|
+
const handleRemoveUpToMessage = reactExports.useCallback(async (messageToRemove_0) => {
|
|
386877
|
+
const originalMessages_1 = useTaskStore.getState().taskMessagesMap.get(task.id) ?? [];
|
|
386878
|
+
setMessages2(task.id, (prevMessages_5) => {
|
|
386879
|
+
const messageIndex_0 = prevMessages_5.findIndex((msg_3) => msg_3.id === messageToRemove_0.id);
|
|
386681
386880
|
if (messageIndex_0 === -1) {
|
|
386682
|
-
return
|
|
386881
|
+
return prevMessages_5;
|
|
386882
|
+
}
|
|
386883
|
+
const groupId = messageToRemove_0.promptContext?.group?.id;
|
|
386884
|
+
if (groupId) {
|
|
386885
|
+
const lastGroupChildIndex = prevMessages_5.reduce((lastIdx, msg_4, idx) => idx >= messageIndex_0 && msg_4.promptContext?.group?.id === groupId ? idx : lastIdx, messageIndex_0);
|
|
386886
|
+
return prevMessages_5.slice(0, lastGroupChildIndex + 1);
|
|
386683
386887
|
}
|
|
386684
|
-
return
|
|
386888
|
+
return prevMessages_5.slice(0, messageIndex_0 + 1);
|
|
386685
386889
|
});
|
|
386686
386890
|
try {
|
|
386687
386891
|
await api.removeMessagesUpTo(projectDir, task.id, messageToRemove_0.id);
|
|
386688
|
-
} catch (
|
|
386689
|
-
console.error("Failed to remove messages up to:",
|
|
386690
|
-
setMessages2(task.id, () =>
|
|
386892
|
+
} catch (error_2) {
|
|
386893
|
+
console.error("Failed to remove messages up to:", error_2);
|
|
386894
|
+
setMessages2(task.id, () => originalMessages_1);
|
|
386691
386895
|
showErrorNotification(t2("errors.removeMessagesUpToFailed"));
|
|
386692
386896
|
}
|
|
386693
386897
|
}, [setMessages2, task.id, api, projectDir, t2]);
|
|
@@ -386695,8 +386899,8 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386695
386899
|
try {
|
|
386696
386900
|
const updatedTodos = await api.addTodo(projectDir, task.id, name2);
|
|
386697
386901
|
setTodoItems2(task.id, () => updatedTodos);
|
|
386698
|
-
} catch (
|
|
386699
|
-
console.error("Error adding todo:",
|
|
386902
|
+
} catch (error_3) {
|
|
386903
|
+
console.error("Error adding todo:", error_3);
|
|
386700
386904
|
}
|
|
386701
386905
|
}, [api, projectDir, task.id, setTodoItems2]);
|
|
386702
386906
|
const handleToggleTodo = reactExports.useCallback(async (name_0, completed) => {
|
|
@@ -386705,32 +386909,32 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386705
386909
|
completed
|
|
386706
386910
|
});
|
|
386707
386911
|
setTodoItems2(task.id, () => updatedTodos_0);
|
|
386708
|
-
} catch (
|
|
386709
|
-
console.error("Error toggling todo:",
|
|
386912
|
+
} catch (error_4) {
|
|
386913
|
+
console.error("Error toggling todo:", error_4);
|
|
386710
386914
|
}
|
|
386711
386915
|
}, [api, projectDir, task.id, setTodoItems2]);
|
|
386712
386916
|
const handleUpdateTodo = reactExports.useCallback(async (name_1, updates) => {
|
|
386713
386917
|
try {
|
|
386714
386918
|
const updatedTodos_1 = await api.updateTodo(projectDir, task.id, name_1, updates);
|
|
386715
386919
|
setTodoItems2(task.id, () => updatedTodos_1);
|
|
386716
|
-
} catch (
|
|
386717
|
-
console.error("Error updating todo:",
|
|
386920
|
+
} catch (error_5) {
|
|
386921
|
+
console.error("Error updating todo:", error_5);
|
|
386718
386922
|
}
|
|
386719
386923
|
}, [api, projectDir, task.id, setTodoItems2]);
|
|
386720
386924
|
const handleDeleteTodo = reactExports.useCallback(async (name_2) => {
|
|
386721
386925
|
try {
|
|
386722
386926
|
const updatedTodos_2 = await api.deleteTodo(projectDir, task.id, name_2);
|
|
386723
386927
|
setTodoItems2(task.id, () => updatedTodos_2);
|
|
386724
|
-
} catch (
|
|
386725
|
-
console.error("Error deleting todo:",
|
|
386928
|
+
} catch (error_6) {
|
|
386929
|
+
console.error("Error deleting todo:", error_6);
|
|
386726
386930
|
}
|
|
386727
386931
|
}, [api, projectDir, task.id, setTodoItems2]);
|
|
386728
386932
|
const handleClearAllTodos = reactExports.useCallback(async () => {
|
|
386729
386933
|
try {
|
|
386730
386934
|
const updatedTodos_3 = await api.clearAllTodos(projectDir, task.id);
|
|
386731
386935
|
setTodoItems2(task.id, () => updatedTodos_3);
|
|
386732
|
-
} catch (
|
|
386733
|
-
console.error("Error clearing all todos:",
|
|
386936
|
+
} catch (error_7) {
|
|
386937
|
+
console.error("Error clearing all todos:", error_7);
|
|
386734
386938
|
}
|
|
386735
386939
|
}, [api, projectDir, task.id, setTodoItems2]);
|
|
386736
386940
|
const handleToggleTaskInfoPanel = reactExports.useCallback(() => {
|
|
@@ -386780,8 +386984,8 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386780
386984
|
const handleHandoff = reactExports.useCallback(async (focus) => {
|
|
386781
386985
|
try {
|
|
386782
386986
|
await api.handoffConversation(projectDir, task.id, focus);
|
|
386783
|
-
} catch (
|
|
386784
|
-
showErrorNotification(
|
|
386987
|
+
} catch (error_8) {
|
|
386988
|
+
showErrorNotification(error_8 instanceof Error ? error_8.message : String(error_8));
|
|
386785
386989
|
}
|
|
386786
386990
|
}, [api, projectDir, task.id]);
|
|
386787
386991
|
const handleCreateSubtask = reactExports.useCallback(async (args) => {
|
|
@@ -386791,8 +386995,8 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386791
386995
|
name: args || void 0,
|
|
386792
386996
|
activate: true
|
|
386793
386997
|
});
|
|
386794
|
-
} catch (
|
|
386795
|
-
showErrorNotification(
|
|
386998
|
+
} catch (error_9) {
|
|
386999
|
+
showErrorNotification(error_9 instanceof Error ? error_9.message : String(error_9));
|
|
386796
387000
|
}
|
|
386797
387001
|
}, [api, projectDir, task.id]);
|
|
386798
387002
|
const handleShowFileDialog = reactExports.useCallback(() => {
|
|
@@ -386819,7 +387023,7 @@ const TaskView = reactExports.forwardRef(({
|
|
|
386819
387023
|
renderSearchInput(),
|
|
386820
387024
|
!loading && todoListVisible && /* @__PURE__ */ jsxRuntimeExports.jsx(TodoWindow, { taskId: task.id, onToggleTodo: handleToggleTodo, onAddTodo: handleAddTodo, onUpdateTodo: handleUpdateTodo, onDeleteTodo: handleDeleteTodo, onHandoffTodo: handleHandoff, onClearAllTodos: handleClearAllTodos }),
|
|
386821
387025
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ExtensionComponentWrapper, { placement: "task-messages-top" }),
|
|
386822
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "overflow-hidden flex-grow relative", children: displayedMessages.length === 0 && !loading && !messagesPending && !inProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx(WelcomeMessage, { onModeChange: handleModeChange, mode: currentMode, projectDir, taskId: task.id }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: fullMessageRendering ? /* @__PURE__ */ jsxRuntimeExports.jsx(Messages, { ref: setMessagesRef, baseDir: projectDir, taskId: task.id, inProgress, messages: displayedMessages, allFiles, renderMarkdown, removeMessage: handleRemoveMessage, redoUserPrompt: handleRedoUserPrompt, editUserMessage: handleEditUserMessage, onInterrupt: handleInterruptResponse, onForkFromMessage: handleForkFromMessage, onRemoveUpToMessage: handleRemoveUpToMessage }) : /* @__PURE__ */ jsxRuntimeExports.jsx(VirtualizedMessages, { ref: setMessagesRef, baseDir: projectDir, taskId: task.id, inProgress, messages: displayedMessages, allFiles, renderMarkdown, removeMessage: handleRemoveMessage, redoUserPrompt: handleRedoUserPrompt, editUserMessage: handleEditUserMessage, onInterrupt: handleInterruptResponse, onForkFromMessage: handleForkFromMessage, onRemoveUpToMessage: handleRemoveUpToMessage }) }) }),
|
|
387026
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "overflow-hidden flex-grow relative", children: displayedMessages.length === 0 && !loading && !messagesPending && !inProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx(WelcomeMessage, { onModeChange: handleModeChange, mode: currentMode, projectDir, taskId: task.id }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: fullMessageRendering ? /* @__PURE__ */ jsxRuntimeExports.jsx(Messages, { ref: setMessagesRef, baseDir: projectDir, taskId: task.id, inProgress, messages: displayedMessages, allFiles, renderMarkdown, removeMessage: handleRemoveMessage, removeGroup: handleRemoveGroup, redoUserPrompt: handleRedoUserPrompt, editUserMessage: handleEditUserMessage, onInterrupt: handleInterruptResponse, onForkFromMessage: handleForkFromMessage, onRemoveUpToMessage: handleRemoveUpToMessage }) : /* @__PURE__ */ jsxRuntimeExports.jsx(VirtualizedMessages, { ref: setMessagesRef, baseDir: projectDir, taskId: task.id, inProgress, messages: displayedMessages, allFiles, renderMarkdown, removeMessage: handleRemoveMessage, removeGroup: handleRemoveGroup, redoUserPrompt: handleRedoUserPrompt, editUserMessage: handleEditUserMessage, onInterrupt: handleInterruptResponse, onForkFromMessage: handleForkFromMessage, onRemoveUpToMessage: handleRemoveUpToMessage }) }) }),
|
|
386823
387027
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ExtensionComponentWrapper, { placement: "task-messages-bottom" }),
|
|
386824
387028
|
showTaskInfoPanel && /* @__PURE__ */ jsxRuntimeExports.jsx(TaskInfoPanel, { task, messageCount: displayedMessages.length || 0, onClose: () => setShowTaskInfoPanel(false) }),
|
|
386825
387029
|
showTaskStateActions && !inProgress && !isLastLoadingMessage && /* @__PURE__ */ jsxRuntimeExports.jsx(TaskStateActions, { state: task.state, mode: task.currentMode, isArchived: task.archived, task, projectDir, taskId: task.id, onResumeTask: messages2.length === 0 ? void 0 : handleResumeTask, onMarkAsDone: messages2.length === 0 ? void 0 : handleMarkAsDone, onRunPrompt: handleRunPrompt, onArchiveTask, onUnarchiveTask, onDeleteTask }),
|
|
@@ -389101,13 +389305,13 @@ const TelemetryInfoDialog = () => {
|
|
|
389101
389305
|
function _temp$3(state2) {
|
|
389102
389306
|
return state2.settings;
|
|
389103
389307
|
}
|
|
389104
|
-
const UsageDashboard = reactExports.lazy(() => __vitePreload(() => import("./UsageDashboard-
|
|
389308
|
+
const UsageDashboard = reactExports.lazy(() => __vitePreload(() => import("./UsageDashboard-CGI4iwCD.js"), true ? __vite__mapDeps([151,28,20,25,19,21,18]) : void 0, import.meta.url).then((module2) => ({
|
|
389105
389309
|
default: module2.UsageDashboard
|
|
389106
389310
|
})));
|
|
389107
|
-
const SettingsPage = reactExports.lazy(() => __vitePreload(() => import("./SettingsPage-
|
|
389311
|
+
const SettingsPage = reactExports.lazy(() => __vitePreload(() => import("./SettingsPage-BBtDhv80.js"), true ? __vite__mapDeps([152,153,154]) : void 0, import.meta.url).then((module2) => ({
|
|
389108
389312
|
default: module2.SettingsPage
|
|
389109
389313
|
})));
|
|
389110
|
-
const ModelLibrary = reactExports.lazy(() => __vitePreload(() => import("./index-
|
|
389314
|
+
const ModelLibrary = reactExports.lazy(() => __vitePreload(() => import("./index-BOQBc3Qj.js"), true ? __vite__mapDeps([155,156,154]) : void 0, import.meta.url).then((module2) => ({
|
|
389111
389315
|
default: module2.ModelLibrary
|
|
389112
389316
|
})));
|
|
389113
389317
|
let hasShownUpdateNotification = false;
|
|
@@ -392227,9 +392431,10 @@ const gpustack$2 = { "name": "GPUStack", "baseUrl": "Base URL", "baseUrlPlacehol
|
|
|
392227
392431
|
const synthetic$2 = { "apiKey": "API Key" };
|
|
392228
392432
|
const zaiPlan$2 = { "apiKey": "API Key", "mcp": { "title": "MCP Servers", "infoTooltip": "Add Z.ai Coding Plan MCP servers to enable additional capabilities for the agent.", "vision": { "name": "Vision", "description": "Image and video analysis using GLM-4.6V model" }, "zread": { "name": "Zread", "description": "Search and read GitHub repository documentation and code" }, "webReader": { "name": "Web Reader", "description": "Fetch and extract content from web pages" }, "webSearch": { "name": "Web Search", "description": "Search the web for real-time information" }, "add": "Add", "adding": "Adding...", "configured": "Configured" }, "thinkingEnabled": "Enable Thinking", "thinkingEnabledTooltip": "When enabled, the model will use thinking mode for deeper reasoning (default). Disable for faster responses on simple tasks.", "reasoningEffortTooltip": "Controls the model's reasoning effort level when thinking is enabled. Higher effort means deeper reasoning but slower responses. Only supported by GLM-5.2." };
|
|
392229
392433
|
const azure$2 = { "apiKey": "API Key", "resourceName": "Resource Name", "apiVersion": "API Version", "addCustomModelInfo": "Models cannot be loaded automatically for Azure provider and you need to add them manually using ”+ Add Model”, ensuring the model name matches the deployment name." };
|
|
392230
|
-
const providers$2 = { "anthropic": "Anthropic", "anthropic-compatible": "Anthropic Compatible", "alibaba-plan": "Alibaba Coding Plan", "bedrock": "Bedrock", "cerebras": "Cerebras", "deepseek": "Deepseek", "gemini": "Gemini", "groq": "Groq", "kimi-plan": "Kimi Coding Plan", "gpustack": "GPUStack", "lmstudio": "LM Studio", "litellm": "LiteLLM", "minimax": "MiniMax", "mistral": "Mistral", "neuralwatt": "Neuralwatt", "ollama": "Ollama", "openai": "OpenAI", "opencode": "OpenCode ZEN", "openai-compatible": "OpenAI Compatible", "openrouter": "OpenRouter", "requesty": "Requesty", "synthetic": "Synthetic", "vertex-ai": "Vertex AI", "zai-plan": "Z.ai Coding Plan", "azure": "Azure" };
|
|
392434
|
+
const providers$2 = { "anthropic": "Anthropic", "anthropic-compatible": "Anthropic Compatible", "alibaba-plan": "Alibaba Coding Plan", "bedrock": "Bedrock", "cerebras": "Cerebras", "deepseek": "Deepseek", "gemini": "Gemini", "groq": "Groq", "kimi-plan": "Kimi Coding Plan", "gpustack": "GPUStack", "lmstudio": "LM Studio", "litellm": "LiteLLM", "minimax": "MiniMax", "mistral": "Mistral", "neuralwatt": "Neuralwatt", "ollama": "Ollama", "openai": "OpenAI", "opencode": "OpenCode ZEN", "openai-compatible": "OpenAI Compatible", "openrouter": "OpenRouter", "requesty": "Requesty", "synthetic": "Synthetic", "vertex-ai": "Vertex AI", "zai-plan": "Z.ai Coding Plan", "azure": "Azure", "clinepass": "ClinePass" };
|
|
392435
|
+
const clinepass$2 = { "apiKey": "API Key" };
|
|
392231
392436
|
const select$2 = { "placeholder": "Select an option" };
|
|
392232
|
-
const settings$2 = /* @__PURE__ */ JSON.parse(`{"title":"Settings","tabs":{"general":"General","aider":"Aider","agents":"Agents","tasks":"Tasks","memory":"Memory","voice":"Voice","hotkeys":"Hotkeys","extensions":"Extensions","server":"Server","network":"Network","about":"About"},"extensions":{"loading":"Loading extensions...","tabs":{"installed":"Installed","available":"Available"},"installed":{"empty":"No extensions installed","emptyHint":"Browse the Available tab to discover and install extensions"},"available":{"empty":"All available extensions are already installed","extensionsCount":"extensions","installedCount":"installed","installedExtensions":"installed extensions"},"search":{"placeholder":"Search extensions..."},"capabilities":{"all":"All"},"repositories":{"title":"Repositories","placeholder":"Enter repository URL...","add":"Add","remove":"Remove repository","default":"Default repository"},"by":"by","enabled":"Enabled","active":"Active","disabled":"Disabled","projectSpecific":"Project","hasDependencies":"Has dependencies","osNotSupported":"Not supported","osNotSupportedTooltip":"This extension might not work on your operating system. Check the extension details for more information.","install":"Install","installing":"Installing...","update":"Update","updating":"Updating...","uninstall":"Uninstall","uninstalling":"Uninstalling...","success":{"install":"Successfully installed {{name}}","update":"Successfully updated {{name}}","uninstall":"Successfully uninstalled {{name}}","saveSettings":"Successfully saved settings for {{name}}"},"errors":{"loadInstalled":"Failed to load installed extensions","loadAvailable":"Failed to load available extensions","loadSettings":"Failed to load extension settings components","install":"Failed to install extension. Check logs for details.","update":"Failed to update extension. Check logs for details.","uninstall":"Failed to uninstall extension","saveSettings":"Failed to save extension settings","settingsNotAvailable":"Extension settings are not available","repositoryExists":"This repository is already added","cannotRemoveDefault":"Cannot remove the default repository","npmNotFound":"npm is not installed on your system. This extension requires npm to install its dependencies. Please install Node.js (which includes npm) and try again."},"previousContext":"Previous context","nextContext":"Next context","openSettings":"Open extension settings","settingsDialog":{"title":"{{name}} Settings"},"expandReadme":"Expand README","collapseReadme":"Collapse README"},"hotkeys":{"projectHotkeys":"Project","taskHotkeys":"Task","dialogHotkeys":"Dialogs","closeProject":"Close Project","newProject":"New Project","usageDashboard":"Usage Dashboard","modelLibrary":"Model Library","settings":"Settings","cycleNextProject":"Cycle next project","cyclePrevProject":"Cycle previous project","switchProject":"Switch to Project {{number}}","switchTask":"Switch to Task {{number}}","focusPrompt":"Focus Prompt","newTask":"New Task","closeTask":"Close Task","browseFolder":"Browse Folder","enterHotkey":"Enter hotkey...","resetToDefaults":"Reset to Defaults","hotkeyFormat":"Hotkey Format:","modKey":"Use 'mod' for Cmd (Mac) or Ctrl (Windows/Linux)","multipleKeys":"Separate multiple key combinations with commas","examples":"Examples: 'mod+w', 'ctrl+shift+t', 'alt+1,meta+1'","clickToRecord":"Click to record","recording":"Press keys...","addShortcut":"Add shortcut","editShortcut":"Edit shortcut","clearShortcut":"Clear shortcut","noShortcut":"No shortcut configured","recordShortcutDescription":"Press the record button below and then press the key combination you want to use as a shortcut.","pressKeysToRecord":"Press keys to record...","startRecording":"Start Recording","stopRecording":"Stop Recording"},"gui":"Appearance","voice":{"title":"Voice","providerProfile":"Provider profile","model":"Model","idleTimeout":"Idle timeout (seconds)","idleTimeoutHelp":"Stops recording after this much silence","systemInstructions":"System instructions","microphone":"Microphone","microphoneDefault":"Default","microphoneUnknown":"Unknown microphone","noSupportedProviders":"No supported voice providers configured. Configure Gemini or OpenAI via Model Library.","openai":{"title":"OpenAI","model":"Model","language":"Language"},"gemini":{"title":"Gemini","model":"Model","temperature":"Temperature"}},"startup":{"title":"Start Up","emptyTask":"Start with empty task","lastTask":"Load last task"},"tasks":{"title":"Tasks","smartTaskState":"Smart Task State","smartTaskStateTooltip":"When enabled, the model intelligently analyzes the agent's response to classify the task as 'More Info Needed', 'Ready for Implementation', or 'Ready for Review'. When disabled, the task state will always be set to 'Ready for Review'.","autoGenerateTaskName":"Auto-Generate Task Name","autoGenerateTaskNameTooltip":"When enabled, the model generates a concise task name from your prompt. When disabled, the first 5 words of your prompt will be used as the task name.","showTaskStateActions":"Show Task State Actions","showTaskStateActionsTooltip":"When enabled, task state actions are displayed at the bottom of messages. Disable to hide these actions.","contextManagement":"Context Management","contextCompactingThreshold":"Auto-compact Threshold","contextCompactingThresholdTooltip":"When token usage exceeds this threshold, the conversation will be automatically managed according to the selected compaction type. Set to 0 to disable.","contextCompactingThresholdOff":"Off","contextCompactingThresholdTokens":"Max Tokens","contextCompactingThresholdTokensTooltip":"Maximum token count threshold. Compaction triggers when the lower of the percentage and token thresholds is exceeded.","contextCompactingThresholdLowerNote":"The lower value of the percentage and token thresholds will be used for compaction.","contextCompactionType":"Compaction Type","contextCompactionTypeCompact":"Compact","contextCompactionTypeCompactTooltip":"Summarizes the conversation within the task using LLM.","contextCompactionTypeHandoff":"Handoff","contextCompactionTypeHandoffTooltip":"Creates a new task with a handoff summary of the current conversation.","contextCompactionTypeSmart":"Smart","contextCompactionTypeSmartTooltip":"Deterministically removes redundant tool messages without using LLM.","contextCompactionTypeTooltip":"Choose how to manage conversation context when the token threshold is exceeded.","worktree":"Worktree","worktreeSymlinkFoldersLabel":"Symlink Folders","worktreeSymlinkFoldersTooltip":"These folders will be symlinked from the project root to the task worktree. Useful for large dependencies like node_modules.","noSymlinkFolders":"No symlink folders configured","symlinkFolderPlaceholder":"Folder name (e.g. node_modules)","addSymlinkFolder":"Add","removeSymlinkFolder":"Remove folder","worktreeBranchPrefix":"Branch Prefix","worktreeBranchPrefixTooltip":"Prefix used when creating worktree branch names. For example, 'aider-desk/task/' will create branches like 'aider-desk/task/my-feature'.","worktreeBranchPrefixPlaceholder":"e.g. aider-desk/task/","renameBranchOnNameGeneration":"Rename Branch on Task Name Generation","renameBranchOnNameGenerationTooltip":"When enabled, the worktree branch will be automatically renamed to match the generated task name. Disable this to keep the original branch name.","auxiliaryModelsTitle":"Auxiliary Models","auxiliaryModelsDescription":"Configure models for background AI operations. Set to 'Inherit' to use the main agent model.","taskNameModel":"Task Name Model","taskNameModelTooltip":"Model used for auto-generating task names from prompts","taskStateModel":"Task State Model","taskStateModelTooltip":"Model used for determining task state (Ready for Review, More Info Needed, etc.)","commitMessageModel":"Commit Message","commitMessageModelTooltip":"Model used for generating commit messages","inheritModel":"Inherit","defaultWorkingMode":"Default Working Mode","defaultWorkingModeTooltip":"The default working mode for new tasks. Local works directly in the project directory, Worktree uses an isolated git worktree."},"language":"Language","notifications":{"title":"Notifications"},"windowTitle":{"title":"Window Title"},"windowTitleTemplateLabel":"Window title template","windowTitleTemplateTooltip":"Use {project} for project name and {task} for current task name. Example: 'AiderDesk - {project}' or '{project} - {task}'","agent":{"mcpServers":"MCP Servers","provider":"Provider","providerSettings":"Provider Settings","context":"Context","runSettings":"Parameters","maxIterations":"Max Iterations","infinite":"Infinite","minTimeBetweenToolCalls":"Min Time Between Tool Calls (ms)","maxTokens":"Max Tokens","temperature":"Temperature","customInstructions":"Additional Rules","rules":"Rules","rulesInfo":"You can use Rules to add specific instructions for specific MCP servers or to control flow of the agent.","ruleFilesInfo":"Any file in your project's <file>.aider-desk/rules</file> directory is automatically included in the Rules. See example <a>here</a>.","noServersConfigured":"No MCP servers configured.","computationalResources":"Maximum number of iterations for the agent per run. Helps control computational resources.","rateLimiting":"Sets the minimum time between tool calls to prevent rate limiting (e.g. for Brave or other API-constrained services).","temperatureTooltip":"Controls randomness in responses. Lower values (0.0-0.3) make responses more focused and deterministic, higher values (0.7-1.0) make them more creative and varied. When not set, uses the model's Temperature.","tokensPerResponse":"Maximum number of tokens the agent can use per response. When not set, uses the model's Max Output tokens.","addMcpServer":"Add","editConfig":"Edit Config","editMcpServersConfig":"Edit MCP Servers Config","reloadServers":"Reload","powerToolsTooltip":"Allows the agent to use tools for direct file operations (read, write, edit), searching (glob, grep, semantic search), and executing shell commands (bash).","aiderToolsTooltip":"Agent can use Aider to perform add/drop context files actions and run prompts.","useAiderTools":"Use Aider tools","usePowerTools":"Use Power tools","useTodoTools":"Use Todo tools","useTaskTools":"Use Task tools","useMemoryTools":"Use Memory tools","useSkillsTools":"Use Skills tools","includeContextFiles":"Include context files","includeFilesTooltip":"Adds content of context files into the chat of agent. This will increase token usage.","includeRepoMap":"Include repository map","includeRepoMapTooltip":"Include the repository map from Aider in the agent's context. This can help the agent understand the project structure, but will increase token usage.","autonomyMode":"Autonomy mode","override":"Override","clearOverride":"Clear Override","autoCompactThresholdPercentage":"Auto-compact Threshold %","autoCompactThresholdPercentageTooltip":"Overrides the global auto-compact percentage threshold for this profile. When token usage exceeds this percentage of model capacity, compaction is triggered.","autoCompactThresholdTokens":"Auto-compact Max Tokens","autoCompactThresholdTokensTooltip":"Overrides the global auto-compact token threshold for this profile. Compaction triggers when the lower of the percentage and token thresholds is exceeded.","autoCompactionType":"Compaction Type","autoCompactionTypeTooltip":"Overrides the global compaction type for this profile. Choose how to manage conversation context when the token threshold is exceeded.","selectOrCreateProfile":"Select or create new agent profile","newProfileName":"New Profile","bashToolAllowedPattern":"Allowed patterns","bashToolDeniedPattern":"Denied patterns","bashToolAllowedPatternPlaceholder":"e.g. 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"e.g. 'rm .*'","bashToolAllowedPatternTooltip":"Commands that match these Regex patterns separated by ; can be executed without approval","bashToolDeniedPatternTooltip":"Commands that match these Regex patterns separated by ; will always be denied execution","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"Found in: {{source}}","createNewProfile":"Create New","genericTools":"Tools","noGenericToolsConfigured":"No tools configured.","todoTools":"Todo tools","includeTodoToolsTooltip":"Allows the agent to manage a list of todo items, including setting, getting, updating, and clearing them.","subagent":{"title":"Subagent","enableAsSubagent":"Enable as Subagent","enableAsSubagentInformation":"When enabled, this profile is available as a subagent to other agents.","canUseSubagents":"Can use Subagents","canUseSubagentsInformation":"When enabled, this agent can use subagents.","contextMemory":"Context memory","contextMemoryTooltip":"Controls how much of the previous conversation context is remembered by the subagent. 'Full Context' maintains all previous subagents history, 'Last Message' only uses the final messages from previous subagent runs, and 'Off' starts fresh each time.","contextMemory.off":"Off","contextMemory.fullContext":"Full Context","contextMemory.lastMessage":"Last Message","description":"Description","descriptionPlaceholder":"Describe this subagent's purpose, capabilities, and specialization and when this subagent should be invoked","systemPrompt":"System Prompt","systemPromptPlaceholder":"Your subagent's system prompt goes here. This can be multiple paragraphs and should clearly define the subagent's role, capabilities, and approach to solving problems.","invocationMode":"Invocation","invocationModeOnDemand":"On demand","invocationModeOnDemandInformation":"Subagent is only used when explicitly requested by the user.","invocationModeAutomatic":"Automatic","invocationModeAutomaticInformation":"Subagent can be automatically invoked when appropriate by the agent.","statusDisabled":"Disabled","statusOnDemand":"On-demand","statusAutomatic":"Automatic","descriptionRequiredForAutomatic":"Description needs to be set in order to use this subagent automatically, otherwise the subagent can only be used when explicitly requested by the user.","on-demand":"Used as subagent on user demand","automatic":"Used as subagent automatically"},"skills":{"activating":"Activating {{name}} skill...","activated":"Activated {{name}} skill","skill":"Skill"},"profileContext":"Profile Context","globalProfiles":"Global Profiles","projectProfiles":"Project Profiles: {{projectName}}","global":"Global","previousContext":"Previous project","nextContext":"Next project","noProfilesInContext":"No profiles found in this context","createNewProfileInContext":"Create New Profile","copyProfile":"Copy","cutProfile":"Cut","deleteProfile":"Delete","pasteProfile":"Paste Agent","resetProfileToDefaults":"Reset to Defaults","resetProfileTitle":"Reset '{{name}}' to Defaults?","resetProfileConfirm":"This will restore '{{name}}' to its original default settings. Any custom modifications will be lost.","restoreProfile":"Restore","restoreProfileTooltip":"Restore this default profile"},"aider":{"options":"Options","optionsPlaceholder":"e.g. --no-auto-commits --cache-prompts","autoCommits":"Auto commit of LLM changes","cachingEnabled":"Enable prompt caching","watchFiles":"Watch files for changes","environmentVariables":"Environment Variables","envVarsPlaceholder":"#################\\n# LLM parameters:\\n#\\n# Include xxx_API_KEY parameters and other params needed for your LLMs.\\n# See https://aider.chat/docs/llms.html for details.\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"Check the documentation for available options at","envVarsDocumentation":"Check the documentation for environment variables at","context":"Context","addRuleFiles":"Add rule files from project's <file>.aider-desk/rules</file> directory as read-only files.","confirmBeforeEdit":"Confirm before editing files"},"common":{"showSecrets":"Show Secrets","learnMore":"Learn more"},"notificationsEnabled":"Notifications enabled","zoom":"Zoom level","theme":"Theme","font":"Font","fontSize":"Font size","fontOptions":{"Sono":"Sono (Default)","PlayfairDisplay":"Playfair Display","SpaceGrotesk":"Space Grotesk","GoogleSansCode":"Google Sans Code","JetBrainsMono":"JetBrains Mono","RobotoMono":"Roboto Mono","SourceCodePro":"Source Code Pro","SpaceMono":"Space Mono","UbuntuMono":"Ubuntu Mono"},"themeOptions":{"dark":"Default (Dark)","light":"Default (Light)","ocean":"Ocean","forest":"Forest","lavender":"Lavender","bw":"Black & White","midnight":"Midnight","neon":"Neon","neopunk":"Neopunk","charcoal":"Charcoal","aurora":"Aurora","serenity":"Serenity","cappuccino":"Cappuccino","fresh":"Fresh","botanical-garden":"Botanical Garden","botanical-garden-dark":"Botanical Garden (Dark)","obsidian":"Obsidian"},"aiderRestartConfirm":{"title":"Restart Required","message":"Changes to Aider options or environment variables require a restart of the Aider task to take effect. Would you like to restart now?","restartNow":"Restart now","later":"I'll do it later"},"models":{"title":"Model Providers","description":"Configure your LLM providers for use with both Aider and Agent modes. Click on a provider card to configure API key and additional settings.","configured":"Configured","notConfigured":"Not configured","agentOnly":"Agent only","showAllProviders":"Show All Providers","additionalProvidersInfo":"You can configure additional LLM providers for Aider by setting environment variables in the <aiderTab>Aider settings</aiderTab>."},"vertexAi":{"project":"Project","projectPlaceholder":"Enter your Google Cloud project ID","location":"Location","locationPlaceholder":"Enter your Google Cloud location","credentials":"Google Cloud Credentials (optional)","credentialsPlaceholder":"Enter your Google Cloud credentials JSON"},"about":{"version":"Version","notAvailable":"N/A","checkForUpdates":"Check for updates","newAiderVersionAvailable":"New Aider version ({{version}}) is available - restart AiderDesk to install.","updateAvailable":"Update is available","downloadUpdate":"Download","downloadingUpdate":"Downloading update","newAiderDeskVersionReady":"A new version is ready. Restart AiderDesk to apply the update.","downloadAutomatically":"Download update automatically","releaseNotes":"Release notes","openLogsDirectory":"Open logs directory","openLogsError":"Error opening a log directory","showLogs":"Show logs"},"viewMenu":{"title":"View","showLogs":"Show Logs"},"telemetry":{"title":"Telemetry"},"promptBehavior":{"title":"Prompt Behavior","showSuggestions":"Show suggestions","automaticallyWhileTyping":"Automatically while typing","onlyWhenTabPressed":"Only when TAB key is pressed","suggestionsDelay":"Suggestions delay","requireCommandConfirmation":"Require confirmation for commands","addCommand":"/add","readOnlyCommand":"/read-only","modelCommand":"/model","modeSwitchingCommands":"Mode commands (/code, /agent, ...)","keyBindings":"Key bindings","useVimBindings":"Use Vim bindings","useVimBindingsTooltip":"Enable Vim key bindings for navigating and editing text in the prompt field.","modeAtSign":"@ mention mode"},"network":{"proxy":"Proxy","enableProxy":"Enable Proxy","enableProxyDescription":"Route all HTTP/HTTPS traffic through a proxy server. Affects LLM API calls, extension fetching, update checks, and all other outbound requests.","proxyUrl":"Proxy URL","proxyUrlPlaceholder":"http://127.0.0.1:8888","proxyUrlDescription":"HTTP or SOCKS5 proxy server address","noProxy":"No Proxy","noProxyPlaceholder":"localhost,127.0.0.1,.internal.example.com","noProxyDescription":"Comma-separated list of hosts or domains that should bypass the proxy. Supports exact hostnames, IP addresses, and wildcard domains (e.g., .example.com)"},"server":{"description":"Enable server on port 24337 to access AiderDesk from external applications","status":"Status","running":"Running","enableBasicAuth":"Enable Basic Authentication","enableBasicAuthDescription":"Require username and password for browser access and API calls","username":"Username","password":"Password","controlServer":"REST API Server","starting":"Starting...","stopping":"Stopping...","start":"Start","stop":"Stop","stopped":"Stopped","copyUrl":"Copy URL","tunnelManagement":"Tunnel Management","tunnelDescription":"Create a Cloudflare tunnel to securely access your server from external networks. Make sure to use Authentication when exposing the server externally.","cors":"CORS","enableCors":"Enable CORS","enableCorsDescription":"Allow cross-origin requests from external websites. By default, only same-origin requests from the AiderDesk UI are permitted.","corsOrigins":"Allowed Origins","corsOriginPlaceholder":"https://example.com","addCorsOrigin":"Add origin","corsOriginsDescription":"List of origins allowed to access the API (e.g., https://your-dashboard.example.com)."},"messages":{"title":"Message Display","display":"Display Options","markdownRendering":"Markdown rendering","diffViewMode":"Diff view mode","viewMode":"Messages view mode","viewModeFull":"Full","viewModeCompact":"Compact","fullMessageRendering":"Use full message rendering (Legacy)","fullMessageRenderingTooltip":"Renders all messages in the DOM without virtualization. May impact performance with large conversation histories."},"memory":{"configuration":"Configuration","description":"Configure AI memory features to enhance conversation continuity and context retention across sessions.","enabled":{"label":"Enable","description":"Enable AI memory to remember important information across conversations and sessions."},"model":{"label":"Model"},"provider":{"label":"Embedding Provider","description":"Choose the embedding provider to use for memory functionality"},"maxDistance":{"label":"Relevance threshold","description":"Higher values retrieve more (and less relevant) memories. Lower values retrieve fewer (and more relevant) memories."},"embeddingProgress":{"loadingModel":"Loading embedding model: {{status}}","reEmbedding":"Re-embedding memories: {{done}}/{{total}}","error":"Embedding migration failed: {{error}}"},"memories":{"title":"Memories","project":"Project","allProjects":"All projects","loading":"Loading memories...","empty":"No memories found.","delete":"Delete","deleteAllForProject":"Delete all for project","deleteDialogTitle":"Delete memory","deleteDialogText":"Delete memory","deleteProjectDialogTitle":"Delete project memories","deleteProjectDialogText":"Delete all memories for project","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"File watch mode","tooltip":"Controls how file changes are detected. Auto: uses polling in Docker and on network drives, native elsewhere. Native: uses OS file system events (faster). Polling: uses periodic scanning (more reliable in some environments).","auto":"Auto","native":"Native","polling":"Polling"},"notificationsAndFiles":{"title":"Notifications & Files"}}`);
|
|
392437
|
+
const settings$2 = /* @__PURE__ */ JSON.parse(`{"title":"Settings","tabs":{"general":"General","aider":"Aider","agents":"Agents","tasks":"Tasks","memory":"Memory","voice":"Voice","hotkeys":"Hotkeys","extensions":"Extensions","server":"Server","network":"Network","about":"About"},"extensions":{"loading":"Loading extensions...","tabs":{"installed":"Installed","available":"Available"},"installed":{"empty":"No extensions installed","emptyHint":"Browse the Available tab to discover and install extensions"},"available":{"empty":"All available extensions are already installed","extensionsCount":"extensions","installedCount":"installed","installedExtensions":"installed extensions"},"search":{"placeholder":"Search extensions..."},"capabilities":{"all":"All"},"repositories":{"title":"Repositories","placeholder":"Enter repository URL...","add":"Add","remove":"Remove repository","default":"Default repository"},"by":"by","enabled":"Enabled","active":"Active","disabled":"Disabled","projectSpecific":"Project","hasDependencies":"Has dependencies","osNotSupported":"Not supported","osNotSupportedTooltip":"This extension might not work on your operating system. Check the extension details for more information.","install":"Install","installing":"Installing...","update":"Update","updating":"Updating...","uninstall":"Uninstall","uninstalling":"Uninstalling...","success":{"install":"Successfully installed {{name}}","update":"Successfully updated {{name}}","uninstall":"Successfully uninstalled {{name}}","saveSettings":"Successfully saved settings for {{name}}"},"errors":{"loadInstalled":"Failed to load installed extensions","loadAvailable":"Failed to load available extensions","loadSettings":"Failed to load extension settings components","install":"Failed to install extension. Check logs for details.","update":"Failed to update extension. Check logs for details.","uninstall":"Failed to uninstall extension","saveSettings":"Failed to save extension settings","settingsNotAvailable":"Extension settings are not available","repositoryExists":"This repository is already added","cannotRemoveDefault":"Cannot remove the default repository","npmNotFound":"npm is not installed on your system. This extension requires npm to install its dependencies. Please install Node.js (which includes npm) and try again."},"previousContext":"Previous context","nextContext":"Next context","openSettings":"Open extension settings","settingsDialog":{"title":"{{name}} Settings"},"expandReadme":"Expand README","collapseReadme":"Collapse README"},"hotkeys":{"projectHotkeys":"Project","taskHotkeys":"Task","dialogHotkeys":"Dialogs","closeProject":"Close Project","newProject":"New Project","usageDashboard":"Usage Dashboard","modelLibrary":"Model Library","settings":"Settings","cycleNextProject":"Cycle next project","cyclePrevProject":"Cycle previous project","switchProject":"Switch to Project {{number}}","switchTask":"Switch to Task {{number}}","focusPrompt":"Focus Prompt","newTask":"New Task","closeTask":"Close Task","browseFolder":"Browse Folder","enterHotkey":"Enter hotkey...","resetToDefaults":"Reset to Defaults","hotkeyFormat":"Hotkey Format:","modKey":"Use 'mod' for Cmd (Mac) or Ctrl (Windows/Linux)","multipleKeys":"Separate multiple key combinations with commas","examples":"Examples: 'mod+w', 'ctrl+shift+t', 'alt+1,meta+1'","clickToRecord":"Click to record","recording":"Press keys...","addShortcut":"Add shortcut","editShortcut":"Edit shortcut","clearShortcut":"Clear shortcut","noShortcut":"No shortcut configured","recordShortcutDescription":"Press the record button below and then press the key combination you want to use as a shortcut.","pressKeysToRecord":"Press keys to record...","startRecording":"Start Recording","stopRecording":"Stop Recording"},"gui":"Appearance","voice":{"title":"Voice","providerProfile":"Provider profile","model":"Model","idleTimeout":"Idle timeout (seconds)","idleTimeoutHelp":"Stops recording after this much silence","systemInstructions":"System instructions","microphone":"Microphone","microphoneDefault":"Default","microphoneUnknown":"Unknown microphone","noSupportedProviders":"No supported voice providers configured. Configure Gemini or OpenAI via Model Library.","openai":{"title":"OpenAI","model":"Model","language":"Language"},"gemini":{"title":"Gemini","model":"Model","temperature":"Temperature"}},"startup":{"title":"Start Up","emptyTask":"Start with empty task","lastTask":"Load last task"},"tasks":{"title":"Tasks","smartTaskState":"Smart Task State","smartTaskStateTooltip":"When enabled, the model intelligently analyzes the agent's response to classify the task as 'More Info Needed', 'Ready for Implementation', or 'Ready for Review'. When disabled, the task state will always be set to 'Ready for Review'.","autoGenerateTaskName":"Auto-Generate Task Name","autoGenerateTaskNameTooltip":"When enabled, the model generates a concise task name from your prompt. When disabled, the first 5 words of your prompt will be used as the task name.","showTaskStateActions":"Show Task State Actions","showTaskStateActionsTooltip":"When enabled, task state actions are displayed at the bottom of messages. Disable to hide these actions.","contextManagement":"Context Management","contextCompactingThreshold":"Auto-compact Threshold","contextCompactingThresholdTooltip":"When token usage exceeds this threshold, the conversation will be automatically managed according to the selected compaction type. Set to 0 to disable.","contextCompactingThresholdOff":"Off","contextCompactingThresholdTokens":"Max Tokens","contextCompactingThresholdTokensTooltip":"Maximum token count threshold. Compaction triggers when the lower of the percentage and token thresholds is exceeded.","contextCompactingThresholdLowerNote":"The lower value of the percentage and token thresholds will be used for compaction.","contextCompactionType":"Compaction Type","contextCompactionTypeCompact":"Compact","contextCompactionTypeCompactTooltip":"Summarizes the conversation within the task using LLM.","contextCompactionTypeHandoff":"Handoff","contextCompactionTypeHandoffTooltip":"Creates a new task with a handoff summary of the current conversation.","contextCompactionTypeSmart":"Smart","contextCompactionTypeSmartTooltip":"Deterministically removes redundant tool messages without using LLM.","contextCompactionTypeTooltip":"Choose how to manage conversation context when the token threshold is exceeded.","worktree":"Worktree","worktreeSymlinkFoldersLabel":"Symlink Folders","worktreeSymlinkFoldersTooltip":"These folders will be symlinked from the project root to the task worktree. Useful for large dependencies like node_modules.","noSymlinkFolders":"No symlink folders configured","symlinkFolderPlaceholder":"Folder name (e.g. node_modules)","addSymlinkFolder":"Add","removeSymlinkFolder":"Remove folder","worktreeBranchPrefix":"Branch Prefix","worktreeBranchPrefixTooltip":"Prefix used when creating worktree branch names. For example, 'aider-desk/task/' will create branches like 'aider-desk/task/my-feature'.","worktreeBranchPrefixPlaceholder":"e.g. aider-desk/task/","renameBranchOnNameGeneration":"Rename Branch on Task Name Generation","renameBranchOnNameGenerationTooltip":"When enabled, the worktree branch will be automatically renamed to match the generated task name. Disable this to keep the original branch name.","auxiliaryModelsTitle":"Auxiliary Models","auxiliaryModelsDescription":"Configure models for background AI operations. Set to 'Inherit' to use the main agent model.","taskNameModel":"Task Name Model","taskNameModelTooltip":"Model used for auto-generating task names from prompts","taskStateModel":"Task State Model","taskStateModelTooltip":"Model used for determining task state (Ready for Review, More Info Needed, etc.)","commitMessageModel":"Commit Message","commitMessageModelTooltip":"Model used for generating commit messages","inheritModel":"Inherit","defaultWorkingMode":"Default Working Mode","defaultWorkingModeTooltip":"The default working mode for new tasks. Local works directly in the project directory, Worktree uses an isolated git worktree."},"language":"Language","notifications":{"title":"Notifications"},"windowTitle":{"title":"Window Title"},"windowTitleTemplateLabel":"Window title template","windowTitleTemplateTooltip":"Use {project} for project name and {task} for current task name. Example: 'AiderDesk - {project}' or '{project} - {task}'","agent":{"tabs":{"general":"General","prompts":"Prompts","tools":"Tools","subagents":"Subagents"},"systemPrompt":"System Prompt","systemPromptTooltip":"When set, this replaces the default built-in system prompt when the profile runs as the main agent. When used as a subagent, this is used as a fallback if no subagent-specific system prompt is set. Leave empty to use the default built-in system prompt.","systemPromptPlaceholder":"Custom system prompt for this agent. Leave empty to use the default built-in system prompt.","systemPromptInfo":"Overrides the default system prompt of the agent. To append instructions to the default system prompt instead, use the rules below.","systemPromptPlaceholders":{"projectDir":"Absolute path to the project root directory","taskDir":"Working directory for this task (project root, or worktree path when using worktrees)","currentDate":"Current date string","osName":"Host operating system name","projectGitRootDirectory":"Project git root when the task uses a worktree; empty otherwise"},"mcpServers":"MCP Servers","provider":"Provider","providerSettings":"Provider Settings","context":"Context","runSettings":"Parameters","maxIterations":"Max Iterations","infinite":"Infinite","minTimeBetweenToolCalls":"Min Time Between Tool Calls (ms)","maxTokens":"Max Tokens","temperature":"Temperature","customInstructions":"Additional Rules","rules":"Rules","rulesInfo":"You can use Rules to add specific instructions for specific MCP servers or to control flow of the agent.","ruleFilesInfo":"Any file in your project's <file>.aider-desk/rules</file> directory is automatically included in the Rules. See example <a>here</a>.","noServersConfigured":"No MCP servers configured.","computationalResources":"Maximum number of iterations for the agent per run. Helps control computational resources.","rateLimiting":"Sets the minimum time between tool calls to prevent rate limiting (e.g. for Brave or other API-constrained services).","temperatureTooltip":"Controls randomness in responses. Lower values (0.0-0.3) make responses more focused and deterministic, higher values (0.7-1.0) make them more creative and varied. When not set, uses the model's Temperature.","tokensPerResponse":"Maximum number of tokens the agent can use per response. When not set, uses the model's Max Output tokens.","addMcpServer":"Add","editConfig":"Edit Config","editMcpServersConfig":"Edit MCP Servers Config","reloadServers":"Reload","powerToolsTooltip":"Allows the agent to use tools for direct file operations (read, write, edit), searching (glob, grep, semantic search), and executing shell commands (bash).","aiderToolsTooltip":"Agent can use Aider to perform add/drop context files actions and run prompts.","useAiderTools":"Use Aider tools","usePowerTools":"Use Power tools","useTodoTools":"Use Todo tools","useTaskTools":"Use Task tools","useMemoryTools":"Use Memory tools","useSkillsTools":"Use Skills tools","includeContextFiles":"Include context files","includeFilesTooltip":"Adds content of context files into the chat of agent. This will increase token usage.","includeRepoMap":"Include repository map","includeRepoMapTooltip":"Include the repository map from Aider in the agent's context. This can help the agent understand the project structure, but will increase token usage.","autonomyMode":"Autonomy mode","override":"Override","clearOverride":"Clear Override","autoCompactThresholdPercentage":"Auto-compact Threshold %","autoCompactThresholdPercentageTooltip":"Overrides the global auto-compact percentage threshold for this profile. When token usage exceeds this percentage of model capacity, compaction is triggered.","autoCompactThresholdTokens":"Auto-compact Max Tokens","autoCompactThresholdTokensTooltip":"Overrides the global auto-compact token threshold for this profile. Compaction triggers when the lower of the percentage and token thresholds is exceeded.","autoCompactionType":"Compaction Type","autoCompactionTypeTooltip":"Overrides the global compaction type for this profile. Choose how to manage conversation context when the token threshold is exceeded.","selectOrCreateProfile":"Select or create new agent profile","newProfileName":"New Profile","bashToolAllowedPattern":"Allowed patterns","bashToolDeniedPattern":"Denied patterns","bashToolAllowedPatternPlaceholder":"e.g. 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"e.g. 'rm .*'","bashToolAllowedPatternTooltip":"Commands that match these Regex patterns separated by ; can be executed without approval","bashToolDeniedPatternTooltip":"Commands that match these Regex patterns separated by ; will always be denied execution","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"Found in: {{source}}","createNewProfile":"Create New","genericTools":"Tools","noGenericToolsConfigured":"No tools configured.","todoTools":"Todo tools","includeTodoToolsTooltip":"Allows the agent to manage a list of todo items, including setting, getting, updating, and clearing them.","subagent":{"title":"Subagent","enableAsSubagent":"Enable as Subagent","enableAsSubagentInformation":"When enabled, this profile is available as a subagent to other agents.","canUseSubagents":"Can use Subagents","canUseSubagentsInformation":"When enabled, this agent can use subagents.","usingSubagents":"Using Subagents","actingAsSubagent":"Acting as Subagent","allowAllSubagents":"Allow all subagents","allowAllSubagentsInformation":"When enabled, this agent can use any subagent-enabled profile. Disable to select specific subagents this agent is allowed to use.","noSubagentsAvailable":"No subagent-enabled profiles available. Enable 'Enable as Subagent' on other profiles to make them available here.","contextMemory":"Context memory","contextMemoryTooltip":"Controls how much of the previous conversation context is remembered by the subagent. 'Full Context' maintains all previous subagents history, 'Last Message' only uses the final messages from previous subagent runs, and 'Off' starts fresh each time.","contextMemory.off":"Off","contextMemory.fullContext":"Full Context","contextMemory.lastMessage":"Last Message","description":"Description","descriptionPlaceholder":"Describe this subagent's purpose, capabilities, and specialization and when this subagent should be invoked","systemPrompt":"System Prompt","systemPromptPlaceholder":"Your subagent's system prompt. This can be multiple paragraphs and should define the subagent's role, capabilities, and approach. If left empty, the agent's main System Prompt will be used; if that is also empty, the default built-in system prompt applies.","invocationMode":"Invocation","invocationModeOnDemand":"On demand","invocationModeOnDemandInformation":"Subagent is only used when explicitly requested by the user.","invocationModeAutomatic":"Automatic","invocationModeAutomaticInformation":"Subagent can be automatically invoked when appropriate by the agent.","statusDisabled":"Disabled","statusOnDemand":"On-demand","statusAutomatic":"Automatic","descriptionRequiredForAutomatic":"Description needs to be set in order to use this subagent automatically, otherwise the subagent can only be used when explicitly requested by the user.","on-demand":"Used as subagent on user demand","automatic":"Used as subagent automatically","automaticSubagent":"Automatic Subagent","onDemandSubagent":"On-demand Subagent"},"skills":{"activating":"Activating {{name}} skill...","activated":"Activated {{name}} skill","skill":"Skill"},"profileContext":"Profile Context","globalProfiles":"Global Profiles","projectProfiles":"Project Profiles: {{projectName}}","global":"Global","previousContext":"Previous project","nextContext":"Next project","noProfilesInContext":"No profiles found in this context","createNewProfileInContext":"Create New Profile","copyProfile":"Copy","cutProfile":"Cut","deleteProfile":"Delete","pasteProfile":"Paste Agent","resetProfileToDefaults":"Reset to Defaults","resetProfileTitle":"Reset '{{name}}' to Defaults?","resetProfileConfirm":"This will restore '{{name}}' to its original default settings. Any custom modifications will be lost.","restoreProfile":"Restore","restoreProfileTooltip":"Restore this default profile"},"aider":{"options":"Options","optionsPlaceholder":"e.g. --no-auto-commits --cache-prompts","autoCommits":"Auto commit of LLM changes","cachingEnabled":"Enable prompt caching","watchFiles":"Watch files for changes","environmentVariables":"Environment Variables","envVarsPlaceholder":"#################\\n# LLM parameters:\\n#\\n# Include xxx_API_KEY parameters and other params needed for your LLMs.\\n# See https://aider.chat/docs/llms.html for details.\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"Check the documentation for available options at","envVarsDocumentation":"Check the documentation for environment variables at","context":"Context","addRuleFiles":"Add rule files from project's <file>.aider-desk/rules</file> directory as read-only files.","confirmBeforeEdit":"Confirm before editing files"},"common":{"showSecrets":"Show Secrets","learnMore":"Learn more"},"notificationsEnabled":"Notifications enabled","zoom":"Zoom level","theme":"Theme","font":"Font","fontSize":"Font size","fontOptions":{"Sono":"Sono (Default)","PlayfairDisplay":"Playfair Display","SpaceGrotesk":"Space Grotesk","GoogleSansCode":"Google Sans Code","JetBrainsMono":"JetBrains Mono","RobotoMono":"Roboto Mono","SourceCodePro":"Source Code Pro","SpaceMono":"Space Mono","UbuntuMono":"Ubuntu Mono"},"themeOptions":{"dark":"Default (Dark)","light":"Default (Light)","ocean":"Ocean","forest":"Forest","lavender":"Lavender","bw":"Black & White","midnight":"Midnight","neon":"Neon","neopunk":"Neopunk","charcoal":"Charcoal","aurora":"Aurora","serenity":"Serenity","cappuccino":"Cappuccino","fresh":"Fresh","botanical-garden":"Botanical Garden","botanical-garden-dark":"Botanical Garden (Dark)","obsidian":"Obsidian"},"aiderRestartConfirm":{"title":"Restart Required","message":"Changes to Aider options or environment variables require a restart of the Aider task to take effect. Would you like to restart now?","restartNow":"Restart now","later":"I'll do it later"},"models":{"title":"Model Providers","description":"Configure your LLM providers for use with both Aider and Agent modes. Click on a provider card to configure API key and additional settings.","configured":"Configured","notConfigured":"Not configured","agentOnly":"Agent only","showAllProviders":"Show All Providers","additionalProvidersInfo":"You can configure additional LLM providers for Aider by setting environment variables in the <aiderTab>Aider settings</aiderTab>."},"vertexAi":{"project":"Project","projectPlaceholder":"Enter your Google Cloud project ID","location":"Location","locationPlaceholder":"Enter your Google Cloud location","credentials":"Google Cloud Credentials (optional)","credentialsPlaceholder":"Enter your Google Cloud credentials JSON"},"about":{"version":"Version","notAvailable":"N/A","checkForUpdates":"Check for updates","newAiderVersionAvailable":"New Aider version ({{version}}) is available - restart AiderDesk to install.","updateAvailable":"Update is available","downloadUpdate":"Download","downloadingUpdate":"Downloading update","newAiderDeskVersionReady":"A new version is ready. Restart AiderDesk to apply the update.","downloadAutomatically":"Download update automatically","releaseNotes":"Release notes","openLogsDirectory":"Open logs directory","openLogsError":"Error opening a log directory","showLogs":"Show logs"},"viewMenu":{"title":"View","showLogs":"Show Logs"},"telemetry":{"title":"Telemetry"},"promptBehavior":{"title":"Prompt Behavior","showSuggestions":"Show suggestions","automaticallyWhileTyping":"Automatically while typing","onlyWhenTabPressed":"Only when TAB key is pressed","suggestionsDelay":"Suggestions delay","requireCommandConfirmation":"Require confirmation for commands","addCommand":"/add","readOnlyCommand":"/read-only","modelCommand":"/model","modeSwitchingCommands":"Mode commands (/code, /agent, ...)","keyBindings":"Key bindings","useVimBindings":"Use Vim bindings","useVimBindingsTooltip":"Enable Vim key bindings for navigating and editing text in the prompt field.","modeAtSign":"@ mention mode"},"network":{"proxy":"Proxy","enableProxy":"Enable Proxy","enableProxyDescription":"Route all HTTP/HTTPS traffic through a proxy server. Affects LLM API calls, extension fetching, update checks, and all other outbound requests.","proxyUrl":"Proxy URL","proxyUrlPlaceholder":"http://127.0.0.1:8888","proxyUrlDescription":"HTTP or SOCKS5 proxy server address","noProxy":"No Proxy","noProxyPlaceholder":"localhost,127.0.0.1,.internal.example.com","noProxyDescription":"Comma-separated list of hosts or domains that should bypass the proxy. Supports exact hostnames, IP addresses, and wildcard domains (e.g., .example.com)"},"server":{"description":"Enable server on port 24337 to access AiderDesk from external applications","status":"Status","running":"Running","enableBasicAuth":"Enable Basic Authentication","enableBasicAuthDescription":"Require username and password for browser access and API calls","username":"Username","password":"Password","controlServer":"REST API Server","starting":"Starting...","stopping":"Stopping...","start":"Start","stop":"Stop","stopped":"Stopped","copyUrl":"Copy URL","tunnelManagement":"Tunnel Management","tunnelDescription":"Create a Cloudflare tunnel to securely access your server from external networks. Make sure to use Authentication when exposing the server externally.","cors":"CORS","enableCors":"Enable CORS","enableCorsDescription":"Allow cross-origin requests from external websites. By default, only same-origin requests from the AiderDesk UI are permitted.","corsOrigins":"Allowed Origins","corsOriginPlaceholder":"https://example.com","addCorsOrigin":"Add origin","corsOriginsDescription":"List of origins allowed to access the API (e.g., https://your-dashboard.example.com)."},"messages":{"title":"Message Display","display":"Display Options","markdownRendering":"Markdown rendering","diffViewMode":"Diff view mode","viewMode":"Messages view mode","viewModeFull":"Full","viewModeCompact":"Compact","fullMessageRendering":"Use full message rendering (Legacy)","fullMessageRenderingTooltip":"Renders all messages in the DOM without virtualization. May impact performance with large conversation histories."},"memory":{"configuration":"Configuration","description":"Configure AI memory features to enhance conversation continuity and context retention across sessions.","enabled":{"label":"Enable","description":"Enable AI memory to remember important information across conversations and sessions."},"model":{"label":"Model"},"provider":{"label":"Embedding Provider","description":"Choose the embedding provider to use for memory functionality"},"maxDistance":{"label":"Relevance threshold","description":"Higher values retrieve more (and less relevant) memories. Lower values retrieve fewer (and more relevant) memories."},"embeddingProgress":{"loadingModel":"Loading embedding model: {{status}}","reEmbedding":"Re-embedding memories: {{done}}/{{total}}","error":"Embedding migration failed: {{error}}"},"memories":{"title":"Memories","project":"Project","allProjects":"All projects","loading":"Loading memories...","empty":"No memories found.","delete":"Delete","deleteAllForProject":"Delete all for project","deleteDialogTitle":"Delete memory","deleteDialogText":"Delete memory","deleteProjectDialogTitle":"Delete project memories","deleteProjectDialogText":"Delete all memories for project","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"File watch mode","tooltip":"Controls how file changes are detected. Auto: uses polling in Docker and on network drives, native elsewhere. Native: uses OS file system events (faster). Polling: uses periodic scanning (more reliable in some environments).","auto":"Auto","native":"Native","polling":"Polling"},"notificationsAndFiles":{"title":"Notifications & Files"}}`);
|
|
392233
392438
|
const messages$2 = { "thinking": "Thinking...", "loading": "Loading...", "copy": "Copy", "copied": "Copied!", "interrupted": "Interrupted by user.", "taskInterrupted": "Task Interrupted", "taskInterruptedDescription": "The task was interrupted by the user while in progress.", "delete": "Delete", "redo": "Redo", "edit": "Edit", "forkFromHere": "Fork from here", "editingLastMessage": "Editing message", "cancelEdit": "Cancel", "group": "Group", "scrollToBottom": "Scroll to bottom", "previousUserMessage": "Previous user message", "nextUserMessage": "Next user message", "messageBar": "Message Bar", "execute": "Execute", "resume": "Resume", "taskReadyForReview": "Task Ready for Review", "taskTodo": "Task Not Started", "taskTodoDescription": "Task Ready to Execute.", "markAsDone": "Mark as done", "reviewChanges": "Review changes", "taskReadyForImplementation": "Task Ready for Implementation", "taskDone": "Task Completed", "taskDoneArchived": "Task Completed and Archived", "taskDelegated": "Task was delegated to a subtask. You can resume it if needed.", "proceed": "Proceed", "archive": "Archive", "unarchive": "Unarchive", "confirmDelete": "Confirm Delete", "remove": "Remove message", "deleteUpToHere": "Delete up to here" };
|
|
392234
392439
|
const errors$2 = { "frozenTitle": "AIDER FROZEN?", "frozenMessage": "Aider process seems to be frozen. Would you like to restart the task?", "removeMessageFailed": "Failed to remove message - please try again", "forkTaskFailed": "Failed to fork task - please try again", "removeMessagesUpToFailed": "Failed to remove messages - please try again", "appCrash": { "title": "Something went wrong", "message": "An unexpected error occurred and the application could not continue.", "reportIssue": "Please, consider reporting an issue at <a>https://github.com/hotovo/aider-desk/issues</a>. Thank you.", "reload": "Reload", "details": "Error details", "copy": "Copy", "copied": "Copied!" } };
|
|
392235
392440
|
const dialogs$2 = { "confirm": "Confirm", "confirmDelete": "Are you sure you want to delete this?", "addFile": "Add File", "openProject": "Open Project", "recentProjects": "Recent projects", "openProjectTitle": "OPEN PROJECT", "projectPathPlaceholder": "Type the path to your project or use icon to browse", "openButton": "Open", "browseFoldersTooltip": "Browse folders", "projectAlreadyOpenWarning": "This project is already open.", "cantOpenProject": "This project can not be opened." };
|
|
@@ -392252,17 +392457,17 @@ const reflectedMessage$2 = { "title": "Reflected Message" };
|
|
|
392252
392457
|
const responseMessage$2 = { "inputTokens": "Input Tokens", "outputTokens": "Output Tokens", "cacheWriteTokens": "Cache Write Tokens", "cacheReadTokens": "Cache Read Tokens" };
|
|
392253
392458
|
const compaction$2 = { "fileEdited": "File edited (context compacted)" };
|
|
392254
392459
|
const thinkingAnswer$2 = { "thinking": "THINKING", "answer": "ANSWER" };
|
|
392255
|
-
const toolMessage$2 = { "toolLabel": "{{server}}: {{tool}}", "arguments": "Arguments:", "executing": "Executing tool...", "result": "Result:", "error": "Error while executing tool:", "denied": "Denied by user.", "deniedByReason": "Denied by user:\n{{reason}}", "tasks": { "listTasks": "List tasks", "listTasksWithState": "List tasks with state: {{state}}", "getTask": "Get task", "getTaskMessage": "Get task message", "createTask": "Create task", "deleteTask": "Delete task", "runPrompt": "Run prompt on task", "searchTask": "Search task:", "inTask": "in", "searchTaskNoMatches": "No matches found.", "searchParentTask": "Search parent task:", "inParentTask": "in", "searchParentTaskNoMatches": "No matches found.", "name": "Name", "parentTaskId": "Parent Task ID", "execute": "Execute", "executeInBackground": "Execute in background", "mode": "Mode", "autonomyMode": "Autonomy mode", "worktree": "Worktree", "executeAndWait": "Execute and Wait", "yes": "Yes", "no": "No", "taskId": "Task ID", "messageIndex": "Message Index", "prompt": "Prompt", "agentProfile": "Agent Profile", "model": "Model", "state": "State", "result": "Result", "contextFiles": "Context Files", "contextMessages": "Context Messages", "currentMode": "Current mode", "role": "Role", "usage": "Usage", "noTasksFound": "No tasks found", "taskNotFound": "Task not found", "messageNotFound": "Message not found", "taskCreatedSuccessfully": "Task created successfully", "taskDeletedSuccessfully": "Task deleted successfully", "cannotDeleteCurrentTask": "Cannot delete current task", "active": "Active", "completed": "Completed", "archived": "Archived", "user": "User", "assistant": "Assistant", "readOnly": "Read-only", "createdAt": "Created at", "updatedAt": "Updated at" }, "aider": { "addContextFiles": "Add file(s) to Aider's context:\n{{paths}}", "dropContextFiles": "Drop file(s) from Aider's context:\n{{paths}}", "runPrompt": "Run prompt in Aider", "working": "Aider is working...", "finishedTask": "Aider finished the task.", "noChanges": "Aider did not make any changes." }, "power": { "fileRead": { "title": "Read", "withLines": "With lines", "lineOffset": "Line offset", "lineLimit": "Line limit" }, "fileWrite": { "overwrite": "Rewrite", "append": "Append to", "createOnly": "Create" }, "fileEdit": { "title": "Edit", "searchTerm": "Search Term", "regex": "Regex", "replacementText": "Replacement Text", "replaceAll": "Replace All" }, "glob": { "title": "Find files matching pattern:", "findingFiles": "Finding files...", "foundFiles": "Found {{count}} files", "noMatches": "No files found", "matching": "matching" }, "grep": { "title": "Search files matching", "findingMatches": "Finding...", "in": "in", "for": "for", "foundMatches": "Found {{count}} matches", "noMatches": "No matches found", "contextLines": "({{count}} lines of context)", "matchesCount": "({{count}} matches)", "lineLabel": "Line {{lineNumber}}:", "contextLabel": "Context:" }, "bash": { "title": "Run command", "exitCode": "Exit Code", "stdout": "Stdout", "stderr": "Stderr", "commandFailed": "Command failed", "timeout": "Timeout" }, "semanticSearch": { "title": "Semantic search:", "in": "in", "noMatches": "No matches found.", "foundMatches": "Found {{count}} matches", "score": " (score: {{score}})", "resultLabel": "Result {{index}}" }, "fetch": { "title": "Fetch" } }, "memory": { "group": "Memory", "storingMemory": "Storing memory...", "retrievingMemories": "Retrieving memories...", "deletingMemory": "Deleting memory...", "updatingMemory": "Updating memory...", "listingMemories": "Listing memories...", "memoryStored": "Memory stored.", "memoryUpdated": "Memory updated.", "memoryDeleted": "Memory deleted.", "memoryId": "Memory ID", "type": "Type", "content": "Content", "newContent": "New Content", "query": "Query", "limit": "Limit", "foundMemories": "Found {{count}} memories.", "noMemoriesFound": "No relevant memories have been found.", "noRelevantMemories": "No relevant memories have been found", "storedMemoryDetails": "Stored Memory Details", "updatedMemoryDetails": "Updated Memory Details", "deletedMemoryDetails": "Deleted Memory Details", "retrievedMemories": "Retrieved Memories", "memoryList": "Memory List", "listedMemories": "Listing {{count}} memories.", "ofType": "of type {{type}}", "noMemoriesOfType": "No memories found of type: {{type}}", "all": "All", "delete": "Delete", "memoryNotFound": "Not found", "deleteDialogTitle": "Delete memory", "deleteDialogText": "Are you sure you want to delete this memory?" }, "subagents": { "groupRunning": "{{name}}: Subagent is working...", "groupCompleted": "{{name}}: Subagent finished the task.", "groupCancelled": "{{name}}: Subagent run cancelled by user.", "running": "Subagent is working...", "completed": "Subagent finished the task.", "prompt": "Prompt", "error": "Error running the subagent" }, "errors": { "noSuchTool": "Attempted to use unknown tool: {{toolName}}", "invalidToolArguments": "Invalid arguments for tool: {{toolName}}" } };
|
|
392460
|
+
const toolMessage$2 = { "toolLabel": "{{server}}: {{tool}}", "arguments": "Arguments:", "executing": "Executing tool...", "result": "Result:", "error": "Error while executing tool:", "denied": "Denied by user.", "deniedByReason": "Denied by user:\n{{reason}}", "tasks": { "listTasks": "List tasks", "listTasksWithState": "List tasks with state: {{state}}", "getTask": "Get task", "getTaskMessage": "Get task message", "createTask": "Create task", "deleteTask": "Delete task", "runPrompt": "Run prompt on task", "searchTask": "Search task:", "inTask": "in", "searchTaskNoMatches": "No matches found.", "searchParentTask": "Search parent task:", "inParentTask": "in", "searchParentTaskNoMatches": "No matches found.", "name": "Name", "parentTaskId": "Parent Task ID", "execute": "Execute", "executeInBackground": "Execute in background", "mode": "Mode", "autonomyMode": "Autonomy mode", "worktree": "Worktree", "executeAndWait": "Execute and Wait", "yes": "Yes", "no": "No", "taskId": "Task ID", "messageIndex": "Message Index", "prompt": "Prompt", "agentProfile": "Agent Profile", "model": "Model", "state": "State", "result": "Result", "contextFiles": "Context Files", "contextMessages": "Context Messages", "currentMode": "Current mode", "role": "Role", "usage": "Usage", "noTasksFound": "No tasks found", "taskNotFound": "Task not found", "messageNotFound": "Message not found", "taskCreatedSuccessfully": "Task created successfully", "taskDeletedSuccessfully": "Task deleted successfully", "cannotDeleteCurrentTask": "Cannot delete current task", "active": "Active", "completed": "Completed", "archived": "Archived", "user": "User", "assistant": "Assistant", "readOnly": "Read-only", "createdAt": "Created at", "updatedAt": "Updated at" }, "aider": { "addContextFiles": "Add file(s) to Aider's context:\n{{paths}}", "dropContextFiles": "Drop file(s) from Aider's context:\n{{paths}}", "runPrompt": "Run prompt in Aider", "working": "Aider is working...", "finishedTask": "Aider finished the task.", "noChanges": "Aider did not make any changes." }, "power": { "fileRead": { "title": "Read", "withLines": "With lines", "lineOffset": "Line offset", "lineLimit": "Line limit" }, "fileWrite": { "overwrite": "Rewrite", "append": "Append to", "createOnly": "Create" }, "fileEdit": { "title": "Edit", "searchTerm": "Search Term", "regex": "Regex", "replacementText": "Replacement Text", "replaceAll": "Replace All" }, "glob": { "title": "Find files matching pattern:", "findingFiles": "Finding files...", "foundFiles": "Found {{count}} files", "noMatches": "No files found", "matching": "matching" }, "grep": { "title": "Search files matching", "findingMatches": "Finding...", "in": "in", "for": "for", "foundMatches": "Found {{count}} matches", "noMatches": "No matches found", "contextLines": "({{count}} lines of context)", "matchesCount": "({{count}} matches)", "lineLabel": "Line {{lineNumber}}:", "contextLabel": "Context:" }, "bash": { "title": "Run command", "exitCode": "Exit Code", "stdout": "Stdout", "stderr": "Stderr", "commandFailed": "Command failed", "timeout": "Timeout" }, "semanticSearch": { "title": "Semantic search:", "in": "in", "noMatches": "No matches found.", "foundMatches": "Found {{count}} matches", "score": " (score: {{score}})", "resultLabel": "Result {{index}}" }, "fetch": { "title": "Fetch" } }, "memory": { "group": "Memory", "storingMemory": "Storing memory...", "retrievingMemories": "Retrieving memories...", "deletingMemory": "Deleting memory...", "updatingMemory": "Updating memory...", "listingMemories": "Listing memories...", "memoryStored": "Memory stored.", "memoryUpdated": "Memory updated.", "memoryDeleted": "Memory deleted.", "memoryId": "Memory ID", "type": "Type", "content": "Content", "newContent": "New Content", "query": "Query", "limit": "Limit", "foundMemories": "Found {{count}} memories.", "noMemoriesFound": "No relevant memories have been found.", "noRelevantMemories": "No relevant memories have been found", "storedMemoryDetails": "Stored Memory Details", "updatedMemoryDetails": "Updated Memory Details", "deletedMemoryDetails": "Deleted Memory Details", "retrievedMemories": "Retrieved Memories", "memoryList": "Memory List", "listedMemories": "Listing {{count}} memories.", "ofType": "of type {{type}}", "noMemoriesOfType": "No memories found of type: {{type}}", "all": "All", "delete": "Delete", "memoryNotFound": "Not found", "deleteDialogTitle": "Delete memory", "deleteDialogText": "Are you sure you want to delete this memory?" }, "subagents": { "groupRunning": "{{name}}: Subagent is working...", "groupCompleted": "{{name}}: Subagent finished the task.", "groupCompletedWithDescription": "{{name}}: Subagent finished {{description}}", "groupCancelled": "{{name}}: Subagent run cancelled by user.", "groupCancelledWithDescription": "{{name}}: Subagent run ({{description}}) cancelled by user", "running": "Subagent is working...", "completed": "Subagent finished the task.", "prompt": "Prompt", "error": "Error running the subagent" }, "errors": { "noSuchTool": "Attempted to use unknown tool: {{toolName}}", "invalidToolArguments": "Invalid arguments for tool: {{toolName}}" } };
|
|
392256
392461
|
const codeBlock$2 = { "revertChanges": "Revert changes" };
|
|
392257
392462
|
const diffViewer$2 = { "sideBySide": "Side by Side", "unified": "Unified", "compact": "Compact", "noChanges": "No changes have been made. Content is identical.", "lineComment": { "placeholder": "Describe the changes you want to make to this code...", "taskName": "Update {{filename}}", "createNewTask": "Create new task" } };
|
|
392258
392463
|
const promptField$2 = { "startRecording": "Start listening", "stopRecording": "Stop listening", "voiceUnavailable": "Microphone access not available. The browser's MediaDevices API is not supported in this context. Use HTTPS or localhost.", "savePrompt": "Save Prompt", "savePromptDescription": "Save prompt without executing", "saveError": "Failed to save prompt: {{error}}", "autonomyManual": "Manual", "autonomyManualTooltip": "Manual mode: Every tool execution and plan requires your explicit approval before proceeding. Best for unfamiliar codebases or risky operations.", "autonomyGuided": "Guided", "autonomyGuidedTooltip": "Guided mode: The agent plans before acting and waits for your approval before executing changes. Tool executions are auto-approved. Best for everyday development.", "autonomyAutonomous": "Auto", "autonomyAutonomousTooltip": "Autonomous mode: The agent plans and executes without interruption until the task is complete. Best for trusted tasks where you want to step away.", "autonomyLockTooltip": "Locking keeps the current autonomy mode for newly created tasks", "placeholders": { "0": "Update the UserValidator class to add email format validation...", "1": "Fix the memory leak in DataProcessor.processBatch() by closing...", "2": "Add error handling to PaymentService.chargeCard() with proper...", "3": "Create a React component UserProfileCard with props interface...", "4": "Optimize the SQL query in UserRepository.findByEmail() by adding...", "5": "Add unit tests for AuthController.login() using Jest and...", "6": "Implement the missing handleResize() method in ChartComponent...", "7": "Update package.json to add TypeScript dependency and configure...", "8": "Add input validation to ContactForm's handleSubmit function...", "9": "Fix the bug in calculateTotal() where decimal values are being...", "10": "Add logging to API middleware using Winston for request...", "11": "Create a Dockerfile for Node.js application with multi-stage...", "12": "Add rate limiting middleware to /api/users endpoint using...", "13": "Implement the missing deleteTodo() function in TodoService...", "14": "Add TypeScript interfaces for API response objects in...", "15": "Fix the CSS issue where mobile menu is not displaying...", "16": "Add environment variable validation using dotenv and...", "17": "Create database migration to add 'last_login' column to...", "18": "Add error boundaries to React app to catch component...", "19": "Implement pagination logic in ProductList's fetchProducts..." }, "questionPlaceholder": "...or suggest something else", "queueTitle": "Queued Prompts", "queuedPrompt": "Queued", "queueMessage": "Queue message (Enter)", "removeQueuedPrompt": "Remove", "sendQueuedPromptNow": "Send immediately", "editQueuedPrompt": "Edit", "saveQueuedPrompt": "Save", "cancelEditQueuedPrompt": "Cancel", "answers": { "yes": "(Y)es", "no": "(N)o", "always": "(A)lways", "dontAsk": "(D)on't ask again" }, "invalidCommand": "Invalid command", "stopResponse": "Stop response", "sendMessage": "Send message (Enter)", "clearChat": "Clear chat", "undoContextChange": "Restore messages to previous state", "agentModeOnly": "Available in Agent mode only", "handoffError": "Handoff failed: {{error}}", "taskInfo": "Show task information", "pastedImage": "Pasted image {{index}}" };
|
|
392259
|
-
const agentProfiles$2 = { "title": "Agents", "profileSettings": "Agent Profile: {{profileName}}", "newProfileName": "New Profile", "manageProfiles": "Manage Profiles", "createNew": "New Profile", "profileName": "Name", "profileDescription": "Description", "profileDescriptionPlaceholder": "Describe this agent profile (purpose, tools, etc.)", "tools": "Tools", "model": "Model", "selectProfile": "Select...", "
|
|
392464
|
+
const agentProfiles$2 = { "title": "Agents", "profileSettings": "Agent Profile: {{profileName}}", "newProfileName": "New Profile", "manageProfiles": "Manage Profiles", "editProfile": "Edit Profile", "createNew": "New Profile", "profileName": "Name", "profileDescription": "Description", "profileDescriptionPlaceholder": "Describe this agent profile (purpose, tools, etc.)", "tools": "Tools", "model": "Model", "selectProfile": "Select...", "useAsProjectDefault": "Use as project default" };
|
|
392260
392465
|
const projectBar$2 = { "editFormatTooltip": "This is the format used for editing code. Changing it might cause the model to not perform as expected.", "aider": "Aider", "toggleSidebar": "Toggle sidebar", "modelLibrary": "Model Library", "worktree": "Worktree", "worktreeTooltip": "Toggle worktree for this task" };
|
|
392261
392466
|
const pythonSetup$2 = { "checkingUv": "Checking uv installation...", "downloadingUv": "Downloading uv...", "creatingVenv": "Creating Python environment...", "installingPackage": "Installing {{package}} ({{current}}/{{total}})...", "settingUpConnector": "Setting up Aider connector...", "settingUpMcp": "Setting up MCP server...", "failed": "Python setup failed: {{error}}" };
|
|
392262
392467
|
const workingMode$2 = { "local": "Local", "worktree": "Worktree", "switching": "Switching...", "confirmLocalTitle": "Switch to Local Mode", "confirmLocalMessage": "This worktree has unsaved work:\n{{warnings}}", "localOptionMergeLabel": "Merge changes first, then switch", "localOptionMergeDescription": "Merge worktree commits back to the main branch before switching this task to local mode", "localOptionMergeAllLabel": "Merge and switch all tasks in worktree", "localOptionMergeAllDescription": "Merge worktree commits back to the main branch, then switch all tasks sharing this worktree to local mode", "localOptionRemoveLabel": "Remove worktree and switch", "localOptionRemoveDescription": "Discard uncommitted and unmerged changes, remove the worktree, and switch to local mode", "confirmWorktreeTitle": "Switch to Worktree Mode", "confirmWorktreeMessage": "You have {{count}} uncommitted file(s) in the project directory.", "worktreeOptionJustSwitchLabel": "Switch without taking changes", "worktreeOptionJustSwitchDescription": "Leave uncommitted changes in the project directory and switch to worktree mode", "worktreeOptionCarryOverRemoveLabel": "Carry over and remove from project", "worktreeOptionCarryOverRemoveDescription": "Move uncommitted changes into the worktree, removing them from the project directory", "worktreeOptionCarryOverKeepLabel": "Carry over and keep in project", "worktreeOptionCarryOverKeepDescription": "Copy uncommitted changes into the worktree while also keeping them in the project directory" };
|
|
392263
392468
|
const workingModeTooltip$2 = { "local": "Make changes directly in the local project directory for this task", "worktree": "Use git worktree to make isolated changes for this task" };
|
|
392264
392469
|
const reasoningEffort$2 = { "label": "Reasoning effort", "tooltip": "Reasoning effort determines how much the model will think before taking action. High reasoning effort means the model will think more before taking action, but will also take longer to respond.", "none": "None", "minimal": "Minimal", "low": "Low", "medium": "Medium", "high": "High", "xhigh": "XHigh", "max": "Max" };
|
|
392265
|
-
const commands$2 = { "add": "Add files to the context", "agent": "Switch to agent mode. If already in agent mode, opens the agent model selector. Any text after the command is used as a prompt", "architect": "Switch to architect mode. Architect mode is used to plan changes to the code base and execute them", "ask": "Switch to ask mode. Ask questions about the code base without editing any files", "clear": "Clear the chat history", "clear-logs": "Remove only log messages from chat", "code": "Switch to code mode. Ask for changes to your code", "commit": "Commit unstaged changes to the repo", "context": "Switch to context mode. Ask for changes and Aider will add relevant files to the context", "compact": "Summarize the conversation", "copy-context": "Copy the current chat context as markdown, suitable to paste into a web UI", "drop": "Remove files from the context to free up context space", "edit-last": "Edits the last user message", "init": "Initializes AGENTS.md rule file with project information", "agentModeOnly": "Agent mode only", "map": "Print out the current repository map", "map-refresh": "Force a refresh of the repository map", "model": "Open the model selector", "read-only": "Add files to the chat that are for reference only, or turn added files to read-only", "redo": "Redoes the last user prompt.", "resolve-conflicts": "Resolve merge conflicts using AI", "reasoning-effort": "Set the reasoning effort level (values: minimal/low/medium/high depending on model)", "reset": "Drop all files and clear the chat history", "run": "Run a shell command and optionally add the output to the chat", "task-info": "Show task information", "test": "Run a predefined test command and add the output to the chat on non-zero exit code", "think-tokens": "Set the thinking token budget (supports formats like 8096, 8k, 10.5k, 0.5M)", "tokens": "Report on the number of tokens used by the current chat context", "undo": "Undo the last git commit if it was done by Aider", "web": "Scrape a webpage and save it to a file. Use /web url [file] with optional [file].", "handoff": "Handoff conversation to new task with focus", "subtask": "Create a new subtask of the current task and switch to it" };
|
|
392470
|
+
const commands$2 = { "add": "Add files to the context", "agent": "Switch to agent mode. If already in agent mode, opens the agent model selector. Any text after the command is used as a prompt", "architect": "Switch to architect mode. Architect mode is used to plan changes to the code base and execute them", "ask": "Switch to ask mode. Ask questions about the code base without editing any files", "clear": "Clear the chat history", "clear-logs": "Remove only log messages from chat", "code": "Switch to code mode. Ask for changes to your code", "commit": "Commit unstaged changes to the repo", "context": "Switch to context mode. Ask for changes and Aider will add relevant files to the context", "compact": "Summarize the conversation", "copy-context": "Copy the current chat context as markdown, suitable to paste into a web UI", "drop": "Remove files from the context to free up context space", "edit-last": "Edits the last user message", "init": "Initializes AGENTS.md rule file with project information", "agentModeOnly": "Agent mode only", "map": "Print out the current repository map", "map-refresh": "Force a refresh of the repository map", "model": "Open the model selector", "read-only": "Add files to the chat that are for reference only, or turn added files to read-only", "redo": "Redoes the last user prompt.", "resolve-conflicts": "Resolve merge conflicts using AI", "reasoning-effort": "Set the reasoning effort level (values: minimal/low/medium/high depending on model)", "reset": "Drop all files and clear the chat history", "run": "Run a shell command and optionally add the output to the chat", "task-info": "Show task information", "test": "Run a predefined test command and add the output to the chat on non-zero exit code", "think-tokens": "Set the thinking token budget (supports formats like 8096, 8k, 10.5k, 0.5M)", "tokens": "Report on the number of tokens used by the current chat context", "undo": "Undo the last git commit if it was done by Aider", "web": "Scrape a webpage and save it to a file. Use /web url [file] with optional [file].", "handoff": "Handoff conversation to new task with focus", "subtask": "Create a new subtask of the current task and switch to it", "subagent": "Run a prompt in a specific subagent. Use /subagent <subagent-id> <prompt>" };
|
|
392266
392471
|
const telemetry$2 = { "title": "Telemetry Information", "message": "To help us improve AiderDesk, anonymous telemetry data is collected. This includes information like mode usage (agent, code, ask...) and some specifics when Agent mode is used. No personal data or prompts are ever collected.", "fullInfo": "Full information about what is collected can be found <a>here</a>.", "enabledLabel": "Enable anonymous telemetry" };
|
|
392267
392472
|
const multiselect$2 = { "noneSelected": "None selected", "allSelected": "All selected", "someSelected": "{{count}} selected", "selectAll": "Select All" };
|
|
392268
392473
|
const usageDashboard$2 = { "title": "Usage Dashboard", "refresh": "Refresh", "projects": "Projects", "models": "Models", "dateRange": "Date Range", "total": "Total", "thisMonth": "This month", "today": "Today", "all": "All", "groupBy": "Group by", "periods": { "hour": "Hour", "day": "Day", "month": "Month", "year": "Year" }, "tabs": { "table": "Table View", "charts": "Charts View" }, "charts": { "tokenUsageTrend": "Token Usage Trend", "costBreakdown": "Cost Breakdown", "messageBreakdown": "Message Breakdown", "modelUsageDistribution": "Model Usage Distribution", "inputTokens": "Input Tokens", "outputTokens": "Output Tokens", "noData": "No data available for the selected period", "tokens": "Tokens", "cost": "Cost", "share": "Share", "moreItems": "+{{count}} more" }, "error": { "fetch": "Failed to fetch usage data." }, "table": { "date": "Date", "project": "Project", "model": "Model", "input": "Input", "output": "Output", "cacheRead": "Cache Read", "cacheWrite": "Cache Write", "totalTokens": "Total Tokens", "cost": "Cost" } };
|
|
@@ -392311,6 +392516,7 @@ const en = {
|
|
|
392311
392516
|
zaiPlan: zaiPlan$2,
|
|
392312
392517
|
azure: azure$2,
|
|
392313
392518
|
providers: providers$2,
|
|
392519
|
+
clinepass: clinepass$2,
|
|
392314
392520
|
select: select$2,
|
|
392315
392521
|
settings: settings$2,
|
|
392316
392522
|
messages: messages$2,
|
|
@@ -392393,9 +392599,10 @@ const openRouter$1 = { "apiKey": "API 密钥", "modelPlaceholder": "例如 anthr
|
|
|
392393
392599
|
const opencode$1 = { "apiKey": "API 密钥" };
|
|
392394
392600
|
const requesty$1 = { "apiKey": "API 密钥", "modelPlaceholder": "例如 claude-4-sonnet" };
|
|
392395
392601
|
const azure$1 = { "apiKey": "API 密钥", "resourceName": "资源名称", "apiVersion": "API 版本", "addCustomModelInfo": "Azure 提供商的模型无法自动加载,您需要手动使用“+ 添加模型”添加它们,并确保模型名称与部署名称匹配。" };
|
|
392396
|
-
const
|
|
392602
|
+
const clinepass$1 = { "apiKey": "API 密钥" };
|
|
392603
|
+
const providers$1 = { "anthropic": "Anthropic", "anthropic-compatible": "Anthropic 兼容", "alibaba-plan": "阿里云编码计划", "bedrock": "Bedrock", "cerebras": "Cerebras", "deepseek": "Deepseek", "gemini": "Gemini", "groq": "Groq", "kimi-plan": "Kimi Coding Plan", "gpustack": "GPUStack", "lmstudio": "LM Studio", "litellm": "LiteLLM", "minimax": "Minimax", "mistral": "Mistral", "neuralwatt": "Neuralwatt", "ollama": "Ollama", "openai": "OpenAI", "opencode": "OpenCode ZEN", "openai-compatible": "OpenAI Compatible", "openrouter": "OpenRouter", "requesty": "Requesty", "clinepass": "ClinePass", "synthetic": "Synthetic", "vertex-ai": "Vertex AI", "zai-plan": "Z.ai Coding Plan", "azure": "Azure" };
|
|
392397
392604
|
const select$1 = { "placeholder": "选择选项", "loadingTasks": "正在加载任务..." };
|
|
392398
|
-
const settings$1 = /* @__PURE__ */ JSON.parse(`{"title":"设置","tabs":{"general":"通用","providers":"模型提供者","aider":"Aider","agents":"代理","hotkeys":"快捷键","extensions":"扩展","server":"服务器","network":"网络","memory":"记忆","tasks":"任务","voice":"语音","about":"关于"},"extensions":{"loading":"正在加载扩展...","tabs":{"installed":"已安装","available":"可用"},"installed":{"empty":"没有已安装的扩展","emptyHint":"浏览「可用」选项卡以发现并安装扩展"},"available":{"empty":"所有可用扩展都已安装","extensionsCount":"扩展","installedCount":"已安装","installedExtensions":"已安装扩展"},"search":{"placeholder":"搜索扩展..."},"capabilities":{"all":"全部"},"repositories":{"title":"仓库","placeholder":"输入仓库URL...","add":"添加","remove":"移除仓库","default":"默认仓库"},"by":"作者","enabled":"启用","active":"激活","disabled":"已禁用","projectSpecific":"项目","hasDependencies":"有依赖","osNotSupported":"不支持","osNotSupportedTooltip":"此扩展可能无法在您的操作系统上运行。请查看扩展详情获取更多信息。","install":"安装","installing":"安装中...","update":"更新","updating":"更新中...","uninstall":"卸载","uninstalling":"卸载中...","success":{"install":"成功安装 {{name}}","update":"成功更新 {{name}}","uninstall":"成功卸载 {{name}}","saveSettings":"成功保存 {{name}} 的设置"},"errors":{"loadInstalled":"加载已安装扩展失败","loadAvailable":"加载可用扩展失败","loadSettings":"加载扩展设置组件失败","install":"安装扩展失败。请查看日志了解详情。","update":"更新扩展失败。请查看日志了解详情。","uninstall":"卸载扩展失败","saveSettings":"保存扩展设置失败","settingsNotAvailable":"扩展设置不可用","repositoryExists":"此仓库已添加","cannotRemoveDefault":"无法移除默认仓库","npmNotFound":"您的系统未安装 npm。此扩展需要 npm 来安装依赖项。请安装 Node.js(包含 npm)后重试。"},"previousContext":"上一个上下文","nextContext":"下一个上下文","openSettings":"打开扩展设置","settingsDialog":{"title":"{{name}} 设置"},"expandReadme":"展开 README","collapseReadme":"收起 README"},"hotkeys":{"projectHotkeys":"项目快捷键","taskHotkeys":"任务快捷键","dialogHotkeys":"对话框快捷键","closeProject":"关闭项目","newProject":"新建项目","usageDashboard":"使用情况面板","modelLibrary":"模型库","settings":"设置","cycleNextProject":"切换到下一个项目","cyclePrevProject":"切换到上一个项目","switchProject":"切换到项目 {{number}}","switchTask":"切换到任务 {{number}}","focusPrompt":"聚焦提示框","newTask":"新建任务","closeTask":"关闭任务","browseFolder":"浏览文件夹","enterHotkey":"输入快捷键...","resetToDefaults":"重置为默认值","hotkeyFormat":"快捷键格式:","modKey":"使用 'mod' 表示 Cmd (Mac) 或 Ctrl (Windows/Linux)","multipleKeys":"用逗号分隔多个按键组合","examples":"示例:'mod+w'、'ctrl+shift+t'、'alt+1,meta+1'","clickToRecord":"点击录制","recording":"按下按键...","addShortcut":"添加快捷键","editShortcut":"编辑快捷键","clearShortcut":"清除快捷键","noShortcut":"未配置快捷键","recordShortcutDescription":"点击下方的录制按钮,然后按下您想要用作快捷键的组合键。","pressKeysToRecord":"按键录制中...","startRecording":"开始录制","stopRecording":"停止录制"},"gui":"GUI","voice":{"title":"语音","providerProfile":"提供者配置","model":"模型","idleTimeout":"空闲超时(秒)","idleTimeoutHelp":"静音达到该时间后自动停止录音","systemInstructions":"系统指令","microphone":"麦克风","microphoneDefault":"默认","microphoneUnknown":"未知麦克风","noSupportedProviders":"未配置支持的语音提供者。请通过模型库配置 Gemini 或 OpenAI。","openai":{"title":"OpenAI","model":"模型","language":"语言"},"gemini":{"title":"Gemini","model":"模型","temperature":"温度"}},"startup":{"title":"启动","emptyTask":"启动时创建新任务","lastTask":"加载上次任务"},"tasks":{"title":"任务","smartTaskState":"智能任务状态","smartTaskStateTooltip":"启用后,模型会智能分析代理的响应,将任务分类为'需要更多信息'、'准备实施'或'准备审查'。禁用时,任务状态将始终设置为'准备审查'。","autoGenerateTaskName":"自动生成任务名称","autoGenerateTaskNameTooltip":"启用后,模型会根据您的提示生成简洁的任务名称。禁用时,将使用提示的前5个词作为任务名称。","showTaskStateActions":"显示任务状态操作","showTaskStateActionsTooltip":"启用后,任务状态操作将显示在消息底部。禁用以隐藏这些操作。","contextManagement":"上下文管理","contextCompactingThreshold":"自动压缩阈值","contextCompactingThresholdTooltip":"当令牌使用量超过此阈值时,将根据所选的压缩类型自动管理对话。设置为 0 可禁用。","contextCompactingThresholdOff":"关闭","contextCompactingThresholdTokens":"最大令牌数","contextCompactingThresholdTokensTooltip":"最大令牌数阈值。当百分比和令牌阈值中较低的一个被超出时,将触发压缩。","contextCompactingThresholdLowerNote":"压缩将使用百分比和令牌阈值中较低的值。","contextCompactionType":"压缩类型","contextCompactionTypeCompact":"压缩","contextCompactionTypeCompactTooltip":"使用LLM在任务内总结对话。","contextCompactionTypeHandoff":"交接","contextCompactionTypeHandoffTooltip":"创建一个新任务,并附带当前对话的交接摘要。","contextCompactionTypeSmart":"智能","contextCompactionTypeSmartTooltip":"以确定性方式移除冗余工具消息,无需使用LLM。","contextCompactionTypeTooltip":"选择当令牌阈值超出时如何管理对话上下文","worktree":"工作树","worktreeSymlinkFoldersLabel":"符号链接文件夹","worktreeSymlinkFoldersTooltip":"这些文件夹将从项目根目录符号链接到任务工作树。适用于像 node_modules 这样的大型依赖。","noSymlinkFolders":"未配置符号链接文件夹","symlinkFolderPlaceholder":"文件夹名称(例如 node_modules)","addSymlinkFolder":"添加","removeSymlinkFolder":"移除文件夹","worktreeBranchPrefix":"分支前缀","worktreeBranchPrefixTooltip":"创建工作树分支名称时使用的前缀。例如,'aider-desk/task/' 将创建类似 'aider-desk/task/my-feature' 的分支。","worktreeBranchPrefixPlaceholder":"例如 aider-desk/task/","renameBranchOnNameGeneration":"任务名称生成时重命名分支","renameBranchOnNameGenerationTooltip":"启用后,工作树分支将自动重命名以匹配生成的任务名称。禁用此选项可保留原始分支名称。","auxiliaryModelsTitle":"辅助模型","auxiliaryModelsDescription":"配置后台 AI 操作的模型。设置为 '继承' 以使用主代理模型。","taskNameModel":"任务名称模型","taskNameModelTooltip":"用于从提示自动生成任务名称的模型","taskStateModel":"任务状态模型","taskStateModelTooltip":"用于确定任务状态(准备审查、需要更多信息等)的模型","commitMessageModel":"提交消息","commitMessageModelTooltip":"用于生成提交消息的模型","inheritModel":"继承","defaultWorkingMode":"默认工作模式","defaultWorkingModeTooltip":"新任务的默认工作模式。本地模式直接在项目目录中工作,工作树模式使用隔离的 git 工作树。"},"language":"语言","notifications":{"title":"通知"},"windowTitle":{"title":"窗口标题"},"windowTitleTemplateLabel":"窗口标题模板","windowTitleTemplateTooltip":"使用 {project} 表示项目名称,{task} 表示当前任务名称。例如:'AiderDesk - {project}' 或 '{project} - {task}'","agent":{"mcpServers":"MCP 服务器","provider":"提供商","providerSettings":"提供商设置","context":"上下文","addRuleFiles":"将项目中的 \`.aider-desk/rules\` 目录下的规则文件添加为只读文件。","runSettings":"运行参数","maxIterations":"最大迭代次数","infinite":"无限","minTimeBetweenToolCalls":"工具调用最小间隔时间(毫秒)","maxTokens":"最大令牌数","temperature":"温度","rules":"自定义指令","rulesInfo":"您可以使用自定义指令为特定的 MCP 服务器添加特定指令,或控制代理的流程。","noServersConfigured":"未配置 MCP 服务器。","computationalResources":"代理每次运行的最大迭代次数。有助于控制计算资源。","rateLimiting":"设置工具调用之间的最小时间以防止速率限制(例如对于 Brave 或其他 API 受限的服务)。","temperatureTooltip":"控制响应的随机性。较低的值(0.0-0.3)使响应更专注和确定性,较高的值(0.7-1.0)使响应更有创意和变化性。当未设置时,使用模型的默认温度。","tokensPerResponse":"代理每次响应可以使用的最大令牌数。当未设置时,使用模型的默认最大输出令牌数。","addMcpServer":"添加","editConfig":"编辑配置","editMcpServersConfig":"编辑 MCP 服务器配置","reloadServers":"重新加载","powerToolsTooltip":"允许代理使用强大的工具进行直接文件操作(读、写、编辑)、搜索(glob、grep、语义搜索)和执行 shell 命令(bash)。","aiderToolsTooltip":"代理可以使用Aider执行添加/删除上下文文件操作和运行提示。","useAiderTools":"使用Aider工具","usePowerTools":"使用 Power 工具","useTodoTools":"使用 Todo 工具","useTaskTools":"使用任务工具","useMemoryTools":"使用记忆工具","useSkillsTools":"使用 Skills 工具","includeContextFiles":"包含上下文文件","includeFilesTooltip":"将上下文文件内容添加到代理的聊天中。这将增加令牌使用量。","includeRepoMap":"包含仓库地图","includeRepoMapTooltip":"在代理的上下文中包含仓库地图。这有助于代理理解项目结构,但可能会增加token使用量。","autonomyMode":"自主模式","override":"覆盖","clearOverride":"清除覆盖","autoCompactThresholdPercentage":"自动压缩阈值 %","autoCompactThresholdPercentageTooltip":"覆盖此配置的全局自动压缩百分比阈值。当令牌使用量超过模型容量的此百分比时,将触发压缩。","autoCompactThresholdTokens":"自动压缩最大令牌数","autoCompactThresholdTokensTooltip":"覆盖此配置的全局自动压缩令牌阈值。当百分比和令牌阈值中较低的一个被超出时,将触发压缩。","autoCompactionType":"压缩类型","autoCompactionTypeTooltip":"覆盖此配置的全局压缩类型。选择当令牌阈值超出时如何管理对话上下文。","selectOrCreateProfile":"选择或创建新的代理配置","newProfileName":"新配置","bashToolAllowedPattern":"始终允许的模式","bashToolDeniedPattern":"拒绝的模式","bashToolAllowedPatternPlaceholder":"例如: 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"例如: 'rm .*'","bashToolAllowedPatternTooltip":"匹配这些用 ; 分隔的正则表达式模式的命令无需批准即可执行","bashToolDeniedPatternTooltip":"匹配这些用 ; 分隔的正则表达式模式的命令将始终被拒绝执行","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"找到于: {{source}}","createNewProfile":"创建新配置","genericTools":"工具","noGenericToolsConfigured":"未配置工具。","todoTools":"待办工具","includeTodoToolsTooltip":"允许代理管理待办事项列表,包括设置、获取、更新和清除它们。","subagent":{"title":"子代理","enableAsSubagent":"启用为子代理","enableAsSubagentInformation":"启用后,此配置可被其他代理用作子代理。","canUseSubagents":"可以使用子代理","canUseSubagentsInformation":"启用后,此代理可以使用其他代理作为子代理。","contextMemory":"上下文记忆","contextMemoryTooltip":"控制子代理记住多少之前的对话上下文。'完整上下文' 保持所有历史记录,'最后消息' 仅使用最近的互动,'关闭' 每次重新开始。","contextMemory.off":"关闭","contextMemory.fullContext":"完整上下文","contextMemory.lastMessage":"最后消息","description":"描述","descriptionPlaceholder":"描述此子代理的目的、能力和专长...","systemPrompt":"系统提示","systemPromptPlaceholder":"输入此配置用作子代理时的自定义系统提示指令...","invocationMode":"调用方式","invocationModeOnDemand":"按需","invocationModeOnDemandInformation":"子代理仅在父代理明确请求时才使用。","invocationModeAutomatic":"自动","invocationModeAutomaticInformation":"子代理可由父代理在适当时自动调用。","statusDisabled":"已禁用","statusOnDemand":"按需","statusAutomatic":"自动","descriptionRequiredForAutomatic":"需要设置描述才能自动使用此子代理,否则只能在用户明确请求时使用该子代理。","on-demand":"仅在明确请求时按需使用","automatic":"在适当时自动使用"},"skills":{"activating":"正在激活 {{name}} 技能...","activated":"已激活 {{name}} 技能","skill":"技能"},"profileContext":"配置上下文","globalProfiles":"全局配置","projectProfiles":"项目配置: {{projectName}}","global":"全局","previousContext":"上一个项目","nextContext":"下一个项目","noProfilesInContext":"此上下文中没有配置","createNewProfileInContext":"创建新配置","copyProfile":"复制","cutProfile":"剪切","deleteProfile":"删除","pasteProfile":"粘贴代理","resetProfileToDefaults":"重置为默认值","resetProfileTitle":"将 '{{name}}' 重置为默认值?","resetProfileConfirm":"这将把 '{{name}}' 恢复到原始默认设置。任何自定义修改都将丢失。","restoreProfile":"恢复","restoreProfileTooltip":"恢复此默认配置"},"aider":{"options":"选项","optionsPlaceholder":"例如 --no-auto-commits --cache-prompts","autoCommits":"启用自动提交","cachingEnabled":"启用提示缓存","watchFiles":"监视文件变化","environmentVariables":"环境变量","envVarsPlaceholder":"#################\\n# LLM 参数:\\n#\\n# 包含 xxx_API_KEY 参数和您的 LLM 所需的其他参数。\\n# 详情请见 https://aider.chat/docs/llms.html\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"查看文档了解可用选项:https://aider.chat/docs/faq.html#how-can-i-pass-command-line-options-to-aider","envVarsDocumentation":"查看文档了解环境变量:https://aider.chat/docs/llms.html","addRuleFiles":"将项目中的 \`.aider-desk/rules\` 目录下的规则文件添加为只读文件。","confirmBeforeEdit":"编辑文件前确认"},"common":{"showSecrets":"显示密钥","learnMore":"了解更多"},"notificationsEnabled":"通知已启用","zoom":"缩放级别","theme":"主题","font":"字体","fontSize":"字体大小","fontOptions":{"sono":"Sono (色)","poppins":"Poppins ","nunito":"Nunito","quicksand":"Quicksand","playfairDisplay":"Playfair Display","lora":"Lora","merriweather":"Merriweather","spaceGrotesk":"Space Grotesk","orbitron":"Orbitron"},"themeOptions":{"dark":"深色","light":"浅色","ocean":"海洋","forest":"森林","lavender":"薰衣草","bw":"黑白","midnight":"午夜","neon":"霓虹","neopunk":"赛博朋克","charcoal":"炭灰","aurora":"极光","serenity":"宁静","fresh":"清新","botanical-garden":"植物园","botanical-garden-dark":"植物园(深色)","obsidian":"黑曜石"},"aiderRestartConfirm":{"title":"需要重启","message":"对 Aider 选项或环境变量的更改需要重新启动 Aider 任务才能生效。您想现在重新启动吗?","restartNow":"立即重启","later":"稍后处理"},"models":{"title":"模型提供商","description":"配置您的 LLM 提供商以在 Aider 和 Agent 模式中使用。点击提供商卡片来配置其设置。","configured":"已配置","notConfigured":"未配置","agentOnly":"仅代理","showAllProviders":"显示所有提供商","additionalProvidersInfo":"需要更多提供商?您可以在<aiderTab>Aider 设置</aiderTab>中通过设置环境变量来配置更多 LLM 提供商。"},"vertexAi":{"project":"项目","projectPlaceholder":"输入您的 Google Cloud 项目 ID","location":"位置","locationPlaceholder":"输入您的 Google Cloud 位置","credentials":"Google Cloud 凭据 (可选)","credentialsPlaceholder":"输入您的 Google Cloud 凭据 JSON"},"about":{"version":"版本","notAvailable":"不可用","checkForUpdates":"检查更新","newAiderVersionAvailable":"新的 Aider 版本可用 ({{version}}) - 重启 AiderDesk 以安装。","updateAvailable":"有可用更新","downloadUpdate":"下载","downloadingUpdate":"正在下载更新","newAiderDeskVersionReady":"新版本已准备好。重启 AiderDesk 以应用更新。","downloadAutomatically":"自动下载更新","releaseNotes":"发行说明","openLogsDirectory":"打开日志目录","openLogsError":"打开日志目录出错","showLogs":"显示日志"},"messages":{"title":"消息显示","display":"显示选项","markdownRendering":"启用 Markdown 渲染","diffViewMode":"差异视图模式","viewMode":"消息视图模式","viewModeFull":"完整","viewModeCompact":"紧凑","fullMessageRendering":"使用完整消息渲染(旧版)","fullMessageRenderingTooltip":"在 DOM 中渲染所有消息而不使用虚拟化。在对话历史较多时可能影响性能。"},"memory":{"configuration":"配置","description":"配置 AI 记忆功能以增强对话连续性和跨会话的上下文保留能力。","enabled":{"label":"启用","description":"启用 AI 记忆功能以在对话和会话之间记住重要信息。"},"model":{"label":"模型"},"provider":{"label":"嵌入提供商","description":"选择用于记忆功能的嵌入提供商"},"maxDistance":{"label":"相关性阈值","description":"值越高会检索到更多(但相关性更低)的记忆。值越低会检索到更少(但相关性更高)的记忆。"},"embeddingProgress":{"loadingModel":"正在加载嵌入模型:{{status}}","reEmbedding":"正在重新嵌入记忆:{{done}}/{{total}}","error":"嵌入迁移失败:{{error}}"},"memories":{"title":"记忆","project":"项目","allProjects":"所有项目","loading":"正在加载记忆...","empty":"未找到记忆。","delete":"删除","deleteAllForProject":"删除该项目的全部记忆","deleteDialogTitle":"删除记忆","deleteDialogText":"删除记忆","deleteProjectDialogTitle":"删除项目记忆","deleteProjectDialogText":"删除该项目的所有记忆","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"文件监视模式","tooltip":"控制如何检测文件更改。自动:在 Docker 和网络驱动器上使用轮询,其他情况使用原生。原生:使用操作系统文件系统事件(更快)。轮询:使用定期扫描(在某些环境中更可靠)。","auto":"自动","native":"原生","polling":"轮询"},"notificationsAndFiles":{"title":"通知与文件"}}`);
|
|
392605
|
+
const settings$1 = /* @__PURE__ */ JSON.parse(`{"title":"设置","tabs":{"general":"通用","providers":"模型提供者","aider":"Aider","agents":"代理","hotkeys":"快捷键","extensions":"扩展","server":"服务器","network":"网络","memory":"记忆","tasks":"任务","voice":"语音","about":"关于"},"extensions":{"loading":"正在加载扩展...","tabs":{"installed":"已安装","available":"可用"},"installed":{"empty":"没有已安装的扩展","emptyHint":"浏览「可用」选项卡以发现并安装扩展"},"available":{"empty":"所有可用扩展都已安装","extensionsCount":"扩展","installedCount":"已安装","installedExtensions":"已安装扩展"},"search":{"placeholder":"搜索扩展..."},"capabilities":{"all":"全部"},"repositories":{"title":"仓库","placeholder":"输入仓库URL...","add":"添加","remove":"移除仓库","default":"默认仓库"},"by":"作者","enabled":"启用","active":"激活","disabled":"已禁用","projectSpecific":"项目","hasDependencies":"有依赖","osNotSupported":"不支持","osNotSupportedTooltip":"此扩展可能无法在您的操作系统上运行。请查看扩展详情获取更多信息。","install":"安装","installing":"安装中...","update":"更新","updating":"更新中...","uninstall":"卸载","uninstalling":"卸载中...","success":{"install":"成功安装 {{name}}","update":"成功更新 {{name}}","uninstall":"成功卸载 {{name}}","saveSettings":"成功保存 {{name}} 的设置"},"errors":{"loadInstalled":"加载已安装扩展失败","loadAvailable":"加载可用扩展失败","loadSettings":"加载扩展设置组件失败","install":"安装扩展失败。请查看日志了解详情。","update":"更新扩展失败。请查看日志了解详情。","uninstall":"卸载扩展失败","saveSettings":"保存扩展设置失败","settingsNotAvailable":"扩展设置不可用","repositoryExists":"此仓库已添加","cannotRemoveDefault":"无法移除默认仓库","npmNotFound":"您的系统未安装 npm。此扩展需要 npm 来安装依赖项。请安装 Node.js(包含 npm)后重试。"},"previousContext":"上一个上下文","nextContext":"下一个上下文","openSettings":"打开扩展设置","settingsDialog":{"title":"{{name}} 设置"},"expandReadme":"展开 README","collapseReadme":"收起 README"},"hotkeys":{"projectHotkeys":"项目快捷键","taskHotkeys":"任务快捷键","dialogHotkeys":"对话框快捷键","closeProject":"关闭项目","newProject":"新建项目","usageDashboard":"使用情况面板","modelLibrary":"模型库","settings":"设置","cycleNextProject":"切换到下一个项目","cyclePrevProject":"切换到上一个项目","switchProject":"切换到项目 {{number}}","switchTask":"切换到任务 {{number}}","focusPrompt":"聚焦提示框","newTask":"新建任务","closeTask":"关闭任务","browseFolder":"浏览文件夹","enterHotkey":"输入快捷键...","resetToDefaults":"重置为默认值","hotkeyFormat":"快捷键格式:","modKey":"使用 'mod' 表示 Cmd (Mac) 或 Ctrl (Windows/Linux)","multipleKeys":"用逗号分隔多个按键组合","examples":"示例:'mod+w'、'ctrl+shift+t'、'alt+1,meta+1'","clickToRecord":"点击录制","recording":"按下按键...","addShortcut":"添加快捷键","editShortcut":"编辑快捷键","clearShortcut":"清除快捷键","noShortcut":"未配置快捷键","recordShortcutDescription":"点击下方的录制按钮,然后按下您想要用作快捷键的组合键。","pressKeysToRecord":"按键录制中...","startRecording":"开始录制","stopRecording":"停止录制"},"gui":"GUI","voice":{"title":"语音","providerProfile":"提供者配置","model":"模型","idleTimeout":"空闲超时(秒)","idleTimeoutHelp":"静音达到该时间后自动停止录音","systemInstructions":"系统指令","microphone":"麦克风","microphoneDefault":"默认","microphoneUnknown":"未知麦克风","noSupportedProviders":"未配置支持的语音提供者。请通过模型库配置 Gemini 或 OpenAI。","openai":{"title":"OpenAI","model":"模型","language":"语言"},"gemini":{"title":"Gemini","model":"模型","temperature":"温度"}},"startup":{"title":"启动","emptyTask":"启动时创建新任务","lastTask":"加载上次任务"},"tasks":{"title":"任务","smartTaskState":"智能任务状态","smartTaskStateTooltip":"启用后,模型会智能分析代理的响应,将任务分类为'需要更多信息'、'准备实施'或'准备审查'。禁用时,任务状态将始终设置为'准备审查'。","autoGenerateTaskName":"自动生成任务名称","autoGenerateTaskNameTooltip":"启用后,模型会根据您的提示生成简洁的任务名称。禁用时,将使用提示的前5个词作为任务名称。","showTaskStateActions":"显示任务状态操作","showTaskStateActionsTooltip":"启用后,任务状态操作将显示在消息底部。禁用以隐藏这些操作。","contextManagement":"上下文管理","contextCompactingThreshold":"自动压缩阈值","contextCompactingThresholdTooltip":"当令牌使用量超过此阈值时,将根据所选的压缩类型自动管理对话。设置为 0 可禁用。","contextCompactingThresholdOff":"关闭","contextCompactingThresholdTokens":"最大令牌数","contextCompactingThresholdTokensTooltip":"最大令牌数阈值。当百分比和令牌阈值中较低的一个被超出时,将触发压缩。","contextCompactingThresholdLowerNote":"压缩将使用百分比和令牌阈值中较低的值。","contextCompactionType":"压缩类型","contextCompactionTypeCompact":"压缩","contextCompactionTypeCompactTooltip":"使用LLM在任务内总结对话。","contextCompactionTypeHandoff":"交接","contextCompactionTypeHandoffTooltip":"创建一个新任务,并附带当前对话的交接摘要。","contextCompactionTypeSmart":"智能","contextCompactionTypeSmartTooltip":"以确定性方式移除冗余工具消息,无需使用LLM。","contextCompactionTypeTooltip":"选择当令牌阈值超出时如何管理对话上下文","worktree":"工作树","worktreeSymlinkFoldersLabel":"符号链接文件夹","worktreeSymlinkFoldersTooltip":"这些文件夹将从项目根目录符号链接到任务工作树。适用于像 node_modules 这样的大型依赖。","noSymlinkFolders":"未配置符号链接文件夹","symlinkFolderPlaceholder":"文件夹名称(例如 node_modules)","addSymlinkFolder":"添加","removeSymlinkFolder":"移除文件夹","worktreeBranchPrefix":"分支前缀","worktreeBranchPrefixTooltip":"创建工作树分支名称时使用的前缀。例如,'aider-desk/task/' 将创建类似 'aider-desk/task/my-feature' 的分支。","worktreeBranchPrefixPlaceholder":"例如 aider-desk/task/","renameBranchOnNameGeneration":"任务名称生成时重命名分支","renameBranchOnNameGenerationTooltip":"启用后,工作树分支将自动重命名以匹配生成的任务名称。禁用此选项可保留原始分支名称。","auxiliaryModelsTitle":"辅助模型","auxiliaryModelsDescription":"配置后台 AI 操作的模型。设置为 '继承' 以使用主代理模型。","taskNameModel":"任务名称模型","taskNameModelTooltip":"用于从提示自动生成任务名称的模型","taskStateModel":"任务状态模型","taskStateModelTooltip":"用于确定任务状态(准备审查、需要更多信息等)的模型","commitMessageModel":"提交消息","commitMessageModelTooltip":"用于生成提交消息的模型","inheritModel":"继承","defaultWorkingMode":"默认工作模式","defaultWorkingModeTooltip":"新任务的默认工作模式。本地模式直接在项目目录中工作,工作树模式使用隔离的 git 工作树。"},"language":"语言","notifications":{"title":"通知"},"windowTitle":{"title":"窗口标题"},"windowTitleTemplateLabel":"窗口标题模板","windowTitleTemplateTooltip":"使用 {project} 表示项目名称,{task} 表示当前任务名称。例如:'AiderDesk - {project}' 或 '{project} - {task}'","agent":{"tabs":{"general":"常规","prompts":"提示词","tools":"工具","subagents":"子代理"},"systemPrompt":"系统提示词","systemPromptTooltip":"设置后,当此配置作为主代理运行时,将替换默认内置系统提示词。作为子代理使用时,如果未设置子代理专用系统提示词,将以此作为回退。留空则使用内置系统提示词。","systemPromptPlaceholder":"此代理的自定义系统提示词。留空则使用默认内置系统提示词。","systemPromptInfo":"覆盖代理的默认系统提示词。如需在默认系统提示词后追加指令,请使用下方的规则。","systemPromptPlaceholders":{"projectDir":"项目根目录的绝对路径","taskDir":"此任务的工作目录(项目根目录,或使用工作树时的工作树路径)","currentDate":"当前日期字符串","osName":"主机操作系统名称","projectGitRootDirectory":"任务使用工作树时的项目 Git 根目录;否则为空"},"mcpServers":"MCP 服务器","provider":"提供商","providerSettings":"提供商设置","context":"上下文","addRuleFiles":"将项目中的 \`.aider-desk/rules\` 目录下的规则文件添加为只读文件。","runSettings":"运行参数","maxIterations":"最大迭代次数","infinite":"无限","minTimeBetweenToolCalls":"工具调用最小间隔时间(毫秒)","maxTokens":"最大令牌数","temperature":"温度","rules":"自定义指令","rulesInfo":"您可以使用自定义指令为特定的 MCP 服务器添加特定指令,或控制代理的流程。","noServersConfigured":"未配置 MCP 服务器。","computationalResources":"代理每次运行的最大迭代次数。有助于控制计算资源。","rateLimiting":"设置工具调用之间的最小时间以防止速率限制(例如对于 Brave 或其他 API 受限的服务)。","temperatureTooltip":"控制响应的随机性。较低的值(0.0-0.3)使响应更专注和确定性,较高的值(0.7-1.0)使响应更有创意和变化性。当未设置时,使用模型的默认温度。","tokensPerResponse":"代理每次响应可以使用的最大令牌数。当未设置时,使用模型的默认最大输出令牌数。","addMcpServer":"添加","editConfig":"编辑配置","editMcpServersConfig":"编辑 MCP 服务器配置","reloadServers":"重新加载","powerToolsTooltip":"允许代理使用强大的工具进行直接文件操作(读、写、编辑)、搜索(glob、grep、语义搜索)和执行 shell 命令(bash)。","aiderToolsTooltip":"代理可以使用Aider执行添加/删除上下文文件操作和运行提示。","useAiderTools":"使用Aider工具","usePowerTools":"使用 Power 工具","useTodoTools":"使用 Todo 工具","useTaskTools":"使用任务工具","useMemoryTools":"使用记忆工具","useSkillsTools":"使用 Skills 工具","includeContextFiles":"包含上下文文件","includeFilesTooltip":"将上下文文件内容添加到代理的聊天中。这将增加令牌使用量。","includeRepoMap":"包含仓库地图","includeRepoMapTooltip":"在代理的上下文中包含仓库地图。这有助于代理理解项目结构,但可能会增加token使用量。","autonomyMode":"自主模式","override":"覆盖","clearOverride":"清除覆盖","autoCompactThresholdPercentage":"自动压缩阈值 %","autoCompactThresholdPercentageTooltip":"覆盖此配置的全局自动压缩百分比阈值。当令牌使用量超过模型容量的此百分比时,将触发压缩。","autoCompactThresholdTokens":"自动压缩最大令牌数","autoCompactThresholdTokensTooltip":"覆盖此配置的全局自动压缩令牌阈值。当百分比和令牌阈值中较低的一个被超出时,将触发压缩。","autoCompactionType":"压缩类型","autoCompactionTypeTooltip":"覆盖此配置的全局压缩类型。选择当令牌阈值超出时如何管理对话上下文。","selectOrCreateProfile":"选择或创建新的代理配置","newProfileName":"新配置","bashToolAllowedPattern":"始终允许的模式","bashToolDeniedPattern":"拒绝的模式","bashToolAllowedPatternPlaceholder":"例如: 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"例如: 'rm .*'","bashToolAllowedPatternTooltip":"匹配这些用 ; 分隔的正则表达式模式的命令无需批准即可执行","bashToolDeniedPatternTooltip":"匹配这些用 ; 分隔的正则表达式模式的命令将始终被拒绝执行","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"找到于: {{source}}","createNewProfile":"创建新配置","genericTools":"工具","noGenericToolsConfigured":"未配置工具。","todoTools":"待办工具","includeTodoToolsTooltip":"允许代理管理待办事项列表,包括设置、获取、更新和清除它们。","subagent":{"title":"子代理","enableAsSubagent":"启用为子代理","enableAsSubagentInformation":"启用后,此配置可被其他代理用作子代理。","canUseSubagents":"可以使用子代理","canUseSubagentsInformation":"启用后,此代理可以使用其他代理作为子代理。","usingSubagents":"使用子代理","actingAsSubagent":"作为子代理","allowAllSubagents":"允许所有子代理","allowAllSubagentsInformation":"启用后,此代理可以使用任何已启用子代理功能的配置。禁用以选择此代理允许使用的特定子代理。","noSubagentsAvailable":"没有可用的子代理配置。在其他配置上启用「启用为子代理」以使其在此处可用。","contextMemory":"上下文记忆","contextMemoryTooltip":"控制子代理记住多少之前的对话上下文。'完整上下文' 保持所有历史记录,'最后消息' 仅使用最近的互动,'关闭' 每次重新开始。","contextMemory.off":"关闭","contextMemory.fullContext":"完整上下文","contextMemory.lastMessage":"最后消息","description":"描述","descriptionPlaceholder":"描述此子代理的目的、能力和专长...","systemPrompt":"系统提示","systemPromptPlaceholder":"此子代理的系统提示词。可以包含多个段落,应定义子代理的角色、能力和处理方式。如果留空,将使用代理的主系统提示词;如果主系统提示词也为空,则使用默认内置系统提示词。","invocationMode":"调用方式","invocationModeOnDemand":"按需","invocationModeOnDemandInformation":"子代理仅在父代理明确请求时才使用。","invocationModeAutomatic":"自动","invocationModeAutomaticInformation":"子代理可由父代理在适当时自动调用。","statusDisabled":"已禁用","statusOnDemand":"按需","statusAutomatic":"自动","descriptionRequiredForAutomatic":"需要设置描述才能自动使用此子代理,否则只能在用户明确请求时使用该子代理。","on-demand":"仅在明确请求时按需使用","automatic":"在适当时自动使用","automaticSubagent":"自动子代理","onDemandSubagent":"按需子代理"},"skills":{"activating":"正在激活 {{name}} 技能...","activated":"已激活 {{name}} 技能","skill":"技能"},"profileContext":"配置上下文","globalProfiles":"全局配置","projectProfiles":"项目配置: {{projectName}}","global":"全局","previousContext":"上一个项目","nextContext":"下一个项目","noProfilesInContext":"此上下文中没有配置","createNewProfileInContext":"创建新配置","copyProfile":"复制","cutProfile":"剪切","deleteProfile":"删除","pasteProfile":"粘贴代理","resetProfileToDefaults":"重置为默认值","resetProfileTitle":"将 '{{name}}' 重置为默认值?","resetProfileConfirm":"这将把 '{{name}}' 恢复到原始默认设置。任何自定义修改都将丢失。","restoreProfile":"恢复","restoreProfileTooltip":"恢复此默认配置"},"aider":{"options":"选项","optionsPlaceholder":"例如 --no-auto-commits --cache-prompts","autoCommits":"启用自动提交","cachingEnabled":"启用提示缓存","watchFiles":"监视文件变化","environmentVariables":"环境变量","envVarsPlaceholder":"#################\\n# LLM 参数:\\n#\\n# 包含 xxx_API_KEY 参数和您的 LLM 所需的其他参数。\\n# 详情请见 https://aider.chat/docs/llms.html\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"查看文档了解可用选项:https://aider.chat/docs/faq.html#how-can-i-pass-command-line-options-to-aider","envVarsDocumentation":"查看文档了解环境变量:https://aider.chat/docs/llms.html","addRuleFiles":"将项目中的 \`.aider-desk/rules\` 目录下的规则文件添加为只读文件。","confirmBeforeEdit":"编辑文件前确认"},"common":{"showSecrets":"显示密钥","learnMore":"了解更多"},"notificationsEnabled":"通知已启用","zoom":"缩放级别","theme":"主题","font":"字体","fontSize":"字体大小","fontOptions":{"sono":"Sono (色)","poppins":"Poppins ","nunito":"Nunito","quicksand":"Quicksand","playfairDisplay":"Playfair Display","lora":"Lora","merriweather":"Merriweather","spaceGrotesk":"Space Grotesk","orbitron":"Orbitron"},"themeOptions":{"dark":"深色","light":"浅色","ocean":"海洋","forest":"森林","lavender":"薰衣草","bw":"黑白","midnight":"午夜","neon":"霓虹","neopunk":"赛博朋克","charcoal":"炭灰","aurora":"极光","serenity":"宁静","fresh":"清新","botanical-garden":"植物园","botanical-garden-dark":"植物园(深色)","obsidian":"黑曜石"},"aiderRestartConfirm":{"title":"需要重启","message":"对 Aider 选项或环境变量的更改需要重新启动 Aider 任务才能生效。您想现在重新启动吗?","restartNow":"立即重启","later":"稍后处理"},"models":{"title":"模型提供商","description":"配置您的 LLM 提供商以在 Aider 和 Agent 模式中使用。点击提供商卡片来配置其设置。","configured":"已配置","notConfigured":"未配置","agentOnly":"仅代理","showAllProviders":"显示所有提供商","additionalProvidersInfo":"需要更多提供商?您可以在<aiderTab>Aider 设置</aiderTab>中通过设置环境变量来配置更多 LLM 提供商。"},"vertexAi":{"project":"项目","projectPlaceholder":"输入您的 Google Cloud 项目 ID","location":"位置","locationPlaceholder":"输入您的 Google Cloud 位置","credentials":"Google Cloud 凭据 (可选)","credentialsPlaceholder":"输入您的 Google Cloud 凭据 JSON"},"about":{"version":"版本","notAvailable":"不可用","checkForUpdates":"检查更新","newAiderVersionAvailable":"新的 Aider 版本可用 ({{version}}) - 重启 AiderDesk 以安装。","updateAvailable":"有可用更新","downloadUpdate":"下载","downloadingUpdate":"正在下载更新","newAiderDeskVersionReady":"新版本已准备好。重启 AiderDesk 以应用更新。","downloadAutomatically":"自动下载更新","releaseNotes":"发行说明","openLogsDirectory":"打开日志目录","openLogsError":"打开日志目录出错","showLogs":"显示日志"},"messages":{"title":"消息显示","display":"显示选项","markdownRendering":"启用 Markdown 渲染","diffViewMode":"差异视图模式","viewMode":"消息视图模式","viewModeFull":"完整","viewModeCompact":"紧凑","fullMessageRendering":"使用完整消息渲染(旧版)","fullMessageRenderingTooltip":"在 DOM 中渲染所有消息而不使用虚拟化。在对话历史较多时可能影响性能。"},"memory":{"configuration":"配置","description":"配置 AI 记忆功能以增强对话连续性和跨会话的上下文保留能力。","enabled":{"label":"启用","description":"启用 AI 记忆功能以在对话和会话之间记住重要信息。"},"model":{"label":"模型"},"provider":{"label":"嵌入提供商","description":"选择用于记忆功能的嵌入提供商"},"maxDistance":{"label":"相关性阈值","description":"值越高会检索到更多(但相关性更低)的记忆。值越低会检索到更少(但相关性更高)的记忆。"},"embeddingProgress":{"loadingModel":"正在加载嵌入模型:{{status}}","reEmbedding":"正在重新嵌入记忆:{{done}}/{{total}}","error":"嵌入迁移失败:{{error}}"},"memories":{"title":"记忆","project":"项目","allProjects":"所有项目","loading":"正在加载记忆...","empty":"未找到记忆。","delete":"删除","deleteAllForProject":"删除该项目的全部记忆","deleteDialogTitle":"删除记忆","deleteDialogText":"删除记忆","deleteProjectDialogTitle":"删除项目记忆","deleteProjectDialogText":"删除该项目的所有记忆","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"文件监视模式","tooltip":"控制如何检测文件更改。自动:在 Docker 和网络驱动器上使用轮询,其他情况使用原生。原生:使用操作系统文件系统事件(更快)。轮询:使用定期扫描(在某些环境中更可靠)。","auto":"自动","native":"原生","polling":"轮询"},"notificationsAndFiles":{"title":"通知与文件"}}`);
|
|
392399
392606
|
const messages$1 = { "thinking": "思考中...", "loading": "加载中...", "copy": "复制", "copied": "已复制!", "interrupted": "被用户中断。", "taskInterrupted": "任务中断", "taskInterruptedDescription": "任务在进行过程中被用户中断。", "delete": "删除", "redo": "重做", "edit": "编辑", "forkFromHere": "从这里创建子任务", "editingLastMessage": "正在编辑消息", "cancelEdit": "取消编辑", "group": "分组", "scrollToBottom": "滚动到底部", "previousUserMessage": "上一条用户消息", "nextUserMessage": "下一条用户消息", "messageBar": "消息栏", "execute": "执行", "resume": "继续", "taskReadyForReview": "任务准备就绪,待审查", "taskTodo": "任务未开始", "taskTodoDescription": "任务尚未开始。点击执行开始。", "markAsDone": "标记为完成", "reviewChanges": "审查变更", "taskReadyForImplementation": "任务准备就绪,待实施", "taskDone": "任务已完成", "taskDoneArchived": "任务已完成并已归档", "taskDelegated": "任务已委派给子任务。如需要,您可以恢复该任务。", "proceed": "继续", "archive": "归档", "unarchive": "取消归档", "confirmDelete": "确认删除", "remove": "移除消息", "deleteUpToHere": "删除到此为止" };
|
|
392400
392607
|
const errors$1 = { "frozenTitle": "AIDER冻结了?", "frozenMessage": "Aider进程似乎已冻结。您想重启任务吗?", "removeMessageFailed": "删除消息失败 - 请重试", "forkTaskFailed": "从消息分叉任务失败 - 请重试", "removeMessagesUpToFailed": "删除到此为止的消息失败 - 请重试", "appCrash": { "title": "出错了", "message": "发生了意外错误,应用程序无法继续运行。", "reportIssue": "如果可以,请在 <a>https://github.com/hotovo/aider-desk/issues</a> 上报告此问题。谢谢。", "reload": "重新加载", "details": "错误详情", "copy": "复制", "copied": "已复制!" } };
|
|
392401
392608
|
const dialogs$1 = { "confirm": "确认", "confirmDelete": "确定要删除吗?", "addFile": "添加文件", "openProject": "打开项目", "recentProjects": "最近的项目", "openProjectTitle": "打开项目", "projectPathPlaceholder": "输入项目路径或使用图标浏览", "openButton": "打开", "browseFoldersTooltip": "浏览文件夹", "projectAlreadyOpenWarning": "此项目已打开。", "cantOpenProject": "无法打开此项目。" };
|
|
@@ -392418,17 +392625,17 @@ const reflectedMessage$1 = { "title": "反射消息" };
|
|
|
392418
392625
|
const responseMessage$1 = { "inputTokens": "输入令牌", "outputTokens": "输出令牌", "cacheWriteTokens": "缓存写入令牌", "cacheReadTokens": "缓存读取令牌" };
|
|
392419
392626
|
const compaction$1 = { "fileEdited": "文件已编辑(上下文已压缩)" };
|
|
392420
392627
|
const thinkingAnswer$1 = { "thinking": "思考中", "answer": "回答" };
|
|
392421
|
-
const toolMessage$1 = { "toolLabel": "工具: {{server}}/{{tool}}", "arguments": "参数:", "executing": "执行工具...", "result": "结果:", "error": "执行工具时出错:", "denied": "拒绝访问", "deniedByReason": "用户拒绝: {{reason}}", "tasks": { "listTasks": "列出任务", "listTasksWithState": "列出状态为 {{state}} 的任务", "getTask": "获取任务", "getTaskMessage": "获取任务消息", "createTask": "创建任务", "deleteTask": "删除任务", "runPrompt": "在任务上运行提示", "searchTask": "搜索任务:", "inTask": "在", "searchTaskNoMatches": "未找到匹配项。", "searchParentTask": "搜索父任务:", "inParentTask": "在", "searchParentTaskNoMatches": "未找到匹配项。", "name": "名称", "parentTaskId": "父任务ID", "execute": "执行", "executeInBackground": "在后台执行", "mode": "模式", "autonomyMode": "自主模式", "worktree": "工作树", "executeAndWait": "执行并等待", "yes": "是", "no": "否", "taskId": "任务ID", "messageIndex": "消息索引", "prompt": "提示", "agentProfile": "代理配置", "model": "模型", "state": "状态", "result": "结果", "contextFiles": "上下文文件", "contextMessages": "上下文消息", "currentMode": "当前模式", "role": "角色", "usage": "使用量", "noTasksFound": "未找到任务", "taskNotFound": "未找到任务", "messageNotFound": "未找到消息", "taskCreatedSuccessfully": "任务创建成功", "taskDeletedSuccessfully": "任务删除成功", "cannotDeleteCurrentTask": "无法删除当前任务", "active": "活跃", "completed": "已完成", "archived": "已归档", "user": "用户", "assistant": "助手", "readOnly": "只读", "createdAt": "创建于", "updatedAt": "更新于" }, "aider": { "addContextFiles": "添加文件到Aider上下文:\n{{paths}}", "dropContextFiles": "从Aider上下文删除文件:\n{{paths}}", "runPrompt": "在Aider中运行提示", "working": "Aider 正在工作中...", "finishedTask": "Aider 完成了任务。", "noChanges": "Aider 未进行任何更改。" }, "power": { "fileRead": { "title": "读取文件", "withLines": "带行号", "lineOffset": "行偏移", "lineLimit": "行限制" }, "fileWrite": { "overwrite": "覆盖文件", "append": "追加到文件", "createOnly": "仅创建文件" }, "fileEdit": { "title": "编辑文件", "searchTerm": "搜索词", "regex": "正则表达式", "replacementText": "替换文本", "replaceAll": "替换所有" }, "glob": { "title": "查找匹配模式的文件:", "findingFiles": "正在查找文件...", "foundFiles": "找到 {{count}} 文件", "noMatches": "未找到文件", "matching": "匹配" }, "grep": { "title": "在", "findingMatches": "正在查找...", "in": "中", "foundMatches": "找到 {{count}} 个匹配项", "noMatches": "未找到匹配项", "contextLines": "({{count}} 行上下文)", "matchesCount": "({{count}} 个匹配)", "lineLabel": "第 {{lineNumber}} 行:", "contextLabel": "上下文:" }, "bash": { "title": "执行 shell 命令", "exitCode": "退出码", "stdout": "标准输出", "stderr": "标准错误", "commandFailed": "命令失败", "timeout": "超时" }, "semanticSearch": { "title": "语义搜索:", "in": "在", "noMatches": "未找到匹配项。", "foundMatches": "找到 {{count}} 个匹配项", "score": " (得分: {{score}})", "resultLabel": "结果 {{index}}" }, "fetch": { "title": "抓取网页内容" } }, "memory": { "group": "记忆", "storingMemory": "正在存储记忆...", "retrievingMemories": "正在检索记忆...", "deletingMemory": "正在删除记忆...", "updatingMemory": "正在更新记忆...", "listingMemories": "正在列出记忆...", "memoryStored": "记忆已存储。", "memoryUpdated": "记忆已更新。", "memoryDeleted": "记忆已删除。", "memoryId": "记忆ID", "type": "类型", "content": "内容", "newContent": "新内容", "query": "查询", "limit": "限制", "foundMemories": "找到 {{count}} 条记忆。", "noMemoriesFound": "未找到相关记忆。", "noRelevantMemories": "未找到相关记忆", "storedMemoryDetails": "存储的记忆详情", "updatedMemoryDetails": "更新的记忆详情", "deletedMemoryDetails": "删除的记忆详情", "retrievedMemories": "检索到的记忆", "memoryList": "记忆列表", "listedMemories": "正在列出记忆。", "ofType": "类型为 {{type}}", "noMemoriesOfType": "未找到类型为 {{type}} 的记忆", "all": "全部", "delete": "删除", "memoryNotFound": "未找到", "deleteDialogTitle": "删除记忆", "deleteDialogText": "确定要删除这条记忆吗?" }, "subagents": { "groupRunning": "{{name}}: 子代理正在工作...", "groupCompleted": "{{name}}: 子代理已完成任务。", "groupCancelled": "{{name}}: 子代理运行已被用户取消。", "running": "正在运行子代理...", "completed": "子代理执行了以下查询:", "prompt": "提示", "error": "运行子代理" }, "errors": { "noSuchTool": "尝试使用未知工具: {{toolName}}", "invalidToolArguments": "工具参数无效: {{toolName}}" } };
|
|
392628
|
+
const toolMessage$1 = { "toolLabel": "工具: {{server}}/{{tool}}", "arguments": "参数:", "executing": "执行工具...", "result": "结果:", "error": "执行工具时出错:", "denied": "拒绝访问", "deniedByReason": "用户拒绝: {{reason}}", "tasks": { "listTasks": "列出任务", "listTasksWithState": "列出状态为 {{state}} 的任务", "getTask": "获取任务", "getTaskMessage": "获取任务消息", "createTask": "创建任务", "deleteTask": "删除任务", "runPrompt": "在任务上运行提示", "searchTask": "搜索任务:", "inTask": "在", "searchTaskNoMatches": "未找到匹配项。", "searchParentTask": "搜索父任务:", "inParentTask": "在", "searchParentTaskNoMatches": "未找到匹配项。", "name": "名称", "parentTaskId": "父任务ID", "execute": "执行", "executeInBackground": "在后台执行", "mode": "模式", "autonomyMode": "自主模式", "worktree": "工作树", "executeAndWait": "执行并等待", "yes": "是", "no": "否", "taskId": "任务ID", "messageIndex": "消息索引", "prompt": "提示", "agentProfile": "代理配置", "model": "模型", "state": "状态", "result": "结果", "contextFiles": "上下文文件", "contextMessages": "上下文消息", "currentMode": "当前模式", "role": "角色", "usage": "使用量", "noTasksFound": "未找到任务", "taskNotFound": "未找到任务", "messageNotFound": "未找到消息", "taskCreatedSuccessfully": "任务创建成功", "taskDeletedSuccessfully": "任务删除成功", "cannotDeleteCurrentTask": "无法删除当前任务", "active": "活跃", "completed": "已完成", "archived": "已归档", "user": "用户", "assistant": "助手", "readOnly": "只读", "createdAt": "创建于", "updatedAt": "更新于" }, "aider": { "addContextFiles": "添加文件到Aider上下文:\n{{paths}}", "dropContextFiles": "从Aider上下文删除文件:\n{{paths}}", "runPrompt": "在Aider中运行提示", "working": "Aider 正在工作中...", "finishedTask": "Aider 完成了任务。", "noChanges": "Aider 未进行任何更改。" }, "power": { "fileRead": { "title": "读取文件", "withLines": "带行号", "lineOffset": "行偏移", "lineLimit": "行限制" }, "fileWrite": { "overwrite": "覆盖文件", "append": "追加到文件", "createOnly": "仅创建文件" }, "fileEdit": { "title": "编辑文件", "searchTerm": "搜索词", "regex": "正则表达式", "replacementText": "替换文本", "replaceAll": "替换所有" }, "glob": { "title": "查找匹配模式的文件:", "findingFiles": "正在查找文件...", "foundFiles": "找到 {{count}} 文件", "noMatches": "未找到文件", "matching": "匹配" }, "grep": { "title": "在", "findingMatches": "正在查找...", "in": "中", "foundMatches": "找到 {{count}} 个匹配项", "noMatches": "未找到匹配项", "contextLines": "({{count}} 行上下文)", "matchesCount": "({{count}} 个匹配)", "lineLabel": "第 {{lineNumber}} 行:", "contextLabel": "上下文:" }, "bash": { "title": "执行 shell 命令", "exitCode": "退出码", "stdout": "标准输出", "stderr": "标准错误", "commandFailed": "命令失败", "timeout": "超时" }, "semanticSearch": { "title": "语义搜索:", "in": "在", "noMatches": "未找到匹配项。", "foundMatches": "找到 {{count}} 个匹配项", "score": " (得分: {{score}})", "resultLabel": "结果 {{index}}" }, "fetch": { "title": "抓取网页内容" } }, "memory": { "group": "记忆", "storingMemory": "正在存储记忆...", "retrievingMemories": "正在检索记忆...", "deletingMemory": "正在删除记忆...", "updatingMemory": "正在更新记忆...", "listingMemories": "正在列出记忆...", "memoryStored": "记忆已存储。", "memoryUpdated": "记忆已更新。", "memoryDeleted": "记忆已删除。", "memoryId": "记忆ID", "type": "类型", "content": "内容", "newContent": "新内容", "query": "查询", "limit": "限制", "foundMemories": "找到 {{count}} 条记忆。", "noMemoriesFound": "未找到相关记忆。", "noRelevantMemories": "未找到相关记忆", "storedMemoryDetails": "存储的记忆详情", "updatedMemoryDetails": "更新的记忆详情", "deletedMemoryDetails": "删除的记忆详情", "retrievedMemories": "检索到的记忆", "memoryList": "记忆列表", "listedMemories": "正在列出记忆。", "ofType": "类型为 {{type}}", "noMemoriesOfType": "未找到类型为 {{type}} 的记忆", "all": "全部", "delete": "删除", "memoryNotFound": "未找到", "deleteDialogTitle": "删除记忆", "deleteDialogText": "确定要删除这条记忆吗?" }, "subagents": { "groupRunning": "{{name}}: 子代理正在工作...", "groupCompleted": "{{name}}: 子代理已完成任务。", "groupCompletedWithDescription": "{{name}}: 子代理已完成 {{description}}", "groupCancelled": "{{name}}: 子代理运行已被用户取消。", "groupCancelledWithDescription": "{{name}}: 子代理运行 ({{description}}) 已被用户取消", "running": "正在运行子代理...", "completed": "子代理执行了以下查询:", "prompt": "提示", "error": "运行子代理" }, "errors": { "noSuchTool": "尝试使用未知工具: {{toolName}}", "invalidToolArguments": "工具参数无效: {{toolName}}" } };
|
|
392422
392629
|
const codeBlock$1 = { "revertChanges": "撤销更改" };
|
|
392423
392630
|
const diffViewer$1 = { "sideBySide": "并排", "unified": "统一", "compact": "紧凑", "noChanges": "没有进行任何更改。内容相同。", "lineComment": { "placeholder": "描述您想要对此代码进行的更改...", "taskName": "更新 {{filename}}", "createNewTask": "创建新任务" } };
|
|
392424
392631
|
const promptField$1 = { "voiceUnavailable": "麦克风访问不可用。浏览器的 MediaDevices API 在此环境中不支持。请使用 HTTPS 或 localhost。", "savePrompt": "保存提示", "savePromptDescription": "保存提示而不执行", "saveError": "保存提示失败: {{error}}", "autonomyManual": "手动", "autonomyManualTooltip": "手动模式:每次工具执行和计划都需要您的明确批准才能继续。适用于不熟悉的代码库或高风险操作。", "autonomyGuided": "引导", "autonomyGuidedTooltip": "引导模式:代理在行动前制定计划,并等待您的批准后再执行更改。工具执行自动批准。适用于日常开发。", "autonomyAutonomous": "自动", "autonomyAutonomousTooltip": "自主模式:代理不间断地规划和执行,直到任务完成。适用于您想离开的受信任任务。", "autonomyLockTooltip": "锁定后,新建任务将保持当前自主模式", "placeholders": { "0": "更新 UserValidator 类以添加邮箱格式验证...", "1": "修复 DataProcessor.processBatch() 中的内存泄漏,通过关闭...", "2": "为 PaymentService.chargeCard() 添加错误处理,使用适当的...", "3": "创建 React 组件 UserProfileCard,包含 props 接口...", "4": "通过添加索引来优化 UserRepository.findByEmail() 中的 SQL 查询...", "5": "使用 Jest 和模拟为 AuthController.login() 添加单元测试...", "6": "在 ChartComponent 中实现缺失的 handleResize() 方法...", "7": "更新 package.json 添加 TypeScript 依赖并配置...", "8": "为 ContactForm 的 handleSubmit 函数添加输入验证...", "9": "修复 calculateTotal() 中小数值被错误处理的 bug...", "10": "使用 Winston 为 API 中间件添加请求日志记录...", "11": "为 Node.js 应用创建多阶段构建的 Dockerfile...", "12": "使用 express-rate-limit 为 /api/users 端点添加限流中间件...", "13": "在 TodoService 中实现缺失的 deleteTodo() 函数...", "14": "为 API 响应对象添加 TypeScript 接口...", "15": "修复移动端菜单显示不正确的 CSS 问题...", "16": "使用 dotenv 和 zod 添加环境变量验证...", "17": "创建数据库迁移,为 users 表添加 'last_login' 列...", "18": "为 React 应用添加错误边界以捕获组件错误...", "19": "在 ProductList 的 fetchProducts 方法中实现分页逻辑..." }, "questionPlaceholder": "...或建议其他内容", "queueTitle": "排队的提示", "queuedPrompt": "排队", "queueMessage": "队列消息(Enter)", "removeQueuedPrompt": "移除", "sendQueuedPromptNow": "立即发送", "editQueuedPrompt": "编辑", "saveQueuedPrompt": "保存", "cancelEditQueuedPrompt": "取消", "answers": { "yes": "(Y)是", "no": "(N)否", "always": "(A)总是", "dontAsk": "(D)不再询问" }, "invalidCommand": "无效命令", "stopResponse": "停止响应", "sendMessage": "发送消息(Enter)", "clearChat": "清除聊天", "undoContextChange": "恢复消息至先前状态", "agentModeOnly": "仅在代理模式下可用", "handoffError": "交接失败:{{error}}", "taskInfo": "任务信息", "pastedImage": "粘贴的图片 {{index}}" };
|
|
392425
|
-
const agentProfiles$1 = { "title": "代理配置", "profileSettings": "代理配置: {{profileName}}", "newProfileName": "新配置", "manageProfiles": "管理配置", "createNew": "创建新配置", "profileName": "名称", "profileDescription": "描述", "profileDescriptionPlaceholder": "描述此代理配置(用途、工具等)", "tools": "工具", "model": "模型", "selectProfile": "选择...", "
|
|
392632
|
+
const agentProfiles$1 = { "title": "代理配置", "profileSettings": "代理配置: {{profileName}}", "newProfileName": "新配置", "manageProfiles": "管理配置", "editProfile": "编辑配置", "createNew": "创建新配置", "profileName": "名称", "profileDescription": "描述", "profileDescriptionPlaceholder": "描述此代理配置(用途、工具等)", "tools": "工具", "model": "模型", "selectProfile": "选择...", "useAsProjectDefault": "设为项目默认" };
|
|
392426
392633
|
const projectBar$1 = { "editFormatTooltip": "这是用于编辑代码的格式。更改它可能会导致模型表现不如预期。", "aider": "Aider", "toggleSidebar": "切换侧边栏", "modelLibrary": "模型库", "worktree": "工作树", "worktreeTooltip": "切换此任务的工作树" };
|
|
392427
392634
|
const pythonSetup$1 = { "checkingUv": "正在检查 uv 安装...", "downloadingUv": "正在下载 uv...", "creatingVenv": "正在创建 Python 环境...", "installingPackage": "正在安装 {{package}} ({{current}}/{{total}})...", "settingUpConnector": "正在设置 Aider 连接器...", "settingUpMcp": "正在设置 MCP 服务器...", "failed": "Python 设置失败: {{error}}" };
|
|
392428
392635
|
const workingMode$1 = { "local": "本地", "worktree": "工作树", "switching": "切换中...", "confirmLocalTitle": "切换到本地模式", "confirmLocalMessage": "此工作树有未保存的工作:\n{{warnings}}", "localOptionMergeLabel": "先合并更改,然后切换", "localOptionMergeDescription": "在切换此任务到本地模式之前,将工作树提交合并回主分支", "localOptionMergeAllLabel": "合并并切换工作树中的所有任务", "localOptionMergeAllDescription": "将工作树提交合并回主分支,然后将共享此工作树的所有任务切换到本地模式", "localOptionRemoveLabel": "删除工作树并切换", "localOptionRemoveDescription": "丢弃未提交和未合并的更改,删除工作树,并切换到本地模式", "confirmWorktreeTitle": "切换到工作树模式", "confirmWorktreeMessage": "项目目录中有 {{count}} 个未提交的文件。", "worktreeOptionJustSwitchLabel": "直接切换,不携带更改", "worktreeOptionJustSwitchDescription": "将未提交的更改留在项目目录中,切换到工作树模式", "worktreeOptionCarryOverRemoveLabel": "携带更改并从项目中移除", "worktreeOptionCarryOverRemoveDescription": "将未提交的更改移至工作树,并从项目目录中移除", "worktreeOptionCarryOverKeepLabel": "携带更改并保留在项目中", "worktreeOptionCarryOverKeepDescription": "将未提交的更改复制到工作树,同时保留在项目目录中" };
|
|
392429
392636
|
const workingModeTooltip$1 = { "local": "在此任务中直接在本地项目目录中进行更改", "worktree": "使用 git 工作树为此任务进行隔离的更改" };
|
|
392430
392637
|
const reasoningEffort$1 = { "label": "推理工作量", "tooltip": "推理工作量决定模型在采取行动前的思考程度。高推理工作量意味着模型会在采取行动前思考更多,但响应时间也会更长。", "none": "无", "minimal": "最小", "low": "低", "medium": "中", "high": "高", "xhigh": "极高", "max": "最大" };
|
|
392431
|
-
const commands$1 = { "add": "将文件添加到上下文。", "agent": "切换到代理模式。如果已在代理模式下,则打开代理模型选择器。命令后的任何文本都将用作提示。", "architect": "切换到架构师模式。架构师模式用于规划和执行代码库的更改。", "ask": "切换到提问模式。在不编辑任何文件的情况下询问有关代码库的问题。", "clear": "清除聊天历史记录", "clear-logs": "从聊天中移除日志消息", "code": "切换到代码模式。请求更改您的代码。", "commit": "提交仓库中未暂存的更改", "context": "切换到上下文模式。请求更改,Aider 将添加相关文件到上下文。", "compact": "总结对话", "copy-context": "将当前聊天上下文复制为 Markdown 格式,适合粘贴到 Web UI 中。", "drop": "从上下文中删除文件以释放上下文空间。", "edit-last": "编辑最后一条用户消息", "init": "使用项目信息初始化 AGENTS.md 规则文件", "agentModeOnly": "仅在代理模式下可用", "map": "打印当前仓库地图", "map-refresh": "强制刷新仓库地图", "model": "打开模型选择器", "read-only": "将文件添加到聊天中,这些文件仅供参考,或将添加的文件设为只读。", "redo": "重做上一个用户提示。", "resolve-conflicts": "使用 AI 解决合并冲突", "reasoning-effort": "设置推理工作量级别(值:数字或低/中/高,取决于模型)", "reset": "删除所有文件并清除聊天历史记录", "run": "运行 shell 命令并可选地将输出添加到聊天中", "test": "运行预定义的测试命令,并在非零退出代码时将输出添加到聊天中", "think-tokens": "设置思考令牌预算(支持 8096、8k、10.5k、0.5M 等格式)", "tokens": "报告当前聊天上下文使用的令牌数量", "undo": "撤消 Aider 完成的最后一次 git 提交", "task-info": "显示任务信息", "web": "抓取网页内容并保存到文件。使用 /web url [文件] 格式,其中 [文件] 为可选参数", "handoff": "交接对话到新任务并聚焦", "subtask": "创建当前任务的子任务并切换到该子任务" };
|
|
392638
|
+
const commands$1 = { "add": "将文件添加到上下文。", "agent": "切换到代理模式。如果已在代理模式下,则打开代理模型选择器。命令后的任何文本都将用作提示。", "architect": "切换到架构师模式。架构师模式用于规划和执行代码库的更改。", "ask": "切换到提问模式。在不编辑任何文件的情况下询问有关代码库的问题。", "clear": "清除聊天历史记录", "clear-logs": "从聊天中移除日志消息", "code": "切换到代码模式。请求更改您的代码。", "commit": "提交仓库中未暂存的更改", "context": "切换到上下文模式。请求更改,Aider 将添加相关文件到上下文。", "compact": "总结对话", "copy-context": "将当前聊天上下文复制为 Markdown 格式,适合粘贴到 Web UI 中。", "drop": "从上下文中删除文件以释放上下文空间。", "edit-last": "编辑最后一条用户消息", "init": "使用项目信息初始化 AGENTS.md 规则文件", "agentModeOnly": "仅在代理模式下可用", "map": "打印当前仓库地图", "map-refresh": "强制刷新仓库地图", "model": "打开模型选择器", "read-only": "将文件添加到聊天中,这些文件仅供参考,或将添加的文件设为只读。", "redo": "重做上一个用户提示。", "resolve-conflicts": "使用 AI 解决合并冲突", "reasoning-effort": "设置推理工作量级别(值:数字或低/中/高,取决于模型)", "reset": "删除所有文件并清除聊天历史记录", "run": "运行 shell 命令并可选地将输出添加到聊天中", "test": "运行预定义的测试命令,并在非零退出代码时将输出添加到聊天中", "think-tokens": "设置思考令牌预算(支持 8096、8k、10.5k、0.5M 等格式)", "tokens": "报告当前聊天上下文使用的令牌数量", "undo": "撤消 Aider 完成的最后一次 git 提交", "task-info": "显示任务信息", "web": "抓取网页内容并保存到文件。使用 /web url [文件] 格式,其中 [文件] 为可选参数", "handoff": "交接对话到新任务并聚焦", "subtask": "创建当前任务的子任务并切换到该子任务", "subagent": "在指定子代理中运行提示。使用 /subagent <子代理ID> <提示>" };
|
|
392432
392639
|
const telemetry$1 = { "title": "遥测信息", "message": "为了帮助我们改进 AiderDesk,我们会收集匿名遥测数据。这包括功能使用情况和性能指标等信息。绝不会收集个人数据或代码。", "enabledLabel": "启用匿名遥测" };
|
|
392433
392640
|
const promptBehavior = { "title": "提示行为", "showSuggestions": "显示建议", "automaticallyWhileTyping": "输入时自动显示", "onlyWhenTabPressed": "仅在按 TAB 键时显示", "suggestionsDelay": "建议延迟", "requireCommandConfirmation": "需要命令确认", "addCommand": "/add", "readOnlyCommand": "/read-only", "modelCommand": "/model", "modeSwitchingCommands": "模式切换命令 (/code, /agent, ...)", "modeAtSign": "@ 提及模式" };
|
|
392434
392641
|
const network = { "proxy": "代理", "enableProxy": "启用代理", "enableProxyDescription": "通过代理服务器路由所有 HTTP/HTTPS 流量。影响 LLM API 调用、扩展获取、更新检查和所有其他出站请求。", "proxyUrl": "代理 URL", "proxyUrlPlaceholder": "http://127.0.0.1:8888", "proxyUrlDescription": "HTTP 或 SOCKS5 代理服务器地址", "noProxy": "不使用代理", "noProxyPlaceholder": "localhost,127.0.0.1,.internal.example.com", "noProxyDescription": "逗号分隔的应绕过代理的主机或域名列表。支持精确主机名、IP 地址和通配符域名(例如 .example.com)" };
|
|
@@ -392479,6 +392686,7 @@ const zh = {
|
|
|
392479
392686
|
opencode: opencode$1,
|
|
392480
392687
|
requesty: requesty$1,
|
|
392481
392688
|
azure: azure$1,
|
|
392689
|
+
clinepass: clinepass$1,
|
|
392482
392690
|
providers: providers$1,
|
|
392483
392691
|
select: select$1,
|
|
392484
392692
|
settings: settings$1,
|
|
@@ -392564,9 +392772,10 @@ const gpustack = { "name": "GPUStack", "baseUrl": "Базовый URL", "baseUrl
|
|
|
392564
392772
|
const synthetic = { "apiKey": "API-ключ" };
|
|
392565
392773
|
const zaiPlan = { "apiKey": "API-ключ", "mcp": { "title": "MCP-серверы", "infoTooltip": "Добавьте MCP-серверы Z.ai Coding Plan для расширения возможностей агента.", "vision": { "name": "Видение", "description": "Анализ изображений и видео с использованием модели GLM-4.6V" }, "zread": { "name": "Zread", "description": "Поиск и чтение документации и кода из репозиториев GitHub" }, "webReader": { "name": "Веб-ридер", "description": "Загрузка и извлечение содержимого веб-страниц" }, "webSearch": { "name": "Веб-поиск", "description": "Поиск в интернете актуальной информации" }, "add": "Добавить", "adding": "Добавление...", "configured": "Настроен" }, "thinkingEnabled": "Включить режим рассуждений", "thinkingEnabledTooltip": "Когда включено, модель использует режим рассуждений для более глубокого анализа (по умолчанию). Отключите для более быстрых ответов на простые задачи.", "reasoningEffortTooltip": "Контролирует уровень рассуждений модели при включённом мышлении. Более высокий уровень означает более глубокий анализ, но более медленные ответы. Поддерживается только GLM-5.2." };
|
|
392566
392774
|
const azure = { "apiKey": "API-ключ", "resourceName": "Название ресурса", "apiVersion": "Версия API", "addCustomModelInfo": "Модели не могут быть загружены автоматически для провайдера Azure. Вам нужно добавить их вручную с помощью «+ Добавить модель», убедившись, что имя модели соответствует имени развёртывания." };
|
|
392567
|
-
const
|
|
392775
|
+
const clinepass = { "apiKey": "API-ключ" };
|
|
392776
|
+
const providers = { "anthropic": "Anthropic", "anthropic-compatible": "Совместимый с Anthropic", "alibaba-plan": "Alibaba Coding Plan", "bedrock": "Bedrock", "cerebras": "Cerebras", "deepseek": "Deepseek", "gemini": "Gemini", "groq": "Groq", "kimi-plan": "Kimi Coding Plan", "gpustack": "GPUStack", "lmstudio": "LM Studio", "litellm": "LiteLLM", "minimax": "MiniMax", "mistral": "Mistral", "ollama": "Ollama", "openai": "OpenAI", "opencode": "OpenCode ZEN", "openai-compatible": "Совместимый с OpenAI", "openrouter": "OpenRouter", "requesty": "Requesty", "clinepass": "ClinePass", "synthetic": "Синтетический", "vertex-ai": "Vertex AI", "zai-plan": "Z.ai Coding Plan", "azure": "Azure" };
|
|
392568
392777
|
const select = { "placeholder": "Выберите опцию" };
|
|
392569
|
-
const settings = /* @__PURE__ */ JSON.parse(`{"title":"Настройки","tabs":{"general":"Общие","aider":"Aider","agents":"Агенты","tasks":"Задачи","memory":"Память","voice":"Голос","hotkeys":"Горячие клавиши","extensions":"Расширения","server":"Сервер","network":"Сеть","about":"О приложении"},"extensions":{"loading":"Загрузка расширений...","tabs":{"installed":"Установленные","available":"Доступные"},"installed":{"empty":"Нет установленных расширений","emptyHint":"Перейдите на вкладку «Доступные», чтобы найти и установить расширения"},"available":{"empty":"Все доступные расширения уже установлены","extensionsCount":"расширений","installedCount":"установлено","installedExtensions":"установленные расширения"},"search":{"placeholder":"Поиск расширений..."},"capabilities":{"all":"Все"},"repositories":{"title":"Репозитории","placeholder":"Введите URL репозитория...","add":"Добавить","remove":"Удалить репозиторий","default":"Репозиторий по умолчанию"},"by":"от","enabled":"Включено","active":"Активно","disabled":"Отключено","projectSpecific":"Проектное","hasDependencies":"Имеет зависимости","osNotSupported":"Не поддерживается","osNotSupportedTooltip":"Это расширение может не работать в вашей операционной системе. Проверьте детали расширения для дополнительной информации.","install":"Установить","installing":"Установка...","update":"Обновить","updating":"Обновление...","uninstall":"Удалить","uninstalling":"Удаление...","success":{"install":"«{{name}}» успешно установлен","update":"«{{name}}» успешно обновлён","uninstall":"«{{name}}» успешно удалён","saveSettings":"Настройки для «{{name}}» успешно сохранены"},"errors":{"loadInstalled":"Не удалось загрузить установленные расширения","loadAvailable":"Не удалось загрузить доступные расширения","loadSettings":"Не удалось загрузить компоненты настроек расширений","install":"Не удалось установить расширение. Подробности см. в логах.","update":"Не удалось обновить расширение. Подробности см. в логах.","uninstall":"Не удалось удалить расширение","saveSettings":"Не удалось сохранить настройки расширения","settingsNotAvailable":"Настройки расширения недоступны","repositoryExists":"Этот репозиторий уже добавлен","cannotRemoveDefault":"Невозможно удалить репозиторий по умолчанию","npmNotFound":"npm не установлен в вашей системе. Это расширение требует npm для установки зависимостей. Установите Node.js (включает npm) и повторите попытку."},"previousContext":"Предыдущий контекст","nextContext":"Следующий контекст","openSettings":"Открыть настройки расширения","settingsDialog":{"title":"Настройки «{{name}}»"},"expandReadme":"Развернуть README","collapseReadme":"Свернуть README"},"hotkeys":{"projectHotkeys":"Проект","taskHotkeys":"Задача","dialogHotkeys":"Диалоги","closeProject":"Закрыть проект","newProject":"Новый проект","usageDashboard":"Панель использования","modelLibrary":"Библиотека моделей","settings":"Настройки","cycleNextProject":"Следующий проект","cyclePrevProject":"Предыдущий проект","switchProject":"Переключиться на проект {{number}}","switchTask":"Переключиться на задачу {{number}}","focusPrompt":"Фокус на запрос","newTask":"Новая задача","closeTask":"Закрыть задачу","browseFolder":"Просмотреть папку","enterHotkey":"Введите горячую клавишу...","resetToDefaults":"Сбросить до значений по умолчанию","hotkeyFormat":"Формат горячей клавиши:","modKey":"Используйте 'mod' для Cmd (Mac) или Ctrl (Windows/Linux)","multipleKeys":"Разделяйте несколько комбинаций клавиш запятыми","examples":"Примеры: 'mod+w', 'ctrl+shift+t', 'alt+1,meta+1'","clickToRecord":"Нажмите для записи","recording":"Нажмите клавиши...","addShortcut":"Добавить сочетание клавиш","editShortcut":"Редактировать сочетание клавиш","clearShortcut":"Очистить сочетание клавиш","noShortcut":"Сочетание клавиш не настроено","recordShortcutDescription":"Нажмите кнопку записи ниже, а затем нажмите нужную комбинацию клавиш.","pressKeysToRecord":"Нажмите клавиши для записи...","startRecording":"Начать запись","stopRecording":"Остановить запись"},"gui":"Внешний вид","voice":{"title":"Голос","providerProfile":"Профиль провайдера","model":"Модель","idleTimeout":"Тайм-аут простоя (секунды)","idleTimeoutHelp":"Останавливает запись после указанного периода тишины","systemInstructions":"Системные инструкции","microphone":"Микрофон","microphoneDefault":"По умолчанию","microphoneUnknown":"Неизвестный микрофон","noSupportedProviders":"Нет настроенных поддерживаемых провайдеров голоса. Настройте Gemini или OpenAI в Библиотеке моделей.","openai":{"title":"OpenAI","model":"Модель","language":"Язык"},"gemini":{"title":"Gemini","model":"Модель","temperature":"Температура"}},"startup":{"title":"Запуск","emptyTask":"Начать с пустой задачи","lastTask":"Загрузить последнюю задачу"},"tasks":{"title":"Задачи","smartTaskState":"Умное состояние задачи","smartTaskStateTooltip":"Когда включено, модель интеллектуально анализирует ответ агента для классификации задачи как «Нужна дополнительная информация», «Готова к реализации» или «Готова к проверке». Когда отключено, состояние задачи всегда устанавливается на «Готова к проверке».","autoGenerateTaskName":"Автогенерация имени задачи","autoGenerateTaskNameTooltip":"Когда включено, модель генерирует краткое имя задачи на основе вашего запроса. Когда отключено, первые 5 слов вашего запроса используются как имя задачи.","showTaskStateActions":"Показать действия состояния задачи","showTaskStateActionsTooltip":"Когда включено, действия состояния задач отображаются внизу сообщений. Отключите, чтобы скрыть их.","contextManagement":"Управление контекстом","contextCompactingThreshold":"Порог автоматического сжатия","contextCompactingThresholdTooltip":"Когда использование токенов превышает этот порог, разговор автоматически управляется в соответствии с выбранным типом сжатия. Установите 0 для отключения.","contextCompactingThresholdOff":"Отключено","contextCompactingThresholdTokens":"Максимум токенов","contextCompactingThresholdTokensTooltip":"Порог максимального количества токенов. Сжатие срабатывает, когда превышен более низкий из процентного и токенного порогов.","contextCompactingThresholdLowerNote":"Более низкое значение из процентного и токенного порогов используется для сжатия.","contextCompactionType":"Тип сжатия","contextCompactionTypeCompact":"Сжатие","contextCompactionTypeCompactTooltip":"Суммирует разговор в рамках задачи с помощью LLM.","contextCompactionTypeHandoff":"Передача","contextCompactionTypeHandoffTooltip":"Создаёт новую задачу с кратким содержанием текущего разговора.","contextCompactionTypeSmart":"Умное","contextCompactionTypeSmartTooltip":"Детерминированно удаляет избыточные сообщения инструментов без использования LLM.","contextCompactionTypeTooltip":"Выберите способ управления контекстом разговора при превышении порога токенов.","worktree":"Рабочее дерево","worktreeSymlinkFoldersLabel":"Папки символических ссылок","worktreeSymlinkFoldersTooltip":"Эти папки будут создаваться как символьные ссылки из корня проекта в рабочее дерево задачи. Полезно для больших зависимостей, таких как node_modules.","noSymlinkFolders":"Нет настроенных папок символических ссылок","symlinkFolderPlaceholder":"Имя папки (например, node_modules)","addSymlinkFolder":"Добавить","removeSymlinkFolder":"Удалить папку","worktreeBranchPrefix":"Префикс ветки","worktreeBranchPrefixTooltip":"Префикс, используемый при создании имён веток рабочего дерева. Например, «aider-desk/task/» создаст ветки вида «aider-desk/task/my-feature».","worktreeBranchPrefixPlaceholder":"например, aider-desk/task/","renameBranchOnNameGeneration":"Переименовывать ветку при генерации имени","renameBranchOnNameGenerationTooltip":"Когда включено, ветка рабочего дерева автоматически переименовывается в соответствии с сгенерированным именем задачи. Отключите, чтобы сохранить исходное имя ветки.","auxiliaryModelsTitle":"Вспомогательные модели","auxiliaryModelsDescription":"Настройте модели для фоновых AI-операций. Установите «Унаследовать» для использования основной модели агента.","taskNameModel":"Модель для именования задач","taskNameModelTooltip":"Модель, используемая для автоматического создания имён задач из запросов","taskStateModel":"Модель состояния задачи","taskStateModelTooltip":"Модель, используемая для определения состояния задачи (Готова к проверке, Нужна дополнительная информация и т. д.)","commitMessageModel":"Сообщение о коммите","commitMessageModelTooltip":"Модель, используемая для генерации сообщений о коммитах","inheritModel":"Унаследовать","defaultWorkingMode":"Режим работы по умолчанию","defaultWorkingModeTooltip":"Режим работы по умолчанию для новых задач. Local работает непосредственно в каталоге проекта, Worktree использует изолированную ветку git."},"language":"Язык","notifications":{"title":"Уведомления"},"windowTitle":{"title":"Заголовок окна"},"windowTitleTemplateLabel":"Шаблон заголовка окна","windowTitleTemplateTooltip":"Используйте {project} для имени проекта и {task} для текущей задачи. Пример: «AiderDesk — {project}» или «{project} — {task}»","agent":{"mcpServers":"MCP-серверы","provider":"Провайдер","providerSettings":"Настройки провайдера","context":"Контекст","runSettings":"Параметры","maxIterations":"Максимум итераций","infinite":"Бесконечно","minTimeBetweenToolCalls":"Минимальное время между вызовами инструментов (мс)","maxTokens":"Максимум токенов","temperature":"Температура","customInstructions":"Дополнительные правила","rules":"Правила","rulesInfo":"Любой файл в каталоге <file>.aider-desk/rules</file> вашего проекта автоматически включается в Правила. См. пример <a>здесь</a>.","ruleFilesInfo":"Любой файл в каталоге <file>.aider-desk/rules</file> вашего проекта автоматически включается в Правила.","noServersConfigured":"MCP-серверы не настроены.","computationalResources":"Максимальное количество итераций для агента за один запуск. Помогает контролировать вычислительные ресурсы.","rateLimiting":"Устанавливает минимальное время между вызовами инструментов для предотвращения ограничения скорости (например, для Brave или других API со строгими лимитами).","temperatureTooltip":"Контролирует случайность ответов. Низкие значения (0.0–0.3) делают ответы более сфокусированными и детерминированными, высокие (0.7–1.0) — более креативными и разнообразными. Если не задано, используется значение Temperature модели.","tokensPerResponse":"Максимальное количество токенов, которое агент может использовать за один ответ. Если не задано, используется значение Max Output токенов модели.","addMcpServer":"Добавить","editConfig":"Изменить конфигурацию","editMcpServersConfig":"Изменить конфигурацию MCP-серверов","reloadServers":"Перезагрузить","powerToolsTooltip":"Позволяет агенту использовать инструменты для прямых операций с файлами (чтение, запись, редактирование), поиска (glob, grep, семантический поиск) и выполнения shell-команд (bash).","aiderToolsTooltip":"Агент может использовать Aider для добавления/удаления файлов контекста и выполнения запросов.","useAiderTools":"Использовать инструменты Aider","usePowerTools":"Использовать Power-инструменты","useTodoTools":"Использовать инструменты Todo","useTaskTools":"Использовать инструменты задач","useMemoryTools":"Использовать инструменты памяти","useSkillsTools":"Использовать инструменты навыков","includeContextFiles":"Включить файлы контекста","includeFilesTooltip":"Добавляет содержимое файлов контекста в чат агента. Это увеличит использование токенов.","includeRepoMap":"Включить карту репозитория","includeRepoMapTooltip":"Включает карту репозитория из Aider в контекст агента. Это может помочь агенту понять структуру проекта, но увеличит использование токенов.","autonomyMode":"Режим автономности","override":"Переопределение","clearOverride":"Сбросить переопределение","autoCompactThresholdPercentage":"Порог автоматического сжатия (%)","autoCompactThresholdPercentageTooltip":"Переопределяет глобальный процентный порог автоматического сжатия для этого профиля. Когда использование токенов превышает этот процент от ёмкости модели, срабатывает сжатие.","autoCompactThresholdTokens":"Максимум токенов для автосжатия","autoCompactThresholdTokensTooltip":"Переопределяет глобальный токенный порог автоматического сжатия для этого профиля. Сжатие срабатывает, когда превышено наименьшее из процентного и токенного значений.","autoCompactionType":"Тип сжатия","autoCompactionTypeTooltip":"Переопределяет глобальный тип сжатия для этого профиля. Выберите способ управления контекстом разговора при превышении порога токенов.","selectOrCreateProfile":"Выбрать или создать новый профиль","newProfileName":"Новый профиль","bashToolAllowedPattern":"Разрешённые шаблоны","bashToolDeniedPattern":"Запрещённые шаблоны","bashToolAllowedPatternPlaceholder":"например, 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"например, 'rm .*'","bashToolAllowedPatternTooltip":"Команды, соответствующие этим регулярным выражениям, разделённые точкой с запятой, могут выполняться без подтверждения.","bashToolDeniedPatternTooltip":"Команды, соответствующие этим регулярным выражениям, разделённые точкой с запятой, всегда будут отклоняться.","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"Найдено в: {{source}}","createNewProfile":"Создать","genericTools":"Инструменты","noGenericToolsConfigured":"Инструменты не настроены.","todoTools":"Инструменты Todo","includeTodoToolsTooltip":"Позволяет агенту управлять списком задач, включая создание, получение, обновление и очистку задач.","subagent":{"title":"Суб-агент","enableAsSubagent":"Включить как суб-агента","enableAsSubagentInformation":"Когда включено, этот профиль доступен как суб-агент для других агентов.","canUseSubagents":"Может использовать суб-агентов","canUseSubagentsInformation":"Когда включено, этот агент может использовать суб-агентов.","contextMemory":"Контекстная память","contextMemoryTooltip":"Контролирует, сколько предыдущего контекста разговора суб-агент помнит. «Полный контекст» сохраняет всю историю суб-агента, «Последнее сообщение» использует только последние сообщения, «Выключено» начинает каждый раз заново.","contextMemory.off":"Выключено","contextMemory.fullContext":"Полный контекст","contextMemory.lastMessage":"Последнее сообщение","description":"Описание","descriptionPlaceholder":"Опишите назначение, возможности и специализацию этого суб-агента и когда его следует использовать.","systemPrompt":"Системный запрос","systemPromptPlaceholder":"Системный запрос вашего суб-агента. Может состоять из нескольких абзацев и должен чётко определять роль, возможности и подход суб-агента.","invocationMode":"Режим вызова","invocationModeOnDemand":"По запросу","invocationModeOnDemandInformation":"Суб-агент используется только при явном запросе пользователя.","invocationModeAutomatic":"Автоматический","invocationModeAutomaticInformation":"Суб-агент может автоматически вызываться, когда это необходимо.","statusDisabled":"Отключён","statusOnDemand":"По запросу","statusAutomatic":"Автоматический","descriptionRequiredForAutomatic":"Для автоматического использования суб-агента необходимо задать описание, иначе суб-агент может использоваться только при явном запросе.","on-demand":"Используется как суб-агент по запросу","automatic":"Используется как суб-агент автоматически"},"skills":{"activating":"Активация навыка {{name}}...","activated":"Навык {{name}} активирован","skill":"Навык"},"profileContext":"Контекст профиля","globalProfiles":"Глобальные профили","projectProfiles":"Профили проекта: {{projectName}}","global":"Глобальный","previousContext":"Предыдущий проект","nextContext":"Следующий проект","noProfilesInContext":"Профили не найдены в этом контексте","createNewProfileInContext":"Создать новый профиль","copyProfile":"Копировать","cutProfile":"Вырезать","deleteProfile":"Удалить","pasteProfile":"Вставить агента","resetProfileToDefaults":"Сбросить до значений по умолчанию","resetProfileTitle":"Сбросить «{{name}}» до значений по умолчанию?","resetProfileConfirm":"Это восстановит «{{name}}» до исходных настроек. Все пользовательские изменения будут потеряны.","restoreProfile":"Восстановить","restoreProfileTooltip":"Восстановить профиль по умолчанию"},"aider":{"options":"Параметры","optionsPlaceholder":"например, --no-auto-commits --cache-prompts","autoCommits":"Автоматические коммиты изменений от LLM","cachingEnabled":"Включить кэширование запросов","watchFiles":"Следить за изменениями файлов","environmentVariables":"Переменные окружения","envVarsPlaceholder":"#################\\n# Параметры LLM:\\n#\\n# Включите параметры xxx_API_KEY и другие параметры, необходимые для ваших LLM.\\n# Смотрите https://aider.chat/docs/llms.html для подробностей.\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"Проверьте документацию по доступным параметрам на","envVarsDocumentation":"Проверьте документацию по переменным окружения на","context":"Контекст","addRuleFiles":"Добавить файлы правил из каталога <file>.aider-desk/rules</file> проекта как файлы только для чтения.","confirmBeforeEdit":"Подтверждать перед редактированием файлов"},"common":{"showSecrets":"Показать секреты","learnMore":"Подробнее"},"notificationsEnabled":"Уведомления включены","zoom":"Уровень масштаба","theme":"Тема","font":"Шрифт","fontSize":"Размер шрифта","fontOptions":{"Sono":"Sono (по умолчанию)","PlayfairDisplay":"Playfair Display","SpaceGrotesk":"Space Grotesk","GoogleSansCode":"Google Sans Code","JetBrainsMono":"JetBrains Mono","RobotoMono":"Roboto Mono","SourceCodePro":"Source Code Pro","SpaceMono":"Space Mono","UbuntuMono":"Ubuntu Mono"},"themeOptions":{"dark":"По умолчанию (тёмная)","light":"По умолчанию (светлая)","ocean":"Океан","forest":"Лес","lavender":"Лаванда","bw":"Чёрно-белая","midnight":"Полуночная","neon":"Неон","neopunk":"Неопанк","charcoal":"Джаз","aurora":"Аврора","serenity":"Созерцание","cappuccino":"Капучино","fresh":"Свежесть","botanical-garden":"Ботанический сад","botanical-garden-dark":"Ботанический сад (тёмная)","obsidian":"Обсидиан"},"aiderRestartConfirm":{"title":"Требуется перезапуск","message":"Изменения параметров Aider или переменных окружения требуют перезапуска задачи Aider для вступления в силу. Хотите перезапустить сейчас?","restartNow":"Перезапустить сейчас","later":"Я сделаю это позже"},"models":{"title":"Провайдеры моделей","description":"Настройте провайдеров LLM для использования в режимах Aider и Agent. Нажмите на карточку провайдера для настройки API-ключа и дополнительных параметров.","configured":"Настроен","notConfigured":"Не настроен","agentOnly":"Только для Agent","showAllProviders":"Показать всех провайдеров","additionalProvidersInfo":"Вы можете настроить дополнительных провайдеров LLM для Aider, задав переменные окружения на вкладке <aiderTab>Настройки Aider</aiderTab>."},"vertexAi":{"project":"Проект","projectPlaceholder":"Введите идентификатор проекта Google Cloud","location":"Расположение","locationPlaceholder":"Введите расположение Google Cloud","credentials":"Учётные данные Google Cloud (необязательно)","credentialsPlaceholder":"Введите JSON с учётными данными Google Cloud"},"about":{"version":"Версия","notAvailable":"Недоступно","checkForUpdates":"Проверить обновления","newAiderVersionAvailable":"Доступна новая версия Aider ({{version}}) — перезапустите AiderDesk для установки.","updateAvailable":"Доступно обновление","downloadUpdate":"Скачать","downloadingUpdate":"Загрузка обновления","newAiderDeskVersionReady":"Готово новое обновление AiderDesk. Перезапустите AiderDesk для применения обновления.","downloadAutomatically":"Скачать автоматически","releaseNotes":"Замечания к выпуску","openLogsDirectory":"Открыть каталог журналов","openLogsError":"Ошибка открытия каталога журналов","showLogs":"Показать журналы"},"viewMenu":{"title":"Вид","showLogs":"Показать журналы"},"telemetry":{"title":"Телеметрия"},"promptBehavior":{"title":"Поведение подсказок","showSuggestions":"Показывать подсказки","automaticallyWhileTyping":"Автоматически при вводе","onlyWhenTabPressed":"Только при нажатии TAB","suggestionsDelay":"Задержка подсказок","requireCommandConfirmation":"Требовать подтверждения команд","addCommand":"/add","readOnlyCommand":"/read-only","modelCommand":"/model","modeSwitchingCommands":"Команды переключения режима (/code, /agent, ...)","keyBindings":"Сочетания клавиш","useVimBindings":"Использовать привязки Vim","useVimBindingsTooltip":"Включить привязки клавиш Vim для навигации и редактирования текста в поле ввода.","modeAtSign":"режим @-упоминания"},"network":{"proxy":"Прокси","enableProxy":"Включить прокси","enableProxyDescription":"Направлять весь HTTP/HTTPS-трафик через прокси-сервер. Влияет на вызовы API LLM, загрузку расширений, проверку обновлений и все исходящие запросы.","proxyUrl":"URL прокси","proxyUrlPlaceholder":"http://127.0.0.1:8888","proxyUrlDescription":"Адрес HTTP- или SOCKS5-прокси-сервера","noProxy":"Без прокси","noProxyPlaceholder":"localhost,127.0.0.1,.internal.example.com","noProxyDescription":"Список хостов или доменов через запятую, которые должны обходить прокси. Поддерживаются точные имена хостов, IP-адреса и домены с подстановкой (например, .example.com)"},"server":{"description":"Включить сервер на порту 24337 для доступа к AiderDesk из внешних приложений","status":"Состояние","running":"Работает","enableBasicAuth":"Включить базовую аутентификацию","enableBasicAuthDescription":"Требовать имя пользователя и пароль для доступа через браузер и API-вызовы.","username":"Имя пользователя","password":"Пароль","controlServer":"REST API-сервер","starting":"Запуск...","stopping":"Остановка...","start":"Запустить","stop":"Остановить","stopped":"Остановлен","copyUrl":"Копировать URL","tunnelManagement":"Управление туннелем","tunnelDescription":"Создайте Cloudflare-туннель для безопасного доступа к серверу из внешних сетей. При публикации сервера обязательно используйте аутентификацию.","cors":"CORS","enableCors":"Включить CORS","enableCorsDescription":"Разрешить междоменные запросы из внешних сайтов. По умолчанию разрешены только запросы из UI AiderDesk.","corsOrigins":"Разрешённые источники","corsOriginPlaceholder":"https://example.com","addCorsOrigin":"Добавить источник","corsOriginsDescription":"Список источников, которым разрешён доступ к API (например, https://your-dashboard.example.com)."},"messages":{"title":"Отображение сообщений","display":"Параметры отображения","markdownRendering":"Визуализация Markdown","diffViewMode":"Режим просмотра различий","viewMode":"Режим просмотра сообщений","viewModeFull":"Полный","viewModeCompact":"Компактный","fullMessageRendering":"Использовать полную отрисовку сообщений (устаревшее)","fullMessageRenderingTooltip":"Отрисовывает все сообщения в DOM без виртуализации. Может снизить производительность при больших историях переписки."},"memory":{"configuration":"Настройка","description":"Настройте функции AI-памяти для повышения непрерывности разговоров и сохранения контекста между сессиями.","enabled":{"label":"Включить","description":"Включить AI-память для запоминания важной информации между разговорами и сессиями."},"model":{"label":"Модель"},"provider":{"label":"Провайдер встраивания","description":"Выберите провайдера для функции памяти"},"maxDistance":{"label":"Порог релевантности","description":"Более высокие значения извлекают больше (и менее релевантных) воспоминаний. Низкие значения — меньше, но более релевантных."},"embeddingProgress":{"loadingModel":"Загрузка модели встраивания: {{status}}","reEmbedding":"Повторное встраивание воспоминаний: {{done}}/{{total}}","error":"Ошибка миграции встраивания: {{error}}"},"memories":{"title":"Воспоминания","project":"Проект","allProjects":"Все проекты","loading":"Загрузка воспоминаний...","empty":"Воспоминания не найдены.","delete":"Удалить","deleteAllForProject":"Удалить все для проекта","deleteDialogTitle":"Удаление воспоминания","deleteDialogText":"Удалить воспоминание","deleteProjectDialogTitle":"Удаление воспоминаний проекта","deleteProjectDialogText":"Удалить все воспоминания для проекта","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"Режим отслеживания файлов","tooltip":"Определяет способ обнаружения изменений файлов. Авто: использует опрос в Docker и на сетевых дисках, нативный — в остальных случаях. Нативный: использует события файловой системы ОС (быстрее). Опрос: использует периодическое сканирование (надёжнее в некоторых средах).","auto":"Авто","native":"Нативный","polling":"Опрос"},"notificationsAndFiles":{"title":"Уведомления и файлы"}}`);
|
|
392778
|
+
const settings = /* @__PURE__ */ JSON.parse(`{"title":"Настройки","tabs":{"general":"Общие","aider":"Aider","agents":"Агенты","tasks":"Задачи","memory":"Память","voice":"Голос","hotkeys":"Горячие клавиши","extensions":"Расширения","server":"Сервер","network":"Сеть","about":"О приложении"},"extensions":{"loading":"Загрузка расширений...","tabs":{"installed":"Установленные","available":"Доступные"},"installed":{"empty":"Нет установленных расширений","emptyHint":"Перейдите на вкладку «Доступные», чтобы найти и установить расширения"},"available":{"empty":"Все доступные расширения уже установлены","extensionsCount":"расширений","installedCount":"установлено","installedExtensions":"установленные расширения"},"search":{"placeholder":"Поиск расширений..."},"capabilities":{"all":"Все"},"repositories":{"title":"Репозитории","placeholder":"Введите URL репозитория...","add":"Добавить","remove":"Удалить репозиторий","default":"Репозиторий по умолчанию"},"by":"от","enabled":"Включено","active":"Активно","disabled":"Отключено","projectSpecific":"Проектное","hasDependencies":"Имеет зависимости","osNotSupported":"Не поддерживается","osNotSupportedTooltip":"Это расширение может не работать в вашей операционной системе. Проверьте детали расширения для дополнительной информации.","install":"Установить","installing":"Установка...","update":"Обновить","updating":"Обновление...","uninstall":"Удалить","uninstalling":"Удаление...","success":{"install":"«{{name}}» успешно установлен","update":"«{{name}}» успешно обновлён","uninstall":"«{{name}}» успешно удалён","saveSettings":"Настройки для «{{name}}» успешно сохранены"},"errors":{"loadInstalled":"Не удалось загрузить установленные расширения","loadAvailable":"Не удалось загрузить доступные расширения","loadSettings":"Не удалось загрузить компоненты настроек расширений","install":"Не удалось установить расширение. Подробности см. в логах.","update":"Не удалось обновить расширение. Подробности см. в логах.","uninstall":"Не удалось удалить расширение","saveSettings":"Не удалось сохранить настройки расширения","settingsNotAvailable":"Настройки расширения недоступны","repositoryExists":"Этот репозиторий уже добавлен","cannotRemoveDefault":"Невозможно удалить репозиторий по умолчанию","npmNotFound":"npm не установлен в вашей системе. Это расширение требует npm для установки зависимостей. Установите Node.js (включает npm) и повторите попытку."},"previousContext":"Предыдущий контекст","nextContext":"Следующий контекст","openSettings":"Открыть настройки расширения","settingsDialog":{"title":"Настройки «{{name}}»"},"expandReadme":"Развернуть README","collapseReadme":"Свернуть README"},"hotkeys":{"projectHotkeys":"Проект","taskHotkeys":"Задача","dialogHotkeys":"Диалоги","closeProject":"Закрыть проект","newProject":"Новый проект","usageDashboard":"Панель использования","modelLibrary":"Библиотека моделей","settings":"Настройки","cycleNextProject":"Следующий проект","cyclePrevProject":"Предыдущий проект","switchProject":"Переключиться на проект {{number}}","switchTask":"Переключиться на задачу {{number}}","focusPrompt":"Фокус на запрос","newTask":"Новая задача","closeTask":"Закрыть задачу","browseFolder":"Просмотреть папку","enterHotkey":"Введите горячую клавишу...","resetToDefaults":"Сбросить до значений по умолчанию","hotkeyFormat":"Формат горячей клавиши:","modKey":"Используйте 'mod' для Cmd (Mac) или Ctrl (Windows/Linux)","multipleKeys":"Разделяйте несколько комбинаций клавиш запятыми","examples":"Примеры: 'mod+w', 'ctrl+shift+t', 'alt+1,meta+1'","clickToRecord":"Нажмите для записи","recording":"Нажмите клавиши...","addShortcut":"Добавить сочетание клавиш","editShortcut":"Редактировать сочетание клавиш","clearShortcut":"Очистить сочетание клавиш","noShortcut":"Сочетание клавиш не настроено","recordShortcutDescription":"Нажмите кнопку записи ниже, а затем нажмите нужную комбинацию клавиш.","pressKeysToRecord":"Нажмите клавиши для записи...","startRecording":"Начать запись","stopRecording":"Остановить запись"},"gui":"Внешний вид","voice":{"title":"Голос","providerProfile":"Профиль провайдера","model":"Модель","idleTimeout":"Тайм-аут простоя (секунды)","idleTimeoutHelp":"Останавливает запись после указанного периода тишины","systemInstructions":"Системные инструкции","microphone":"Микрофон","microphoneDefault":"По умолчанию","microphoneUnknown":"Неизвестный микрофон","noSupportedProviders":"Нет настроенных поддерживаемых провайдеров голоса. Настройте Gemini или OpenAI в Библиотеке моделей.","openai":{"title":"OpenAI","model":"Модель","language":"Язык"},"gemini":{"title":"Gemini","model":"Модель","temperature":"Температура"}},"startup":{"title":"Запуск","emptyTask":"Начать с пустой задачи","lastTask":"Загрузить последнюю задачу"},"tasks":{"title":"Задачи","smartTaskState":"Умное состояние задачи","smartTaskStateTooltip":"Когда включено, модель интеллектуально анализирует ответ агента для классификации задачи как «Нужна дополнительная информация», «Готова к реализации» или «Готова к проверке». Когда отключено, состояние задачи всегда устанавливается на «Готова к проверке».","autoGenerateTaskName":"Автогенерация имени задачи","autoGenerateTaskNameTooltip":"Когда включено, модель генерирует краткое имя задачи на основе вашего запроса. Когда отключено, первые 5 слов вашего запроса используются как имя задачи.","showTaskStateActions":"Показать действия состояния задачи","showTaskStateActionsTooltip":"Когда включено, действия состояния задач отображаются внизу сообщений. Отключите, чтобы скрыть их.","contextManagement":"Управление контекстом","contextCompactingThreshold":"Порог автоматического сжатия","contextCompactingThresholdTooltip":"Когда использование токенов превышает этот порог, разговор автоматически управляется в соответствии с выбранным типом сжатия. Установите 0 для отключения.","contextCompactingThresholdOff":"Отключено","contextCompactingThresholdTokens":"Максимум токенов","contextCompactingThresholdTokensTooltip":"Порог максимального количества токенов. Сжатие срабатывает, когда превышен более низкий из процентного и токенного порогов.","contextCompactingThresholdLowerNote":"Более низкое значение из процентного и токенного порогов используется для сжатия.","contextCompactionType":"Тип сжатия","contextCompactionTypeCompact":"Сжатие","contextCompactionTypeCompactTooltip":"Суммирует разговор в рамках задачи с помощью LLM.","contextCompactionTypeHandoff":"Передача","contextCompactionTypeHandoffTooltip":"Создаёт новую задачу с кратким содержанием текущего разговора.","contextCompactionTypeSmart":"Умное","contextCompactionTypeSmartTooltip":"Детерминированно удаляет избыточные сообщения инструментов без использования LLM.","contextCompactionTypeTooltip":"Выберите способ управления контекстом разговора при превышении порога токенов.","worktree":"Рабочее дерево","worktreeSymlinkFoldersLabel":"Папки символических ссылок","worktreeSymlinkFoldersTooltip":"Эти папки будут создаваться как символьные ссылки из корня проекта в рабочее дерево задачи. Полезно для больших зависимостей, таких как node_modules.","noSymlinkFolders":"Нет настроенных папок символических ссылок","symlinkFolderPlaceholder":"Имя папки (например, node_modules)","addSymlinkFolder":"Добавить","removeSymlinkFolder":"Удалить папку","worktreeBranchPrefix":"Префикс ветки","worktreeBranchPrefixTooltip":"Префикс, используемый при создании имён веток рабочего дерева. Например, «aider-desk/task/» создаст ветки вида «aider-desk/task/my-feature».","worktreeBranchPrefixPlaceholder":"например, aider-desk/task/","renameBranchOnNameGeneration":"Переименовывать ветку при генерации имени","renameBranchOnNameGenerationTooltip":"Когда включено, ветка рабочего дерева автоматически переименовывается в соответствии с сгенерированным именем задачи. Отключите, чтобы сохранить исходное имя ветки.","auxiliaryModelsTitle":"Вспомогательные модели","auxiliaryModelsDescription":"Настройте модели для фоновых AI-операций. Установите «Унаследовать» для использования основной модели агента.","taskNameModel":"Модель для именования задач","taskNameModelTooltip":"Модель, используемая для автоматического создания имён задач из запросов","taskStateModel":"Модель состояния задачи","taskStateModelTooltip":"Модель, используемая для определения состояния задачи (Готова к проверке, Нужна дополнительная информация и т. д.)","commitMessageModel":"Сообщение о коммите","commitMessageModelTooltip":"Модель, используемая для генерации сообщений о коммитах","inheritModel":"Унаследовать","defaultWorkingMode":"Режим работы по умолчанию","defaultWorkingModeTooltip":"Режим работы по умолчанию для новых задач. Local работает непосредственно в каталоге проекта, Worktree использует изолированную ветку git."},"language":"Язык","notifications":{"title":"Уведомления"},"windowTitle":{"title":"Заголовок окна"},"windowTitleTemplateLabel":"Шаблон заголовка окна","windowTitleTemplateTooltip":"Используйте {project} для имени проекта и {task} для текущей задачи. Пример: «AiderDesk — {project}» или «{project} — {task}»","agent":{"tabs":{"general":"Общие","prompts":"Промпты","tools":"Инструменты","subagents":"Суб-агенты"},"systemPrompt":"Системный промпт","systemPromptTooltip":"Если задан, заменяет встроенный системный промпт по умолчанию, когда профиль работает как основной агент. При использовании в качестве суб-агента используется как запасной вариант, если не задан системный промпт для суб-агента. Оставьте пустым, чтобы использовать встроенный системный промпт.","systemPromptPlaceholder":"Пользовательский системный промпт для этого агента. Оставьте пустым, чтобы использовать встроенный системный промпт по умолчанию.","systemPromptInfo":"Заменяет системный промпт агента по умолчанию. Чтобы добавить инструкции к системному промпту по умолчанию, используйте правила ниже.","systemPromptPlaceholders":{"projectDir":"Абсолютный путь к корневому каталогу проекта","taskDir":"Рабочий каталог этой задачи (корень проекта или путь worktree при использовании worktrees)","currentDate":"Текущая дата","osName":"Название операционной системы хоста","projectGitRootDirectory":"Корень git-репозитория проекта, если задача использует worktree; иначе пусто"},"mcpServers":"MCP-серверы","provider":"Провайдер","providerSettings":"Настройки провайдера","context":"Контекст","runSettings":"Параметры","maxIterations":"Максимум итераций","infinite":"Бесконечно","minTimeBetweenToolCalls":"Минимальное время между вызовами инструментов (мс)","maxTokens":"Максимум токенов","temperature":"Температура","customInstructions":"Дополнительные правила","rules":"Правила","rulesInfo":"Любой файл в каталоге <file>.aider-desk/rules</file> вашего проекта автоматически включается в Правила. См. пример <a>здесь</a>.","ruleFilesInfo":"Любой файл в каталоге <file>.aider-desk/rules</file> вашего проекта автоматически включается в Правила.","noServersConfigured":"MCP-серверы не настроены.","computationalResources":"Максимальное количество итераций для агента за один запуск. Помогает контролировать вычислительные ресурсы.","rateLimiting":"Устанавливает минимальное время между вызовами инструментов для предотвращения ограничения скорости (например, для Brave или других API со строгими лимитами).","temperatureTooltip":"Контролирует случайность ответов. Низкие значения (0.0–0.3) делают ответы более сфокусированными и детерминированными, высокие (0.7–1.0) — более креативными и разнообразными. Если не задано, используется значение Temperature модели.","tokensPerResponse":"Максимальное количество токенов, которое агент может использовать за один ответ. Если не задано, используется значение Max Output токенов модели.","addMcpServer":"Добавить","editConfig":"Изменить конфигурацию","editMcpServersConfig":"Изменить конфигурацию MCP-серверов","reloadServers":"Перезагрузить","powerToolsTooltip":"Позволяет агенту использовать инструменты для прямых операций с файлами (чтение, запись, редактирование), поиска (glob, grep, семантический поиск) и выполнения shell-команд (bash).","aiderToolsTooltip":"Агент может использовать Aider для добавления/удаления файлов контекста и выполнения запросов.","useAiderTools":"Использовать инструменты Aider","usePowerTools":"Использовать Power-инструменты","useTodoTools":"Использовать инструменты Todo","useTaskTools":"Использовать инструменты задач","useMemoryTools":"Использовать инструменты памяти","useSkillsTools":"Использовать инструменты навыков","includeContextFiles":"Включить файлы контекста","includeFilesTooltip":"Добавляет содержимое файлов контекста в чат агента. Это увеличит использование токенов.","includeRepoMap":"Включить карту репозитория","includeRepoMapTooltip":"Включает карту репозитория из Aider в контекст агента. Это может помочь агенту понять структуру проекта, но увеличит использование токенов.","autonomyMode":"Режим автономности","override":"Переопределение","clearOverride":"Сбросить переопределение","autoCompactThresholdPercentage":"Порог автоматического сжатия (%)","autoCompactThresholdPercentageTooltip":"Переопределяет глобальный процентный порог автоматического сжатия для этого профиля. Когда использование токенов превышает этот процент от ёмкости модели, срабатывает сжатие.","autoCompactThresholdTokens":"Максимум токенов для автосжатия","autoCompactThresholdTokensTooltip":"Переопределяет глобальный токенный порог автоматического сжатия для этого профиля. Сжатие срабатывает, когда превышено наименьшее из процентного и токенного значений.","autoCompactionType":"Тип сжатия","autoCompactionTypeTooltip":"Переопределяет глобальный тип сжатия для этого профиля. Выберите способ управления контекстом разговора при превышении порога токенов.","selectOrCreateProfile":"Выбрать или создать новый профиль","newProfileName":"Новый профиль","bashToolAllowedPattern":"Разрешённые шаблоны","bashToolDeniedPattern":"Запрещённые шаблоны","bashToolAllowedPatternPlaceholder":"например, 'ls .*;cat .*'","bashToolDeniedPatternPlaceholder":"например, 'rm .*'","bashToolAllowedPatternTooltip":"Команды, соответствующие этим регулярным выражениям, разделённые точкой с запятой, могут выполняться без подтверждения.","bashToolDeniedPatternTooltip":"Команды, соответствующие этим регулярным выражениям, разделённые точкой с запятой, всегда будут отклоняться.","envVarPlaceholder":"{{envVar}}","envVarFoundPlaceholder":"Найдено в: {{source}}","createNewProfile":"Создать","genericTools":"Инструменты","noGenericToolsConfigured":"Инструменты не настроены.","todoTools":"Инструменты Todo","includeTodoToolsTooltip":"Позволяет агенту управлять списком задач, включая создание, получение, обновление и очистку задач.","subagent":{"title":"Суб-агент","enableAsSubagent":"Включить как суб-агента","enableAsSubagentInformation":"Когда включено, этот профиль доступен как суб-агент для других агентов.","canUseSubagents":"Может использовать суб-агентов","canUseSubagentsInformation":"Когда включено, этот агент может использовать суб-агентов.","usingSubagents":"Использование суб-агентов","actingAsSubagent":"Работа как суб-агент","allowAllSubagents":"Разрешить всех суб-агентов","allowAllSubagentsInformation":"Когда включено, этот агент может использовать любой профиль с включённой функцией суб-агента. Отключите, чтобы выбрать конкретных суб-агентов, разрешённых этому агенту.","noSubagentsAvailable":"Нет доступных профилей суб-агентов. Включите «Включить как суб-агент» в других профилях, чтобы они появились здесь.","contextMemory":"Контекстная память","contextMemoryTooltip":"Контролирует, сколько предыдущего контекста разговора суб-агент помнит. «Полный контекст» сохраняет всю историю суб-агента, «Последнее сообщение» использует только последние сообщения, «Выключено» начинает каждый раз заново.","contextMemory.off":"Выключено","contextMemory.fullContext":"Полный контекст","contextMemory.lastMessage":"Последнее сообщение","description":"Описание","descriptionPlaceholder":"Опишите назначение, возможности и специализацию этого суб-агента и когда его следует использовать.","systemPrompt":"Системный запрос","systemPromptPlaceholder":"Системный промпт вашего суб-агента. Может состоять из нескольких абзацев и должен определять роль, возможности и подход суб-агента. Если оставлено пустым, будет использован основной системный промпт агента; если он также пуст — применяется встроенный системный промпт по умолчанию.","invocationMode":"Режим вызова","invocationModeOnDemand":"По запросу","invocationModeOnDemandInformation":"Суб-агент используется только при явном запросе пользователя.","invocationModeAutomatic":"Автоматический","invocationModeAutomaticInformation":"Суб-агент может автоматически вызываться, когда это необходимо.","statusDisabled":"Отключён","statusOnDemand":"По запросу","statusAutomatic":"Автоматический","descriptionRequiredForAutomatic":"Для автоматического использования суб-агента необходимо задать описание, иначе суб-агент может использоваться только при явном запросе.","on-demand":"Используется как суб-агент по запросу","automatic":"Используется как суб-агент автоматически","automaticSubagent":"Автоматический суб-агент","onDemandSubagent":"Суб-агент по запросу"},"skills":{"activating":"Активация навыка {{name}}...","activated":"Навык {{name}} активирован","skill":"Навык"},"profileContext":"Контекст профиля","globalProfiles":"Глобальные профили","projectProfiles":"Профили проекта: {{projectName}}","global":"Глобальный","previousContext":"Предыдущий проект","nextContext":"Следующий проект","noProfilesInContext":"Профили не найдены в этом контексте","createNewProfileInContext":"Создать новый профиль","copyProfile":"Копировать","cutProfile":"Вырезать","deleteProfile":"Удалить","pasteProfile":"Вставить агента","resetProfileToDefaults":"Сбросить до значений по умолчанию","resetProfileTitle":"Сбросить «{{name}}» до значений по умолчанию?","resetProfileConfirm":"Это восстановит «{{name}}» до исходных настроек. Все пользовательские изменения будут потеряны.","restoreProfile":"Восстановить","restoreProfileTooltip":"Восстановить профиль по умолчанию"},"aider":{"options":"Параметры","optionsPlaceholder":"например, --no-auto-commits --cache-prompts","autoCommits":"Автоматические коммиты изменений от LLM","cachingEnabled":"Включить кэширование запросов","watchFiles":"Следить за изменениями файлов","environmentVariables":"Переменные окружения","envVarsPlaceholder":"#################\\n# Параметры LLM:\\n#\\n# Включите параметры xxx_API_KEY и другие параметры, необходимые для ваших LLM.\\n# Смотрите https://aider.chat/docs/llms.html для подробностей.\\n\\n## OpenAI\\n#OPENAI_API_KEY=\\n\\n## Anthropic\\n#ANTHROPIC_API_KEY=","optionsDocumentation":"Проверьте документацию по доступным параметрам на","envVarsDocumentation":"Проверьте документацию по переменным окружения на","context":"Контекст","addRuleFiles":"Добавить файлы правил из каталога <file>.aider-desk/rules</file> проекта как файлы только для чтения.","confirmBeforeEdit":"Подтверждать перед редактированием файлов"},"common":{"showSecrets":"Показать секреты","learnMore":"Подробнее"},"notificationsEnabled":"Уведомления включены","zoom":"Уровень масштаба","theme":"Тема","font":"Шрифт","fontSize":"Размер шрифта","fontOptions":{"Sono":"Sono (по умолчанию)","PlayfairDisplay":"Playfair Display","SpaceGrotesk":"Space Grotesk","GoogleSansCode":"Google Sans Code","JetBrainsMono":"JetBrains Mono","RobotoMono":"Roboto Mono","SourceCodePro":"Source Code Pro","SpaceMono":"Space Mono","UbuntuMono":"Ubuntu Mono"},"themeOptions":{"dark":"По умолчанию (тёмная)","light":"По умолчанию (светлая)","ocean":"Океан","forest":"Лес","lavender":"Лаванда","bw":"Чёрно-белая","midnight":"Полуночная","neon":"Неон","neopunk":"Неопанк","charcoal":"Джаз","aurora":"Аврора","serenity":"Созерцание","cappuccino":"Капучино","fresh":"Свежесть","botanical-garden":"Ботанический сад","botanical-garden-dark":"Ботанический сад (тёмная)","obsidian":"Обсидиан"},"aiderRestartConfirm":{"title":"Требуется перезапуск","message":"Изменения параметров Aider или переменных окружения требуют перезапуска задачи Aider для вступления в силу. Хотите перезапустить сейчас?","restartNow":"Перезапустить сейчас","later":"Я сделаю это позже"},"models":{"title":"Провайдеры моделей","description":"Настройте провайдеров LLM для использования в режимах Aider и Agent. Нажмите на карточку провайдера для настройки API-ключа и дополнительных параметров.","configured":"Настроен","notConfigured":"Не настроен","agentOnly":"Только для Agent","showAllProviders":"Показать всех провайдеров","additionalProvidersInfo":"Вы можете настроить дополнительных провайдеров LLM для Aider, задав переменные окружения на вкладке <aiderTab>Настройки Aider</aiderTab>."},"vertexAi":{"project":"Проект","projectPlaceholder":"Введите идентификатор проекта Google Cloud","location":"Расположение","locationPlaceholder":"Введите расположение Google Cloud","credentials":"Учётные данные Google Cloud (необязательно)","credentialsPlaceholder":"Введите JSON с учётными данными Google Cloud"},"about":{"version":"Версия","notAvailable":"Недоступно","checkForUpdates":"Проверить обновления","newAiderVersionAvailable":"Доступна новая версия Aider ({{version}}) — перезапустите AiderDesk для установки.","updateAvailable":"Доступно обновление","downloadUpdate":"Скачать","downloadingUpdate":"Загрузка обновления","newAiderDeskVersionReady":"Готово новое обновление AiderDesk. Перезапустите AiderDesk для применения обновления.","downloadAutomatically":"Скачать автоматически","releaseNotes":"Замечания к выпуску","openLogsDirectory":"Открыть каталог журналов","openLogsError":"Ошибка открытия каталога журналов","showLogs":"Показать журналы"},"viewMenu":{"title":"Вид","showLogs":"Показать журналы"},"telemetry":{"title":"Телеметрия"},"promptBehavior":{"title":"Поведение подсказок","showSuggestions":"Показывать подсказки","automaticallyWhileTyping":"Автоматически при вводе","onlyWhenTabPressed":"Только при нажатии TAB","suggestionsDelay":"Задержка подсказок","requireCommandConfirmation":"Требовать подтверждения команд","addCommand":"/add","readOnlyCommand":"/read-only","modelCommand":"/model","modeSwitchingCommands":"Команды переключения режима (/code, /agent, ...)","keyBindings":"Сочетания клавиш","useVimBindings":"Использовать привязки Vim","useVimBindingsTooltip":"Включить привязки клавиш Vim для навигации и редактирования текста в поле ввода.","modeAtSign":"режим @-упоминания"},"network":{"proxy":"Прокси","enableProxy":"Включить прокси","enableProxyDescription":"Направлять весь HTTP/HTTPS-трафик через прокси-сервер. Влияет на вызовы API LLM, загрузку расширений, проверку обновлений и все исходящие запросы.","proxyUrl":"URL прокси","proxyUrlPlaceholder":"http://127.0.0.1:8888","proxyUrlDescription":"Адрес HTTP- или SOCKS5-прокси-сервера","noProxy":"Без прокси","noProxyPlaceholder":"localhost,127.0.0.1,.internal.example.com","noProxyDescription":"Список хостов или доменов через запятую, которые должны обходить прокси. Поддерживаются точные имена хостов, IP-адреса и домены с подстановкой (например, .example.com)"},"server":{"description":"Включить сервер на порту 24337 для доступа к AiderDesk из внешних приложений","status":"Состояние","running":"Работает","enableBasicAuth":"Включить базовую аутентификацию","enableBasicAuthDescription":"Требовать имя пользователя и пароль для доступа через браузер и API-вызовы.","username":"Имя пользователя","password":"Пароль","controlServer":"REST API-сервер","starting":"Запуск...","stopping":"Остановка...","start":"Запустить","stop":"Остановить","stopped":"Остановлен","copyUrl":"Копировать URL","tunnelManagement":"Управление туннелем","tunnelDescription":"Создайте Cloudflare-туннель для безопасного доступа к серверу из внешних сетей. При публикации сервера обязательно используйте аутентификацию.","cors":"CORS","enableCors":"Включить CORS","enableCorsDescription":"Разрешить междоменные запросы из внешних сайтов. По умолчанию разрешены только запросы из UI AiderDesk.","corsOrigins":"Разрешённые источники","corsOriginPlaceholder":"https://example.com","addCorsOrigin":"Добавить источник","corsOriginsDescription":"Список источников, которым разрешён доступ к API (например, https://your-dashboard.example.com)."},"messages":{"title":"Отображение сообщений","display":"Параметры отображения","markdownRendering":"Визуализация Markdown","diffViewMode":"Режим просмотра различий","viewMode":"Режим просмотра сообщений","viewModeFull":"Полный","viewModeCompact":"Компактный","fullMessageRendering":"Использовать полную отрисовку сообщений (устаревшее)","fullMessageRenderingTooltip":"Отрисовывает все сообщения в DOM без виртуализации. Может снизить производительность при больших историях переписки."},"memory":{"configuration":"Настройка","description":"Настройте функции AI-памяти для повышения непрерывности разговоров и сохранения контекста между сессиями.","enabled":{"label":"Включить","description":"Включить AI-память для запоминания важной информации между разговорами и сессиями."},"model":{"label":"Модель"},"provider":{"label":"Провайдер встраивания","description":"Выберите провайдера для функции памяти"},"maxDistance":{"label":"Порог релевантности","description":"Более высокие значения извлекают больше (и менее релевантных) воспоминаний. Низкие значения — меньше, но более релевантных."},"embeddingProgress":{"loadingModel":"Загрузка модели встраивания: {{status}}","reEmbedding":"Повторное встраивание воспоминаний: {{done}}/{{total}}","error":"Ошибка миграции встраивания: {{error}}"},"memories":{"title":"Воспоминания","project":"Проект","allProjects":"Все проекты","loading":"Загрузка воспоминаний...","empty":"Воспоминания не найдены.","delete":"Удалить","deleteAllForProject":"Удалить все для проекта","deleteDialogTitle":"Удаление воспоминания","deleteDialogText":"Удалить воспоминание","deleteProjectDialogTitle":"Удаление воспоминаний проекта","deleteProjectDialogText":"Удалить все воспоминания для проекта","projectId":"projectId","id":"id"}},"fileWatchMode":{"label":"Режим отслеживания файлов","tooltip":"Определяет способ обнаружения изменений файлов. Авто: использует опрос в Docker и на сетевых дисках, нативный — в остальных случаях. Нативный: использует события файловой системы ОС (быстрее). Опрос: использует периодическое сканирование (надёжнее в некоторых средах).","auto":"Авто","native":"Нативный","polling":"Опрос"},"notificationsAndFiles":{"title":"Уведомления и файлы"}}`);
|
|
392570
392779
|
const messages = { "thinking": "Думаю...", "loading": "Загрузка...", "copy": "Копировать", "copied": "Скопировано!", "interrupted": "Прервано пользователем.", "taskInterrupted": "Задача прервана", "taskInterruptedDescription": "Задача была прервана пользователем в процессе выполнения.", "delete": "Удалить", "redo": "Повторить", "edit": "Редактировать", "forkFromHere": "Ответвить отсюда", "editingLastMessage": "Редактирование последнего сообщения", "cancelEdit": "Отмена", "group": "Группировать", "scrollToBottom": "Прокрутить вниз", "previousUserMessage": "Предыдущее сообщение пользователя", "nextUserMessage": "Следующее сообщение пользователя", "messageBar": "Строка сообщений", "execute": "Выполнить", "resume": "Продолжить", "taskReadyForReview": "Задача готова к проверке", "taskTodo": "Задача не начата", "taskTodoDescription": "Задача готова к выполнению.", "markAsDone": "Отметить как выполненное", "reviewChanges": "Просмотреть изменения", "taskReadyForImplementation": "Задача готова к реализации", "taskDone": "Задача завершена", "taskDoneArchived": "Задача завершена и заархивирована", "taskDelegated": "Задача была делегирована подзадаче. Вы можете продолжить её при необходимости.", "proceed": "Продолжить", "archive": "Архивировать", "unarchive": "Разархивировать", "confirmDelete": "Подтвердить удаление", "remove": "Удалить сообщение", "deleteUpToHere": "Удалить до этого места" };
|
|
392571
392780
|
const errors = { "frozenTitle": "AIDER ЗАМРОЗЛ?", "frozenMessage": "Процесс Aider, похоже, завис. Хотите перезапустить задачу?", "removeMessageFailed": "Не удалось удалить сообщение — попробуйте ещё раз.", "forkTaskFailed": "Не удалось ответвить задачу — попробуйте ещё раз.", "removeMessagesUpToFailed": "Не удалось удалить сообщения — попробуйте ещё раз.", "appCrash": { "title": "Что-то пошло не так", "message": "Произошла непредвиденная ошибка, и приложение не может продолжить работу.", "reportIssue": "Пожалуйста, сообщите о проблеме на <a>https://github.com/hotovo/aider-desk/issues</a>. Спасибо.", "reload": "Перезагрузить", "details": "Подробности ошибки", "copy": "Копировать", "copied": "Скопировано!" } };
|
|
392572
392781
|
const dialogs = { "confirm": "Подтвердить", "confirmDelete": "Вы уверены, что хотите удалить это?", "addFile": "Добавить файл", "openProject": "Открыть проект", "recentProjects": "Недавние проекты", "openProjectTitle": "ОТКРЫТЬ ПРОЕКТ", "projectPathPlaceholder": "Введите путь к проекту или используйте значок для выбора", "openButton": "Открыть", "browseFoldersTooltip": "Просмотр папок", "projectAlreadyOpenWarning": "Этот проект уже открыт.", "cantOpenProject": "Этот проект не может быть открыт." };
|
|
@@ -392589,17 +392798,17 @@ const reflectedMessage = { "title": "Отражённое сообщение" };
|
|
|
392589
392798
|
const responseMessage = { "inputTokens": "Входные токены", "outputTokens": "Выходные токены", "cacheWriteTokens": "Токены записи в кэш", "cacheReadTokens": "Токены чтения из кэша" };
|
|
392590
392799
|
const compaction = { "fileEdited": "Файл изменён (контекст компактизирован)" };
|
|
392591
392800
|
const thinkingAnswer = { "thinking": "ДУМАЮ", "answer": "ОТВЕТ" };
|
|
392592
|
-
const toolMessage = { "toolLabel": "{{server}}: {{tool}}", "arguments": "Аргументы:", "executing": "Выполнение инструмента...", "result": "Результат:", "error": "Ошибка при выполнении инструмента:", "denied": "Отказано пользователем.", "deniedByReason": "Отказано пользователем по причине:\n{{reason}}", "tasks": { "listTasks": "Список задач", "listTasksWithState": "Список задач с состоянием: {{state}}", "getTask": "Получить задачу", "getTaskMessage": "Получить сообщение задачи", "createTask": "Создать задачу", "deleteTask": "Удалить задачу", "searchTask": "Поиск задачи:", "inTask": "в", "searchTaskNoMatches": "Совпадений не найдено.", "searchParentTask": "Поиск родительской задачи:", "inParentTask": "в", "searchParentTaskNoMatches": "Совпадений не найдено.", "name": "Имя", "parentTaskId": "Идентификатор родительской задачи", "execute": "Выполнить", "executeInBackground": "Выполнить в фоне", "mode": "Режим", "autonomyMode": "Режим автономности", "worktree": "Рабочее дерево", "executeAndWait": "Выполнить и подождать", "yes": "Да", "no": "Нет", "taskId": "Идентификатор задачи", "messageIndex": "Индекс сообщения", "prompt": "Запрос", "agentProfile": "Профиль агента", "model": "Модель", "state": "Состояние", "contextFiles": "Файлы контекста", "contextMessages": "Контекстные сообщения", "currentMode": "Текущий режим", "role": "Роль", "usage": "Использование", "noTasksFound": "Задачи не найдены", "taskNotFound": "Задача не найдена", "messageNotFound": "Сообщение не найдено", "taskCreatedSuccessfully": "Задача успешно создана", "taskDeletedSuccessfully": "Задача успешно удалена", "cannotDeleteCurrentTask": "Невозможно удалить текущую задачу", "active": "Активна", "completed": "Завершена", "archived": "Заархивирована", "user": "Пользователь", "assistant": "Ассистент", "readOnly": "Только для чтения", "createdAt": "Создана", "updatedAt": "Обновлена" }, "aider": { "addContextFiles": "Добавить файл(ы) в контекст Aider:\n{{paths}}", "dropContextFiles": "Удалить файл(ы) из контекста Aider:\n{{paths}}", "runPrompt": "Выполнить запрос в Aider", "working": "Aider работает...", "finishedTask": "Aider завершил задачу.", "noChanges": "Aider не внес изменений." }, "power": { "fileRead": { "title": "Чтение", "withLines": "Со строками", "lineOffset": "Смещение строк", "lineLimit": "Лимит строк" }, "fileWrite": { "overwrite": "Перезаписать", "append": "Дополнить", "createOnly": "Только создать" }, "fileEdit": { "title": "Редактирование", "searchTerm": "Поисковый термин", "regex": "Регулярное выражение", "replacementText": "Текст замены", "replaceAll": "Заменить все" }, "glob": { "title": "Найти файлы по шаблону:", "findingFiles": "Поиск файлов...", "foundFiles": "Найдено {{count}} файлов", "noMatches": "Файлы не найдены", "matching": "соответствует" }, "grep": { "title": "Поиск файлов", "findingMatches": "Поиск...", "in": "в", "for": "для", "foundMatches": "Найдено {{count}} совпадений", "noMatches": "Совпадений не найдено", "contextLines": "({{count}} строк контекста)", "matchesCount": "({{count}} совпадений)", "lineLabel": "Строка {{lineNumber}}:", "contextLabel": "Контекст:" }, "bash": { "title": "Выполнить команду", "exitCode": "Код выхода", "stdout": "Стандартный вывод", "stderr": "Стандартный вывод ошибок", "commandFailed": "Команда завершилась с ошибкой", "timeout": "Тайм-аут" }, "semanticSearch": { "title": "Семантический поиск:", "in": "в", "noMatches": "Совпадений не найдено.", "foundMatches": "Найдено {{count}} совпадений", "score": " (счёт: {{score}})", "resultLabel": "Результат {{index}}" }, "fetch": { "title": "Загрузка" } }, "memory": { "group": "Память", "storingMemory": "Сохранение памяти...", "retrievingMemories": "Извлечение воспоминаний...", "deletingMemory": "Удаление памяти...", "updatingMemory": "Обновление памяти...", "listingMemories": "Список воспоминаний...", "memoryStored": "Память сохранена.", "memoryUpdated": "Память обновлена.", "memoryDeleted": "Память удалена.", "memoryId": "Идентификатор памяти", "type": "Тип", "content": "Содержимое", "newContent": "Новое содержимое", "query": "Запрос", "limit": "Лимит", "foundMemories": "Найдено {{count}} воспоминаний.", "noMemoriesFound": "Не найдено релевантных воспоминаний.", "noRelevantMemories": "Не найдено релевантных воспоминаний", "storedMemoryDetails": "Данные сохранённой памяти", "updatedMemoryDetails": "Данные обновлённой памяти", "deletedMemoryDetails": "Данные удалённой памяти", "retrievedMemories": "Извлечённые воспоминания", "memoryList": "Список воспоминаний", "listedMemories": "Вывод {{count}} воспоминаний.", "ofType": "типа {{type}}", "noMemoriesOfType": "Нет воспоминаний типа: {{type}}", "all": "Все", "delete": "Удалить", "memoryNotFound": "Не найдено", "deleteDialogTitle": "Удаление воспоминания", "deleteDialogText": "Вы уверены, что хотите удалить это воспоминание?" }, "subagents": { "groupRunning": "{{name}}: Суб-агент работает...", "groupCompleted": "{{name}}: Суб-агент завершил задачу.", "groupCancelled": "{{name}}: Суб-агент был отменён пользователем.", "running": "Суб-агент работает...", "completed": "Суб-агент выполнил следующий запрос:", "prompt": "Запрос", "error": "Ошибка запуска суб-агента" }, "errors": { "noSuchTool": "Попытка использовать неизвестный инструмент: {{toolName}}", "invalidToolArguments": "Недопустимые аргументы для инструмента: {{toolName}}" } };
|
|
392801
|
+
const toolMessage = { "toolLabel": "{{server}}: {{tool}}", "arguments": "Аргументы:", "executing": "Выполнение инструмента...", "result": "Результат:", "error": "Ошибка при выполнении инструмента:", "denied": "Отказано пользователем.", "deniedByReason": "Отказано пользователем по причине:\n{{reason}}", "tasks": { "listTasks": "Список задач", "listTasksWithState": "Список задач с состоянием: {{state}}", "getTask": "Получить задачу", "getTaskMessage": "Получить сообщение задачи", "createTask": "Создать задачу", "deleteTask": "Удалить задачу", "searchTask": "Поиск задачи:", "inTask": "в", "searchTaskNoMatches": "Совпадений не найдено.", "searchParentTask": "Поиск родительской задачи:", "inParentTask": "в", "searchParentTaskNoMatches": "Совпадений не найдено.", "name": "Имя", "parentTaskId": "Идентификатор родительской задачи", "execute": "Выполнить", "executeInBackground": "Выполнить в фоне", "mode": "Режим", "autonomyMode": "Режим автономности", "worktree": "Рабочее дерево", "executeAndWait": "Выполнить и подождать", "yes": "Да", "no": "Нет", "taskId": "Идентификатор задачи", "messageIndex": "Индекс сообщения", "prompt": "Запрос", "agentProfile": "Профиль агента", "model": "Модель", "state": "Состояние", "contextFiles": "Файлы контекста", "contextMessages": "Контекстные сообщения", "currentMode": "Текущий режим", "role": "Роль", "usage": "Использование", "noTasksFound": "Задачи не найдены", "taskNotFound": "Задача не найдена", "messageNotFound": "Сообщение не найдено", "taskCreatedSuccessfully": "Задача успешно создана", "taskDeletedSuccessfully": "Задача успешно удалена", "cannotDeleteCurrentTask": "Невозможно удалить текущую задачу", "active": "Активна", "completed": "Завершена", "archived": "Заархивирована", "user": "Пользователь", "assistant": "Ассистент", "readOnly": "Только для чтения", "createdAt": "Создана", "updatedAt": "Обновлена" }, "aider": { "addContextFiles": "Добавить файл(ы) в контекст Aider:\n{{paths}}", "dropContextFiles": "Удалить файл(ы) из контекста Aider:\n{{paths}}", "runPrompt": "Выполнить запрос в Aider", "working": "Aider работает...", "finishedTask": "Aider завершил задачу.", "noChanges": "Aider не внес изменений." }, "power": { "fileRead": { "title": "Чтение", "withLines": "Со строками", "lineOffset": "Смещение строк", "lineLimit": "Лимит строк" }, "fileWrite": { "overwrite": "Перезаписать", "append": "Дополнить", "createOnly": "Только создать" }, "fileEdit": { "title": "Редактирование", "searchTerm": "Поисковый термин", "regex": "Регулярное выражение", "replacementText": "Текст замены", "replaceAll": "Заменить все" }, "glob": { "title": "Найти файлы по шаблону:", "findingFiles": "Поиск файлов...", "foundFiles": "Найдено {{count}} файлов", "noMatches": "Файлы не найдены", "matching": "соответствует" }, "grep": { "title": "Поиск файлов", "findingMatches": "Поиск...", "in": "в", "for": "для", "foundMatches": "Найдено {{count}} совпадений", "noMatches": "Совпадений не найдено", "contextLines": "({{count}} строк контекста)", "matchesCount": "({{count}} совпадений)", "lineLabel": "Строка {{lineNumber}}:", "contextLabel": "Контекст:" }, "bash": { "title": "Выполнить команду", "exitCode": "Код выхода", "stdout": "Стандартный вывод", "stderr": "Стандартный вывод ошибок", "commandFailed": "Команда завершилась с ошибкой", "timeout": "Тайм-аут" }, "semanticSearch": { "title": "Семантический поиск:", "in": "в", "noMatches": "Совпадений не найдено.", "foundMatches": "Найдено {{count}} совпадений", "score": " (счёт: {{score}})", "resultLabel": "Результат {{index}}" }, "fetch": { "title": "Загрузка" } }, "memory": { "group": "Память", "storingMemory": "Сохранение памяти...", "retrievingMemories": "Извлечение воспоминаний...", "deletingMemory": "Удаление памяти...", "updatingMemory": "Обновление памяти...", "listingMemories": "Список воспоминаний...", "memoryStored": "Память сохранена.", "memoryUpdated": "Память обновлена.", "memoryDeleted": "Память удалена.", "memoryId": "Идентификатор памяти", "type": "Тип", "content": "Содержимое", "newContent": "Новое содержимое", "query": "Запрос", "limit": "Лимит", "foundMemories": "Найдено {{count}} воспоминаний.", "noMemoriesFound": "Не найдено релевантных воспоминаний.", "noRelevantMemories": "Не найдено релевантных воспоминаний", "storedMemoryDetails": "Данные сохранённой памяти", "updatedMemoryDetails": "Данные обновлённой памяти", "deletedMemoryDetails": "Данные удалённой памяти", "retrievedMemories": "Извлечённые воспоминания", "memoryList": "Список воспоминаний", "listedMemories": "Вывод {{count}} воспоминаний.", "ofType": "типа {{type}}", "noMemoriesOfType": "Нет воспоминаний типа: {{type}}", "all": "Все", "delete": "Удалить", "memoryNotFound": "Не найдено", "deleteDialogTitle": "Удаление воспоминания", "deleteDialogText": "Вы уверены, что хотите удалить это воспоминание?" }, "subagents": { "groupRunning": "{{name}}: Суб-агент работает...", "groupCompleted": "{{name}}: Суб-агент завершил задачу.", "groupCompletedWithDescription": "{{name}}: Суб-агент завершил {{description}}", "groupCancelled": "{{name}}: Суб-агент был отменён пользователем.", "groupCancelledWithDescription": "{{name}}: Выполнение суб-агента ({{description}}) отменено пользователем", "running": "Суб-агент работает...", "completed": "Суб-агент выполнил следующий запрос:", "prompt": "Запрос", "error": "Ошибка запуска суб-агента" }, "errors": { "noSuchTool": "Попытка использовать неизвестный инструмент: {{toolName}}", "invalidToolArguments": "Недопустимые аргументы для инструмента: {{toolName}}" } };
|
|
392593
392802
|
const codeBlock = { "revertChanges": "Отменить изменения" };
|
|
392594
392803
|
const diffViewer = { "sideBySide": "Бок о бок", "unified": "Унифицированный", "compact": "Компактный", "noChanges": "Изменений не было. Содержимое идентично.", "lineComment": { "placeholder": "Опишите изменения, которые вы хотите внести в этот код...", "taskName": "Обновить {{filename}}", "createNewTask": "Создать новую задачу" } };
|
|
392595
392804
|
const promptField = { "startRecording": "Начать запись", "stopRecording": "Остановить запись", "voiceUnavailable": "Доступ к микрофону недоступен. MediaDevices API браузера не поддерживается в этом контексте. Используйте HTTPS или localhost.", "savePrompt": "Сохранить запрос", "savePromptDescription": "Сохранить запрос без выполнения", "saveError": "Не удалось сохранить запрос: {{error}}", "autonomyManual": "Ручной", "autonomyManualTooltip": "Ручной режим: каждое выполнение инструмента и план требуют вашего явного подтверждения. Подходит для незнакомого кода или рискованных операций.", "autonomyGuided": "Управляемый", "autonomyGuidedTooltip": "Управляемый режим: агент составляет план перед действием и ждёт вашего подтверждения перед выполнением изменений. Выполнение инструментов одобряется автоматически. Подходит для повседневной разработки.", "autonomyAutonomous": "Авто", "autonomyAutonomousTooltip": "Автономный режим: агент планирует и выполняет без перерыва до завершения задачи. Подходит для доверенных задач, когда вы хотите отойти.", "autonomyLockTooltip": "Блокировка сохраняет текущий режим автономности для новых задач", "placeholders": { "0": "Обновите класс UserValidator, чтобы добавить валидацию формата электронной почты...", "1": "Исправьте утечку памяти в DataProcessor.processBatch(), закрыв...", "2": "Добавьте обработку ошибок в PaymentService.chargeCard() с правильным...", "3": "Создайте React-компонент UserProfileCard с интерфейсом props...", "4": "Оптимизируйте SQL-запрос в UserRepository.findByEmail(), добавив...", "5": "Добавьте модульные тесты для AuthController.login() с использованием Jest и...", "6": "Реализуйте отсутствующий метод handleResize() в ChartComponent...", "7": "Обновите package.json, чтобы добавить зависимость TypeScript и настроить...", "8": "Добавьте валидацию ввода в функцию handleSubmit компонента ContactForm...", "9": "Исправьте ошибку в calculateTotal(), где десятичные значения обрабатываются неправильно...", "10": "Добавьте логирование в middleware API с помощью Winston для запросов...", "11": "Создайте Dockerfile для Node.js-приложения со многоэтапной сборкой...", "12": "Добавьте middleware ограничения частоты запросов к конечной точке /api/users с помощью...", "13": "Реализуйте отсутствующую функцию deleteTodo() в TodoService...", "14": "Добавьте TypeScript-интерфейсы для объектов ответов API...", "15": "Исправьте CSS-проблему, из-за которой мобильное меню не отображается...", "16": "Добавьте валидацию переменных окружения с помощью dotenv и...", "17": "Создайте миграцию базы данных, чтобы добавить столбец 'last_login' в таблицу...", "18": "Добавьте границы ошибок в React-приложение для перехвата ошибок компонентов...", "19": "Реализуйте логику пагинации в методе fetchProducts компонента ProductList..." }, "questionPlaceholder": "...или предложите что-то другое", "queueTitle": "Очередь запросов", "queuedPrompt": "В очереди", "queueMessage": "Сообщение в очереди (Enter)", "removeQueuedPrompt": "Удалить", "sendQueuedPromptNow": "Отправить немедленно", "editQueuedPrompt": "Редактировать", "saveQueuedPrompt": "Сохранить", "cancelEditQueuedPrompt": "Отмена", "answers": { "yes": "(Д)а", "no": "(Н)ет", "always": "(В)сегда", "dontAsk": "(Н)е спрашивать снова" }, "invalidCommand": "Недопустимая команда", "stopResponse": "Остановить ответ", "sendMessage": "Отправить сообщение (Enter)", "clearChat": "Очистить чат", "undoContextChange": "Восстановить сообщения до предыдущего состояния", "agentModeOnly": "Доступно только в режиме Агент", "handoffError": "Передача не удалась: {{error}}", "taskInfo": "Показать информацию о задаче" };
|
|
392596
|
-
const agentProfiles = { "title": "Агенты", "profileSettings": "Профиль агента: {{profileName}}", "newProfileName": "Новый профиль", "manageProfiles": "Управление профилями", "createNew": "Новый профиль", "profileName": "Имя", "profileDescription": "Описание", "profileDescriptionPlaceholder": "Опишите этот профиль агента (назначение, инструменты и т. д.)", "tools": "Инструменты", "model": "Модель", "selectProfile": "Выбрать...", "
|
|
392805
|
+
const agentProfiles = { "title": "Агенты", "profileSettings": "Профиль агента: {{profileName}}", "newProfileName": "Новый профиль", "manageProfiles": "Управление профилями", "editProfile": "Редактировать профиль", "createNew": "Новый профиль", "profileName": "Имя", "profileDescription": "Описание", "profileDescriptionPlaceholder": "Опишите этот профиль агента (назначение, инструменты и т. д.)", "tools": "Инструменты", "model": "Модель", "selectProfile": "Выбрать...", "useAsProjectDefault": "Использовать как профиль проекта по умолчанию" };
|
|
392597
392806
|
const projectBar = { "editFormatTooltip": "Это формат, используемый для редактирования кода. Изменение может привести к нежелательным результатам.", "aider": "Aider", "toggleSidebar": "Переключить боковую панель", "modelLibrary": "Библиотека моделей", "worktree": "Рабочее дерево", "worktreeTooltip": "Переключить рабочее дерево для этой задачи" };
|
|
392598
392807
|
const pythonSetup = { "checkingUv": "Проверка установки uv...", "downloadingUv": "Загрузка uv...", "creatingVenv": "Создание Python-окружения...", "installingPackage": "Установка {{package}} ({{current}}/{{total}})...", "settingUpConnector": "Настройка коннектора Aider...", "settingUpMcp": "Настройка MCP-сервера...", "failed": "Ошибка настройки Python: {{error}}" };
|
|
392599
392808
|
const workingMode = { "local": "Локальный", "worktree": "Рабочее дерево", "switching": "Переключение...", "confirmLocalTitle": "Переключиться на локальный режим", "confirmLocalMessage": "В этом рабочем дереве есть несохранённые изменения:\n{{warnings}}", "localOptionMergeLabel": "Сначала объединить изменения, затем переключиться", "localOptionMergeDescription": "Объединить коммиты рабочего дерева с основной веткой перед переключением этой задачи в локальный режим", "localOptionMergeAllLabel": "Объединить и переключить все задачи в рабочем дереве", "localOptionMergeAllDescription": "Объединить коммиты рабочего дерева с основной веткой, затем переключить все задачи, использующие это рабочее дерево, в локальный режим", "localOptionRemoveLabel": "Удалить рабочее дерево и переключиться", "localOptionRemoveDescription": "Отменить незакоммиченные и несmerged изменения, удалить рабочее дерево и переключиться в локальный режим", "confirmWorktreeTitle": "Переключиться в режим рабочего дерева", "confirmWorktreeMessage": "В каталоге проекта есть {{count}} незакоммиченных файлов.", "worktreeOptionJustSwitchLabel": "Переключиться без переноса изменений", "worktreeOptionJustSwitchDescription": "Оставить незакоммиченные изменения в каталоге проекта и переключиться в режим рабочего дерева", "worktreeOptionCarryOverRemoveLabel": "Перенести и удалить из проекта", "worktreeOptionCarryOverRemoveDescription": "Переместить незакоммиченные изменения в рабочее дерево, удалив их из каталога проекта", "worktreeOptionCarryOverKeepLabel": "Перенести и оставить в проекте", "worktreeOptionCarryOverKeepDescription": "Скопировать незакоммиченные изменения в рабочее дерево, также сохранив их в каталоге проекта" };
|
|
392600
392809
|
const workingModeTooltip = { "local": "Вносить изменения непосредственно в локальный каталог проекта для этой задачи", "worktree": "Использовать git worktree для изолированных изменений в этой задаче" };
|
|
392601
392810
|
const reasoningEffort = { "label": "Уровень рассуждений", "tooltip": "Уровень рассуждений определяет, насколько модель будет размышлять перед принятием действия. Высокий уровень означает больше размышлений, но и более длительное время ответа.", "none": "Нет", "minimal": "Минимальный", "low": "Низкий", "medium": "Средний", "high": "Высокий", "xhigh": "Очень высокий", "max": "Максимальный" };
|
|
392602
|
-
const commands = { "add": "Добавить файлы в контекст", "agent": "Переключиться в режим агента. Если уже в режиме агента, открывает выбор модели агента. Любой текст после команды используется как запрос.", "architect": "Переключиться в режим архитектора. Режим архитектора используется для планирования и выполнения изменений в кодовой базе.", "ask": "Переключиться в режим вопросов. Задавайте вопросы о кодовой базе без редактирования файлов.", "clear": "Очистить историю чата", "clear-logs": "Удалить только сообщения журнала из чата", "code": "Переключиться в режим кода. Запросите изменения в вашем коде.", "commit": "Зафиксировать незакоммиченные изменения в репозитории", "context": "Переключиться в режим контекста. Запрашивайте изменения, и Aider добавит релевантные файлы в контекст.", "compact": "Суммировать разговор", "copy-context": "Скопировать текущий контекст чата в формате Markdown, подходящем для вставки в веб-интерфейс", "drop": "Удалить файлы из контекста, чтобы освободить место", "edit-last": "Редактировать последнее сообщение пользователя", "init": "Инициализировать файл правил AGENTS.md с информацией о проекте", "agentModeOnly": "Только в режиме агента", "map": "Вывести карту текущего репозитория", "map-refresh": "Принудительно обновить карту репозитория", "model": "Открыть выбор модели", "read-only": "Добавить файлы в чат только для чтения или сделать добавленные файлы только для чтения", "redo": "Повторить последний запрос пользователя.", "resolve-conflicts": "Разрешить конфликты слияния с помощью AI", "reasoning-effort": "Установить уровень рассуждений (значения: minimal/low/medium/high в зависимости от модели)", "reset": "Удалить все файлы и очистить историю чата", "run": "Выполнить shell-команду и optionally добавить вывод в чат", "task-info": "Показать информацию о задаче", "test": "Выполнить предопределённую тестовую команду и добавить вывод в чат при ненулевом коде выхода", "think-tokens": "Установить бюджет токенов на рассуждения (поддерживаемые форматы: 8096, 8k, 10.5k, 0.5M)", "tokens": "Сообщить количество токенов, используемых в текущем контексте чата", "undo": "Отменить последний коммит git, если он был сделан Aider", "web": "Скопировать веб-страницу и сохранить в файл. Используйте /web url [файл] с необязательным [файл].", "handoff": "Передать разговор в новую задачу с фокусом", "subtask": "Создать подзадачу текущей задачи и переключиться на неё" };
|
|
392811
|
+
const commands = { "add": "Добавить файлы в контекст", "agent": "Переключиться в режим агента. Если уже в режиме агента, открывает выбор модели агента. Любой текст после команды используется как запрос.", "architect": "Переключиться в режим архитектора. Режим архитектора используется для планирования и выполнения изменений в кодовой базе.", "ask": "Переключиться в режим вопросов. Задавайте вопросы о кодовой базе без редактирования файлов.", "clear": "Очистить историю чата", "clear-logs": "Удалить только сообщения журнала из чата", "code": "Переключиться в режим кода. Запросите изменения в вашем коде.", "commit": "Зафиксировать незакоммиченные изменения в репозитории", "context": "Переключиться в режим контекста. Запрашивайте изменения, и Aider добавит релевантные файлы в контекст.", "compact": "Суммировать разговор", "copy-context": "Скопировать текущий контекст чата в формате Markdown, подходящем для вставки в веб-интерфейс", "drop": "Удалить файлы из контекста, чтобы освободить место", "edit-last": "Редактировать последнее сообщение пользователя", "init": "Инициализировать файл правил AGENTS.md с информацией о проекте", "agentModeOnly": "Только в режиме агента", "map": "Вывести карту текущего репозитория", "map-refresh": "Принудительно обновить карту репозитория", "model": "Открыть выбор модели", "read-only": "Добавить файлы в чат только для чтения или сделать добавленные файлы только для чтения", "redo": "Повторить последний запрос пользователя.", "resolve-conflicts": "Разрешить конфликты слияния с помощью AI", "reasoning-effort": "Установить уровень рассуждений (значения: minimal/low/medium/high в зависимости от модели)", "reset": "Удалить все файлы и очистить историю чата", "run": "Выполнить shell-команду и optionally добавить вывод в чат", "task-info": "Показать информацию о задаче", "test": "Выполнить предопределённую тестовую команду и добавить вывод в чат при ненулевом коде выхода", "think-tokens": "Установить бюджет токенов на рассуждения (поддерживаемые форматы: 8096, 8k, 10.5k, 0.5M)", "tokens": "Сообщить количество токенов, используемых в текущем контексте чата", "undo": "Отменить последний коммит git, если он был сделан Aider", "web": "Скопировать веб-страницу и сохранить в файл. Используйте /web url [файл] с необязательным [файл].", "handoff": "Передать разговор в новую задачу с фокусом", "subtask": "Создать подзадачу текущей задачи и переключиться на неё", "subagent": "Запустить промпт в указанном субагенте. Используйте /subagent <id-субагента> <промпт>" };
|
|
392603
392812
|
const telemetry = { "title": "Информация о телеметрии", "message": "Чтобы помочь нам улучшить AiderDesk, собирается анонимная телеметрия. Она включает информацию об использовании режимов (агент, код, вопрос...) и некоторые подробности при использовании режима Agent. Никакие личные данные или запросы не собираются.", "fullInfo": "Полная информация о том, что собирается, доступна <a>здесь</a>.", "enabledLabel": "Включить анонимную телеметрию" };
|
|
392604
392813
|
const multiselect = { "noneSelected": "Ничего не выбрано", "allSelected": "Все выбраны", "someSelected": "{{count}} выбрано", "selectAll": "Выбрать все" };
|
|
392605
392814
|
const usageDashboard = { "title": "Панель использования", "refresh": "Обновить", "projects": "Проекты", "models": "Модели", "dateRange": "Диапазон дат", "total": "Итого", "thisMonth": "Этот месяц", "today": "Сегодня", "all": "Все", "groupBy": "Группировка", "periods": { "hour": "Час", "day": "День", "month": "Месяц", "year": "Год" }, "tabs": { "table": "Таблица", "charts": "Графики" }, "charts": { "tokenUsageTrend": "Динамика использования токенов", "costBreakdown": "Детализация затрат", "messageBreakdown": "Детализация сообщений", "modelUsageDistribution": "Распределение использования моделей", "inputTokens": "Входные токены", "outputTokens": "Выходные токены", "noData": "Нет данных за выбранный период", "tokens": "Токены", "cost": "Стоимость", "share": "Доля", "moreItems": "+{{count}} ещё" }, "error": { "fetch": "Не удалось получить данные об использовании." }, "table": { "date": "Дата", "project": "Проект", "model": "Модель", "input": "Ввод", "output": "Вывод", "cacheRead": "Чтение кэша", "cacheWrite": "Запись в кэш", "totalTokens": "Всего токенов", "cost": "Стоимость" } };
|
|
@@ -392646,6 +392855,7 @@ const ru = {
|
|
|
392646
392855
|
synthetic,
|
|
392647
392856
|
zaiPlan,
|
|
392648
392857
|
azure,
|
|
392858
|
+
clinepass,
|
|
392649
392859
|
providers,
|
|
392650
392860
|
select,
|
|
392651
392861
|
settings,
|
|
@@ -392940,7 +393150,7 @@ function _temp2$1() {
|
|
|
392940
393150
|
function _temp3$1(state2) {
|
|
392941
393151
|
return state2.theme;
|
|
392942
393152
|
}
|
|
392943
|
-
const Onboarding = reactExports.lazy(() => __vitePreload(() => import("./Onboarding-
|
|
393153
|
+
const Onboarding = reactExports.lazy(() => __vitePreload(() => import("./Onboarding-xrPWRnXm.js"), true ? __vite__mapDeps([157,153,154,156]) : void 0, import.meta.url).then((module2) => ({
|
|
392944
393154
|
default: module2.Onboarding
|
|
392945
393155
|
})));
|
|
392946
393156
|
const ICON_CONTEXT_DEFAULT_VALUE = {};
|
|
@@ -393509,7 +393719,7 @@ export {
|
|
|
393509
393719
|
DEFAULT_HOTKEY_CONFIG as cy,
|
|
393510
393720
|
ModelSelectorWrapper as cz,
|
|
393511
393721
|
cursorLineBoundaryBackward as d,
|
|
393512
|
-
|
|
393722
|
+
MEMORY_TOOL_LIST as d$,
|
|
393513
393723
|
FaMicrophone as d0,
|
|
393514
393724
|
FaKeyboard as d1,
|
|
393515
393725
|
FaPuzzlePiece as d2,
|
|
@@ -393526,27 +393736,27 @@ export {
|
|
|
393526
393736
|
HiEye as dD,
|
|
393527
393737
|
Trans as dE,
|
|
393528
393738
|
SUPPORTED_LANGUAGES as dF,
|
|
393529
|
-
|
|
393530
|
-
|
|
393531
|
-
|
|
393532
|
-
|
|
393533
|
-
|
|
393534
|
-
|
|
393535
|
-
|
|
393536
|
-
|
|
393537
|
-
|
|
393538
|
-
|
|
393539
|
-
|
|
393540
|
-
|
|
393541
|
-
|
|
393542
|
-
|
|
393543
|
-
|
|
393544
|
-
|
|
393545
|
-
|
|
393546
|
-
|
|
393547
|
-
|
|
393548
|
-
|
|
393549
|
-
|
|
393739
|
+
MdInfoOutline as dG,
|
|
393740
|
+
useClickOutside as dH,
|
|
393741
|
+
FaEllipsisVertical as dI,
|
|
393742
|
+
BiCut as dJ,
|
|
393743
|
+
BiTrash as dK,
|
|
393744
|
+
useSortable as dL,
|
|
393745
|
+
CSS$1 as dM,
|
|
393746
|
+
TOOL_GROUP_NAME_SEPARATOR as dN,
|
|
393747
|
+
ToolApprovalState as dO,
|
|
393748
|
+
extractIpcErrorMessage as dP,
|
|
393749
|
+
FaPencilAlt as dQ,
|
|
393750
|
+
POWER_TOOL_GROUP_NAME as dR,
|
|
393751
|
+
POWER_TOOL_BASH as dS,
|
|
393752
|
+
AIDER_TOOL_GROUP_NAME as dT,
|
|
393753
|
+
TODO_TOOL_GROUP_NAME as dU,
|
|
393754
|
+
TASKS_TOOL_GROUP_NAME as dV,
|
|
393755
|
+
MEMORY_TOOL_GROUP_NAME as dW,
|
|
393756
|
+
SKILLS_TOOL_GROUP_NAME as dX,
|
|
393757
|
+
MEMORY_TOOL_DESCRIPTIONS as dY,
|
|
393758
|
+
MEMORY_TOOL_STORE as dZ,
|
|
393759
|
+
MEMORY_TOOL_RETRIEVE as d_,
|
|
393550
393760
|
define as da,
|
|
393551
393761
|
extend$1 as db,
|
|
393552
393762
|
Color as dc,
|
|
@@ -393573,133 +393783,124 @@ export {
|
|
|
393573
393783
|
color as dy,
|
|
393574
393784
|
interpolateRgb as dz,
|
|
393575
393785
|
cursorLineBoundaryForward as e,
|
|
393576
|
-
|
|
393577
|
-
|
|
393578
|
-
|
|
393579
|
-
|
|
393580
|
-
|
|
393581
|
-
|
|
393582
|
-
|
|
393583
|
-
|
|
393584
|
-
|
|
393585
|
-
|
|
393586
|
-
|
|
393587
|
-
|
|
393588
|
-
|
|
393589
|
-
|
|
393590
|
-
|
|
393591
|
-
|
|
393592
|
-
|
|
393593
|
-
|
|
393594
|
-
|
|
393595
|
-
|
|
393596
|
-
|
|
393597
|
-
|
|
393598
|
-
|
|
393599
|
-
|
|
393600
|
-
|
|
393601
|
-
|
|
393602
|
-
|
|
393603
|
-
|
|
393604
|
-
|
|
393605
|
-
|
|
393606
|
-
|
|
393607
|
-
|
|
393608
|
-
|
|
393609
|
-
|
|
393610
|
-
|
|
393611
|
-
|
|
393612
|
-
|
|
393613
|
-
|
|
393614
|
-
|
|
393615
|
-
|
|
393616
|
-
|
|
393617
|
-
|
|
393618
|
-
|
|
393619
|
-
|
|
393620
|
-
|
|
393621
|
-
|
|
393622
|
-
|
|
393623
|
-
|
|
393624
|
-
|
|
393625
|
-
|
|
393626
|
-
|
|
393627
|
-
|
|
393628
|
-
|
|
393629
|
-
|
|
393630
|
-
|
|
393631
|
-
|
|
393632
|
-
|
|
393633
|
-
|
|
393634
|
-
|
|
393635
|
-
|
|
393636
|
-
|
|
393637
|
-
|
|
393638
|
-
|
|
393639
|
-
|
|
393786
|
+
isBuffer$1 as e$,
|
|
393787
|
+
MEMORY_TOOL_UPDATE as e0,
|
|
393788
|
+
MEMORY_TOOL_DELETE as e1,
|
|
393789
|
+
TASKS_TOOL_DESCRIPTIONS as e2,
|
|
393790
|
+
TASKS_TOOL_LIST_TASKS as e3,
|
|
393791
|
+
TASKS_TOOL_GET_TASK as e4,
|
|
393792
|
+
TASKS_TOOL_GET_TASK_MESSAGE as e5,
|
|
393793
|
+
TASKS_TOOL_CREATE_TASK as e6,
|
|
393794
|
+
TASKS_TOOL_DELETE_TASK as e7,
|
|
393795
|
+
TASKS_TOOL_SEARCH_TASK as e8,
|
|
393796
|
+
TODO_TOOL_DESCRIPTIONS as e9,
|
|
393797
|
+
sortableKeyboardCoordinates as eA,
|
|
393798
|
+
KeyboardSensor as eB,
|
|
393799
|
+
PointerSensor as eC,
|
|
393800
|
+
DndContext as eD,
|
|
393801
|
+
closestCenter as eE,
|
|
393802
|
+
SortableContext as eF,
|
|
393803
|
+
verticalListSortingStrategy as eG,
|
|
393804
|
+
FaPaste as eH,
|
|
393805
|
+
BiReset as eI,
|
|
393806
|
+
ModelSelector as eJ,
|
|
393807
|
+
arrayMove as eK,
|
|
393808
|
+
isArray$2 as eL,
|
|
393809
|
+
isSymbol as eM,
|
|
393810
|
+
Symbol$1 as eN,
|
|
393811
|
+
getNative as eO,
|
|
393812
|
+
MapCache$1 as eP,
|
|
393813
|
+
isArguments$1 as eQ,
|
|
393814
|
+
arrayPush$1 as eR,
|
|
393815
|
+
Stack$1 as eS,
|
|
393816
|
+
baseIsEqual as eT,
|
|
393817
|
+
isObject$1 as eU,
|
|
393818
|
+
keys$2 as eV,
|
|
393819
|
+
isLength$1 as eW,
|
|
393820
|
+
isIndex as eX,
|
|
393821
|
+
isArrayLike$1 as eY,
|
|
393822
|
+
isObjectLike$1 as eZ,
|
|
393823
|
+
arrayFilter as e_,
|
|
393824
|
+
TODO_TOOL_SET_ITEMS as ea,
|
|
393825
|
+
TODO_TOOL_GET_ITEMS as eb,
|
|
393826
|
+
TODO_TOOL_UPDATE_ITEM_COMPLETION as ec,
|
|
393827
|
+
TODO_TOOL_CLEAR_ITEMS as ed,
|
|
393828
|
+
POWER_TOOL_DESCRIPTIONS as ee,
|
|
393829
|
+
POWER_TOOL_FILE_EDIT as ef,
|
|
393830
|
+
POWER_TOOL_FILE_READ as eg,
|
|
393831
|
+
POWER_TOOL_FILE_WRITE as eh,
|
|
393832
|
+
POWER_TOOL_GLOB as ei,
|
|
393833
|
+
POWER_TOOL_GREP as ej,
|
|
393834
|
+
POWER_TOOL_SEMANTIC_SEARCH as ek,
|
|
393835
|
+
POWER_TOOL_FETCH as el,
|
|
393836
|
+
AIDER_TOOL_DESCRIPTIONS as em,
|
|
393837
|
+
AIDER_TOOL_GET_CONTEXT_FILES as en,
|
|
393838
|
+
AIDER_TOOL_ADD_CONTEXT_FILES as eo,
|
|
393839
|
+
AIDER_TOOL_DROP_CONTEXT_FILES as ep,
|
|
393840
|
+
AIDER_TOOL_RUN_PROMPT as eq,
|
|
393841
|
+
_extends as er,
|
|
393842
|
+
React as es,
|
|
393843
|
+
_objectWithoutPropertiesLoose as et,
|
|
393844
|
+
InvocationMode as eu,
|
|
393845
|
+
ContextMemoryMode as ev,
|
|
393846
|
+
DEFAULT_AGENT_PROFILE as ew,
|
|
393847
|
+
DEFAULT_AGENT_PROFILES as ex,
|
|
393848
|
+
useSensors as ey,
|
|
393849
|
+
useSensor as ez,
|
|
393640
393850
|
foldCode as f,
|
|
393641
|
-
|
|
393642
|
-
|
|
393643
|
-
|
|
393644
|
-
|
|
393645
|
-
|
|
393646
|
-
|
|
393647
|
-
|
|
393648
|
-
|
|
393649
|
-
|
|
393650
|
-
|
|
393651
|
-
|
|
393652
|
-
|
|
393653
|
-
|
|
393654
|
-
|
|
393655
|
-
|
|
393656
|
-
|
|
393657
|
-
|
|
393658
|
-
|
|
393659
|
-
|
|
393660
|
-
|
|
393661
|
-
|
|
393662
|
-
|
|
393663
|
-
|
|
393664
|
-
|
|
393665
|
-
|
|
393666
|
-
|
|
393667
|
-
|
|
393668
|
-
|
|
393669
|
-
|
|
393670
|
-
|
|
393671
|
-
|
|
393672
|
-
|
|
393673
|
-
|
|
393674
|
-
|
|
393675
|
-
|
|
393676
|
-
|
|
393677
|
-
|
|
393678
|
-
|
|
393679
|
-
|
|
393680
|
-
|
|
393681
|
-
|
|
393682
|
-
|
|
393683
|
-
|
|
393684
|
-
|
|
393685
|
-
|
|
393686
|
-
|
|
393687
|
-
|
|
393688
|
-
|
|
393689
|
-
|
|
393690
|
-
|
|
393691
|
-
|
|
393692
|
-
|
|
393693
|
-
|
|
393694
|
-
eq as fr,
|
|
393695
|
-
arrayLikeKeys as fs,
|
|
393696
|
-
overArg as ft,
|
|
393697
|
-
baseGetTag as fu,
|
|
393698
|
-
root$5 as fv,
|
|
393699
|
-
getSymbols$1 as fw,
|
|
393700
|
-
stubArray as fx,
|
|
393701
|
-
baseGetAllKeys as fy,
|
|
393702
|
-
Uint8Array$1 as fz,
|
|
393851
|
+
isTypedArray$2 as f0,
|
|
393852
|
+
getTag$2 as f1,
|
|
393853
|
+
isPrototype$1 as f2,
|
|
393854
|
+
baseKeys as f3,
|
|
393855
|
+
Set$1 as f4,
|
|
393856
|
+
setToArray as f5,
|
|
393857
|
+
SetCache$1 as f6,
|
|
393858
|
+
cacheHas as f7,
|
|
393859
|
+
isFunction$2 as f8,
|
|
393860
|
+
FiArrowLeft as f9,
|
|
393861
|
+
stepBefore as fA,
|
|
393862
|
+
stepAfter as fB,
|
|
393863
|
+
curveStep as fC,
|
|
393864
|
+
curveNatural as fD,
|
|
393865
|
+
monotoneY as fE,
|
|
393866
|
+
monotoneX as fF,
|
|
393867
|
+
curveLinearClosed as fG,
|
|
393868
|
+
bumpY as fH,
|
|
393869
|
+
bumpX as fI,
|
|
393870
|
+
curveBasisOpen as fJ,
|
|
393871
|
+
curveBasisClosed as fK,
|
|
393872
|
+
DatePicker as fL,
|
|
393873
|
+
MultiSelect as fM,
|
|
393874
|
+
FaTable as fN,
|
|
393875
|
+
FaChartBar as fO,
|
|
393876
|
+
CgSpinner as fP,
|
|
393877
|
+
__vitePreload as fQ,
|
|
393878
|
+
AVAILABLE_PROVIDERS as fa,
|
|
393879
|
+
FaExternalLinkAlt as fb,
|
|
393880
|
+
FaCheck as fc,
|
|
393881
|
+
useResponsive as fd,
|
|
393882
|
+
FiMic as fe,
|
|
393883
|
+
FiCpu as ff,
|
|
393884
|
+
FaExclamationCircle as fg,
|
|
393885
|
+
toNumber as fh,
|
|
393886
|
+
eq as fi,
|
|
393887
|
+
arrayLikeKeys as fj,
|
|
393888
|
+
overArg as fk,
|
|
393889
|
+
baseGetTag as fl,
|
|
393890
|
+
root$5 as fm,
|
|
393891
|
+
getSymbols$1 as fn,
|
|
393892
|
+
stubArray as fo,
|
|
393893
|
+
baseGetAllKeys as fp,
|
|
393894
|
+
Uint8Array$1 as fq,
|
|
393895
|
+
baseUnary as fr,
|
|
393896
|
+
nodeUtil as fs,
|
|
393897
|
+
getAllKeys as ft,
|
|
393898
|
+
curveLinear as fu,
|
|
393899
|
+
x$3 as fv,
|
|
393900
|
+
y$5 as fw,
|
|
393901
|
+
commonjsGlobal$1 as fx,
|
|
393902
|
+
withSelectorExports$1 as fy,
|
|
393903
|
+
reactDomExports as fz,
|
|
393703
393904
|
cursorCharBackward as g,
|
|
393704
393905
|
EditorView as h,
|
|
393705
393906
|
indentMore as i,
|