@opengeni/runtime 0.13.3 → 0.13.10
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/{chunk-SSB7VOLE.js → chunk-QYXOVIUK.js} +15 -4
- package/dist/chunk-QYXOVIUK.js.map +1 -0
- package/dist/{chunk-JGUQSAG5.js → chunk-RHB7ETON.js} +3078 -3030
- package/dist/chunk-RHB7ETON.js.map +1 -0
- package/dist/{index-DU-KXVlx.d.ts → index-Ciehex_q.d.ts} +13 -2
- package/dist/index.d.ts +11 -3
- package/dist/index.js +255 -43
- package/dist/index.js.map +1 -1
- package/dist/mcp-network.d.ts +1 -0
- package/dist/mcp-network.js +1 -1
- package/dist/sandbox/index.d.ts +1 -1
- package/dist/sandbox/index.js +1 -1
- package/package.json +3 -3
- package/src/bundled_hashicorp_terraform_skills/terraform-stacks/references/troubleshooting.md +1 -1
- package/src/codex-tool-search.ts +161 -36
- package/src/index.ts +209 -25
- package/src/mcp-network.ts +15 -3
- package/src/sandbox/index.ts +1 -0
- package/src/sandbox/routing/routing-session.ts +49 -4
- package/src/sandbox/run-credentials.ts +2 -2
- package/src/sandbox/turn-tool-cancellation.ts +29 -0
- package/src/sandbox/workspace-archive.ts +4 -1
- package/src/sandbox-computer.ts +5 -2
- package/dist/chunk-JGUQSAG5.js.map +0 -1
- package/dist/chunk-SSB7VOLE.js.map +0 -1
package/src/sandbox-computer.ts
CHANGED
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
PointerButton,
|
|
40
40
|
type DesktopInputRequest,
|
|
41
41
|
} from "@opengeni/agent-proto";
|
|
42
|
+
import { redactSensitiveText } from "@opengeni/contracts";
|
|
42
43
|
|
|
43
44
|
import { sandboxCommandExitCode, sandboxCommandOutput, sandboxCommandStillRunning } from "./index";
|
|
44
45
|
// `stripExecBanner` is the SAME pure helper recording.ts uses to recover the raw
|
|
@@ -328,7 +329,7 @@ export class SandboxComputer implements Computer {
|
|
|
328
329
|
// produces empty bytes, and the retry loop eventually throws. The wire-level
|
|
329
330
|
// backstop in computerCallNormalizingFetch is also in place as a second net.
|
|
330
331
|
console.warn(
|
|
331
|
-
`[SandboxComputer] action command did not finish before the ${ACTION_YIELD_MS}ms yield window — proceeding to screenshot: ${cmd}`,
|
|
332
|
+
`[SandboxComputer] action command did not finish before the ${ACTION_YIELD_MS}ms yield window — proceeding to screenshot: ${redactSensitiveText(cmd)}`,
|
|
332
333
|
);
|
|
333
334
|
return output;
|
|
334
335
|
}
|
|
@@ -758,7 +759,9 @@ export class NativeDesktopComputer implements Computer {
|
|
|
758
759
|
// Exhausted the budget (or hit a terminal denial): FAIL LOUD. Log the specific
|
|
759
760
|
// reason so the failure is DIAGNOSABLE (not a silent blank the model misreads),
|
|
760
761
|
// then rethrow — never return "".
|
|
761
|
-
const reason =
|
|
762
|
+
const reason = redactSensitiveText(
|
|
763
|
+
lastError instanceof Error ? lastError.message : String(lastError),
|
|
764
|
+
);
|
|
762
765
|
console.warn(
|
|
763
766
|
`[NativeDesktopComputer] screenshot failed after ${attempt} attempt(s): ${reason}`,
|
|
764
767
|
);
|