@exellix/ai-tasks 7.8.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/.env.example +3 -0
- package/.metadata/instructions-builders/create-expected-output-instructions.md +195 -0
- package/.metadata/readme.md +48 -0
- package/.metadata/shared/audit.md +29 -0
- package/.metadata/skills/professional-answer +32 -0
- package/.metadata/skills/professional-answer.compressed.md +11 -0
- package/.metadata/skills/professional-answer.instructions +33 -0
- package/.metadata/skills/professional-answer.instructions.md +33 -0
- package/.metadata/skills/professional-answer.l2.md +28 -0
- package/.metadata/skills/professional-answer.md +32 -0
- package/.metadata/skills/professional-answer.prompt +1 -0
- package/.metadata/skills/professional-answer.prompt.md +1 -0
- package/.metadata/skills/professional-decision.md +26 -0
- package/BREAKING-CHANGES.md +43 -0
- package/CHANGELOG.md +147 -0
- package/README.md +2497 -0
- package/RUNTASK_REQUEST.md +369 -0
- package/dist/activix/activixClient.d.ts +6 -0
- package/dist/activix/activixClient.d.ts.map +1 -0
- package/dist/activix/activixClient.js +131 -0
- package/dist/activix/activixClient.js.map +1 -0
- package/dist/activix/getTaskActivities.d.ts +10 -0
- package/dist/activix/getTaskActivities.d.ts.map +1 -0
- package/dist/activix/getTaskActivities.js +17 -0
- package/dist/activix/getTaskActivities.js.map +1 -0
- package/dist/activix/phaseTracking.d.ts +17 -0
- package/dist/activix/phaseTracking.d.ts.map +1 -0
- package/dist/activix/phaseTracking.js +85 -0
- package/dist/activix/phaseTracking.js.map +1 -0
- package/dist/aiScoping/index.d.ts +6 -0
- package/dist/aiScoping/index.d.ts.map +1 -0
- package/dist/aiScoping/index.js +4 -0
- package/dist/aiScoping/index.js.map +1 -0
- package/dist/aiScoping/runAiScoping.d.ts +36 -0
- package/dist/aiScoping/runAiScoping.d.ts.map +1 -0
- package/dist/aiScoping/runAiScoping.js +100 -0
- package/dist/aiScoping/runAiScoping.js.map +1 -0
- package/dist/aiScoping/runScopingCall.d.ts +23 -0
- package/dist/aiScoping/runScopingCall.d.ts.map +1 -0
- package/dist/aiScoping/runScopingCall.js +50 -0
- package/dist/aiScoping/runScopingCall.js.map +1 -0
- package/dist/aiScoping/validateAiScoping.d.ts +7 -0
- package/dist/aiScoping/validateAiScoping.d.ts.map +1 -0
- package/dist/aiScoping/validateAiScoping.js +33 -0
- package/dist/aiScoping/validateAiScoping.js.map +1 -0
- package/dist/aiSkillsUpstreamExports.d.ts +13 -0
- package/dist/aiSkillsUpstreamExports.d.ts.map +1 -0
- package/dist/aiSkillsUpstreamExports.js +12 -0
- package/dist/aiSkillsUpstreamExports.js.map +1 -0
- package/dist/analysis/analyzeRunTaskRequest.d.ts +29 -0
- package/dist/analysis/analyzeRunTaskRequest.d.ts.map +1 -0
- package/dist/analysis/analyzeRunTaskRequest.js +85 -0
- package/dist/analysis/analyzeRunTaskRequest.js.map +1 -0
- package/dist/analysis/index.d.ts +3 -0
- package/dist/analysis/index.d.ts.map +1 -0
- package/dist/analysis/index.js +2 -0
- package/dist/analysis/index.js.map +1 -0
- package/dist/builders/task-request-builder.d.ts +310 -0
- package/dist/builders/task-request-builder.d.ts.map +1 -0
- package/dist/builders/task-request-builder.js +581 -0
- package/dist/builders/task-request-builder.js.map +1 -0
- package/dist/compile/compileTaskConfiguration.d.ts +15 -0
- package/dist/compile/compileTaskConfiguration.d.ts.map +1 -0
- package/dist/compile/compileTaskConfiguration.js +184 -0
- package/dist/compile/compileTaskConfiguration.js.map +1 -0
- package/dist/compile/index.d.ts +2 -0
- package/dist/compile/index.d.ts.map +1 -0
- package/dist/compile/index.js +2 -0
- package/dist/compile/index.js.map +1 -0
- package/dist/core/task-sdk.d.ts +36 -0
- package/dist/core/task-sdk.d.ts.map +1 -0
- package/dist/core/task-sdk.js +2432 -0
- package/dist/core/task-sdk.js.map +1 -0
- package/dist/errors/smartInputValidationError.d.ts +39 -0
- package/dist/errors/smartInputValidationError.d.ts.map +1 -0
- package/dist/errors/smartInputValidationError.js +97 -0
- package/dist/errors/smartInputValidationError.js.map +1 -0
- package/dist/errors/taskConfigurationCompileError.d.ts +16 -0
- package/dist/errors/taskConfigurationCompileError.d.ts.map +1 -0
- package/dist/errors/taskConfigurationCompileError.js +20 -0
- package/dist/errors/taskConfigurationCompileError.js.map +1 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.d.ts +17 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.d.ts.map +1 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.js +63 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.js.map +1 -0
- package/dist/execution-strategies/constants.d.ts +14 -0
- package/dist/execution-strategies/constants.d.ts.map +1 -0
- package/dist/execution-strategies/constants.js +13 -0
- package/dist/execution-strategies/constants.js.map +1 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.d.ts +9 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.d.ts.map +1 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.js +37 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.js.map +1 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.d.ts +94 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.d.ts.map +1 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.js +306 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.js.map +1 -0
- package/dist/execution-strategies/resolveExecutionStrategies.d.ts +14 -0
- package/dist/execution-strategies/resolveExecutionStrategies.d.ts.map +1 -0
- package/dist/execution-strategies/resolveExecutionStrategies.js +108 -0
- package/dist/execution-strategies/resolveExecutionStrategies.js.map +1 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.d.ts +37 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.d.ts.map +1 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.js +72 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.js.map +1 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +106 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/resolveLlmCallForXynthesis.d.ts +52 -0
- package/dist/internal/resolveLlmCallForXynthesis.d.ts.map +1 -0
- package/dist/internal/resolveLlmCallForXynthesis.js +81 -0
- package/dist/internal/resolveLlmCallForXynthesis.js.map +1 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.d.ts +19 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.d.ts.map +1 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.js +52 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.js.map +1 -0
- package/dist/internal/runPostStepLlmCall.d.ts +52 -0
- package/dist/internal/runPostStepLlmCall.d.ts.map +1 -0
- package/dist/internal/runPostStepLlmCall.js +170 -0
- package/dist/internal/runPostStepLlmCall.js.map +1 -0
- package/dist/localTasks/collectEvidence.d.ts +3 -0
- package/dist/localTasks/collectEvidence.d.ts.map +1 -0
- package/dist/localTasks/collectEvidence.js +364 -0
- package/dist/localTasks/collectEvidence.js.map +1 -0
- package/dist/localTasks/decideWebScope.d.ts +3 -0
- package/dist/localTasks/decideWebScope.d.ts.map +1 -0
- package/dist/localTasks/decideWebScope.js +56 -0
- package/dist/localTasks/decideWebScope.js.map +1 -0
- package/dist/localTasks/index.d.ts +5 -0
- package/dist/localTasks/index.d.ts.map +1 -0
- package/dist/localTasks/index.js +19 -0
- package/dist/localTasks/index.js.map +1 -0
- package/dist/localTasks/narrixAssetPlayground.d.ts +13 -0
- package/dist/localTasks/narrixAssetPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixAssetPlayground.js +161 -0
- package/dist/localTasks/narrixAssetPlayground.js.map +1 -0
- package/dist/localTasks/narrixSubnetPlayground.d.ts +14 -0
- package/dist/localTasks/narrixSubnetPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixSubnetPlayground.js +168 -0
- package/dist/localTasks/narrixSubnetPlayground.js.map +1 -0
- package/dist/localTasks/narrixVulnGroupPlayground.d.ts +13 -0
- package/dist/localTasks/narrixVulnGroupPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixVulnGroupPlayground.js +161 -0
- package/dist/localTasks/narrixVulnGroupPlayground.js.map +1 -0
- package/dist/localTasks/narrixVulnInstancePlayground.d.ts +13 -0
- package/dist/localTasks/narrixVulnInstancePlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixVulnInstancePlayground.js +165 -0
- package/dist/localTasks/narrixVulnInstancePlayground.js.map +1 -0
- package/dist/localTasks/nodeCallExport.d.ts +6 -0
- package/dist/localTasks/nodeCallExport.d.ts.map +1 -0
- package/dist/localTasks/nodeCallExport.js +99 -0
- package/dist/localTasks/nodeCallExport.js.map +1 -0
- package/dist/localTasks/nodeCallExportBatch.d.ts +3 -0
- package/dist/localTasks/nodeCallExportBatch.d.ts.map +1 -0
- package/dist/localTasks/nodeCallExportBatch.js +52 -0
- package/dist/localTasks/nodeCallExportBatch.js.map +1 -0
- package/dist/localTasks/normalizeNarrixResult.d.ts +3 -0
- package/dist/localTasks/normalizeNarrixResult.d.ts.map +1 -0
- package/dist/localTasks/normalizeNarrixResult.js +106 -0
- package/dist/localTasks/normalizeNarrixResult.js.map +1 -0
- package/dist/localTasks/registry.d.ts +4 -0
- package/dist/localTasks/registry.d.ts.map +1 -0
- package/dist/localTasks/registry.js +8 -0
- package/dist/localTasks/registry.js.map +1 -0
- package/dist/localTasks/types.d.ts +28 -0
- package/dist/localTasks/types.d.ts.map +1 -0
- package/dist/localTasks/types.js +2 -0
- package/dist/localTasks/types.js.map +1 -0
- package/dist/localTasks/validateInput.d.ts +3 -0
- package/dist/localTasks/validateInput.d.ts.map +1 -0
- package/dist/localTasks/validateInput.js +66 -0
- package/dist/localTasks/validateInput.js.map +1 -0
- package/dist/methods/convenience-methods.d.ts +45 -0
- package/dist/methods/convenience-methods.d.ts.map +1 -0
- package/dist/methods/convenience-methods.js +39 -0
- package/dist/methods/convenience-methods.js.map +1 -0
- package/dist/narrix/applyNarrixScope.d.ts +10 -0
- package/dist/narrix/applyNarrixScope.d.ts.map +1 -0
- package/dist/narrix/applyNarrixScope.js +69 -0
- package/dist/narrix/applyNarrixScope.js.map +1 -0
- package/dist/narrix/buildNarrixAttachment.d.ts +9 -0
- package/dist/narrix/buildNarrixAttachment.d.ts.map +1 -0
- package/dist/narrix/buildNarrixAttachment.js +29 -0
- package/dist/narrix/buildNarrixAttachment.js.map +1 -0
- package/dist/narrix/buildWebScopeScopeInput.d.ts +39 -0
- package/dist/narrix/buildWebScopeScopeInput.d.ts.map +1 -0
- package/dist/narrix/buildWebScopeScopeInput.js +193 -0
- package/dist/narrix/buildWebScopeScopeInput.js.map +1 -0
- package/dist/narrix/flags.d.ts +4 -0
- package/dist/narrix/flags.d.ts.map +1 -0
- package/dist/narrix/flags.js +4 -0
- package/dist/narrix/flags.js.map +1 -0
- package/dist/narrix/index.d.ts +11 -0
- package/dist/narrix/index.d.ts.map +1 -0
- package/dist/narrix/index.js +14 -0
- package/dist/narrix/index.js.map +1 -0
- package/dist/narrix/narrixClient.d.ts +9 -0
- package/dist/narrix/narrixClient.d.ts.map +1 -0
- package/dist/narrix/narrixClient.js +46 -0
- package/dist/narrix/narrixClient.js.map +1 -0
- package/dist/narrix/narrixContextMarkdown.d.ts +15 -0
- package/dist/narrix/narrixContextMarkdown.d.ts.map +1 -0
- package/dist/narrix/narrixContextMarkdown.js +98 -0
- package/dist/narrix/narrixContextMarkdown.js.map +1 -0
- package/dist/narrix/narrixRunnerModule.d.ts +11 -0
- package/dist/narrix/narrixRunnerModule.d.ts.map +1 -0
- package/dist/narrix/narrixRunnerModule.js +17 -0
- package/dist/narrix/narrixRunnerModule.js.map +1 -0
- package/dist/narrix/runNarrixForChat.d.ts +3 -0
- package/dist/narrix/runNarrixForChat.d.ts.map +1 -0
- package/dist/narrix/runNarrixForChat.js +51 -0
- package/dist/narrix/runNarrixForChat.js.map +1 -0
- package/dist/narrix/runNarrixForDocs.d.ts +3 -0
- package/dist/narrix/runNarrixForDocs.d.ts.map +1 -0
- package/dist/narrix/runNarrixForDocs.js +50 -0
- package/dist/narrix/runNarrixForDocs.js.map +1 -0
- package/dist/narrix/runNarrixForRecord.d.ts +3 -0
- package/dist/narrix/runNarrixForRecord.d.ts.map +1 -0
- package/dist/narrix/runNarrixForRecord.js +47 -0
- package/dist/narrix/runNarrixForRecord.js.map +1 -0
- package/dist/narrix/runNarrixForText.d.ts +3 -0
- package/dist/narrix/runNarrixForText.d.ts.map +1 -0
- package/dist/narrix/runNarrixForText.js +49 -0
- package/dist/narrix/runNarrixForText.js.map +1 -0
- package/dist/narrix/runnerDispatch.d.ts +12 -0
- package/dist/narrix/runnerDispatch.d.ts.map +1 -0
- package/dist/narrix/runnerDispatch.js +19 -0
- package/dist/narrix/runnerDispatch.js.map +1 -0
- package/dist/narrix/seedBundleRouting.d.ts +15 -0
- package/dist/narrix/seedBundleRouting.d.ts.map +1 -0
- package/dist/narrix/seedBundleRouting.js +46 -0
- package/dist/narrix/seedBundleRouting.js.map +1 -0
- package/dist/narrix/task.d.ts +4 -0
- package/dist/narrix/task.d.ts.map +1 -0
- package/dist/narrix/task.js +143 -0
- package/dist/narrix/task.js.map +1 -0
- package/dist/narrix/types.d.ts +104 -0
- package/dist/narrix/types.d.ts.map +1 -0
- package/dist/narrix/types.js +3 -0
- package/dist/narrix/types.js.map +1 -0
- package/dist/narrix/webContextMarkdown.d.ts +54 -0
- package/dist/narrix/webContextMarkdown.d.ts.map +1 -0
- package/dist/narrix/webContextMarkdown.js +206 -0
- package/dist/narrix/webContextMarkdown.js.map +1 -0
- package/dist/narrix/webScoper.d.ts +43 -0
- package/dist/narrix/webScoper.d.ts.map +1 -0
- package/dist/narrix/webScoper.js +144 -0
- package/dist/narrix/webScoper.js.map +1 -0
- package/dist/observability/debugTrace.d.ts +31 -0
- package/dist/observability/debugTrace.d.ts.map +1 -0
- package/dist/observability/debugTrace.js +117 -0
- package/dist/observability/debugTrace.js.map +1 -0
- package/dist/observability/extractAiTasksObservability.d.ts +7 -0
- package/dist/observability/extractAiTasksObservability.d.ts.map +1 -0
- package/dist/observability/extractAiTasksObservability.js +98 -0
- package/dist/observability/extractAiTasksObservability.js.map +1 -0
- package/dist/observability/graphExecutionRunLogContract.d.ts +19 -0
- package/dist/observability/graphExecutionRunLogContract.d.ts.map +1 -0
- package/dist/observability/graphExecutionRunLogContract.js +11 -0
- package/dist/observability/graphExecutionRunLogContract.js.map +1 -0
- package/dist/packaged-tasks-client.d.ts +66 -0
- package/dist/packaged-tasks-client.d.ts.map +1 -0
- package/dist/packaged-tasks-client.js +100 -0
- package/dist/packaged-tasks-client.js.map +1 -0
- package/dist/planWebScopeQuestions/index.d.ts +78 -0
- package/dist/planWebScopeQuestions/index.d.ts.map +1 -0
- package/dist/planWebScopeQuestions/index.js +282 -0
- package/dist/planWebScopeQuestions/index.js.map +1 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.d.ts +18 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.d.ts.map +1 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.js +42 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.js.map +1 -0
- package/dist/post-steps/audit/loadAuditTemplates.d.ts +72 -0
- package/dist/post-steps/audit/loadAuditTemplates.d.ts.map +1 -0
- package/dist/post-steps/audit/loadAuditTemplates.js +62 -0
- package/dist/post-steps/audit/loadAuditTemplates.js.map +1 -0
- package/dist/post-steps/audit/parseAuditOutput.d.ts +11 -0
- package/dist/post-steps/audit/parseAuditOutput.d.ts.map +1 -0
- package/dist/post-steps/audit/parseAuditOutput.js +50 -0
- package/dist/post-steps/audit/parseAuditOutput.js.map +1 -0
- package/dist/post-steps/audit/runAudit.d.ts +22 -0
- package/dist/post-steps/audit/runAudit.d.ts.map +1 -0
- package/dist/post-steps/audit/runAudit.js +406 -0
- package/dist/post-steps/audit/runAudit.js.map +1 -0
- package/dist/post-steps/audit/runAuditCall.d.ts +23 -0
- package/dist/post-steps/audit/runAuditCall.d.ts.map +1 -0
- package/dist/post-steps/audit/runAuditCall.js +32 -0
- package/dist/post-steps/audit/runAuditCall.js.map +1 -0
- package/dist/post-steps/polish/loadPolishTemplates.d.ts +35 -0
- package/dist/post-steps/polish/loadPolishTemplates.d.ts.map +1 -0
- package/dist/post-steps/polish/loadPolishTemplates.js +38 -0
- package/dist/post-steps/polish/loadPolishTemplates.js.map +1 -0
- package/dist/post-steps/polish/parsePolishOutput.d.ts +6 -0
- package/dist/post-steps/polish/parsePolishOutput.d.ts.map +1 -0
- package/dist/post-steps/polish/parsePolishOutput.js +47 -0
- package/dist/post-steps/polish/parsePolishOutput.js.map +1 -0
- package/dist/post-steps/polish/runPolish.d.ts +24 -0
- package/dist/post-steps/polish/runPolish.d.ts.map +1 -0
- package/dist/post-steps/polish/runPolish.js +147 -0
- package/dist/post-steps/polish/runPolish.js.map +1 -0
- package/dist/post-steps/polish/runPolishCall.d.ts +22 -0
- package/dist/post-steps/polish/runPolishCall.d.ts.map +1 -0
- package/dist/post-steps/polish/runPolishCall.js +32 -0
- package/dist/post-steps/polish/runPolishCall.js.map +1 -0
- package/dist/post-steps/resolvePostStepConfig.d.ts +58 -0
- package/dist/post-steps/resolvePostStepConfig.d.ts.map +1 -0
- package/dist/post-steps/resolvePostStepConfig.js +105 -0
- package/dist/post-steps/resolvePostStepConfig.js.map +1 -0
- package/dist/rendrixUpstreamExports.d.ts +7 -0
- package/dist/rendrixUpstreamExports.d.ts.map +1 -0
- package/dist/rendrixUpstreamExports.js +6 -0
- package/dist/rendrixUpstreamExports.js.map +1 -0
- package/dist/skillCatalogExports.d.ts +8 -0
- package/dist/skillCatalogExports.d.ts.map +1 -0
- package/dist/skillCatalogExports.js +8 -0
- package/dist/skillCatalogExports.js.map +1 -0
- package/dist/strategies/direct-execution-strategy.d.ts +31 -0
- package/dist/strategies/direct-execution-strategy.d.ts.map +1 -0
- package/dist/strategies/direct-execution-strategy.js +107 -0
- package/dist/strategies/direct-execution-strategy.js.map +1 -0
- package/dist/strategies/execution-strategy.interface.d.ts +31 -0
- package/dist/strategies/execution-strategy.interface.d.ts.map +1 -0
- package/dist/strategies/execution-strategy.interface.js +2 -0
- package/dist/strategies/execution-strategy.interface.js.map +1 -0
- package/dist/strategies/index.d.ts +9 -0
- package/dist/strategies/index.d.ts.map +1 -0
- package/dist/strategies/index.js +8 -0
- package/dist/strategies/index.js.map +1 -0
- package/dist/strategies/strategy-factory.d.ts +45 -0
- package/dist/strategies/strategy-factory.d.ts.map +1 -0
- package/dist/strategies/strategy-factory.js +59 -0
- package/dist/strategies/strategy-factory.js.map +1 -0
- package/dist/synthesis/index.d.ts +9 -0
- package/dist/synthesis/index.d.ts.map +1 -0
- package/dist/synthesis/index.js +8 -0
- package/dist/synthesis/index.js.map +1 -0
- package/dist/synthesis/resolveSourceMaterial.d.ts +35 -0
- package/dist/synthesis/resolveSourceMaterial.d.ts.map +1 -0
- package/dist/synthesis/resolveSourceMaterial.js +152 -0
- package/dist/synthesis/resolveSourceMaterial.js.map +1 -0
- package/dist/synthesis/runStructuredSynthesisRobust.d.ts +42 -0
- package/dist/synthesis/runStructuredSynthesisRobust.d.ts.map +1 -0
- package/dist/synthesis/runStructuredSynthesisRobust.js +303 -0
- package/dist/synthesis/runStructuredSynthesisRobust.js.map +1 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.d.ts +19 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.d.ts.map +1 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.js +242 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.js.map +1 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.d.ts +171 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.d.ts.map +1 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.js +117 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.js.map +1 -0
- package/dist/task-strategies/canonicalNarrixModes.d.ts +31 -0
- package/dist/task-strategies/canonicalNarrixModes.d.ts.map +1 -0
- package/dist/task-strategies/canonicalNarrixModes.js +35 -0
- package/dist/task-strategies/canonicalNarrixModes.js.map +1 -0
- package/dist/task-strategies/canonicalTaskStrategies.d.ts +104 -0
- package/dist/task-strategies/canonicalTaskStrategies.d.ts.map +1 -0
- package/dist/task-strategies/canonicalTaskStrategies.js +77 -0
- package/dist/task-strategies/canonicalTaskStrategies.js.map +1 -0
- package/dist/task-strategies/cataloxCatalogViews.d.ts +55 -0
- package/dist/task-strategies/cataloxCatalogViews.d.ts.map +1 -0
- package/dist/task-strategies/cataloxCatalogViews.js +65 -0
- package/dist/task-strategies/cataloxCatalogViews.js.map +1 -0
- package/dist/task-strategies/constants.d.ts +49 -0
- package/dist/task-strategies/constants.d.ts.map +1 -0
- package/dist/task-strategies/constants.js +49 -0
- package/dist/task-strategies/constants.js.map +1 -0
- package/dist/task-strategies/index.d.ts +22 -0
- package/dist/task-strategies/index.d.ts.map +1 -0
- package/dist/task-strategies/index.js +13 -0
- package/dist/task-strategies/index.js.map +1 -0
- package/dist/task-strategies/listAiTaskStrategies.d.ts +43 -0
- package/dist/task-strategies/listAiTaskStrategies.d.ts.map +1 -0
- package/dist/task-strategies/listAiTaskStrategies.js +74 -0
- package/dist/task-strategies/listAiTaskStrategies.js.map +1 -0
- package/dist/task-strategies/normalize.d.ts +7 -0
- package/dist/task-strategies/normalize.d.ts.map +1 -0
- package/dist/task-strategies/normalize.js +44 -0
- package/dist/task-strategies/normalize.js.map +1 -0
- package/dist/task-strategies/types.d.ts +37 -0
- package/dist/task-strategies/types.d.ts.map +1 -0
- package/dist/task-strategies/types.js +2 -0
- package/dist/task-strategies/types.js.map +1 -0
- package/dist/types/decision-contracts.d.ts +31 -0
- package/dist/types/decision-contracts.d.ts.map +1 -0
- package/dist/types/decision-contracts.js +23 -0
- package/dist/types/decision-contracts.js.map +1 -0
- package/dist/types/evidence-types.d.ts +108 -0
- package/dist/types/evidence-types.d.ts.map +1 -0
- package/dist/types/evidence-types.js +9 -0
- package/dist/types/evidence-types.js.map +1 -0
- package/dist/types/executionType.d.ts +9 -0
- package/dist/types/executionType.d.ts.map +1 -0
- package/dist/types/executionType.js +8 -0
- package/dist/types/executionType.js.map +1 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +12 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/llmCall.d.ts +121 -0
- package/dist/types/llmCall.d.ts.map +1 -0
- package/dist/types/llmCall.js +39 -0
- package/dist/types/llmCall.js.map +1 -0
- package/dist/types/task-configuration.d.ts +60 -0
- package/dist/types/task-configuration.d.ts.map +1 -0
- package/dist/types/task-configuration.js +3 -0
- package/dist/types/task-configuration.js.map +1 -0
- package/dist/types/task-types.d.ts +887 -0
- package/dist/types/task-types.d.ts.map +1 -0
- package/dist/types/task-types.js +21 -0
- package/dist/types/task-types.js.map +1 -0
- package/dist/utilities/runUtility.d.ts +3 -0
- package/dist/utilities/runUtility.d.ts.map +1 -0
- package/dist/utilities/runUtility.js +204 -0
- package/dist/utilities/runUtility.js.map +1 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.d.ts +7 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.d.ts.map +1 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.js +17 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.js.map +1 -0
- package/dist/utils/assertValidSmartInputConfig.d.ts +5 -0
- package/dist/utils/assertValidSmartInputConfig.d.ts.map +1 -0
- package/dist/utils/assertValidSmartInputConfig.js +71 -0
- package/dist/utils/assertValidSmartInputConfig.js.map +1 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.d.ts +13 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.d.ts.map +1 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.js +65 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.js.map +1 -0
- package/dist/utils/extractSmartInputRenderResult.d.ts +7 -0
- package/dist/utils/extractSmartInputRenderResult.d.ts.map +1 -0
- package/dist/utils/extractSmartInputRenderResult.js +30 -0
- package/dist/utils/extractSmartInputRenderResult.js.map +1 -0
- package/dist/utils/jsonPaths.d.ts +6 -0
- package/dist/utils/jsonPaths.d.ts.map +1 -0
- package/dist/utils/jsonPaths.js +32 -0
- package/dist/utils/jsonPaths.js.map +1 -0
- package/dist/utils/normalizeSmartInputConfig.d.ts +5 -0
- package/dist/utils/normalizeSmartInputConfig.d.ts.map +1 -0
- package/dist/utils/normalizeSmartInputConfig.js +30 -0
- package/dist/utils/normalizeSmartInputConfig.js.map +1 -0
- package/dist/utils/outputValidation.d.ts +19 -0
- package/dist/utils/outputValidation.d.ts.map +1 -0
- package/dist/utils/outputValidation.js +75 -0
- package/dist/utils/outputValidation.js.map +1 -0
- package/dist/utils/runTaskRequestShape.d.ts +16 -0
- package/dist/utils/runTaskRequestShape.d.ts.map +1 -0
- package/dist/utils/runTaskRequestShape.js +80 -0
- package/dist/utils/runTaskRequestShape.js.map +1 -0
- package/dist/utils/skillTemplateVariables.d.ts +20 -0
- package/dist/utils/skillTemplateVariables.d.ts.map +1 -0
- package/dist/utils/skillTemplateVariables.js +63 -0
- package/dist/utils/skillTemplateVariables.js.map +1 -0
- package/dist/utils/xynthesizedSmartInputPaths.d.ts +16 -0
- package/dist/utils/xynthesizedSmartInputPaths.d.ts.map +1 -0
- package/dist/utils/xynthesizedSmartInputPaths.js +56 -0
- package/dist/utils/xynthesizedSmartInputPaths.js.map +1 -0
- package/dist/utils/xynthesizedWrite.d.ts +10 -0
- package/dist/utils/xynthesizedWrite.d.ts.map +1 -0
- package/dist/utils/xynthesizedWrite.js +61 -0
- package/dist/utils/xynthesizedWrite.js.map +1 -0
- package/dist/validation/analyzeExpectedRunTaskInput.d.ts +41 -0
- package/dist/validation/analyzeExpectedRunTaskInput.d.ts.map +1 -0
- package/dist/validation/analyzeExpectedRunTaskInput.js +133 -0
- package/dist/validation/analyzeExpectedRunTaskInput.js.map +1 -0
- package/dist/validation/collectSmartInputValidationIssues.d.ts +6 -0
- package/dist/validation/collectSmartInputValidationIssues.d.ts.map +1 -0
- package/dist/validation/collectSmartInputValidationIssues.js +38 -0
- package/dist/validation/collectSmartInputValidationIssues.js.map +1 -0
- package/dist/validation/helpers.d.ts +15 -0
- package/dist/validation/helpers.d.ts.map +1 -0
- package/dist/validation/helpers.js +184 -0
- package/dist/validation/helpers.js.map +1 -0
- package/dist/validation/index.d.ts +9 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +6 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/types.d.ts +51 -0
- package/dist/validation/types.d.ts.map +1 -0
- package/dist/validation/types.js +5 -0
- package/dist/validation/types.js.map +1 -0
- package/dist/validation/validateRunTaskConfig.d.ts +8 -0
- package/dist/validation/validateRunTaskConfig.d.ts.map +1 -0
- package/dist/validation/validateRunTaskConfig.js +158 -0
- package/dist/validation/validateRunTaskConfig.js.map +1 -0
- package/dist/validation/validateRunTaskInvoke.d.ts +30 -0
- package/dist/validation/validateRunTaskInvoke.d.ts.map +1 -0
- package/dist/validation/validateRunTaskInvoke.js +108 -0
- package/dist/validation/validateRunTaskInvoke.js.map +1 -0
- package/documenations/activix-feature-request-identity.md +123 -0
- package/documenations/activix.md +175 -0
- package/documenations/bug-report-xynthesis-and-synthesis-call.md +217 -0
- package/documenations/core-runtime-tokens-and-strategies.md +123 -0
- package/documenations/downstream-environment.md +48 -0
- package/documenations/downstream-test-runtime-teardown-cleanup.md +73 -0
- package/documenations/examples/xynthesis-run-task-request.example.json +170 -0
- package/documenations/feature-request-ai-skills-raw-template-access.md +82 -0
- package/documenations/feature-request-athenix-core-directive.md +145 -0
- package/documenations/feature-request-athenix-token-extraction.md +124 -0
- package/documenations/funcx-catalog-hosting-checklist.md +107 -0
- package/documenations/funcx-scoping-integration-gaps.md +120 -0
- package/documenations/funcx-upstream-github-issues-draft.md +153 -0
- package/documenations/identity-metadata-contract.md +165 -0
- package/documenations/intermediate-steps.md +33 -0
- package/documenations/record-and-template-variables.md +32 -0
- package/documenations/run-task-execution-flow.md +153 -0
- package/documenations/run-task-single-run-checklist.md +109 -0
- package/documenations/schemas/README.md +40 -0
- package/documenations/schemas/openapi-3.1-components.yaml +24 -0
- package/documenations/schemas/v1/output-schema.json +55 -0
- package/documenations/schemas/v1/output-validation-result.json +41 -0
- package/documenations/schemas/v1/run-task-request.json +219 -0
- package/documenations/schemas/v1/synthesized-artifacts.json +133 -0
- package/documenations/synthesis-invocation-notes.md +26 -0
- package/documenations/synthesized-context-guide.md +84 -0
- package/documenations/task-core-and-core-aware-synthesis.md +58 -0
- package/documenations/upstream-feature-requests/ai-skills-llm-observability.md +129 -0
- package/documenations/upstream-feature-requests/xynthesis-llm-observability.md +125 -0
- package/documenations/upstream-feedback-request-shape-clarification.md +101 -0
- package/documenations/web-context-precedence.md +33 -0
- package/documenations/web-scoping-in-ai-tasks.md +503 -0
- package/documenations/xynthesis-activix-telemetry.md +28 -0
- package/documenations/xynthesis-upstream-fixes-checklist.md +71 -0
- package/package.json +92 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { SkillExecutionTraceError } from "@exellix/ai-skills";
|
|
2
|
+
import { ExecutionType } from "../types/executionType.js";
|
|
3
|
+
import { LlmCallContextError } from "../types/llmCall.js";
|
|
4
|
+
import { pickRunSkillRequestFields } from "../utils/bridgeRunSkillGatewayMemory.js";
|
|
5
|
+
/**
|
|
6
|
+
* Direct execution strategy.
|
|
7
|
+
*
|
|
8
|
+
* Executes tasks by directly passing through to the skill executor.
|
|
9
|
+
* This is the simplest and most common execution strategy.
|
|
10
|
+
*
|
|
11
|
+
* The client's runSkill method handles:
|
|
12
|
+
* 1. Skill execution via the AI Gateway
|
|
13
|
+
* 2. FlexMD response parsing
|
|
14
|
+
* 3. Returns structured response with payloads
|
|
15
|
+
*
|
|
16
|
+
* Trace mode integration (when `executionMode === "trace"` is forwarded by the caller):
|
|
17
|
+
* - Forwards `executionMode: "trace"` and `diagnostics: { includeRawProviderPayload }` to `runSkill`.
|
|
18
|
+
* - Catches and re-throws upstream `SkillExecutionTraceError` unchanged (already carries
|
|
19
|
+
* `RunSkillDiagnostics` with full trace + invokeRequest echo).
|
|
20
|
+
* - For default-mode raw errors (untyped), wraps with `LlmCallContextError` carrying a
|
|
21
|
+
* `LlmCallObservation` snapshot of `modelConfig` so callers can read the request context.
|
|
22
|
+
*/
|
|
23
|
+
export class DirectExecutionStrategy {
|
|
24
|
+
client;
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
async execute(request) {
|
|
29
|
+
const taskRequest = { ...request };
|
|
30
|
+
// Convert RunTaskRequest to RunSkillRequest. Map coreSkillId back to skillId for RunSkillRequest compatibility.
|
|
31
|
+
// modelConfig is automatically included via spread operator since it's part of RunSkillRequest
|
|
32
|
+
const { llmCall } = taskRequest;
|
|
33
|
+
const coreSkillId = taskRequest.coreSkillId;
|
|
34
|
+
const traceMode = taskRequest.executionMode === "trace";
|
|
35
|
+
const skillBase = pickRunSkillRequestFields(taskRequest);
|
|
36
|
+
// Compose the effective modelConfig sent downstream: `modelConfig` is the base, and matching
|
|
37
|
+
// `llmCall.*` fields win. Unknown `modelConfig` extras are preserved.
|
|
38
|
+
const baseModelConfig = skillBase.modelConfig ?? undefined;
|
|
39
|
+
const overlayedModelConfig = llmCall || baseModelConfig
|
|
40
|
+
? {
|
|
41
|
+
...(baseModelConfig ?? {}),
|
|
42
|
+
...(llmCall?.model !== undefined ? { model: llmCall.model } : {}),
|
|
43
|
+
...(llmCall?.temperature !== undefined ? { temperature: llmCall.temperature } : {}),
|
|
44
|
+
...(llmCall?.topP !== undefined ? { topP: llmCall.topP } : {}),
|
|
45
|
+
...(llmCall?.maxTokensCap !== undefined ? { maxTokens: llmCall.maxTokensCap } : {}),
|
|
46
|
+
}
|
|
47
|
+
: undefined;
|
|
48
|
+
const effectiveTimeoutMs = llmCall?.timeoutMs ?? skillBase.timeoutMs;
|
|
49
|
+
const runSkillRequest = {
|
|
50
|
+
...skillBase,
|
|
51
|
+
executionType: ExecutionType.DIRECT,
|
|
52
|
+
...(overlayedModelConfig ? { modelConfig: overlayedModelConfig } : {}),
|
|
53
|
+
...(effectiveTimeoutMs !== undefined ? { timeoutMs: effectiveTimeoutMs } : {}),
|
|
54
|
+
...(coreSkillId && { skillId: coreSkillId }),
|
|
55
|
+
// Forward trace mode + diagnostics opt-in. ai-skills 5.0.1+ honors `executionMode: "trace"`
|
|
56
|
+
// and returns `result.diagnostics` / `result.debugTrace` (and throws `SkillExecutionTraceError`
|
|
57
|
+
// on failure with full diagnostics).
|
|
58
|
+
...(traceMode
|
|
59
|
+
? {
|
|
60
|
+
executionMode: "trace",
|
|
61
|
+
diagnostics: { includeDebugTrace: true },
|
|
62
|
+
}
|
|
63
|
+
: {}),
|
|
64
|
+
};
|
|
65
|
+
const startMs = Date.now();
|
|
66
|
+
try {
|
|
67
|
+
return await this.client.runSkill(runSkillRequest);
|
|
68
|
+
}
|
|
69
|
+
catch (error) {
|
|
70
|
+
// Trace-mode typed error: pass through unchanged. Carries `RunSkillDiagnostics` with `trace.invokeRequest`
|
|
71
|
+
// (modelConfig + timeoutMs echo), `usage`, `routing`, `costUsd`, `attempts[]`.
|
|
72
|
+
if (error instanceof SkillExecutionTraceError) {
|
|
73
|
+
throw error;
|
|
74
|
+
}
|
|
75
|
+
// Default-mode raw error: wrap with LlmCallContextError so callers see what was sent. Track C feature
|
|
76
|
+
// request asks ai-skills to throw a typed `SkillExecutionError` even outside trace mode; until then this
|
|
77
|
+
// is the best we can do client-side.
|
|
78
|
+
const observation = {
|
|
79
|
+
source: "ai-skills",
|
|
80
|
+
stage: "main-skill",
|
|
81
|
+
request: {
|
|
82
|
+
model: runSkillRequest.modelConfig?.model,
|
|
83
|
+
maxTokensCap: runSkillRequest.modelConfig?.maxTokens,
|
|
84
|
+
temperature: runSkillRequest.modelConfig?.temperature,
|
|
85
|
+
topP: runSkillRequest.modelConfig?.topP,
|
|
86
|
+
timeoutMs: runSkillRequest.timeoutMs,
|
|
87
|
+
outputExpectation: llmCall?.outputExpectation,
|
|
88
|
+
maxOutputLength: llmCall?.maxOutputLength,
|
|
89
|
+
},
|
|
90
|
+
durationMs: Date.now() - startMs,
|
|
91
|
+
ok: false,
|
|
92
|
+
error: {
|
|
93
|
+
name: error instanceof Error ? error.name : "Error",
|
|
94
|
+
message: error instanceof Error ? error.message : String(error),
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
throw new LlmCallContextError(error instanceof Error ? error.message : String(error), observation, error);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
getType() {
|
|
101
|
+
return ExecutionType.DIRECT;
|
|
102
|
+
}
|
|
103
|
+
canHandle(request) {
|
|
104
|
+
return Array.isArray(request.executionStrategies);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=direct-execution-strategy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct-execution-strategy.js","sourceRoot":"","sources":["../../src/strategies/direct-execution-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAQ1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,uBAAuB;IAC1B,MAAM,CAAsB;IAEpC,YAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAA6B,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,OAAO,CACX,OAAuB;QAEvB,MAAM,WAAW,GAAmB,EAAE,GAAG,OAAO,EAAE,CAAC;QAEnD,gHAAgH;QAChH,+FAA+F;QAC/F,MAAM,EAAE,OAAO,EAAE,GA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C,EAAE,EAAE,KAAK;gBACT,KAAK,EAAE;oBACL,IAAI,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;oBACnD,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;iBAChE;aACF,CAAC;YACF,MAAM,IAAI,mBAAmB,CAC3B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACtD,WAAW,EACX,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO;QACL,OAAO,aAAa,CAAC,MAAM,CAAC;IAC9B,CAAC;IAED,SAAS,CAAC,OAAuB;QAC/B,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { RunTaskRequest, RunSkillResponse } from "../types/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Base interface for execution strategies.
|
|
4
|
+
*
|
|
5
|
+
* Each strategy defines how a task should be executed.
|
|
6
|
+
* This allows for extensibility as new execution types are added
|
|
7
|
+
* (e.g., MULTI_STEP, PARALLEL, CONDITIONAL, etc.).
|
|
8
|
+
*/
|
|
9
|
+
export interface IExecutionStrategy {
|
|
10
|
+
/**
|
|
11
|
+
* Execute a task using this strategy.
|
|
12
|
+
*
|
|
13
|
+
* @param request The task request
|
|
14
|
+
* @returns Promise resolving to the execution result
|
|
15
|
+
*/
|
|
16
|
+
execute<TParsed = any>(request: RunTaskRequest): Promise<RunSkillResponse<TParsed>>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the strategy name/type.
|
|
19
|
+
*
|
|
20
|
+
* @returns The execution type this strategy handles
|
|
21
|
+
*/
|
|
22
|
+
getType(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Check if this strategy can handle the given request.
|
|
25
|
+
*
|
|
26
|
+
* @param request The task request to check
|
|
27
|
+
* @returns True if this strategy can handle the request
|
|
28
|
+
*/
|
|
29
|
+
canHandle(request: RunTaskRequest): boolean;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=execution-strategy.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-strategy.interface.d.ts","sourceRoot":"","sources":["../../src/strategies/execution-strategy.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,OAAO,CAAC,OAAO,GAAG,GAAG,EACnB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAEtC;;;;OAIG;IACH,OAAO,IAAI,MAAM,CAAC;IAElB;;;;;OAKG;IACH,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution-strategy.interface.js","sourceRoot":"","sources":["../../src/strategies/execution-strategy.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Execution strategies module
|
|
3
|
+
*
|
|
4
|
+
* Exports all execution strategy-related classes and interfaces.
|
|
5
|
+
*/
|
|
6
|
+
export type { IExecutionStrategy } from "./execution-strategy.interface.js";
|
|
7
|
+
export { DirectExecutionStrategy } from "./direct-execution-strategy.js";
|
|
8
|
+
export { ExecutionStrategyFactory } from "./strategy-factory.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/strategies/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Execution strategies module
|
|
3
|
+
*
|
|
4
|
+
* Exports all execution strategy-related classes and interfaces.
|
|
5
|
+
*/
|
|
6
|
+
export { DirectExecutionStrategy } from "./direct-execution-strategy.js";
|
|
7
|
+
export { ExecutionStrategyFactory } from "./strategy-factory.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/strategies/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ExellixSkillsClient } from "@exellix/ai-skills";
|
|
2
|
+
type WorexClientSkills = ExellixSkillsClient;
|
|
3
|
+
import type { RunTaskRequest } from "../types/index.js";
|
|
4
|
+
import type { IExecutionStrategy } from "./execution-strategy.interface.js";
|
|
5
|
+
/**
|
|
6
|
+
* Factory for creating and managing execution strategies.
|
|
7
|
+
*
|
|
8
|
+
* Responsible for:
|
|
9
|
+
* - Registering available strategies
|
|
10
|
+
* - Selecting the appropriate strategy for a task
|
|
11
|
+
* - Providing extensibility for future strategy types
|
|
12
|
+
*
|
|
13
|
+
* This factory pattern allows easy addition of new execution strategies
|
|
14
|
+
* (e.g., MULTI_STEP, PARALLEL, CONDITIONAL) without modifying core SDK code.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ExecutionStrategyFactory {
|
|
17
|
+
private strategies;
|
|
18
|
+
private defaultStrategy;
|
|
19
|
+
private client;
|
|
20
|
+
constructor(client: ExellixSkillsClient | WorexClientSkills);
|
|
21
|
+
/**
|
|
22
|
+
* Register a new execution strategy.
|
|
23
|
+
*
|
|
24
|
+
* This allows extending the SDK with custom execution strategies.
|
|
25
|
+
*
|
|
26
|
+
* @param strategy The strategy to register
|
|
27
|
+
*/
|
|
28
|
+
registerStrategy(strategy: IExecutionStrategy): void;
|
|
29
|
+
/**
|
|
30
|
+
* Get the appropriate strategy for a task request.
|
|
31
|
+
*
|
|
32
|
+
* @param request The task request
|
|
33
|
+
* @returns The execution strategy to use
|
|
34
|
+
*/
|
|
35
|
+
getStrategy(request: RunTaskRequest): IExecutionStrategy;
|
|
36
|
+
/**
|
|
37
|
+
* Get a strategy by its type.
|
|
38
|
+
*
|
|
39
|
+
* @param executionType The execution type
|
|
40
|
+
* @returns The strategy for the given type, or default if not found
|
|
41
|
+
*/
|
|
42
|
+
getStrategyByType(executionType: string): IExecutionStrategy;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=strategy-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strategy-factory.d.ts","sourceRoot":"","sources":["../../src/strategies/strategy-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAIzD,KAAK,iBAAiB,GAAG,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAG5E;;;;;;;;;;GAUG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,UAAU,CAA8C;IAChE,OAAO,CAAC,eAAe,CAAqB;IAC5C,OAAO,CAAC,MAAM,CAAsB;gBAExB,MAAM,EAAE,mBAAmB,GAAG,iBAAiB;IAQ3D;;;;;;OAMG;IACH,gBAAgB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAIpD;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,kBAAkB;IASxD;;;;;OAKG;IACH,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,kBAAkB;CAG7D"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ExecutionType } from "../types/executionType.js";
|
|
2
|
+
import { DirectExecutionStrategy } from "./direct-execution-strategy.js";
|
|
3
|
+
/**
|
|
4
|
+
* Factory for creating and managing execution strategies.
|
|
5
|
+
*
|
|
6
|
+
* Responsible for:
|
|
7
|
+
* - Registering available strategies
|
|
8
|
+
* - Selecting the appropriate strategy for a task
|
|
9
|
+
* - Providing extensibility for future strategy types
|
|
10
|
+
*
|
|
11
|
+
* This factory pattern allows easy addition of new execution strategies
|
|
12
|
+
* (e.g., MULTI_STEP, PARALLEL, CONDITIONAL) without modifying core SDK code.
|
|
13
|
+
*/
|
|
14
|
+
export class ExecutionStrategyFactory {
|
|
15
|
+
strategies = new Map();
|
|
16
|
+
defaultStrategy;
|
|
17
|
+
client;
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
// Register default DIRECT strategy
|
|
21
|
+
const directStrategy = new DirectExecutionStrategy(client);
|
|
22
|
+
this.defaultStrategy = directStrategy;
|
|
23
|
+
this.strategies.set(ExecutionType.DIRECT, directStrategy);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Register a new execution strategy.
|
|
27
|
+
*
|
|
28
|
+
* This allows extending the SDK with custom execution strategies.
|
|
29
|
+
*
|
|
30
|
+
* @param strategy The strategy to register
|
|
31
|
+
*/
|
|
32
|
+
registerStrategy(strategy) {
|
|
33
|
+
this.strategies.set(strategy.getType(), strategy);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get the appropriate strategy for a task request.
|
|
37
|
+
*
|
|
38
|
+
* @param request The task request
|
|
39
|
+
* @returns The execution strategy to use
|
|
40
|
+
*/
|
|
41
|
+
getStrategy(request) {
|
|
42
|
+
for (const strategy of this.strategies.values()) {
|
|
43
|
+
if (strategy.canHandle(request)) {
|
|
44
|
+
return strategy;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return this.defaultStrategy;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get a strategy by its type.
|
|
51
|
+
*
|
|
52
|
+
* @param executionType The execution type
|
|
53
|
+
* @returns The strategy for the given type, or default if not found
|
|
54
|
+
*/
|
|
55
|
+
getStrategyByType(executionType) {
|
|
56
|
+
return this.strategies.get(executionType) || this.defaultStrategy;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=strategy-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strategy-factory.js","sourceRoot":"","sources":["../../src/strategies/strategy-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAM1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;;;;;;;;;GAUG;AACH,MAAM,OAAO,wBAAwB;IAC3B,UAAU,GAAoC,IAAI,GAAG,EAAE,CAAC;IACxD,eAAe,CAAqB;IACpC,MAAM,CAAsB;IAEpC,YAAY,MAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,MAA6B,CAAC;QAC5C,mCAAmC;QACnC,MAAM,cAAc,GAAG,IAAI,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAC3D,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,CAAC,QAA4B;QAC3C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,OAAuB;QACjC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,CAAC;YAChD,IAAI,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;gBAChC,OAAO,QAAQ,CAAC;YAClB,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CAAC,aAAqB;QACrC,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Synthesis: `@exellix/xynthesis` for prompts, structured parsing, and LLM invocation;
|
|
3
|
+
* `resolveSourceMaterial*` stays here (Narrix + web + memory wiring).
|
|
4
|
+
*/
|
|
5
|
+
export * from "@exellix/xynthesis";
|
|
6
|
+
export { resolveSourceMaterial, resolveSourceMaterialParts } from "./resolveSourceMaterial.js";
|
|
7
|
+
export type { ContextSourcePolicy, ResolveSourceMaterialInput, SourceMaterialParts, } from "./resolveSourceMaterial.js";
|
|
8
|
+
export { runStructuredSynthesisGatewayCallRobust } from "./runStructuredSynthesisRobust.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/synthesis/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAC/F,YAAY,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,uCAAuC,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Synthesis: `@exellix/xynthesis` for prompts, structured parsing, and LLM invocation;
|
|
3
|
+
* `resolveSourceMaterial*` stays here (Narrix + web + memory wiring).
|
|
4
|
+
*/
|
|
5
|
+
export * from "@exellix/xynthesis";
|
|
6
|
+
export { resolveSourceMaterial, resolveSourceMaterialParts } from "./resolveSourceMaterial.js";
|
|
7
|
+
export { runStructuredSynthesisGatewayCallRobust } from "./runStructuredSynthesisRobust.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/synthesis/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAO/F,OAAO,EAAE,uCAAuC,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve source material for synthesis from contextSourcePolicy, narrix attachment, and memory.
|
|
3
|
+
*/
|
|
4
|
+
import { type BuildWebContextEvidenceMarkdownOptions } from "../narrix/webContextMarkdown.js";
|
|
5
|
+
import type { NarrixEnrichedAttachment } from "../narrix/types.js";
|
|
6
|
+
import type { ContextSourcePolicy } from "../types/task-types.js";
|
|
7
|
+
export type { ContextSourcePolicy } from "../types/task-types.js";
|
|
8
|
+
export type ResolveSourceMaterialInput = {
|
|
9
|
+
contextSourcePolicy: ContextSourcePolicy;
|
|
10
|
+
narrixAttachment: NarrixEnrichedAttachment | null;
|
|
11
|
+
enrichedMemoryBundle: {
|
|
12
|
+
jobMemory?: Record<string, unknown>;
|
|
13
|
+
taskMemory?: Record<string, unknown>;
|
|
14
|
+
executionMemory?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
memoryPaths?: string[];
|
|
17
|
+
/** Options passed to buildWebContextEvidenceMarkdown (synthesis path defaults: clean-first, dedupe, cap sources). */
|
|
18
|
+
webEvidence?: BuildWebContextEvidenceMarkdownOptions;
|
|
19
|
+
/** executionMemory field for Narrix attachment; default `_narrix`. Used to strip Narrix for `memory-web`. */
|
|
20
|
+
narrixAttachToField?: string;
|
|
21
|
+
};
|
|
22
|
+
/** Semantic split for structured synthesis: task/runtime vs web/external (order may differ from combined `resolveSourceMaterial` string). */
|
|
23
|
+
export type SourceMaterialParts = {
|
|
24
|
+
localMarkdown: string;
|
|
25
|
+
supportingMarkdown: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Same policy as `resolveSourceMaterial`, but splits **local** (Narrix + memory JSON) from **supporting** (web markdown).
|
|
29
|
+
*/
|
|
30
|
+
export declare function resolveSourceMaterialParts(input: ResolveSourceMaterialInput): SourceMaterialParts;
|
|
31
|
+
/**
|
|
32
|
+
* Resolve and serialize source material for the synthesis prompt based on policy and available data.
|
|
33
|
+
*/
|
|
34
|
+
export declare function resolveSourceMaterial(input: ResolveSourceMaterialInput): string;
|
|
35
|
+
//# sourceMappingURL=resolveSourceMaterial.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveSourceMaterial.d.ts","sourceRoot":"","sources":["../../src/synthesis/resolveSourceMaterial.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EAIL,KAAK,sCAAsC,EAC5C,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAyBlE,MAAM,MAAM,0BAA0B,GAAG;IACvC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAClD,oBAAoB,EAAE;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACrC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC3C,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,qHAAqH;IACrH,WAAW,CAAC,EAAE,sCAAsC,CAAC;IACrD,6GAA6G;IAC7G,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,6IAA6I;AAC7I,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAiDF;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,0BAA0B,GAAG,mBAAmB,CAuDjG;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,GAAG,MAAM,CA8D/E"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve source material for synthesis from contextSourcePolicy, narrix attachment, and memory.
|
|
3
|
+
*/
|
|
4
|
+
import { getByPath } from "../utils/jsonPaths.js";
|
|
5
|
+
import { buildNarrixPreProcessorContextMarkdown } from "../narrix/narrixContextMarkdown.js";
|
|
6
|
+
import { buildWebContextEvidenceMarkdown, omitNarrixFromMemoryBundle, omitWebContextFromMemoryBundle, } from "../narrix/webContextMarkdown.js";
|
|
7
|
+
function normalizePolicyAlias(policy) {
|
|
8
|
+
if (policy === "narrix-only")
|
|
9
|
+
return "narrix-web";
|
|
10
|
+
if (policy === "narrix+memory")
|
|
11
|
+
return "narrix-web-memory";
|
|
12
|
+
return policy;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Default `contextSourcePolicy: "auto"` always uses the full combined layout (D6): memory JSON
|
|
16
|
+
* (web omitted from JSON — surfaced as web markdown) plus optional Narrix and web sections.
|
|
17
|
+
* Explicit `memory-web` / `memory-only` remain for advanced callers that want narrowing.
|
|
18
|
+
*/
|
|
19
|
+
function resolveAutoPolicy(_hasNarrix, _webContext) {
|
|
20
|
+
return "narrix-web-memory";
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Serialize memory (or a subset by paths) to a deterministic string.
|
|
24
|
+
* Never embeds raw `executionMemory.webContext` (use web markdown when web is part of the policy).
|
|
25
|
+
*/
|
|
26
|
+
function serializeMemory(bundle, memoryPaths) {
|
|
27
|
+
const withoutWeb = omitWebContextFromMemoryBundle(bundle);
|
|
28
|
+
let obj;
|
|
29
|
+
if (memoryPaths && memoryPaths.length > 0) {
|
|
30
|
+
obj = {};
|
|
31
|
+
const full = {
|
|
32
|
+
jobMemory: withoutWeb.jobMemory ?? {},
|
|
33
|
+
taskMemory: withoutWeb.taskMemory ?? {},
|
|
34
|
+
executionMemory: withoutWeb.executionMemory ?? {},
|
|
35
|
+
};
|
|
36
|
+
for (const path of memoryPaths) {
|
|
37
|
+
const value = getByPath(full, path);
|
|
38
|
+
if (value !== undefined) {
|
|
39
|
+
const parts = path.split(".");
|
|
40
|
+
let cur = obj;
|
|
41
|
+
for (let i = 0; i < parts.length - 1; i++) {
|
|
42
|
+
const p = parts[i];
|
|
43
|
+
if (!(p in cur) || typeof cur[p] !== "object")
|
|
44
|
+
cur[p] = {};
|
|
45
|
+
cur = cur[p];
|
|
46
|
+
}
|
|
47
|
+
cur[parts[parts.length - 1]] = value;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
obj = {
|
|
53
|
+
jobMemory: withoutWeb.jobMemory ?? {},
|
|
54
|
+
taskMemory: withoutWeb.taskMemory ?? {},
|
|
55
|
+
executionMemory: withoutWeb.executionMemory ?? {},
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return JSON.stringify(obj, null, 2);
|
|
59
|
+
}
|
|
60
|
+
function buildWebMd(webContext, webEvidence) {
|
|
61
|
+
return buildWebContextEvidenceMarkdown(webContext, webEvidence);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Same policy as `resolveSourceMaterial`, but splits **local** (Narrix + memory JSON) from **supporting** (web markdown).
|
|
65
|
+
*/
|
|
66
|
+
export function resolveSourceMaterialParts(input) {
|
|
67
|
+
const { contextSourcePolicy, narrixAttachment, enrichedMemoryBundle, memoryPaths, webEvidence, narrixAttachToField = "_narrix", } = input;
|
|
68
|
+
const hasNarrix = !!narrixAttachment &&
|
|
69
|
+
typeof narrixAttachment === "object" &&
|
|
70
|
+
"scoping" in narrixAttachment &&
|
|
71
|
+
"discovery" in narrixAttachment;
|
|
72
|
+
const normalized = normalizePolicyAlias(contextSourcePolicy ?? "auto");
|
|
73
|
+
const webCtx = enrichedMemoryBundle.executionMemory?.webContext;
|
|
74
|
+
const effective = normalized === "auto" ? resolveAutoPolicy(hasNarrix, webCtx) : normalized;
|
|
75
|
+
const webMd = buildWebMd(webCtx, webEvidence);
|
|
76
|
+
if (effective === "narrix-web") {
|
|
77
|
+
if (!hasNarrix) {
|
|
78
|
+
throw new Error("contextSourcePolicy requires Narrix output but no narrix attachment is available (run narrix pre-processor or use narrix-then-direct, or use memory-web / memory-only).");
|
|
79
|
+
}
|
|
80
|
+
const narrixMd = buildNarrixPreProcessorContextMarkdown(narrixAttachment);
|
|
81
|
+
return { localMarkdown: narrixMd, supportingMarkdown: webMd };
|
|
82
|
+
}
|
|
83
|
+
if (effective === "memory-only") {
|
|
84
|
+
const memoryText = serializeMemory(enrichedMemoryBundle, memoryPaths);
|
|
85
|
+
return { localMarkdown: memoryText, supportingMarkdown: "" };
|
|
86
|
+
}
|
|
87
|
+
if (effective === "memory-web") {
|
|
88
|
+
const bundleNoNarrix = omitNarrixFromMemoryBundle(enrichedMemoryBundle, narrixAttachToField);
|
|
89
|
+
const memoryText = serializeMemory(bundleNoNarrix, memoryPaths);
|
|
90
|
+
const localMarkdown = `## Memory\n\n${memoryText}`;
|
|
91
|
+
return { localMarkdown, supportingMarkdown: webMd };
|
|
92
|
+
}
|
|
93
|
+
const narrixSection = hasNarrix ? buildNarrixPreProcessorContextMarkdown(narrixAttachment) : "";
|
|
94
|
+
const memoryText = serializeMemory(enrichedMemoryBundle, memoryPaths);
|
|
95
|
+
let localMarkdown = "";
|
|
96
|
+
if (narrixSection) {
|
|
97
|
+
localMarkdown = `## Narrix\n\n${narrixSection}\n\n## Memory\n\n${memoryText}`;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
localMarkdown = `## Memory\n\n${memoryText}`;
|
|
101
|
+
}
|
|
102
|
+
return { localMarkdown, supportingMarkdown: webMd };
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Resolve and serialize source material for the synthesis prompt based on policy and available data.
|
|
106
|
+
*/
|
|
107
|
+
export function resolveSourceMaterial(input) {
|
|
108
|
+
const { contextSourcePolicy, narrixAttachment, enrichedMemoryBundle, memoryPaths, webEvidence, narrixAttachToField = "_narrix", } = input;
|
|
109
|
+
const hasNarrix = !!narrixAttachment &&
|
|
110
|
+
typeof narrixAttachment === "object" &&
|
|
111
|
+
"scoping" in narrixAttachment &&
|
|
112
|
+
"discovery" in narrixAttachment;
|
|
113
|
+
const normalized = normalizePolicyAlias(contextSourcePolicy ?? "auto");
|
|
114
|
+
const webCtx = enrichedMemoryBundle.executionMemory?.webContext;
|
|
115
|
+
const effective = normalized === "auto" ? resolveAutoPolicy(hasNarrix, webCtx) : normalized;
|
|
116
|
+
if (effective === "narrix-web") {
|
|
117
|
+
if (!hasNarrix) {
|
|
118
|
+
throw new Error("contextSourcePolicy requires Narrix output but no narrix attachment is available (run narrix pre-processor or use narrix-then-direct, or use memory-web / memory-only).");
|
|
119
|
+
}
|
|
120
|
+
const narrixMd = buildNarrixPreProcessorContextMarkdown(narrixAttachment);
|
|
121
|
+
const webMd = buildWebMd(webCtx, webEvidence);
|
|
122
|
+
return narrixMd + webMd;
|
|
123
|
+
}
|
|
124
|
+
if (effective === "memory-only") {
|
|
125
|
+
return serializeMemory(enrichedMemoryBundle, memoryPaths);
|
|
126
|
+
}
|
|
127
|
+
if (effective === "memory-web") {
|
|
128
|
+
const webMd = buildWebMd(webCtx, webEvidence);
|
|
129
|
+
const bundleNoNarrix = omitNarrixFromMemoryBundle(enrichedMemoryBundle, narrixAttachToField);
|
|
130
|
+
const memoryText = serializeMemory(bundleNoNarrix, memoryPaths);
|
|
131
|
+
if (webMd) {
|
|
132
|
+
return `${webMd}\n\n## Memory\n\n${memoryText}`;
|
|
133
|
+
}
|
|
134
|
+
return memoryText;
|
|
135
|
+
}
|
|
136
|
+
// narrix-web-memory
|
|
137
|
+
const narrixSection = hasNarrix ? buildNarrixPreProcessorContextMarkdown(narrixAttachment) : "";
|
|
138
|
+
const webMd = buildWebMd(webCtx, webEvidence);
|
|
139
|
+
const memoryText = serializeMemory(enrichedMemoryBundle, memoryPaths);
|
|
140
|
+
let head = "";
|
|
141
|
+
if (narrixSection) {
|
|
142
|
+
head = `## Narrix\n\n${narrixSection}`;
|
|
143
|
+
}
|
|
144
|
+
if (webMd) {
|
|
145
|
+
head += (head ? "\n\n" : "") + webMd;
|
|
146
|
+
}
|
|
147
|
+
if (head) {
|
|
148
|
+
return `${head}\n\n## Memory\n\n${memoryText}`;
|
|
149
|
+
}
|
|
150
|
+
return memoryText;
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=resolveSourceMaterial.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveSourceMaterial.js","sourceRoot":"","sources":["../../src/synthesis/resolveSourceMaterial.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EACL,+BAA+B,E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AW,CAAC,CAAC;QAC9C,MAAM,cAAc,GAAG,0BAA0B,CAAC,oBAAoB,EAAE,mBAAmB,CAAC,CAAC;QAC7F,MAAM,UAAU,GAAG,eAAe,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;QAChE,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,GAAG,KAAK,oBAAoB,UAAU,EAAE,CAAC;QAClD,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,oBAAoB;IACpB,MAAM,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,sCAAsC,CAAC,gBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjG,MAAM,KAAK,GAAG,UAAU,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC9C,MAAM,UAAU,GAAG,eAAe,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;IACtE,IAAI,IAAI,GAAG,EAAE,CAAC;IACd,IAAI,aAAa,EAAE,CAAC;QAClB,IAAI,GAAG,gBAAgB,aAAa,EAAE,CAAC;IACzC,CAAC;IACD,IAAI,KAAK,EAAE,CAAC;QACV,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;IACvC,CAAC;IACD,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,GAAG,IAAI,oBAAoB,UAAU,EAAE,CAAC;IACjD,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SynthesizedPromptPayload } from "@exellix/xynthesis/ai-actions";
|
|
2
|
+
type InvokeText = (req: {
|
|
3
|
+
systemPrompt: string;
|
|
4
|
+
userPrompt: string;
|
|
5
|
+
model?: string;
|
|
6
|
+
timeoutMs?: number;
|
|
7
|
+
maxOutputLength?: number;
|
|
8
|
+
maxTokens?: number;
|
|
9
|
+
jobId?: string;
|
|
10
|
+
agentId?: string;
|
|
11
|
+
}) => Promise<string>;
|
|
12
|
+
export type RunStructuredSynthesisRobustParams = any & {
|
|
13
|
+
/** Default 1. */
|
|
14
|
+
repairMaxRetries?: number;
|
|
15
|
+
/** Default true. */
|
|
16
|
+
enableRepair?: boolean;
|
|
17
|
+
/** Default 4000. */
|
|
18
|
+
diagnosticsMaxChars?: number;
|
|
19
|
+
/** For tests; production uses ai-gateway directly. */
|
|
20
|
+
invokeTextOverride?: InvokeText;
|
|
21
|
+
/**
|
|
22
|
+
* Test hook: when provided, the function will throw this error instead of executing the initial
|
|
23
|
+
* `runStructuredSynthesisGatewayCall` path. This allows deterministic tests without network calls.
|
|
24
|
+
*/
|
|
25
|
+
forceFirstPathError?: unknown;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Robust structured synthesis:
|
|
29
|
+
* - First try the normal xynthesis gateway path (may use a strict invoker / JSON mode).
|
|
30
|
+
* - If response normalization fails, fall back to a plain-text ai-gateway call + JSON parse/validate.
|
|
31
|
+
* - Optionally retry once with a minimal "JSON only" hardening if parsing fails.
|
|
32
|
+
*
|
|
33
|
+
* Errors thrown from this function are wrapped with `LlmCallContextError` carrying
|
|
34
|
+
* `stage: "structured-repair"`, attempt index, and the existing diagnostics text. Upstream typed
|
|
35
|
+
* errors (`XynthesisInvokeError`, `XynthesisResponseParseError`) from the first path are passed
|
|
36
|
+
* through unchanged so callers can inspect their `invokeSummary`.
|
|
37
|
+
*
|
|
38
|
+
* This prevents flaky failures when providers/models return prose around JSON.
|
|
39
|
+
*/
|
|
40
|
+
export declare function runStructuredSynthesisGatewayCallRobust(params: RunStructuredSynthesisRobustParams): Promise<SynthesizedPromptPayload>;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=runStructuredSynthesisRobust.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runStructuredSynthesisRobust.d.ts","sourceRoot":"","sources":["../../src/synthesis/runStructuredSynthesisRobust.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAgBjG,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAkJtB,MAAM,MAAM,kCAAkC,GAAG,GAAG,GAAG;IACrD,iBAAiB;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAsB,uCAAuC,CAC3D,MAAM,EAAE,kCAAkC,GACzC,OAAO,CAAC,wBAAwB,CAAC,CAmLnC"}
|