@herdingchats/friday 0.1.561 → 0.1.563

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/herd.mjs +3 -2
  2. package/package.json +2 -2
package/herd.mjs CHANGED
@@ -18,7 +18,7 @@ var __export = (target, all) => {
18
18
  var define_HERD_PACKAGE_default;
19
19
  var init_define_HERD_PACKAGE = __esm({
20
20
  "<define:HERD_PACKAGE>"() {
21
- define_HERD_PACKAGE_default = { version: "0.1.561", gitHead: "dc277703d4460a12bee165c4c4e6653088631c16" };
21
+ define_HERD_PACKAGE_default = { version: "0.1.563", gitHead: "055f38c1feb0ea86dac8b463c249d3f7cd782018" };
22
22
  }
23
23
  });
24
24
 
@@ -7603,6 +7603,7 @@ var QUEUED = /\(alt\+m to send immediately\)\s*$|Press up to edit queued message
7603
7603
  var TRUST_QUESTION = /^\s*Do you trust the contents of this project\?/;
7604
7604
  var TRUST_YES = /^\s*(>)?\s*Yes, I trust this folder/;
7605
7605
  var NOT_SIGNED_IN = /You are currently not signed in\./;
7606
+ var LOGIN_METHODS = /^\s*Select login method:/;
7606
7607
  var RESUME_HINT = /^Resume with -c/;
7607
7608
  function promptBox2(lines) {
7608
7609
  for (let bottom = lines.length - 1; bottom >= 2; bottom--) {
@@ -7641,7 +7642,7 @@ function readAgyScreen(raw) {
7641
7642
  trustPrompt: { yesHighlighted: Boolean(yes && TRUST_YES.exec(yes)?.[1]) }
7642
7643
  };
7643
7644
  }
7644
- if (lines.some((line2) => NOT_SIGNED_IN.test(line2))) {
7645
+ if (lines.some((line2) => NOT_SIGNED_IN.test(line2)) && lines.some((line2) => LOGIN_METHODS.test(line2))) {
7645
7646
  return { ...reading, program: "agy", state: "signed_out" };
7646
7647
  }
7647
7648
  const last = [...lines].reverse().find((line2) => line2.trim().length > 0) ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herdingchats/friday",
3
- "version": "0.1.561",
3
+ "version": "0.1.563",
4
4
  "description": "Friday, HerdingChats' agent daemon, and the herd command it runs agents with.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,5 +22,5 @@
22
22
  "satori": "0.32.0",
23
23
  "zod": "4.6.7"
24
24
  },
25
- "gitHead": "dc277703d4460a12bee165c4c4e6653088631c16"
25
+ "gitHead": "055f38c1feb0ea86dac8b463c249d3f7cd782018"
26
26
  }