@wbern/cc-ping 1.10.1 → 1.10.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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -6
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1783,7 +1783,7 @@ function censorHandle(handle) {
1783
1783
  }
1784
1784
  function censorPart(part) {
1785
1785
  if (part.length <= 1) return part;
1786
- return part[0] + "*".repeat(part.length - 1);
1786
+ return part[0] + "\xB7".repeat(part.length - 1);
1787
1787
  }
1788
1788
  function censorDomain(domain) {
1789
1789
  const lastDot = domain.lastIndexOf(".");
@@ -2020,7 +2020,7 @@ function getDeferredHandles() {
2020
2020
  }
2021
2021
  return deferred;
2022
2022
  }
2023
- var program = new Command().name("cc-ping").description("Ping Claude Code sessions to trigger quota windows early").version("1.10.1").option(
2023
+ var program = new Command().name("cc-ping").description("Ping Claude Code sessions to trigger quota windows early").version("1.10.2").option(
2024
2024
  "--config <path>",
2025
2025
  "Path to config directory (default: ~/.config/cc-ping, env: CC_PING_CONFIG)"
2026
2026
  ).hook("preAction", (thisCommand) => {
@@ -2249,7 +2249,7 @@ daemon.command("start").description("Start the daemon process").option(
2249
2249
  bell: opts.bell,
2250
2250
  notify: opts.notify,
2251
2251
  smartSchedule,
2252
- version: "1.10.1"
2252
+ version: "1.10.2"
2253
2253
  });
2254
2254
  if (!result.success) {
2255
2255
  console.error(result.error);
@@ -2285,7 +2285,7 @@ daemon.command("stop").description("Stop the daemon process").action(async () =>
2285
2285
  daemon.command("status").description("Show daemon status").option("--json", "Output as JSON", false).option("--censor", "Mask account handles in output (for screenshots)").action(async (opts) => {
2286
2286
  const { getServiceStatus: getServiceStatus2 } = await Promise.resolve().then(() => (init_service(), service_exports));
2287
2287
  const svc = getServiceStatus2();
2288
- const status = getDaemonStatus({ currentVersion: "1.10.1" });
2288
+ const status = getDaemonStatus({ currentVersion: "1.10.2" });
2289
2289
  if (opts.json) {
2290
2290
  const serviceInfo = svc.installed ? {
2291
2291
  service: {
@@ -2346,7 +2346,7 @@ daemon.command("status").description("Show daemon status").option("--json", "Out
2346
2346
  if (status.versionMismatch) {
2347
2347
  console.log(
2348
2348
  yellow(
2349
- ` Warning: daemon is running v${status.daemonVersion} but v${"1.10.1"} is installed.`
2349
+ ` Warning: daemon is running v${status.daemonVersion} but v${"1.10.2"} is installed.`
2350
2350
  )
2351
2351
  );
2352
2352
  console.log(
@@ -2414,7 +2414,7 @@ daemon.command("_run", { hidden: true }).option("--interval-ms <ms>", "Ping inte
2414
2414
  startedAt: (/* @__PURE__ */ new Date()).toISOString(),
2415
2415
  intervalMs,
2416
2416
  configDir: resolveConfigDir2(),
2417
- version: "1.10.1"
2417
+ version: "1.10.2"
2418
2418
  });
2419
2419
  }
2420
2420
  await runDaemonWithDefaults(intervalMs, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wbern/cc-ping",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Ping Claude Code sessions to trigger quota windows early across multiple accounts",
5
5
  "type": "module",
6
6
  "bin": {