@narumitw/pi-codex-usage 0.4.1 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-codex-usage",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Pi extension that shows Codex ChatGPT subscription usage without requiring Codex CLI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -294,7 +294,7 @@ export default function codexUsage(pi: ExtensionAPI) {
294
294
  pi.on("session_shutdown", (_event, ctx) => clearUsageStatusline(ctx));
295
295
  }
296
296
 
297
- function parseArgs(
297
+ export function parseArgs(
298
298
  args: string,
299
299
  ): { ok: true; value: QueryUsageOptions } | { ok: false; error: string } {
300
300
  const tokens = args.trim().split(/\s+/).filter(Boolean);