@f-o-h/cli 0.1.84 → 0.1.86
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/dist/foh.js +7 -1
- package/package.json +1 -1
package/dist/foh.js
CHANGED
|
@@ -33055,7 +33055,9 @@ var StdioServerTransport = class {
|
|
|
33055
33055
|
};
|
|
33056
33056
|
|
|
33057
33057
|
// src/lib/cli-version.ts
|
|
33058
|
-
var
|
|
33058
|
+
var injectedVersion = true ? String("0.1.86").trim() : "";
|
|
33059
|
+
var envVersion = String(process.env.FOH_CLI_VERSION || process.env.npm_package_version || "").trim();
|
|
33060
|
+
var CLI_VERSION = injectedVersion || envVersion || "0.0.0-dev";
|
|
33059
33061
|
|
|
33060
33062
|
// src/commands/mcp-serve.ts
|
|
33061
33063
|
var DEFAULT_TIMEOUT_MS = 12e4;
|
|
@@ -41466,6 +41468,10 @@ function classifyExternalAgentRun(input) {
|
|
|
41466
41468
|
if (hasMetadataBlocker(/^api_health:/i) && metadataBlockerCodes.some((reason) => /^customer_owned_requirement_unverified:/i.test(reason))) {
|
|
41467
41469
|
return { status: "hold", reasonCode: "customer_owned_requirements_unverified_expected_hold" };
|
|
41468
41470
|
}
|
|
41471
|
+
const firstCommandReasonCode = commandReasonCodes2.find((reason) => reason.trim().length > 0) ?? null;
|
|
41472
|
+
if (firstCommandReasonCode) {
|
|
41473
|
+
return { status: "hold", reasonCode: firstCommandReasonCode };
|
|
41474
|
+
}
|
|
41469
41475
|
const lastMessage = readIfExists(input.run.outputs.last_message);
|
|
41470
41476
|
const stderr = readIfExists(input.run.outputs.stderr);
|
|
41471
41477
|
const combined = `${lastMessage}
|