@kici-dev/engine 0.1.26 → 0.1.27
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/approval/types.d.ts +3 -3
- package/dist/approval/types.js +3 -3
- package/dist/audit/access-log-policy.js +12 -11
- package/dist/audit/retention-policy.js +24 -22
- package/dist/context/host-match.d.ts +25 -0
- package/dist/{environment → context}/host-match.js +1 -1
- package/dist/context/index.d.ts +6 -0
- package/dist/context/index.js +5 -0
- package/dist/context/multi-context.d.ts +30 -0
- package/dist/context/multi-context.js +38 -0
- package/dist/context/scope-resolver.d.ts +46 -0
- package/dist/{environment → context}/scope-resolver.js +6 -6
- package/dist/context/scope-template.d.ts +18 -0
- package/dist/{environment → context}/scope-template.js +1 -1
- package/dist/context/types.d.ts +119 -0
- package/dist/{environment → context}/types.js +3 -3
- package/dist/dev-ops/operations.d.ts +1 -1
- package/dist/dev-ops/operations.js +1 -1
- package/dist/env/environment-allowlist.d.ts +23 -0
- package/dist/env/environment-allowlist.js +35 -1
- package/dist/fanout/materialize.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/metrics/metric-catalog.generated.d.ts +15 -10
- package/dist/metrics/metric-catalog.generated.js +18 -12
- package/dist/protocol/dashboard-api-errors.d.ts +12 -0
- package/dist/protocol/dashboard-api-errors.js +13 -0
- package/dist/protocol/dashboard-write-operations.d.ts +22 -22
- package/dist/protocol/dashboard-write-operations.js +52 -52
- package/dist/protocol/messages/access-log.d.ts +65 -60
- package/dist/protocol/messages/access-log.js +13 -12
- package/dist/protocol/messages/agent-run-result.d.ts +2 -2
- package/dist/protocol/messages/agent-run-result.js +1 -1
- package/dist/protocol/messages/auth.d.ts +7 -7
- package/dist/protocol/messages/capabilities.d.ts +7 -7
- package/dist/protocol/messages/dashboard.d.ts +235 -233
- package/dist/protocol/messages/dashboard.js +191 -191
- package/dist/protocol/messages/execution-status.d.ts +9 -9
- package/dist/protocol/messages/execution-status.js +8 -8
- package/dist/protocol/messages/platform-orchestrator.d.ts +75 -74
- package/dist/protocol/session-policy.d.ts +20 -0
- package/dist/protocol/session-policy.js +25 -0
- package/dist/trigger/types.d.ts +7 -6
- package/dist/trigger/types.js +2 -1
- package/package.json +15 -7
- package/sbom.spdx.json +5 -5
- package/dist/environment/index.js +0 -5
- package/dist/environment/multi-env.js +0 -38
|
@@ -74,7 +74,41 @@ const AGENT_REQUIRED_KICI_VARS = [
|
|
|
74
74
|
* -> HTTP_PROXY=http://proxy:3128 in the agent process
|
|
75
75
|
*/
|
|
76
76
|
const KICI_AGENT_ENV_PREFIX = "KICI_AGENT_ENV_";
|
|
77
|
+
/**
|
|
78
|
+
* Non-`KICI_`-prefixed environment variables that are the agent's / orchestrator's
|
|
79
|
+
* own infrastructure secrets. These are scrubbed from a trusted-env passthrough
|
|
80
|
+
* in addition to the whole `KICI_*` namespace, so even a trusted fleet agent
|
|
81
|
+
* never leaks its control-plane credentials into a workflow step.
|
|
82
|
+
*/
|
|
83
|
+
const TRUSTED_ENV_SCRUB_EXACT = [
|
|
84
|
+
"DATABASE_URL",
|
|
85
|
+
"PLATFORM_TOKEN",
|
|
86
|
+
"WEBHOOK_SECRET",
|
|
87
|
+
"GITHUB_PRIVATE_KEY"
|
|
88
|
+
];
|
|
89
|
+
/**
|
|
90
|
+
* A variable that must NEVER reach a workflow step even under the trusted-env
|
|
91
|
+
* profile. The agent's entire `KICI_*` namespace (its orchestrator URL, agent
|
|
92
|
+
* token, secret key, bootstrap admin token, scaler internals, identity) is
|
|
93
|
+
* scrubbed, plus the non-`KICI_` infra-secret denylist above. So "trusted"
|
|
94
|
+
* means "host env yes, the agent's KiCI identity no".
|
|
95
|
+
*/
|
|
96
|
+
function isTrustedEnvScrubbed(key) {
|
|
97
|
+
return key.startsWith("KICI_") || TRUSTED_ENV_SCRUB_EXACT.includes(key);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Build the trusted-env passthrough set: every defined entry of `source` whose
|
|
101
|
+
* key is not scrubbed by `isTrustedEnvScrubbed`. Used by both env-narrowing
|
|
102
|
+
* layers (scaler → agent process, agent → step) when the trusted-env profile is
|
|
103
|
+
* active, so the ambient host env reaches the step minus the agent's own KiCI
|
|
104
|
+
* identity/operational secrets.
|
|
105
|
+
*/
|
|
106
|
+
function buildTrustedPassthroughEnv(source) {
|
|
107
|
+
const out = {};
|
|
108
|
+
for (const [key, value] of Object.entries(source)) if (value !== void 0 && !isTrustedEnvScrubbed(key)) out[key] = value;
|
|
109
|
+
return out;
|
|
110
|
+
}
|
|
77
111
|
//#endregion
|
|
78
|
-
export { AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, KICI_AGENT_ENV_PREFIX, SANDBOX_DEFAULT_VARS };
|
|
112
|
+
export { AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, KICI_AGENT_ENV_PREFIX, SANDBOX_DEFAULT_VARS, TRUSTED_ENV_SCRUB_EXACT, buildTrustedPassthroughEnv, isTrustedEnvScrubbed };
|
|
79
113
|
|
|
80
114
|
//# sourceMappingURL=environment-allowlist.js.map
|
|
@@ -52,8 +52,8 @@ var FanoutError = class FanoutError extends Error {
|
|
|
52
52
|
* multi-child fan-out. `fanoutIndex` is the child's rank in the order defined by
|
|
53
53
|
* `keyOf` (host: `agentId`; matrix: variant label), independent of emission
|
|
54
54
|
* order — the orchestrator's wave dispatch keys on `fanoutIndex`, so emission
|
|
55
|
-
* order need not be touched (this preserves the
|
|
56
|
-
*
|
|
55
|
+
* order need not be touched (this preserves the matrix naming order). A single
|
|
56
|
+
* child gets no position (non-fan-out job; `ctx.fanout` stays
|
|
57
57
|
* undefined). Mutates and returns the same array.
|
|
58
58
|
*/
|
|
59
59
|
function assignFanoutPositions(children, keyOf) {
|
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export { WsRateLimiter } from './ws/rate-limiter.js';
|
|
|
55
55
|
export type { RateLimiterConfig, RateLimitResult } from './ws/rate-limiter.js';
|
|
56
56
|
export * from './env/environment-allowlist.js';
|
|
57
57
|
export * from './secrets/index.js';
|
|
58
|
-
export * from './
|
|
58
|
+
export * from './context/index.js';
|
|
59
59
|
export { deriveOsArchLabels, hostLabel, parseHostLabel, HOST_LABEL_PREFIX, agentTypeLabel, scalerLabel, mergeAutoLabels, normalizeRunsOn, KNOWN_ROLES, resolveRoleLabels, validateNoReservedLabels, scalerAgentLabels, isSelfReportedLabel, SELF_REPORTED_LABEL_PREFIXES, CAPABILITY_LABEL_PREFIX, capabilityLabel, SSH_TRANSPORT_CAPABILITY, INIT_LABEL, PRIVILEGED_ROOT_LABEL, } from './labels.js';
|
|
60
60
|
export type { NormalizedRunsOn } from './labels.js';
|
|
61
61
|
export type { AgentRole } from './labels.js';
|
package/dist/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import { PatKind } from "./protocol/messages/pat-kind.js";
|
|
|
9
9
|
import { approveRunToolSchema, cancelRunToolSchema, cancelRunsByBranchToolSchema, getDiagnosticsToolSchema, getRunToolSchema, getStepLogsToolSchema, listOrchestratorsToolSchema, listOrgsToolSchema, listRunsToolSchema, listSecretsToolSchema, listWorkflowsToolSchema, rejectRunToolSchema, rerunRunToolSchema, triggerRunToolSchema } from "./mcp/tool-schemas.js";
|
|
10
10
|
import { resolveHeldRunId } from "./mcp/held-run-resolve.js";
|
|
11
11
|
import { renderFenced } from "./mcp/fence.js";
|
|
12
|
-
import { CacheOutcome, CacheRunEventType, CacheStepType,
|
|
13
|
-
import { TrustTierSchema } from "./
|
|
12
|
+
import { CONTEXTS_MAX, CacheOutcome, CacheRunEventType, CacheStepType, ExecutionJobStatus, ExecutionRunStatus, ExecutionStepStatus, InitFailureCategory, MAX_JOBS_PER_RUN, REPO_IDENTIFIER_MAX, RUNS_ON_LABELS_MAX, STATE_REPLAY_MAX_RUNS, STATUS_FREE_TEXT_MAX, STATUS_ID_MAX, StepConcurrencyKind, TERMINAL_JOB_STATES, TERMINAL_RUN_STATES, TimeoutReason, executionStatusSchema, initFailureSchema, jobStatusForwardSchema, stateReplaySchema, statusOptionsForLevel, stepStatusForwardSchema } from "./protocol/messages/execution-status.js";
|
|
13
|
+
import { TrustTierSchema } from "./context/types.js";
|
|
14
14
|
import { AgentFailureCategory, agentJobResultSchema, agentRunListItemSchema, agentRunResultSchema, agentStepLogsSchema, agentStepResultSchema, agentWorkflowSummarySchema, untrusted, wrapUntrusted } from "./protocol/messages/agent-run-result.js";
|
|
15
15
|
import { AccessLogAction, AccessLogOutcome, AccessLogSource, AccessLogTargetType, accessLogFilterSchema, accessLogItemSchema, dashboardAccessLogListRequestSchema, dashboardAccessLogListResponseSchema } from "./protocol/messages/access-log.js";
|
|
16
16
|
import { browserJobContextSchema, browserRunEventSchema, dashboardOrchLogsRequestSchema, dashboardOrchLogsResponseSchema, jobContextMessageSchema, runEventMessageSchema } from "./protocol/messages/run-events.js";
|
|
@@ -22,7 +22,7 @@ import { ApprovalDecision, HoldScope, TriggerSource, approvalRequirementSchema,
|
|
|
22
22
|
import { NeedsEntrySchema, NeedsGroupEntrySchema, NeedsRunOn, NeedsWhen, OnUnreachableMode, RunsOnPick, SCHEMA_VERSION, isLockDynamicJobFn, isLockInlineValue, isLockParallelStep, isLockStaticJob, resolveWhenToRunOn } from "./trigger/types.js";
|
|
23
23
|
import { HostTargetSelector, HostTargetValue, LabelMatcher, compileRegexMatcher, hostSatisfiesTarget, matcherMatches, matcherSatisfiedBy, partitionMatchers } from "./labels-match.js";
|
|
24
24
|
import { HostInventoryEntry, HostPropertyValue, InventoryHostStatus, InventoryLifecycleClass, InventorySelectorSchema, coerceHostPropertyValue, parseHostPropertyAssignments } from "./inventory.js";
|
|
25
|
-
import { DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DashboardResponseErrorCode,
|
|
25
|
+
import { ContextDeleteErrorCode, DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DashboardResponseErrorCode, EventLogPayloadStreamError, FleetHostDisposition, HeldRunQueueType, HeldRunStatus, TestRelayType, attestationListFiltersSchema, attestationListItemSchema, attestationListSummarySchema, attestationVerifyStatusSchema, backendGetRequestSchema, backendGetResponseSchema, backendItemSchema, backendSyncRequestSchema, backendSyncResponseSchema, backendTestRequestSchema, backendTestResponseSchema, backendsListRequestSchema, backendsListResponseSchema, backendsSyncAllRequestSchema, backendsSyncAllResponseSchema, browserEventLogPayloadChunkSchema, contextBindingEntrySchema, contextBindingsListRequestSchema, contextBindingsSetRequestSchema, contextCreateRequestSchema, contextDeleteRequestSchema, contextGetRequestSchema, contextHistoryRequestSchema, contextListRequestSchema, contextSecretDeleteRequestSchema, contextSecretScopeCreateRequestSchema, contextSecretScopeDeleteRequestSchema, contextSecretScopeRenameRequestSchema, contextSecretSetRequestSchema, contextSecretsListRequestSchema, contextSourceOverrideDeleteRequestSchema, contextSourceOverrideSetRequestSchema, contextSourceOverridesListRequestSchema, contextTestAccessSetRequestSchema, contextUpdateRequestSchema, contextVarDeleteRequestSchema, contextVarSetRequestSchema, contextVarsListRequestSchema, dashboardAttestationGetRequestSchema, dashboardAttestationGetResponseSchema, dashboardAttestationRetryRequestSchema, dashboardAttestationRetryResponseSchema, dashboardAttestationsApiResponseSchema, dashboardAttestationsListAllRequestSchema, dashboardAttestationsListAllResponseSchema, dashboardAttestationsListRequestSchema, dashboardAttestationsListResponseSchema, dashboardDiagnosticsRequestSchema, dashboardDiagnosticsResponseSchema, dashboardEventDlqCountRequestSchema, dashboardEventDlqDiscardRequestSchema, dashboardEventDlqListItemSchema, dashboardEventDlqListRequestSchema, dashboardEventDlqRetryRequestSchema, dashboardEventLogDetailRequestSchema, dashboardEventLogListRequestSchema, dashboardEventLogPayloadChunkSchema, dashboardEventLogPayloadStreamRequestSchema, dashboardFleetHostRequestSchema, dashboardFleetHostResponseSchema, dashboardFleetHostsRequestSchema, dashboardFleetHostsResponseSchema, dashboardFleetPreviewRequestSchema, dashboardFleetPreviewResponseSchema, dashboardFleetWorkflowsForHostRequestSchema, dashboardFleetWorkflowsForHostResponseSchema, dashboardJobDetailSchema, dashboardOrchToPlatformSchema, dashboardPayloadRequestSchema, dashboardPlatformToOrchSchema, dashboardRunDetailApiResponseSchema, dashboardRunDetailRequestSchema, dashboardRunDetailResponseSchema, dashboardRunStructuredRequestSchema, dashboardRunStructuredResponseSchema, dashboardRunSummarySchema, dashboardRunsFiltersRequestSchema, dashboardRunsFiltersResponseSchema, dashboardRunsListRequestSchema, dashboardRunsListResponseSchema, dashboardScalerAgentsRequestSchema, dashboardScalerAgentsResponseSchema, dashboardScalerCapacityRequestSchema, dashboardScalerCapacityResponseSchema, dashboardSourceSummarySchema, dashboardSourcesListRequestSchema, dashboardSourcesListResponseSchema, dashboardStepLogsApiResponseSchema, dashboardStepLogsRequestSchema, dashboardStepLogsResponseSchema, diagnosticsInfrastructureResponseSchema, diagnosticsSummaryResponseSchema, eventLogListItemSchema, fleetHostDeclareRequestSchema, fleetHostDeclareResponseSchema, fleetHostRemoveRequestSchema, fleetHostRemoveResponseSchema, fleetHostWorkflowSchema, fleetPinnedRunSchema, fleetPreviewHostSchema, heldRunApproveRequestSchema, heldRunRejectRequestSchema, heldRunsListRequestSchema, identityLinkItemSchema, identityLinkListResponseSchema, manualScheduleRequestSchema, memberIdentityLinkSchema, memberListResponseSchema, memberRoleAssignmentSchema, orgMemberSchema, registrationDeleteRequestSchema, registrationDisableRequestSchema, registrationItemSchema, registrationsListRequestSchema, registrationsListResponseSchema, runCancelRequestSchema, runEventSchema, runLineageResponseSchema, runListItemSchema, runListResponseSchema, runRerunRequestSchema, testRelayCancelRequestSchema, testRelayCancelResponseSchema, testRelayRunLogsRequestSchema, testRelayRunLogsResponseSchema, testRelayRunStatusRequestSchema, testRelayRunStatusResponseSchema, testRelayTriggerRequestSchema, testRelayTriggerResponseSchema, testRelayUploadsInitRequestSchema, testRelayUploadsInitResponseSchema, trustPolicyResponseSchema } from "./protocol/messages/dashboard.js";
|
|
26
26
|
import { ORCH_CAPABILITIES, OrchRole, hasOrchCapability, orchCapabilitiesSchema } from "./protocol/messages/capabilities.js";
|
|
27
27
|
import { authFailureSchema, authRequestSchema, authSuccessSchema } from "./protocol/messages/auth.js";
|
|
28
28
|
import { WEBHOOK_RELAY_CHUNK_SIZE, WEBHOOK_RELAY_MAX_BODY_BYTES, WebhookRelayResult, cacheStatsSchema, executionEventSchema, logChunkSchema, orchMetricsSchema, orchestratorToPlatformMessageSchema, peerDiscoverSchema, peerUpdateSchema, platformToOrchestratorMessageSchema, staleCheckrunCleanupSchema, trustPolicyUpdateSchema, webhookAckSchema, webhookRelayChunkSchema, webhookRelaySchema, webhookRelayStartSchema } from "./protocol/messages/platform-orchestrator.js";
|
|
@@ -55,11 +55,11 @@ import "./provider/index.js";
|
|
|
55
55
|
import { githubIngressPath, githubWebhookPath } from "./webhook/webhook-url-format.js";
|
|
56
56
|
import { WS_CLOSE_AGENT_AUTH_FAILED, WS_CLOSE_AUTH_TIMEOUT, WS_CLOSE_CLUSTER_NAME_CONFLICT, WS_CLOSE_DISPATCH_ACK_TIMEOUT, WS_CLOSE_GOING_AWAY, WS_CLOSE_HEARTBEAT_TIMEOUT, WS_CLOSE_INTERNAL_ERROR, WS_CLOSE_INVALID_MESSAGE, WS_CLOSE_PLAN_LIMIT, WS_CLOSE_PROTOCOL_ERROR, WS_CLOSE_REBALANCE, WS_CLOSE_UNAUTHORIZED } from "./ws/close-codes.js";
|
|
57
57
|
import { WsRateLimiter } from "./ws/rate-limiter.js";
|
|
58
|
-
import { AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, KICI_AGENT_ENV_PREFIX, SANDBOX_DEFAULT_VARS } from "./env/environment-allowlist.js";
|
|
58
|
+
import { AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, KICI_AGENT_ENV_PREFIX, SANDBOX_DEFAULT_VARS, TRUSTED_ENV_SCRUB_EXACT, buildTrustedPassthroughEnv, isTrustedEnvScrubbed } from "./env/environment-allowlist.js";
|
|
59
59
|
import "./secrets/index.js";
|
|
60
|
-
import { matchScopePattern,
|
|
61
|
-
import {
|
|
62
|
-
import "./
|
|
60
|
+
import { matchScopePattern, resolveSecretsForContext, stripScopePrefix } from "./context/scope-resolver.js";
|
|
61
|
+
import { ContextGateRejectReason, mergeOrderedMaps } from "./context/multi-context.js";
|
|
62
|
+
import "./context/index.js";
|
|
63
63
|
import { CAPABILITY_LABEL_PREFIX, HOST_LABEL_PREFIX, INIT_LABEL, KNOWN_ROLES, PRIVILEGED_ROOT_LABEL, SELF_REPORTED_LABEL_PREFIXES, SSH_TRANSPORT_CAPABILITY, agentTypeLabel, capabilityLabel, deriveOsArchLabels, hostLabel, isSelfReportedLabel, mergeAutoLabels, normalizeRunsOn, parseHostLabel, resolveRoleLabels, scalerAgentLabels, scalerLabel, validateNoReservedLabels } from "./labels.js";
|
|
64
64
|
import { parseMemoryString, resourceRequestNestedSchema, resourceSpecSchema, validateResourceRequest } from "./scaler/resource-types.js";
|
|
65
65
|
import { RegisterableTriggerType } from "./registration/registerable-trigger-type.js";
|
|
@@ -68,4 +68,4 @@ import "./bundler/index.js";
|
|
|
68
68
|
import { applyIncludeExclude, expandMatrix, expandMultiDimension, expandSingleDimension } from "./matrix/expand.js";
|
|
69
69
|
import { formatExpandedJobName, formatMatrixSuffix } from "./matrix/format.js";
|
|
70
70
|
import { FanoutCause, FanoutError, MAX_FANOUT_JOBS, VariantKind, fanoutEnvelopeFields, hostEnvelopeFields, materializeFanout, materializeResolvedHosts, materializeResolvedMatrix, matrixEnvelopeFields } from "./fanout/materialize.js";
|
|
71
|
-
export { ACCESS_LOG_COLD_DAYS, ACCESS_LOG_WARM_DAYS, AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, AccessLogAction, AccessLogOutcome, AccessLogPolicyKind, AccessLogSource, AccessLogTargetType, ActivityFilterSource, ActivityRowSource, ActorType, AgentFailureCategory, ApprovalDecision, AttestationOrigin, CAPABILITY_LABEL_PREFIX, CacheOutcome, CacheRefScope, CacheRunEventType, CacheStepType, CheckMode, CheckRunConclusion, CheckStepOutcome, DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DEVELOPER_OPERATIONS, DashboardResponseErrorCode, DeploymentContainerRuntimeSchema, DeploymentIdentitySchema, DeploymentModeSchema, DispatchInputError, DispatchInputType, ENVIRONMENTS_MAX, EVENT_LOG_PAYLOAD_CHUNK_BYTES, EnvDeleteErrorCode, EnvGateRejectReason, EventLogPayloadStreamError, EventLogSource, EventLogStatus, ExecutionJobStatus, ExecutionRunStatus, ExecutionStepStatus, FanoutCause, FanoutError, FleetHostDisposition, HOST_LABEL_PREFIX, HeldRunQueueType, HeldRunStatus, HoldScope, HostInventoryEntry, HostPropertyValue, HostTargetSelector, HostTargetValue, INIT_LABEL, InitFailureCategory, InputDescriptor, InputsDescriptorMapSchema, InventoryHostStatus, InventoryLifecycleClass, InventorySelectorSchema, JobRejectReason, KICI_AGENT_ENV_PREFIX, KNOWN_ROLES, LabelMatcher, LockFileParseError, MAX_FANOUT_JOBS, MAX_JOBS_PER_RUN, MIN_PROTOCOL_VERSION, NeedsEntrySchema, NeedsGroupEntrySchema, NeedsRunOn, NeedsWhen, ORCH_CAPABILITIES, OnUnreachableMode, OrchRole, POLICY_BY_ACTION, PRIVILEGED_ROOT_LABEL, PROTOCOL_VERSION, PatKind, PayloadOmittedReason, REPO_IDENTIFIER_MAX, RUNS_ON_LABELS_MAX, RegisterableTriggerType, RunsOnPick, SANDBOX_DEFAULT_VARS, SCHEMA_VERSION, SELF_REPORTED_LABEL_PREFIXES, SSH_TRANSPORT_CAPABILITY, STATE_REPLAY_MAX_RUNS, STATUS_FREE_TEXT_MAX, STATUS_ID_MAX, ScalerBackendType, ScalerEventType, SourceOrigin, SourceProvider, SourceSubtype, StepApprovalOutcome, StepConcurrencyKind, TERMINAL_JOB_STATES, TERMINAL_RUN_STATES, TRIGGER_EVENT_META, TRIGGER_EVENT_TYPES, TestRelayType, TimeoutReason, TriggerSource, TrustTierSchema, UnsupportedDispatchInputError, VariantKind, WEBHOOK_RELAY_CHUNK_SIZE, WEBHOOK_RELAY_MAX_BODY_BYTES, WS_CLOSE_AGENT_AUTH_FAILED, WS_CLOSE_AUTH_TIMEOUT, WS_CLOSE_CLUSTER_NAME_CONFLICT, WS_CLOSE_DISPATCH_ACK_TIMEOUT, WS_CLOSE_GOING_AWAY, WS_CLOSE_HEARTBEAT_TIMEOUT, WS_CLOSE_INTERNAL_ERROR, WS_CLOSE_INVALID_MESSAGE, WS_CLOSE_PLAN_LIMIT, WS_CLOSE_PROTOCOL_ERROR, WS_CLOSE_REBALANCE, WS_CLOSE_UNAUTHORIZED, WS_MAX_PAYLOAD_BYTES, WebhookRelayResult, WsRateLimiter, accessLogFilterSchema, accessLogItemSchema, accessLogWarmSqlCase, ackSchema, activityCursorSchema, activityFilterSchema, activityRowSchema, actorPrincipalSchema, agentApiRequestSchema, agentApiResponseSchema, agentAuthFailureSchema, agentAuthRequestSchema, agentAuthSuccessSchema, agentDiagnosticsConnectionSchema, agentDiagnosticsSchema, agentJobResultSchema, agentLabelOf, agentLogChunkSchema, agentMetricsSchema, agentOrchestratorSummarySchema, agentOrgSummarySchema, agentRegisterSchema, agentRunListItemSchema, agentRunResultSchema, agentSecretScopeSchema, agentStatusSchema, agentStepLogsSchema, agentStepResultSchema, agentStepStatusSchema, agentToOrchestratorMessageSchema, agentTypeLabel, agentWorkflowSummarySchema, apiKeyActorSchema, applyIncludeExclude, approvalRequirementSchema, approveRunToolSchema, approverClauseSchema, assertScheduleInputsSatisfiable, attestationListFiltersSchema, attestationListItemSchema, attestationListSummarySchema, attestationVerifyStatusSchema, auditLogColdDays, auditLogWarmDays, auditLogWarmSqlCase, authFailureSchema, authRequestSchema, authSuccessSchema, backendGetRequestSchema, backendGetResponseSchema, backendItemSchema, backendSyncRequestSchema, backendSyncResponseSchema, backendTestRequestSchema, backendTestResponseSchema, backendsListRequestSchema, backendsListResponseSchema, backendsSyncAllRequestSchema, backendsSyncAllResponseSchema, browserAuthFailureSchema, browserAuthRefreshSchema, browserAuthRequestSchema, browserAuthSuccessSchema, browserErrorSchema, browserEventLogPayloadChunkSchema, browserEventLogPayloadFetchSchema, browserGapSchema, browserJobContextSchema, browserJobNewSchema, browserJobStatusSchema, browserLogLinesSchema, browserLogStreamTerminatedReason, browserLogStreamTerminatedSchema, browserLogSubscribeSchema, browserLogUnsubscribeSchema, browserPingSchema, browserPongSchema, browserRunEventSchema, browserRunNewSchema, browserRunStatusSchema, browserStatusSubscribeSchema, browserStatusUnsubscribeSchema, browserStepStatusSchema, browserToPlatformMessageSchema, buildZodFromDescriptor, buildZodObjectFromMap, cacheStatsSchema, cacheUserRestoreRequestSchema, cacheUserRestoreResponseSchema, cacheUserSaveCompleteSchema, cacheUserSaveRequestSchema, cacheUserSaveResponseSchema, cancelRunToolSchema, cancelRunsByBranchToolSchema, capabilityLabel, coerceDispatchInputs, coerceHostPropertyValue, compileRegexMatcher, configAckSchema, createTraceEntry, createWorkflowBundleConfig, createWorkflowDecision, dashboardAccessLogListRequestSchema, dashboardAccessLogListResponseSchema, dashboardAttestationGetRequestSchema, dashboardAttestationGetResponseSchema, dashboardAttestationRetryRequestSchema, dashboardAttestationRetryResponseSchema, dashboardAttestationsApiResponseSchema, dashboardAttestationsListAllRequestSchema, dashboardAttestationsListAllResponseSchema, dashboardAttestationsListRequestSchema, dashboardAttestationsListResponseSchema, dashboardDiagnosticsRequestSchema, dashboardDiagnosticsResponseSchema, dashboardEventDlqCountRequestSchema, dashboardEventDlqDiscardRequestSchema, dashboardEventDlqListItemSchema, dashboardEventDlqListRequestSchema, dashboardEventDlqRetryRequestSchema, dashboardEventLogDetailRequestSchema, dashboardEventLogListRequestSchema, dashboardEventLogPayloadChunkSchema, dashboardEventLogPayloadStreamRequestSchema, dashboardFleetHostRequestSchema, dashboardFleetHostResponseSchema, dashboardFleetHostsRequestSchema, dashboardFleetHostsResponseSchema, dashboardFleetPreviewRequestSchema, dashboardFleetPreviewResponseSchema, dashboardFleetWorkflowsForHostRequestSchema, dashboardFleetWorkflowsForHostResponseSchema, dashboardJobDetailSchema, dashboardOrchLogsRequestSchema, dashboardOrchLogsResponseSchema, dashboardOrchToPlatformSchema, dashboardPayloadRequestSchema, dashboardPlatformToOrchSchema, dashboardRunDetailApiResponseSchema, dashboardRunDetailRequestSchema, dashboardRunDetailResponseSchema, dashboardRunStructuredRequestSchema, dashboardRunStructuredResponseSchema, dashboardRunSummarySchema, dashboardRunsFiltersRequestSchema, dashboardRunsFiltersResponseSchema, dashboardRunsListRequestSchema, dashboardRunsListResponseSchema, dashboardScalerAgentsRequestSchema, dashboardScalerAgentsResponseSchema, dashboardScalerCapacityRequestSchema, dashboardScalerCapacityResponseSchema, dashboardSourceSummarySchema, dashboardSourcesListRequestSchema, dashboardSourcesListResponseSchema, dashboardStepLogsApiResponseSchema, dashboardStepLogsRequestSchema, dashboardStepLogsResponseSchema, decodeActivityCursor, deriveOsArchLabels, developerOpsForEntrypoint, diagnosticsInfrastructureResponseSchema, diagnosticsSummaryResponseSchema, encodeActivityCursor, envBindingEntrySchema, envBindingsListRequestSchema, envBindingsSetRequestSchema, envCreateRequestSchema, envDeleteRequestSchema, envGetRequestSchema, envHistoryRequestSchema, envListRequestSchema, envSecretDeleteRequestSchema, envSecretScopeCreateRequestSchema, envSecretScopeDeleteRequestSchema, envSecretScopeRenameRequestSchema, envSecretSetRequestSchema, envSecretsListRequestSchema, envSourceOverrideDeleteRequestSchema, envSourceOverrideSetRequestSchema, envSourceOverridesListRequestSchema, envTestAccessSetRequestSchema, envUpdateRequestSchema, envVarDeleteRequestSchema, envVarSetRequestSchema, envVarsListRequestSchema, errorSchema, eventEmitResponseSchema, eventEmitSchema, eventLogListItemSchema, executionEventSchema, executionStatusSchema, expandMatrix, expandMultiDimension, expandSingleDimension, extractInputDescriptor, extractInputsDescriptorMap, fanoutEnvelopeFields, flattenActor, fleetBundleChunkSchema, fleetBundleErrorSchema, fleetHostDeclareRequestSchema, fleetHostDeclareResponseSchema, fleetHostRemoveRequestSchema, fleetHostRemoveResponseSchema, fleetHostWorkflowSchema, fleetLogsRequestSchema, fleetPinnedRunSchema, fleetPreviewHostSchema, fleetSelectionSchema, fnv1a32, formatExpandedJobName, formatMatrixSuffix, getAccessLogColdDays, getAccessLogWarmDays, getAuditLogColdDays, getAuditLogWarmDays, getDiagnosticsToolSchema, getRunToolSchema, getSecretAuditLogColdDays, getSecretAuditLogWarmDays, getStepLogsToolSchema, gitAuthSchema, githubIngressPath, githubWebhookPath, hasOrchCapability, heartbeatSchema, heldRunApproveRequestSchema, heldRunRejectRequestSchema, heldRunsListRequestSchema, hostEnvelopeFields, hostLabel, hostSatisfiesTarget, identityLinkItemSchema, identityLinkListResponseSchema, initFailureSchema, isInputSatisfiableFromDefaults, isLockDynamicJobFn, isLockInlineValue, isLockParallelStep, isLockStaticJob, isSelfReportedLabel, isTerminal, jobAckSchema, jobCancelSchema, jobConcurrencyAckSchema, jobConcurrencyReportSchema, jobContextMessageSchema, jobDispatchSchema, jobProgressAckSchema, jobProgressSchema, jobRejectSchema, jobRerouteAckSchema, jobRerouteSchema, jobStatusForwardSchema, jobStatusSchema, joinRequestSchema, joinResponseSchema, listOrchestratorsToolSchema, listOrgsToolSchema, listRunsToolSchema, listSecretsToolSchema, listWorkflowsToolSchema, logChunkSchema, logPullOrchToPlatformSchema, logPullPlatformToOrchSchema, manualScheduleRequestSchema, matchAllWorkflows, matchBranchPattern, matchPathPatterns, matchRepoPatterns, matchScopePattern, matchWorkflowTriggers, matcherMatches, matcherSatisfiedBy, materializeFanout, materializeResolvedHosts, materializeResolvedMatrix, matrixEnvelopeFields, memberIdentityLinkSchema, memberListResponseSchema, memberRoleAssignmentSchema, mergeAutoLabels, mergeOrderedMaps, minAccessLogWarmDays, minAuditLogWarmDays, minSecretAuditLogWarmDays, nackSchema, normalizeRunsOn, orchCapabilitiesSchema, orchMetricsSchema, orchestratorToAgentMessageSchema, orchestratorToPlatformMessageSchema, orgMemberSchema, parseActor, parseHostLabel, parseHostPropertyAssignments, parseInputPairs, parseMemoryString, partitionMatchers, peerAgentTokenRevokeSchema, peerAuthRequestSchema, peerAuthResponseSchema, peerCapabilitiesSchema, peerConfigReloadResponseSchema, peerConfigReloadSchema, peerDiscoverSchema, peerFromPeerMessageSchema, peerHeartbeatSchema, peerHelloResponseSchema, peerHelloSchema, peerJobCancelSchema, peerLeavingSchema, peerLogsCollectChunkSchema, peerLogsCollectErrorSchema, peerLogsCollectRequestSchema, peerScalerEventSchema, peerToPeerMessageSchema, peerUpdateSchema, platformOperatorActorSchema, platformToBrowserMessageSchema, platformToOrchestratorMessageSchema, provenanceUploadCompleteSchema, provenanceUploadDeferSchema, provenanceUploadRequestSchema, provenanceUploadResponseSchema, raftAppendEntriesSchema, raftVoteRequestSchema, raftVoteResponseSchema, registerAckSchema, registrationDeleteRequestSchema, registrationDisableRequestSchema, registrationItemSchema, registrationsListRequestSchema, registrationsListResponseSchema, rejectRunToolSchema, renderFenced, rerunRunToolSchema, resolveHeldRunId, resolveRoleLabels, resolveRunIdSugar, resolveScheduleInputs, resolveSecretsForEnvironment, resolveWhenToRunOn, resourceRequestNestedSchema, resourceSpecSchema, runCancelRequestSchema, runEventMessageSchema, runEventSchema, runLineageResponseSchema, runListItemSchema, runListResponseSchema, runRerunRequestSchema, scalerAgentLabels, scalerLabel, secretAuditLogColdDays, secretAuditLogWarmDays, secretAuditLogWarmSqlCase, serviceAccountActorSchema, shouldRecordAccess, shouldRecordSecretResolve, sourceDeregisterAckSchema, sourceDeregisterSchema, sourceRegistrationAckSchema, sourceRegistrationSchema, staleCheckrunCleanupSchema, stateReplaySchema, statusOptionsForLevel, stepApprovalPayloadSchema, stepApprovalRequestSchema, stepApprovalResolvedSchema, stepStatusForwardSchema, stringifyActor, stripScopePrefix, systemActorSchema, testRelayCancelRequestSchema, testRelayCancelResponseSchema, testRelayRunLogsRequestSchema, testRelayRunLogsResponseSchema, testRelayRunStatusRequestSchema, testRelayRunStatusResponseSchema, testRelayTriggerRequestSchema, testRelayTriggerResponseSchema, testRelayUploadsInitRequestSchema, testRelayUploadsInitResponseSchema, transition, triggerRunToolSchema, trustPolicyResponseSchema, trustPolicyUpdateSchema, untrusted, upstreamSnapshotSchema, userActorSchema, validateNoReservedLabels, validateResourceRequest, webhookAckSchema, webhookRelayChunkSchema, webhookRelaySchema, webhookRelayStartSchema, wrapUntrusted };
|
|
71
|
+
export { ACCESS_LOG_COLD_DAYS, ACCESS_LOG_WARM_DAYS, AGENT_REQUIRED_KICI_VARS, ALLOWED_SYSTEM_VARS, AccessLogAction, AccessLogOutcome, AccessLogPolicyKind, AccessLogSource, AccessLogTargetType, ActivityFilterSource, ActivityRowSource, ActorType, AgentFailureCategory, ApprovalDecision, AttestationOrigin, CAPABILITY_LABEL_PREFIX, CONTEXTS_MAX, CacheOutcome, CacheRefScope, CacheRunEventType, CacheStepType, CheckMode, CheckRunConclusion, CheckStepOutcome, ContextDeleteErrorCode, ContextGateRejectReason, DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DEVELOPER_OPERATIONS, DashboardResponseErrorCode, DeploymentContainerRuntimeSchema, DeploymentIdentitySchema, DeploymentModeSchema, DispatchInputError, DispatchInputType, EVENT_LOG_PAYLOAD_CHUNK_BYTES, EventLogPayloadStreamError, EventLogSource, EventLogStatus, ExecutionJobStatus, ExecutionRunStatus, ExecutionStepStatus, FanoutCause, FanoutError, FleetHostDisposition, HOST_LABEL_PREFIX, HeldRunQueueType, HeldRunStatus, HoldScope, HostInventoryEntry, HostPropertyValue, HostTargetSelector, HostTargetValue, INIT_LABEL, InitFailureCategory, InputDescriptor, InputsDescriptorMapSchema, InventoryHostStatus, InventoryLifecycleClass, InventorySelectorSchema, JobRejectReason, KICI_AGENT_ENV_PREFIX, KNOWN_ROLES, LabelMatcher, LockFileParseError, MAX_FANOUT_JOBS, MAX_JOBS_PER_RUN, MIN_PROTOCOL_VERSION, NeedsEntrySchema, NeedsGroupEntrySchema, NeedsRunOn, NeedsWhen, ORCH_CAPABILITIES, OnUnreachableMode, OrchRole, POLICY_BY_ACTION, PRIVILEGED_ROOT_LABEL, PROTOCOL_VERSION, PatKind, PayloadOmittedReason, REPO_IDENTIFIER_MAX, RUNS_ON_LABELS_MAX, RegisterableTriggerType, RunsOnPick, SANDBOX_DEFAULT_VARS, SCHEMA_VERSION, SELF_REPORTED_LABEL_PREFIXES, SSH_TRANSPORT_CAPABILITY, STATE_REPLAY_MAX_RUNS, STATUS_FREE_TEXT_MAX, STATUS_ID_MAX, ScalerBackendType, ScalerEventType, SourceOrigin, SourceProvider, SourceSubtype, StepApprovalOutcome, StepConcurrencyKind, TERMINAL_JOB_STATES, TERMINAL_RUN_STATES, TRIGGER_EVENT_META, TRIGGER_EVENT_TYPES, TRUSTED_ENV_SCRUB_EXACT, TestRelayType, TimeoutReason, TriggerSource, TrustTierSchema, UnsupportedDispatchInputError, VariantKind, WEBHOOK_RELAY_CHUNK_SIZE, WEBHOOK_RELAY_MAX_BODY_BYTES, WS_CLOSE_AGENT_AUTH_FAILED, WS_CLOSE_AUTH_TIMEOUT, WS_CLOSE_CLUSTER_NAME_CONFLICT, WS_CLOSE_DISPATCH_ACK_TIMEOUT, WS_CLOSE_GOING_AWAY, WS_CLOSE_HEARTBEAT_TIMEOUT, WS_CLOSE_INTERNAL_ERROR, WS_CLOSE_INVALID_MESSAGE, WS_CLOSE_PLAN_LIMIT, WS_CLOSE_PROTOCOL_ERROR, WS_CLOSE_REBALANCE, WS_CLOSE_UNAUTHORIZED, WS_MAX_PAYLOAD_BYTES, WebhookRelayResult, WsRateLimiter, accessLogFilterSchema, accessLogItemSchema, accessLogWarmSqlCase, ackSchema, activityCursorSchema, activityFilterSchema, activityRowSchema, actorPrincipalSchema, agentApiRequestSchema, agentApiResponseSchema, agentAuthFailureSchema, agentAuthRequestSchema, agentAuthSuccessSchema, agentDiagnosticsConnectionSchema, agentDiagnosticsSchema, agentJobResultSchema, agentLabelOf, agentLogChunkSchema, agentMetricsSchema, agentOrchestratorSummarySchema, agentOrgSummarySchema, agentRegisterSchema, agentRunListItemSchema, agentRunResultSchema, agentSecretScopeSchema, agentStatusSchema, agentStepLogsSchema, agentStepResultSchema, agentStepStatusSchema, agentToOrchestratorMessageSchema, agentTypeLabel, agentWorkflowSummarySchema, apiKeyActorSchema, applyIncludeExclude, approvalRequirementSchema, approveRunToolSchema, approverClauseSchema, assertScheduleInputsSatisfiable, attestationListFiltersSchema, attestationListItemSchema, attestationListSummarySchema, attestationVerifyStatusSchema, auditLogColdDays, auditLogWarmDays, auditLogWarmSqlCase, authFailureSchema, authRequestSchema, authSuccessSchema, backendGetRequestSchema, backendGetResponseSchema, backendItemSchema, backendSyncRequestSchema, backendSyncResponseSchema, backendTestRequestSchema, backendTestResponseSchema, backendsListRequestSchema, backendsListResponseSchema, backendsSyncAllRequestSchema, backendsSyncAllResponseSchema, browserAuthFailureSchema, browserAuthRefreshSchema, browserAuthRequestSchema, browserAuthSuccessSchema, browserErrorSchema, browserEventLogPayloadChunkSchema, browserEventLogPayloadFetchSchema, browserGapSchema, browserJobContextSchema, browserJobNewSchema, browserJobStatusSchema, browserLogLinesSchema, browserLogStreamTerminatedReason, browserLogStreamTerminatedSchema, browserLogSubscribeSchema, browserLogUnsubscribeSchema, browserPingSchema, browserPongSchema, browserRunEventSchema, browserRunNewSchema, browserRunStatusSchema, browserStatusSubscribeSchema, browserStatusUnsubscribeSchema, browserStepStatusSchema, browserToPlatformMessageSchema, buildTrustedPassthroughEnv, buildZodFromDescriptor, buildZodObjectFromMap, cacheStatsSchema, cacheUserRestoreRequestSchema, cacheUserRestoreResponseSchema, cacheUserSaveCompleteSchema, cacheUserSaveRequestSchema, cacheUserSaveResponseSchema, cancelRunToolSchema, cancelRunsByBranchToolSchema, capabilityLabel, coerceDispatchInputs, coerceHostPropertyValue, compileRegexMatcher, configAckSchema, contextBindingEntrySchema, contextBindingsListRequestSchema, contextBindingsSetRequestSchema, contextCreateRequestSchema, contextDeleteRequestSchema, contextGetRequestSchema, contextHistoryRequestSchema, contextListRequestSchema, contextSecretDeleteRequestSchema, contextSecretScopeCreateRequestSchema, contextSecretScopeDeleteRequestSchema, contextSecretScopeRenameRequestSchema, contextSecretSetRequestSchema, contextSecretsListRequestSchema, contextSourceOverrideDeleteRequestSchema, contextSourceOverrideSetRequestSchema, contextSourceOverridesListRequestSchema, contextTestAccessSetRequestSchema, contextUpdateRequestSchema, contextVarDeleteRequestSchema, contextVarSetRequestSchema, contextVarsListRequestSchema, createTraceEntry, createWorkflowBundleConfig, createWorkflowDecision, dashboardAccessLogListRequestSchema, dashboardAccessLogListResponseSchema, dashboardAttestationGetRequestSchema, dashboardAttestationGetResponseSchema, dashboardAttestationRetryRequestSchema, dashboardAttestationRetryResponseSchema, dashboardAttestationsApiResponseSchema, dashboardAttestationsListAllRequestSchema, dashboardAttestationsListAllResponseSchema, dashboardAttestationsListRequestSchema, dashboardAttestationsListResponseSchema, dashboardDiagnosticsRequestSchema, dashboardDiagnosticsResponseSchema, dashboardEventDlqCountRequestSchema, dashboardEventDlqDiscardRequestSchema, dashboardEventDlqListItemSchema, dashboardEventDlqListRequestSchema, dashboardEventDlqRetryRequestSchema, dashboardEventLogDetailRequestSchema, dashboardEventLogListRequestSchema, dashboardEventLogPayloadChunkSchema, dashboardEventLogPayloadStreamRequestSchema, dashboardFleetHostRequestSchema, dashboardFleetHostResponseSchema, dashboardFleetHostsRequestSchema, dashboardFleetHostsResponseSchema, dashboardFleetPreviewRequestSchema, dashboardFleetPreviewResponseSchema, dashboardFleetWorkflowsForHostRequestSchema, dashboardFleetWorkflowsForHostResponseSchema, dashboardJobDetailSchema, dashboardOrchLogsRequestSchema, dashboardOrchLogsResponseSchema, dashboardOrchToPlatformSchema, dashboardPayloadRequestSchema, dashboardPlatformToOrchSchema, dashboardRunDetailApiResponseSchema, dashboardRunDetailRequestSchema, dashboardRunDetailResponseSchema, dashboardRunStructuredRequestSchema, dashboardRunStructuredResponseSchema, dashboardRunSummarySchema, dashboardRunsFiltersRequestSchema, dashboardRunsFiltersResponseSchema, dashboardRunsListRequestSchema, dashboardRunsListResponseSchema, dashboardScalerAgentsRequestSchema, dashboardScalerAgentsResponseSchema, dashboardScalerCapacityRequestSchema, dashboardScalerCapacityResponseSchema, dashboardSourceSummarySchema, dashboardSourcesListRequestSchema, dashboardSourcesListResponseSchema, dashboardStepLogsApiResponseSchema, dashboardStepLogsRequestSchema, dashboardStepLogsResponseSchema, decodeActivityCursor, deriveOsArchLabels, developerOpsForEntrypoint, diagnosticsInfrastructureResponseSchema, diagnosticsSummaryResponseSchema, encodeActivityCursor, errorSchema, eventEmitResponseSchema, eventEmitSchema, eventLogListItemSchema, executionEventSchema, executionStatusSchema, expandMatrix, expandMultiDimension, expandSingleDimension, extractInputDescriptor, extractInputsDescriptorMap, fanoutEnvelopeFields, flattenActor, fleetBundleChunkSchema, fleetBundleErrorSchema, fleetHostDeclareRequestSchema, fleetHostDeclareResponseSchema, fleetHostRemoveRequestSchema, fleetHostRemoveResponseSchema, fleetHostWorkflowSchema, fleetLogsRequestSchema, fleetPinnedRunSchema, fleetPreviewHostSchema, fleetSelectionSchema, fnv1a32, formatExpandedJobName, formatMatrixSuffix, getAccessLogColdDays, getAccessLogWarmDays, getAuditLogColdDays, getAuditLogWarmDays, getDiagnosticsToolSchema, getRunToolSchema, getSecretAuditLogColdDays, getSecretAuditLogWarmDays, getStepLogsToolSchema, gitAuthSchema, githubIngressPath, githubWebhookPath, hasOrchCapability, heartbeatSchema, heldRunApproveRequestSchema, heldRunRejectRequestSchema, heldRunsListRequestSchema, hostEnvelopeFields, hostLabel, hostSatisfiesTarget, identityLinkItemSchema, identityLinkListResponseSchema, initFailureSchema, isInputSatisfiableFromDefaults, isLockDynamicJobFn, isLockInlineValue, isLockParallelStep, isLockStaticJob, isSelfReportedLabel, isTerminal, isTrustedEnvScrubbed, jobAckSchema, jobCancelSchema, jobConcurrencyAckSchema, jobConcurrencyReportSchema, jobContextMessageSchema, jobDispatchSchema, jobProgressAckSchema, jobProgressSchema, jobRejectSchema, jobRerouteAckSchema, jobRerouteSchema, jobStatusForwardSchema, jobStatusSchema, joinRequestSchema, joinResponseSchema, listOrchestratorsToolSchema, listOrgsToolSchema, listRunsToolSchema, listSecretsToolSchema, listWorkflowsToolSchema, logChunkSchema, logPullOrchToPlatformSchema, logPullPlatformToOrchSchema, manualScheduleRequestSchema, matchAllWorkflows, matchBranchPattern, matchPathPatterns, matchRepoPatterns, matchScopePattern, matchWorkflowTriggers, matcherMatches, matcherSatisfiedBy, materializeFanout, materializeResolvedHosts, materializeResolvedMatrix, matrixEnvelopeFields, memberIdentityLinkSchema, memberListResponseSchema, memberRoleAssignmentSchema, mergeAutoLabels, mergeOrderedMaps, minAccessLogWarmDays, minAuditLogWarmDays, minSecretAuditLogWarmDays, nackSchema, normalizeRunsOn, orchCapabilitiesSchema, orchMetricsSchema, orchestratorToAgentMessageSchema, orchestratorToPlatformMessageSchema, orgMemberSchema, parseActor, parseHostLabel, parseHostPropertyAssignments, parseInputPairs, parseMemoryString, partitionMatchers, peerAgentTokenRevokeSchema, peerAuthRequestSchema, peerAuthResponseSchema, peerCapabilitiesSchema, peerConfigReloadResponseSchema, peerConfigReloadSchema, peerDiscoverSchema, peerFromPeerMessageSchema, peerHeartbeatSchema, peerHelloResponseSchema, peerHelloSchema, peerJobCancelSchema, peerLeavingSchema, peerLogsCollectChunkSchema, peerLogsCollectErrorSchema, peerLogsCollectRequestSchema, peerScalerEventSchema, peerToPeerMessageSchema, peerUpdateSchema, platformOperatorActorSchema, platformToBrowserMessageSchema, platformToOrchestratorMessageSchema, provenanceUploadCompleteSchema, provenanceUploadDeferSchema, provenanceUploadRequestSchema, provenanceUploadResponseSchema, raftAppendEntriesSchema, raftVoteRequestSchema, raftVoteResponseSchema, registerAckSchema, registrationDeleteRequestSchema, registrationDisableRequestSchema, registrationItemSchema, registrationsListRequestSchema, registrationsListResponseSchema, rejectRunToolSchema, renderFenced, rerunRunToolSchema, resolveHeldRunId, resolveRoleLabels, resolveRunIdSugar, resolveScheduleInputs, resolveSecretsForContext, resolveWhenToRunOn, resourceRequestNestedSchema, resourceSpecSchema, runCancelRequestSchema, runEventMessageSchema, runEventSchema, runLineageResponseSchema, runListItemSchema, runListResponseSchema, runRerunRequestSchema, scalerAgentLabels, scalerLabel, secretAuditLogColdDays, secretAuditLogWarmDays, secretAuditLogWarmSqlCase, serviceAccountActorSchema, shouldRecordAccess, shouldRecordSecretResolve, sourceDeregisterAckSchema, sourceDeregisterSchema, sourceRegistrationAckSchema, sourceRegistrationSchema, staleCheckrunCleanupSchema, stateReplaySchema, statusOptionsForLevel, stepApprovalPayloadSchema, stepApprovalRequestSchema, stepApprovalResolvedSchema, stepStatusForwardSchema, stringifyActor, stripScopePrefix, systemActorSchema, testRelayCancelRequestSchema, testRelayCancelResponseSchema, testRelayRunLogsRequestSchema, testRelayRunLogsResponseSchema, testRelayRunStatusRequestSchema, testRelayRunStatusResponseSchema, testRelayTriggerRequestSchema, testRelayTriggerResponseSchema, testRelayUploadsInitRequestSchema, testRelayUploadsInitResponseSchema, transition, triggerRunToolSchema, trustPolicyResponseSchema, trustPolicyUpdateSchema, untrusted, upstreamSnapshotSchema, userActorSchema, validateNoReservedLabels, validateResourceRequest, webhookAckSchema, webhookRelayChunkSchema, webhookRelaySchema, webhookRelayStartSchema, wrapUntrusted };
|
|
@@ -9,12 +9,14 @@ export declare const MetricNames: {
|
|
|
9
9
|
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "kici_agent_log_lines_dropped_total";
|
|
10
10
|
readonly KICI_AGENT_STEP_DURATION_SECONDS: "kici_agent_step_duration_seconds";
|
|
11
11
|
readonly KICI_AGENT_STEPS_TOTAL: "kici_agent_steps_total";
|
|
12
|
+
readonly KICI_BILLING_EMAIL_SEND_TOTAL: "kici_billing_email_send_total";
|
|
12
13
|
readonly KICI_BUILD_JOBS_TOTAL: "kici_build_jobs_total";
|
|
13
14
|
readonly KICI_CACHE_HITS_TOTAL: "kici_cache_hits_total";
|
|
14
15
|
readonly KICI_CACHE_MISSES_TOTAL: "kici_cache_misses_total";
|
|
15
16
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "kici_cross_source_errors_total";
|
|
16
17
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "kici_cross_source_fanout_size";
|
|
17
18
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "kici_dashboard_relay_latency_seconds";
|
|
19
|
+
readonly KICI_DB_COLLATION_DRIFT: "kici_db_collation_drift";
|
|
18
20
|
readonly KICI_MCP_AUTH_REJECTIONS_TOTAL: "kici_mcp_auth_rejections_total";
|
|
19
21
|
readonly KICI_MCP_DB_POOL_CONNECTIONS: "kici_mcp_db_pool_connections";
|
|
20
22
|
readonly KICI_MCP_RATE_LIMITED_TOTAL: "kici_mcp_rate_limited_total";
|
|
@@ -24,6 +26,7 @@ export declare const MetricNames: {
|
|
|
24
26
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "kici_orch_build_duration_seconds";
|
|
25
27
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "kici_orch_config_reload_total";
|
|
26
28
|
readonly KICI_ORCH_CONFIG_VERSION: "kici_orch_config_version";
|
|
29
|
+
readonly KICI_ORCH_DB_COLLATION_DRIFT: "kici_orch_db_collation_drift";
|
|
27
30
|
readonly KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "kici_orch_declared_hosts_unreachable";
|
|
28
31
|
readonly KICI_ORCH_DEDUP_HITS_TOTAL: "kici_orch_dedup_hits_total";
|
|
29
32
|
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: "kici_orch_dep_cache_hits_total";
|
|
@@ -78,8 +81,6 @@ export declare const MetricNames: {
|
|
|
78
81
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: "kici_plan_cap_exceeded_total";
|
|
79
82
|
readonly KICI_PLAN_USAGE_RATIO: "kici_plan_usage_ratio";
|
|
80
83
|
readonly KICI_PLATFORM_COORDINATOR_POOL_SIZE: "kici_platform_coordinator_pool_size";
|
|
81
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "kici_platform_coordinator_probe_latency_ms";
|
|
82
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "kici_platform_coordinator_probe_timeouts_total";
|
|
83
84
|
readonly KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "kici_platform_coordinator_stale_entries";
|
|
84
85
|
readonly KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "kici_platform_coordinator_zombie_entries_total";
|
|
85
86
|
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "kici_platform_cross_tenant_rejections_total";
|
|
@@ -166,12 +167,14 @@ export declare const MetricLabels: {
|
|
|
166
167
|
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: readonly ["scaler"];
|
|
167
168
|
readonly KICI_AGENT_STEP_DURATION_SECONDS: readonly ["scaler"];
|
|
168
169
|
readonly KICI_AGENT_STEPS_TOTAL: readonly ["status", "scaler"];
|
|
170
|
+
readonly KICI_BILLING_EMAIL_SEND_TOTAL: readonly ["kind", "status"];
|
|
169
171
|
readonly KICI_BUILD_JOBS_TOTAL: readonly [];
|
|
170
172
|
readonly KICI_CACHE_HITS_TOTAL: readonly ["cache_type"];
|
|
171
173
|
readonly KICI_CACHE_MISSES_TOTAL: readonly ["cache_type"];
|
|
172
174
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: readonly ["reason"];
|
|
173
175
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: readonly ["event"];
|
|
174
176
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: readonly ["outcome"];
|
|
177
|
+
readonly KICI_DB_COLLATION_DRIFT: readonly ["database"];
|
|
175
178
|
readonly KICI_MCP_AUTH_REJECTIONS_TOTAL: readonly ["reason"];
|
|
176
179
|
readonly KICI_MCP_DB_POOL_CONNECTIONS: readonly ["state"];
|
|
177
180
|
readonly KICI_MCP_RATE_LIMITED_TOTAL: readonly ["kind"];
|
|
@@ -181,6 +184,7 @@ export declare const MetricLabels: {
|
|
|
181
184
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: readonly [];
|
|
182
185
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: readonly ["result", "source"];
|
|
183
186
|
readonly KICI_ORCH_CONFIG_VERSION: readonly [];
|
|
187
|
+
readonly KICI_ORCH_DB_COLLATION_DRIFT: readonly ["database"];
|
|
184
188
|
readonly KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: readonly [];
|
|
185
189
|
readonly KICI_ORCH_DEDUP_HITS_TOTAL: readonly [];
|
|
186
190
|
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: readonly [];
|
|
@@ -235,8 +239,6 @@ export declare const MetricLabels: {
|
|
|
235
239
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: readonly ["org_id", "dimension"];
|
|
236
240
|
readonly KICI_PLAN_USAGE_RATIO: readonly ["org_id", "dimension"];
|
|
237
241
|
readonly KICI_PLATFORM_COORDINATOR_POOL_SIZE: readonly ["routingKey"];
|
|
238
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: readonly ["clusterName", "connectionId"];
|
|
239
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: readonly ["clusterName", "connectionId"];
|
|
240
242
|
readonly KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: readonly [];
|
|
241
243
|
readonly KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: readonly ["clusterName"];
|
|
242
244
|
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: readonly ["reason"];
|
|
@@ -322,12 +324,14 @@ export declare const MetricKind: {
|
|
|
322
324
|
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "counter";
|
|
323
325
|
readonly KICI_AGENT_STEP_DURATION_SECONDS: "histogram";
|
|
324
326
|
readonly KICI_AGENT_STEPS_TOTAL: "counter";
|
|
327
|
+
readonly KICI_BILLING_EMAIL_SEND_TOTAL: "counter";
|
|
325
328
|
readonly KICI_BUILD_JOBS_TOTAL: "counter";
|
|
326
329
|
readonly KICI_CACHE_HITS_TOTAL: "counter";
|
|
327
330
|
readonly KICI_CACHE_MISSES_TOTAL: "counter";
|
|
328
331
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "counter";
|
|
329
332
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "histogram";
|
|
330
333
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "histogram";
|
|
334
|
+
readonly KICI_DB_COLLATION_DRIFT: "observableGauge";
|
|
331
335
|
readonly KICI_MCP_AUTH_REJECTIONS_TOTAL: "counter";
|
|
332
336
|
readonly KICI_MCP_DB_POOL_CONNECTIONS: "observableGauge";
|
|
333
337
|
readonly KICI_MCP_RATE_LIMITED_TOTAL: "counter";
|
|
@@ -337,6 +341,7 @@ export declare const MetricKind: {
|
|
|
337
341
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "histogram";
|
|
338
342
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "counter";
|
|
339
343
|
readonly KICI_ORCH_CONFIG_VERSION: "observableGauge";
|
|
344
|
+
readonly KICI_ORCH_DB_COLLATION_DRIFT: "observableGauge";
|
|
340
345
|
readonly KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "observableGauge";
|
|
341
346
|
readonly KICI_ORCH_DEDUP_HITS_TOTAL: "counter";
|
|
342
347
|
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: "counter";
|
|
@@ -391,8 +396,6 @@ export declare const MetricKind: {
|
|
|
391
396
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: "counter";
|
|
392
397
|
readonly KICI_PLAN_USAGE_RATIO: "observableGauge";
|
|
393
398
|
readonly KICI_PLATFORM_COORDINATOR_POOL_SIZE: "observableGauge";
|
|
394
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "histogram";
|
|
395
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "counter";
|
|
396
399
|
readonly KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "observableGauge";
|
|
397
400
|
readonly KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "counter";
|
|
398
401
|
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "counter";
|
|
@@ -478,12 +481,14 @@ export declare const MetricDescription: {
|
|
|
478
481
|
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "Total log lines dropped due to backpressure";
|
|
479
482
|
readonly KICI_AGENT_STEP_DURATION_SECONDS: "Step execution duration in seconds";
|
|
480
483
|
readonly KICI_AGENT_STEPS_TOTAL: "Total number of completed steps";
|
|
484
|
+
readonly KICI_BILLING_EMAIL_SEND_TOTAL: "Billing emails sent, by kind and status";
|
|
481
485
|
readonly KICI_BUILD_JOBS_TOTAL: "Total build jobs dispatched";
|
|
482
486
|
readonly KICI_CACHE_HITS_TOTAL: "Total cache hits by type";
|
|
483
487
|
readonly KICI_CACHE_MISSES_TOTAL: "Total cache misses by type";
|
|
484
488
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "Errors encountered during cross-source webhook dispatch";
|
|
485
489
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "Number of webhook-trigger registrations matched when an inbound generic webhook fans out across sources in the same org";
|
|
486
490
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "Round-trip latency of a cross-instance dashboard relay request";
|
|
491
|
+
readonly KICI_DB_COLLATION_DRIFT: "1 when the database stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.";
|
|
487
492
|
readonly KICI_MCP_AUTH_REJECTIONS_TOTAL: "Developer-MCP requests rejected by the agent-credential gate";
|
|
488
493
|
readonly KICI_MCP_DB_POOL_CONNECTIONS: "MCP-dedicated Postgres pool connection counts";
|
|
489
494
|
readonly KICI_MCP_RATE_LIMITED_TOTAL: "Developer-MCP requests rejected by the per-credential rate limiter";
|
|
@@ -493,6 +498,7 @@ export declare const MetricDescription: {
|
|
|
493
498
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "Duration of build agent operations in seconds";
|
|
494
499
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "Total number of config reload operations";
|
|
495
500
|
readonly KICI_ORCH_CONFIG_VERSION: "Current shared config version number";
|
|
501
|
+
readonly KICI_ORCH_DB_COLLATION_DRIFT: "1 when the orchestrator DB stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.";
|
|
496
502
|
readonly KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "Number of declared (static) roster hosts currently unreachable";
|
|
497
503
|
readonly KICI_ORCH_DEDUP_HITS_TOTAL: "Total number of deduplication cache hits";
|
|
498
504
|
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: "Total number of dep cache hits";
|
|
@@ -547,8 +553,6 @@ export declare const MetricDescription: {
|
|
|
547
553
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: "Total times an org hit a plan cap (per dimension)";
|
|
548
554
|
readonly KICI_PLAN_USAGE_RATIO: "Per-org per-dimension usage ratio (current / cap)";
|
|
549
555
|
readonly KICI_PLATFORM_COORDINATOR_POOL_SIZE: "Coordinator pool size per routing key";
|
|
550
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "Active coordinator liveness-probe round-trip latency in ms";
|
|
551
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "Active coordinator liveness-probe timeouts";
|
|
552
556
|
readonly KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "Stale (non-OPEN socket) coordinator entries in the pool per routing key";
|
|
553
557
|
readonly KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "Zombie (non-OPEN) coordinator entries encountered during relay selection";
|
|
554
558
|
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "Total cross-tenant WS messages rejected by the Platform (security invariant). Labels: reason.";
|
|
@@ -641,12 +645,14 @@ export declare const MetricService: {
|
|
|
641
645
|
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "agent";
|
|
642
646
|
readonly KICI_AGENT_STEP_DURATION_SECONDS: "agent";
|
|
643
647
|
readonly KICI_AGENT_STEPS_TOTAL: "agent";
|
|
648
|
+
readonly KICI_BILLING_EMAIL_SEND_TOTAL: "platform";
|
|
644
649
|
readonly KICI_BUILD_JOBS_TOTAL: "platform";
|
|
645
650
|
readonly KICI_CACHE_HITS_TOTAL: "platform";
|
|
646
651
|
readonly KICI_CACHE_MISSES_TOTAL: "platform";
|
|
647
652
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "orchestrator";
|
|
648
653
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "orchestrator";
|
|
649
654
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "platform";
|
|
655
|
+
readonly KICI_DB_COLLATION_DRIFT: "platform";
|
|
650
656
|
readonly KICI_MCP_AUTH_REJECTIONS_TOTAL: "platform";
|
|
651
657
|
readonly KICI_MCP_DB_POOL_CONNECTIONS: "platform";
|
|
652
658
|
readonly KICI_MCP_RATE_LIMITED_TOTAL: "platform";
|
|
@@ -656,6 +662,7 @@ export declare const MetricService: {
|
|
|
656
662
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "orchestrator";
|
|
657
663
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "orchestrator";
|
|
658
664
|
readonly KICI_ORCH_CONFIG_VERSION: "orchestrator";
|
|
665
|
+
readonly KICI_ORCH_DB_COLLATION_DRIFT: "orchestrator";
|
|
659
666
|
readonly KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "orchestrator";
|
|
660
667
|
readonly KICI_ORCH_DEDUP_HITS_TOTAL: "orchestrator";
|
|
661
668
|
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: "orchestrator";
|
|
@@ -710,8 +717,6 @@ export declare const MetricService: {
|
|
|
710
717
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: "platform";
|
|
711
718
|
readonly KICI_PLAN_USAGE_RATIO: "platform";
|
|
712
719
|
readonly KICI_PLATFORM_COORDINATOR_POOL_SIZE: "platform";
|
|
713
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "platform";
|
|
714
|
-
readonly KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "platform";
|
|
715
720
|
readonly KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "platform";
|
|
716
721
|
readonly KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "platform";
|
|
717
722
|
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "platform";
|
|
@@ -11,12 +11,14 @@ const MetricNames = {
|
|
|
11
11
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "kici_agent_log_lines_dropped_total",
|
|
12
12
|
KICI_AGENT_STEP_DURATION_SECONDS: "kici_agent_step_duration_seconds",
|
|
13
13
|
KICI_AGENT_STEPS_TOTAL: "kici_agent_steps_total",
|
|
14
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "kici_billing_email_send_total",
|
|
14
15
|
KICI_BUILD_JOBS_TOTAL: "kici_build_jobs_total",
|
|
15
16
|
KICI_CACHE_HITS_TOTAL: "kici_cache_hits_total",
|
|
16
17
|
KICI_CACHE_MISSES_TOTAL: "kici_cache_misses_total",
|
|
17
18
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "kici_cross_source_errors_total",
|
|
18
19
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "kici_cross_source_fanout_size",
|
|
19
20
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "kici_dashboard_relay_latency_seconds",
|
|
21
|
+
KICI_DB_COLLATION_DRIFT: "kici_db_collation_drift",
|
|
20
22
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "kici_mcp_auth_rejections_total",
|
|
21
23
|
KICI_MCP_DB_POOL_CONNECTIONS: "kici_mcp_db_pool_connections",
|
|
22
24
|
KICI_MCP_RATE_LIMITED_TOTAL: "kici_mcp_rate_limited_total",
|
|
@@ -26,6 +28,7 @@ const MetricNames = {
|
|
|
26
28
|
KICI_ORCH_BUILD_DURATION_SECONDS: "kici_orch_build_duration_seconds",
|
|
27
29
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "kici_orch_config_reload_total",
|
|
28
30
|
KICI_ORCH_CONFIG_VERSION: "kici_orch_config_version",
|
|
31
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "kici_orch_db_collation_drift",
|
|
29
32
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "kici_orch_declared_hosts_unreachable",
|
|
30
33
|
KICI_ORCH_DEDUP_HITS_TOTAL: "kici_orch_dedup_hits_total",
|
|
31
34
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "kici_orch_dep_cache_hits_total",
|
|
@@ -80,8 +83,6 @@ const MetricNames = {
|
|
|
80
83
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "kici_plan_cap_exceeded_total",
|
|
81
84
|
KICI_PLAN_USAGE_RATIO: "kici_plan_usage_ratio",
|
|
82
85
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "kici_platform_coordinator_pool_size",
|
|
83
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "kici_platform_coordinator_probe_latency_ms",
|
|
84
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "kici_platform_coordinator_probe_timeouts_total",
|
|
85
86
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "kici_platform_coordinator_stale_entries",
|
|
86
87
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "kici_platform_coordinator_zombie_entries_total",
|
|
87
88
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "kici_platform_cross_tenant_rejections_total",
|
|
@@ -167,12 +168,14 @@ const MetricLabels = {
|
|
|
167
168
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: ["scaler"],
|
|
168
169
|
KICI_AGENT_STEP_DURATION_SECONDS: ["scaler"],
|
|
169
170
|
KICI_AGENT_STEPS_TOTAL: ["status", "scaler"],
|
|
171
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: ["kind", "status"],
|
|
170
172
|
KICI_BUILD_JOBS_TOTAL: [],
|
|
171
173
|
KICI_CACHE_HITS_TOTAL: ["cache_type"],
|
|
172
174
|
KICI_CACHE_MISSES_TOTAL: ["cache_type"],
|
|
173
175
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: ["reason"],
|
|
174
176
|
KICI_CROSS_SOURCE_FANOUT_SIZE: ["event"],
|
|
175
177
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: ["outcome"],
|
|
178
|
+
KICI_DB_COLLATION_DRIFT: ["database"],
|
|
176
179
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: ["reason"],
|
|
177
180
|
KICI_MCP_DB_POOL_CONNECTIONS: ["state"],
|
|
178
181
|
KICI_MCP_RATE_LIMITED_TOTAL: ["kind"],
|
|
@@ -182,6 +185,7 @@ const MetricLabels = {
|
|
|
182
185
|
KICI_ORCH_BUILD_DURATION_SECONDS: [],
|
|
183
186
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: ["result", "source"],
|
|
184
187
|
KICI_ORCH_CONFIG_VERSION: [],
|
|
188
|
+
KICI_ORCH_DB_COLLATION_DRIFT: ["database"],
|
|
185
189
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: [],
|
|
186
190
|
KICI_ORCH_DEDUP_HITS_TOTAL: [],
|
|
187
191
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: [],
|
|
@@ -248,8 +252,6 @@ const MetricLabels = {
|
|
|
248
252
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: ["org_id", "dimension"],
|
|
249
253
|
KICI_PLAN_USAGE_RATIO: ["org_id", "dimension"],
|
|
250
254
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: ["routingKey"],
|
|
251
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: ["clusterName", "connectionId"],
|
|
252
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: ["clusterName", "connectionId"],
|
|
253
255
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: [],
|
|
254
256
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: ["clusterName"],
|
|
255
257
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: ["reason"],
|
|
@@ -339,12 +341,14 @@ const MetricKind = {
|
|
|
339
341
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "counter",
|
|
340
342
|
KICI_AGENT_STEP_DURATION_SECONDS: "histogram",
|
|
341
343
|
KICI_AGENT_STEPS_TOTAL: "counter",
|
|
344
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "counter",
|
|
342
345
|
KICI_BUILD_JOBS_TOTAL: "counter",
|
|
343
346
|
KICI_CACHE_HITS_TOTAL: "counter",
|
|
344
347
|
KICI_CACHE_MISSES_TOTAL: "counter",
|
|
345
348
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "counter",
|
|
346
349
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "histogram",
|
|
347
350
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "histogram",
|
|
351
|
+
KICI_DB_COLLATION_DRIFT: "observableGauge",
|
|
348
352
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "counter",
|
|
349
353
|
KICI_MCP_DB_POOL_CONNECTIONS: "observableGauge",
|
|
350
354
|
KICI_MCP_RATE_LIMITED_TOTAL: "counter",
|
|
@@ -354,6 +358,7 @@ const MetricKind = {
|
|
|
354
358
|
KICI_ORCH_BUILD_DURATION_SECONDS: "histogram",
|
|
355
359
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "counter",
|
|
356
360
|
KICI_ORCH_CONFIG_VERSION: "observableGauge",
|
|
361
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "observableGauge",
|
|
357
362
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "observableGauge",
|
|
358
363
|
KICI_ORCH_DEDUP_HITS_TOTAL: "counter",
|
|
359
364
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "counter",
|
|
@@ -408,8 +413,6 @@ const MetricKind = {
|
|
|
408
413
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "counter",
|
|
409
414
|
KICI_PLAN_USAGE_RATIO: "observableGauge",
|
|
410
415
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "observableGauge",
|
|
411
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "histogram",
|
|
412
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "counter",
|
|
413
416
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "observableGauge",
|
|
414
417
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "counter",
|
|
415
418
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "counter",
|
|
@@ -495,12 +498,14 @@ const MetricDescription = {
|
|
|
495
498
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "Total log lines dropped due to backpressure",
|
|
496
499
|
KICI_AGENT_STEP_DURATION_SECONDS: "Step execution duration in seconds",
|
|
497
500
|
KICI_AGENT_STEPS_TOTAL: "Total number of completed steps",
|
|
501
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "Billing emails sent, by kind and status",
|
|
498
502
|
KICI_BUILD_JOBS_TOTAL: "Total build jobs dispatched",
|
|
499
503
|
KICI_CACHE_HITS_TOTAL: "Total cache hits by type",
|
|
500
504
|
KICI_CACHE_MISSES_TOTAL: "Total cache misses by type",
|
|
501
505
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "Errors encountered during cross-source webhook dispatch",
|
|
502
506
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "Number of webhook-trigger registrations matched when an inbound generic webhook fans out across sources in the same org",
|
|
503
507
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "Round-trip latency of a cross-instance dashboard relay request",
|
|
508
|
+
KICI_DB_COLLATION_DRIFT: "1 when the database stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.",
|
|
504
509
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "Developer-MCP requests rejected by the agent-credential gate",
|
|
505
510
|
KICI_MCP_DB_POOL_CONNECTIONS: "MCP-dedicated Postgres pool connection counts",
|
|
506
511
|
KICI_MCP_RATE_LIMITED_TOTAL: "Developer-MCP requests rejected by the per-credential rate limiter",
|
|
@@ -510,6 +515,7 @@ const MetricDescription = {
|
|
|
510
515
|
KICI_ORCH_BUILD_DURATION_SECONDS: "Duration of build agent operations in seconds",
|
|
511
516
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "Total number of config reload operations",
|
|
512
517
|
KICI_ORCH_CONFIG_VERSION: "Current shared config version number",
|
|
518
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "1 when the orchestrator DB stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.",
|
|
513
519
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "Number of declared (static) roster hosts currently unreachable",
|
|
514
520
|
KICI_ORCH_DEDUP_HITS_TOTAL: "Total number of deduplication cache hits",
|
|
515
521
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "Total number of dep cache hits",
|
|
@@ -564,8 +570,6 @@ const MetricDescription = {
|
|
|
564
570
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "Total times an org hit a plan cap (per dimension)",
|
|
565
571
|
KICI_PLAN_USAGE_RATIO: "Per-org per-dimension usage ratio (current / cap)",
|
|
566
572
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "Coordinator pool size per routing key",
|
|
567
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "Active coordinator liveness-probe round-trip latency in ms",
|
|
568
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "Active coordinator liveness-probe timeouts",
|
|
569
573
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "Stale (non-OPEN socket) coordinator entries in the pool per routing key",
|
|
570
574
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "Zombie (non-OPEN) coordinator entries encountered during relay selection",
|
|
571
575
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "Total cross-tenant WS messages rejected by the Platform (security invariant). Labels: reason.",
|
|
@@ -658,12 +662,14 @@ const MetricService = {
|
|
|
658
662
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "agent",
|
|
659
663
|
KICI_AGENT_STEP_DURATION_SECONDS: "agent",
|
|
660
664
|
KICI_AGENT_STEPS_TOTAL: "agent",
|
|
665
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "platform",
|
|
661
666
|
KICI_BUILD_JOBS_TOTAL: "platform",
|
|
662
667
|
KICI_CACHE_HITS_TOTAL: "platform",
|
|
663
668
|
KICI_CACHE_MISSES_TOTAL: "platform",
|
|
664
669
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "orchestrator",
|
|
665
670
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "orchestrator",
|
|
666
671
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "platform",
|
|
672
|
+
KICI_DB_COLLATION_DRIFT: "platform",
|
|
667
673
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "platform",
|
|
668
674
|
KICI_MCP_DB_POOL_CONNECTIONS: "platform",
|
|
669
675
|
KICI_MCP_RATE_LIMITED_TOTAL: "platform",
|
|
@@ -673,6 +679,7 @@ const MetricService = {
|
|
|
673
679
|
KICI_ORCH_BUILD_DURATION_SECONDS: "orchestrator",
|
|
674
680
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "orchestrator",
|
|
675
681
|
KICI_ORCH_CONFIG_VERSION: "orchestrator",
|
|
682
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "orchestrator",
|
|
676
683
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "orchestrator",
|
|
677
684
|
KICI_ORCH_DEDUP_HITS_TOTAL: "orchestrator",
|
|
678
685
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "orchestrator",
|
|
@@ -727,8 +734,6 @@ const MetricService = {
|
|
|
727
734
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "platform",
|
|
728
735
|
KICI_PLAN_USAGE_RATIO: "platform",
|
|
729
736
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "platform",
|
|
730
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "platform",
|
|
731
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "platform",
|
|
732
737
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "platform",
|
|
733
738
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "platform",
|
|
734
739
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "platform",
|
|
@@ -815,12 +820,14 @@ const ALL_METRIC_NAMES = [
|
|
|
815
820
|
"kici_agent_log_lines_dropped_total",
|
|
816
821
|
"kici_agent_step_duration_seconds",
|
|
817
822
|
"kici_agent_steps_total",
|
|
823
|
+
"kici_billing_email_send_total",
|
|
818
824
|
"kici_build_jobs_total",
|
|
819
825
|
"kici_cache_hits_total",
|
|
820
826
|
"kici_cache_misses_total",
|
|
821
827
|
"kici_cross_source_errors_total",
|
|
822
828
|
"kici_cross_source_fanout_size",
|
|
823
829
|
"kici_dashboard_relay_latency_seconds",
|
|
830
|
+
"kici_db_collation_drift",
|
|
824
831
|
"kici_mcp_auth_rejections_total",
|
|
825
832
|
"kici_mcp_db_pool_connections",
|
|
826
833
|
"kici_mcp_rate_limited_total",
|
|
@@ -830,6 +837,7 @@ const ALL_METRIC_NAMES = [
|
|
|
830
837
|
"kici_orch_build_duration_seconds",
|
|
831
838
|
"kici_orch_config_reload_total",
|
|
832
839
|
"kici_orch_config_version",
|
|
840
|
+
"kici_orch_db_collation_drift",
|
|
833
841
|
"kici_orch_declared_hosts_unreachable",
|
|
834
842
|
"kici_orch_dedup_hits_total",
|
|
835
843
|
"kici_orch_dep_cache_hits_total",
|
|
@@ -884,8 +892,6 @@ const ALL_METRIC_NAMES = [
|
|
|
884
892
|
"kici_plan_cap_exceeded_total",
|
|
885
893
|
"kici_plan_usage_ratio",
|
|
886
894
|
"kici_platform_coordinator_pool_size",
|
|
887
|
-
"kici_platform_coordinator_probe_latency_ms",
|
|
888
|
-
"kici_platform_coordinator_probe_timeouts_total",
|
|
889
895
|
"kici_platform_coordinator_stale_entries",
|
|
890
896
|
"kici_platform_coordinator_zombie_entries_total",
|
|
891
897
|
"kici_platform_cross_tenant_rejections_total",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Structured `error` codes the Platform dashboard API returns in a JSON body,
|
|
4
|
+
* which the dashboard SPA special-cases when rendering. Shared so the emit
|
|
5
|
+
* sites (Platform) and the match site (dashboard) never drift on the literal.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DashboardApiErrorCode: z.ZodEnum<{
|
|
8
|
+
orchestrator_not_found: "orchestrator_not_found";
|
|
9
|
+
session_max_age_exceeded: "session_max_age_exceeded";
|
|
10
|
+
}>;
|
|
11
|
+
export type DashboardApiErrorCode = z.infer<typeof DashboardApiErrorCode>;
|
|
12
|
+
//# sourceMappingURL=dashboard-api-errors.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/protocol/dashboard-api-errors.ts
|
|
4
|
+
/**
|
|
5
|
+
* Structured `error` codes the Platform dashboard API returns in a JSON body,
|
|
6
|
+
* which the dashboard SPA special-cases when rendering. Shared so the emit
|
|
7
|
+
* sites (Platform) and the match site (dashboard) never drift on the literal.
|
|
8
|
+
*/
|
|
9
|
+
const DashboardApiErrorCode = z.enum(["orchestrator_not_found", "session_max_age_exceeded"]);
|
|
10
|
+
//#endregion
|
|
11
|
+
export { DashboardApiErrorCode };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=dashboard-api-errors.js.map
|