@tokz/cli 0.2.23 → 0.2.24

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.
@@ -811,7 +811,7 @@ async function parseCodexRollout(file, seen = /* @__PURE__ */ new Set()) {
811
811
  let firstSecond;
812
812
  for (const p of lines) {
813
813
  if (p.type !== "event_msg" || p.payload?.type !== "token_count") continue;
814
- const info = p.payload.info;
814
+ const info = asDict(p.payload.info);
815
815
  if (!info) continue;
816
816
  if (!asDict(info.last_token_usage) && !asDict(info.total_token_usage)) continue;
817
817
  const ts = p.timestamp;
package/dist/cli.js CHANGED
@@ -276,7 +276,7 @@ program.action(async () => {
276
276
  const [{ render }, React, { Root }, { Fullscreen }] = await Promise.all([
277
277
  import("ink"),
278
278
  import("react"),
279
- import("./Root-UTHGAOXG.js"),
279
+ import("./Root-TSFGS7DV.js"),
280
280
  import("./Fullscreen-GK2ZYXHV.js")
281
281
  ]);
282
282
  render(React.createElement(Fullscreen, null, React.createElement(Root)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokz/cli",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "See where your coding agents' tokens and dollars actually go.",
5
5
  "keywords": [
6
6
  "claude",