@f-o-h/cli 0.1.48 → 0.1.49
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 +6 -2
- package/package.json +1 -1
package/dist/foh.js
CHANGED
|
@@ -32801,7 +32801,7 @@ var StdioServerTransport = class {
|
|
|
32801
32801
|
};
|
|
32802
32802
|
|
|
32803
32803
|
// src/lib/cli-version.ts
|
|
32804
|
-
var CLI_VERSION = "0.1.
|
|
32804
|
+
var CLI_VERSION = "0.1.49";
|
|
32805
32805
|
|
|
32806
32806
|
// src/commands/mcp-serve.ts
|
|
32807
32807
|
var DEFAULT_TIMEOUT_MS = 12e4;
|
|
@@ -36710,7 +36710,7 @@ function inferOwnerSubsystem(sourceType, reasonCode) {
|
|
|
36710
36710
|
if (sourceType === "external_agent_run") {
|
|
36711
36711
|
if (reason.includes("simulation") || reason.includes("certification") || reason.includes("scenario")) return "dojo_certification";
|
|
36712
36712
|
if (reason.includes("contact_phone") || reason.includes("voice_contact") || reason.includes("voice_not_included") || reason.includes("byon") || reason.includes("provider_capacity")) return "voice_contact";
|
|
36713
|
-
if (reason.includes("exec_policy") || reason.includes("policy_blocked") || reason.includes("sandbox") || reason.includes("runner") || reason.includes("codex")) return "infra_runner";
|
|
36713
|
+
if (reason.includes("eval_auth") || reason.includes("exec_policy") || reason.includes("policy_blocked") || reason.includes("sandbox") || reason.includes("runner") || reason.includes("codex")) return "infra_runner";
|
|
36714
36714
|
if (reason.includes("friendlyname") || reason.includes("guardrail") || reason.includes("rule_id") || reason.includes("api") || reason.includes("http_4") || reason.includes("http_5") || reason.includes("404") || reason.includes("500") || reason.includes("roundtrip")) return "api_contract";
|
|
36715
36715
|
if (reason.includes("cli") || reason.includes("command") || reason.includes("flag")) return "cli";
|
|
36716
36716
|
if (reason.includes("docs") || reason.includes("unclear") || reason.includes("not_found")) return "docs";
|
|
@@ -36769,6 +36769,10 @@ function defaultNextCommands(input) {
|
|
|
36769
36769
|
commands.push("foh provision status --json");
|
|
36770
36770
|
commands.push(input.ids.agent_id ? `foh prove --agent ${input.ids.agent_id} --mission voice --contact-path auto --json` : "foh prove --mission voice --contact-path auto --json");
|
|
36771
36771
|
}
|
|
36772
|
+
if (input.ownerSubsystem === "infra_runner") {
|
|
36773
|
+
commands.push("foh auth whoami --json");
|
|
36774
|
+
commands.push("foh eval external-agent execute --runner codex --dry-run --json");
|
|
36775
|
+
}
|
|
36772
36776
|
if (input.sourceArtifactPath) {
|
|
36773
36777
|
commands.push(`foh bug report --out test-results/bug-report.from-improvement.json --command "investigate ${input.reasonCode}" --request-url https://front-of-house-api.stldocs.app/api --response-status 500 --next-check "Review ${(0, import_path7.basename)(input.sourceArtifactPath)}" --json`);
|
|
36774
36778
|
}
|