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