@f-o-h/cli 0.1.20 → 0.1.21
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/README.md +1 -1
- package/dist/foh.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ AI-operator provisioning CLI for Front Of House.
|
|
|
4
4
|
|
|
5
5
|
Public mirror: https://github.com/iiko38/front-of-house-cli
|
|
6
6
|
|
|
7
|
-
Current published baseline: `@f-o-h/cli@0.1.
|
|
7
|
+
Current published baseline: `@f-o-h/cli@0.1.21`
|
|
8
8
|
|
|
9
9
|
This mirror is a generated release artifact. The private product monorepo is not
|
|
10
10
|
published here, and no open-source license is granted unless stated separately.
|
package/dist/foh.js
CHANGED
|
@@ -10502,12 +10502,13 @@ async function runDeviceLogin(opts) {
|
|
|
10502
10502
|
expires_in: start.expires_in,
|
|
10503
10503
|
poll_interval_seconds: start.interval
|
|
10504
10504
|
};
|
|
10505
|
-
|
|
10505
|
+
const shouldWait = opts.wait !== false && !(jsonMode && !process.stdin.isTTY && !opts.timeoutSeconds);
|
|
10506
|
+
if (!shouldWait) {
|
|
10506
10507
|
format({
|
|
10507
10508
|
...startedPacket,
|
|
10508
10509
|
next_commands: [
|
|
10509
10510
|
"Complete approval in the opened browser window.",
|
|
10510
|
-
"Then rerun: foh auth login --web --json"
|
|
10511
|
+
"Then rerun: foh auth login --web --json --timeout-seconds 60, or use FOH_SERVICE_TOKEN/FOH_ORG_ID for non-interactive automation."
|
|
10511
10512
|
]
|
|
10512
10513
|
}, { json: jsonMode });
|
|
10513
10514
|
return;
|
|
@@ -32693,7 +32694,7 @@ var StdioServerTransport = class {
|
|
|
32693
32694
|
};
|
|
32694
32695
|
|
|
32695
32696
|
// src/lib/cli-version.ts
|
|
32696
|
-
var CLI_VERSION = "0.1.
|
|
32697
|
+
var CLI_VERSION = "0.1.21";
|
|
32697
32698
|
|
|
32698
32699
|
// src/commands/mcp-serve.ts
|
|
32699
32700
|
var DEFAULT_TIMEOUT_MS = 12e4;
|