harlay 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/app/dist/main.cjs CHANGED
@@ -3234,7 +3234,15 @@ var LIMIT_NOTICES = [
3234
3234
  "Your * resets * Try again then",
3235
3235
  "Your * resets * Send a message then",
3236
3236
  // ChatGPT, signed out
3237
- "You have reached the anonymous message limit"
3237
+ "You have reached the anonymous message limit",
3238
+ // ChatGPT, signed in ("You've hit your usage limit", above, is ChatGPT's too). The server's own 429 message, which
3239
+ // ChatGPT itself spots by this start; the model cap; the out-of-messages panel's titles; Work's limit.
3240
+ "You've reached our limit of messages",
3241
+ "You've reached our limits of messages",
3242
+ "You've reached the current usage cap for",
3243
+ "You're out of messages with",
3244
+ "You've reached a limit$",
3245
+ "You've reached your Work limit"
3238
3246
  ];
3239
3247
  function isLimitText(s) {
3240
3248
  const self = isLimitText;
package/dist/harlay.mjs CHANGED
@@ -2479,7 +2479,8 @@ function harlayDataDir(home = homedir3()) {
2479
2479
  return join12(home, "Library", "Application Support", "Harlay");
2480
2480
  }
2481
2481
  async function uninstallApp(opts) {
2482
- await quitRunningApp();
2482
+ const app = join12(opts.dir, "Harlay.app");
2483
+ if (existsSync2(app)) await (opts.quit ?? quitRunningApp)();
2483
2484
  try {
2484
2485
  await removeBridge(opts.home, harlayDataDir(opts.home));
2485
2486
  opts.log("Restored your Claude Code status line settings.\n");
@@ -2487,7 +2488,6 @@ async function uninstallApp(opts) {
2487
2488
  opts.log(`Left ~/.claude/settings.json unchanged: ${e instanceof Error ? e.message : String(e)}
2488
2489
  `);
2489
2490
  }
2490
- const app = join12(opts.dir, "Harlay.app");
2491
2491
  if (!existsSync2(app)) {
2492
2492
  opts.log(`No Harlay.app in ${opts.dir}.
2493
2493
  `);
@@ -2553,7 +2553,7 @@ async function installApp(opts) {
2553
2553
  }
2554
2554
 
2555
2555
  // src/main.ts
2556
- var VERSION = "0.4.1";
2556
+ var VERSION = "0.4.2";
2557
2557
  var HELP = `harlay ${VERSION} \u2014 hand off a stalled AI coding session to another agent
2558
2558
 
2559
2559
  Usage:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harlay",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Move a coding task between AI agents (Claude Code, Codex, Cursor) when one stops. macOS desktop app and CLI.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",