@trazum/cli 2.3.0 → 2.4.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/src/i18n/types.ts CHANGED
@@ -637,6 +637,125 @@ export interface CliMessages {
637
637
  * `from-helicone` — the proxy that keeps every request it saw, so a team
638
638
  * using it already has the export.
639
639
  */
640
+ reconcile: {
641
+ noReceipt(): string;
642
+ noReport(): string;
643
+ receiptUnreadable(file: string): string;
644
+ notAReceipt(file: string): string;
645
+ reportUnreadable(file: string): string;
646
+ notAReport(file: string): string;
647
+ summary(computed: number, billed: number, difference: number): string;
648
+ /** Billed for what no token rate covers. Named, never blamed. */
649
+ notTokens(usd: number): string;
650
+ batch(usd: number): string;
651
+ /** The only figure worth arguing about, never folded into the others. */
652
+ remainder(usd: number): string;
653
+ /** Without group_by[]=description nothing can be attributed. */
654
+ notAttributable(): string;
655
+ /** The OpenAI report's equivalent: without group_by[]=line_item. */
656
+ notAttributableByLineItem(): string;
657
+ /** This provider's report never names batch, so it sits in the remainder. */
658
+ batchNotSeparable(): string;
659
+ /** Money on a line item whose unit is null: neither tokens nor not. */
660
+ unknownUnit(usd: number): string;
661
+ windowNotCovered(fromComputed: string, toComputed: string, fromBilled: string, toBilled: string): string;
662
+ noBilledWindow(): string;
663
+ otherCurrency(list: string): string;
664
+ truncated(): string;
665
+ unreadableAmount(count: number): string;
666
+ written(file: string): string;
667
+ };
668
+
669
+ fromAnthropic: {
670
+ noPath(): string;
671
+ notFound(path: string): string;
672
+ summary(buckets: number, rows: number): string;
673
+ /** The report was not grouped by model, so nothing on the row prices it. */
674
+ unnamedModel(count: number): string;
675
+ /** Batch and priority are not billed at a catalogue rate. */
676
+ nonStandardTier(count: number): string;
677
+ /** Said when the report never named a tier: the question was not asked. */
678
+ tierUnknown(): string;
679
+ /** Server tools are billed per request, and no token rate reaches them. */
680
+ webSearch(count: number): string;
681
+ /** One page of several: the bill from it is understated. */
682
+ truncated(): string;
683
+ unparseable(): string;
684
+ labelledByWorkspace(count: number): string;
685
+ /** A workspace the mapping does not name keeps --label or none. */
686
+ unruledWorkspace(count: number): string;
687
+ /** The split was asked for and the report could not make it. */
688
+ workspaceNotGrouped(): string;
689
+ rulesUnreadable(file: string): string;
690
+ ruleBad(file: string, at: number): string;
691
+ rulesEmpty(file: string): string;
692
+ written(file: string): string;
693
+ };
694
+
695
+ fromOpenai: {
696
+ noPath(): string;
697
+ notFound(path: string): string;
698
+ summary(buckets: number, rows: number, requests: number): string;
699
+ unnamedModel(count: number): string;
700
+ /** batch: true rows are billed at a discount no catalogue rate is. */
701
+ batch(count: number): string;
702
+ /** The report never said whether anything was batch. */
703
+ batchUnknown(): string;
704
+ /** Any tier but default, named rather than counted. */
705
+ nonDefaultTier(count: number, tiers: string): string;
706
+ tierUnknown(): string;
707
+ /** Rows reduced to their text part; audio and image tokens set aside. */
708
+ mixed(rows: number, tokens: number, cacheWrites: number): string;
709
+ /** Mixed rows the report gave no text split for, refused whole. */
710
+ unsplit(count: number): string;
711
+ truncated(): string;
712
+ unparseable(): string;
713
+ labelledByProject(count: number): string;
714
+ unruledProject(count: number): string;
715
+ projectNotGrouped(): string;
716
+ rulesUnreadable(file: string): string;
717
+ ruleBad(file: string, at: number): string;
718
+ rulesEmpty(file: string): string;
719
+ written(file: string): string;
720
+ };
721
+
722
+ bill: {
723
+ noPath(): string;
724
+ notFound(path: string): string;
725
+ noFiles(path: string): string;
726
+ /** One line per file: its shape, what it became, what was left out. */
727
+ file(path: string, shape: string, records: number | null, leftOut: number): string;
728
+ /** No shape claimed it: named, never guessed. */
729
+ unknown(path: string): string;
730
+ /** Two shapes claimed it: named, never picked between. */
731
+ ambiguous(path: string, shapes: string): string;
732
+ /** A provider's bill is not usage; reconcile is the door for it. */
733
+ costReport(path: string): string;
734
+ nothingRead(): string;
735
+ sources(read: number, seen: number): string;
736
+ written(file: string): string;
737
+ };
738
+
739
+ fromOpenrouter: {
740
+ noPath(): string;
741
+ notFound(path: string): string;
742
+ summary(rows: number, days: number, requests: number): string;
743
+ /** What OpenRouter charged, printed beside and never merged. */
744
+ reportedUsage(usd: number, byokUsd: number): string;
745
+ /** Counted, not added: the schema does not say whether completion holds them. */
746
+ reasoning(tokens: number): string;
747
+ unnamedModel(count: number): string;
748
+ undated(count: number): string;
749
+ unparseable(): string;
750
+ labelledByWorkspace(count: number): string;
751
+ unruledWorkspace(count: number): string;
752
+ workspaceNotGrouped(): string;
753
+ rulesUnreadable(file: string): string;
754
+ ruleBad(file: string, at: number): string;
755
+ rulesEmpty(file: string): string;
756
+ written(file: string): string;
757
+ };
758
+
640
759
  fromHelicone: {
641
760
  noPath(): string;
642
761
  notFound(path: string): string;
@@ -710,6 +829,11 @@ export interface CliMessages {
710
829
  stateNeedsFile(): string;
711
830
  /** `--state` with nowhere to append: the records were going to stdout. */
712
831
  stateNeedsOut(): string;
832
+ /** The rules file could not be read as a list of prefix-and-label pairs. */
833
+ cwdRulesUnreadable(file: string): string;
834
+ cwdRuleBad(file: string, at: number): string;
835
+ cwdRulesEmpty(file: string): string;
836
+ labelledByCwd(rules: number): string;
713
837
  /** How much of the transcript was skipped, and where the next run starts. */
714
838
  resumed(skipped: number, offset: number): string;
715
839
  };