@oneuptime/common 14.0.105 → 14.0.107
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/Models/AnalyticsModels/AuditLog.js +1 -1
- package/Models/AnalyticsModels/CloudCost.d.mts +2 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +2 -0
- package/Models/AnalyticsModels/CloudCost.js +27 -0
- package/Models/AnalyticsModels/Index.js +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.d.mts +5 -0
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.d.ts +5 -0
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +300 -0
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.mjs +3 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +410 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.mts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.ts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +210 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.mjs +2 -0
- package/Models/AnalyticsModels/RumSession.js +66 -12
- package/Models/AnalyticsModels/RumSessionChunk.js +30 -2
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +24 -9
- package/Models/DatabaseModels/AIRun.d.mts +4 -0
- package/Models/DatabaseModels/AIRun.d.ts +4 -0
- package/Models/DatabaseModels/AIRun.js +107 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +70 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +85 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.d.mts +1 -0
- package/Models/DatabaseModels/AuditLogExport.d.ts +1 -0
- package/Models/DatabaseModels/AuditLogExport.js +32 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +109 -0
- package/Models/DatabaseModels/CallLog.d.mts +4 -0
- package/Models/DatabaseModels/CallLog.d.ts +4 -0
- package/Models/DatabaseModels/CallLog.js +85 -0
- package/Models/DatabaseModels/CephCluster.d.mts +1 -0
- package/Models/DatabaseModels/CephCluster.d.ts +1 -0
- package/Models/DatabaseModels/CephCluster.js +36 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +1 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +1 -0
- package/Models/DatabaseModels/CloudAccount.js +27 -0
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +27 -6
- package/Models/DatabaseModels/CodeRepository.js +23 -6
- package/Models/DatabaseModels/DataBiConnection.d.mts +3 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +3 -0
- package/Models/DatabaseModels/DataBiConnection.js +47 -1
- package/Models/DatabaseModels/DataDashboard.d.mts +10 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +10 -0
- package/Models/DatabaseModels/DataDashboard.js +129 -2
- package/Models/DatabaseModels/DataStoreFinding.js +8 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +21 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +35 -1
- package/Models/DatabaseModels/DatabaseServer.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseServer.js +36 -0
- package/Models/DatabaseModels/DockerHost.d.mts +1 -0
- package/Models/DatabaseModels/DockerHost.d.ts +1 -0
- package/Models/DatabaseModels/DockerHost.js +36 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.mts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.ts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +36 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +36 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +36 -1
- package/Models/DatabaseModels/GlobalConfig.js +635 -2
- package/Models/DatabaseModels/Host.d.mts +1 -0
- package/Models/DatabaseModels/Host.d.ts +1 -0
- package/Models/DatabaseModels/Host.js +36 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +70 -0
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.js +7 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +185 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentFeed.js +7 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +85 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.js +185 -0
- package/Models/DatabaseModels/Index.js +30 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.js +36 -0
- package/Models/DatabaseModels/LlmProvider.d.mts +1 -0
- package/Models/DatabaseModels/LlmProvider.d.ts +1 -0
- package/Models/DatabaseModels/LlmProvider.js +39 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +98 -2
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +55 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryImport.js +11 -6
- package/Models/DatabaseModels/NetworkDeviceNamingRule.d.mts +26 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.d.ts +26 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.js +536 -0
- package/Models/DatabaseModels/NetworkDeviceNamingRule.mjs +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +48 -0
- package/Models/DatabaseModels/NetworkSite.d.mts +1 -0
- package/Models/DatabaseModels/NetworkSite.d.ts +1 -0
- package/Models/DatabaseModels/NetworkSite.js +51 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +54 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.mts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.d.ts +2 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +41 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.js +27 -0
- package/Models/DatabaseModels/PacketCapture.js +3 -1
- package/Models/DatabaseModels/PodmanHost.d.mts +1 -0
- package/Models/DatabaseModels/PodmanHost.d.ts +1 -0
- package/Models/DatabaseModels/PodmanHost.js +36 -0
- package/Models/DatabaseModels/Project.d.mts +19 -0
- package/Models/DatabaseModels/Project.d.ts +19 -0
- package/Models/DatabaseModels/Project.js +541 -0
- package/Models/DatabaseModels/ProjectCallSMSConfig.d.mts +2 -0
- package/Models/DatabaseModels/ProjectCallSMSConfig.d.ts +2 -0
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +80 -1
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +335 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +36 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.mts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.ts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.js +460 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.mjs +3 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.mts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.ts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +363 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.mjs +2 -0
- package/Models/DatabaseModels/RumApplication.d.mts +8 -0
- package/Models/DatabaseModels/RumApplication.d.ts +8 -0
- package/Models/DatabaseModels/RumApplication.js +310 -2
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +63 -0
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.mts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.ts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.js +7 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +185 -0
- package/Models/DatabaseModels/ServerlessFunction.js +10 -2
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +174 -3
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.mts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.ts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +1674 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.mjs +2 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.mts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.ts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.js +14 -0
- package/Models/DatabaseModels/Team.js +10 -2
- package/Models/DatabaseModels/TeamComplianceSetting.js +8 -1
- package/Models/DatabaseModels/TeamCustomRole.js +9 -1
- package/Models/DatabaseModels/TeamMember.js +15 -1
- package/Models/DatabaseModels/TeamOwnerTeam.d.mts +17 -0
- package/Models/DatabaseModels/TeamOwnerTeam.d.ts +17 -0
- package/Models/DatabaseModels/TeamOwnerTeam.js +325 -0
- package/Models/DatabaseModels/TeamOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/TeamOwnerUser.d.mts +17 -0
- package/Models/DatabaseModels/TeamOwnerUser.d.ts +17 -0
- package/Models/DatabaseModels/TeamOwnerUser.js +331 -0
- package/Models/DatabaseModels/TeamOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/TeamPermission.js +12 -1
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +199 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +297 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.mjs +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.d.mts +1 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.d.ts +1 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +69 -122
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +29 -0
- package/Models/DatabaseModels/UserSession.js +10 -4
- package/Models/DatabaseModels/VMwareVCenter.d.mts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.d.ts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +1 -0
- package/Models/DatabaseModels/Workflow.d.ts +1 -0
- package/Models/DatabaseModels/Workflow.js +45 -0
- package/Models/DatabaseModels/WorkflowVersion.d.mts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.d.ts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.js +529 -0
- package/Models/DatabaseModels/WorkflowVersion.mjs +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +499 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.mts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.ts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +537 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.mjs +2 -0
- package/Server/Services/DatabaseService.d.mts +4 -0
- package/Server/Services/DatabaseService.d.ts +4 -0
- package/Server/Types/Database/UpdateByID.d.mts +1 -0
- package/Server/Types/Database/UpdateByID.d.ts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -1
- package/Types/AI/AIActionWords.d.mts +17 -0
- package/Types/AI/AIActionWords.d.ts +17 -0
- package/Types/AI/AIActionWords.js +116 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +76 -13
- package/Types/AI/AIAgentRunLimits.d.ts +76 -13
- package/Types/AI/AIAgentRunLimits.js +434 -51
- package/Types/AI/AIAgentRunLimits.mjs +10 -2
- package/Types/AI/AIChatRecordSeen.d.mts +52 -0
- package/Types/AI/AIChatRecordSeen.d.ts +52 -0
- package/Types/AI/AIChatRecordSeen.js +362 -0
- package/Types/AI/AIChatRecordSeen.mjs +13 -0
- package/Types/AI/AIChatTypes.d.mts +7 -0
- package/Types/AI/AIChatTypes.d.ts +7 -0
- package/Types/AI/AIChatTypes.js +15 -1
- package/Types/AI/AIChatTypes.mjs +1 -0
- package/Types/AI/AIRunAttempt.d.mts +30 -0
- package/Types/AI/AIRunAttempt.d.ts +30 -0
- package/Types/AI/AIRunAttempt.js +175 -0
- package/Types/AI/AIRunAttempt.mjs +5 -0
- package/Types/AI/AIRunEventType.d.mts +3 -0
- package/Types/AI/AIRunEventType.d.ts +3 -0
- package/Types/AI/AIRunEventType.js +28 -0
- package/Types/AI/AIRunStatus.d.mts +2 -0
- package/Types/AI/AIRunStatus.d.ts +2 -0
- package/Types/AI/AIRunStatus.js +12 -0
- package/Types/AI/AgentLoopDetector.d.mts +29 -0
- package/Types/AI/AgentLoopDetector.d.ts +29 -0
- package/Types/AI/AgentLoopDetector.js +196 -0
- package/Types/AI/AgentLoopDetector.mjs +9 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +28 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +28 -0
- package/Types/AI/CodeAgentRunLimits.js +163 -0
- package/Types/AI/CodeAgentRunLimits.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +2 -0
- package/Types/AI/CodeFixTaskContext.d.ts +2 -0
- package/Types/AI/CodeTask.d.mts +20 -0
- package/Types/AI/CodeTask.d.ts +20 -0
- package/Types/AI/CodeTask.js +23 -1
- package/Types/AI/CodeTask.mjs +4 -0
- package/Types/AI/CodeTaskRetry.d.mts +21 -0
- package/Types/AI/CodeTaskRetry.d.ts +21 -0
- package/Types/AI/CodeTaskRetry.js +61 -0
- package/Types/AI/CodeTaskRetry.mjs +4 -0
- package/Types/AI/CodeTaskStage.d.mts +19 -0
- package/Types/AI/CodeTaskStage.d.ts +19 -0
- package/Types/AI/CodeTaskStage.js +78 -0
- package/Types/AI/CodeTaskStage.mjs +3 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.mts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.ts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.js +6 -4
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.mjs +0 -1
- package/Types/AI/ProjectAiRunLimits.d.mts +24 -0
- package/Types/AI/ProjectAiRunLimits.d.ts +24 -0
- package/Types/AI/ProjectAiRunLimits.js +137 -0
- package/Types/AI/ProjectAiRunLimits.mjs +9 -0
- package/Types/AI/TransientAIFailure.d.mts +16 -0
- package/Types/AI/TransientAIFailure.d.ts +16 -0
- package/Types/AI/TransientAIFailure.js +228 -0
- package/Types/AI/TransientAIFailure.mjs +4 -0
- package/Types/Accounts/AccountsLanguage.js +1 -0
- package/Types/AdminDashboard/AdminDashboardLanguage.js +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +4 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +4 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +23 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +40 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +40 -0
- package/Types/AuditLog/AuditLogCoverage.js +804 -0
- package/Types/AuditLog/AuditLogCoverage.mjs +17 -0
- package/Types/AuditLog/AuditLogRetention.d.mts +10 -0
- package/Types/AuditLog/AuditLogRetention.d.ts +10 -0
- package/Types/AuditLog/AuditLogRetention.js +91 -0
- package/Types/AuditLog/AuditLogRetention.mjs +8 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +92 -8
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.mjs +5 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +86 -29
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +7 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.js +92 -0
- package/Types/AutoRemediation/RemediationApprovals.mjs +7 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +56 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +56 -0
- package/Types/AutoRemediation/RemediationRound.js +242 -0
- package/Types/AutoRemediation/RemediationRound.mjs +22 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.mts +1 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.ts +1 -0
- package/Types/BaseDatabase/WriteSource.d.mts +6 -0
- package/Types/BaseDatabase/WriteSource.d.ts +6 -0
- package/Types/BaseDatabase/WriteSource.js +25 -0
- package/Types/BaseDatabase/WriteSource.mjs +4 -0
- package/Types/CallAndSMS/TwilioConfigDefaults.d.mts +37 -0
- package/Types/CallAndSMS/TwilioConfigDefaults.d.ts +37 -0
- package/Types/CallAndSMS/TwilioConfigDefaults.js +224 -0
- package/Types/CallAndSMS/TwilioConfigDefaults.mjs +3 -0
- package/Types/Cloud/CloudCommitments.d.mts +74 -0
- package/Types/Cloud/CloudCommitments.d.ts +74 -0
- package/Types/Cloud/CloudCommitments.js +294 -0
- package/Types/Cloud/CloudCommitments.mjs +17 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.mts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.ts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.js +28 -0
- package/Types/Cloud/CloudConnectionTelemetry.mjs +3 -0
- package/Types/Cloud/CloudCost.d.mts +22 -0
- package/Types/Cloud/CloudCost.d.ts +22 -0
- package/Types/Cloud/CloudCost.js +126 -1
- package/Types/Cloud/CloudCost.mjs +7 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +13 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +13 -0
- package/Types/Cloud/CloudKeyMetrics.js +174 -1
- package/Types/Cloud/CloudKeyMetrics.mjs +10 -0
- package/Types/Cloud/CloudLogGroups.d.mts +27 -1
- package/Types/Cloud/CloudLogGroups.d.ts +27 -1
- package/Types/Cloud/CloudLogGroups.js +191 -10
- package/Types/Cloud/CloudLogGroups.mjs +11 -0
- package/Types/Cloud/CloudMonitoredResource.d.mts +1 -0
- package/Types/Cloud/CloudMonitoredResource.d.ts +1 -0
- package/Types/Cloud/CloudMonitoredResource.js +23 -0
- package/Types/Cloud/CloudMonitoredResource.mjs +1 -0
- package/Types/Cloud/CloudPlatformCosts.d.mts +54 -0
- package/Types/Cloud/CloudPlatformCosts.d.ts +54 -0
- package/Types/Cloud/CloudPlatformCosts.js +249 -0
- package/Types/Cloud/CloudPlatformCosts.mjs +7 -0
- package/Types/Cloud/CloudResourceCatalog.js +10 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +1 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +1 -0
- package/Types/Cloud/CloudResourceHealth.js +4 -1
- package/Types/Cloud/CloudResourceMetricAggregation.d.mts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.d.ts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.js +140 -0
- package/Types/Cloud/CloudResourceMetricAggregation.mjs +4 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.mts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.ts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.js +182 -0
- package/Types/Cloud/CloudWatchLogSeverity.mjs +4 -0
- package/Types/Cloud/RdsConnectionLimits.d.mts +53 -0
- package/Types/Cloud/RdsConnectionLimits.d.ts +53 -0
- package/Types/Cloud/RdsConnectionLimits.js +404 -0
- package/Types/Cloud/RdsConnectionLimits.mjs +24 -0
- package/Types/CloudConnection/AwsStackSets.d.mts +51 -0
- package/Types/CloudConnection/AwsStackSets.d.ts +51 -0
- package/Types/CloudConnection/AwsStackSets.js +188 -0
- package/Types/CloudConnection/AwsStackSets.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +468 -53
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +16 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +31 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +2 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +24 -7
- package/Types/CloudConnection/CloudOrganizationAgents.d.mts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.d.ts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.js +182 -0
- package/Types/CloudConnection/CloudOrganizationAgents.mjs +12 -0
- package/Types/CloudConnection/CloudStream.d.mts +46 -1
- package/Types/CloudConnection/CloudStream.d.ts +46 -1
- package/Types/CloudConnection/CloudStream.js +316 -23
- package/Types/CloudConnection/CloudStream.mjs +31 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.js +418 -0
- package/Types/CloudConnection/CloudStreamAzure.mjs +35 -0
- package/Types/CloudConnection/CloudStreamGcp.d.mts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.d.ts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.js +247 -0
- package/Types/CloudConnection/CloudStreamGcp.mjs +25 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +176 -0
- package/Types/CloudConnection/CloudStreamOrganization.mjs +9 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +11 -21
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.mts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.ts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.js +12 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.mjs +2 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +109 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +109 -0
- package/Types/CodeRepository/CodeFileSeen.js +581 -0
- package/Types/CodeRepository/CodeFileSeen.mjs +17 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.mts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.ts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.js +135 -0
- package/Types/CodeRepository/CodeFileValuesHidden.mjs +6 -0
- package/Types/CodeRepository/CodeHost.d.mts +15 -0
- package/Types/CodeRepository/CodeHost.d.ts +15 -0
- package/Types/CodeRepository/CodeHost.js +195 -6
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +3 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +24 -1
- package/Types/Dashboard/DashboardComponentType.mjs +2 -0
- package/Types/Dashboard/DashboardLanguage.js +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +501 -0
- package/Types/Dashboard/PublicDashboardServedSettings.mjs +12 -0
- package/Types/DataObservability/DataDashboardActivity.d.mts +40 -0
- package/Types/DataObservability/DataDashboardActivity.d.ts +40 -0
- package/Types/DataObservability/DataDashboardActivity.js +119 -0
- package/Types/DataObservability/DataDashboardActivity.mjs +12 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +24 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +24 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +7 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.js +163 -0
- package/Types/DataObservability/DataObservabilityAttention.mjs +12 -0
- package/Types/DataObservability/DataTableLineage.d.mts +87 -0
- package/Types/DataObservability/DataTableLineage.d.ts +87 -0
- package/Types/DataObservability/DataTableLineage.js +111 -0
- package/Types/DataObservability/DataTableLineage.mjs +19 -0
- package/Types/DataSecurity/DataStoreKind.d.mts +1 -0
- package/Types/DataSecurity/DataStoreKind.d.ts +1 -0
- package/Types/DataSecurity/DataStoreKind.js +3 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +10 -0
- package/Types/Database/EnableAuditLog.js +3 -0
- package/Types/DatabaseServer/DatabaseServerMetricCatalog.js +71 -82
- package/Types/Date.d.mts +13 -0
- package/Types/Date.d.ts +13 -0
- package/Types/Date.js +104 -10
- package/Types/Date.mjs +2 -0
- package/Types/DateLanguage.d.mts +12 -0
- package/Types/DateLanguage.d.ts +12 -0
- package/Types/DateLanguage.js +137 -10
- package/Types/DateLanguage.mjs +7 -0
- package/Types/Email/EmailServer.d.mts +7 -0
- package/Types/Email/EmailServer.d.ts +7 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +3 -0
- package/Types/Email/MailTransportType.d.mts +29 -9
- package/Types/Email/MailTransportType.d.ts +29 -9
- package/Types/Email/MailTransportType.js +56 -8
- package/Types/Email/MailTransportType.mjs +4 -0
- package/Types/Email/MailgunDomain.d.mts +2 -0
- package/Types/Email/MailgunDomain.d.ts +2 -0
- package/Types/Email/MailgunDomain.js +57 -0
- package/Types/Email/MailgunDomain.mjs +3 -0
- package/Types/Email/MailgunRegion.d.mts +8 -0
- package/Types/Email/MailgunRegion.d.ts +8 -0
- package/Types/Email/MailgunRegion.js +32 -0
- package/Types/Email/MailgunRegion.mjs +5 -0
- package/Types/Exception/ConflictException.d.mts +6 -0
- package/Types/Exception/ConflictException.d.ts +6 -0
- package/Types/Exception/ConflictException.js +30 -0
- package/Types/Exception/ConflictException.mjs +2 -0
- package/Types/Exception/ExceptionCode.d.mts +1 -0
- package/Types/Exception/ExceptionCode.d.ts +1 -0
- package/Types/Exception/ExceptionCode.js +2 -0
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.mts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.ts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +7 -6
- package/Types/Kubernetes/KubernetesClusterAiAccess.mjs +0 -1
- package/Types/Kubernetes/KubernetesEvent.js +5 -4
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +35 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.ts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.js +4 -2
- package/Types/LlmObservability/LlmConnectionRecords.d.mts +7 -0
- package/Types/LlmObservability/LlmConnectionRecords.d.ts +7 -0
- package/Types/LlmObservability/LlmConnectionTest.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionTest.d.ts +1 -0
- package/Types/Log/LogEventName.d.mts +6 -0
- package/Types/Log/LogEventName.d.ts +6 -0
- package/Types/Log/LogEventName.js +59 -0
- package/Types/Log/LogEventName.mjs +4 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.mts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.ts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.js +51 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.mjs +4 -0
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.mts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.ts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +121 -57
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.mts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.ts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +326 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.mjs +22 -0
- package/Types/MessageQueue/MessageQueueTopology.d.mts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.d.ts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.js +211 -0
- package/Types/MessageQueue/MessageQueueTopology.mjs +8 -0
- package/Types/MessageQueue/MessagingSystem.js +6 -2
- package/Types/Metrics/MetricsQuery.d.mts +1 -0
- package/Types/Metrics/MetricsQuery.d.ts +1 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +122 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +122 -0
- package/Types/Monitor/CloudAlertTemplates.js +2003 -0
- package/Types/Monitor/CloudAlertTemplates.mjs +26 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.js +331 -0
- package/Types/Monitor/CloudAppAlertTemplates.mjs +8 -0
- package/Types/Monitor/CriteriaFilterTerms.d.mts +4 -0
- package/Types/Monitor/CriteriaFilterTerms.d.ts +4 -0
- package/Types/Monitor/CriteriaFilterTerms.js +166 -0
- package/Types/Monitor/CriteriaFilterTerms.mjs +4 -0
- package/Types/Monitor/EvaluationSentence.d.mts +37 -0
- package/Types/Monitor/EvaluationSentence.d.ts +37 -0
- package/Types/Monitor/EvaluationSentence.js +298 -0
- package/Types/Monitor/EvaluationSentence.mjs +12 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +3 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorCriteria.d.mts +2 -0
- package/Types/Monitor/MonitorCriteria.d.ts +2 -0
- package/Types/Monitor/MonitorCriteria.js +8 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +5 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +5 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +243 -194
- package/Types/Monitor/MonitorEvaluationDetails.d.mts +82 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.ts +82 -0
- package/Types/Monitor/MonitorEvaluationDetails.js +41 -0
- package/Types/Monitor/MonitorEvaluationDetails.mjs +3 -0
- package/Types/Monitor/MonitorEvaluationSummary.d.mts +4 -0
- package/Types/Monitor/MonitorEvaluationSummary.d.ts +4 -0
- package/Types/Monitor/MonitorStep.d.mts +2 -0
- package/Types/Monitor/MonitorStep.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorSteps.d.mts +2 -0
- package/Types/Monitor/MonitorSteps.d.ts +2 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.mts +1 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.ts +1 -0
- package/Types/Monitor/MonitorType.d.mts +1 -0
- package/Types/Monitor/MonitorType.d.ts +1 -0
- package/Types/Monitor/MonitorType.js +12 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +113 -13
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +18 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +54 -1
- package/Types/Monitor/TelemetryAlertRule.js +19 -1
- package/Types/Monitor/TelemetryObservation.d.mts +15 -0
- package/Types/Monitor/TelemetryObservation.d.ts +15 -0
- package/Types/Monitor/TelemetryObservation.js +28 -0
- package/Types/Monitor/TelemetryObservation.mjs +2 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.js +171 -1
- package/Types/NetFlow/NetworkTrafficUsage.mjs +11 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.mts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.ts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.js +107 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.mjs +8 -0
- package/Types/NetworkDevice/DeviceNaming.d.mts +87 -0
- package/Types/NetworkDevice/DeviceNaming.d.ts +87 -0
- package/Types/NetworkDevice/DeviceNaming.js +279 -0
- package/Types/NetworkDevice/DeviceNaming.mjs +24 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +106 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +106 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +411 -0
- package/Types/NetworkDevice/DiscoveredDevice.mjs +23 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.mts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.ts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.js +93 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.mjs +11 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.js +53 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.mts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.ts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.js +19 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.mjs +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +8 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +7 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +98 -11
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.mts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.ts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.js +331 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.js +21 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.mts +68 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.d.ts +68 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.js +351 -0
- package/Types/OnCallDutyPolicy/OnCallPageChannel.mjs +15 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.mts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.ts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.js +388 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +172 -37
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +2 -0
- package/Types/Permission.d.mts +33 -0
- package/Types/Permission.d.ts +33 -0
- package/Types/Permission.js +349 -5
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/cursor.d.mts +3 -0
- package/Types/ProviderLogo/Marks/cursor.d.ts +3 -0
- package/Types/ProviderLogo/Marks/cursor.js +12 -0
- package/Types/ProviderLogo/Marks/cursor.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +4 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +4 -0
- package/Types/PushNotification/PushNotificationCategory.js +36 -12
- package/Types/PushNotification/PushNotificationCategory.mjs +2 -0
- package/Types/ReadingDirection.js +2 -2
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +32 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +13 -6
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +1 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.js +12 -0
- package/Types/Rules/RuleCriteriaSubject.js +1 -0
- package/Types/Rum/ProductAnalytics.d.mts +153 -0
- package/Types/Rum/ProductAnalytics.d.ts +153 -0
- package/Types/Rum/ProductAnalytics.js +204 -0
- package/Types/Rum/ProductAnalytics.mjs +36 -0
- package/Types/Rum/ProductAnalyticsEventReads.d.mts +115 -0
- package/Types/Rum/ProductAnalyticsEventReads.d.ts +115 -0
- package/Types/Rum/ProductAnalyticsEventReads.js +166 -0
- package/Types/Rum/ProductAnalyticsEventReads.mjs +27 -0
- package/Types/Rum/ProductAnalyticsEvents.d.mts +121 -0
- package/Types/Rum/ProductAnalyticsEvents.d.ts +121 -0
- package/Types/Rum/ProductAnalyticsEvents.js +477 -0
- package/Types/Rum/ProductAnalyticsEvents.mjs +40 -0
- package/Types/Rum/RumApplicationStatus.d.mts +30 -0
- package/Types/Rum/RumApplicationStatus.d.ts +30 -0
- package/Types/Rum/RumApplicationStatus.js +147 -0
- package/Types/Rum/RumApplicationStatus.mjs +14 -0
- package/Types/Rum/RumTelemetrySignal.d.mts +7 -0
- package/Types/Rum/RumTelemetrySignal.d.ts +7 -0
- package/Types/Rum/RumTelemetrySignal.js +30 -0
- package/Types/Rum/RumTelemetrySignal.mjs +3 -0
- package/Types/Rum/SessionReplay.d.mts +10 -0
- package/Types/Rum/SessionReplay.d.ts +10 -0
- package/Types/Rum/SessionReplayApi.d.mts +7 -0
- package/Types/Rum/SessionReplayApi.d.ts +7 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.js +11 -0
- package/Types/Rum/SessionReplayCustomEvents.mjs +1 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.js +349 -0
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +22 -0
- package/Types/Rum/SessionReplayHealth.js +1 -1
- package/Types/SecurityCase/SecurityConnection.d.mts +9 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +9 -0
- package/Types/SecurityEvent/SecurityEventScope.d.mts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.d.ts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.js +109 -0
- package/Types/SecurityEvent/SecurityEventScope.mjs +8 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.mts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.ts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.js +153 -0
- package/Types/Serverless/ServerlessFunctionStatus.mjs +14 -0
- package/Types/Service/ServiceTelemetryStatus.d.mts +32 -0
- package/Types/Service/ServiceTelemetryStatus.d.ts +32 -0
- package/Types/Service/ServiceTelemetryStatus.js +138 -0
- package/Types/Service/ServiceTelemetryStatus.mjs +15 -0
- package/Types/ServiceLevelObjective/SloErrorBudgetPolicyChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloErrorBudgetPolicyChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloErrorBudgetPolicyChange.js +51 -0
- package/Types/ServiceLevelObjective/SloErrorBudgetPolicyChange.mjs +4 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +146 -0
- package/Types/StatusPage/PublicNoteApproval.d.ts +146 -0
- package/Types/StatusPage/PublicNoteApproval.js +473 -0
- package/Types/StatusPage/PublicNoteApproval.mjs +8 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.mts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.ts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.js +16 -0
- package/Types/StatusPage/StatusPageLanguage.js +1 -0
- package/Types/StatusPage/StatusPageReport.d.mts +3 -0
- package/Types/StatusPage/StatusPageReport.d.ts +3 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.mts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.ts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.js +2 -0
- package/Types/Table/DefaultTableColumns.d.mts +22 -0
- package/Types/Table/DefaultTableColumns.d.ts +22 -0
- package/Types/Table/DefaultTableColumns.js +166 -0
- package/Types/Table/DefaultTableColumns.mjs +6 -0
- package/Types/Team/BuiltInTeam.d.mts +1 -0
- package/Types/Team/BuiltInTeam.d.ts +1 -0
- package/Types/Team/BuiltInTeam.js +14 -1
- package/Types/Team/BuiltInTeam.mjs +1 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.mts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.ts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.js +96 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.mjs +2 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.mts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.ts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.js +72 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.mjs +4 -0
- package/Types/Telemetry/LlmConventions.d.mts +5 -0
- package/Types/Telemetry/LlmConventions.d.ts +5 -0
- package/Types/Telemetry/LlmConventions.js +51 -3
- package/Types/Telemetry/LlmConventions.mjs +5 -0
- package/Types/Telemetry/LlmConversationApi.d.mts +7 -0
- package/Types/Telemetry/LlmConversationApi.d.ts +7 -0
- package/Types/Telemetry/LlmConversationApi.js +37 -1
- package/Types/Telemetry/LlmConversationApi.mjs +2 -0
- package/Types/Telemetry/LlmMetricConventions.d.mts +10 -0
- package/Types/Telemetry/LlmMetricConventions.d.ts +10 -0
- package/Types/Telemetry/LlmMetricConventions.js +84 -14
- package/Types/Telemetry/LlmMetricConventions.mjs +3 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.mts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.ts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.js +73 -0
- package/Types/Telemetry/LlmMetricUsageApi.mjs +7 -0
- package/Types/Telemetry/LlmProviders.d.mts +23 -0
- package/Types/Telemetry/LlmProviders.d.ts +23 -0
- package/Types/Telemetry/LlmProviders.js +288 -0
- package/Types/Telemetry/LlmProviders.mjs +16 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.mts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.ts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.js +269 -0
- package/Types/Telemetry/LlmSetupCheckApi.mjs +11 -0
- package/Types/Telemetry/LlmUsageApi.d.mts +49 -0
- package/Types/Telemetry/LlmUsageApi.d.ts +49 -0
- package/Types/Telemetry/LlmUsageApi.js +131 -0
- package/Types/Telemetry/LlmUsageApi.mjs +10 -0
- package/Types/Telemetry/ScrubRule.js +2 -1
- package/Types/Telemetry/TelemetryIngestRefusal.d.mts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.d.ts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +81 -0
- package/Types/Telemetry/TelemetryIngestRefusal.mjs +7 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +600 -0
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +52 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +50 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.mjs +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.mts +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.ts +2 -0
- package/Types/Telemetry/TelemetryQuery.d.mts +3 -0
- package/Types/Telemetry/TelemetryQuery.d.ts +3 -0
- package/Types/Telemetry/TelemetryUsage.d.mts +84 -0
- package/Types/Telemetry/TelemetryUsage.d.ts +84 -0
- package/Types/Telemetry/TelemetryUsage.js +195 -0
- package/Types/Telemetry/TelemetryUsage.mjs +25 -0
- package/Types/Trace/TraceScrubPatternType.js +2 -1
- package/Types/Translator.d.mts +6 -0
- package/Types/Translator.d.ts +6 -0
- package/Types/Translator.js +113 -12
- package/Types/Translator.mjs +6 -0
- package/Types/UserLanguage.d.mts +7 -0
- package/Types/UserLanguage.d.ts +7 -0
- package/Types/UserLanguage.js +78 -0
- package/Types/UserLanguage.mjs +5 -0
- package/Types/UserNotification/UserNotificationStatus.d.mts +2 -1
- package/Types/UserNotification/UserNotificationStatus.d.ts +2 -1
- package/Types/UserNotification/UserNotificationStatus.js +8 -0
- package/Types/Workflow/Components/OnCall.js +28 -1
- package/Types/Workflow/Components/OnCallPageSettings.d.mts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.d.ts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.js +25 -0
- package/Types/Workflow/Components/OnCallPageSettings.mjs +1 -0
- package/Types/Workflow/WorkflowDraft.d.mts +2 -0
- package/Types/Workflow/WorkflowDraft.d.ts +2 -0
- package/Types/Workflow/WorkflowDraft.js +32 -23
- package/Types/Workflow/WorkflowDraft.mjs +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.mts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.ts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.js +11 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.mjs +2 -0
- package/Types/Workflow/WorkflowDraftRebase.d.mts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.d.ts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.js +447 -0
- package/Types/Workflow/WorkflowDraftRebase.mjs +9 -0
- package/Types/Workflow/WorkflowDraftSeen.d.mts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.d.ts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.js +161 -0
- package/Types/Workflow/WorkflowDraftSeen.mjs +6 -0
- package/Types/Workflow/WorkflowGraphRevision.d.mts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.d.ts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.js +45 -0
- package/Types/Workflow/WorkflowGraphRevision.mjs +3 -0
- package/Types/Workflow/WorkflowVersion.d.mts +11 -0
- package/Types/Workflow/WorkflowVersion.d.ts +11 -0
- package/Types/Workflow/WorkflowVersion.js +63 -0
- package/Types/Workflow/WorkflowVersion.mjs +7 -0
- package/Types/Workspace/NotificationRules/EventType.d.mts +2 -1
- package/Types/Workspace/NotificationRules/EventType.d.ts +2 -1
- package/Types/Workspace/NotificationRules/EventType.js +8 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +7 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +7 -1
- package/Types/Workspace/NotificationRules/NotificationRuleInvites.js +5 -1
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/ServiceLevelObjectiveNotificationRule.d.mts +4 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/ServiceLevelObjectiveNotificationRule.d.ts +4 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/ServiceLevelObjectiveNotificationRule.js +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleTypes/ServiceLevelObjectiveNotificationRule.mjs +1 -0
- package/Utils/AI/InvestigationImpactNumbers.d.mts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.d.ts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.js +307 -0
- package/Utils/AI/InvestigationImpactNumbers.mjs +9 -0
- package/Utils/AI/InvestigationReport.d.mts +14 -0
- package/Utils/AI/InvestigationReport.d.ts +14 -0
- package/Utils/AI/InvestigationReport.js +229 -24
- package/Utils/AI/InvestigationReport.mjs +4 -0
- package/Utils/AI/InvestigationReportLanguages.d.mts +25 -0
- package/Utils/AI/InvestigationReportLanguages.d.ts +25 -0
- package/Utils/AI/InvestigationReportLanguages.js +603 -0
- package/Utils/AI/InvestigationReportLanguages.mjs +11 -0
- package/Utils/AiRemediation/CloudChangeWords.js +6 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.js +451 -0
- package/Utils/AiRemediation/DeclaredCodeChange.mjs +16 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +144 -11
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +1 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.mts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.ts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +331 -0
- package/Utils/AuditLog/AuditLogTypedValues.mjs +8 -0
- package/Utils/AuditLog/AuditLogValues.d.mts +25 -0
- package/Utils/AuditLog/AuditLogValues.d.ts +25 -0
- package/Utils/AuditLog/AuditLogValues.js +398 -0
- package/Utils/AuditLog/AuditLogValues.mjs +15 -0
- package/Utils/CronScheduleText.js +2 -2
- package/Utils/Dashboard/DashboardWidgetIds.d.mts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.d.ts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +136 -0
- package/Utils/Dashboard/DashboardWidgetIds.mjs +4 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +7 -1
- package/Utils/Dashboard/LabelVariable.js +12 -2
- package/Utils/Dashboard/SloWidgetSource.d.mts +2 -2
- package/Utils/Dashboard/SloWidgetSource.d.ts +2 -2
- package/Utils/Dashboard/SloWidgetSource.js +14 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.d.mts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.d.ts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.js +124 -22
- package/Utils/Dashboard/TableThresholds.js +5 -2
- package/Utils/Episode/EpisodeOpeningThreshold.d.mts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.d.ts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.js +64 -0
- package/Utils/Episode/EpisodeOpeningThreshold.mjs +7 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.mts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.ts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.js +24 -0
- package/Utils/LLM/LlmProviderResponseTimeout.mjs +4 -0
- package/Utils/LinearRegExp/PatternWork.d.mts +1 -0
- package/Utils/LinearRegExp/PatternWork.d.ts +1 -0
- package/Utils/LinearRegExp/PatternWork.js +10 -4
- package/Utils/LinearRegExp/PatternWork.mjs +1 -0
- package/Utils/Markdown/Base64Data.d.mts +8 -0
- package/Utils/Markdown/Base64Data.d.ts +8 -0
- package/Utils/Markdown/Base64Data.js +130 -0
- package/Utils/Markdown/Base64Data.mjs +4 -0
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +14 -3
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.js +112 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.mts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.ts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +335 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.mjs +2 -0
- package/Utils/Metrics/MetricQueryServices.d.mts +14 -0
- package/Utils/Metrics/MetricQueryServices.d.ts +14 -0
- package/Utils/Metrics/MetricQueryServices.js +121 -0
- package/Utils/Metrics/MetricQueryServices.mjs +2 -0
- package/Utils/Metrics/MetricWholeWindow.d.mts +11 -0
- package/Utils/Metrics/MetricWholeWindow.d.ts +11 -0
- package/Utils/Metrics/MetricWholeWindow.js +50 -0
- package/Utils/Metrics/MetricWholeWindow.mjs +2 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +154 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.mjs +2 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.mts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.ts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.js +59 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.mjs +2 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +81 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.mjs +2 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.mts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.ts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.js +78 -0
- package/Utils/Monitor/MonitorGroupMonitoring.mjs +3 -0
- package/Utils/Monitor/MonitorLogSummaryUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorLogSummaryUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorLogSummaryUtil.js +170 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.js +35 -3
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +5 -0
- package/Utils/Monitor/MonitorRootCauseWording.d.mts +17 -0
- package/Utils/Monitor/MonitorRootCauseWording.d.ts +17 -0
- package/Utils/Monitor/MonitorRootCauseWording.js +242 -0
- package/Utils/Monitor/MonitorRootCauseWording.mjs +2 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +616 -0
- package/Utils/Monitor/MonitorStepMetricQueries.mjs +6 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.mts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.ts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.js +415 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.mjs +4 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.d.mts +3 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.d.ts +3 -0
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -2
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +27 -7
- package/Utils/Monitor/NetworkTopologyUtil.mjs +1 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +37 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.mjs +2 -0
- package/Utils/NameBreaks.js +44 -12
- package/Utils/NetworkDevice/DeviceNameLikeness.d.mts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.d.ts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +279 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.mjs +14 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.mts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.ts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.js +104 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.mjs +6 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.d.mts +75 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.d.ts +75 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.js +303 -0
- package/Utils/NetworkDevice/Naming/DeviceNamingPlanner.mjs +8 -0
- package/Utils/NetworkDevice/Naming/NamePattern.d.mts +122 -0
- package/Utils/NetworkDevice/Naming/NamePattern.d.ts +122 -0
- package/Utils/NetworkDevice/Naming/NamePattern.js +649 -0
- package/Utils/NetworkDevice/Naming/NamePattern.mjs +22 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +77 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +77 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.js +467 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.mjs +14 -0
- package/Utils/NetworkDevice/Naming/NamingRuleMatcher.d.mts +26 -0
- package/Utils/NetworkDevice/Naming/NamingRuleMatcher.d.ts +26 -0
- package/Utils/NetworkDevice/Naming/NamingRuleMatcher.js +327 -0
- package/Utils/NetworkDevice/Naming/NamingRuleMatcher.mjs +7 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +92 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredNameUpgrade.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredNameUpgrade.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredNameUpgrade.js +8 -0
- package/Utils/NetworkDiscovery/PingMonitorBuilder.d.mts +2 -0
- package/Utils/NetworkDiscovery/PingMonitorBuilder.d.ts +2 -0
- package/Utils/NetworkDiscovery/PingMonitorBuilder.js +1 -0
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +27 -3
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +337 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.mjs +5 -0
- package/Utils/Rum/UserFlow.js +6 -2
- package/Utils/Runbook/RunbookStepExecutionChanges.d.mts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.d.ts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.js +264 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.mjs +11 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +33 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.js +458 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.mjs +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +30 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +9 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +223 -33
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +3 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.mts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.ts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.js +122 -0
- package/Utils/SecurityEvent/SecurityScanWords.mjs +3 -0
- package/Utils/{Rum → SessionReplay}/SessionReplayHealth.d.mts +7 -6
- package/Utils/{Rum → SessionReplay}/SessionReplayHealth.d.ts +7 -6
- package/Utils/SessionReplay/SessionReplayHealth.js +703 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.mts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.ts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.js +207 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.mjs +10 -0
- package/Utils/Slo/SloBurnRateTemplate.d.mts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.d.ts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.js +96 -17
- package/Utils/Slo/SloBurnRateTemplate.mjs +6 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +106 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +106 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +437 -0
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +26 -0
- package/Utils/Slo/SloEvaluation.d.mts +22 -0
- package/Utils/Slo/SloEvaluation.d.ts +22 -0
- package/Utils/Slo/SloEvaluation.js +43 -1
- package/Utils/Slo/SloEvaluation.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +42 -0
- package/Utils/Slo/SloFeedMarkdown.d.ts +42 -0
- package/Utils/Slo/SloFeedMarkdown.js +165 -3
- package/Utils/Slo/SloFeedMarkdown.mjs +6 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.mts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.ts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.js +348 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.mjs +28 -0
- package/Utils/Slo/SloRecordOutputColumns.d.mts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.d.ts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.js +87 -0
- package/Utils/Slo/SloRecordOutputColumns.mjs +9 -0
- package/Utils/Slo/SloStatusColor.d.mts +6 -0
- package/Utils/Slo/SloStatusColor.d.ts +6 -0
- package/Utils/Slo/SloStatusColor.js +23 -1
- package/Utils/Slo/SloStatusColor.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +4 -0
- package/Utils/Slo/SloUtil.d.ts +4 -0
- package/Utils/Slo/SloUtil.js +8 -2
- package/Utils/Sms/OnCallPageSms.d.mts +18 -0
- package/Utils/Sms/OnCallPageSms.d.ts +18 -0
- package/Utils/Sms/OnCallPageSms.js +88 -6
- package/Utils/StatusPage/Report.js +2 -0
- package/Utils/StatusPage/ReportPeriod.d.mts +4 -4
- package/Utils/StatusPage/ReportPeriod.d.ts +4 -4
- package/Utils/StatusPage/ReportPeriod.js +23 -47
- package/Utils/StatusPage/ReportText.d.mts +33 -0
- package/Utils/StatusPage/ReportText.d.ts +33 -0
- package/Utils/StatusPage/ReportText.js +266 -0
- package/Utils/StatusPage/ReportText.mjs +3 -0
- package/Utils/StatusPage/ResourceExplorer.js +9 -8
- package/Utils/Telemetry/CloudHealthDescription.d.mts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.d.ts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.js +310 -0
- package/Utils/Telemetry/CloudHealthDescription.mjs +13 -0
- package/Utils/Telemetry/LlmCallCounting.d.mts +30 -0
- package/Utils/Telemetry/LlmCallCounting.d.ts +30 -0
- package/Utils/Telemetry/LlmCallCounting.js +109 -0
- package/Utils/Telemetry/LlmCallCounting.mjs +2 -0
- package/Utils/Telemetry/LlmConversationTranscript.js +12 -6
- package/Utils/Telemetry/LlmLogEvents.d.mts +45 -0
- package/Utils/Telemetry/LlmLogEvents.d.ts +45 -0
- package/Utils/Telemetry/LlmLogEvents.js +613 -0
- package/Utils/Telemetry/LlmLogEvents.mjs +4 -0
- package/Utils/Telemetry/LlmMessageParser.d.mts +1 -0
- package/Utils/Telemetry/LlmMessageParser.d.ts +1 -0
- package/Utils/Telemetry/LlmMessageParser.js +60 -2
- package/Utils/Telemetry/LlmMetricUsage.d.mts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.d.ts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.js +189 -0
- package/Utils/Telemetry/LlmMetricUsage.mjs +2 -0
- package/Utils/Telemetry/LlmUsage.d.mts +51 -0
- package/Utils/Telemetry/LlmUsage.d.ts +51 -0
- package/Utils/Telemetry/LlmUsage.js +266 -0
- package/Utils/Telemetry/LlmUsage.mjs +3 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.d.ts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.js +302 -0
- package/Utils/Telemetry/ScrubNestedValues.mjs +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +141 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +9 -0
- package/Utils/TotpSetupKey.d.mts +3 -0
- package/Utils/TotpSetupKey.d.ts +3 -0
- package/Utils/TotpSetupKey.js +72 -0
- package/Utils/TotpSetupKey.mjs +4 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.mts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.ts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.js +530 -0
- package/Utils/Workflow/WorkflowGraphChanges.mjs +8 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.mts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.ts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.js +214 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.mjs +6 -0
- package/Utils/Workspace/WorkspaceChannelName.js +5 -1
- package/package.json +1 -1
- package/Utils/Rum/SessionReplayHealth.js +0 -558
- /package/Utils/{Rum → SessionReplay}/SessionReplayHealth.mjs +0 -0
|
@@ -1,45 +1,133 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* How far
|
|
4
|
-
*
|
|
3
|
+
* How far one AI run may go before it answers with what it has (issue
|
|
4
|
+
* #6440: "Why is there a budget? Can we remove all of the artificial limits
|
|
5
|
+
* by default, customers can add them if they need it").
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
7
|
+
* Nothing counts a healthy run down. By default a run - an incident or
|
|
8
|
+
* alert investigation, an Ask AI answer, a Slack or Microsoft Teams answer,
|
|
9
|
+
* a triage, a remediation plan or its execution, a code task on a Runner -
|
|
10
|
+
* makes as many model calls and tool calls, and uses as many tokens, as its
|
|
11
|
+
* work needs. What stops one:
|
|
12
|
+
*
|
|
13
|
+
* - its time limit: DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES, unless the
|
|
14
|
+
* project set its own (Project Settings → AI → AI Features → More
|
|
15
|
+
* settings → Limits per run), or an incident or alert investigation
|
|
16
|
+
* time limit for that lane. A provider that hangs, or a model that never
|
|
17
|
+
* stops, cannot hold a worker or a Runner forever;
|
|
18
|
+
* - loop detection (AgentLoopDetector): the same failing call again and
|
|
19
|
+
* again, or round after round that shows the model nothing new;
|
|
20
|
+
* - Stop / Cancel, and the plan's quotas and the project's daily limits;
|
|
21
|
+
* - the caps a project chooses for itself, all unset by default: model
|
|
22
|
+
* calls, tool calls and tokens per run (Types/AI/ProjectAiRunLimits).
|
|
23
|
+
*
|
|
24
|
+
* The model's context window is not a limit on a run either: the oldest tool
|
|
25
|
+
* results are elided as the transcript outgrows it (AgentContextCompactor).
|
|
26
|
+
*
|
|
27
|
+
* A run that stops at one of these says so, in a sentence OneUptime writes
|
|
28
|
+
* (getStopNote) under its answer: which limit, and where it is changed. And
|
|
29
|
+
* the model is only ever told about a limit the run really has - the
|
|
30
|
+
* wrap-up instruction names the one it reached, and nothing in a prompt
|
|
31
|
+
* speaks of a budget.
|
|
32
|
+
*
|
|
33
|
+
* Kept free of React and of server code: the server's agent loops and the
|
|
34
|
+
* Runner's code agent read the same rules.
|
|
12
35
|
*/
|
|
13
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
37
|
+
exports.AIRunStopReason = exports.AIRunTimeLimitSource = exports.AI_RUN_STOP_NOTE_OPENINGS = exports.ALERT_AI_INVESTIGATION_LIMITS_LOCATION = exports.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION = exports.PROJECT_AI_RUN_LIMITS_LOCATION = exports.TOOL_OUTPUT_PAGE_CHARS = exports.CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES = exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES = void 0;
|
|
38
|
+
/*
|
|
39
|
+
* The time limit of a run when nothing else sets one: generous - far past
|
|
40
|
+
* what a real investigation, answer or code change takes - so it stops only
|
|
41
|
+
* a run that is stuck.
|
|
42
|
+
*/
|
|
43
|
+
exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES = 120;
|
|
44
|
+
// Bounds for a time limit a project sets, for every run or for one lane.
|
|
45
|
+
exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES = 1;
|
|
46
|
+
exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES = 24 * 60;
|
|
47
|
+
// The lane settings' names for the same bounds.
|
|
48
|
+
exports.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
49
|
+
exports.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
50
|
+
/*
|
|
51
|
+
* The longest a Slack or Microsoft Teams answer may take, whatever the
|
|
52
|
+
* project's time limit: a slash command's answer is posted to Slack's
|
|
53
|
+
* response_url, which stops taking answers 30 minutes after the command.
|
|
54
|
+
*/
|
|
55
|
+
exports.CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES = 25;
|
|
19
56
|
/*
|
|
20
57
|
* Long command output is never cut before the model: it is shown a page at a
|
|
21
58
|
* time (the server's ToolOutputPager). This is one page — roughly 10k
|
|
22
59
|
* tokens, enough for a `kubectl describe node` of a busy node in one go.
|
|
23
60
|
*/
|
|
24
61
|
exports.TOOL_OUTPUT_PAGE_CHARS = 40000;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
62
|
+
/*
|
|
63
|
+
* Where every limit of a run is changed, as the sentences about them name
|
|
64
|
+
* it - the card's title is "Limits per run".
|
|
65
|
+
*/
|
|
66
|
+
exports.PROJECT_AI_RUN_LIMITS_LOCATION = "Project Settings → AI → AI Features → More settings → Limits per run";
|
|
67
|
+
exports.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION = "Incidents → AI → Settings → More settings → Investigation limits";
|
|
68
|
+
exports.ALERT_AI_INVESTIGATION_LIMITS_LOCATION = "Alerts → AI → Settings → More settings → Investigation limits";
|
|
69
|
+
/*
|
|
70
|
+
* How every stop note OneUptime writes opens (getStopNote): what stopped -
|
|
71
|
+
* a run, an investigation, an answer. The investigation report's reader
|
|
72
|
+
* knows the note by them (Common/Utils/AI/InvestigationReport.ts), so it
|
|
73
|
+
* can draw the note apart from the analysis above it, and a test holds
|
|
74
|
+
* every note to one of them.
|
|
75
|
+
*/
|
|
76
|
+
exports.AI_RUN_STOP_NOTE_OPENINGS = [
|
|
77
|
+
"This run stopped ",
|
|
78
|
+
"This investigation stopped ",
|
|
79
|
+
"This answer stopped ",
|
|
80
|
+
];
|
|
81
|
+
// What set a run's time limit, so the sentence that it stopped names it.
|
|
82
|
+
var AIRunTimeLimitSource;
|
|
83
|
+
(function (AIRunTimeLimitSource) {
|
|
84
|
+
// DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES: nothing else set one.
|
|
85
|
+
AIRunTimeLimitSource["Default"] = "Default";
|
|
86
|
+
// The project's Time Limit per Run.
|
|
87
|
+
AIRunTimeLimitSource["Project"] = "Project";
|
|
88
|
+
// An incident investigation, held to the incident lane's time limit.
|
|
89
|
+
AIRunTimeLimitSource["IncidentInvestigation"] = "IncidentInvestigation";
|
|
90
|
+
// An alert investigation, held to the alert lane's time limit.
|
|
91
|
+
AIRunTimeLimitSource["AlertInvestigation"] = "AlertInvestigation";
|
|
92
|
+
// A Slack or Microsoft Teams answer: CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES.
|
|
93
|
+
AIRunTimeLimitSource["ChatApp"] = "ChatApp";
|
|
94
|
+
})(AIRunTimeLimitSource || (exports.AIRunTimeLimitSource = AIRunTimeLimitSource = {}));
|
|
95
|
+
// Why a run was asked to answer now - or, for tokens, stopped.
|
|
96
|
+
var AIRunStopReason;
|
|
97
|
+
(function (AIRunStopReason) {
|
|
98
|
+
AIRunStopReason["TimeLimit"] = "TimeLimit";
|
|
99
|
+
AIRunStopReason["ModelCalls"] = "ModelCalls";
|
|
100
|
+
AIRunStopReason["ToolCalls"] = "ToolCalls";
|
|
101
|
+
AIRunStopReason["Tokens"] = "Tokens";
|
|
102
|
+
// AgentLoopDetector: the run kept repeating itself.
|
|
103
|
+
AIRunStopReason["Loop"] = "Loop";
|
|
104
|
+
})(AIRunStopReason || (exports.AIRunStopReason = AIRunStopReason = {}));
|
|
105
|
+
const MILLISECONDS_IN_A_MINUTE = 60 * 1000;
|
|
106
|
+
const ANSWER_NOW = "Answer now with the findings so far, clearly stating what you could and could not verify and what you would check next. Do not request more tools.";
|
|
107
|
+
function formatCount(count) {
|
|
108
|
+
return count.toLocaleString("en-US");
|
|
109
|
+
}
|
|
110
|
+
function plural(count, one, other) {
|
|
111
|
+
return `${formatCount(count)} ${count === 1 ? one : other}`;
|
|
112
|
+
}
|
|
28
113
|
class AIAgentRunLimitsHelper {
|
|
29
|
-
// No
|
|
114
|
+
// No caps, and the default time limit.
|
|
30
115
|
static getDefault() {
|
|
31
116
|
return {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
117
|
+
maxLlmCalls: undefined,
|
|
118
|
+
maxToolCalls: undefined,
|
|
119
|
+
maxTokens: undefined,
|
|
120
|
+
maxWallClockMs: exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES * MILLISECONDS_IN_A_MINUTE,
|
|
121
|
+
timeLimitSource: AIRunTimeLimitSource.Default,
|
|
35
122
|
};
|
|
36
123
|
}
|
|
37
124
|
/*
|
|
38
|
-
* A
|
|
39
|
-
* undefined, zero, negative or non-numeric values all mean "
|
|
40
|
-
*
|
|
41
|
-
* leaves the run
|
|
42
|
-
*
|
|
125
|
+
* A configured time limit, as stored (minutes, nullable). Null,
|
|
126
|
+
* undefined, zero, negative or non-numeric values all mean "not set": the
|
|
127
|
+
* setting is opt-in, so anything that is not a usable positive number
|
|
128
|
+
* leaves the run to the next limit in line (the project's, then the
|
|
129
|
+
* default) rather than cutting it short. Positive values are clamped into
|
|
130
|
+
* the supported range.
|
|
43
131
|
*/
|
|
44
132
|
static normalizeTimeLimitInMinutes(value) {
|
|
45
133
|
if (value === null || value === undefined) {
|
|
@@ -49,46 +137,341 @@ class AIAgentRunLimitsHelper {
|
|
|
49
137
|
if (!Number.isFinite(minutes) || minutes <= 0) {
|
|
50
138
|
return null;
|
|
51
139
|
}
|
|
52
|
-
return Math.min(exports.
|
|
140
|
+
return Math.min(exports.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES, Math.max(exports.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES, Math.round(minutes)));
|
|
53
141
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
142
|
+
/*
|
|
143
|
+
* A cap a project set, as stored: a whole number of at least 1, or
|
|
144
|
+
* undefined for none. Anything else - unset, empty, not a number, below
|
|
145
|
+
* 1 - is no cap: the caps are opt-in, and a value the server would never
|
|
146
|
+
* have saved does not stop a run.
|
|
147
|
+
*/
|
|
148
|
+
static normalizeCap(value) {
|
|
149
|
+
if (value === null || value === undefined) {
|
|
150
|
+
return undefined;
|
|
151
|
+
}
|
|
152
|
+
let parsed = Number.NaN;
|
|
153
|
+
if (typeof value === "number") {
|
|
154
|
+
parsed = value;
|
|
155
|
+
}
|
|
156
|
+
else if (typeof value === "string" && value.trim().length > 0) {
|
|
157
|
+
parsed = Number(value.trim());
|
|
158
|
+
}
|
|
159
|
+
if (!Number.isFinite(parsed) || parsed < 1) {
|
|
61
160
|
return undefined;
|
|
62
161
|
}
|
|
162
|
+
return Math.floor(parsed);
|
|
163
|
+
}
|
|
164
|
+
/*
|
|
165
|
+
* A run's limits from what the project set: its caps, and the most
|
|
166
|
+
* specific time limit - the lane's, for an investigation of that lane,
|
|
167
|
+
* then the project's, then the default.
|
|
168
|
+
*/
|
|
169
|
+
static fromSettings(data) {
|
|
170
|
+
const laneMinutes = data.lane
|
|
171
|
+
? this.normalizeTimeLimitInMinutes(data.lane.timeLimitInMinutes)
|
|
172
|
+
: null;
|
|
173
|
+
const projectMinutes = this.normalizeTimeLimitInMinutes(data.timeLimitInMinutes);
|
|
174
|
+
let minutes = exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
175
|
+
let source = AIRunTimeLimitSource.Default;
|
|
176
|
+
if (laneMinutes !== null && data.lane) {
|
|
177
|
+
minutes = laneMinutes;
|
|
178
|
+
source = data.lane.source;
|
|
179
|
+
}
|
|
180
|
+
else if (projectMinutes !== null) {
|
|
181
|
+
minutes = projectMinutes;
|
|
182
|
+
source = AIRunTimeLimitSource.Project;
|
|
183
|
+
}
|
|
184
|
+
return {
|
|
185
|
+
maxLlmCalls: this.normalizeCap(data.maxModelCalls),
|
|
186
|
+
maxToolCalls: this.normalizeCap(data.maxToolCalls),
|
|
187
|
+
maxTokens: this.normalizeCap(data.maxTokens),
|
|
188
|
+
maxWallClockMs: minutes * MILLISECONDS_IN_A_MINUTE,
|
|
189
|
+
timeLimitSource: source,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
/*
|
|
193
|
+
* The limits with a time limit no longer than `minutes`: a Slack or
|
|
194
|
+
* Microsoft Teams answer keeps the project's caps, and its time is the
|
|
195
|
+
* shorter of the project's and the chat app's.
|
|
196
|
+
*/
|
|
197
|
+
static withTimeCeiling(limits, minutes, source) {
|
|
198
|
+
const ceilingMs = minutes * MILLISECONDS_IN_A_MINUTE;
|
|
199
|
+
if (limits.maxWallClockMs <= ceilingMs) {
|
|
200
|
+
return limits;
|
|
201
|
+
}
|
|
202
|
+
return Object.assign(Object.assign({}, limits), { maxWallClockMs: ceilingMs, timeLimitSource: source });
|
|
203
|
+
}
|
|
204
|
+
// The time limit in whole minutes, as the sentences about it say it.
|
|
205
|
+
static getTimeLimitInMinutes(limits) {
|
|
206
|
+
return Math.max(1, Math.round(limits.maxWallClockMs / MILLISECONDS_IN_A_MINUTE));
|
|
207
|
+
}
|
|
208
|
+
// When the run's time is up (epoch ms).
|
|
209
|
+
static getDeadlineAtMs(limits, startedAtMs) {
|
|
63
210
|
return startedAtMs + limits.maxWallClockMs;
|
|
64
211
|
}
|
|
65
212
|
static isTimeUp(data) {
|
|
66
|
-
if (data.maxWallClockMs === undefined) {
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
213
|
return data.nowMs - data.startedAtMs >= data.maxWallClockMs;
|
|
70
214
|
}
|
|
215
|
+
// Whether the project set any cap at all (the time limit aside).
|
|
216
|
+
static hasCaps(limits) {
|
|
217
|
+
return (limits.maxLlmCalls !== undefined ||
|
|
218
|
+
limits.maxToolCalls !== undefined ||
|
|
219
|
+
limits.maxTokens !== undefined);
|
|
220
|
+
}
|
|
221
|
+
/*
|
|
222
|
+
* Whether a run must stop calling tools now, and why - checked before each
|
|
223
|
+
* model call. Null while it may go on. In order:
|
|
224
|
+
*
|
|
225
|
+
* - its time is up: one more call, for the answer;
|
|
226
|
+
* - the next call is the last its model-call cap allows: that one is
|
|
227
|
+
* the answer (none left at all: it stops);
|
|
228
|
+
* - its token cap is reached: it stops, since any call goes past it;
|
|
229
|
+
* - its token cap would be reached by the next call (it uses at least
|
|
230
|
+
* what the last one did): that one is the answer;
|
|
231
|
+
* - its tool-call cap is reached: one more call, for the answer.
|
|
232
|
+
*/
|
|
233
|
+
static getStopDecision(limits, usage) {
|
|
234
|
+
if (this.isTimeUp({
|
|
235
|
+
maxWallClockMs: limits.maxWallClockMs,
|
|
236
|
+
startedAtMs: usage.startedAtMs,
|
|
237
|
+
nowMs: usage.nowMs,
|
|
238
|
+
})) {
|
|
239
|
+
return { reason: AIRunStopReason.TimeLimit, mayAnswer: true };
|
|
240
|
+
}
|
|
241
|
+
return this.getCapStopDecision(limits, usage);
|
|
242
|
+
}
|
|
71
243
|
/*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
244
|
+
* getStopDecision without the time limit: the caps alone, for a loop that
|
|
245
|
+
* keeps its own deadline (the Runner's code agent, whose deadline the
|
|
246
|
+
* server gives it).
|
|
75
247
|
*/
|
|
76
|
-
static
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
248
|
+
static getCapStopDecision(limits, usage) {
|
|
249
|
+
if (limits.maxLlmCalls !== undefined) {
|
|
250
|
+
if (usage.llmCallCount >= limits.maxLlmCalls) {
|
|
251
|
+
return { reason: AIRunStopReason.ModelCalls, mayAnswer: false };
|
|
252
|
+
}
|
|
253
|
+
if (usage.llmCallCount >= limits.maxLlmCalls - 1) {
|
|
254
|
+
return { reason: AIRunStopReason.ModelCalls, mayAnswer: true };
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
if (limits.maxTokens !== undefined) {
|
|
258
|
+
if (usage.tokenCount >= limits.maxTokens) {
|
|
259
|
+
return { reason: AIRunStopReason.Tokens, mayAnswer: false };
|
|
260
|
+
}
|
|
261
|
+
if (usage.tokenCount + usage.lastCallTokenCount >= limits.maxTokens) {
|
|
262
|
+
return { reason: AIRunStopReason.Tokens, mayAnswer: true };
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (limits.maxToolCalls !== undefined &&
|
|
266
|
+
usage.toolCallCount >= limits.maxToolCalls) {
|
|
267
|
+
return { reason: AIRunStopReason.ToolCalls, mayAnswer: true };
|
|
268
|
+
}
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
/*
|
|
272
|
+
* Whether a run finishing an answer the model's output limit cut off may
|
|
273
|
+
* make one more call for it, or which cap leaves it none: a cap the
|
|
274
|
+
* project set holds while an answer is finished too, so a run never makes
|
|
275
|
+
* more model calls, or uses more tokens, than the cap allows - the answer
|
|
276
|
+
* keeps what it has, and the note under it names the cap. The time limit
|
|
277
|
+
* and the tool-call cap leave a run its answer, and so its continuations.
|
|
278
|
+
*/
|
|
279
|
+
static getContinuationStopReason(limits, usage) {
|
|
280
|
+
const decision = this.getCapStopDecision(limits, usage);
|
|
281
|
+
return decision && !decision.mayAnswer ? decision.reason : null;
|
|
282
|
+
}
|
|
283
|
+
/*
|
|
284
|
+
* Whether one more tool call of a batch may run, or why not: a model asks
|
|
285
|
+
* for as many calls at once as it likes, so the tool-call cap and the
|
|
286
|
+
* time limit hold inside a batch too.
|
|
287
|
+
*/
|
|
288
|
+
static getToolCallRefusal(limits, data) {
|
|
289
|
+
if (this.isTimeUp({
|
|
290
|
+
maxWallClockMs: limits.maxWallClockMs,
|
|
291
|
+
startedAtMs: data.startedAtMs,
|
|
292
|
+
nowMs: data.nowMs,
|
|
293
|
+
})) {
|
|
294
|
+
return AIRunStopReason.TimeLimit;
|
|
295
|
+
}
|
|
296
|
+
if (limits.maxToolCalls !== undefined &&
|
|
297
|
+
data.toolCallCount >= limits.maxToolCalls) {
|
|
298
|
+
return AIRunStopReason.ToolCalls;
|
|
299
|
+
}
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
/*
|
|
303
|
+
* What the model is told when it has to answer now: the limit it reached,
|
|
304
|
+
* and nothing about any other. The run's own words - "this run" - fit an
|
|
305
|
+
* investigation, an answer and a remediation alike.
|
|
306
|
+
*/
|
|
307
|
+
static getWrapUpInstruction(reason, limits) {
|
|
308
|
+
return `${this.getLimitReachedSentence(reason, limits)} ${ANSWER_NOW}`;
|
|
309
|
+
}
|
|
310
|
+
/*
|
|
311
|
+
* The limit a run reached, in one sentence to the model: the start of a
|
|
312
|
+
* wrap-up instruction, which goes on to say what the answer should hold
|
|
313
|
+
* (getWrapUpInstruction's for an investigation or an answer; the code
|
|
314
|
+
* agent's own for a summary of its changes).
|
|
315
|
+
*/
|
|
316
|
+
static getLimitReachedSentence(reason, limits) {
|
|
317
|
+
switch (reason) {
|
|
318
|
+
case AIRunStopReason.TimeLimit:
|
|
319
|
+
return `This run has reached its time limit of ${plural(this.getTimeLimitInMinutes(limits), "minute", "minutes")}.`;
|
|
320
|
+
case AIRunStopReason.ModelCalls:
|
|
321
|
+
return `This is the last model call this run may make: the project allows ${plural(limits.maxLlmCalls || 0, "model call", "model calls")} per run.`;
|
|
322
|
+
case AIRunStopReason.ToolCalls:
|
|
323
|
+
return `This run has made ${plural(limits.maxToolCalls || 0, "tool call", "tool calls")}, the most the project allows per run.`;
|
|
324
|
+
case AIRunStopReason.Tokens:
|
|
325
|
+
return `This run is about to reach the project's limit of ${plural(limits.maxTokens || 0, "token", "tokens")} per run.`;
|
|
326
|
+
case AIRunStopReason.Loop:
|
|
327
|
+
return "Your recent tool calls keep returning what you have already seen, so this run is going in circles.";
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
/*
|
|
331
|
+
* Why the server refuses a call of a run past one of its limits - a model
|
|
332
|
+
* call, or a tool call it runs - in plain text that names the setting.
|
|
333
|
+
* Only a run that ignored its limits gets one: the agent winds down
|
|
334
|
+
* before them.
|
|
335
|
+
*/
|
|
336
|
+
static getRefusal(reason, limits) {
|
|
337
|
+
let sentence;
|
|
338
|
+
switch (reason) {
|
|
339
|
+
case AIRunStopReason.TimeLimit:
|
|
340
|
+
sentence = `This run has reached its time limit of ${plural(this.getTimeLimitInMinutes(limits), "minute", "minutes")}, so it may make no more calls.`;
|
|
341
|
+
break;
|
|
342
|
+
case AIRunStopReason.ModelCalls:
|
|
343
|
+
sentence = `This run has made ${plural(limits.maxLlmCalls || 0, "model call", "model calls")}, this project's limit per run, so it may make no more.`;
|
|
344
|
+
break;
|
|
345
|
+
case AIRunStopReason.ToolCalls:
|
|
346
|
+
sentence = `This run has made ${plural(limits.maxToolCalls || 0, "tool call", "tool calls")}, this project's limit per run, so it may make no more.`;
|
|
347
|
+
break;
|
|
348
|
+
case AIRunStopReason.Tokens:
|
|
349
|
+
sentence = `This run has used this project's limit of ${plural(limits.maxTokens || 0, "token", "tokens")} per run, so it may make no more calls.`;
|
|
350
|
+
break;
|
|
351
|
+
case AIRunStopReason.Loop:
|
|
352
|
+
sentence =
|
|
353
|
+
"This run kept repeating calls that showed it nothing new, so it was stopped.";
|
|
354
|
+
break;
|
|
355
|
+
}
|
|
356
|
+
const location = this.getSettingLocation(reason, limits);
|
|
357
|
+
return location ? `${sentence} Change it in ${location}.` : sentence;
|
|
358
|
+
}
|
|
359
|
+
// What a tool call the run may no longer make returns to the model.
|
|
360
|
+
static getSkippedToolCallText(reason, limits) {
|
|
361
|
+
switch (reason) {
|
|
362
|
+
case AIRunStopReason.TimeLimit:
|
|
363
|
+
return `Skipped: this run has reached its time limit of ${plural(this.getTimeLimitInMinutes(limits), "minute", "minutes")}. Answer with the data you already have.`;
|
|
364
|
+
case AIRunStopReason.ToolCalls:
|
|
365
|
+
return `Skipped: this run has made ${plural(limits.maxToolCalls || 0, "tool call", "tool calls")}, the most the project allows per run. Answer with the data you already have.`;
|
|
366
|
+
case AIRunStopReason.ModelCalls:
|
|
367
|
+
return `Skipped: this run has reached the project's limit of ${plural(limits.maxLlmCalls || 0, "model call", "model calls")} per run. Answer with the data you already have.`;
|
|
368
|
+
case AIRunStopReason.Tokens:
|
|
369
|
+
return `Skipped: this run has reached the project's limit of ${plural(limits.maxTokens || 0, "token", "tokens")} per run. Answer with the data you already have.`;
|
|
370
|
+
case AIRunStopReason.Loop:
|
|
371
|
+
return "Skipped: this run is going in circles. Answer with the data you already have.";
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
/*
|
|
375
|
+
* Where the limit that stopped a run is changed, or null when it is not a
|
|
376
|
+
* setting (a chat app's answer window, loop detection).
|
|
377
|
+
*/
|
|
378
|
+
static getSettingLocation(reason, limits) {
|
|
379
|
+
if (reason === AIRunStopReason.Loop) {
|
|
380
|
+
return null;
|
|
381
|
+
}
|
|
382
|
+
if (reason !== AIRunStopReason.TimeLimit) {
|
|
383
|
+
return exports.PROJECT_AI_RUN_LIMITS_LOCATION;
|
|
384
|
+
}
|
|
385
|
+
switch (limits.timeLimitSource) {
|
|
386
|
+
case AIRunTimeLimitSource.ChatApp:
|
|
387
|
+
return null;
|
|
388
|
+
case AIRunTimeLimitSource.IncidentInvestigation:
|
|
389
|
+
return exports.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION;
|
|
390
|
+
case AIRunTimeLimitSource.AlertInvestigation:
|
|
391
|
+
return exports.ALERT_AI_INVESTIGATION_LIMITS_LOCATION;
|
|
392
|
+
case AIRunTimeLimitSource.Project:
|
|
393
|
+
case AIRunTimeLimitSource.Default:
|
|
394
|
+
return exports.PROJECT_AI_RUN_LIMITS_LOCATION;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
/*
|
|
398
|
+
* The sentence OneUptime writes under the answer of a run a limit stopped:
|
|
399
|
+
* which limit, and where to change it - linked when the server knows the
|
|
400
|
+
* Dashboard's address. Markdown. Never written by the model.
|
|
401
|
+
*/
|
|
402
|
+
static getStopNote(data) {
|
|
403
|
+
const sentence = this.getStopSentence(data.reason, data.limits);
|
|
404
|
+
const location = this.getSettingLocation(data.reason, data.limits);
|
|
405
|
+
if (!location) {
|
|
406
|
+
return `_${sentence}_`;
|
|
407
|
+
}
|
|
408
|
+
const where = data.settingsUrl
|
|
409
|
+
? `[${location}](${data.settingsUrl})`
|
|
410
|
+
: location;
|
|
411
|
+
return `_${sentence} Change it in ${where}._`;
|
|
412
|
+
}
|
|
413
|
+
/*
|
|
414
|
+
* The same note as plain text, for a line of the run's activity, which
|
|
415
|
+
* the Dashboard draws as text, not Markdown: written as Markdown there, a
|
|
416
|
+
* note read "_This run stopped ... Change it in [Project Settings → ...]
|
|
417
|
+
* (https://...)._", marks and address and all. It names where the
|
|
418
|
+
* setting is, without a link.
|
|
419
|
+
*/
|
|
420
|
+
static getStopNoteText(data) {
|
|
421
|
+
const sentence = this.getStopSentence(data.reason, data.limits);
|
|
422
|
+
const location = this.getSettingLocation(data.reason, data.limits);
|
|
423
|
+
return location ? `${sentence} Change it in ${location}.` : sentence;
|
|
424
|
+
}
|
|
425
|
+
/*
|
|
426
|
+
* Which limit stopped a run, in one sentence that opens with one of
|
|
427
|
+
* AI_RUN_STOP_NOTE_OPENINGS: the start of its stop note.
|
|
428
|
+
*/
|
|
429
|
+
static getStopSentence(reason, limits) {
|
|
430
|
+
const minutes = this.getTimeLimitInMinutes(limits);
|
|
431
|
+
let sentence;
|
|
432
|
+
switch (reason) {
|
|
433
|
+
case AIRunStopReason.ModelCalls:
|
|
434
|
+
sentence = `This run stopped at this project's limit of ${plural(limits.maxLlmCalls || 0, "model call", "model calls")} per run.`;
|
|
435
|
+
break;
|
|
436
|
+
case AIRunStopReason.ToolCalls:
|
|
437
|
+
sentence = `This run stopped at this project's limit of ${plural(limits.maxToolCalls || 0, "tool call", "tool calls")} per run.`;
|
|
438
|
+
break;
|
|
439
|
+
case AIRunStopReason.Tokens:
|
|
440
|
+
sentence = `This run stopped at this project's limit of ${plural(limits.maxTokens || 0, "token", "tokens")} per run.`;
|
|
441
|
+
break;
|
|
442
|
+
case AIRunStopReason.Loop:
|
|
443
|
+
sentence =
|
|
444
|
+
"This run stopped early: it kept repeating calls that showed it nothing new.";
|
|
445
|
+
break;
|
|
446
|
+
case AIRunStopReason.TimeLimit:
|
|
447
|
+
switch (limits.timeLimitSource) {
|
|
448
|
+
case AIRunTimeLimitSource.Default:
|
|
449
|
+
sentence = `This run stopped at the default time limit of ${plural(minutes, "minute", "minutes")} per run.`;
|
|
450
|
+
break;
|
|
451
|
+
case AIRunTimeLimitSource.Project:
|
|
452
|
+
sentence = `This run stopped at this project's time limit of ${plural(minutes, "minute", "minutes")} per run.`;
|
|
453
|
+
break;
|
|
454
|
+
case AIRunTimeLimitSource.IncidentInvestigation:
|
|
455
|
+
sentence = `This investigation stopped at the incident investigation time limit of ${plural(minutes, "minute", "minutes")}.`;
|
|
456
|
+
break;
|
|
457
|
+
case AIRunTimeLimitSource.AlertInvestigation:
|
|
458
|
+
sentence = `This investigation stopped at the alert investigation time limit of ${plural(minutes, "minute", "minutes")}.`;
|
|
459
|
+
break;
|
|
460
|
+
case AIRunTimeLimitSource.ChatApp:
|
|
461
|
+
sentence = `This answer stopped after ${plural(minutes, "minute", "minutes")}, the longest a chat answer may take. Ask AI in the Dashboard can take longer.`;
|
|
462
|
+
break;
|
|
463
|
+
}
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
return sentence;
|
|
467
|
+
}
|
|
468
|
+
// A lane's time limit, in words, for its settings page and run details.
|
|
86
469
|
static describeTimeLimit(value) {
|
|
87
470
|
const minutes = this.normalizeTimeLimitInMinutes(value);
|
|
88
471
|
if (minutes === null) {
|
|
89
|
-
return
|
|
472
|
+
return `Uses the project's time limit per run: ${exports.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES} minutes unless the project set its own.`;
|
|
90
473
|
}
|
|
91
|
-
return `Stops investigating after ${minutes
|
|
474
|
+
return `Stops investigating after ${plural(minutes, "minute", "minutes")} and reports what it found.`;
|
|
92
475
|
}
|
|
93
476
|
}
|
|
94
477
|
exports.default = AIAgentRunLimitsHelper;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import commonJsModule from "./AIAgentRunLimits.js";
|
|
2
2
|
export default commonJsModule.default;
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
3
|
+
export const AIRunStopReason = commonJsModule.AIRunStopReason;
|
|
4
|
+
export const AIRunTimeLimitSource = commonJsModule.AIRunTimeLimitSource;
|
|
5
|
+
export const AI_RUN_STOP_NOTE_OPENINGS = commonJsModule.AI_RUN_STOP_NOTE_OPENINGS;
|
|
6
|
+
export const ALERT_AI_INVESTIGATION_LIMITS_LOCATION = commonJsModule.ALERT_AI_INVESTIGATION_LIMITS_LOCATION;
|
|
7
|
+
export const CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES = commonJsModule.CHAT_APP_ANSWER_TIME_LIMIT_IN_MINUTES;
|
|
8
|
+
export const DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES = commonJsModule.DEFAULT_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
9
|
+
export const INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION = commonJsModule.INCIDENT_AI_INVESTIGATION_LIMITS_LOCATION;
|
|
5
10
|
export const MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = commonJsModule.MAX_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES;
|
|
11
|
+
export const MAX_AI_RUN_TIME_LIMIT_IN_MINUTES = commonJsModule.MAX_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
6
12
|
export const MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES = commonJsModule.MIN_AI_INVESTIGATION_TIME_LIMIT_IN_MINUTES;
|
|
13
|
+
export const MIN_AI_RUN_TIME_LIMIT_IN_MINUTES = commonJsModule.MIN_AI_RUN_TIME_LIMIT_IN_MINUTES;
|
|
14
|
+
export const PROJECT_AI_RUN_LIMITS_LOCATION = commonJsModule.PROJECT_AI_RUN_LIMITS_LOCATION;
|
|
7
15
|
export const TOOL_OUTPUT_PAGE_CHARS = commonJsModule.TOOL_OUTPUT_PAGE_CHARS;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare enum AIChatRecordSeenType {
|
|
2
|
+
Workflow = "Workflow",
|
|
3
|
+
CodeFile = "CodeFile"
|
|
4
|
+
}
|
|
5
|
+
export interface AIChatRecordPartSeen {
|
|
6
|
+
id: string;
|
|
7
|
+
fingerprint: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface AIChatLineRange {
|
|
10
|
+
first: number;
|
|
11
|
+
last: number;
|
|
12
|
+
}
|
|
13
|
+
export interface AIChatLinesShown {
|
|
14
|
+
lineCount: number;
|
|
15
|
+
ranges: Array<AIChatLineRange>;
|
|
16
|
+
}
|
|
17
|
+
export interface AIChatRecordSeen {
|
|
18
|
+
recordType: AIChatRecordSeenType;
|
|
19
|
+
recordId: string;
|
|
20
|
+
revision: number;
|
|
21
|
+
parts: Array<AIChatRecordPartSeen>;
|
|
22
|
+
isPartial?: boolean | undefined;
|
|
23
|
+
linesShown?: AIChatLinesShown | undefined;
|
|
24
|
+
fromEarlierAnswer?: boolean | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface AIChatRecordKnown {
|
|
27
|
+
revision: number;
|
|
28
|
+
parts: ReadonlyMap<string, string | null>;
|
|
29
|
+
}
|
|
30
|
+
export declare const MAX_RECORD_PARTS_SEEN: number;
|
|
31
|
+
export declare const MAX_RECORD_ID_LENGTHS: Readonly<Record<AIChatRecordSeenType, number>>;
|
|
32
|
+
export declare const MAX_RECORDS_SEEN_PER_RESULT: number;
|
|
33
|
+
export declare const MAX_LINE_RANGES: number;
|
|
34
|
+
type ReadLineRangesFunction = (value: unknown, lineCount: number) => Array<AIChatLineRange> | null;
|
|
35
|
+
export declare const readAIChatLineRanges: ReadLineRangesFunction;
|
|
36
|
+
type ReadLinesShownFunction = (value: unknown) => AIChatLinesShown | null;
|
|
37
|
+
export declare const readAIChatLinesShown: ReadLinesShownFunction;
|
|
38
|
+
type ReadRecordSeenFunction = (value: unknown) => AIChatRecordSeen | null;
|
|
39
|
+
export declare const readAIChatRecordSeen: ReadRecordSeenFunction;
|
|
40
|
+
type FromEarlierAnswersFunction = (records: ReadonlyArray<unknown> | null | undefined) => Array<AIChatRecordSeen>;
|
|
41
|
+
export declare const markAIChatRecordsFromEarlierAnswers: FromEarlierAnswersFunction;
|
|
42
|
+
type ListRecordsSeenFunction = (value: unknown) => Array<unknown>;
|
|
43
|
+
export declare const listAIChatRecordsSeen: ListRecordsSeenFunction;
|
|
44
|
+
type GetRecordKnownFunction = (data: {
|
|
45
|
+
records: ReadonlyArray<unknown> | null | undefined;
|
|
46
|
+
recordType: AIChatRecordSeenType;
|
|
47
|
+
recordId: string;
|
|
48
|
+
}) => AIChatRecordKnown | null;
|
|
49
|
+
export declare const getAIChatRecordKnown: GetRecordKnownFunction;
|
|
50
|
+
type LatestRecordsSeenFunction = (records: ReadonlyArray<unknown> | null | undefined) => Array<AIChatRecordSeen>;
|
|
51
|
+
export declare const getLatestAIChatRecordsSeen: LatestRecordsSeenFunction;
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare enum AIChatRecordSeenType {
|
|
2
|
+
Workflow = "Workflow",
|
|
3
|
+
CodeFile = "CodeFile"
|
|
4
|
+
}
|
|
5
|
+
export interface AIChatRecordPartSeen {
|
|
6
|
+
id: string;
|
|
7
|
+
fingerprint: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface AIChatLineRange {
|
|
10
|
+
first: number;
|
|
11
|
+
last: number;
|
|
12
|
+
}
|
|
13
|
+
export interface AIChatLinesShown {
|
|
14
|
+
lineCount: number;
|
|
15
|
+
ranges: Array<AIChatLineRange>;
|
|
16
|
+
}
|
|
17
|
+
export interface AIChatRecordSeen {
|
|
18
|
+
recordType: AIChatRecordSeenType;
|
|
19
|
+
recordId: string;
|
|
20
|
+
revision: number;
|
|
21
|
+
parts: Array<AIChatRecordPartSeen>;
|
|
22
|
+
isPartial?: boolean | undefined;
|
|
23
|
+
linesShown?: AIChatLinesShown | undefined;
|
|
24
|
+
fromEarlierAnswer?: boolean | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface AIChatRecordKnown {
|
|
27
|
+
revision: number;
|
|
28
|
+
parts: ReadonlyMap<string, string | null>;
|
|
29
|
+
}
|
|
30
|
+
export declare const MAX_RECORD_PARTS_SEEN: number;
|
|
31
|
+
export declare const MAX_RECORD_ID_LENGTHS: Readonly<Record<AIChatRecordSeenType, number>>;
|
|
32
|
+
export declare const MAX_RECORDS_SEEN_PER_RESULT: number;
|
|
33
|
+
export declare const MAX_LINE_RANGES: number;
|
|
34
|
+
type ReadLineRangesFunction = (value: unknown, lineCount: number) => Array<AIChatLineRange> | null;
|
|
35
|
+
export declare const readAIChatLineRanges: ReadLineRangesFunction;
|
|
36
|
+
type ReadLinesShownFunction = (value: unknown) => AIChatLinesShown | null;
|
|
37
|
+
export declare const readAIChatLinesShown: ReadLinesShownFunction;
|
|
38
|
+
type ReadRecordSeenFunction = (value: unknown) => AIChatRecordSeen | null;
|
|
39
|
+
export declare const readAIChatRecordSeen: ReadRecordSeenFunction;
|
|
40
|
+
type FromEarlierAnswersFunction = (records: ReadonlyArray<unknown> | null | undefined) => Array<AIChatRecordSeen>;
|
|
41
|
+
export declare const markAIChatRecordsFromEarlierAnswers: FromEarlierAnswersFunction;
|
|
42
|
+
type ListRecordsSeenFunction = (value: unknown) => Array<unknown>;
|
|
43
|
+
export declare const listAIChatRecordsSeen: ListRecordsSeenFunction;
|
|
44
|
+
type GetRecordKnownFunction = (data: {
|
|
45
|
+
records: ReadonlyArray<unknown> | null | undefined;
|
|
46
|
+
recordType: AIChatRecordSeenType;
|
|
47
|
+
recordId: string;
|
|
48
|
+
}) => AIChatRecordKnown | null;
|
|
49
|
+
export declare const getAIChatRecordKnown: GetRecordKnownFunction;
|
|
50
|
+
type LatestRecordsSeenFunction = (records: ReadonlyArray<unknown> | null | undefined) => Array<AIChatRecordSeen>;
|
|
51
|
+
export declare const getLatestAIChatRecordsSeen: LatestRecordsSeenFunction;
|
|
52
|
+
export {};
|