@ccusage/codex 17.0.0 → 17.0.1

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 +4 -2
  2. package/package.json +1 -1
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.0";
900
+ var version = "17.0.1";
901
901
  var description = "Usage analysis tool for OpenAI Codex sessions";
902
902
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
903
903
  let messages = [];
@@ -7778,7 +7778,9 @@ const subCommands = new Map([
7778
7778
  ]);
7779
7779
  const mainCommand = dailyCommand;
7780
7780
  async function run() {
7781
- await cli(process$1.argv.slice(2), mainCommand, {
7781
+ let args = process$1.argv.slice(2);
7782
+ if (args[0] === "ccusage-codex") args = args.slice(1);
7783
+ await cli(args, mainCommand, {
7782
7784
  name,
7783
7785
  version,
7784
7786
  description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/codex",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "Usage analysis tool for OpenAI Codex sessions",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {