@ccusage/codex 17.1.2 → 17.1.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/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.1.2";
900
+ var version = "17.1.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 = [];
@@ -6574,7 +6574,7 @@ function createConsola$1(options = {}) {
6574
6574
  defaults: { level: level$1 },
6575
6575
  stdout: process.stdout,
6576
6576
  stderr: process.stderr,
6577
- prompt: (...args) => import("./prompt-C-goQ9sU.js").then((m$1) => m$1.prompt(...args)),
6577
+ prompt: (...args) => import("./prompt-B7JRxMsC.js").then((m$1) => m$1.prompt(...args)),
6578
6578
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
6579
6579
  ...options
6580
6580
  });
@@ -7045,6 +7045,13 @@ const PREFETCHED_CODEX_PRICING = {
7045
7045
  "max_input_tokens": 272e3,
7046
7046
  "max_output_tokens": 128e3
7047
7047
  },
7048
+ "gpt-5-pro": {
7049
+ "input_cost_per_token": 15e-6,
7050
+ "output_cost_per_token": 12e-5,
7051
+ "max_tokens": 272e3,
7052
+ "max_input_tokens": 4e5,
7053
+ "max_output_tokens": 272e3
7054
+ },
7048
7055
  "gpt-5-codex": {
7049
7056
  "input_cost_per_token": 125e-8,
7050
7057
  "output_cost_per_token": 1e-5,
@@ -399,16 +399,16 @@ function G(t, u$1, F$1) {
399
399
  `).map((e$1) => oD(e$1, u$1, F$1)).join(`
400
400
  `);
401
401
  }
402
- const aD = [
403
- "up",
404
- "down",
405
- "left",
406
- "right",
407
- "space",
408
- "enter",
409
- "cancel"
410
- ], c = {
411
- actions: new Set(aD),
402
+ const c = {
403
+ actions: new Set([
404
+ "up",
405
+ "down",
406
+ "left",
407
+ "right",
408
+ "space",
409
+ "enter",
410
+ "cancel"
411
+ ]),
412
412
  aliases: new Map([
413
413
  ["k", "up"],
414
414
  ["j", "down"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/codex",
3
- "version": "17.1.2",
3
+ "version": "17.1.3",
4
4
  "description": "Usage analysis tool for OpenAI Codex sessions",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {