@tangle-network/agent-app 0.46.60 → 0.47.1
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/README.md +12 -0
- package/dist/chat-routes/index.js +1 -1
- package/dist/{chunk-WSRECTKA.js → chunk-P6YXUGNA.js} +29 -47
- package/dist/chunk-P6YXUGNA.js.map +1 -0
- package/dist/sandbox/index.d.ts +4 -11
- package/dist/sandbox/index.js +1 -3
- package/package.json +1 -1
- package/dist/chunk-WSRECTKA.js.map +0 -1
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -111,23 +111,16 @@ export interface StoppedSandboxResumeRecovery {
|
|
|
111
111
|
replacementBoxKey: string;
|
|
112
112
|
restore?: SandboxRestoreSpec | null;
|
|
113
113
|
}
|
|
114
|
-
/**
|
|
115
|
-
* Default ERE passed to `pgrep -f` when a liveness probe does not override the
|
|
116
|
-
* harness-process matcher. It covers the platform process names used by the
|
|
117
|
-
* fleet's shared OpenCode, Claude Code, and Codex terminal path; products with
|
|
118
|
-
* another harness can override it.
|
|
119
|
-
*/
|
|
120
|
-
export declare const DEFAULT_SIDECAR_PROCESS_PATTERN = "opencode|claude|codex";
|
|
121
|
-
/** Define configuration for liveness probes including sidecar process pattern and optional timeouts */
|
|
114
|
+
/** Configure runtime exec verification before reusing a sandbox. */
|
|
122
115
|
export interface LivenessProbeConfig {
|
|
123
|
-
|
|
116
|
+
/** Process timeout passed to the Sandbox SDK. Defaults to 5 seconds.
|
|
117
|
+
* SDK readiness and transport deadlines also apply. */
|
|
124
118
|
execTimeoutMs?: number;
|
|
125
|
-
psTimeoutMs?: number;
|
|
126
119
|
/**
|
|
127
120
|
* Reuse a successful liveness result for this many milliseconds for the
|
|
128
121
|
* same box id. Defaults to 5 seconds; set to 0 to probe on every reuse.
|
|
129
122
|
*
|
|
130
|
-
* Only the exec
|
|
123
|
+
* Only the exec probe is cached. Runtime readiness, egress policy,
|
|
131
124
|
* deferred-file materialization, and bootstrap still run on every reuse.
|
|
132
125
|
* A box that dies during this window is surfaced by the next dispatch and
|
|
133
126
|
* is probed again after the TTL; the cache never triggers box deletion.
|
package/dist/sandbox/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
DEFAULT_PREWARM_CLAIM_TABLE,
|
|
5
5
|
DEFAULT_PROVISION_TIMEOUT_MS,
|
|
6
6
|
DEFAULT_SANDBOX_RESOURCES,
|
|
7
|
-
DEFAULT_SIDECAR_PROCESS_PATTERN,
|
|
8
7
|
EGRESS_PROXY_RECOVERY_PHASE,
|
|
9
8
|
EGRESS_PROXY_RECOVERY_REQUIRED,
|
|
10
9
|
ENV_TOTAL_MAX_BYTES,
|
|
@@ -99,7 +98,7 @@ import {
|
|
|
99
98
|
workspaceSandboxRecoveryMessage,
|
|
100
99
|
workspaceSandboxRecoveryRecommendedActions,
|
|
101
100
|
writeProfileFilesToBox
|
|
102
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-P6YXUGNA.js";
|
|
103
102
|
import "../chunk-MCYJON3F.js";
|
|
104
103
|
import "../chunk-LWSJK546.js";
|
|
105
104
|
import "../chunk-P5PIAQVS.js";
|
|
@@ -114,7 +113,6 @@ export {
|
|
|
114
113
|
DEFAULT_PREWARM_CLAIM_TABLE,
|
|
115
114
|
DEFAULT_PROVISION_TIMEOUT_MS,
|
|
116
115
|
DEFAULT_SANDBOX_RESOURCES,
|
|
117
|
-
DEFAULT_SIDECAR_PROCESS_PATTERN,
|
|
118
116
|
EGRESS_PROXY_RECOVERY_PHASE,
|
|
119
117
|
EGRESS_PROXY_RECOVERY_REQUIRED,
|
|
120
118
|
ENV_TOTAL_MAX_BYTES,
|
package/package.json
CHANGED