@ccusage/codex 17.1.4 → 17.1.5

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.
Files changed (2) hide show
  1. package/dist/index.js +42 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -895,7 +895,7 @@ async function executeCommand(cmd, ctx, name$1) {
895
895
  await resolved.run(ctx);
896
896
  }
897
897
  var name = "@ccusage/codex";
898
- var version = "17.1.4";
898
+ var version = "17.1.5";
899
899
  var description = "Usage analysis tool for OpenAI Codex sessions";
900
900
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
901
901
  let messages = [];
@@ -2623,7 +2623,7 @@ var ResponsiveTable = class {
2623
2623
  const adjustedWidths = columnWidths.map((width, index) => {
2624
2624
  const align = colAligns[index];
2625
2625
  let adjustedWidth = Math.floor(width * scaleFactor);
2626
- if (align === "right") adjustedWidth = Math.max(adjustedWidth, 14);
2626
+ if (align === "right") adjustedWidth = Math.max(adjustedWidth, 10);
2627
2627
  else if (index === 0) adjustedWidth = Math.max(adjustedWidth, 10);
2628
2628
  else if (index === 1) adjustedWidth = Math.max(adjustedWidth, 12);
2629
2629
  else adjustedWidth = Math.max(adjustedWidth, 8);
@@ -7030,6 +7030,30 @@ const PREFETCHED_CODEX_PRICING = {
7030
7030
  "max_input_tokens": 272e3,
7031
7031
  "max_output_tokens": 128e3
7032
7032
  },
7033
+ "gpt-5.1": {
7034
+ "input_cost_per_token": 125e-8,
7035
+ "output_cost_per_token": 1e-5,
7036
+ "cache_read_input_token_cost": 125e-9,
7037
+ "max_tokens": 128e3,
7038
+ "max_input_tokens": 272e3,
7039
+ "max_output_tokens": 128e3
7040
+ },
7041
+ "gpt-5.1-2025-11-13": {
7042
+ "input_cost_per_token": 125e-8,
7043
+ "output_cost_per_token": 1e-5,
7044
+ "cache_read_input_token_cost": 125e-9,
7045
+ "max_tokens": 128e3,
7046
+ "max_input_tokens": 272e3,
7047
+ "max_output_tokens": 128e3
7048
+ },
7049
+ "gpt-5.1-chat-latest": {
7050
+ "input_cost_per_token": 125e-8,
7051
+ "output_cost_per_token": 1e-5,
7052
+ "cache_read_input_token_cost": 125e-9,
7053
+ "max_tokens": 16384,
7054
+ "max_input_tokens": 128e3,
7055
+ "max_output_tokens": 16384
7056
+ },
7033
7057
  "gpt-5-pro": {
7034
7058
  "input_cost_per_token": 15e-6,
7035
7059
  "output_cost_per_token": 12e-5,
@@ -7076,6 +7100,22 @@ const PREFETCHED_CODEX_PRICING = {
7076
7100
  "max_input_tokens": 272e3,
7077
7101
  "max_output_tokens": 128e3
7078
7102
  },
7103
+ "gpt-5.1-codex": {
7104
+ "input_cost_per_token": 125e-8,
7105
+ "output_cost_per_token": 1e-5,
7106
+ "cache_read_input_token_cost": 125e-9,
7107
+ "max_tokens": 128e3,
7108
+ "max_input_tokens": 272e3,
7109
+ "max_output_tokens": 128e3
7110
+ },
7111
+ "gpt-5.1-codex-mini": {
7112
+ "input_cost_per_token": 25e-8,
7113
+ "output_cost_per_token": 2e-6,
7114
+ "cache_read_input_token_cost": 25e-9,
7115
+ "max_tokens": 128e3,
7116
+ "max_input_tokens": 272e3,
7117
+ "max_output_tokens": 128e3
7118
+ },
7079
7119
  "gpt-5-mini": {
7080
7120
  "input_cost_per_token": 25e-8,
7081
7121
  "output_cost_per_token": 2e-6,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/codex",
3
- "version": "17.1.4",
3
+ "version": "17.1.5",
4
4
  "description": "Usage analysis tool for OpenAI Codex sessions",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {