@dudko.dev/agent-web-ui 0.0.0 → 0.0.2
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/LICENSE +21 -0
- package/README.md +316 -5
- package/dist/canvas.cjs +266 -0
- package/dist/canvas.cjs.map +1 -0
- package/dist/canvas.d.cts +105 -0
- package/dist/canvas.d.ts +105 -0
- package/dist/canvas.js +200 -0
- package/dist/canvas.js.map +1 -0
- package/dist/chunk-7O64ZI6Z.js +125 -0
- package/dist/chunk-7O64ZI6Z.js.map +1 -0
- package/dist/chunk-EL2YCROY.js +127 -0
- package/dist/chunk-EL2YCROY.js.map +1 -0
- package/dist/chunk-GB7RZJMG.js +98 -0
- package/dist/chunk-GB7RZJMG.js.map +1 -0
- package/dist/chunk-KZQB35LS.js +22 -0
- package/dist/chunk-KZQB35LS.js.map +1 -0
- package/dist/chunk-SVYHDLAZ.js +348 -0
- package/dist/chunk-SVYHDLAZ.js.map +1 -0
- package/dist/chunk-VCR7LU7J.js +348 -0
- package/dist/chunk-VCR7LU7J.js.map +1 -0
- package/dist/chunk-WFM6B7CL.js +406 -0
- package/dist/chunk-WFM6B7CL.js.map +1 -0
- package/dist/chunk-WZ7K7JIP.js +348 -0
- package/dist/chunk-WZ7K7JIP.js.map +1 -0
- package/dist/chunk-ZBHESK6V.js +1440 -0
- package/dist/chunk-ZBHESK6V.js.map +1 -0
- package/dist/controller.cjs +1891 -0
- package/dist/controller.cjs.map +1 -0
- package/dist/controller.d.cts +253 -0
- package/dist/controller.d.ts +253 -0
- package/dist/controller.js +482 -0
- package/dist/controller.js.map +1 -0
- package/dist/en-Dg2MtzcJ.d.cts +348 -0
- package/dist/en-Dg2MtzcJ.d.ts +348 -0
- package/dist/index.cjs +4276 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +997 -0
- package/dist/index.d.ts +997 -0
- package/dist/index.js +2494 -0
- package/dist/index.js.map +1 -0
- package/dist/labels-B5xpIGf_.d.cts +25 -0
- package/dist/labels-B5xpIGf_.d.ts +25 -0
- package/dist/labels-CmiTBLWD.d.cts +1176 -0
- package/dist/labels-DH1ESUtm.d.ts +1176 -0
- package/dist/locales/be.cjs +806 -0
- package/dist/locales/be.cjs.map +1 -0
- package/dist/locales/be.d.cts +16 -0
- package/dist/locales/be.d.ts +16 -0
- package/dist/locales/be.js +380 -0
- package/dist/locales/be.js.map +1 -0
- package/dist/locales/bg.cjs +759 -0
- package/dist/locales/bg.cjs.map +1 -0
- package/dist/locales/bg.d.cts +16 -0
- package/dist/locales/bg.d.ts +16 -0
- package/dist/locales/bg.js +333 -0
- package/dist/locales/bg.js.map +1 -0
- package/dist/locales/ca.cjs +785 -0
- package/dist/locales/ca.cjs.map +1 -0
- package/dist/locales/ca.d.cts +16 -0
- package/dist/locales/ca.d.ts +16 -0
- package/dist/locales/ca.js +359 -0
- package/dist/locales/ca.js.map +1 -0
- package/dist/locales/cs.cjs +806 -0
- package/dist/locales/cs.cjs.map +1 -0
- package/dist/locales/cs.d.cts +16 -0
- package/dist/locales/cs.d.ts +16 -0
- package/dist/locales/cs.js +380 -0
- package/dist/locales/cs.js.map +1 -0
- package/dist/locales/da.cjs +759 -0
- package/dist/locales/da.cjs.map +1 -0
- package/dist/locales/da.d.cts +16 -0
- package/dist/locales/da.d.ts +16 -0
- package/dist/locales/da.js +333 -0
- package/dist/locales/da.js.map +1 -0
- package/dist/locales/de.cjs +768 -0
- package/dist/locales/de.cjs.map +1 -0
- package/dist/locales/de.d.cts +16 -0
- package/dist/locales/de.d.ts +16 -0
- package/dist/locales/de.js +342 -0
- package/dist/locales/de.js.map +1 -0
- package/dist/locales/el.cjs +768 -0
- package/dist/locales/el.cjs.map +1 -0
- package/dist/locales/el.d.cts +16 -0
- package/dist/locales/el.d.ts +16 -0
- package/dist/locales/el.js +342 -0
- package/dist/locales/el.js.map +1 -0
- package/dist/locales/en.cjs +765 -0
- package/dist/locales/en.cjs.map +1 -0
- package/dist/locales/en.d.cts +12 -0
- package/dist/locales/en.d.ts +12 -0
- package/dist/locales/en.js +339 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/es-419.cjs +793 -0
- package/dist/locales/es-419.cjs.map +1 -0
- package/dist/locales/es-419.d.cts +18 -0
- package/dist/locales/es-419.d.ts +18 -0
- package/dist/locales/es-419.js +26 -0
- package/dist/locales/es-419.js.map +1 -0
- package/dist/locales/es.cjs +781 -0
- package/dist/locales/es.cjs.map +1 -0
- package/dist/locales/es.d.cts +16 -0
- package/dist/locales/es.d.ts +16 -0
- package/dist/locales/es.js +14 -0
- package/dist/locales/es.js.map +1 -0
- package/dist/locales/fi.cjs +765 -0
- package/dist/locales/fi.cjs.map +1 -0
- package/dist/locales/fi.d.cts +16 -0
- package/dist/locales/fi.d.ts +16 -0
- package/dist/locales/fi.js +339 -0
- package/dist/locales/fi.js.map +1 -0
- package/dist/locales/fr-CA.cjs +789 -0
- package/dist/locales/fr-CA.cjs.map +1 -0
- package/dist/locales/fr-CA.d.cts +19 -0
- package/dist/locales/fr-CA.d.ts +19 -0
- package/dist/locales/fr-CA.js +22 -0
- package/dist/locales/fr-CA.js.map +1 -0
- package/dist/locales/fr.cjs +781 -0
- package/dist/locales/fr.cjs.map +1 -0
- package/dist/locales/fr.d.cts +16 -0
- package/dist/locales/fr.d.ts +16 -0
- package/dist/locales/fr.js +14 -0
- package/dist/locales/fr.js.map +1 -0
- package/dist/locales/gn.cjs +762 -0
- package/dist/locales/gn.cjs.map +1 -0
- package/dist/locales/gn.d.cts +18 -0
- package/dist/locales/gn.d.ts +18 -0
- package/dist/locales/gn.js +336 -0
- package/dist/locales/gn.js.map +1 -0
- package/dist/locales/hr.cjs +781 -0
- package/dist/locales/hr.cjs.map +1 -0
- package/dist/locales/hr.d.cts +16 -0
- package/dist/locales/hr.d.ts +16 -0
- package/dist/locales/hr.js +355 -0
- package/dist/locales/hr.js.map +1 -0
- package/dist/locales/ht.cjs +762 -0
- package/dist/locales/ht.cjs.map +1 -0
- package/dist/locales/ht.d.cts +18 -0
- package/dist/locales/ht.d.ts +18 -0
- package/dist/locales/ht.js +336 -0
- package/dist/locales/ht.js.map +1 -0
- package/dist/locales/hu.cjs +765 -0
- package/dist/locales/hu.cjs.map +1 -0
- package/dist/locales/hu.d.cts +16 -0
- package/dist/locales/hu.d.ts +16 -0
- package/dist/locales/hu.js +339 -0
- package/dist/locales/hu.js.map +1 -0
- package/dist/locales/index.cjs +543 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.cts +40 -0
- package/dist/locales/index.d.ts +40 -0
- package/dist/locales/index.js +105 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/it.cjs +789 -0
- package/dist/locales/it.cjs.map +1 -0
- package/dist/locales/it.d.cts +16 -0
- package/dist/locales/it.d.ts +16 -0
- package/dist/locales/it.js +363 -0
- package/dist/locales/it.js.map +1 -0
- package/dist/locales/nb.cjs +759 -0
- package/dist/locales/nb.cjs.map +1 -0
- package/dist/locales/nb.d.cts +16 -0
- package/dist/locales/nb.d.ts +16 -0
- package/dist/locales/nb.js +333 -0
- package/dist/locales/nb.js.map +1 -0
- package/dist/locales/nl.cjs +765 -0
- package/dist/locales/nl.cjs.map +1 -0
- package/dist/locales/nl.d.cts +16 -0
- package/dist/locales/nl.d.ts +16 -0
- package/dist/locales/nl.js +339 -0
- package/dist/locales/nl.js.map +1 -0
- package/dist/locales/pl.cjs +806 -0
- package/dist/locales/pl.cjs.map +1 -0
- package/dist/locales/pl.d.cts +16 -0
- package/dist/locales/pl.d.ts +16 -0
- package/dist/locales/pl.js +380 -0
- package/dist/locales/pl.js.map +1 -0
- package/dist/locales/pt-BR.cjs +785 -0
- package/dist/locales/pt-BR.cjs.map +1 -0
- package/dist/locales/pt-BR.d.cts +16 -0
- package/dist/locales/pt-BR.d.ts +16 -0
- package/dist/locales/pt-BR.js +359 -0
- package/dist/locales/pt-BR.js.map +1 -0
- package/dist/locales/pt.cjs +789 -0
- package/dist/locales/pt.cjs.map +1 -0
- package/dist/locales/pt.d.cts +16 -0
- package/dist/locales/pt.d.ts +16 -0
- package/dist/locales/pt.js +363 -0
- package/dist/locales/pt.js.map +1 -0
- package/dist/locales/qu.cjs +768 -0
- package/dist/locales/qu.cjs.map +1 -0
- package/dist/locales/qu.d.cts +18 -0
- package/dist/locales/qu.d.ts +18 -0
- package/dist/locales/qu.js +342 -0
- package/dist/locales/qu.js.map +1 -0
- package/dist/locales/ro.cjs +781 -0
- package/dist/locales/ro.cjs.map +1 -0
- package/dist/locales/ro.d.cts +16 -0
- package/dist/locales/ro.d.ts +16 -0
- package/dist/locales/ro.js +355 -0
- package/dist/locales/ro.js.map +1 -0
- package/dist/locales/ru.cjs +801 -0
- package/dist/locales/ru.cjs.map +1 -0
- package/dist/locales/ru.d.cts +16 -0
- package/dist/locales/ru.d.ts +16 -0
- package/dist/locales/ru.js +375 -0
- package/dist/locales/ru.js.map +1 -0
- package/dist/locales/sk.cjs +806 -0
- package/dist/locales/sk.cjs.map +1 -0
- package/dist/locales/sk.d.cts +16 -0
- package/dist/locales/sk.d.ts +16 -0
- package/dist/locales/sk.js +380 -0
- package/dist/locales/sk.js.map +1 -0
- package/dist/locales/sq.cjs +765 -0
- package/dist/locales/sq.cjs.map +1 -0
- package/dist/locales/sq.d.cts +16 -0
- package/dist/locales/sq.d.ts +16 -0
- package/dist/locales/sq.js +339 -0
- package/dist/locales/sq.js.map +1 -0
- package/dist/locales/sr-Latn.cjs +853 -0
- package/dist/locales/sr-Latn.cjs.map +1 -0
- package/dist/locales/sr-Latn.d.cts +19 -0
- package/dist/locales/sr-Latn.d.ts +19 -0
- package/dist/locales/sr-Latn.js +86 -0
- package/dist/locales/sr-Latn.js.map +1 -0
- package/dist/locales/sr.cjs +781 -0
- package/dist/locales/sr.cjs.map +1 -0
- package/dist/locales/sr.d.cts +16 -0
- package/dist/locales/sr.d.ts +16 -0
- package/dist/locales/sr.js +14 -0
- package/dist/locales/sr.js.map +1 -0
- package/dist/locales/sv.cjs +765 -0
- package/dist/locales/sv.cjs.map +1 -0
- package/dist/locales/sv.d.cts +16 -0
- package/dist/locales/sv.d.ts +16 -0
- package/dist/locales/sv.js +339 -0
- package/dist/locales/sv.js.map +1 -0
- package/dist/locales/tr.cjs +762 -0
- package/dist/locales/tr.cjs.map +1 -0
- package/dist/locales/tr.d.cts +16 -0
- package/dist/locales/tr.d.ts +16 -0
- package/dist/locales/tr.js +336 -0
- package/dist/locales/tr.js.map +1 -0
- package/dist/locales/uk.cjs +806 -0
- package/dist/locales/uk.cjs.map +1 -0
- package/dist/locales/uk.d.cts +16 -0
- package/dist/locales/uk.d.ts +16 -0
- package/dist/locales/uk.js +380 -0
- package/dist/locales/uk.js.map +1 -0
- package/dist/markdown.cjs +620 -0
- package/dist/markdown.cjs.map +1 -0
- package/dist/markdown.d.cts +153 -0
- package/dist/markdown.d.ts +153 -0
- package/dist/markdown.js +573 -0
- package/dist/markdown.js.map +1 -0
- package/dist/mcp-app-policy-DXKQ2jjM.d.cts +73 -0
- package/dist/mcp-app-policy-DXKQ2jjM.d.ts +73 -0
- package/dist/mcp-app-sandbox.cjs +323 -0
- package/dist/mcp-app-sandbox.cjs.map +1 -0
- package/dist/mcp-app-sandbox.d.cts +70 -0
- package/dist/mcp-app-sandbox.d.ts +70 -0
- package/dist/mcp-app-sandbox.js +209 -0
- package/dist/mcp-app-sandbox.js.map +1 -0
- package/dist/mcp-app.cjs +980 -0
- package/dist/mcp-app.cjs.map +1 -0
- package/dist/mcp-app.d.cts +491 -0
- package/dist/mcp-app.d.ts +491 -0
- package/dist/mcp-app.js +816 -0
- package/dist/mcp-app.js.map +1 -0
- package/dist/pipeline.cjs +845 -0
- package/dist/pipeline.cjs.map +1 -0
- package/dist/pipeline.css +1407 -0
- package/dist/pipeline.d.cts +348 -0
- package/dist/pipeline.d.ts +348 -0
- package/dist/pipeline.js +778 -0
- package/dist/pipeline.js.map +1 -0
- package/dist/questions-Dw--IEjT.d.cts +100 -0
- package/dist/questions-Dw--IEjT.d.ts +100 -0
- package/dist/styles.css +4109 -0
- package/dist/types-CQquuZpl.d.cts +19 -0
- package/dist/types-CXZfZVP5.d.ts +19 -0
- package/dist/types-DnBCok3z.d.cts +994 -0
- package/dist/types-DnBCok3z.d.ts +994 -0
- package/package.json +165 -8
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/locales/index.ts
|
|
31
|
+
var locales_exports = {};
|
|
32
|
+
__export(locales_exports, {
|
|
33
|
+
AGENT_LABEL_LOCALES: () => AGENT_LABEL_LOCALES,
|
|
34
|
+
agentLabelLocaleOf: () => agentLabelLocaleOf,
|
|
35
|
+
labelsFromCatalog: () => labelsFromCatalog,
|
|
36
|
+
loadAgentLabels: () => loadAgentLabels
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(locales_exports);
|
|
39
|
+
|
|
40
|
+
// src/locales/build.ts
|
|
41
|
+
var PLACEHOLDER = /\{(\w+)\}/g;
|
|
42
|
+
var pluralForm = (entry, count, rules) => {
|
|
43
|
+
if (typeof entry === "string") return entry;
|
|
44
|
+
const category = rules.select(count);
|
|
45
|
+
return entry[category] ?? entry.other;
|
|
46
|
+
};
|
|
47
|
+
var translatorOf = (tag, catalog) => {
|
|
48
|
+
const rules = new Intl.PluralRules(tag);
|
|
49
|
+
return (key, params) => {
|
|
50
|
+
const entry = catalog[key];
|
|
51
|
+
if (entry === void 0) throw new Error(`The ${tag} catalog has no "${key}"`);
|
|
52
|
+
const text = pluralForm(entry, Number(params?.count ?? 0), rules);
|
|
53
|
+
if (!params) return text;
|
|
54
|
+
return text.replace(PLACEHOLDER, (whole, name) => {
|
|
55
|
+
const value = params[name];
|
|
56
|
+
if (value === void 0) return whole;
|
|
57
|
+
return typeof value === "number" ? new Intl.NumberFormat(tag).format(value) : value;
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
var formatTokens = (tag, tokens) => new Intl.NumberFormat(tag, { notation: "compact", maximumFractionDigits: 1 }).format(tokens);
|
|
62
|
+
var formatBytes = (tag, bytes) => {
|
|
63
|
+
const [value, unit] = bytes < 1024 ? [bytes, "byte"] : bytes < 1024 * 1024 ? [bytes / 1024, "kilobyte"] : [bytes / 1024 / 1024, "megabyte"];
|
|
64
|
+
return new Intl.NumberFormat(tag, {
|
|
65
|
+
style: "unit",
|
|
66
|
+
unit,
|
|
67
|
+
// Bytes in full: the short form is "25 byte" in English (and "byte" in Japanese) - the long
|
|
68
|
+
// one is "25 bytes", "25 байт", "25 バイト". kB and MB stay short.
|
|
69
|
+
unitDisplay: unit === "byte" ? "long" : "short",
|
|
70
|
+
maximumFractionDigits: unit === "megabyte" ? 1 : 0
|
|
71
|
+
}).format(value);
|
|
72
|
+
};
|
|
73
|
+
var labelsFromCatalog = (tag, catalog) => {
|
|
74
|
+
const t = translatorOf(tag, catalog);
|
|
75
|
+
return {
|
|
76
|
+
status: {
|
|
77
|
+
idle: t("status.idle"),
|
|
78
|
+
initializing: t("status.initializing"),
|
|
79
|
+
ready: t("status.ready"),
|
|
80
|
+
running: t("status.running"),
|
|
81
|
+
error: t("status.error")
|
|
82
|
+
},
|
|
83
|
+
history: t("history"),
|
|
84
|
+
newChat: t("newChat"),
|
|
85
|
+
totalUsage: t("totalUsage"),
|
|
86
|
+
showHistory: t("showHistory"),
|
|
87
|
+
close: t("close"),
|
|
88
|
+
steps: (count) => t("steps", { count }),
|
|
89
|
+
toolCalls: (count) => t("toolCalls", { count }),
|
|
90
|
+
answerThoughts: t("answerThoughts"),
|
|
91
|
+
answerStopped: t("answerStopped"),
|
|
92
|
+
stepThoughts: t("stepThoughts"),
|
|
93
|
+
usageTitle: t("usageTitle"),
|
|
94
|
+
planned: t("planned"),
|
|
95
|
+
replanned: (_mode, reason) => t("replanned", { reason }),
|
|
96
|
+
placeholder: t("placeholder"),
|
|
97
|
+
placeholderBusy: t("placeholderBusy"),
|
|
98
|
+
message: t("message"),
|
|
99
|
+
commands: t("commands"),
|
|
100
|
+
commandsTitle: t("commandsTitle"),
|
|
101
|
+
send: t("send"),
|
|
102
|
+
steer: t("steer"),
|
|
103
|
+
stop: t("stop"),
|
|
104
|
+
dismiss: t("dismiss"),
|
|
105
|
+
// Voice (Settings: Voice): the mic, voice messages, the transcript, read aloud.
|
|
106
|
+
dictate: t("dictate"),
|
|
107
|
+
dictateTitle: t("dictateTitle"),
|
|
108
|
+
stopDictation: t("stopDictation"),
|
|
109
|
+
micListening: t("micListening"),
|
|
110
|
+
listening: t("listening"),
|
|
111
|
+
transcribing: t("transcribing"),
|
|
112
|
+
micDenied: t("micDenied"),
|
|
113
|
+
micMissing: t("micMissing"),
|
|
114
|
+
micBusy: t("micBusy"),
|
|
115
|
+
micUnsupported: t("micUnsupported"),
|
|
116
|
+
dictationFailed: t("dictationFailed"),
|
|
117
|
+
recordVoiceMessage: t("recordVoiceMessage"),
|
|
118
|
+
voiceMessage: t("voiceMessage"),
|
|
119
|
+
recording: (elapsed) => t("recording", { elapsed }),
|
|
120
|
+
recordingDone: t("recordingDone"),
|
|
121
|
+
recordingCancel: t("recordingCancel"),
|
|
122
|
+
recordingLimit: t("recordingLimit"),
|
|
123
|
+
audioAttachment: (name) => t("audioAttachment", { name }),
|
|
124
|
+
transcriptOf: (name) => t("transcriptOf", { name }),
|
|
125
|
+
transcriptNote: t("transcriptNote"),
|
|
126
|
+
readAloud: t("readAloud"),
|
|
127
|
+
readAloudPause: t("readAloudPause"),
|
|
128
|
+
readAloudResume: t("readAloudResume"),
|
|
129
|
+
readAloudStop: t("readAloudStop"),
|
|
130
|
+
readAloudLoading: t("readAloudLoading"),
|
|
131
|
+
readAloudCode: t("readAloudCode"),
|
|
132
|
+
readAloudFailed: t("readAloudFailed"),
|
|
133
|
+
model: t("model"),
|
|
134
|
+
toolConsent: t("toolConsent"),
|
|
135
|
+
modes: {
|
|
136
|
+
autopilot: { label: t("mode.autopilot"), hint: t("mode.autopilotHint") },
|
|
137
|
+
"ask-writes": { label: t("mode.askWrites"), hint: t("mode.askWritesHint") },
|
|
138
|
+
"ask-all": { label: t("mode.askAll"), hint: t("mode.askAllHint") },
|
|
139
|
+
"read-only": { label: t("mode.readOnly"), hint: t("mode.readOnlyHint") }
|
|
140
|
+
},
|
|
141
|
+
timerRunning: t("timerRunning"),
|
|
142
|
+
timerLast: t("timerLast"),
|
|
143
|
+
notices: {
|
|
144
|
+
compacted: (_scope, before, after) => t("compacted", {
|
|
145
|
+
before: formatTokens(tag, before),
|
|
146
|
+
after: formatTokens(tag, after)
|
|
147
|
+
})
|
|
148
|
+
},
|
|
149
|
+
commandGroups: { commands: t("group.commands"), consent: t("group.consent") },
|
|
150
|
+
commandDescriptions: {
|
|
151
|
+
compact: t("cmd.compact"),
|
|
152
|
+
new: t("cmd.new"),
|
|
153
|
+
stop: t("cmd.stop"),
|
|
154
|
+
autopilot: t("cmd.autopilot"),
|
|
155
|
+
ask: t("cmd.ask"),
|
|
156
|
+
askAll: t("cmd.askAll"),
|
|
157
|
+
readOnly: t("cmd.readOnly")
|
|
158
|
+
},
|
|
159
|
+
// ── a fact of the memory saved, changed or forgotten (the card in the answer) ──
|
|
160
|
+
memorySaved: t("memorySaved"),
|
|
161
|
+
memoryUpdated: t("memoryUpdated"),
|
|
162
|
+
memoryForgotten: t("memoryForgotten"),
|
|
163
|
+
memoryUndo: t("memoryUndo"),
|
|
164
|
+
memoryUndone: t("memoryUndone"),
|
|
165
|
+
historyEmpty: t("historyEmpty"),
|
|
166
|
+
deleteChat: t("deleteChat"),
|
|
167
|
+
messagesCount: (count) => t("messagesCount", { count }),
|
|
168
|
+
approvalLead: t("approvalLead"),
|
|
169
|
+
approve: t("approve"),
|
|
170
|
+
alwaysAllow: t("alwaysAllow"),
|
|
171
|
+
deny: t("deny"),
|
|
172
|
+
declinedReason: t("declinedReason"),
|
|
173
|
+
readOnlyTool: t("readOnlyTool"),
|
|
174
|
+
consentWaiting: t("consentWaiting"),
|
|
175
|
+
consentAllowed: t("consentAllowed"),
|
|
176
|
+
consentDenied: (reason) => reason ? t("consentDeniedReason", { reason }) : t("consentDenied"),
|
|
177
|
+
// ── an MCP server's question to the person (elicitation; forms only - URL mode is not
|
|
178
|
+
// declared, so its labels are not mounted). A helper cannot ask (the core's default).
|
|
179
|
+
elicitationTitle: t("elicitTitle"),
|
|
180
|
+
elicitationLead: (server) => t("elicitLead", { server }),
|
|
181
|
+
elicitationLeadHelper: (server) => t("elicitLead", { server }),
|
|
182
|
+
elicitationDuring: t("elicitDuring"),
|
|
183
|
+
elicitationCount: (index, total) => t("imageCount", { index, total }),
|
|
184
|
+
elicitationFrom: (server) => t("elicitFrom", { server }),
|
|
185
|
+
elicitationRequired: t("elicitRequired"),
|
|
186
|
+
elicitationChoose: t("elicitChoose"),
|
|
187
|
+
elicitationSubmit: t("elicitSubmit"),
|
|
188
|
+
elicitationDecline: t("elicitDecline"),
|
|
189
|
+
elicitationCancel: t("cancel"),
|
|
190
|
+
elicitationErrors: {
|
|
191
|
+
required: (field) => t("elicitErr.required", { field }),
|
|
192
|
+
tooShort: (field, limit) => t("elicitErr.tooShort", { field, limit: limit ?? "" }),
|
|
193
|
+
tooLong: (field, limit) => t("elicitErr.tooLong", { field, limit: limit ?? "" }),
|
|
194
|
+
email: (field) => t("elicitErr.email", { field }),
|
|
195
|
+
uri: (field) => t("elicitErr.uri", { field }),
|
|
196
|
+
date: (field) => t("elicitErr.date", { field }),
|
|
197
|
+
dateTime: (field) => t("elicitErr.dateTime", { field }),
|
|
198
|
+
notNumber: (field) => t("elicitErr.notNumber", { field }),
|
|
199
|
+
notInteger: (field) => t("elicitErr.notInteger", { field }),
|
|
200
|
+
belowMinimum: (field, limit) => t("elicitErr.belowMinimum", { field, limit: limit ?? "" }),
|
|
201
|
+
aboveMaximum: (field, limit) => t("elicitErr.aboveMaximum", { field, limit: limit ?? "" }),
|
|
202
|
+
notAnOption: (field) => t("elicitErr.notAnOption", { field }),
|
|
203
|
+
tooFew: (field, limit) => t("elicitErr.tooFew", { field, limit: limit ?? "" }),
|
|
204
|
+
tooMany: (field, limit) => t("elicitErr.tooMany", { field, limit: limit ?? "" })
|
|
205
|
+
},
|
|
206
|
+
elicitationFix: (count) => t("elicitFix", { count }),
|
|
207
|
+
elicitationExpiresIn: (time) => t("elicitExpiresIn", { time }),
|
|
208
|
+
elicitationExpires: t("elicitExpires"),
|
|
209
|
+
elicitationAutomatic: (server, reason) => t("elicitAutomatic", { server, reason }),
|
|
210
|
+
// What the person can act on: no answer in time, the run stopped, too many questions, a helper,
|
|
211
|
+
// an answer that did not fit - and the rest is "could not be shown here".
|
|
212
|
+
elicitationReasons: {
|
|
213
|
+
timeout: t("elicitReason.timeout"),
|
|
214
|
+
"step-timeout": t("elicitReason.timeout"),
|
|
215
|
+
aborted: t("elicitReason.stopped"),
|
|
216
|
+
stopped: t("elicitReason.stopped"),
|
|
217
|
+
"cap-per-call": t("elicitReason.caps"),
|
|
218
|
+
"cap-per-run": t("elicitReason.caps"),
|
|
219
|
+
"unsupported-schema": t("elicitReason.cannotShow"),
|
|
220
|
+
"unsupported-mode": t("elicitReason.cannotShow"),
|
|
221
|
+
"insecure-url": t("elicitReason.cannotShow"),
|
|
222
|
+
"invalid-request": t("elicitReason.cannotShow"),
|
|
223
|
+
subagent: t("elicitReason.subagent"),
|
|
224
|
+
"handler-error": t("elicitReason.cannotShow"),
|
|
225
|
+
"invalid-answer": t("elicitReason.invalidAnswer"),
|
|
226
|
+
"after-failure": t("elicitReason.cannotShow"),
|
|
227
|
+
"no-tool-call": t("elicitReason.cannotShow")
|
|
228
|
+
},
|
|
229
|
+
elicitationDismiss: t("dismiss"),
|
|
230
|
+
// ── an MCP server's skill before its text reaches the model (the consent card). The app sets
|
|
231
|
+
// neither `consent: 'ask'` nor `dynamic`: their sentences are not mounted.
|
|
232
|
+
skillConsentLead: (server, skill) => t("skillLead", { server, skill }),
|
|
233
|
+
skillConsentSize: (bytes, count) => count > 0 ? t("skillSizeFiles", { size: formatBytes(tag, bytes), count }) : t("skillSize", { size: formatBytes(tag, bytes) }),
|
|
234
|
+
skillConsentByUri: t("skillByUri"),
|
|
235
|
+
skillConsentNested: (enclosing) => t("skillNested", { enclosing }),
|
|
236
|
+
skillConsentPreview: t("skillPreview"),
|
|
237
|
+
skillConsentFiles: (paths, count) => count > 0 ? t("skillFilesMore", { paths, count }) : t("skillFiles", { paths }),
|
|
238
|
+
skillConsentNote: (server) => t("skillNote", { server }),
|
|
239
|
+
skillConsentAllow: t("approve"),
|
|
240
|
+
skillConsentAlways: t("skillAlways"),
|
|
241
|
+
skillConsentDeny: t("deny"),
|
|
242
|
+
skillConsentDeclined: t("skillDeclined"),
|
|
243
|
+
// ── MCP Apps: a tool's own interface in its frame, the requests it makes. Full screen,
|
|
244
|
+
// downloads and the model's answers for an app are not offered: their labels are not mounted.
|
|
245
|
+
appFrom: (server) => t("appFrom", { server }),
|
|
246
|
+
appSandboxed: t("appSandboxed"),
|
|
247
|
+
appSandboxedOrigin: t("appSandboxedOrigin"),
|
|
248
|
+
appSandboxOrigin: (origin) => t("appSandboxOrigin", { origin }),
|
|
249
|
+
appSandboxFallback: (reason) => t("appSandboxFallback", { reason }),
|
|
250
|
+
appSandboxReasons: {
|
|
251
|
+
invalid: t("appReason.config"),
|
|
252
|
+
insecure: t("appReason.config"),
|
|
253
|
+
"same-origin": t("appReason.config"),
|
|
254
|
+
"no-page-origin": t("appReason.config"),
|
|
255
|
+
"server-name": t("appReason.config"),
|
|
256
|
+
"too-many-origins": t("appReason.origins"),
|
|
257
|
+
"no-answer": t("appReason.noAnswer")
|
|
258
|
+
},
|
|
259
|
+
appSandboxBroken: t("appSandboxBroken"),
|
|
260
|
+
appWaiting: t("appWaiting"),
|
|
261
|
+
appWaitingFocus: t("appWaitingFocus"),
|
|
262
|
+
appPromptsLabel: (server) => t("appPromptsLabel", { server }),
|
|
263
|
+
appTag: t("appTag"),
|
|
264
|
+
appsCount: (count) => t("appsCount", { count }),
|
|
265
|
+
appLoading: t("appLoading"),
|
|
266
|
+
appFailed: (reason) => t("appFailed", { reason }),
|
|
267
|
+
appUnavailable: (server) => t("appUnavailable", { server }),
|
|
268
|
+
appHidden: t("appHidden"),
|
|
269
|
+
appShow: t("appShow"),
|
|
270
|
+
appMenu: t("appMenu"),
|
|
271
|
+
appReload: t("appReload"),
|
|
272
|
+
appOpenPanel: t("appOpenPanel"),
|
|
273
|
+
appTaller: t("appTaller"),
|
|
274
|
+
appHide: t("appHide"),
|
|
275
|
+
appServedBy: (server, uri) => t("appServedBy", { server, uri }),
|
|
276
|
+
appInPanel: t("appInPanel"),
|
|
277
|
+
appBringBack: t("appBringBack"),
|
|
278
|
+
appClosePanel: t("appClosePanel"),
|
|
279
|
+
appPanelNote: (server) => t("appPanelNote", { server }),
|
|
280
|
+
appFrameName: (server) => t("appFrameName", { server }),
|
|
281
|
+
appRan: (names) => t("appRan", { names }),
|
|
282
|
+
appRefused: t("appRefused"),
|
|
283
|
+
approvalLeadApp: (server) => t("approvalLeadApp", { server }),
|
|
284
|
+
approvalFromApp: (server, readOnly) => readOnly ? t("approvalFromAppRead", { server }) : t("approvalFromAppWrite", { server }),
|
|
285
|
+
appLinkLead: (server) => t("appLinkLead", { server }),
|
|
286
|
+
appLinkNote: t("appLinkNote"),
|
|
287
|
+
appLinkOpen: t("appLinkOpen"),
|
|
288
|
+
appCancel: t("cancel"),
|
|
289
|
+
appMessageLead: (server) => t("appMessageLead", { server }),
|
|
290
|
+
appMessageNote: t("appMessageNote"),
|
|
291
|
+
appMessageAccept: t("appMessageAccept"),
|
|
292
|
+
appMessageDiscard: t("appMessageDiscard"),
|
|
293
|
+
// ── the assistant's questions (ask_user): the card, its outcomes, another tab's ──
|
|
294
|
+
questionLead: t("questionLead"),
|
|
295
|
+
questionCount: (index, total) => t("imageCount", { index, total }),
|
|
296
|
+
questionSeveral: t("questionSeveral"),
|
|
297
|
+
questionSend: t("send"),
|
|
298
|
+
questionOther: t("questionOther"),
|
|
299
|
+
questionOtherLabel: t("questionOtherLabel"),
|
|
300
|
+
questionSkip: t("questionSkip"),
|
|
301
|
+
questionExpiresIn: (time) => t("questionExpiresIn", { time }),
|
|
302
|
+
questionRemote: t("questionRemote"),
|
|
303
|
+
questionAutomatic: (reason) => t("questionAutomatic", { reason }),
|
|
304
|
+
// A stop is never said (the person stopped it); a question cannot wait in a page (cannot-park):
|
|
305
|
+
// both are the failure the app can name.
|
|
306
|
+
questionReasons: {
|
|
307
|
+
timeout: t("questionReasonTimeout"),
|
|
308
|
+
stopped: t("questionReasonFailed"),
|
|
309
|
+
"handler-error": t("questionReasonFailed"),
|
|
310
|
+
"invalid-answer": t("questionReasonFailed"),
|
|
311
|
+
"cannot-park": t("questionReasonFailed")
|
|
312
|
+
},
|
|
313
|
+
questionDismiss: t("dismiss"),
|
|
314
|
+
queuedWaiting: t("queuedWaiting"),
|
|
315
|
+
queuedForSession: (heldBy) => heldBy === "this-tab" ? t("queuedForSessionRun") : t("queuedForSessionTab"),
|
|
316
|
+
queuedForOtherTab: t("queuedForOtherTab"),
|
|
317
|
+
noteAt: { round: t("noteRound"), step: t("noteStep"), final: t("noteFinal") },
|
|
318
|
+
undelivered: (count) => t("undelivered", { count }),
|
|
319
|
+
sendUndelivered: t("sendUndelivered"),
|
|
320
|
+
discardUndelivered: t("discardUndelivered"),
|
|
321
|
+
// ── another tab of the app (an installed window and a browser tab share the chats) ──
|
|
322
|
+
remoteRunning: t("remoteRunning"),
|
|
323
|
+
remoteWaitingConsent: t("remoteWaitingConsent"),
|
|
324
|
+
remoteGone: t("remoteGone"),
|
|
325
|
+
sessionBusy: (heldBy) => heldBy === "this-tab" ? t("sessionBusyRun") : t("sessionBusyTab"),
|
|
326
|
+
fromAnotherTab: t("fromAnotherTab"),
|
|
327
|
+
failed: t("failed"),
|
|
328
|
+
toolCostTitle: t("toolCostTitle"),
|
|
329
|
+
tierNames: {
|
|
330
|
+
light: t("tier.light"),
|
|
331
|
+
standard: t("tier.standard"),
|
|
332
|
+
strong: t("tier.strong")
|
|
333
|
+
},
|
|
334
|
+
tierReasons: {
|
|
335
|
+
planned: t("tierReason.planned"),
|
|
336
|
+
default: t("tierReason.default"),
|
|
337
|
+
fallback: t("tierReason.fallback")
|
|
338
|
+
},
|
|
339
|
+
escalationReasons: {
|
|
340
|
+
blocked: t("escalation.blocked"),
|
|
341
|
+
"empty-result": t("escalation.emptyResult"),
|
|
342
|
+
"tool-arguments": t("escalation.toolArguments"),
|
|
343
|
+
"output-cut": t("escalation.outputCut"),
|
|
344
|
+
error: t("escalation.error")
|
|
345
|
+
},
|
|
346
|
+
escalated: (from, to, reason) => t("escalated", { from, to, reason }),
|
|
347
|
+
escalatedAttemptText: t("escalatedAttemptText"),
|
|
348
|
+
escalations: (count) => t("escalations", { count }),
|
|
349
|
+
attemptTag: (n) => t("attemptTag", { n }),
|
|
350
|
+
replayed: t("replayed"),
|
|
351
|
+
replayedTitle: t("replayedTitle"),
|
|
352
|
+
replanFailed: t("replanFailed"),
|
|
353
|
+
// ── files, attachments, what an answer wrote or made ──
|
|
354
|
+
files: t("files"),
|
|
355
|
+
showFiles: t("showFiles"),
|
|
356
|
+
attachments: t("attachments"),
|
|
357
|
+
dropHint: t("dropHint"),
|
|
358
|
+
attach: t("attach"),
|
|
359
|
+
attachTitle: t("attachTitle"),
|
|
360
|
+
attachmentsOnly: t("attachmentsOnly"),
|
|
361
|
+
remove: (name) => t("remove", { name }),
|
|
362
|
+
tooLarge: (name, mb) => t("tooLarge", { name, mb }),
|
|
363
|
+
tooManyPixels: (name, mp) => t("tooManyPixels", { name, mp }),
|
|
364
|
+
binaryText: (name) => t("binaryText", { name }),
|
|
365
|
+
downscaledFrom: (size) => t("downscaledFrom", { size }),
|
|
366
|
+
convertedFrom: (name) => t("convertedFrom", { name }),
|
|
367
|
+
tooManyImages: (names, max) => t("tooManyImages", { names, max }),
|
|
368
|
+
messageTooLarge: (names, mb) => t("messageTooLarge", { names, mb }),
|
|
369
|
+
pastedText: (count) => t("pastedText", { count }),
|
|
370
|
+
dictatedText: (count) => t("dictatedText", { count }),
|
|
371
|
+
inputCount: (n, max) => t("inputCount", { n, max }),
|
|
372
|
+
inputLimit: (count) => t("inputLimit", { count }),
|
|
373
|
+
inputLimitReached: (count) => t("inputLimitReached", { count }),
|
|
374
|
+
longTextRefused: (count) => t("longTextRefused", { count }),
|
|
375
|
+
inputLimitFull: (count) => t("inputLimitFull", { count }),
|
|
376
|
+
pastedAsFile: (count) => t("pastedAsFile", { count }),
|
|
377
|
+
dictatedAsFile: (count) => t("dictatedAsFile", { count }),
|
|
378
|
+
attachmentSaveFailed: (names) => t("attachmentSaveFailed", { names }),
|
|
379
|
+
noAttachmentsWhileBusy: t("noAttachmentsWhileBusy"),
|
|
380
|
+
sendWhenReady: t("sendWhenReady"),
|
|
381
|
+
sendWhenReadyButton: t("sendWhenReadyButton"),
|
|
382
|
+
cancelSendWhenReady: t("cancelSendWhenReady"),
|
|
383
|
+
notSentFailed: t("notSentFailed"),
|
|
384
|
+
notSentUnavailable: t("notSentUnavailable"),
|
|
385
|
+
notSentDisabled: t("notSentDisabled"),
|
|
386
|
+
filesEmpty: t("filesEmpty"),
|
|
387
|
+
upload: t("upload"),
|
|
388
|
+
download: t("download"),
|
|
389
|
+
delete: t("delete"),
|
|
390
|
+
preview: t("preview"),
|
|
391
|
+
bytes: (n) => formatBytes(tag, n),
|
|
392
|
+
mediaImage: (path) => t("mediaImage", { path }),
|
|
393
|
+
mediaReferences: (names) => t("mediaReferences", { names }),
|
|
394
|
+
mediaReferencesUnused: (names) => t("mediaReferencesUnused", { names }),
|
|
395
|
+
imageOpen: (name) => t("imageOpen", { name }),
|
|
396
|
+
imagePrevious: t("imagePrevious"),
|
|
397
|
+
imageNext: t("imageNext"),
|
|
398
|
+
imageZoom: t("imageZoom"),
|
|
399
|
+
imageCount: (index, total) => t("imageCount", { index, total }),
|
|
400
|
+
mediaFile: (path) => t("mediaImage", { path }),
|
|
401
|
+
// "Pictures made": the pictures, not the calls - a generation that failed made none, and a
|
|
402
|
+
// run whose only call failed says nothing here (the chat says why it failed).
|
|
403
|
+
usageMedia: (_calls, made) => made.imagesGenerated > 0 ? t("usageMedia", { count: made.imagesGenerated }) : "",
|
|
404
|
+
filesWritten: (count) => t("filesWritten", { count }),
|
|
405
|
+
filesNamed: (count) => t("filesNamed", { count }),
|
|
406
|
+
filesCount: (count) => t("filesCount", { count }),
|
|
407
|
+
showInFiles: t("showInFiles"),
|
|
408
|
+
// HTML, Markdown, CSV and JSON are names, the same in every language.
|
|
409
|
+
fileKinds: {
|
|
410
|
+
image: t("kind.image"),
|
|
411
|
+
code: t("kind.text"),
|
|
412
|
+
text: t("kind.text"),
|
|
413
|
+
file: t("kind.file")
|
|
414
|
+
},
|
|
415
|
+
fileOpen: (name) => t("fileOpen", { name }),
|
|
416
|
+
fileLinkOpen: (text, name) => text.trim() === name ? t("fileOpen", { name }) : t("fileLinkOpen", { text, name }),
|
|
417
|
+
fileClose: () => t("closePreview"),
|
|
418
|
+
fileDownload: (name) => t("fileDownload", { name }),
|
|
419
|
+
fileGone: t("fileGone"),
|
|
420
|
+
fileNoPreview: t("fileNoPreview"),
|
|
421
|
+
fileCut: (chars) => t("fileCut", { chars }),
|
|
422
|
+
fileShowRest: t("fileShowRest"),
|
|
423
|
+
fileShowLess: t("fileShowLess"),
|
|
424
|
+
fileRendered: t("fileRendered"),
|
|
425
|
+
fileSource: t("fileSource"),
|
|
426
|
+
closePreview: t("closePreview"),
|
|
427
|
+
fileLines: (count) => t("fileLines", { count }),
|
|
428
|
+
htmlFrameTitle: t("htmlFrameTitle"),
|
|
429
|
+
htmlSourceNote: t("htmlSourceNote"),
|
|
430
|
+
htmlSandboxed: t("htmlSandboxed"),
|
|
431
|
+
htmlNoNetwork: t("htmlNoNetwork"),
|
|
432
|
+
// The app's previews never run a page's scripts (`ui/HtmlFilePreview.tsx`).
|
|
433
|
+
htmlScripts: () => t("htmlScriptsOff"),
|
|
434
|
+
htmlLinkedFiles: (names) => t("htmlLinkedFiles", { names }),
|
|
435
|
+
htmlTooLarge: t("htmlTooLarge"),
|
|
436
|
+
htmlTaller: t("htmlTaller"),
|
|
437
|
+
htmlShorter: t("htmlShorter"),
|
|
438
|
+
htmlFrameName: (path) => t("fileOpen", { name: path })
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
// src/locales/index.ts
|
|
443
|
+
var AGENT_LABEL_LOCALES = [
|
|
444
|
+
"en",
|
|
445
|
+
"ru",
|
|
446
|
+
"uk",
|
|
447
|
+
"be",
|
|
448
|
+
"pl",
|
|
449
|
+
"cs",
|
|
450
|
+
"sk",
|
|
451
|
+
"hr",
|
|
452
|
+
"sr",
|
|
453
|
+
"sr-Latn",
|
|
454
|
+
"bg",
|
|
455
|
+
"ro",
|
|
456
|
+
"hu",
|
|
457
|
+
"de",
|
|
458
|
+
"fr",
|
|
459
|
+
"it",
|
|
460
|
+
"es",
|
|
461
|
+
"pt",
|
|
462
|
+
"nl",
|
|
463
|
+
"da",
|
|
464
|
+
"sv",
|
|
465
|
+
"nb",
|
|
466
|
+
"fi",
|
|
467
|
+
"el",
|
|
468
|
+
"sq",
|
|
469
|
+
"ca",
|
|
470
|
+
"tr",
|
|
471
|
+
"es-419",
|
|
472
|
+
"pt-BR",
|
|
473
|
+
"fr-CA",
|
|
474
|
+
"ht",
|
|
475
|
+
"qu",
|
|
476
|
+
"gn"
|
|
477
|
+
];
|
|
478
|
+
var LOADERS = {
|
|
479
|
+
en: () => import("./en.cjs"),
|
|
480
|
+
ru: () => import("./ru.cjs"),
|
|
481
|
+
uk: () => import("./uk.cjs"),
|
|
482
|
+
be: () => import("./be.cjs"),
|
|
483
|
+
pl: () => import("./pl.cjs"),
|
|
484
|
+
cs: () => import("./cs.cjs"),
|
|
485
|
+
sk: () => import("./sk.cjs"),
|
|
486
|
+
hr: () => import("./hr.cjs"),
|
|
487
|
+
sr: () => import("./sr.cjs"),
|
|
488
|
+
"sr-Latn": () => import("./sr-Latn.cjs"),
|
|
489
|
+
bg: () => import("./bg.cjs"),
|
|
490
|
+
ro: () => import("./ro.cjs"),
|
|
491
|
+
hu: () => import("./hu.cjs"),
|
|
492
|
+
de: () => import("./de.cjs"),
|
|
493
|
+
fr: () => import("./fr.cjs"),
|
|
494
|
+
it: () => import("./it.cjs"),
|
|
495
|
+
es: () => import("./es.cjs"),
|
|
496
|
+
pt: () => import("./pt.cjs"),
|
|
497
|
+
nl: () => import("./nl.cjs"),
|
|
498
|
+
da: () => import("./da.cjs"),
|
|
499
|
+
sv: () => import("./sv.cjs"),
|
|
500
|
+
nb: () => import("./nb.cjs"),
|
|
501
|
+
fi: () => import("./fi.cjs"),
|
|
502
|
+
el: () => import("./el.cjs"),
|
|
503
|
+
sq: () => import("./sq.cjs"),
|
|
504
|
+
ca: () => import("./ca.cjs"),
|
|
505
|
+
tr: () => import("./tr.cjs"),
|
|
506
|
+
"es-419": () => import("./es-419.cjs"),
|
|
507
|
+
"pt-BR": () => import("./pt-BR.cjs"),
|
|
508
|
+
"fr-CA": () => import("./fr-CA.cjs"),
|
|
509
|
+
ht: () => import("./ht.cjs"),
|
|
510
|
+
qu: () => import("./qu.cjs"),
|
|
511
|
+
gn: () => import("./gn.cjs")
|
|
512
|
+
};
|
|
513
|
+
var BY_LOWER = new Map(
|
|
514
|
+
AGENT_LABEL_LOCALES.map((t) => [t.toLowerCase(), t])
|
|
515
|
+
);
|
|
516
|
+
var agentLabelLocaleOf = (tag) => {
|
|
517
|
+
let locale;
|
|
518
|
+
try {
|
|
519
|
+
locale = new Intl.Locale(tag);
|
|
520
|
+
} catch {
|
|
521
|
+
return "en";
|
|
522
|
+
}
|
|
523
|
+
const language = locale.language === "no" ? "nb" : locale.language;
|
|
524
|
+
const candidates = [
|
|
525
|
+
locale.toString(),
|
|
526
|
+
locale.script ? `${language}-${locale.script}` : "",
|
|
527
|
+
language
|
|
528
|
+
];
|
|
529
|
+
for (const candidate of candidates) {
|
|
530
|
+
const found = BY_LOWER.get(candidate.toLowerCase());
|
|
531
|
+
if (found) return found;
|
|
532
|
+
}
|
|
533
|
+
return "en";
|
|
534
|
+
};
|
|
535
|
+
var loadAgentLabels = async (tag) => (await LOADERS[agentLabelLocaleOf(tag)]()).labels;
|
|
536
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
537
|
+
0 && (module.exports = {
|
|
538
|
+
AGENT_LABEL_LOCALES,
|
|
539
|
+
agentLabelLocaleOf,
|
|
540
|
+
labelsFromCatalog,
|
|
541
|
+
loadAgentLabels
|
|
542
|
+
});
|
|
543
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/locales/index.ts","../../src/locales/build.ts"],"sourcesContent":["import type { AgentLabelsOverride } from '../labels.js'\nimport type { AgentLabelCatalog } from './types.js'\n\nexport { labelsFromCatalog } from './build.js'\nexport type * from './types.js'\n\n/**\n * The languages the chat's labels come in: the tags of `@dudko.dev/agent-web-ui/locales/<tag>`.\n * `ht`, `qu` and `gn` are machine-made, not reviewed by a native speaker yet.\n */\nexport const AGENT_LABEL_LOCALES = [\n 'en',\n 'ru',\n 'uk',\n 'be',\n 'pl',\n 'cs',\n 'sk',\n 'hr',\n 'sr',\n 'sr-Latn',\n 'bg',\n 'ro',\n 'hu',\n 'de',\n 'fr',\n 'it',\n 'es',\n 'pt',\n 'nl',\n 'da',\n 'sv',\n 'nb',\n 'fi',\n 'el',\n 'sq',\n 'ca',\n 'tr',\n 'es-419',\n 'pt-BR',\n 'fr-CA',\n 'ht',\n 'qu',\n 'gn',\n] as const\n\nexport type AgentLabelLocale = (typeof AGENT_LABEL_LOCALES)[number]\n\n/**\n * One literal `import()` per language: a bundler splits each into a chunk of its own, and a page\n * downloads only the one it loads (and the small builder they share).\n */\nconst LOADERS: Record<\n AgentLabelLocale,\n () => Promise<{ labels: AgentLabelsOverride; catalog: AgentLabelCatalog }>\n> = {\n en: () => import('./en.js'),\n ru: () => import('./ru.js'),\n uk: () => import('./uk.js'),\n be: () => import('./be.js'),\n pl: () => import('./pl.js'),\n cs: () => import('./cs.js'),\n sk: () => import('./sk.js'),\n hr: () => import('./hr.js'),\n sr: () => import('./sr.js'),\n 'sr-Latn': () => import('./sr-Latn.js'),\n bg: () => import('./bg.js'),\n ro: () => import('./ro.js'),\n hu: () => import('./hu.js'),\n de: () => import('./de.js'),\n fr: () => import('./fr.js'),\n it: () => import('./it.js'),\n es: () => import('./es.js'),\n pt: () => import('./pt.js'),\n nl: () => import('./nl.js'),\n da: () => import('./da.js'),\n sv: () => import('./sv.js'),\n nb: () => import('./nb.js'),\n fi: () => import('./fi.js'),\n el: () => import('./el.js'),\n sq: () => import('./sq.js'),\n ca: () => import('./ca.js'),\n tr: () => import('./tr.js'),\n 'es-419': () => import('./es-419.js'),\n 'pt-BR': () => import('./pt-BR.js'),\n 'fr-CA': () => import('./fr-CA.js'),\n ht: () => import('./ht.js'),\n qu: () => import('./qu.js'),\n gn: () => import('./gn.js'),\n}\n\nconst BY_LOWER = new Map<string, AgentLabelLocale>(\n AGENT_LABEL_LOCALES.map((t) => [t.toLowerCase(), t]),\n)\n\n/**\n * The language of the labels for a BCP 47 tag: the exact tag (`pt-BR`), then its language and\n * script (`sr-Latn-RS` → `sr-Latn`), then its language alone (`de-AT` → `de`, `no` → `nb`),\n * then English - also for a tag that is not one.\n */\nexport const agentLabelLocaleOf = (tag: string): AgentLabelLocale => {\n let locale: Intl.Locale\n try {\n locale = new Intl.Locale(tag)\n } catch {\n return 'en'\n }\n const language = locale.language === 'no' ? 'nb' : locale.language\n const candidates = [\n locale.toString(),\n locale.script ? `${language}-${locale.script}` : '',\n language,\n ]\n for (const candidate of candidates) {\n const found = BY_LOWER.get(candidate.toLowerCase())\n if (found) return found\n }\n return 'en'\n}\n\n/**\n * The chat's labels in the language of `tag` (`agentLabelLocaleOf`), loaded on demand - pass them\n * to `<AgentLabelsProvider labels>` or a component's `labels` prop. Anything they do not cover\n * stays `defaultLabels`' English.\n */\nexport const loadAgentLabels = async (tag: string): Promise<AgentLabelsOverride> =>\n (await LOADERS[agentLabelLocaleOf(tag)]()).labels\n","import type { AgentLabelsOverride } from '../labels.js'\nimport type { AgentLabelEntry as Entry, AgentLabelCatalog, AgentLabelKey } from './types.js'\n\ntype Params = Record<string, string | number>\ntype Translate = (key: AgentLabelKey, params?: Params) => string\n\nconst PLACEHOLDER = /\\{(\\w+)\\}/g\n\n/** The plural form of `entry` for `count` (`other` when the language's category is missing). */\nconst pluralForm = (entry: Entry, count: number, rules: Intl.PluralRules): string => {\n if (typeof entry === 'string') return entry\n const category = rules.select(count) as keyof typeof entry\n return entry[category] ?? entry.other\n}\n\n/**\n * A translator over a catalog: a plural entry is chosen by `params.count` through\n * `Intl.PluralRules(tag)`, and a number filled into a placeholder is formatted with\n * `Intl.NumberFormat(tag)` (\"1 234\" in Russian, \"1.234\" in German).\n */\nconst translatorOf = (tag: string, catalog: AgentLabelCatalog): Translate => {\n const rules = new Intl.PluralRules(tag)\n return (key, params) => {\n const entry = catalog[key]\n if (entry === undefined) throw new Error(`The ${tag} catalog has no \"${key}\"`)\n const text = pluralForm(entry, Number(params?.count ?? 0), rules)\n if (!params) return text\n return text.replace(PLACEHOLDER, (whole, name: string) => {\n const value = params[name]\n if (value === undefined) return whole\n return typeof value === 'number' ? new Intl.NumberFormat(tag).format(value) : value\n })\n }\n}\n\n/** A token count the way a person reads it: 12 345 → \"12K\" (or the language's own short form). */\nconst formatTokens = (tag: string, tokens: number): string =>\n new Intl.NumberFormat(tag, { notation: 'compact', maximumFractionDigits: 1 }).format(tokens)\n\n/** A file's size the way a person reads it: bytes, kB or MB in the language's own form. */\nconst formatBytes = (tag: string, bytes: number): string => {\n const [value, unit] =\n bytes < 1024\n ? [bytes, 'byte']\n : bytes < 1024 * 1024\n ? [bytes / 1024, 'kilobyte']\n : [bytes / 1024 / 1024, 'megabyte']\n return new Intl.NumberFormat(tag, {\n style: 'unit',\n unit,\n // Bytes in full: the short form is \"25 byte\" in English (and \"byte\" in Japanese) - the long\n // one is \"25 bytes\", \"25 байт\", \"25 バイト\". kB and MB stay short.\n unitDisplay: unit === 'byte' ? 'long' : 'short',\n maximumFractionDigits: unit === 'megabyte' ? 1 : 0,\n }).format(value)\n}\n\n/**\n * The chat's labels (`AgentLabelsOverride`) of one language, from its catalog: the strings, and\n * the counted and filled-in phrases as functions over `Intl.PluralRules` / `Intl.NumberFormat` of\n * `tag`. What is not here (`emptyState`, and the parts a catalog has no keys for yet) stays\n * `defaultLabels`' English once merged. `seeAttachments` is not here on purpose: it is the goal\n * the MODEL gets for a message of attachments only, not a text the person reads.\n */\nexport const labelsFromCatalog = (tag: string, catalog: AgentLabelCatalog): AgentLabelsOverride => {\n const t = translatorOf(tag, catalog)\n return {\n status: {\n idle: t('status.idle'),\n initializing: t('status.initializing'),\n ready: t('status.ready'),\n running: t('status.running'),\n error: t('status.error'),\n },\n history: t('history'),\n newChat: t('newChat'),\n totalUsage: t('totalUsage'),\n showHistory: t('showHistory'),\n close: t('close'),\n steps: (count) => t('steps', { count }),\n toolCalls: (count) => t('toolCalls', { count }),\n answerThoughts: t('answerThoughts'),\n answerStopped: t('answerStopped'),\n stepThoughts: t('stepThoughts'),\n usageTitle: t('usageTitle'),\n planned: t('planned'),\n replanned: (_mode, reason) => t('replanned', { reason }),\n placeholder: t('placeholder'),\n placeholderBusy: t('placeholderBusy'),\n message: t('message'),\n commands: t('commands'),\n commandsTitle: t('commandsTitle'),\n send: t('send'),\n steer: t('steer'),\n stop: t('stop'),\n dismiss: t('dismiss'),\n // Voice (Settings: Voice): the mic, voice messages, the transcript, read aloud.\n dictate: t('dictate'),\n dictateTitle: t('dictateTitle'),\n stopDictation: t('stopDictation'),\n micListening: t('micListening'),\n listening: t('listening'),\n transcribing: t('transcribing'),\n micDenied: t('micDenied'),\n micMissing: t('micMissing'),\n micBusy: t('micBusy'),\n micUnsupported: t('micUnsupported'),\n dictationFailed: t('dictationFailed'),\n recordVoiceMessage: t('recordVoiceMessage'),\n voiceMessage: t('voiceMessage'),\n recording: (elapsed) => t('recording', { elapsed }),\n recordingDone: t('recordingDone'),\n recordingCancel: t('recordingCancel'),\n recordingLimit: t('recordingLimit'),\n audioAttachment: (name) => t('audioAttachment', { name }),\n transcriptOf: (name) => t('transcriptOf', { name }),\n transcriptNote: t('transcriptNote'),\n readAloud: t('readAloud'),\n readAloudPause: t('readAloudPause'),\n readAloudResume: t('readAloudResume'),\n readAloudStop: t('readAloudStop'),\n readAloudLoading: t('readAloudLoading'),\n readAloudCode: t('readAloudCode'),\n readAloudFailed: t('readAloudFailed'),\n model: t('model'),\n toolConsent: t('toolConsent'),\n modes: {\n autopilot: { label: t('mode.autopilot'), hint: t('mode.autopilotHint') },\n 'ask-writes': { label: t('mode.askWrites'), hint: t('mode.askWritesHint') },\n 'ask-all': { label: t('mode.askAll'), hint: t('mode.askAllHint') },\n 'read-only': { label: t('mode.readOnly'), hint: t('mode.readOnlyHint') },\n },\n timerRunning: t('timerRunning'),\n timerLast: t('timerLast'),\n notices: {\n compacted: (_scope, before, after) =>\n t('compacted', {\n before: formatTokens(tag, before),\n after: formatTokens(tag, after),\n }),\n },\n commandGroups: { commands: t('group.commands'), consent: t('group.consent') },\n commandDescriptions: {\n compact: t('cmd.compact'),\n new: t('cmd.new'),\n stop: t('cmd.stop'),\n autopilot: t('cmd.autopilot'),\n ask: t('cmd.ask'),\n askAll: t('cmd.askAll'),\n readOnly: t('cmd.readOnly'),\n },\n // ── a fact of the memory saved, changed or forgotten (the card in the answer) ──\n memorySaved: t('memorySaved'),\n memoryUpdated: t('memoryUpdated'),\n memoryForgotten: t('memoryForgotten'),\n memoryUndo: t('memoryUndo'),\n memoryUndone: t('memoryUndone'),\n historyEmpty: t('historyEmpty'),\n deleteChat: t('deleteChat'),\n messagesCount: (count) => t('messagesCount', { count }),\n approvalLead: t('approvalLead'),\n approve: t('approve'),\n alwaysAllow: t('alwaysAllow'),\n deny: t('deny'),\n declinedReason: t('declinedReason'),\n readOnlyTool: t('readOnlyTool'),\n consentWaiting: t('consentWaiting'),\n consentAllowed: t('consentAllowed'),\n consentDenied: (reason) => (reason ? t('consentDeniedReason', { reason }) : t('consentDenied')),\n // ── an MCP server's question to the person (elicitation; forms only - URL mode is not\n // declared, so its labels are not mounted). A helper cannot ask (the core's default).\n elicitationTitle: t('elicitTitle'),\n elicitationLead: (server) => t('elicitLead', { server }),\n elicitationLeadHelper: (server) => t('elicitLead', { server }),\n elicitationDuring: t('elicitDuring'),\n elicitationCount: (index, total) => t('imageCount', { index, total }),\n elicitationFrom: (server) => t('elicitFrom', { server }),\n elicitationRequired: t('elicitRequired'),\n elicitationChoose: t('elicitChoose'),\n elicitationSubmit: t('elicitSubmit'),\n elicitationDecline: t('elicitDecline'),\n elicitationCancel: t('cancel'),\n elicitationErrors: {\n required: (field) => t('elicitErr.required', { field }),\n tooShort: (field, limit) => t('elicitErr.tooShort', { field, limit: limit ?? '' }),\n tooLong: (field, limit) => t('elicitErr.tooLong', { field, limit: limit ?? '' }),\n email: (field) => t('elicitErr.email', { field }),\n uri: (field) => t('elicitErr.uri', { field }),\n date: (field) => t('elicitErr.date', { field }),\n dateTime: (field) => t('elicitErr.dateTime', { field }),\n notNumber: (field) => t('elicitErr.notNumber', { field }),\n notInteger: (field) => t('elicitErr.notInteger', { field }),\n belowMinimum: (field, limit) => t('elicitErr.belowMinimum', { field, limit: limit ?? '' }),\n aboveMaximum: (field, limit) => t('elicitErr.aboveMaximum', { field, limit: limit ?? '' }),\n notAnOption: (field) => t('elicitErr.notAnOption', { field }),\n tooFew: (field, limit) => t('elicitErr.tooFew', { field, limit: limit ?? '' }),\n tooMany: (field, limit) => t('elicitErr.tooMany', { field, limit: limit ?? '' }),\n },\n elicitationFix: (count) => t('elicitFix', { count }),\n elicitationExpiresIn: (time) => t('elicitExpiresIn', { time }),\n elicitationExpires: t('elicitExpires'),\n elicitationAutomatic: (server, reason) => t('elicitAutomatic', { server, reason }),\n // What the person can act on: no answer in time, the run stopped, too many questions, a helper,\n // an answer that did not fit - and the rest is \"could not be shown here\".\n elicitationReasons: {\n timeout: t('elicitReason.timeout'),\n 'step-timeout': t('elicitReason.timeout'),\n aborted: t('elicitReason.stopped'),\n stopped: t('elicitReason.stopped'),\n 'cap-per-call': t('elicitReason.caps'),\n 'cap-per-run': t('elicitReason.caps'),\n 'unsupported-schema': t('elicitReason.cannotShow'),\n 'unsupported-mode': t('elicitReason.cannotShow'),\n 'insecure-url': t('elicitReason.cannotShow'),\n 'invalid-request': t('elicitReason.cannotShow'),\n subagent: t('elicitReason.subagent'),\n 'handler-error': t('elicitReason.cannotShow'),\n 'invalid-answer': t('elicitReason.invalidAnswer'),\n 'after-failure': t('elicitReason.cannotShow'),\n 'no-tool-call': t('elicitReason.cannotShow'),\n },\n elicitationDismiss: t('dismiss'),\n // ── an MCP server's skill before its text reaches the model (the consent card). The app sets\n // neither `consent: 'ask'` nor `dynamic`: their sentences are not mounted.\n skillConsentLead: (server, skill) => t('skillLead', { server, skill }),\n skillConsentSize: (bytes, count) =>\n count > 0\n ? t('skillSizeFiles', { size: formatBytes(tag, bytes), count })\n : t('skillSize', { size: formatBytes(tag, bytes) }),\n skillConsentByUri: t('skillByUri'),\n skillConsentNested: (enclosing) => t('skillNested', { enclosing }),\n skillConsentPreview: t('skillPreview'),\n skillConsentFiles: (paths, count) =>\n count > 0 ? t('skillFilesMore', { paths, count }) : t('skillFiles', { paths }),\n skillConsentNote: (server) => t('skillNote', { server }),\n skillConsentAllow: t('approve'),\n skillConsentAlways: t('skillAlways'),\n skillConsentDeny: t('deny'),\n skillConsentDeclined: t('skillDeclined'),\n // ── MCP Apps: a tool's own interface in its frame, the requests it makes. Full screen,\n // downloads and the model's answers for an app are not offered: their labels are not mounted.\n appFrom: (server) => t('appFrom', { server }),\n appSandboxed: t('appSandboxed'),\n appSandboxedOrigin: t('appSandboxedOrigin'),\n appSandboxOrigin: (origin) => t('appSandboxOrigin', { origin }),\n appSandboxFallback: (reason) => t('appSandboxFallback', { reason }),\n appSandboxReasons: {\n invalid: t('appReason.config'),\n insecure: t('appReason.config'),\n 'same-origin': t('appReason.config'),\n 'no-page-origin': t('appReason.config'),\n 'server-name': t('appReason.config'),\n 'too-many-origins': t('appReason.origins'),\n 'no-answer': t('appReason.noAnswer'),\n },\n appSandboxBroken: t('appSandboxBroken'),\n appWaiting: t('appWaiting'),\n appWaitingFocus: t('appWaitingFocus'),\n appPromptsLabel: (server) => t('appPromptsLabel', { server }),\n appTag: t('appTag'),\n appsCount: (count) => t('appsCount', { count }),\n appLoading: t('appLoading'),\n appFailed: (reason) => t('appFailed', { reason }),\n appUnavailable: (server) => t('appUnavailable', { server }),\n appHidden: t('appHidden'),\n appShow: t('appShow'),\n appMenu: t('appMenu'),\n appReload: t('appReload'),\n appOpenPanel: t('appOpenPanel'),\n appTaller: t('appTaller'),\n appHide: t('appHide'),\n appServedBy: (server, uri) => t('appServedBy', { server, uri }),\n appInPanel: t('appInPanel'),\n appBringBack: t('appBringBack'),\n appClosePanel: t('appClosePanel'),\n appPanelNote: (server) => t('appPanelNote', { server }),\n appFrameName: (server) => t('appFrameName', { server }),\n appRan: (names) => t('appRan', { names }),\n appRefused: t('appRefused'),\n approvalLeadApp: (server) => t('approvalLeadApp', { server }),\n approvalFromApp: (server, readOnly) =>\n readOnly ? t('approvalFromAppRead', { server }) : t('approvalFromAppWrite', { server }),\n appLinkLead: (server) => t('appLinkLead', { server }),\n appLinkNote: t('appLinkNote'),\n appLinkOpen: t('appLinkOpen'),\n appCancel: t('cancel'),\n appMessageLead: (server) => t('appMessageLead', { server }),\n appMessageNote: t('appMessageNote'),\n appMessageAccept: t('appMessageAccept'),\n appMessageDiscard: t('appMessageDiscard'),\n // ── the assistant's questions (ask_user): the card, its outcomes, another tab's ──\n questionLead: t('questionLead'),\n questionCount: (index, total) => t('imageCount', { index, total }),\n questionSeveral: t('questionSeveral'),\n questionSend: t('send'),\n questionOther: t('questionOther'),\n questionOtherLabel: t('questionOtherLabel'),\n questionSkip: t('questionSkip'),\n questionExpiresIn: (time) => t('questionExpiresIn', { time }),\n questionRemote: t('questionRemote'),\n questionAutomatic: (reason) => t('questionAutomatic', { reason }),\n // A stop is never said (the person stopped it); a question cannot wait in a page (cannot-park):\n // both are the failure the app can name.\n questionReasons: {\n timeout: t('questionReasonTimeout'),\n stopped: t('questionReasonFailed'),\n 'handler-error': t('questionReasonFailed'),\n 'invalid-answer': t('questionReasonFailed'),\n 'cannot-park': t('questionReasonFailed'),\n },\n questionDismiss: t('dismiss'),\n queuedWaiting: t('queuedWaiting'),\n queuedForSession: (heldBy) =>\n heldBy === 'this-tab' ? t('queuedForSessionRun') : t('queuedForSessionTab'),\n queuedForOtherTab: t('queuedForOtherTab'),\n noteAt: { round: t('noteRound'), step: t('noteStep'), final: t('noteFinal') },\n undelivered: (count) => t('undelivered', { count }),\n sendUndelivered: t('sendUndelivered'),\n discardUndelivered: t('discardUndelivered'),\n // ── another tab of the app (an installed window and a browser tab share the chats) ──\n remoteRunning: t('remoteRunning'),\n remoteWaitingConsent: t('remoteWaitingConsent'),\n remoteGone: t('remoteGone'),\n sessionBusy: (heldBy) => (heldBy === 'this-tab' ? t('sessionBusyRun') : t('sessionBusyTab')),\n fromAnotherTab: t('fromAnotherTab'),\n failed: t('failed'),\n toolCostTitle: t('toolCostTitle'),\n tierNames: {\n light: t('tier.light'),\n standard: t('tier.standard'),\n strong: t('tier.strong'),\n },\n tierReasons: {\n planned: t('tierReason.planned'),\n default: t('tierReason.default'),\n fallback: t('tierReason.fallback'),\n },\n escalationReasons: {\n blocked: t('escalation.blocked'),\n 'empty-result': t('escalation.emptyResult'),\n 'tool-arguments': t('escalation.toolArguments'),\n 'output-cut': t('escalation.outputCut'),\n error: t('escalation.error'),\n },\n escalated: (from, to, reason) => t('escalated', { from, to, reason }),\n escalatedAttemptText: t('escalatedAttemptText'),\n escalations: (count) => t('escalations', { count }),\n attemptTag: (n) => t('attemptTag', { n }),\n replayed: t('replayed'),\n replayedTitle: t('replayedTitle'),\n replanFailed: t('replanFailed'),\n // ── files, attachments, what an answer wrote or made ──\n files: t('files'),\n showFiles: t('showFiles'),\n attachments: t('attachments'),\n dropHint: t('dropHint'),\n attach: t('attach'),\n attachTitle: t('attachTitle'),\n attachmentsOnly: t('attachmentsOnly'),\n remove: (name) => t('remove', { name }),\n tooLarge: (name, mb) => t('tooLarge', { name, mb }),\n tooManyPixels: (name, mp) => t('tooManyPixels', { name, mp }),\n binaryText: (name) => t('binaryText', { name }),\n downscaledFrom: (size) => t('downscaledFrom', { size }),\n convertedFrom: (name) => t('convertedFrom', { name }),\n tooManyImages: (names, max) => t('tooManyImages', { names, max }),\n messageTooLarge: (names, mb) => t('messageTooLarge', { names, mb }),\n pastedText: (count) => t('pastedText', { count }),\n dictatedText: (count) => t('dictatedText', { count }),\n inputCount: (n, max) => t('inputCount', { n, max }),\n inputLimit: (count) => t('inputLimit', { count }),\n inputLimitReached: (count) => t('inputLimitReached', { count }),\n longTextRefused: (count) => t('longTextRefused', { count }),\n inputLimitFull: (count) => t('inputLimitFull', { count }),\n pastedAsFile: (count) => t('pastedAsFile', { count }),\n dictatedAsFile: (count) => t('dictatedAsFile', { count }),\n attachmentSaveFailed: (names) => t('attachmentSaveFailed', { names }),\n noAttachmentsWhileBusy: t('noAttachmentsWhileBusy'),\n sendWhenReady: t('sendWhenReady'),\n sendWhenReadyButton: t('sendWhenReadyButton'),\n cancelSendWhenReady: t('cancelSendWhenReady'),\n notSentFailed: t('notSentFailed'),\n notSentUnavailable: t('notSentUnavailable'),\n notSentDisabled: t('notSentDisabled'),\n filesEmpty: t('filesEmpty'),\n upload: t('upload'),\n download: t('download'),\n delete: t('delete'),\n preview: t('preview'),\n bytes: (n) => formatBytes(tag, n),\n mediaImage: (path) => t('mediaImage', { path }),\n mediaReferences: (names) => t('mediaReferences', { names }),\n mediaReferencesUnused: (names) => t('mediaReferencesUnused', { names }),\n imageOpen: (name) => t('imageOpen', { name }),\n imagePrevious: t('imagePrevious'),\n imageNext: t('imageNext'),\n imageZoom: t('imageZoom'),\n imageCount: (index, total) => t('imageCount', { index, total }),\n mediaFile: (path) => t('mediaImage', { path }),\n // \"Pictures made\": the pictures, not the calls - a generation that failed made none, and a\n // run whose only call failed says nothing here (the chat says why it failed).\n usageMedia: (_calls, made) =>\n made.imagesGenerated > 0 ? t('usageMedia', { count: made.imagesGenerated }) : '',\n filesWritten: (count) => t('filesWritten', { count }),\n filesNamed: (count) => t('filesNamed', { count }),\n filesCount: (count) => t('filesCount', { count }),\n showInFiles: t('showInFiles'),\n // HTML, Markdown, CSV and JSON are names, the same in every language.\n fileKinds: {\n image: t('kind.image'),\n code: t('kind.text'),\n text: t('kind.text'),\n file: t('kind.file'),\n },\n fileOpen: (name) => t('fileOpen', { name }),\n fileLinkOpen: (text, name) =>\n text.trim() === name ? t('fileOpen', { name }) : t('fileLinkOpen', { text, name }),\n fileClose: () => t('closePreview'),\n fileDownload: (name) => t('fileDownload', { name }),\n fileGone: t('fileGone'),\n fileNoPreview: t('fileNoPreview'),\n fileCut: (chars) => t('fileCut', { chars }),\n fileShowRest: t('fileShowRest'),\n fileShowLess: t('fileShowLess'),\n fileRendered: t('fileRendered'),\n fileSource: t('fileSource'),\n closePreview: t('closePreview'),\n fileLines: (count) => t('fileLines', { count }),\n htmlFrameTitle: t('htmlFrameTitle'),\n htmlSourceNote: t('htmlSourceNote'),\n htmlSandboxed: t('htmlSandboxed'),\n htmlNoNetwork: t('htmlNoNetwork'),\n // The app's previews never run a page's scripts (`ui/HtmlFilePreview.tsx`).\n htmlScripts: () => t('htmlScriptsOff'),\n htmlLinkedFiles: (names) => t('htmlLinkedFiles', { names }),\n htmlTooLarge: t('htmlTooLarge'),\n htmlTaller: t('htmlTaller'),\n htmlShorter: t('htmlShorter'),\n htmlFrameName: (path) => t('fileOpen', { name: path }),\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACMA,IAAM,cAAc;AAGpB,IAAM,aAAa,CAAC,OAAc,OAAe,UAAoC;AACnF,MAAI,OAAO,UAAU,SAAU,QAAO;AACtC,QAAM,WAAW,MAAM,OAAO,KAAK;AACnC,SAAO,MAAM,QAAQ,KAAK,MAAM;AAClC;AAOA,IAAM,eAAe,CAAC,KAAa,YAA0C;AAC3E,QAAM,QAAQ,IA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