@oneuptime/common 14.0.108 → 14.0.109
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/DatabaseModels/CloudApp.d.mts +5 -0
- package/Models/DatabaseModels/CloudApp.d.ts +5 -0
- package/Models/DatabaseModels/CloudApp.js +112 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +111 -0
- package/Models/DatabaseModels/Index.js +7 -0
- package/Models/DatabaseModels/Monitor.js +14 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
- package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
- package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
- package/Models/DatabaseModels/ProductFeedback.js +203 -0
- package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
- package/Models/DatabaseModels/Project.d.mts +6 -0
- package/Models/DatabaseModels/Project.d.ts +6 -0
- package/Models/DatabaseModels/Project.js +237 -0
- package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.js +207 -0
- package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
- package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
- package/Models/DatabaseModels/RumSessionPin.js +16 -2
- package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
- package/Models/DatabaseModels/SecurityCase.js +8 -1
- package/Models/DatabaseModels/User.d.mts +2 -0
- package/Models/DatabaseModels/User.d.ts +2 -0
- package/Models/DatabaseModels/User.js +52 -0
- package/Models/DatabaseModels/UserOnCallLog.js +32 -4
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.d.mts +167 -7
- package/Types/AI/AIActionWords.d.ts +167 -7
- package/Types/AI/AIActionWords.js +474 -17
- package/Types/AI/AIActionWords.mjs +22 -0
- package/Types/AI/AIChatMessageStatus.js +3 -2
- package/Types/AI/AIChatRecordSeen.d.mts +6 -2
- package/Types/AI/AIChatRecordSeen.d.ts +6 -2
- package/Types/AI/AIChatRecordSeen.js +48 -9
- package/Types/AI/AIChatRecordSeen.mjs +2 -0
- package/Types/AI/AIChatTypes.d.mts +19 -1
- package/Types/AI/AIChatTypes.d.ts +19 -1
- package/Types/AI/AIChatTypes.js +44 -1
- package/Types/AI/AIChatTypes.mjs +3 -0
- package/Types/AI/AIRunAttempt.d.mts +8 -0
- package/Types/AI/AIRunAttempt.d.ts +8 -0
- package/Types/AI/AIRunAttempt.js +60 -6
- package/Types/AI/AIRunAttempt.mjs +3 -0
- package/Types/AI/AISetupActions.d.mts +9 -0
- package/Types/AI/AISetupActions.d.ts +9 -0
- package/Types/AI/AISetupActions.js +56 -0
- package/Types/AI/AISetupActions.mjs +10 -0
- package/Types/AI/CodeTask.d.mts +14 -0
- package/Types/AI/CodeTask.d.ts +14 -0
- package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
- package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
- package/Types/AI/RecordAiTokenLimit.js +153 -0
- package/Types/AI/RecordAiTokenLimit.mjs +8 -0
- package/Types/Accounts/SignInMessages.d.mts +8 -0
- package/Types/Accounts/SignInMessages.d.ts +8 -0
- package/Types/Accounts/SignInMessages.js +28 -0
- package/Types/Accounts/SignInMessages.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +48 -0
- package/Types/Analytics/ActivationMilestone.d.ts +48 -0
- package/Types/Analytics/ActivationMilestone.js +247 -0
- package/Types/Analytics/ActivationMilestone.mjs +16 -0
- package/Types/Analytics/ChecklistProgress.d.mts +11 -0
- package/Types/Analytics/ChecklistProgress.d.ts +11 -0
- package/Types/Analytics/ChecklistProgress.js +32 -0
- package/Types/Analytics/ChecklistProgress.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +61 -0
- package/Types/Analytics/ProductEvent.d.ts +61 -0
- package/Types/Analytics/ProductEvent.js +430 -0
- package/Types/Analytics/ProductEvent.mjs +14 -0
- package/Types/AuditLog/AuditLogAction.d.mts +5 -1
- package/Types/AuditLog/AuditLogAction.d.ts +5 -1
- package/Types/AuditLog/AuditLogAction.js +11 -0
- package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.js +30 -0
- package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
- package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
- package/Types/AuditLog/AuditLogCoverage.js +8 -1
- package/Types/AuditLog/AuditLogRetention.js +7 -4
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
- package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
- package/Types/AutoRemediation/RemediationRound.js +19 -2
- package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.js +5 -0
- package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
- package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
- package/Types/Cloud/CloudPlatform.js +7 -1
- package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
- package/Types/CodeRepository/CodeFileSeen.js +142 -27
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
- package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.js +175 -0
- package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
- package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
- package/Types/DataObservability/DataCheckType.d.mts +4 -0
- package/Types/DataObservability/DataCheckType.d.ts +4 -0
- package/Types/DataObservability/DataCheckType.js +17 -0
- package/Types/DataObservability/DataCheckType.mjs +1 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
- package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
- package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
- package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
- package/Types/DataObservability/DataLineageExpansion.js +166 -0
- package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
- package/Types/DataObservability/DataTableLineage.d.mts +7 -0
- package/Types/DataObservability/DataTableLineage.d.ts +7 -0
- package/Types/DataObservability/DataTableLineage.js +15 -3
- package/Types/DataObservability/DataTableLineage.mjs +1 -0
- package/Types/Date.d.mts +22 -0
- package/Types/Date.d.ts +22 -0
- package/Types/Date.js +72 -3
- package/Types/DateLanguage.d.mts +7 -0
- package/Types/DateLanguage.d.ts +7 -0
- package/Types/DateLanguage.js +44 -1
- package/Types/DateLanguage.mjs +1 -0
- package/Types/Docs/DocsLanguage.d.mts +2 -0
- package/Types/Docs/DocsLanguage.d.ts +2 -0
- package/Types/Docs/DocsLanguage.js +23 -1
- package/Types/Docs/DocsLanguage.mjs +2 -0
- package/Types/Docs/GlossaryTerm.d.mts +82 -0
- package/Types/Docs/GlossaryTerm.d.ts +82 -0
- package/Types/Docs/GlossaryTerm.js +126 -0
- package/Types/Docs/GlossaryTerm.mjs +5 -0
- package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.js +40 -0
- package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +2 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
- package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
- package/Types/Exception/ErrorMessageRule.d.mts +4 -0
- package/Types/Exception/ErrorMessageRule.d.ts +4 -0
- package/Types/Exception/ErrorMessageRule.js +143 -0
- package/Types/Exception/ErrorMessageRule.mjs +5 -0
- package/Types/Exception/UnexplainedError.d.mts +45 -0
- package/Types/Exception/UnexplainedError.d.ts +45 -0
- package/Types/Exception/UnexplainedError.js +179 -0
- package/Types/Exception/UnexplainedError.mjs +11 -0
- package/Types/Icon/IconProp.d.mts +4 -1
- package/Types/Icon/IconProp.d.ts +4 -1
- package/Types/Icon/IconProp.js +6 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
- package/Types/InstallationHealth/InstallationHealth.js +513 -0
- package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
- package/Types/LLM/LLMProviderExchange.d.mts +17 -0
- package/Types/LLM/LLMProviderExchange.d.ts +17 -0
- package/Types/LLM/LLMProviderExchange.js +70 -0
- package/Types/LLM/LLMProviderExchange.mjs +5 -0
- package/Types/Monitor/CriteriaFilter.d.mts +1 -0
- package/Types/Monitor/CriteriaFilter.d.ts +1 -0
- package/Types/Monitor/CriteriaFilter.js +3 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/CriteriaFilterValues.d.mts +2 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
- package/Types/Monitor/CriteriaFilterValues.js +22 -0
- package/Types/Monitor/EvaluationSentence.d.mts +1 -0
- package/Types/Monitor/EvaluationSentence.d.ts +1 -0
- package/Types/Monitor/EvaluationSentence.js +34 -3
- package/Types/Monitor/EvaluationSentence.mjs +1 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
- package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
- package/Types/Monitor/WhoIsTold.d.mts +165 -0
- package/Types/Monitor/WhoIsTold.d.ts +165 -0
- package/Types/Monitor/WhoIsTold.js +582 -0
- package/Types/Monitor/WhoIsTold.mjs +17 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
- package/Types/PhoneNumberDirection.d.mts +6 -0
- package/Types/PhoneNumberDirection.d.ts +6 -0
- package/Types/PhoneNumberDirection.js +123 -0
- package/Types/PhoneNumberDirection.mjs +6 -0
- package/Types/Product/ProductKey.d.mts +58 -0
- package/Types/Product/ProductKey.d.ts +58 -0
- package/Types/Product/ProductKey.js +175 -0
- package/Types/Product/ProductKey.mjs +8 -0
- package/Types/Product/ProductPins.d.mts +10 -0
- package/Types/Product/ProductPins.d.ts +10 -0
- package/Types/Product/ProductPins.js +65 -0
- package/Types/Product/ProductPins.mjs +6 -0
- package/Types/Product/ProductUsage.d.mts +21 -0
- package/Types/Product/ProductUsage.d.ts +21 -0
- package/Types/Product/ProductUsage.js +175 -0
- package/Types/Product/ProductUsage.mjs +10 -0
- package/Types/Product/ProjectProducts.d.mts +60 -0
- package/Types/Product/ProjectProducts.d.ts +60 -0
- package/Types/Product/ProjectProducts.js +336 -0
- package/Types/Product/ProjectProducts.mjs +19 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
- package/Types/Product/ProjectProductsAnswer.js +139 -0
- package/Types/Product/ProjectProductsAnswer.mjs +7 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
- package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
- package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
- package/Types/ProductFeedback/ProductFeedback.js +517 -0
- package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
- package/Types/ReadingDirection.d.mts +2 -0
- package/Types/ReadingDirection.d.ts +2 -0
- package/Types/ReadingDirection.js +83 -2
- package/Types/ReadingDirection.mjs +2 -0
- package/Types/Recommendation/RecommendationType.d.mts +2 -1
- package/Types/Recommendation/RecommendationType.d.ts +2 -1
- package/Types/Recommendation/RecommendationType.js +6 -0
- package/Types/Reminder/ReminderInterval.d.mts +7 -0
- package/Types/Reminder/ReminderInterval.d.ts +7 -0
- package/Types/Reminder/ReminderInterval.js +110 -0
- package/Types/Reminder/ReminderInterval.mjs +8 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
- package/Types/Retention/ResolvedRecordRetention.js +124 -0
- package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
- package/Types/RollingTime/RollingTimeUtil.d.mts +1 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
- package/Types/RollingTime/RollingTimeUtil.js +9 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
- package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
- package/Types/ServerSending/ServerSendingStatus.js +281 -0
- package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
- package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
- package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
- package/Types/ServerSending/ServerSendingWords.js +95 -0
- package/Types/ServerSending/ServerSendingWords.mjs +7 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
- package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
- package/Types/ServerSetup/ServerTestSend.js +160 -0
- package/Types/ServerSetup/ServerTestSend.mjs +10 -0
- package/Types/SetupHealth/SetupHealth.d.mts +283 -0
- package/Types/SetupHealth/SetupHealth.d.ts +283 -0
- package/Types/SetupHealth/SetupHealth.js +1047 -0
- package/Types/SetupHealth/SetupHealth.mjs +46 -0
- package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
- package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
- package/Types/StatusPage/StatusPageSummary.js +3 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
- package/Types/Telemetry/LlmCallKind.js +1 -1
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
- package/Types/ToolImport/ToolImportCatalog.js +54 -1
- package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
- package/Types/Translator.js +64 -31
- package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
- package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
- package/Types/UserNotification/UserNotificationEventType.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +17 -0
- package/Types/UserSession/SessionEndCause.d.ts +17 -0
- package/Types/UserSession/SessionEndCause.js +79 -0
- package/Types/UserSession/SessionEndCause.mjs +6 -0
- package/Types/UserSession/SessionSignIn.d.mts +44 -0
- package/Types/UserSession/SessionSignIn.d.ts +44 -0
- package/Types/UserSession/SessionSignIn.js +174 -0
- package/Types/UserSession/SessionSignIn.mjs +17 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
- package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
- package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
- package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
- package/Utils/API.js +10 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
- package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
- package/Utils/Markdown/InlineImageDataUri.js +17 -1
- package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
- package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
- package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
- package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
- package/Utils/Monitor/MonitoringOff.d.mts +20 -0
- package/Utils/Monitor/MonitoringOff.d.ts +20 -0
- package/Utils/Monitor/MonitoringOff.js +81 -0
- package/Utils/Monitor/MonitoringOff.mjs +4 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
- package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
- package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
- package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
- package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
- package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
- package/Utils/Slo/SloListWidgetFormat.js +20 -26
- package/Utils/Slo/SloOverviewText.d.mts +6 -1
- package/Utils/Slo/SloOverviewText.d.ts +6 -1
- package/Utils/Slo/SloOverviewText.js +3 -3
- package/Utils/Slo/SloUtil.d.mts +18 -9
- package/Utils/Slo/SloUtil.d.ts +18 -9
- package/Utils/Slo/SloUtil.js +47 -10
- package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
- package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
- package/Utils/Slo/SloWidgetFormat.js +198 -50
- package/Utils/Slo/SloWidgetFormat.mjs +7 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
- package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
- package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +12 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +1 -0
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
- package/Utils/StatusPage/ResourceExplorer.js +11 -1
- package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
- package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
- package/Utils/StatusPage/ResourceUptime.js +31 -6
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
- package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
- package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
- package/Utils/Uptime/UptimeUtil.d.mts +38 -1
- package/Utils/Uptime/UptimeUtil.d.ts +38 -1
- package/Utils/Uptime/UptimeUtil.js +270 -75
- package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.js +190 -0
- package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
- package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
- package/package.json +1 -1
- package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
- package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
|
@@ -51,6 +51,21 @@ const CodeFileValuesHidden_1 = require("./CodeFileValuesHidden");
|
|
|
51
51
|
* of the version in hand, Ask AI writes it from memory; with some, it
|
|
52
52
|
* reads it in part, as above.
|
|
53
53
|
*
|
|
54
|
+
* Nor are all of this turn's reads in hand (issue #6570): a long answer
|
|
55
|
+
* leaves out its oldest results once it outgrows what the model can take,
|
|
56
|
+
* so a read early in the answer may be gone by the time Ask AI commits.
|
|
57
|
+
* Its record still says what Ask AI saw of the version, but its lines are
|
|
58
|
+
* not in hand either: with none of the version in hand, Ask AI read it
|
|
59
|
+
* earlier in this answer and writes it from memory - or, when only an
|
|
60
|
+
* earlier answer showed it, it read it in an earlier answer.
|
|
61
|
+
*
|
|
62
|
+
* And a line Ask AI no longer has is not one it never read (issue #6984):
|
|
63
|
+
* a file read in two parts, the first of them left out since, was read
|
|
64
|
+
* all of it. Of a version some of whose lines are in hand, the lines no
|
|
65
|
+
* read of it ever showed are the ones it never read; the others it read
|
|
66
|
+
* earlier and no longer has, and is told so - every line read, it read
|
|
67
|
+
* the file and no longer has part of it.
|
|
68
|
+
*
|
|
54
69
|
* And a line Ask AI saw is not every value in it (issue #6364): what looks
|
|
55
70
|
* like a secret or personal data reads as a placeholder, "[redacted-ip]",
|
|
56
71
|
* so a version Ask AI writes whole puts the placeholder where the value
|
|
@@ -260,7 +275,7 @@ const getCodeFileViews = (data) => {
|
|
|
260
275
|
if (!record ||
|
|
261
276
|
record.recordType !== AIChatRecordSeen_1.AIChatRecordSeenType.CodeFile ||
|
|
262
277
|
record.isPartial ||
|
|
263
|
-
(data.
|
|
278
|
+
(data.inThisAnswerOnly && record.fromEarlierAnswer)) {
|
|
264
279
|
continue;
|
|
265
280
|
}
|
|
266
281
|
const address = (0, exports.readCodeFileRecordId)(record.recordId);
|
|
@@ -274,6 +289,20 @@ const getCodeFileViews = (data) => {
|
|
|
274
289
|
});
|
|
275
290
|
const fingerprint = (_a = version === null || version === void 0 ? void 0 : version.fingerprint) !== null && _a !== void 0 ? _a : null;
|
|
276
291
|
const before = byBranch.get(address.branchName);
|
|
292
|
+
/*
|
|
293
|
+
* A record the model no longer has (inHandOnly) shows it no lines, but
|
|
294
|
+
* the model did see that version there: a view of another version
|
|
295
|
+
* there is no longer the last it saw (issue #6570). The lines of a
|
|
296
|
+
* version add up only since the model last saw another, as for every
|
|
297
|
+
* view - so the records a turn keeps (getLatestAIChatRecordsSeen) say
|
|
298
|
+
* the same as all of them.
|
|
299
|
+
*/
|
|
300
|
+
if (data.inHandOnly && !(0, AIChatRecordSeen_1.isAIChatRecordInHand)(record)) {
|
|
301
|
+
if (before && before.fingerprint !== fingerprint) {
|
|
302
|
+
byBranch.delete(address.branchName);
|
|
303
|
+
}
|
|
304
|
+
continue;
|
|
305
|
+
}
|
|
277
306
|
/*
|
|
278
307
|
* The last view on each branch replaces the ones before it; one of the
|
|
279
308
|
* same version adds the lines it showed to theirs.
|
|
@@ -305,9 +334,25 @@ var CodeFileUnseen;
|
|
|
305
334
|
* memory.
|
|
306
335
|
*/
|
|
307
336
|
CodeFileUnseen["ReadInEarlierAnswer"] = "ReadInEarlierAnswer";
|
|
337
|
+
/*
|
|
338
|
+
* Ask AI read this version earlier in this answer, and no longer has its
|
|
339
|
+
* text (issue #6570): a long answer leaves out its oldest results once it
|
|
340
|
+
* outgrows what the model can take, and that read was one of them. The
|
|
341
|
+
* change writes all of it from memory.
|
|
342
|
+
*/
|
|
343
|
+
CodeFileUnseen["ReadEarlierInThisAnswer"] = "ReadEarlierInThisAnswer";
|
|
344
|
+
/*
|
|
345
|
+
* Ask AI read every line of this version, but no longer has some of them
|
|
346
|
+
* (issue #6984): it read the file in parts, and a part was read in an
|
|
347
|
+
* earlier answer, or earlier in this answer and left out since. The
|
|
348
|
+
* change writes those lines from memory.
|
|
349
|
+
*/
|
|
350
|
+
CodeFileUnseen["PartNoLongerInHand"] = "PartNoLongerInHand";
|
|
308
351
|
/*
|
|
309
352
|
* Ask AI saw this version, but only some of its lines (issue #6330): the
|
|
310
|
-
* change writes all of it, and drops what Ask AI never saw.
|
|
353
|
+
* change writes all of it, and drops what Ask AI never saw. Of the lines
|
|
354
|
+
* it does not have, those it read earlier and no longer has are said
|
|
355
|
+
* apart from those it never read (issue #6984).
|
|
311
356
|
*/
|
|
312
357
|
CodeFileUnseen["ReadInPart"] = "ReadInPart";
|
|
313
358
|
// The branch could not be read, so nothing can be said of it.
|
|
@@ -322,15 +367,11 @@ var CodeFileUnseen;
|
|
|
322
367
|
CodeFileUnseen["ValuesHidden"] = "ValuesHidden";
|
|
323
368
|
})(CodeFileUnseen || (exports.CodeFileUnseen = CodeFileUnseen = {}));
|
|
324
369
|
/*
|
|
325
|
-
* What
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
* file.
|
|
370
|
+
* What the views of one version showed of it, added up, on whichever
|
|
371
|
+
* branch - one version is the same lines everywhere: all of it when
|
|
372
|
+
* linesShown is left out. Null when none of them is of that version.
|
|
329
373
|
*/
|
|
330
|
-
const
|
|
331
|
-
if (data.fingerprint === null) {
|
|
332
|
-
return null;
|
|
333
|
-
}
|
|
374
|
+
const getLinesOfVersion = (data) => {
|
|
334
375
|
const ofVersion = data.views.filter((view) => {
|
|
335
376
|
return view.fingerprint === data.fingerprint;
|
|
336
377
|
});
|
|
@@ -341,6 +382,23 @@ const findLinesNotRead = (data) => {
|
|
|
341
382
|
for (const view of ofVersion.slice(1)) {
|
|
342
383
|
shown = (0, exports.addLinesShown)(shown, view.linesShown);
|
|
343
384
|
}
|
|
385
|
+
return { linesShown: shown };
|
|
386
|
+
};
|
|
387
|
+
/*
|
|
388
|
+
* What Ask AI never saw of a version it saw (issue #6330): its views of
|
|
389
|
+
* that version add up, on whichever branch - one version is the same
|
|
390
|
+
* lines everywhere. Null when they showed every line, or when there is no
|
|
391
|
+
* file.
|
|
392
|
+
*/
|
|
393
|
+
const findLinesNotRead = (data) => {
|
|
394
|
+
var _a;
|
|
395
|
+
if (data.fingerprint === null) {
|
|
396
|
+
return null;
|
|
397
|
+
}
|
|
398
|
+
const shown = (_a = getLinesOfVersion({
|
|
399
|
+
views: data.views,
|
|
400
|
+
fingerprint: data.fingerprint,
|
|
401
|
+
})) === null || _a === void 0 ? void 0 : _a.linesShown;
|
|
344
402
|
if (!shown) {
|
|
345
403
|
return null;
|
|
346
404
|
}
|
|
@@ -355,11 +413,17 @@ const findLinesNotRead = (data) => {
|
|
|
355
413
|
};
|
|
356
414
|
/*
|
|
357
415
|
* What Ask AI does not have in front of it of a version it saw, to write
|
|
358
|
-
* it whole (issue #6365): the lines its views of that version showed
|
|
359
|
-
*
|
|
360
|
-
*
|
|
416
|
+
* it whole (issue #6365): the lines its views of that version showed that
|
|
417
|
+
* it still has - a view from an earlier answer, or of a result this answer
|
|
418
|
+
* has left out since (issue #6570), says only that it saw the version.
|
|
419
|
+
* None of it in hand: read earlier in this answer when this answer showed
|
|
420
|
+
* it, else read in an earlier answer. Some of it: of the lines not in
|
|
421
|
+
* hand, those no view of the version ever showed are the ones Ask AI never
|
|
422
|
+
* read, and the rest it read and no longer has (issue #6984) - all of them
|
|
423
|
+
* read, it read the file and no longer has part of it.
|
|
361
424
|
*/
|
|
362
425
|
const findLinesNotInHand = (data) => {
|
|
426
|
+
var _a;
|
|
363
427
|
if (!data.viewsInHand) {
|
|
364
428
|
return findLinesNotRead({
|
|
365
429
|
views: data.views,
|
|
@@ -370,15 +434,47 @@ const findLinesNotInHand = (data) => {
|
|
|
370
434
|
return null;
|
|
371
435
|
}
|
|
372
436
|
const fingerprint = data.fingerprint;
|
|
373
|
-
|
|
437
|
+
const showsVersion = (view) => {
|
|
374
438
|
return view.fingerprint === fingerprint;
|
|
375
|
-
}
|
|
376
|
-
|
|
439
|
+
};
|
|
440
|
+
const inHand = getLinesOfVersion({ views: data.viewsInHand, fingerprint: fingerprint });
|
|
441
|
+
if (!inHand) {
|
|
442
|
+
return ((_a = data.viewsInThisAnswer) === null || _a === void 0 ? void 0 : _a.some(showsVersion))
|
|
443
|
+
? { unseen: CodeFileUnseen.ReadEarlierInThisAnswer }
|
|
444
|
+
: { unseen: CodeFileUnseen.ReadInEarlierAnswer };
|
|
377
445
|
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
446
|
+
// Every line in hand.
|
|
447
|
+
if (!inHand.linesShown) {
|
|
448
|
+
return null;
|
|
449
|
+
}
|
|
450
|
+
/*
|
|
451
|
+
* What every view of the version showed, in hand or not: what Ask AI
|
|
452
|
+
* ever read of it. The lines in hand are always among them.
|
|
453
|
+
*/
|
|
454
|
+
const ever = getLinesOfVersion({ views: data.views, fingerprint: fingerprint });
|
|
455
|
+
const everShown = ever
|
|
456
|
+
? (0, exports.addLinesShown)(ever.linesShown, inHand.linesShown)
|
|
457
|
+
: inHand.linesShown;
|
|
458
|
+
const lineCount = everShown
|
|
459
|
+
? everShown.lineCount
|
|
460
|
+
: inHand.linesShown.lineCount;
|
|
461
|
+
const linesNotRead = everShown
|
|
462
|
+
? (0, exports.getLinesNotShown)(everShown)
|
|
463
|
+
: [];
|
|
464
|
+
const linesNoLongerInHand = (0, exports.getLinesNotShown)({
|
|
465
|
+
lineCount: lineCount,
|
|
466
|
+
ranges: [...inHand.linesShown.ranges, ...linesNotRead],
|
|
381
467
|
});
|
|
468
|
+
if (linesNotRead.length > 0) {
|
|
469
|
+
return Object.assign({ unseen: CodeFileUnseen.ReadInPart, lineCount: lineCount, linesNotRead: linesNotRead }, (linesNoLongerInHand.length > 0 ? { linesNoLongerInHand } : {}));
|
|
470
|
+
}
|
|
471
|
+
return linesNoLongerInHand.length > 0
|
|
472
|
+
? {
|
|
473
|
+
unseen: CodeFileUnseen.PartNoLongerInHand,
|
|
474
|
+
lineCount: lineCount,
|
|
475
|
+
linesNoLongerInHand: linesNoLongerInHand,
|
|
476
|
+
}
|
|
477
|
+
: null;
|
|
382
478
|
};
|
|
383
479
|
/*
|
|
384
480
|
* What writing a file whole would undo that Ask AI never saw, or null for
|
|
@@ -400,6 +496,7 @@ const findCodeFileUnseen = (data) => {
|
|
|
400
496
|
? findLinesNotInHand({
|
|
401
497
|
views: data.views,
|
|
402
498
|
viewsInHand: data.viewsInHand,
|
|
499
|
+
viewsInThisAnswer: data.viewsInThisAnswer,
|
|
403
500
|
fingerprint: fingerprintNow,
|
|
404
501
|
})
|
|
405
502
|
: { unseen: CodeFileUnseen.ChangedSinceRead };
|
|
@@ -417,6 +514,7 @@ const findCodeFileUnseen = (data) => {
|
|
|
417
514
|
return findLinesNotInHand({
|
|
418
515
|
views: data.views,
|
|
419
516
|
viewsInHand: data.viewsInHand,
|
|
517
|
+
viewsInThisAnswer: data.viewsInThisAnswer,
|
|
420
518
|
fingerprint: fingerprintNow,
|
|
421
519
|
});
|
|
422
520
|
}
|
|
@@ -447,13 +545,22 @@ const findCodeFilesUnseen = (data) => {
|
|
|
447
545
|
}),
|
|
448
546
|
branchName: data.branchName,
|
|
449
547
|
now: file.now,
|
|
450
|
-
|
|
548
|
+
/*
|
|
549
|
+
* Only this turn's lines are in hand (issue #6365), and of those
|
|
550
|
+
* only the ones it has not left out since (issue #6570).
|
|
551
|
+
*/
|
|
451
552
|
viewsInHand: (0, exports.getCodeFileViews)({
|
|
452
553
|
records: data.records,
|
|
453
554
|
repositoryId: data.repositoryId,
|
|
454
555
|
filePath: file.filePath,
|
|
455
556
|
inHandOnly: true,
|
|
456
557
|
}),
|
|
558
|
+
viewsInThisAnswer: (0, exports.getCodeFileViews)({
|
|
559
|
+
records: data.records,
|
|
560
|
+
repositoryId: data.repositoryId,
|
|
561
|
+
filePath: file.filePath,
|
|
562
|
+
inThisAnswerOnly: true,
|
|
563
|
+
}),
|
|
457
564
|
});
|
|
458
565
|
if (found) {
|
|
459
566
|
findings.push(Object.assign({ filePath: file.filePath }, found));
|
|
@@ -473,22 +580,30 @@ const isRecord = (value) => {
|
|
|
473
580
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
474
581
|
};
|
|
475
582
|
/*
|
|
476
|
-
* The lines a finding of a file read in part says Ask AI never saw,
|
|
477
|
-
*
|
|
478
|
-
*
|
|
583
|
+
* The lines a finding of a file read in part says Ask AI never saw, and
|
|
584
|
+
* those it read earlier and no longer had (issue #6984), or null for none
|
|
585
|
+
* that are well formed: a note for the pull request's reviewer, so a
|
|
586
|
+
* damaged one leaves out the note, never the finding.
|
|
479
587
|
*/
|
|
480
588
|
const readLinesNotRead = (finding) => {
|
|
481
589
|
const lineCount = finding["lineCount"];
|
|
482
|
-
if (finding["unseen"] !== CodeFileUnseen.ReadInPart
|
|
590
|
+
if ((finding["unseen"] !== CodeFileUnseen.ReadInPart &&
|
|
591
|
+
finding["unseen"] !== CodeFileUnseen.PartNoLongerInHand) ||
|
|
483
592
|
typeof lineCount !== "number" ||
|
|
484
593
|
!Number.isSafeInteger(lineCount) ||
|
|
485
594
|
lineCount < 1) {
|
|
486
595
|
return null;
|
|
487
596
|
}
|
|
488
|
-
const linesNotRead =
|
|
489
|
-
|
|
490
|
-
? { lineCount, linesNotRead }
|
|
597
|
+
const linesNotRead = finding["unseen"] === CodeFileUnseen.ReadInPart
|
|
598
|
+
? (0, AIChatRecordSeen_1.readAIChatLineRanges)(finding["linesNotRead"], lineCount)
|
|
491
599
|
: null;
|
|
600
|
+
const linesNoLongerInHand = finding["linesNoLongerInHand"] === undefined
|
|
601
|
+
? null
|
|
602
|
+
: (0, AIChatRecordSeen_1.readAIChatLineRanges)(finding["linesNoLongerInHand"], lineCount);
|
|
603
|
+
const read = Object.assign(Object.assign({ lineCount }, (linesNotRead && linesNotRead.length > 0 ? { linesNotRead } : {})), (linesNoLongerInHand && linesNoLongerInHand.length > 0
|
|
604
|
+
? { linesNoLongerInHand }
|
|
605
|
+
: {}));
|
|
606
|
+
return read.linesNotRead || read.linesNoLongerInHand ? read : null;
|
|
492
607
|
};
|
|
493
608
|
/*
|
|
494
609
|
* What a finding of hidden values says Ask AI's version writes in their
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
import { DnsRecordCheck } from "./DnsRecordCheck.mjs";
|
|
3
|
+
import { CustomDomainVerificationResult } from "./CustomDomainVerification.mjs";
|
|
4
|
+
export interface CustomDomainDnsCheckResult {
|
|
5
|
+
isVerified: boolean;
|
|
6
|
+
records: Array<DnsRecordCheck>;
|
|
7
|
+
certificate?: CustomDomainVerificationResult | undefined;
|
|
8
|
+
}
|
|
9
|
+
export default class CustomDomainDnsCheckResultJSON {
|
|
10
|
+
static toJSON(result: CustomDomainDnsCheckResult): JSONObject;
|
|
11
|
+
static fromJSON(json: JSONObject | null | undefined): CustomDomainDnsCheckResult;
|
|
12
|
+
static allFound(records: Array<DnsRecordCheck>): boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON";
|
|
2
|
+
import { DnsRecordCheck } from "./DnsRecordCheck";
|
|
3
|
+
import { CustomDomainVerificationResult } from "./CustomDomainVerification";
|
|
4
|
+
export interface CustomDomainDnsCheckResult {
|
|
5
|
+
isVerified: boolean;
|
|
6
|
+
records: Array<DnsRecordCheck>;
|
|
7
|
+
certificate?: CustomDomainVerificationResult | undefined;
|
|
8
|
+
}
|
|
9
|
+
export default class CustomDomainDnsCheckResultJSON {
|
|
10
|
+
static toJSON(result: CustomDomainDnsCheckResult): JSONObject;
|
|
11
|
+
static fromJSON(json: JSONObject | null | undefined): CustomDomainDnsCheckResult;
|
|
12
|
+
static allFound(records: Array<DnsRecordCheck>): boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
const DnsRecordCheck_1 = __importStar(require("./DnsRecordCheck"));
|
|
40
|
+
const CustomDomainVerification_1 = __importDefault(require("./CustomDomainVerification"));
|
|
41
|
+
class CustomDomainDnsCheckResultJSON {
|
|
42
|
+
static toJSON(result) {
|
|
43
|
+
const json = {
|
|
44
|
+
isVerified: result.isVerified,
|
|
45
|
+
records: DnsRecordCheck_1.default.toJSONArray(result.records),
|
|
46
|
+
};
|
|
47
|
+
if (result.certificate) {
|
|
48
|
+
json["certificate"] = CustomDomainVerification_1.default.toJSON(result.certificate);
|
|
49
|
+
}
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
/*
|
|
53
|
+
* Reads the answer. Verified is what the server said, and nothing else:
|
|
54
|
+
* an answer without it (an older server, a proxy's page) reads as not
|
|
55
|
+
* verified, with no records, so nothing is drawn as found that was not.
|
|
56
|
+
*/
|
|
57
|
+
static fromJSON(json) {
|
|
58
|
+
const isVerified = (json === null || json === void 0 ? void 0 : json["isVerified"]) === true;
|
|
59
|
+
const result = {
|
|
60
|
+
isVerified: isVerified,
|
|
61
|
+
records: DnsRecordCheck_1.default.fromJSONArray(json === null || json === void 0 ? void 0 : json["records"]),
|
|
62
|
+
};
|
|
63
|
+
const certificate = json === null || json === void 0 ? void 0 : json["certificate"];
|
|
64
|
+
if (isVerified &&
|
|
65
|
+
certificate &&
|
|
66
|
+
typeof certificate === "object" &&
|
|
67
|
+
!Array.isArray(certificate)) {
|
|
68
|
+
result.certificate = CustomDomainVerification_1.default.fromJSON(certificate);
|
|
69
|
+
}
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
// Whether every record the check looked up was found.
|
|
73
|
+
static allFound(records) {
|
|
74
|
+
return (records.length > 0 &&
|
|
75
|
+
records.every((record) => {
|
|
76
|
+
return record.outcome === DnsRecordCheck_1.DnsRecordCheckOutcome.Found;
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.default = CustomDomainDnsCheckResultJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
export declare enum CustomDomainReadinessCheckId {
|
|
3
|
+
TargetSet = "TargetSet",
|
|
4
|
+
TargetResolves = "TargetResolves",
|
|
5
|
+
Port80 = "Port80",
|
|
6
|
+
Port443 = "Port443",
|
|
7
|
+
FreeCertificates = "FreeCertificates"
|
|
8
|
+
}
|
|
9
|
+
export declare enum CustomDomainReadinessOutcome {
|
|
10
|
+
Pass = "Pass",
|
|
11
|
+
Fail = "Fail",
|
|
12
|
+
Warn = "Warn"
|
|
13
|
+
}
|
|
14
|
+
export declare enum CustomDomainReadinessReason {
|
|
15
|
+
NoAnswer = "NoAnswer",
|
|
16
|
+
NotThisServer = "NotThisServer"
|
|
17
|
+
}
|
|
18
|
+
export interface CustomDomainReadinessCheck {
|
|
19
|
+
id: CustomDomainReadinessCheckId;
|
|
20
|
+
outcome: CustomDomainReadinessOutcome;
|
|
21
|
+
reason?: CustomDomainReadinessReason | undefined;
|
|
22
|
+
values: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
export interface CustomDomainServerReadinessResult {
|
|
25
|
+
target: string;
|
|
26
|
+
checks: Array<CustomDomainReadinessCheck>;
|
|
27
|
+
checkedAt?: Date | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare const CustomDomainReadinessWords: {
|
|
30
|
+
notReadyTitle: string;
|
|
31
|
+
warningTitle: string;
|
|
32
|
+
checkedFromServer: string;
|
|
33
|
+
targetSet: string;
|
|
34
|
+
targetNotSet: string;
|
|
35
|
+
targetResolves: string;
|
|
36
|
+
targetDoesNotResolve: string;
|
|
37
|
+
port80Reaches: string;
|
|
38
|
+
port80NotThisServer: string;
|
|
39
|
+
port80NoAnswer: string;
|
|
40
|
+
port443Answers: string;
|
|
41
|
+
port443NoAnswer: string;
|
|
42
|
+
freeCertificates: string;
|
|
43
|
+
noFreeCertificates: string;
|
|
44
|
+
};
|
|
45
|
+
export declare const describeReadinessCheck: (check: CustomDomainReadinessCheck) => {
|
|
46
|
+
template: string;
|
|
47
|
+
values: Record<string, string>;
|
|
48
|
+
};
|
|
49
|
+
export declare const describeReadinessCheckInEnglish: (check: CustomDomainReadinessCheck) => string;
|
|
50
|
+
export default class CustomDomainServerReadiness {
|
|
51
|
+
static isReady(result: CustomDomainServerReadinessResult): boolean;
|
|
52
|
+
static needsAttention(result: CustomDomainServerReadinessResult): boolean;
|
|
53
|
+
static toJSON(result: CustomDomainServerReadinessResult): JSONObject;
|
|
54
|
+
static fromJSON(json: JSONObject | null | undefined): CustomDomainServerReadinessResult;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON";
|
|
2
|
+
export declare enum CustomDomainReadinessCheckId {
|
|
3
|
+
TargetSet = "TargetSet",
|
|
4
|
+
TargetResolves = "TargetResolves",
|
|
5
|
+
Port80 = "Port80",
|
|
6
|
+
Port443 = "Port443",
|
|
7
|
+
FreeCertificates = "FreeCertificates"
|
|
8
|
+
}
|
|
9
|
+
export declare enum CustomDomainReadinessOutcome {
|
|
10
|
+
Pass = "Pass",
|
|
11
|
+
Fail = "Fail",
|
|
12
|
+
Warn = "Warn"
|
|
13
|
+
}
|
|
14
|
+
export declare enum CustomDomainReadinessReason {
|
|
15
|
+
NoAnswer = "NoAnswer",
|
|
16
|
+
NotThisServer = "NotThisServer"
|
|
17
|
+
}
|
|
18
|
+
export interface CustomDomainReadinessCheck {
|
|
19
|
+
id: CustomDomainReadinessCheckId;
|
|
20
|
+
outcome: CustomDomainReadinessOutcome;
|
|
21
|
+
reason?: CustomDomainReadinessReason | undefined;
|
|
22
|
+
values: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
export interface CustomDomainServerReadinessResult {
|
|
25
|
+
target: string;
|
|
26
|
+
checks: Array<CustomDomainReadinessCheck>;
|
|
27
|
+
checkedAt?: Date | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare const CustomDomainReadinessWords: {
|
|
30
|
+
notReadyTitle: string;
|
|
31
|
+
warningTitle: string;
|
|
32
|
+
checkedFromServer: string;
|
|
33
|
+
targetSet: string;
|
|
34
|
+
targetNotSet: string;
|
|
35
|
+
targetResolves: string;
|
|
36
|
+
targetDoesNotResolve: string;
|
|
37
|
+
port80Reaches: string;
|
|
38
|
+
port80NotThisServer: string;
|
|
39
|
+
port80NoAnswer: string;
|
|
40
|
+
port443Answers: string;
|
|
41
|
+
port443NoAnswer: string;
|
|
42
|
+
freeCertificates: string;
|
|
43
|
+
noFreeCertificates: string;
|
|
44
|
+
};
|
|
45
|
+
export declare const describeReadinessCheck: (check: CustomDomainReadinessCheck) => {
|
|
46
|
+
template: string;
|
|
47
|
+
values: Record<string, string>;
|
|
48
|
+
};
|
|
49
|
+
export declare const describeReadinessCheckInEnglish: (check: CustomDomainReadinessCheck) => string;
|
|
50
|
+
export default class CustomDomainServerReadiness {
|
|
51
|
+
static isReady(result: CustomDomainServerReadinessResult): boolean;
|
|
52
|
+
static needsAttention(result: CustomDomainServerReadinessResult): boolean;
|
|
53
|
+
static toJSON(result: CustomDomainServerReadinessResult): JSONObject;
|
|
54
|
+
static fromJSON(json: JSONObject | null | undefined): CustomDomainServerReadinessResult;
|
|
55
|
+
}
|