@oscharko-dev/keiko-server 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -0
- package/dist/assistant-response.d.ts +6 -0
- package/dist/assistant-response.d.ts.map +1 -0
- package/dist/assistant-response.js +12 -0
- package/dist/browser.d.ts +11 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +245 -0
- package/dist/chat-handlers.d.ts +48 -0
- package/dist/chat-handlers.d.ts.map +1 -0
- package/dist/chat-handlers.js +821 -0
- package/dist/chat-stream-handlers.d.ts +4 -0
- package/dist/chat-stream-handlers.d.ts.map +1 -0
- package/dist/chat-stream-handlers.js +136 -0
- package/dist/conversation-prompt.d.ts +8 -0
- package/dist/conversation-prompt.d.ts.map +1 -0
- package/dist/conversation-prompt.js +36 -0
- package/dist/conversation-validation.d.ts +26 -0
- package/dist/conversation-validation.d.ts.map +1 -0
- package/dist/conversation-validation.js +125 -0
- package/dist/credentialPersistence.d.ts +23 -0
- package/dist/credentialPersistence.d.ts.map +1 -0
- package/dist/credentialPersistence.js +93 -0
- package/dist/credentialVault.d.ts +30 -0
- package/dist/credentialVault.d.ts.map +1 -0
- package/dist/credentialVault.js +206 -0
- package/dist/csp.d.ts +3 -0
- package/dist/csp.d.ts.map +1 -0
- package/dist/csp.js +75 -0
- package/dist/deps.d.ts +78 -0
- package/dist/deps.d.ts.map +1 -0
- package/dist/deps.js +457 -0
- package/dist/editor/agentRoutes.d.ts +7 -0
- package/dist/editor/agentRoutes.d.ts.map +1 -0
- package/dist/editor/agentRoutes.js +197 -0
- package/dist/editor/assuredGateRunner.d.ts +36 -0
- package/dist/editor/assuredGateRunner.d.ts.map +1 -0
- package/dist/editor/assuredGateRunner.js +100 -0
- package/dist/editor/assuredPreFilter.d.ts +34 -0
- package/dist/editor/assuredPreFilter.d.ts.map +1 -0
- package/dist/editor/assuredPreFilter.js +134 -0
- package/dist/editor/assuredPreFilterRunner.d.ts +31 -0
- package/dist/editor/assuredPreFilterRunner.d.ts.map +1 -0
- package/dist/editor/assuredPreFilterRunner.js +312 -0
- package/dist/editor/builtinLanguageProviders.d.ts +6 -0
- package/dist/editor/builtinLanguageProviders.d.ts.map +1 -0
- package/dist/editor/builtinLanguageProviders.js +221 -0
- package/dist/editor/codingContext.d.ts +12 -0
- package/dist/editor/codingContext.d.ts.map +1 -0
- package/dist/editor/codingContext.js +121 -0
- package/dist/editor/codingContextEvidence.d.ts +7 -0
- package/dist/editor/codingContextEvidence.d.ts.map +1 -0
- package/dist/editor/codingContextEvidence.js +52 -0
- package/dist/editor/codingContextProviders.d.ts +36 -0
- package/dist/editor/codingContextProviders.d.ts.map +1 -0
- package/dist/editor/codingContextProviders.js +348 -0
- package/dist/editor/completionModelEvidence.d.ts +16 -0
- package/dist/editor/completionModelEvidence.d.ts.map +1 -0
- package/dist/editor/completionModelEvidence.js +50 -0
- package/dist/editor/completionRoutes.d.ts +37 -0
- package/dist/editor/completionRoutes.d.ts.map +1 -0
- package/dist/editor/completionRoutes.js +411 -0
- package/dist/editor/contextRoutes.d.ts +6 -0
- package/dist/editor/contextRoutes.d.ts.map +1 -0
- package/dist/editor/contextRoutes.js +411 -0
- package/dist/editor/disposableAssuredExecution.d.ts +22 -0
- package/dist/editor/disposableAssuredExecution.d.ts.map +1 -0
- package/dist/editor/disposableAssuredExecution.js +57 -0
- package/dist/editor/editorCompletionModel.d.ts +47 -0
- package/dist/editor/editorCompletionModel.d.ts.map +1 -0
- package/dist/editor/editorCompletionModel.js +156 -0
- package/dist/editor/editorInlineCompletionModel.d.ts +34 -0
- package/dist/editor/editorInlineCompletionModel.d.ts.map +1 -0
- package/dist/editor/editorInlineCompletionModel.js +112 -0
- package/dist/editor/editorModelTokenBudget.d.ts +46 -0
- package/dist/editor/editorModelTokenBudget.d.ts.map +1 -0
- package/dist/editor/editorModelTokenBudget.js +121 -0
- package/dist/editor/inlineCompletionRateLimiter.d.ts +19 -0
- package/dist/editor/inlineCompletionRateLimiter.d.ts.map +1 -0
- package/dist/editor/inlineCompletionRateLimiter.js +46 -0
- package/dist/editor/inlineCompletionRoutes.d.ts +26 -0
- package/dist/editor/inlineCompletionRoutes.d.ts.map +1 -0
- package/dist/editor/inlineCompletionRoutes.js +404 -0
- package/dist/editor/inlineCompletionTelemetryEvidence.d.ts +5 -0
- package/dist/editor/inlineCompletionTelemetryEvidence.d.ts.map +1 -0
- package/dist/editor/inlineCompletionTelemetryEvidence.js +42 -0
- package/dist/editor/languageCancellation.d.ts +19 -0
- package/dist/editor/languageCancellation.d.ts.map +1 -0
- package/dist/editor/languageCancellation.js +48 -0
- package/dist/editor/languageProvider.d.ts +39 -0
- package/dist/editor/languageProvider.d.ts.map +1 -0
- package/dist/editor/languageProvider.js +11 -0
- package/dist/editor/languageRoutes.d.ts +15 -0
- package/dist/editor/languageRoutes.d.ts.map +1 -0
- package/dist/editor/languageRoutes.js +106 -0
- package/dist/editor/languageSanitize.d.ts +8 -0
- package/dist/editor/languageSanitize.d.ts.map +1 -0
- package/dist/editor/languageSanitize.js +101 -0
- package/dist/editor/languageService.d.ts +36 -0
- package/dist/editor/languageService.d.ts.map +1 -0
- package/dist/editor/languageService.js +93 -0
- package/dist/editor/languageServiceHost.d.ts +14 -0
- package/dist/editor/languageServiceHost.d.ts.map +1 -0
- package/dist/editor/languageServiceHost.js +242 -0
- package/dist/editor/localKnowledgeRetrieval.d.ts +21 -0
- package/dist/editor/localKnowledgeRetrieval.d.ts.map +1 -0
- package/dist/editor/localKnowledgeRetrieval.js +44 -0
- package/dist/editor/patchApplyEvidence.d.ts +21 -0
- package/dist/editor/patchApplyEvidence.d.ts.map +1 -0
- package/dist/editor/patchApplyEvidence.js +87 -0
- package/dist/editor/patchApplyRoutes.d.ts +16 -0
- package/dist/editor/patchApplyRoutes.d.ts.map +1 -0
- package/dist/editor/patchApplyRoutes.js +307 -0
- package/dist/editor/postApplyVerification.d.ts +42 -0
- package/dist/editor/postApplyVerification.d.ts.map +1 -0
- package/dist/editor/postApplyVerification.js +177 -0
- package/dist/editor/testGenerationEvidence.d.ts +6 -0
- package/dist/editor/testGenerationEvidence.d.ts.map +1 -0
- package/dist/editor/testGenerationEvidence.js +72 -0
- package/dist/editor/testGenerationPatch.d.ts +10 -0
- package/dist/editor/testGenerationPatch.d.ts.map +1 -0
- package/dist/editor/testGenerationPatch.js +66 -0
- package/dist/editor/testGenerationRoutes.d.ts +21 -0
- package/dist/editor/testGenerationRoutes.d.ts.map +1 -0
- package/dist/editor/testGenerationRoutes.js +254 -0
- package/dist/editor/testGenerationRunner.d.ts +23 -0
- package/dist/editor/testGenerationRunner.d.ts.map +1 -0
- package/dist/editor/testGenerationRunner.js +120 -0
- package/dist/editor/textOffsets.d.ts +6 -0
- package/dist/editor/textOffsets.d.ts.map +1 -0
- package/dist/editor/textOffsets.js +82 -0
- package/dist/editor/typescriptLanguageProvider.d.ts +3 -0
- package/dist/editor/typescriptLanguageProvider.d.ts.map +1 -0
- package/dist/editor/typescriptLanguageProvider.js +217 -0
- package/dist/evidence.d.ts +28 -0
- package/dist/evidence.d.ts.map +1 -0
- package/dist/evidence.js +145 -0
- package/dist/files-deny.d.ts +3 -0
- package/dist/files-deny.d.ts.map +1 -0
- package/dist/files-deny.js +12 -0
- package/dist/files.d.ts +97 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +733 -0
- package/dist/gateway-setup.d.ts +10 -0
- package/dist/gateway-setup.d.ts.map +1 -0
- package/dist/gateway-setup.js +896 -0
- package/dist/governed-workflow.d.ts +17 -0
- package/dist/governed-workflow.d.ts.map +1 -0
- package/dist/governed-workflow.js +147 -0
- package/dist/grounded-answer.d.ts +12 -0
- package/dist/grounded-answer.d.ts.map +1 -0
- package/dist/grounded-answer.js +69 -0
- package/dist/grounded-context-index.d.ts +25 -0
- package/dist/grounded-context-index.d.ts.map +1 -0
- package/dist/grounded-context-index.js +169 -0
- package/dist/grounded-document-evidence.d.ts +28 -0
- package/dist/grounded-document-evidence.d.ts.map +1 -0
- package/dist/grounded-document-evidence.js +430 -0
- package/dist/grounded-handoff.d.ts +4 -0
- package/dist/grounded-handoff.d.ts.map +1 -0
- package/dist/grounded-handoff.js +445 -0
- package/dist/grounded-orchestrator.d.ts +43 -0
- package/dist/grounded-orchestrator.d.ts.map +1 -0
- package/dist/grounded-orchestrator.js +1445 -0
- package/dist/grounded-prompt.d.ts +2 -0
- package/dist/grounded-prompt.d.ts.map +1 -0
- package/dist/grounded-prompt.js +17 -0
- package/dist/grounded-qa-hybrid.d.ts +36 -0
- package/dist/grounded-qa-hybrid.d.ts.map +1 -0
- package/dist/grounded-qa-hybrid.js +762 -0
- package/dist/grounded-qa-multi-source.d.ts +38 -0
- package/dist/grounded-qa-multi-source.d.ts.map +1 -0
- package/dist/grounded-qa-multi-source.js +461 -0
- package/dist/grounded-qa.d.ts +45 -0
- package/dist/grounded-qa.d.ts.map +1 -0
- package/dist/grounded-qa.js +877 -0
- package/dist/grounded-rerank.d.ts +26 -0
- package/dist/grounded-rerank.d.ts.map +1 -0
- package/dist/grounded-rerank.js +72 -0
- package/dist/grounded-turn-registry.d.ts +23 -0
- package/dist/grounded-turn-registry.d.ts.map +1 -0
- package/dist/grounded-turn-registry.js +102 -0
- package/dist/headers.d.ts +3 -0
- package/dist/headers.d.ts.map +1 -0
- package/dist/headers.js +22 -0
- package/dist/host-check.d.ts +3 -0
- package/dist/host-check.d.ts.map +1 -0
- package/dist/host-check.js +58 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/load-csp.d.ts +3 -0
- package/dist/load-csp.d.ts.map +1 -0
- package/dist/load-csp.js +100 -0
- package/dist/local-knowledge-grounded-qa.d.ts +42 -0
- package/dist/local-knowledge-grounded-qa.d.ts.map +1 -0
- package/dist/local-knowledge-grounded-qa.js +678 -0
- package/dist/local-knowledge-handlers.d.ts +24 -0
- package/dist/local-knowledge-handlers.d.ts.map +1 -0
- package/dist/local-knowledge-handlers.js +1285 -0
- package/dist/local-knowledge-indexing-registry.d.ts +13 -0
- package/dist/local-knowledge-indexing-registry.d.ts.map +1 -0
- package/dist/local-knowledge-indexing-registry.js +53 -0
- package/dist/localKnowledgeKeyProvider.d.ts +11 -0
- package/dist/localKnowledgeKeyProvider.d.ts.map +1 -0
- package/dist/localKnowledgeKeyProvider.js +48 -0
- package/dist/memory-audit-event-builders.d.ts +21 -0
- package/dist/memory-audit-event-builders.d.ts.map +1 -0
- package/dist/memory-audit-event-builders.js +187 -0
- package/dist/memory-audit-handler.d.ts +23 -0
- package/dist/memory-audit-handler.d.ts.map +1 -0
- package/dist/memory-audit-handler.js +191 -0
- package/dist/memory-capture-policy.d.ts +10 -0
- package/dist/memory-capture-policy.d.ts.map +1 -0
- package/dist/memory-capture-policy.js +44 -0
- package/dist/memory-consolidation-handlers.d.ts +6 -0
- package/dist/memory-consolidation-handlers.d.ts.map +1 -0
- package/dist/memory-consolidation-handlers.js +491 -0
- package/dist/memory-consolidation-registry.d.ts +47 -0
- package/dist/memory-consolidation-registry.d.ts.map +1 -0
- package/dist/memory-consolidation-registry.js +106 -0
- package/dist/memory-conv-handlers.d.ts +8 -0
- package/dist/memory-conv-handlers.d.ts.map +1 -0
- package/dist/memory-conv-handlers.js +369 -0
- package/dist/memory-conversation-context.d.ts +13 -0
- package/dist/memory-conversation-context.d.ts.map +1 -0
- package/dist/memory-conversation-context.js +22 -0
- package/dist/memory-diagnostics.d.ts +29 -0
- package/dist/memory-diagnostics.d.ts.map +1 -0
- package/dist/memory-diagnostics.js +122 -0
- package/dist/memory-embedding.d.ts +21 -0
- package/dist/memory-embedding.d.ts.map +1 -0
- package/dist/memory-embedding.js +264 -0
- package/dist/memory-handlers.d.ts +19 -0
- package/dist/memory-handlers.d.ts.map +1 -0
- package/dist/memory-handlers.js +1204 -0
- package/dist/memory-maintenance-handlers.d.ts +35 -0
- package/dist/memory-maintenance-handlers.d.ts.map +1 -0
- package/dist/memory-maintenance-handlers.js +219 -0
- package/dist/memory-record-builders.d.ts +4 -0
- package/dist/memory-record-builders.d.ts.map +1 -0
- package/dist/memory-record-builders.js +19 -0
- package/dist/memory-retention.d.ts +31 -0
- package/dist/memory-retention.d.ts.map +1 -0
- package/dist/memory-retention.js +151 -0
- package/dist/memory-retrieval-signals.d.ts +12 -0
- package/dist/memory-retrieval-signals.d.ts.map +1 -0
- package/dist/memory-retrieval-signals.js +100 -0
- package/dist/memory-salience.d.ts +12 -0
- package/dist/memory-salience.d.ts.map +1 -0
- package/dist/memory-salience.js +154 -0
- package/dist/memory-scope-sanitizer.d.ts +6 -0
- package/dist/memory-scope-sanitizer.d.ts.map +1 -0
- package/dist/memory-scope-sanitizer.js +106 -0
- package/dist/memory-target-resolver.d.ts +4 -0
- package/dist/memory-target-resolver.d.ts.map +1 -0
- package/dist/memory-target-resolver.js +73 -0
- package/dist/memory-workflow-port.d.ts +14 -0
- package/dist/memory-workflow-port.d.ts.map +1 -0
- package/dist/memory-workflow-port.js +186 -0
- package/dist/private-json.d.ts +3 -0
- package/dist/private-json.d.ts.map +1 -0
- package/dist/private-json.js +62 -0
- package/dist/promptEnhancer/index.d.ts +3 -0
- package/dist/promptEnhancer/index.d.ts.map +1 -0
- package/dist/promptEnhancer/index.js +5 -0
- package/dist/promptEnhancer/orchestrate.d.ts +2 -0
- package/dist/promptEnhancer/orchestrate.d.ts.map +1 -0
- package/dist/promptEnhancer/orchestrate.js +5 -0
- package/dist/promptEnhancer/routes.d.ts +9 -0
- package/dist/promptEnhancer/routes.d.ts.map +1 -0
- package/dist/promptEnhancer/routes.js +205 -0
- package/dist/qualityIntelligence/capsuleAdapter.d.ts +27 -0
- package/dist/qualityIntelligence/capsuleAdapter.d.ts.map +1 -0
- package/dist/qualityIntelligence/capsuleAdapter.js +57 -0
- package/dist/qualityIntelligence/connectorAuthorization.d.ts +22 -0
- package/dist/qualityIntelligence/connectorAuthorization.d.ts.map +1 -0
- package/dist/qualityIntelligence/connectorAuthorization.js +35 -0
- package/dist/qualityIntelligence/connectorErrors.d.ts +16 -0
- package/dist/qualityIntelligence/connectorErrors.d.ts.map +1 -0
- package/dist/qualityIntelligence/connectorErrors.js +56 -0
- package/dist/qualityIntelligence/connectorRoutes.d.ts +7 -0
- package/dist/qualityIntelligence/connectorRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/connectorRoutes.js +167 -0
- package/dist/qualityIntelligence/editRoutes.d.ts +5 -0
- package/dist/qualityIntelligence/editRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/editRoutes.js +293 -0
- package/dist/qualityIntelligence/exportAssembly.d.ts +22 -0
- package/dist/qualityIntelligence/exportAssembly.d.ts.map +1 -0
- package/dist/qualityIntelligence/exportAssembly.js +352 -0
- package/dist/qualityIntelligence/exportRoutes.d.ts +5 -0
- package/dist/qualityIntelligence/exportRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/exportRoutes.js +320 -0
- package/dist/qualityIntelligence/figma/figmaConcurrency.d.ts +8 -0
- package/dist/qualityIntelligence/figma/figmaConcurrency.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConcurrency.js +34 -0
- package/dist/qualityIntelligence/figma/figmaConnector.d.ts +65 -0
- package/dist/qualityIntelligence/figma/figmaConnector.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConnector.js +184 -0
- package/dist/qualityIntelligence/figma/figmaConnectorAudit.d.ts +52 -0
- package/dist/qualityIntelligence/figma/figmaConnectorAudit.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConnectorAudit.js +63 -0
- package/dist/qualityIntelligence/figma/figmaConnectorErrors.d.ts +31 -0
- package/dist/qualityIntelligence/figma/figmaConnectorErrors.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConnectorErrors.js +220 -0
- package/dist/qualityIntelligence/figma/figmaConnectorMetrics.d.ts +44 -0
- package/dist/qualityIntelligence/figma/figmaConnectorMetrics.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConnectorMetrics.js +49 -0
- package/dist/qualityIntelligence/figma/figmaConsent.d.ts +39 -0
- package/dist/qualityIntelligence/figma/figmaConsent.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaConsent.js +62 -0
- package/dist/qualityIntelligence/figma/figmaHttpPort.d.ts +28 -0
- package/dist/qualityIntelligence/figma/figmaHttpPort.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaHttpPort.js +70 -0
- package/dist/qualityIntelligence/figma/figmaObservedActions.d.ts +49 -0
- package/dist/qualityIntelligence/figma/figmaObservedActions.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaObservedActions.js +89 -0
- package/dist/qualityIntelligence/figma/figmaReadiness.d.ts +32 -0
- package/dist/qualityIntelligence/figma/figmaReadiness.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaReadiness.js +67 -0
- package/dist/qualityIntelligence/figma/figmaRenderPort.d.ts +29 -0
- package/dist/qualityIntelligence/figma/figmaRenderPort.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaRenderPort.js +93 -0
- package/dist/qualityIntelligence/figma/figmaResnapshot.d.ts +28 -0
- package/dist/qualityIntelligence/figma/figmaResnapshot.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaResnapshot.js +38 -0
- package/dist/qualityIntelligence/figma/figmaRetry.d.ts +31 -0
- package/dist/qualityIntelligence/figma/figmaRetry.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaRetry.js +62 -0
- package/dist/qualityIntelligence/figma/figmaScopeRef.d.ts +9 -0
- package/dist/qualityIntelligence/figma/figmaScopeRef.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaScopeRef.js +18 -0
- package/dist/qualityIntelligence/figma/figmaScopedPagination.d.ts +86 -0
- package/dist/qualityIntelligence/figma/figmaScopedPagination.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaScopedPagination.js +308 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotBuilder.d.ts +31 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotBuilder.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotBuilder.js +314 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotHash.d.ts +18 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotHash.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotHash.js +63 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotTypes.d.ts +65 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotTypes.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaSnapshotTypes.js +13 -0
- package/dist/qualityIntelligence/figma/figmaTokenSource.d.ts +9 -0
- package/dist/qualityIntelligence/figma/figmaTokenSource.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaTokenSource.js +61 -0
- package/dist/qualityIntelligence/figma/figmaTokenStore.d.ts +19 -0
- package/dist/qualityIntelligence/figma/figmaTokenStore.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaTokenStore.js +156 -0
- package/dist/qualityIntelligence/figma/figmaUrl.d.ts +6 -0
- package/dist/qualityIntelligence/figma/figmaUrl.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/figmaUrl.js +36 -0
- package/dist/qualityIntelligence/figma/index.d.ts +20 -0
- package/dist/qualityIntelligence/figma/index.d.ts.map +1 -0
- package/dist/qualityIntelligence/figma/index.js +26 -0
- package/dist/qualityIntelligence/figmaCodegenRoutes.d.ts +28 -0
- package/dist/qualityIntelligence/figmaCodegenRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/figmaCodegenRoutes.js +165 -0
- package/dist/qualityIntelligence/figmaSnapshotAdapter.d.ts +55 -0
- package/dist/qualityIntelligence/figmaSnapshotAdapter.d.ts.map +1 -0
- package/dist/qualityIntelligence/figmaSnapshotAdapter.js +219 -0
- package/dist/qualityIntelligence/figmaSnapshotOrchestration.d.ts +64 -0
- package/dist/qualityIntelligence/figmaSnapshotOrchestration.d.ts.map +1 -0
- package/dist/qualityIntelligence/figmaSnapshotOrchestration.js +203 -0
- package/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts +112 -0
- package/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/figmaSnapshotRoutes.js +1063 -0
- package/dist/qualityIntelligence/figmaSnapshotScreenIds.d.ts +19 -0
- package/dist/qualityIntelligence/figmaSnapshotScreenIds.d.ts.map +1 -0
- package/dist/qualityIntelligence/figmaSnapshotScreenIds.js +75 -0
- package/dist/qualityIntelligence/generationPort.d.ts +15 -0
- package/dist/qualityIntelligence/generationPort.d.ts.map +1 -0
- package/dist/qualityIntelligence/generationPort.js +185 -0
- package/dist/qualityIntelligence/handoffErrors.d.ts +9 -0
- package/dist/qualityIntelligence/handoffErrors.d.ts.map +1 -0
- package/dist/qualityIntelligence/handoffErrors.js +21 -0
- package/dist/qualityIntelligence/handoffRoutes.d.ts +15 -0
- package/dist/qualityIntelligence/handoffRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/handoffRoutes.js +341 -0
- package/dist/qualityIntelligence/index.d.ts +17 -0
- package/dist/qualityIntelligence/index.d.ts.map +1 -0
- package/dist/qualityIntelligence/index.js +36 -0
- package/dist/qualityIntelligence/judgePort.d.ts +30 -0
- package/dist/qualityIntelligence/judgePort.d.ts.map +1 -0
- package/dist/qualityIntelligence/judgePort.js +326 -0
- package/dist/qualityIntelligence/modelSelection.d.ts +58 -0
- package/dist/qualityIntelligence/modelSelection.d.ts.map +1 -0
- package/dist/qualityIntelligence/modelSelection.js +148 -0
- package/dist/qualityIntelligence/reCheckRoutes.d.ts +6 -0
- package/dist/qualityIntelligence/reCheckRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/reCheckRoutes.js +1157 -0
- package/dist/qualityIntelligence/retentionEnforcement.d.ts +13 -0
- package/dist/qualityIntelligence/retentionEnforcement.d.ts.map +1 -0
- package/dist/qualityIntelligence/retentionEnforcement.js +47 -0
- package/dist/qualityIntelligence/retentionRoutes.d.ts +8 -0
- package/dist/qualityIntelligence/retentionRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/retentionRoutes.js +74 -0
- package/dist/qualityIntelligence/reviewRoutes.d.ts +5 -0
- package/dist/qualityIntelligence/reviewRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/reviewRoutes.js +145 -0
- package/dist/qualityIntelligence/reviewStore.d.ts +75 -0
- package/dist/qualityIntelligence/reviewStore.d.ts.map +1 -0
- package/dist/qualityIntelligence/reviewStore.js +170 -0
- package/dist/qualityIntelligence/runExecution.d.ts +36 -0
- package/dist/qualityIntelligence/runExecution.d.ts.map +1 -0
- package/dist/qualityIntelligence/runExecution.js +180 -0
- package/dist/qualityIntelligence/runIngestion.d.ts +70 -0
- package/dist/qualityIntelligence/runIngestion.d.ts.map +1 -0
- package/dist/qualityIntelligence/runIngestion.js +1235 -0
- package/dist/qualityIntelligence/runRegistry.d.ts +31 -0
- package/dist/qualityIntelligence/runRegistry.d.ts.map +1 -0
- package/dist/qualityIntelligence/runRegistry.js +66 -0
- package/dist/qualityIntelligence/runRoutes.d.ts +16 -0
- package/dist/qualityIntelligence/runRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/runRoutes.js +357 -0
- package/dist/qualityIntelligence/traceabilityRoutes.d.ts +5 -0
- package/dist/qualityIntelligence/traceabilityRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/traceabilityRoutes.js +173 -0
- package/dist/qualityIntelligence/uiRoutes.d.ts +7 -0
- package/dist/qualityIntelligence/uiRoutes.d.ts.map +1 -0
- package/dist/qualityIntelligence/uiRoutes.js +336 -0
- package/dist/read-handlers.d.ts +9 -0
- package/dist/read-handlers.d.ts.map +1 -0
- package/dist/read-handlers.js +265 -0
- package/dist/relationship-handlers.d.ts +191 -0
- package/dist/relationship-handlers.d.ts.map +1 -0
- package/dist/relationship-handlers.js +0 -0
- package/dist/routes.d.ts +37 -0
- package/dist/routes.d.ts.map +1 -0
- package/dist/routes.js +507 -0
- package/dist/run-engine.d.ts +25 -0
- package/dist/run-engine.d.ts.map +1 -0
- package/dist/run-engine.js +385 -0
- package/dist/run-handlers.d.ts +9 -0
- package/dist/run-handlers.d.ts.map +1 -0
- package/dist/run-handlers.js +465 -0
- package/dist/run-request.d.ts +17 -0
- package/dist/run-request.d.ts.map +1 -0
- package/dist/run-request.js +219 -0
- package/dist/runs.d.ts +47 -0
- package/dist/runs.d.ts.map +1 -0
- package/dist/runs.js +100 -0
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +152 -0
- package/dist/sink.d.ts +28 -0
- package/dist/sink.d.ts.map +1 -0
- package/dist/sink.js +80 -0
- package/dist/sse-write.d.ts +9 -0
- package/dist/sse-write.d.ts.map +1 -0
- package/dist/sse-write.js +26 -0
- package/dist/sse.d.ts +8 -0
- package/dist/sse.d.ts.map +1 -0
- package/dist/sse.js +27 -0
- package/dist/static.d.ts +5 -0
- package/dist/static.d.ts.map +1 -0
- package/dist/static.js +76 -0
- package/dist/store/chats.d.ts +17 -0
- package/dist/store/chats.d.ts.map +1 -0
- package/dist/store/chats.js +624 -0
- package/dist/store/db.d.ts +11 -0
- package/dist/store/db.d.ts.map +1 -0
- package/dist/store/db.js +203 -0
- package/dist/store/errors.d.ts +13 -0
- package/dist/store/errors.d.ts.map +1 -0
- package/dist/store/errors.js +30 -0
- package/dist/store/index.d.ts +7 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +6 -0
- package/dist/store/messages.d.ts +8 -0
- package/dist/store/messages.d.ts.map +1 -0
- package/dist/store/messages.js +149 -0
- package/dist/store/paths.d.ts +5 -0
- package/dist/store/paths.d.ts.map +1 -0
- package/dist/store/paths.js +84 -0
- package/dist/store/projects.d.ts +8 -0
- package/dist/store/projects.d.ts.map +1 -0
- package/dist/store/projects.js +59 -0
- package/dist/store/relationship-audit.d.ts +42 -0
- package/dist/store/relationship-audit.d.ts.map +1 -0
- package/dist/store/relationship-audit.js +155 -0
- package/dist/store/relationships.d.ts +191 -0
- package/dist/store/relationships.d.ts.map +1 -0
- package/dist/store/relationships.js +724 -0
- package/dist/store/schema.d.ts +4 -0
- package/dist/store/schema.d.ts.map +1 -0
- package/dist/store/schema.js +220 -0
- package/dist/store/types.d.ts +29 -0
- package/dist/store/types.d.ts.map +1 -0
- package/dist/store/types.js +8 -0
- package/dist/store/validation.d.ts +7 -0
- package/dist/store/validation.d.ts.map +1 -0
- package/dist/store/validation.js +117 -0
- package/dist/store-handlers.d.ts +17 -0
- package/dist/store-handlers.d.ts.map +1 -0
- package/dist/store-handlers.js +872 -0
- package/dist/terminal-errors.d.ts +22 -0
- package/dist/terminal-errors.d.ts.map +1 -0
- package/dist/terminal-errors.js +45 -0
- package/dist/terminal-evidence.d.ts +21 -0
- package/dist/terminal-evidence.d.ts.map +1 -0
- package/dist/terminal-evidence.js +65 -0
- package/dist/terminal-routes.d.ts +10 -0
- package/dist/terminal-routes.d.ts.map +1 -0
- package/dist/terminal-routes.js +219 -0
- package/dist/terminal.d.ts +68 -0
- package/dist/terminal.d.ts.map +1 -0
- package/dist/terminal.js +855 -0
- package/package.json +52 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Shared query-only Local Knowledge retrieval for the editor coding-context service (Issue #1211).
|
|
2
|
+
// Both the context-pack provider and the /api/editor/local-knowledge/retrieve route run the same
|
|
3
|
+
// governed four-step dance — resolve scope, check capsule ready-state, build the embedding adapter
|
|
4
|
+
// (identity-consistency enforced), run retrieval WITHOUT answer generation — so it lives here once
|
|
5
|
+
// rather than as a parallel implementation. Callers own the KnowledgeStore lifecycle and map the
|
|
6
|
+
// discriminated outcome to their surface (omission vs RouteResult).
|
|
7
|
+
import { runLocalKnowledgeRetrieval } from "@oscharko-dev/keiko-local-knowledge";
|
|
8
|
+
import { createEmbeddingAdapter, scopeStateFailure, selectedCapsulesForScope, } from "../local-knowledge-grounded-qa.js";
|
|
9
|
+
// Builds a typed Local Knowledge scope from plain string ids. Exactly one id must be present; the
|
|
10
|
+
// connectedAtMs field is irrelevant to retrieval (it is a chat-binding timestamp) so it is zeroed.
|
|
11
|
+
export function buildLocalKnowledgeScope(capsuleId, capsuleSetId) {
|
|
12
|
+
if ((capsuleId === undefined) === (capsuleSetId === undefined)) {
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
15
|
+
if (capsuleId !== undefined) {
|
|
16
|
+
return { kind: "capsule", capsuleId: capsuleId, connectedAtMs: 0 };
|
|
17
|
+
}
|
|
18
|
+
return { kind: "capsule-set", capsuleSetId: capsuleSetId, connectedAtMs: 0 };
|
|
19
|
+
}
|
|
20
|
+
export async function retrieveEditorLocalKnowledge(deps, store, scope, queryText, signal) {
|
|
21
|
+
const selected = selectedCapsulesForScope(scope, store);
|
|
22
|
+
if ("status" in selected) {
|
|
23
|
+
return { kind: "conflict", routeResult: selected };
|
|
24
|
+
}
|
|
25
|
+
const stateFailure = scopeStateFailure(selected);
|
|
26
|
+
if (stateFailure !== undefined) {
|
|
27
|
+
return { kind: "not-ready", reason: stateFailure.reason, message: stateFailure.message };
|
|
28
|
+
}
|
|
29
|
+
const adapter = createEmbeddingAdapter(deps, selected.capsules);
|
|
30
|
+
if ("status" in adapter) {
|
|
31
|
+
return { kind: "conflict", routeResult: adapter };
|
|
32
|
+
}
|
|
33
|
+
const retrieval = await runLocalKnowledgeRetrieval({ store, embeddingAdapter: adapter, signal }, {
|
|
34
|
+
text: queryText,
|
|
35
|
+
...(scope.kind === "capsule" ? { capsuleId: scope.capsuleId } : {}),
|
|
36
|
+
...(scope.kind === "capsule-set" ? { capsuleSetId: scope.capsuleSetId } : {}),
|
|
37
|
+
});
|
|
38
|
+
return {
|
|
39
|
+
kind: "ok",
|
|
40
|
+
references: retrieval.references,
|
|
41
|
+
noEvidence: retrieval.noEvidence,
|
|
42
|
+
reason: retrieval.reason,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { EditorPatchApplyChangeCounts, EditorPatchApplyRejection, EditorPatchApplyStatus, EditorPatchApplyDecision, EditorPatchVerificationSummary, EvidenceStore } from "@oscharko-dev/keiko-contracts";
|
|
2
|
+
import type { Redactor } from "../deps.js";
|
|
3
|
+
export declare const PATCH_APPLY_EVIDENCE_SCHEMA_VERSION: "1";
|
|
4
|
+
export interface PatchApplyEvidenceInput {
|
|
5
|
+
readonly patchId: string;
|
|
6
|
+
readonly decision: EditorPatchApplyDecision;
|
|
7
|
+
readonly status: EditorPatchApplyStatus;
|
|
8
|
+
readonly applied: boolean;
|
|
9
|
+
readonly counts?: EditorPatchApplyChangeCounts | undefined;
|
|
10
|
+
readonly rejections?: readonly EditorPatchApplyRejection[] | undefined;
|
|
11
|
+
readonly allowOverwrite: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function recordPatchApplyEvidence(store: EvidenceStore, redactor: Redactor, input: PatchApplyEvidenceInput, emittedAtMs: number): string;
|
|
14
|
+
export interface PatchVerificationEvidenceInput {
|
|
15
|
+
readonly patchId: string;
|
|
16
|
+
readonly rootRealPath: string;
|
|
17
|
+
readonly command: string;
|
|
18
|
+
readonly summary: EditorPatchVerificationSummary;
|
|
19
|
+
}
|
|
20
|
+
export declare function recordPatchVerificationEvidence(store: EvidenceStore, redactor: Redactor, input: PatchVerificationEvidenceInput, emittedAtMs: number): string;
|
|
21
|
+
//# sourceMappingURL=patchApplyEvidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patchApplyEvidence.d.ts","sourceRoot":"","sources":["../../src/editor/patchApplyEvidence.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,mCAAmC,EAAG,GAAY,CAAC;AAsBhE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,yBAAyB,EAAE,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC;AAID,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,uBAAuB,EAC9B,WAAW,EAAE,MAAM,GAClB,MAAM,CAuBR;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAE9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,8BAA8B,CAAC;CAClD;AAKD,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,8BAA8B,EACrC,WAAW,EAAE,MAAM,GAClB,MAAM,CA8BR"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// Content-free audit linkage for editor-driven patch apply (Issue #1204, ADR-0042 D6/D7, ADR-0043).
|
|
2
|
+
// Records the three lifecycle phases distinctly — proposal, apply, and verification — tied together by
|
|
3
|
+
// the shared, content-free `patchId` correlation (AC4). The proposal phase is recorded by the
|
|
4
|
+
// test-generation evidence (Issue #1202); this module records the APPLY and VERIFICATION phases.
|
|
5
|
+
//
|
|
6
|
+
// Every record is content-free: it carries only enum literals, counts, a SHA-256 hash of the workspace
|
|
7
|
+
// root, and the bounded-execution configuration (command label, timeout, env-allowlist size, network
|
|
8
|
+
// status, secret-redaction status, pre/post-apply). It NEVER carries the patch text, a test log line, a
|
|
9
|
+
// workspace path, or a secret. Each record uses its own `editorPatchApplySchemaVersion` key and omits
|
|
10
|
+
// `evidenceSchemaVersion`, so the grounded / QI evidence reader skips it. Persistence failure never
|
|
11
|
+
// fails the request.
|
|
12
|
+
import { createHash } from "node:crypto";
|
|
13
|
+
export const PATCH_APPLY_EVIDENCE_SCHEMA_VERSION = "1";
|
|
14
|
+
// Deterministic, content-free run id derived from the patchId correlation, the phase, and the emission
|
|
15
|
+
// time, so an auditor can chain proposal → apply → verification by the shared patchId.
|
|
16
|
+
function patchApplyEvidenceRunId(patchId, phase, emittedAtMs) {
|
|
17
|
+
const material = [patchId, phase, String(emittedAtMs)].join("\n");
|
|
18
|
+
const digest = createHash("sha256").update(material).digest("hex").slice(0, 16);
|
|
19
|
+
return `editor-patch-${phase}-${digest}`;
|
|
20
|
+
}
|
|
21
|
+
// A SHA-256 hash of the canonical workspace root: a content-free pointer that identifies the root in
|
|
22
|
+
// the audit trail without recording the path itself (AC13 "cwd/root").
|
|
23
|
+
function rootHash(rootRealPath) {
|
|
24
|
+
return createHash("sha256").update(rootRealPath).digest("hex").slice(0, 16);
|
|
25
|
+
}
|
|
26
|
+
// Records the APPLY-phase evidence: the decision, the outcome status, content-free change counts, and the
|
|
27
|
+
// rejection reasons (enums only — no paths). Returns the run id for the response evidence pointer.
|
|
28
|
+
export function recordPatchApplyEvidence(store, redactor, input, emittedAtMs) {
|
|
29
|
+
const runId = patchApplyEvidenceRunId(input.patchId, "apply", emittedAtMs);
|
|
30
|
+
const manifest = {
|
|
31
|
+
editorPatchApplySchemaVersion: PATCH_APPLY_EVIDENCE_SCHEMA_VERSION,
|
|
32
|
+
runId,
|
|
33
|
+
phase: "apply",
|
|
34
|
+
patchId: input.patchId,
|
|
35
|
+
decision: input.decision,
|
|
36
|
+
status: input.status,
|
|
37
|
+
applied: input.applied,
|
|
38
|
+
allowOverwrite: input.allowOverwrite,
|
|
39
|
+
changedFiles: input.counts?.changedFiles ?? 0,
|
|
40
|
+
created: input.counts?.created ?? 0,
|
|
41
|
+
deleted: input.counts?.deleted ?? 0,
|
|
42
|
+
rejectionReasons: (input.rejections ?? []).map((rejection) => rejection.reason),
|
|
43
|
+
emittedAtMs,
|
|
44
|
+
};
|
|
45
|
+
try {
|
|
46
|
+
store.put(runId, JSON.stringify(redactor(manifest)));
|
|
47
|
+
}
|
|
48
|
+
catch {
|
|
49
|
+
// Audit persistence is best-effort; a write failure must never fail the user's request.
|
|
50
|
+
}
|
|
51
|
+
return runId;
|
|
52
|
+
}
|
|
53
|
+
// Records the VERIFICATION-phase evidence. Per the Issue #1204 owner addendum, it states the command,
|
|
54
|
+
// cwd/root (hashed), timeout, env allowlist, network status, secret-redaction status, and whether the
|
|
55
|
+
// run was pre- or post-apply — all content-free.
|
|
56
|
+
export function recordPatchVerificationEvidence(store, redactor, input, emittedAtMs) {
|
|
57
|
+
const runId = patchApplyEvidenceRunId(input.patchId, "verification", emittedAtMs);
|
|
58
|
+
const { summary } = input;
|
|
59
|
+
const manifest = {
|
|
60
|
+
editorPatchApplySchemaVersion: PATCH_APPLY_EVIDENCE_SCHEMA_VERSION,
|
|
61
|
+
runId,
|
|
62
|
+
phase: "verification",
|
|
63
|
+
patchId: input.patchId,
|
|
64
|
+
command: input.command,
|
|
65
|
+
rootHash: rootHash(input.rootRealPath),
|
|
66
|
+
outcome: summary.outcome,
|
|
67
|
+
networkStatus: summary.networkEnforced ? "enforced-none" : "inherited",
|
|
68
|
+
sandboxBackend: summary.sandboxBackend,
|
|
69
|
+
timeoutMs: summary.bounds.wallTimeMs,
|
|
70
|
+
maxOutputBytes: summary.bounds.maxOutputBytes,
|
|
71
|
+
envAllowlistCount: summary.bounds.envAllowlistCount,
|
|
72
|
+
secretsRedacted: summary.secretsRedacted,
|
|
73
|
+
preApply: summary.preApply,
|
|
74
|
+
stepCount: summary.stepCount,
|
|
75
|
+
passed: summary.passed,
|
|
76
|
+
failed: summary.failed,
|
|
77
|
+
durationMs: summary.durationMs,
|
|
78
|
+
emittedAtMs,
|
|
79
|
+
};
|
|
80
|
+
try {
|
|
81
|
+
store.put(runId, JSON.stringify(redactor(manifest)));
|
|
82
|
+
}
|
|
83
|
+
catch {
|
|
84
|
+
// Audit persistence is best-effort; a write failure must never fail the user's request.
|
|
85
|
+
}
|
|
86
|
+
return runId;
|
|
87
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EnvSource } from "@oscharko-dev/keiko-model-gateway";
|
|
2
|
+
import { type RouteContext, type RouteResult } from "../routes.js";
|
|
3
|
+
import type { UiHandlerDeps } from "../deps.js";
|
|
4
|
+
import { type PostApplyVerificationPreflightPort, type PostApplyVerificationPort } from "./postApplyVerification.js";
|
|
5
|
+
/** Injectable options for the route (tests supply a deterministic verification port and a fixed clock). */
|
|
6
|
+
export interface EditorPatchApplyRouteOptions {
|
|
7
|
+
readonly verification?: PostApplyVerificationPort | undefined;
|
|
8
|
+
readonly verificationPreflight?: PostApplyVerificationPreflightPort | undefined;
|
|
9
|
+
readonly now?: (() => number) | undefined;
|
|
10
|
+
}
|
|
11
|
+
/** Whether editor-driven patch apply is surfaced by deployment policy (Gate A; default off). */
|
|
12
|
+
export declare function isPatchApplyEnabledByPolicy(env: EnvSource | undefined): boolean;
|
|
13
|
+
/** Whether post-apply verification runs (default on; off only when explicitly disabled by policy). */
|
|
14
|
+
export declare function isPatchApplyVerificationEnabledByPolicy(env: EnvSource | undefined): boolean;
|
|
15
|
+
export declare function handleEditorPatchApply(ctx: RouteContext, deps: UiHandlerDeps, options?: EditorPatchApplyRouteOptions): Promise<RouteResult>;
|
|
16
|
+
//# sourceMappingURL=patchApplyRoutes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patchApplyRoutes.d.ts","sourceRoot":"","sources":["../../src/editor/patchApplyRoutes.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAa,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAIhD,OAAO,EAIL,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,EAC/B,MAAM,4BAA4B,CAAC;AAsBpC,2GAA2G;AAC3G,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,YAAY,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,qBAAqB,CAAC,EAAE,kCAAkC,GAAG,SAAS,CAAC;IAChF,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,MAAM,CAAC,GAAG,SAAS,CAAC;CAC3C;AAMD,gGAAgG;AAChG,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAG/E;AAED,sGAAsG;AACtG,wBAAgB,uCAAuC,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAG3F;AA2SD,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,YAAY,EACjB,IAAI,EAAE,aAAa,EACnB,OAAO,GAAE,4BAAiC,GACzC,OAAO,CAAC,WAAW,CAAC,CA8CtB"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
// BFF route for governed, editor-driven patch APPLY + post-apply VERIFICATION (Issue #1204,
|
|
2
|
+
// ADR-0042 D7, ADR-0043).
|
|
3
|
+
//
|
|
4
|
+
// POST /api/editor/patch-apply — apply or reject a reviewed candidate patch, then (for an apply) run
|
|
5
|
+
// post-apply verification in an enforced, deny-by-default egress
|
|
6
|
+
// boundary and record proposal/apply/verification evidence.
|
|
7
|
+
//
|
|
8
|
+
// Wave-2 surface, shipped switched OFF (ADR-0042 D7): patch apply and the verification that follows it
|
|
9
|
+
// EXECUTE untrusted, model-generated test code, so they are gated behind a default-off feature flag
|
|
10
|
+
// enabled only once the enforced egress boundary (delivered by #1202, ADR-0043) is available. Off
|
|
11
|
+
// (default) → `disabled`: no validation, write, or execution.
|
|
12
|
+
//
|
|
13
|
+
// Apply is fail-closed and explicit (AC1): a patch is applied only on an explicit `"apply"` decision and
|
|
14
|
+
// only after it passes keiko-tools validation (scope containment AC2, per-hunk write-conflict detection,
|
|
15
|
+
// size/line/file limits, and the no-silent-overwrite guardrail AC7/AC14). The diff is round-tripped from
|
|
16
|
+
// the generation response and re-validated from scratch — the client's framing is never trusted. On a
|
|
17
|
+
// failed verification a guarded restore proposal for explicit re-apply is surfaced; the server never
|
|
18
|
+
// reverts silently (AC5).
|
|
19
|
+
import { EDITOR_PATCH_APPLY_SCHEMA_VERSION, parseEditorPatchApplyRequest, } from "@oscharko-dev/keiko-contracts";
|
|
20
|
+
import { applyPatch, buildRestorePatch, validatePatch, } from "@oscharko-dev/keiko-tools";
|
|
21
|
+
import { detectWorkspaceAt } from "@oscharko-dev/keiko-workspace";
|
|
22
|
+
import { nodeWorkspaceFs } from "@oscharko-dev/keiko-workspace/internal/fs";
|
|
23
|
+
import { errorBody } from "../routes.js";
|
|
24
|
+
import { readJsonObject, resolveRoot, runFilesHandler } from "../files.js";
|
|
25
|
+
import { clientAbortSignal } from "./languageRoutes.js";
|
|
26
|
+
import { recordPatchApplyEvidence, recordPatchVerificationEvidence } from "./patchApplyEvidence.js";
|
|
27
|
+
import { defaultPostApplyVerification, defaultPostApplyVerificationPreflight, skippedVerificationSummary, } from "./postApplyVerification.js";
|
|
28
|
+
// A unified diff plus the apply envelope; bounded generously (validatePatch enforces the real patch
|
|
29
|
+
// byte/line/file limits). 2 MiB of body accommodates a large multi-file candidate diff.
|
|
30
|
+
const MAX_PATCH_APPLY_BODY_BYTES = 2 * 1_048_576;
|
|
31
|
+
// Gate A — surfaces editor-driven patch apply at all (default OFF: a wave-2 feature shipped switched off).
|
|
32
|
+
const PATCH_APPLY_POLICY_ENV = "KEIKO_EDITOR_PATCH_APPLY";
|
|
33
|
+
// Post-apply verification runs by DEFAULT; a deployment disables it only by setting this to a disable
|
|
34
|
+
// token (the other branch of AC: "skipped only when explicitly disabled by configured policy").
|
|
35
|
+
const PATCH_APPLY_VERIFICATION_ENV = "KEIKO_EDITOR_PATCH_APPLY_VERIFICATION";
|
|
36
|
+
const ENABLE_TOKENS = new Set(["1", "true", "on", "yes", "enabled"]);
|
|
37
|
+
const DISABLE_TOKENS = new Set(["0", "false", "off", "no", "disabled"]);
|
|
38
|
+
const DISABLED_REASON = "Editor-driven patch apply is disabled in this build. It is a wave-2 feature gated behind an enforced network-egress boundary (ADR-0042 D7).";
|
|
39
|
+
const DISABLED_PATCH_ID = "disabled";
|
|
40
|
+
const REJECTED_REASON = "The candidate patch was rejected; the workspace was not modified.";
|
|
41
|
+
const FAILED_REASON = "The patch could not be applied. The editor is still usable.";
|
|
42
|
+
const REVERT_REASON = "Post-apply verification failed. Review this revert proposal and apply it to restore the previous state; nothing was reverted automatically.";
|
|
43
|
+
function envToken(value) {
|
|
44
|
+
return value === undefined ? undefined : value.trim().toLowerCase();
|
|
45
|
+
}
|
|
46
|
+
/** Whether editor-driven patch apply is surfaced by deployment policy (Gate A; default off). */
|
|
47
|
+
export function isPatchApplyEnabledByPolicy(env) {
|
|
48
|
+
const token = envToken(env?.[PATCH_APPLY_POLICY_ENV]);
|
|
49
|
+
return token !== undefined && ENABLE_TOKENS.has(token);
|
|
50
|
+
}
|
|
51
|
+
/** Whether post-apply verification runs (default on; off only when explicitly disabled by policy). */
|
|
52
|
+
export function isPatchApplyVerificationEnabledByPolicy(env) {
|
|
53
|
+
const token = envToken(env?.[PATCH_APPLY_VERIFICATION_ENV]);
|
|
54
|
+
return token === undefined || !DISABLE_TOKENS.has(token);
|
|
55
|
+
}
|
|
56
|
+
function isRouteResult(value) {
|
|
57
|
+
return typeof value === "object" && value !== null && "status" in value && "body" in value;
|
|
58
|
+
}
|
|
59
|
+
// ─── Response builders ───────────────────────────────────────────────────────────────────────────
|
|
60
|
+
function disabledResponse() {
|
|
61
|
+
return {
|
|
62
|
+
schemaVersion: EDITOR_PATCH_APPLY_SCHEMA_VERSION,
|
|
63
|
+
status: "disabled",
|
|
64
|
+
patchId: DISABLED_PATCH_ID,
|
|
65
|
+
reason: DISABLED_REASON,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function rejectedResponse(patchId, evidence) {
|
|
69
|
+
return {
|
|
70
|
+
schemaVersion: EDITOR_PATCH_APPLY_SCHEMA_VERSION,
|
|
71
|
+
status: "rejected",
|
|
72
|
+
patchId,
|
|
73
|
+
reason: REJECTED_REASON,
|
|
74
|
+
evidence,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function conflictResponse(patchId, rejections, evidence) {
|
|
78
|
+
return {
|
|
79
|
+
schemaVersion: EDITOR_PATCH_APPLY_SCHEMA_VERSION,
|
|
80
|
+
status: "conflict",
|
|
81
|
+
patchId,
|
|
82
|
+
rejections,
|
|
83
|
+
evidence,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function failedResponse(patchId, evidence) {
|
|
87
|
+
return {
|
|
88
|
+
schemaVersion: EDITOR_PATCH_APPLY_SCHEMA_VERSION,
|
|
89
|
+
status: "failed",
|
|
90
|
+
patchId,
|
|
91
|
+
reason: FAILED_REASON,
|
|
92
|
+
evidence,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
// ─── Rejection mapping (PatchValidation → content-free editor rejections) ──────────────────────────
|
|
96
|
+
function mapRejectionReason(reason) {
|
|
97
|
+
if (reason.code === "path-unsafe" || reason.code === "path-denied") {
|
|
98
|
+
return "out-of-scope";
|
|
99
|
+
}
|
|
100
|
+
if (reason.message.includes("does not contain any file changes")) {
|
|
101
|
+
return "empty-patch";
|
|
102
|
+
}
|
|
103
|
+
return "invalid-patch";
|
|
104
|
+
}
|
|
105
|
+
function toRejections(validation) {
|
|
106
|
+
const rejections = [];
|
|
107
|
+
for (const reason of validation.reasons) {
|
|
108
|
+
rejections.push({
|
|
109
|
+
reason: mapRejectionReason(reason),
|
|
110
|
+
...(reason.path === undefined ? {} : { path: reason.path }),
|
|
111
|
+
detail: reason.message,
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
for (const conflict of validation.conflicts) {
|
|
115
|
+
rejections.push({
|
|
116
|
+
reason: conflict.reason === "create target already exists" ? "would-overwrite" : "write-conflict",
|
|
117
|
+
path: conflict.path,
|
|
118
|
+
detail: conflict.reason,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
return rejections;
|
|
122
|
+
}
|
|
123
|
+
function changeCounts(result) {
|
|
124
|
+
return {
|
|
125
|
+
changedFiles: result.changedFiles.length,
|
|
126
|
+
created: result.created.length,
|
|
127
|
+
deleted: result.deleted.length,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
// The applied test files to verify: every changed file that was not deleted (deleted paths have no test
|
|
131
|
+
// to run). The generated candidate creates/rewrites test files, so these are the targeted-test inputs.
|
|
132
|
+
function verifiableFiles(result) {
|
|
133
|
+
const deleted = new Set(result.deleted);
|
|
134
|
+
return result.changedFiles.filter((path) => !deleted.has(path));
|
|
135
|
+
}
|
|
136
|
+
function verifiableValidationFiles(files) {
|
|
137
|
+
return files.filter((file) => file.kind !== "delete").map((file) => file.path);
|
|
138
|
+
}
|
|
139
|
+
function buildRevertProposal(request, restoreDiff, result) {
|
|
140
|
+
return {
|
|
141
|
+
patchId: request.patchId,
|
|
142
|
+
diff: restoreDiff,
|
|
143
|
+
changedFiles: result.changedFiles,
|
|
144
|
+
reason: REVERT_REASON,
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
async function runVerificationPhase(ctx, result) {
|
|
148
|
+
if (!isPatchApplyVerificationEnabledByPolicy(ctx.deps.env)) {
|
|
149
|
+
return { summary: skippedVerificationSummary(), command: "none" };
|
|
150
|
+
}
|
|
151
|
+
const port = ctx.options.verification ?? defaultPostApplyVerification;
|
|
152
|
+
return port({
|
|
153
|
+
realRoot: ctx.realRoot,
|
|
154
|
+
appliedTestFiles: verifiableFiles(result),
|
|
155
|
+
signal: ctx.signal,
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
function conflictOutcome(ctx, validation) {
|
|
159
|
+
const rejections = toRejections(validation);
|
|
160
|
+
const applyRunId = recordPatchApplyEvidence(ctx.deps.evidenceStore, ctx.deps.redactor, {
|
|
161
|
+
patchId: ctx.request.patchId,
|
|
162
|
+
decision: "apply",
|
|
163
|
+
status: "conflict",
|
|
164
|
+
applied: false,
|
|
165
|
+
rejections,
|
|
166
|
+
allowOverwrite: ctx.request.allowOverwrite === true,
|
|
167
|
+
}, ctx.nowMs);
|
|
168
|
+
return conflictResponse(ctx.request.patchId, rejections, { applyRunId });
|
|
169
|
+
}
|
|
170
|
+
function failureOutcome(ctx) {
|
|
171
|
+
const applyRunId = recordPatchApplyEvidence(ctx.deps.evidenceStore, ctx.deps.redactor, {
|
|
172
|
+
patchId: ctx.request.patchId,
|
|
173
|
+
decision: "apply",
|
|
174
|
+
status: "failed",
|
|
175
|
+
applied: false,
|
|
176
|
+
allowOverwrite: ctx.request.allowOverwrite === true,
|
|
177
|
+
}, ctx.nowMs);
|
|
178
|
+
return failedResponse(ctx.request.patchId, { applyRunId });
|
|
179
|
+
}
|
|
180
|
+
async function verificationPreflightOutcome(ctx, validation) {
|
|
181
|
+
if (!isPatchApplyVerificationEnabledByPolicy(ctx.deps.env)) {
|
|
182
|
+
return undefined;
|
|
183
|
+
}
|
|
184
|
+
const port = ctx.options.verificationPreflight ?? defaultPostApplyVerificationPreflight;
|
|
185
|
+
const preflight = await port({
|
|
186
|
+
realRoot: ctx.realRoot,
|
|
187
|
+
appliedTestFiles: verifiableValidationFiles(validation.files),
|
|
188
|
+
});
|
|
189
|
+
if (preflight.ok) {
|
|
190
|
+
return undefined;
|
|
191
|
+
}
|
|
192
|
+
const applyRunId = recordPatchApplyEvidence(ctx.deps.evidenceStore, ctx.deps.redactor, {
|
|
193
|
+
patchId: ctx.request.patchId,
|
|
194
|
+
decision: "apply",
|
|
195
|
+
status: "failed",
|
|
196
|
+
applied: false,
|
|
197
|
+
allowOverwrite: ctx.request.allowOverwrite === true,
|
|
198
|
+
}, ctx.nowMs);
|
|
199
|
+
const verificationRunId = recordPatchVerificationEvidence(ctx.deps.evidenceStore, ctx.deps.redactor, {
|
|
200
|
+
patchId: ctx.request.patchId,
|
|
201
|
+
rootRealPath: ctx.realRoot,
|
|
202
|
+
command: preflight.command,
|
|
203
|
+
summary: preflight.summary,
|
|
204
|
+
}, ctx.nowMs);
|
|
205
|
+
return failedResponse(ctx.request.patchId, { applyRunId, verificationRunId });
|
|
206
|
+
}
|
|
207
|
+
async function appliedOutcome(ctx, result, restoreDiff) {
|
|
208
|
+
const { request, deps, nowMs } = ctx;
|
|
209
|
+
const counts = changeCounts(result);
|
|
210
|
+
const applyRunId = recordPatchApplyEvidence(deps.evidenceStore, deps.redactor, {
|
|
211
|
+
patchId: request.patchId,
|
|
212
|
+
decision: "apply",
|
|
213
|
+
status: "applied",
|
|
214
|
+
applied: true,
|
|
215
|
+
counts,
|
|
216
|
+
allowOverwrite: request.allowOverwrite === true,
|
|
217
|
+
}, nowMs);
|
|
218
|
+
const { summary, command } = await runVerificationPhase(ctx, result);
|
|
219
|
+
const verificationRunId = recordPatchVerificationEvidence(deps.evidenceStore, deps.redactor, { patchId: request.patchId, rootRealPath: ctx.realRoot, command, summary }, nowMs);
|
|
220
|
+
const revertProposal = summary.outcome === "failed" && restoreDiff !== undefined
|
|
221
|
+
? buildRevertProposal(request, restoreDiff, result)
|
|
222
|
+
: undefined;
|
|
223
|
+
return {
|
|
224
|
+
schemaVersion: EDITOR_PATCH_APPLY_SCHEMA_VERSION,
|
|
225
|
+
status: "applied",
|
|
226
|
+
patchId: request.patchId,
|
|
227
|
+
applied: counts,
|
|
228
|
+
verification: summary,
|
|
229
|
+
...(revertProposal === undefined ? {} : { revertProposal }),
|
|
230
|
+
evidence: { applyRunId, verificationRunId },
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
async function handleApply(ctx) {
|
|
234
|
+
const allowOverwrite = ctx.request.allowOverwrite === true;
|
|
235
|
+
const workspace = detectWorkspaceAt(ctx.realRoot, nodeWorkspaceFs);
|
|
236
|
+
const validation = validatePatch(workspace, ctx.request.diff, { allowOverwrite });
|
|
237
|
+
if (!validation.ok) {
|
|
238
|
+
return conflictOutcome(ctx, validation);
|
|
239
|
+
}
|
|
240
|
+
const preflightResponse = await verificationPreflightOutcome(ctx, validation);
|
|
241
|
+
if (preflightResponse !== undefined) {
|
|
242
|
+
return preflightResponse;
|
|
243
|
+
}
|
|
244
|
+
let restoreDiff;
|
|
245
|
+
try {
|
|
246
|
+
restoreDiff = buildRestorePatch(workspace, validation.normalizedDiff ?? ctx.request.diff, {
|
|
247
|
+
allowOverwrite,
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
catch {
|
|
251
|
+
return failureOutcome(ctx);
|
|
252
|
+
}
|
|
253
|
+
let result;
|
|
254
|
+
try {
|
|
255
|
+
result = applyPatch(workspace, ctx.request.diff, {
|
|
256
|
+
applyEnabled: true,
|
|
257
|
+
signal: ctx.signal,
|
|
258
|
+
allowOverwrite,
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
catch {
|
|
262
|
+
return failureOutcome(ctx);
|
|
263
|
+
}
|
|
264
|
+
return appliedOutcome(ctx, result, restoreDiff);
|
|
265
|
+
}
|
|
266
|
+
export async function handleEditorPatchApply(ctx, deps, options = {}) {
|
|
267
|
+
// Gate A — default OFF: surface disabled without reading, parsing, validation, writes, or execution.
|
|
268
|
+
if (!isPatchApplyEnabledByPolicy(deps.env)) {
|
|
269
|
+
return { status: 200, body: deps.redactor(disabledResponse()) };
|
|
270
|
+
}
|
|
271
|
+
const body = await readJsonObject(ctx.req, MAX_PATCH_APPLY_BODY_BYTES);
|
|
272
|
+
if (isRouteResult(body)) {
|
|
273
|
+
return body;
|
|
274
|
+
}
|
|
275
|
+
const parsed = parseEditorPatchApplyRequest(body);
|
|
276
|
+
if (!parsed.ok) {
|
|
277
|
+
return { status: 400, body: errorBody("INVALID_REQUEST", parsed.errors.join("; ")) };
|
|
278
|
+
}
|
|
279
|
+
const request = parsed.value;
|
|
280
|
+
return runFilesHandler(async () => {
|
|
281
|
+
const root = await resolveRoot(deps.store, request.root, deps.redactor);
|
|
282
|
+
const nowMs = (options.now ?? Date.now)();
|
|
283
|
+
const signal = clientAbortSignal(ctx);
|
|
284
|
+
if (request.decision === "reject") {
|
|
285
|
+
const applyRunId = recordPatchApplyEvidence(deps.evidenceStore, deps.redactor, {
|
|
286
|
+
patchId: request.patchId,
|
|
287
|
+
decision: "reject",
|
|
288
|
+
status: "rejected",
|
|
289
|
+
applied: false,
|
|
290
|
+
allowOverwrite: request.allowOverwrite === true,
|
|
291
|
+
}, nowMs);
|
|
292
|
+
return {
|
|
293
|
+
status: 200,
|
|
294
|
+
body: deps.redactor(rejectedResponse(request.patchId, { applyRunId })),
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
const response = await handleApply({
|
|
298
|
+
request,
|
|
299
|
+
deps,
|
|
300
|
+
realRoot: root.realRoot,
|
|
301
|
+
signal,
|
|
302
|
+
nowMs,
|
|
303
|
+
options,
|
|
304
|
+
});
|
|
305
|
+
return { status: 200, body: deps.redactor(response) };
|
|
306
|
+
});
|
|
307
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type WorkspaceInfo } from "@oscharko-dev/keiko-workspace";
|
|
2
|
+
import type { EditorPatchVerificationSummary } from "@oscharko-dev/keiko-contracts";
|
|
3
|
+
export interface PostApplyVerificationArgs {
|
|
4
|
+
readonly realRoot: string;
|
|
5
|
+
readonly appliedTestFiles: readonly string[];
|
|
6
|
+
readonly signal: AbortSignal;
|
|
7
|
+
}
|
|
8
|
+
export interface PostApplyVerificationResult {
|
|
9
|
+
readonly summary: EditorPatchVerificationSummary;
|
|
10
|
+
readonly command: string;
|
|
11
|
+
}
|
|
12
|
+
/** Injectable post-apply verification port (tests supply a deterministic outcome). */
|
|
13
|
+
export type PostApplyVerificationPort = (args: PostApplyVerificationArgs) => Promise<PostApplyVerificationResult>;
|
|
14
|
+
export interface PostApplyVerificationPreflightArgs {
|
|
15
|
+
readonly realRoot: string;
|
|
16
|
+
readonly appliedTestFiles: readonly string[];
|
|
17
|
+
}
|
|
18
|
+
export type PostApplyVerificationPreflightResult = {
|
|
19
|
+
readonly ok: true;
|
|
20
|
+
} | {
|
|
21
|
+
readonly ok: false;
|
|
22
|
+
readonly summary: EditorPatchVerificationSummary;
|
|
23
|
+
readonly command: string;
|
|
24
|
+
};
|
|
25
|
+
/** Injectable pre-write verification preflight port. */
|
|
26
|
+
export type PostApplyVerificationPreflightPort = (args: PostApplyVerificationPreflightArgs) => Promise<PostApplyVerificationPreflightResult>;
|
|
27
|
+
/** The summary for a post-apply verification that did not run (no resolvable targeted test). */
|
|
28
|
+
export declare function notRunVerificationSummary(): EditorPatchVerificationSummary;
|
|
29
|
+
/** The summary for a verification explicitly skipped by configured deployment policy. */
|
|
30
|
+
export declare function skippedVerificationSummary(): EditorPatchVerificationSummary;
|
|
31
|
+
/** The summary for a verification denied before patch application because egress cannot be enforced. */
|
|
32
|
+
export declare function deniedVerificationSummary(): EditorPatchVerificationSummary;
|
|
33
|
+
interface NetworkIsolationProbe {
|
|
34
|
+
readonly available: boolean;
|
|
35
|
+
readonly backend: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function probeNetworkIsolation(cwd: string): NetworkIsolationProbe;
|
|
38
|
+
export declare function requiresPostApplyVerificationPreflight(workspace: WorkspaceInfo, appliedTestFiles: readonly string[]): boolean;
|
|
39
|
+
export declare const defaultPostApplyVerification: PostApplyVerificationPort;
|
|
40
|
+
export declare const defaultPostApplyVerificationPreflight: PostApplyVerificationPreflightPort;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=postApplyVerification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postApplyVerification.d.ts","sourceRoot":"","sources":["../../src/editor/postApplyVerification.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEtF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAEpF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;CAC9B;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,OAAO,EAAE,8BAA8B,CAAC;IAEjD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,sFAAsF;AACtF,MAAM,MAAM,yBAAyB,GAAG,CACtC,IAAI,EAAE,yBAAyB,KAC5B,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9C;AAED,MAAM,MAAM,oCAAoC,GAC5C;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAA;CAAE,GACrB;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,OAAO,EAAE,8BAA8B,CAAC;IACjD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEN,wDAAwD;AACxD,MAAM,MAAM,kCAAkC,GAAG,CAC/C,IAAI,EAAE,kCAAkC,KACrC,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAYnD,gGAAgG;AAChG,wBAAgB,yBAAyB,IAAI,8BAA8B,CAc1E;AAED,yFAAyF;AACzF,wBAAgB,0BAA0B,IAAI,8BAA8B,CAc3E;AAED,wGAAwG;AACxG,wBAAgB,yBAAyB,IAAI,8BAA8B,CAc1E;AAED,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAUD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAUxE;AA+DD,wBAAgB,sCAAsC,CACpD,SAAS,EAAE,aAAa,EACxB,gBAAgB,EAAE,SAAS,MAAM,EAAE,GAClC,OAAO,CAKT;AAID,eAAO,MAAM,4BAA4B,EAAE,yBAiB1C,CAAC;AAIF,eAAO,MAAM,qCAAqC,EAAE,kCAUnD,CAAC"}
|