@ccusage/codex 17.0.2 → 17.0.3

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/README.md CHANGED
@@ -68,6 +68,9 @@ npx @ccusage/codex@latest monthly
68
68
 
69
69
  # Monthly JSON report for integrations
70
70
  npx @ccusage/codex@latest monthly --json
71
+
72
+ # Session-level detailed report
73
+ npx @ccusage/codex@latest sessions
71
74
  ```
72
75
 
73
76
  Useful environment variables:
package/dist/index.js CHANGED
@@ -897,7 +897,7 @@ async function executeCommand(cmd, ctx, name$1) {
897
897
  await resolved.run(ctx);
898
898
  }
899
899
  var name = "@ccusage/codex";
900
- var version = "17.0.2";
900
+ var version = "17.0.3";
901
901
  var description = "Usage analysis tool for OpenAI Codex sessions";
902
902
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
903
903
  let messages = [];
@@ -2744,6 +2744,14 @@ const sharedArgs = {
2744
2744
  type: "boolean",
2745
2745
  description: "Force compact table layout for narrow terminals",
2746
2746
  default: false
2747
+ },
2748
+ color: {
2749
+ type: "boolean",
2750
+ description: "Enable colored output (default: auto). FORCE_COLOR=1 has the same effect."
2751
+ },
2752
+ noColor: {
2753
+ type: "boolean",
2754
+ description: "Disable colored output (default: auto). NO_COLOR=1 has the same effect."
2747
2755
  }
2748
2756
  };
2749
2757
  var castComparer = function(comparer) {
@@ -6991,6 +6999,14 @@ const PREFETCHED_CODEX_PRICING = {
6991
6999
  "max_input_tokens": 272e3,
6992
7000
  "max_output_tokens": 128e3
6993
7001
  },
7002
+ "azure/gpt-5-codex": {
7003
+ "input_cost_per_token": 125e-8,
7004
+ "output_cost_per_token": 1e-5,
7005
+ "cache_read_input_token_cost": 125e-9,
7006
+ "max_tokens": 128e3,
7007
+ "max_input_tokens": 272e3,
7008
+ "max_output_tokens": 128e3
7009
+ },
6994
7010
  "azure/gpt-5-mini": {
6995
7011
  "input_cost_per_token": 25e-8,
6996
7012
  "output_cost_per_token": 2e-6,
@@ -7055,6 +7071,14 @@ const PREFETCHED_CODEX_PRICING = {
7055
7071
  "max_input_tokens": 4e5,
7056
7072
  "max_output_tokens": 128e3
7057
7073
  },
7074
+ "gpt-5-codex": {
7075
+ "input_cost_per_token": 125e-8,
7076
+ "output_cost_per_token": 1e-5,
7077
+ "cache_read_input_token_cost": 125e-9,
7078
+ "max_tokens": 128e3,
7079
+ "max_input_tokens": 272e3,
7080
+ "max_output_tokens": 128e3
7081
+ },
7058
7082
  "gpt-5-mini": {
7059
7083
  "input_cost_per_token": 25e-8,
7060
7084
  "output_cost_per_token": 2e-6,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/codex",
3
- "version": "17.0.2",
3
+ "version": "17.0.3",
4
4
  "description": "Usage analysis tool for OpenAI Codex sessions",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {