import { a as normalizeZaiEnv, i as normalizeEnv, n as isVitestRuntimeEnv, r as logAcceptedEnvOption, t as isTruthyEnvValue } from "../env-D9zNF4UR.js";
import { C as resolveExpiresAtMsFromDurationOrEpoch, T as resolveExpiresAtMsFromEpochSeconds, _ as parseStrictInteger, b as positiveSecondsToSafeMilliseconds, d as clampTimerTimeoutMs, f as finiteSecondsToTimerSafeMilliseconds, g as parseStrictFiniteNumber, h as parseFiniteNumber, m as nonNegativeSecondsToSafeMilliseconds, n as MAX_TIMER_TIMEOUT_MS, r as MAX_TIMER_TIMEOUT_SECONDS, v as parseStrictNonNegativeInteger, w as resolveExpiresAtMsFromDurationSeconds, y as parseStrictPositiveInteger } from "../number-coercion-CU7MBp2A.js";
import "../parse-finite-number-D0XNMNbx.js";
import { a as resolveOsHomeRelativePath, c as resolveUserPath, i as resolveOsHomeDir, n as resolveEffectiveHomeDir, o as resolveRequiredHomeDir, r as resolveHomeRelativePath, s as resolveRequiredOsHomeDir, t as expandHomePrefix } from "../home-dir-DxcD0hdR.js";
import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, l as stringifyNonErrorCause, n as detectErrorKind, o as hasErrnoCode, r as extractErrorCode, s as isErrno, t as collectErrorGraphCandidates } from "../errors-Cq_Pdh35.js";
import { _ as writeTextAtomic, a as readJsonFile, c as readJsonSync, d as readRootStructuredFileSync, f as tryReadJson, g as writeJsonSync, h as writeJsonAtomic, i as readJson, l as readRootJsonObjectSync, m as writeJson, n as createAsyncLock, o as readJsonFileStrict, p as tryReadJsonSync, r as readDurableJsonFile, s as readJsonIfExists, t as JsonFileReadError, u as readRootJsonSync } from "../json-files-BiJ8jTLe.js";
import { C as FsSafeError$1 } from "../path-CDlvTIfD.js";
import { H as resolveLocalPathFromRootsSync$1, P as withTimeout$1, U as pathExists$1, W as pathExistsSync$1, j as writeExternalFileWithinRoot$1 } from "../fs-safe-CmlZlB6k.js";
import { a as root$1, r as openLocalFileSafely$1 } from "../secure-temp-dir-aCJMpiaO.js";
import { a as resolveRegularFileAppendFlags$1, i as readRegularFileSync$1, n as appendRegularFileSync$1, o as statRegularFile$1, r as readRegularFile$1, s as statRegularFileSync$1, t as appendRegularFile$1 } from "../regular-file-B6htoRh4.js";
import { c as isDiagnosticsEnabled, n as emitDiagnosticEvent, t as areDiagnosticsEnabledForProcess, u as onDiagnosticEvent } from "../diagnostic-events-CKGnJ7YJ.js";
import { n as resolvePreferredNodmixTmpDir, t as POSIX_NODMIX_TMP_DIR } from "../tmp-nodmix-dir-C4-0E0hu.js";
import { n as matchesDiagnosticFlag, r as resolveDiagnosticFlags, t as isDiagnosticFlagEnabled } from "../diagnostic-flags-DLXxLjbK.js";
import { t as runTasksWithConcurrency } from "../run-with-concurrency-5cC57eDC.js";
import { S as resolvePolicyTargetTrustPath, _ as resolveExecutionTargetResolution, b as resolvePolicyTargetCandidatePath, c as matchAllowlist, d as resolveApprovalAuditCandidatePath, f as resolveApprovalAuditTrustPath, g as resolveExecutionTargetCandidatePath, h as resolveExecutableTrustPath, l as parseExecArgvToken, m as resolveCommandResolutionFromArgv, p as resolveCommandResolution, u as resolveAllowlistCandidatePath, v as resolveExecutionTargetTrustPath, x as resolvePolicyTargetResolution, y as resolvePolicyAllowlistCandidatePath } from "../exec-safe-bin-trust-B9F5Fmcn.js";
import { a as resetFileLockStateForTest, i as drainFileLockStateForTest, n as FILE_LOCK_TIMEOUT_ERROR_CODE, o as withFileLock, r as acquireFileLock } from "../file-lock-BxTIHJff.js";
import "../file-lock-CXCP-8xI.js";
import { a as resetWSLStateForTests, i as isWSLSync, n as isWSL2Sync, r as isWSLEnv, t as isWSL } from "../wsl-PMQsjQmL.js";
import { a as matchesNoProxy, c as shouldUseEnvHttpProxyForUrl, i as hasProxyEnvConfigured, n as hasEnvHttpProxyAgentConfigured, o as resolveEnvHttpProxyAgentOptions, r as hasEnvHttpProxyConfigured, s as resolveEnvHttpProxyUrl, t as PROXY_ENV_KEYS } from "../proxy-env-C1JTLMaY.js";
import { a as forceResetGlobalDispatcher, i as ensureGlobalUndiciStreamTimeouts, n as ensureGlobalUndiciDispatcherStreamTimeouts, o as globalUndiciStreamTimeoutMs, r as ensureGlobalUndiciEnvProxyDispatcher, s as resetGlobalUndiciStreamTimeoutsForTests, t as DEFAULT_UNDICI_STREAM_TIMEOUT_MS } from "../undici-global-dispatcher-DGxswrs2.js";
import { n as buildTimeoutAbortSignal, r as fetchWithTimeout, t as bindAbortRelay } from "../fetch-timeout-B3sHimNI.js";
import { t as normalizeHostname } from "../hostname-BH0Sas5a.js";
import { _ as resolvePinnedHostnameWithPolicy, a as createPinnedDispatcher, b as ssrfPolicyFromHttpBaseUrlAllowedOrigin, c as isBlockedHostnameOrIp, d as isPrivateNetworkAllowedByPolicy, f as isSameSsrFPolicy, g as resolvePinnedHostname, h as normalizeHostnameAllowlist, i as closeDispatcher, l as isHostnameAllowedByPattern, m as mergeSsrFPolicies, n as assertHostnameAllowedWithPolicy, o as createPinnedLookup, p as matchesHostnameAllowlist, r as assertPublicHostname, s as isBlockedHostname, t as SsrFBlockedError, u as isPrivateIpAddress, v as resolveSsrFPolicyForUrl, x as ssrfPolicyFromHttpBaseUrlFakeIpHostnameAllowlist, y as ssrfPolicyFromHttpBaseUrlAllowedHostname } from "../ssrf-DHSaCLE-.js";
import { a as withTrustedEnvProxyGuardedFetchMode, i as withStrictGuardedFetchMode, n as fetchWithSsrFGuard, o as withTrustedExplicitProxyGuardedFetchMode, r as retainSafeHeadersForCrossOriginRedirectHeaders, t as GUARDED_FETCH_MODE } from "../fetch-guard-Br7dbAUq.js";
import { t as fetchWithRuntimeDispatcher } from "../runtime-fetch-4P_tZWEt.js";
import { t as pruneMapToMaxSize } from "../map-size-uFq9BGIH.js";
import { n as resolveNonNegativeIntegerOption } from "../numeric-options-BqOAoB4N.js";
import { n as resolveGlobalDedupeCache, t as createDedupeCache } from "../dedupe-I-teeQWR.js";
import { a as safeFileURLToPath, i as isWindowsNetworkPath, n as basenameFromMediaSource, o as trySafeFileURLToPath, r as hasEncodedFileUrlSeparator, t as assertNoWindowsNetworkPath } from "../local-file-access-ColoC4VC.js";
import { a as enqueueSystemEvent, c as peekSystemEventEntries, d as resolveSystemEventDeliveryContext, i as drainSystemEvents, l as peekSystemEvents, n as consumeSystemEventEntries, o as hasSystemEvents, r as drainSystemEventEntries, s as isSystemEventContextChanged, t as consumeSelectedSystemEventEntries, u as resetSystemEventsForTest } from "../system-events-BNJyCGny.js";
import { n as sleepWithAbort, t as computeBackoff } from "../backoff-BQ4uO4hX.js";
import { n as resolveHeartbeatIntervalMs, r as resolveHeartbeatSummaryForAgent, t as isHeartbeatEnabledForAgent } from "../heartbeat-summary-IdPHBdz7.js";
import { a as PLUGIN_APPROVAL_TITLE_MAX_LENGTH, c as buildPluginApprovalRequestMessage, i as PLUGIN_APPROVAL_DESCRIPTION_MAX_LENGTH, l as buildPluginApprovalResolvedMessage, n as DEFAULT_PLUGIN_APPROVAL_TIMEOUT_MS, o as approvalDecisionLabel, r as MAX_PLUGIN_APPROVAL_TIMEOUT_MS, s as buildPluginApprovalExpiredMessage, t as DEFAULT_PLUGIN_APPROVAL_DECISIONS, u as resolvePluginApprovalRequestAllowedDecisions } from "../plugin-approvals-BAd_Vwt-.js";
import { _ as windowsEscapeArg, a as resolveAllowAlwaysPatternEntries, c as analyzeArgvCommand, d as buildSafeBinsShellCommand, f as buildSafeShellCommand, g as splitCommandChainWithOperators, h as splitCommandChain, i as normalizeSafeBins, l as analyzeShellCommand, m as resolvePlannedSegmentArgv, n as evaluateShellAllowlist, o as resolveAllowAlwaysPatterns, p as isWindowsPlatform, r as isSafeBinUsage, s as resolveSafeBins, t as evaluateExecAllowlist, u as buildEnforcedShellCommand } from "../exec-approvals-allowlist-CrK6y49U.js";
import { A as resolveExecApprovals, C as recordAllowlistMatchesUse, D as requiresExecApproval, E as requireValidExecTarget, F as resolveExecModePolicy, I as resolveExecPolicyForMode, L as restoreExecApprovalsSnapshot, M as resolveExecApprovalsPath, N as resolveExecApprovalsSocketPath, O as resolveExecApprovalAllowedDecisions, P as resolveExecModeFromPolicy, R as saveExecApprovals, S as readExecApprovalsSnapshot, T as requestExecApprovalViaSocket, _ as normalizeExecHost, a as addAllowlistEntry, b as normalizeExecTarget, c as ensureExecApprovals, d as loadExecApprovals, f as maxAsk, g as normalizeExecAsk, h as normalizeExecApprovals, i as EXEC_TARGET_VALUES, j as resolveExecApprovalsFromFile, k as resolveExecApprovalRequestAllowedDecisions, l as hasDurableExecApproval, m as minSecurity, n as DEFAULT_EXEC_APPROVAL_DECISIONS, o as addDurableCommandApproval, p as mergeExecApprovalsSocketDefaults, r as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, s as commandRequiresSecurityAuditSuppressionApproval, t as DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, u as isExecApprovalDecisionAllowed, v as normalizeExecMode, w as recordAllowlistUse, x as persistAllowAlwaysPatterns, y as normalizeExecSecurity } from "../exec-approvals-BfKwplLL.js";
import { a as generateSecureUuid, i as generateSecureToken, n as generateSecureHex, r as generateSecureInt, t as generateSecureFraction } from "../secure-random-BxnbXS5x.js";
import { n as retryAsync, t as resolveRetryConfig } from "../retry-Ba24C6e3.js";
import { n as stripInternalRuntimeScaffolding, t as sanitizeForPlainText } from "../sanitize-text-DWB3UlzI.js";
import { n as resolveOutboundSendDep, t as resolveLegacyOutboundSendDepKeys } from "../send-deps-B-rmeTVl.js";
import { i as formatDurationSeconds, n as formatDurationHuman, r as formatDurationPrecise, t as formatDurationCompact } from "../format-duration-BrZ-AaEJ.js";
import { i as resolveProxyFetchFromEnv, n as getProxyUrlFromFetch, r as makeProxyFetch, t as PROXY_FETCH_PROXY_URL } from "../proxy-fetch-Dh9myJ9s.js";
import { n as hasSystemMark, r as prefixSystemMessage, t as SYSTEM_MARK } from "../system-message-DcYqWFJX.js";
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "../fetch-epO4cKXw.js";
import { a as readSecretFileSync, i as loadSecretFileSync, n as PRIVATE_SECRET_DIR_MODE, o as tryReadSecretFileSync, r as PRIVATE_SECRET_FILE_MODE, s as writePrivateSecretFileAtomic, t as DEFAULT_SECRET_FILE_MAX_BYTES } from "../secret-file-B85ZpJ9a.js";
import { n as recordChannelActivity, r as resetChannelActivityForTest, t as getChannelActivity } from "../channel-activity-eMQlJ3BE.js";
import { n as createRuntimeOutboundDelegates } from "../runtime-forwarders-CJHIfxll.js";
import { t as formatApprovalDisplayPath } from "../approval-display-paths-BqRczx-P.js";
import { a as buildExecApprovalActionDescriptors, c as buildExecApprovalPendingReplyPayload, d as formatExecApprovalExpiresIn, f as getExecApprovalApproverDmNoticeText, i as buildApprovalPresentationFromActionDescriptors, l as buildExecApprovalPresentation, m as parseExecApprovalCommandText, n as buildApprovalInteractiveReplyFromActionDescriptors, o as buildExecApprovalCommandText, p as getExecApprovalReplyMetadata, r as buildApprovalPresentation, s as buildExecApprovalInteractiveReply, t as buildApprovalInteractiveReply, u as buildExecApprovalUnavailableReplyPayload } from "../exec-approval-reply-CPP5O62J.js";
import { a as isExecApprovalChannelRuntimeTerminalStartError, i as createExecApprovalChannelRuntime, n as deliverApprovalRequestViaChannelNativePlan, o as resolveChannelNativeApprovalDeliveryPlan, r as ExecApprovalChannelRuntimeTerminalStartError, t as createChannelNativeApprovalRuntime } from "../approval-native-runtime-DSaaDQHB.js";
import { i as sanitizeExecApprovalWarningText, n as sanitizeExecApprovalDisplayText, r as sanitizeExecApprovalDisplayTextWithStatus, t as resolveExecApprovalCommandDisplay } from "../exec-approval-command-display-DNsDNtuf.js";
import { i as resolveExecApprovalSessionTarget, n as resolveApprovalRequestSessionConversation, r as resolveApprovalRequestSessionTarget, t as resolveApprovalRequestOriginTarget } from "../exec-approval-session-target-B4V59PtX.js";
import { n as resolveAgentOutboundIdentity, t as normalizeOutboundIdentity } from "../identity-BR3n9oVM.js";
import { a as resolveIndicatorType, i as resetHeartbeatEventsForTest, n as getLastHeartbeatEvent, r as onHeartbeatEvent, t as emitHeartbeatEvent } from "../heartbeat-events-2ddrbq9r.js";
import { t as resolveHeartbeatVisibility } from "../heartbeat-visibility-3WEdkb8M.js";
import { t as waitForTransportReady } from "../transport-ready-BvkC9WIS.js";
import { t as drainPendingDeliveries } from "../delivery-queue-runtime-CUU1RbFk.js";
import { a as isRequestBodyLimitError, c as requestBodyErrorToText, i as installRequestBodyLimitGuard, l as testApi, n as DEFAULT_WEBHOOK_MAX_BODY_BYTES, o as readJsonBodyWithLimit, r as RequestBodyLimitError, s as readRequestBodyWithLimit, t as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS } from "../http-body-DIDoFcj7.js";
import { n as createChannelApiRetryRunner, r as createRateLimitRetryRunner, t as CHANNEL_API_RETRY_DEFAULTS } from "../retry-policy-DgvOnB33.js";
import { i as normalizeScpRemotePath, n as isSafeScpRemotePath, r as normalizeScpRemoteHost, t as isSafeScpRemoteHost } from "../scp-host-Cdh9H3g-.js";
import { a as isHttpsUrlAllowedByHostnameSuffixAllowlist, c as normalizeHostnameSuffixAllowlist, d as ssrfPolicyFromPrivateNetworkOptIn, i as hasLegacyFlatAllowPrivateNetworkAlias, l as ssrfPolicyFromAllowPrivateNetwork, n as buildHostnameAllowlistPolicyFromSuffixAllowlist, o as isPrivateNetworkOptInEnabled, r as createLegacyPrivateNetworkDoctorContract, s as migrateLegacyFlatAllowPrivateNetworkAlias, t as assertHttpUrlTargetsPrivateNetwork, u as ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "../ssrf-policy-CfmsHccm.js";
//#region src/plugin-sdk/infra-runtime.ts
function appendRegularFile(...args) {
	return appendRegularFile$1(...args);
}
function appendRegularFileSync(...args) {
	return appendRegularFileSync$1(...args);
}
const FsSafeError = FsSafeError$1;
function openLocalFileSafely(...args) {
	return openLocalFileSafely$1(...args);
}
function pathExists(...args) {
	return pathExists$1(...args);
}
function pathExistsSync(...args) {
	return pathExistsSync$1(...args);
}
function readRegularFile(...args) {
	return readRegularFile$1(...args);
}
function resolveLocalPathFromRootsSync(...args) {
	return resolveLocalPathFromRootsSync$1(...args);
}
function readRegularFileSync(...args) {
	return readRegularFileSync$1(...args);
}
function resolveRegularFileAppendFlags(...args) {
	return resolveRegularFileAppendFlags$1(...args);
}
function root(...args) {
	return root$1(...args);
}
function statRegularFile(...args) {
	return statRegularFile$1(...args);
}
function statRegularFileSync(...args) {
	return statRegularFileSync$1(...args);
}
async function writeExternalFileWithinRoot(...args) {
	return await writeExternalFileWithinRoot$1(...args);
}
function withTimeout(promise, ms) {
	return withTimeout$1(promise, ms);
}
//#endregion
export { CHANNEL_API_RETRY_DEFAULTS, DEFAULT_EXEC_APPROVAL_ASK_FALLBACK, DEFAULT_EXEC_APPROVAL_DECISIONS, DEFAULT_EXEC_APPROVAL_TIMEOUT_MS, DEFAULT_PLUGIN_APPROVAL_DECISIONS, DEFAULT_PLUGIN_APPROVAL_TIMEOUT_MS, DEFAULT_SECRET_FILE_MAX_BYTES, DEFAULT_UNDICI_STREAM_TIMEOUT_MS, DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, DEFAULT_WEBHOOK_MAX_BODY_BYTES, EXEC_TARGET_VALUES, ExecApprovalChannelRuntimeTerminalStartError, FILE_LOCK_TIMEOUT_ERROR_CODE, FsSafeError, GUARDED_FETCH_MODE, JsonFileReadError, MAX_PLUGIN_APPROVAL_TIMEOUT_MS, MAX_TIMER_TIMEOUT_MS, MAX_TIMER_TIMEOUT_SECONDS, PLUGIN_APPROVAL_DESCRIPTION_MAX_LENGTH, PLUGIN_APPROVAL_TITLE_MAX_LENGTH, POSIX_NODMIX_TMP_DIR, PRIVATE_SECRET_DIR_MODE, PRIVATE_SECRET_FILE_MODE, PROXY_ENV_KEYS, PROXY_FETCH_PROXY_URL, RequestBodyLimitError, SYSTEM_MARK, SsrFBlockedError, testApi as __test__, testApi, acquireFileLock, addAllowlistEntry, addDurableCommandApproval, analyzeArgvCommand, analyzeShellCommand, appendRegularFile, appendRegularFileSync, approvalDecisionLabel, areDiagnosticsEnabledForProcess, assertHostnameAllowedWithPolicy, assertHttpUrlTargetsPrivateNetwork, assertNoWindowsNetworkPath, assertPublicHostname, basenameFromMediaSource, bindAbortRelay, buildApprovalInteractiveReply, buildApprovalInteractiveReplyFromActionDescriptors, buildApprovalPresentation, buildApprovalPresentationFromActionDescriptors, buildEnforcedShellCommand, buildExecApprovalActionDescriptors, buildExecApprovalCommandText, buildExecApprovalInteractiveReply, buildExecApprovalPendingReplyPayload, buildExecApprovalPresentation, buildExecApprovalUnavailableReplyPayload, buildHostnameAllowlistPolicyFromSuffixAllowlist, buildPluginApprovalExpiredMessage, buildPluginApprovalRequestMessage, buildPluginApprovalResolvedMessage, buildSafeBinsShellCommand, buildSafeShellCommand, buildTimeoutAbortSignal, clampTimerTimeoutMs, closeDispatcher, collectErrorGraphCandidates, commandRequiresSecurityAuditSuppressionApproval, computeBackoff, consumeSelectedSystemEventEntries, consumeSystemEventEntries, createAsyncLock, createChannelApiRetryRunner, createChannelNativeApprovalRuntime, createDedupeCache, createExecApprovalChannelRuntime, createLegacyPrivateNetworkDoctorContract, createPinnedDispatcher, createPinnedLookup, createRateLimitRetryRunner, createRuntimeOutboundDelegates, deliverApprovalRequestViaChannelNativePlan, detectErrorKind, drainFileLockStateForTest, drainPendingDeliveries, drainSystemEventEntries, drainSystemEvents, emitDiagnosticEvent, emitHeartbeatEvent, enqueueSystemEvent, ensureExecApprovals, ensureGlobalUndiciDispatcherStreamTimeouts, ensureGlobalUndiciEnvProxyDispatcher, ensureGlobalUndiciStreamTimeouts, evaluateExecAllowlist, evaluateShellAllowlist, expandHomePrefix, extractErrorCode, fetchWithRuntimeDispatcher, fetchWithSsrFGuard, fetchWithTimeout, finiteSecondsToTimerSafeMilliseconds, forceResetGlobalDispatcher, formatApprovalDisplayPath, formatDurationCompact, formatDurationHuman, formatDurationPrecise, formatDurationSeconds, formatErrorMessage, formatExecApprovalExpiresIn, formatUncaughtError, generateSecureFraction, generateSecureHex, generateSecureInt, generateSecureToken, generateSecureUuid, getChannelActivity, getExecApprovalApproverDmNoticeText, getExecApprovalReplyMetadata, getLastHeartbeatEvent, getProxyUrlFromFetch, globalUndiciStreamTimeoutMs, hasDurableExecApproval, hasEncodedFileUrlSeparator, hasEnvHttpProxyAgentConfigured, hasEnvHttpProxyConfigured, hasErrnoCode, hasLegacyFlatAllowPrivateNetworkAlias, hasProxyEnvConfigured, hasSystemEvents, hasSystemMark, installRequestBodyLimitGuard, isBlockedHostname, isBlockedHostnameOrIp, isDiagnosticFlagEnabled, isDiagnosticsEnabled, isErrno, isExecApprovalChannelRuntimeTerminalStartError, isExecApprovalDecisionAllowed, isHeartbeatEnabledForAgent, isHostnameAllowedByPattern, isHttpsUrlAllowedByHostnameSuffixAllowlist, isPrivateIpAddress, isPrivateNetworkAllowedByPolicy, isPrivateNetworkOptInEnabled, isRequestBodyLimitError, isSafeBinUsage, isSafeScpRemoteHost, isSafeScpRemotePath, isSameSsrFPolicy, isSystemEventContextChanged, isTruthyEnvValue, isVitestRuntimeEnv, isWSL, isWSL2Sync, isWSLEnv, isWSLSync, isWindowsNetworkPath, isWindowsPlatform, loadExecApprovals, loadSecretFileSync, logAcceptedEnvOption, makeProxyFetch, matchAllowlist, matchesDiagnosticFlag, matchesHostnameAllowlist, matchesNoProxy, maxAsk, mergeExecApprovalsSocketDefaults, mergeSsrFPolicies, migrateLegacyFlatAllowPrivateNetworkAlias, minSecurity, nonNegativeSecondsToSafeMilliseconds, normalizeEnv, normalizeExecApprovals, normalizeExecAsk, normalizeExecHost, normalizeExecMode, normalizeExecSecurity, normalizeExecTarget, normalizeHostname, normalizeHostnameAllowlist, normalizeHostnameSuffixAllowlist, normalizeOutboundIdentity, normalizeSafeBins, normalizeScpRemoteHost, normalizeScpRemotePath, normalizeZaiEnv, onDiagnosticEvent, onHeartbeatEvent, openLocalFileSafely, parseExecApprovalCommandText, parseExecArgvToken, parseFiniteNumber, parseStrictFiniteNumber, parseStrictInteger, parseStrictNonNegativeInteger, parseStrictPositiveInteger, pathExists, pathExistsSync, peekSystemEventEntries, peekSystemEvents, persistAllowAlwaysPatterns, positiveSecondsToSafeMilliseconds, prefixSystemMessage, pruneMapToMaxSize, readDurableJsonFile, readErrorName, readExecApprovalsSnapshot, readJson, readJsonBodyWithLimit, readJsonFile, readJsonFileStrict, readJsonIfExists, readJsonSync, readRegularFile, readRegularFileSync, readRequestBodyWithLimit, readRootJsonObjectSync, readRootJsonSync, readRootStructuredFileSync, readSecretFileSync, recordAllowlistMatchesUse, recordAllowlistUse, recordChannelActivity, requestBodyErrorToText, requestExecApprovalViaSocket, requireValidExecTarget, requiresExecApproval, resetChannelActivityForTest, resetFileLockStateForTest, resetGlobalUndiciStreamTimeoutsForTests, resetHeartbeatEventsForTest, resetSystemEventsForTest, resetWSLStateForTests, resolveAgentOutboundIdentity, resolveAllowAlwaysPatternEntries, resolveAllowAlwaysPatterns, resolveAllowlistCandidatePath, resolveApprovalAuditCandidatePath, resolveApprovalAuditTrustPath, resolveApprovalRequestOriginTarget, resolveApprovalRequestSessionConversation, resolveApprovalRequestSessionTarget, resolveChannelNativeApprovalDeliveryPlan, resolveCommandResolution, resolveCommandResolutionFromArgv, resolveNonNegativeIntegerOption as resolveDedupeNonNegativeInteger, resolveDiagnosticFlags, resolveEffectiveHomeDir, resolveEnvHttpProxyAgentOptions, resolveEnvHttpProxyUrl, resolveExecApprovalAllowedDecisions, resolveExecApprovalCommandDisplay, resolveExecApprovalRequestAllowedDecisions, resolveExecApprovalSessionTarget, resolveExecApprovals, resolveExecApprovalsFromFile, resolveExecApprovalsPath, resolveExecApprovalsSocketPath, resolveExecModeFromPolicy, resolveExecModePolicy, resolveExecPolicyForMode, resolveExecutableTrustPath, resolveExecutionTargetCandidatePath, resolveExecutionTargetResolution, resolveExecutionTargetTrustPath, resolveExpiresAtMsFromDurationOrEpoch, resolveExpiresAtMsFromDurationSeconds, resolveExpiresAtMsFromEpochSeconds, resolveFetch, resolveGlobalDedupeCache, resolveHeartbeatIntervalMs, resolveHeartbeatSummaryForAgent, resolveHeartbeatVisibility, resolveHomeRelativePath, resolveIndicatorType, resolveLegacyOutboundSendDepKeys, resolveLocalPathFromRootsSync, resolveOsHomeDir, resolveOsHomeRelativePath, resolveOutboundSendDep, resolvePinnedHostname, resolvePinnedHostnameWithPolicy, resolvePlannedSegmentArgv, resolvePluginApprovalRequestAllowedDecisions, resolvePolicyAllowlistCandidatePath, resolvePolicyTargetCandidatePath, resolvePolicyTargetResolution, resolvePolicyTargetTrustPath, resolvePreferredNodmixTmpDir, resolveProxyFetchFromEnv, resolveRegularFileAppendFlags, resolveRequiredHomeDir, resolveRequiredOsHomeDir, resolveRetryConfig, resolveSafeBins, resolveSsrFPolicyForUrl, resolveSystemEventDeliveryContext, resolveUserPath, restoreExecApprovalsSnapshot, retainSafeHeadersForCrossOriginRedirectHeaders, retryAsync, root, runTasksWithConcurrency, safeFileURLToPath, sanitizeExecApprovalDisplayText, sanitizeExecApprovalDisplayTextWithStatus, sanitizeExecApprovalWarningText, sanitizeForPlainText, saveExecApprovals, shouldUseEnvHttpProxyForUrl, sleepWithAbort, splitCommandChain, splitCommandChainWithOperators, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork, ssrfPolicyFromHttpBaseUrlAllowedHostname, ssrfPolicyFromHttpBaseUrlAllowedOrigin, ssrfPolicyFromHttpBaseUrlFakeIpHostnameAllowlist, ssrfPolicyFromPrivateNetworkOptIn, statRegularFile, statRegularFileSync, stringifyNonErrorCause, stripInternalRuntimeScaffolding, tryReadJson, tryReadJsonSync, tryReadSecretFileSync, trySafeFileURLToPath, waitForTransportReady, windowsEscapeArg, withFileLock, withStrictGuardedFetchMode, withTimeout, withTrustedEnvProxyGuardedFetchMode, withTrustedExplicitProxyGuardedFetchMode, wrapFetchWithAbortSignal, writeExternalFileWithinRoot, writeJson, writeJsonAtomic, writeJsonSync, writePrivateSecretFileAtomic, writeTextAtomic };
