@f-o-h/cli 0.1.44 → 0.1.45
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 -3
- 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.45";
|
|
32805
32805
|
|
|
32806
32806
|
// src/commands/mcp-serve.ts
|
|
32807
32807
|
var DEFAULT_TIMEOUT_MS = 12e4;
|
|
@@ -39594,11 +39594,14 @@ function redactOutputArtifacts(run, input = {}) {
|
|
|
39594
39594
|
}
|
|
39595
39595
|
function copyCommandCaptureArtifacts(input) {
|
|
39596
39596
|
const commandLog = (0, import_path13.join)(input.captureDir, "commands.ndjson");
|
|
39597
|
-
if (
|
|
39598
|
-
|
|
39597
|
+
if ((0, import_fs15.existsSync)(commandLog)) {
|
|
39598
|
+
(0, import_fs15.writeFileSync)((0, import_path13.join)(input.runDir, "commands.ndjson"), (0, import_fs15.readFileSync)(commandLog, "utf8"), "utf8");
|
|
39599
|
+
}
|
|
39599
39600
|
for (const name of (0, import_fs15.readdirSync)(input.captureDir)) {
|
|
39600
39601
|
if (name.startsWith("command-output-cmd_")) {
|
|
39601
39602
|
(0, import_fs15.copyFileSync)((0, import_path13.join)(input.captureDir, name), (0, import_path13.join)(input.runDir, name));
|
|
39603
|
+
} else if (EXTERNAL_AGENT_METADATA_FILENAMES.includes(name)) {
|
|
39604
|
+
(0, import_fs15.copyFileSync)((0, import_path13.join)(input.captureDir, name), (0, import_path13.join)(input.runDir, name));
|
|
39602
39605
|
}
|
|
39603
39606
|
}
|
|
39604
39607
|
}
|