@trazum/cli 1.56.1 → 1.56.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trazum/cli",
3
- "version": "1.56.1",
3
+ "version": "1.56.2",
4
4
  "description": "Trazum CLI: find where your LLM bill goes, price every finding per month, and enforce token budgets in CI.",
5
5
  "license": "MIT",
6
6
  "author": "David Mu\u00f1oz Rey",
@@ -37,7 +37,7 @@
37
37
  "prepublishOnly": "npm run build && npm test"
38
38
  },
39
39
  "dependencies": {
40
- "@trazum/core": "1.56.1"
40
+ "@trazum/core": "1.56.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^26.2.0",
package/src/i18n/en.ts CHANGED
@@ -924,6 +924,9 @@ ${bold('EXAMPLES')}
924
924
  dictionaryCoverage: (languages) =>
925
925
  ` The phrase dictionaries cover ${languages}. A prompt in another language `
926
926
  + 'is not necessarily efficient — it may just be one Trazum cannot read yet.',
927
+ dictionaryUnreviewed: (languages) =>
928
+ ` Of those, ${languages} carry entries nobody here reads: written by the same `
929
+ + 'process that wrote the rules, never agreed by a speaker of the language.',
927
930
  levelAggressive: () => '[aggressive]',
928
931
  levelSafe: () => '[safe]',
929
932
  ruleHits: (hits, tokensSaved) => `(${hits}×, ~${tokensSaved} tokens)`,
package/src/i18n/es.ts CHANGED
@@ -943,6 +943,10 @@ ${bold('EJEMPLOS')}
943
943
  ` Los diccionarios de frases cubren ${languages}. Un prompt en otro idioma `
944
944
  + 'no es necesariamente eficiente: puede ser simplemente uno que Trazum '
945
945
  + 'todavía no sabe leer.',
946
+ dictionaryUnreviewed: (languages) =>
947
+ ` De esos, ${languages} llevan entradas que nadie aquí lee: escritas por el `
948
+ + 'mismo proceso que escribió las reglas, nunca aprobadas por alguien que '
949
+ + 'hable el idioma.',
946
950
  levelAggressive: () => '[agresiva]',
947
951
  levelSafe: () => '[segura]',
948
952
  ruleHits: (hits, tokensSaved) => `(${hits}×, ~${tokensSaved} tokens)`,
package/src/i18n/types.ts CHANGED
@@ -92,6 +92,13 @@ export interface CliMessages {
92
92
  nothingToTrim(): string;
93
93
  /** The languages the phrase dictionaries cover, printed when nothing fired. */
94
94
  dictionaryCoverage(languages: string): string;
95
+ /**
96
+ * Of those, the ones nobody here has been shown to read.
97
+ *
98
+ * Its own line rather than a qualifier inside `dictionaryCoverage`, because
99
+ * the day somebody maintains all seven it is deleted rather than reworded.
100
+ */
101
+ dictionaryUnreviewed(languages: string): string;
95
102
  levelAggressive(): string;
96
103
  levelSafe(): string;
97
104
  ruleHits(hits: number, tokensSaved: number): string;
package/src/index.ts CHANGED
@@ -95,6 +95,7 @@ import {
95
95
  optimize,
96
96
  parseBaseline,
97
97
  PHRASE_LANGUAGES,
98
+ languagesWithStanding,
98
99
  plannedCalls,
99
100
  PRICING_LAST_REVIEWED,
100
101
  profilePrompt,
@@ -911,6 +912,14 @@ function printReport(
911
912
  // Which languages the dictionaries actually cover. Only here, because this
912
913
  // is the one branch where silence reads as "your prompt is already clean".
913
914
  console.log(c.dim(t.report.dictionaryCoverage(languageNames(PHRASE_LANGUAGES, t))));
915
+ // And which of them nobody here reads. Naming the seven and stopping there
916
+ // reads as seven equal dictionaries; five of them have never been agreed by
917
+ // a speaker of the language, and a reader deciding whether to trust an
918
+ // empty result deserves the difference.
919
+ const unreviewed = languagesWithStanding(PHRASE_LANGUAGES, 'unreviewed');
920
+ if (unreviewed.length > 0) {
921
+ console.log(c.dim(t.report.dictionaryUnreviewed(languageNames(unreviewed, t))));
922
+ }
914
923
  }
915
924
 
916
925
  if (result.llm) {