@f-o-h/cli 0.1.22 → 0.1.24

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 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.22`
7
+ Current published baseline: `@f-o-h/cli@0.1.24`
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,7 +10502,9 @@ async function runDeviceLogin(opts) {
10502
10502
  expires_in: start.expires_in,
10503
10503
  poll_interval_seconds: start.interval
10504
10504
  };
10505
- const shouldWait = opts.wait !== false && !(jsonMode && !process.stdin.isTTY && !opts.timeoutSeconds);
10505
+ const isExternalAgentCapture = Boolean(process.env.FOH_EXTERNAL_AGENT_RUN_DIR);
10506
+ const isNonInteractiveJson = jsonMode && (isExternalAgentCapture || !process.stdin.isTTY || !process.stdout.isTTY);
10507
+ const shouldWait = opts.wait !== false && !(isNonInteractiveJson && !opts.timeoutSeconds);
10506
10508
  if (!shouldWait) {
10507
10509
  format({
10508
10510
  ...startedPacket,
@@ -32694,7 +32696,7 @@ var StdioServerTransport = class {
32694
32696
  };
32695
32697
 
32696
32698
  // src/lib/cli-version.ts
32697
- var CLI_VERSION = "0.1.22";
32699
+ var CLI_VERSION = "0.1.24";
32698
32700
 
32699
32701
  // src/commands/mcp-serve.ts
32700
32702
  var DEFAULT_TIMEOUT_MS = 12e4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f-o-h/cli",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "FOH CLI - AI-operator provisioning tool for Front Of House",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {