ccc-notifier 0.6.2 → 0.6.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.
@@ -1143,7 +1143,7 @@ function renderDashboard(turns, opts, fullHistory) {
1143
1143
  const refreshMeta = reloadSec > 0 ? `<meta http-equiv="refresh" content="${reloadSec}">` : "";
1144
1144
  const updateTrigger = anyCodex ? "Claude Code / Codex \u306E\u5FDC\u7B54\u5B8C\u4E86\u6642" : "Claude Code \u306E\u5FDC\u7B54\u5B8C\u4E86\u6642";
1145
1145
  const autoUpdateFoot = reloadSec > 0 ? variant === "full" ? `<div class="foot">\u7D04 ${reloadSec} \u79D2\u3054\u3068\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u518D\u8AAD\u8FBC(\u5168\u5C65\u6B74\u7248\u306E\u751F\u6210\u306F\u6B63\u5E38\u306A sweep \u5B8C\u4E86\u6642\u3001\u30ED\u30FC\u30AB\u30EB\u65E5\u3054\u3068\u3001\u307E\u305F\u306F\u624B\u52D5 dashboard --all)</div>` : `<div class="foot">\u7D04 ${reloadSec} \u79D2\u3054\u3068\u306B\u81EA\u52D5\u66F4\u65B0(\u6700\u65B0\u5316\u306F ${updateTrigger}\u3001\u307E\u305F\u306F\u6B63\u5E38\u306A sweep \u5B8C\u4E86\u6642)</div>` : "";
1146
- const variantNav = variant === "recent" ? `<div class="sub"><strong>${recentVariantLabel}</strong> \xB7 ${opts.peerAvailable ? `<a href="report-all.html">\u5168\u5C65\u6B74\u7248\u3078 / Full history</a>` : `<span aria-disabled="true">\u5168\u5C65\u6B74\u7248\u306F\u672A\u751F\u6210\u3067\u3059\uFF08dashboard --all \u3067\u751F\u6210\uFF09 / Full history not generated</span>`}</div>` : variant === "full" ? `<div class="sub"><strong>\u5168\u5C65\u6B74\u7248 / Full history</strong> \xB7 ${opts.peerAvailable ? `<a href="report.html">\u76F4\u8FD1\u7248\u3078 / Recent</a>` : `<span aria-disabled="true">\u76F4\u8FD1\u7248\u306F\u672A\u751F\u6210\u3067\u3059\uFF08dashboard \u3067\u751F\u6210\uFF09 / Recent not generated</span>`}</div><div class="sub muted">\u6700\u7D42\u751F\u6210 ${esc(generatedAt)}\u3002\u6B63\u5E38\u306A sweep \u5B8C\u4E86\u6642\u3001\u30ED\u30FC\u30AB\u30EB\u65E5\u306E\u6700\u521D\u306E\u6B63\u5E38\u306A\u30BF\u30FC\u30F3\u6642\u3001\u307E\u305F\u306F\u624B\u52D5\u306E dashboard --all \u3067\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002</div>` : "";
1146
+ const variantNav = variant === "recent" ? `<div class="sub"><strong>${recentVariantLabel}</strong> \xB7 ${opts.peerAvailable ? `<a href="report-all.html">\u5168\u5C65\u6B74\u7248\u3078 / Full history</a>` : `<span aria-disabled="true">\u5168\u5C65\u6B74\u7248\u306F\u672A\u751F\u6210\u3067\u3059\uFF08dashboard --all \u3067\u751F\u6210\uFF09 / Full history not generated</span>`}</div>` : variant === "full" ? `<div class="sub"><strong>\u5168\u5C65\u6B74\u7248 / Full history</strong> \xB7 ${opts.peerAvailable ? `<a href="report.html">\u76F4\u8FD1\u7248\u3078 / Recent</a>` : `<span aria-disabled="true">\u76F4\u8FD1\u7248\u306F\u672A\u751F\u6210\u3067\u3059\uFF08dashboard \u3067\u751F\u6210\uFF09 / Recent not generated</span>`}</div><div class="sub muted">\u6700\u7D42\u751F\u6210 ${esc(generatedAt)}</div>` : "";
1147
1147
  const head = `<!doctype html><html lang="ja"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="color-scheme" content="light dark">` + refreshMeta + `<title>ccc-notifier \u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9</title>` + STYLE + `</head><body><div class="wrap">`;
1148
1148
  const foot = autoUpdateFoot + `<div class="foot">ccc-notifier v${esc(version)} \xB7 \u30C7\u30FC\u30BF\u306F\u30ED\u30FC\u30AB\u30EB\u306E\u307F / all data stays local</div></div><div id="cccn-tip" class="cccn-tip" hidden></div><script id="cccn-data" type="application/json">${dataJson}</script>` + APP_JS + `</body></html>`;
1149
1149
  const budgetSection = budgetCard(budgetUSD, budgetMonth, cfg.fx.fallbackRate, anyCodex, limited);
package/dist/cli.js CHANGED
@@ -908,7 +908,7 @@ function isCodexPassiveEvent(value) {
908
908
  async function runCodexPassiveHook(event, text) {
909
909
  try {
910
910
  if (event === "Stop") {
911
- const trackMod = await import("./track-WCP7446C.js");
911
+ const trackMod = await import("./track-RBLLR25M.js");
912
912
  await trackMod.runTrack(text, { codex: true });
913
913
  } else if (event === "UserPromptSubmit") {
914
914
  const activity = await import("./subagent-store-US4TJJQR.js");
@@ -993,7 +993,7 @@ async function main(argv) {
993
993
  const text = await readStdin();
994
994
  const codex = rest.includes("--codex");
995
995
  try {
996
- const trackMod = await import("./track-WCP7446C.js");
996
+ const trackMod = await import("./track-RBLLR25M.js");
997
997
  await trackMod.runTrack(text, { codex });
998
998
  } catch {
999
999
  }
@@ -1012,11 +1012,11 @@ async function main(argv) {
1012
1012
  case "report":
1013
1013
  return await runReport(rest);
1014
1014
  case "dashboard": {
1015
- const { runDashboard } = await import("./dashboard-VEKQ4TI3.js");
1015
+ const { runDashboard } = await import("./dashboard-O7LJLYM3.js");
1016
1016
  return await runDashboard(rest);
1017
1017
  }
1018
1018
  case "sweep": {
1019
- const { runSweep } = await import("./sweep-65D57PXU.js");
1019
+ const { runSweep } = await import("./sweep-CONNNBK7.js");
1020
1020
  return await runSweep(rest);
1021
1021
  }
1022
1022
  case "history": {
@@ -3,7 +3,7 @@ import {
3
3
  browserOpenPlan,
4
4
  runDashboard,
5
5
  writeDashboardHtml
6
- } from "./chunk-6UZXXO5J.js";
6
+ } from "./chunk-PYU7CAK2.js";
7
7
  import "./chunk-DGXUSPS4.js";
8
8
  import "./chunk-J5QAYTFE.js";
9
9
  import "./chunk-27SJELD2.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-6HTETN26.js";
21
21
  import {
22
22
  writeDashboardHtml
23
- } from "./chunk-6UZXXO5J.js";
23
+ } from "./chunk-PYU7CAK2.js";
24
24
  import "./chunk-DGXUSPS4.js";
25
25
  import {
26
26
  formatJPY,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-6HTETN26.js";
18
18
  import {
19
19
  writeDashboardHtml
20
- } from "./chunk-6UZXXO5J.js";
20
+ } from "./chunk-PYU7CAK2.js";
21
21
  import "./chunk-DGXUSPS4.js";
22
22
  import "./chunk-J5QAYTFE.js";
23
23
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccc-notifier",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Claude Code Cost notifier (now also covers Codex CLI): per-prompt cost notifications (USD/JPY) with local history and HTML dashboard",
5
5
  "keywords": [
6
6
  "claude",