@framers/agentos 0.15.63 → 0.15.65
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/.github/badges/tests.json +1 -1
- package/README.md +2 -2
- package/dist/agents/agency/AgencyMemoryManager.d.ts +3 -3
- package/dist/agents/agency/AgencyRegistry.d.ts +11 -1
- package/dist/agents/agency/AgencyRegistry.d.ts.map +1 -1
- package/dist/agents/agency/AgencyRegistry.js +38 -0
- package/dist/agents/agency/AgencyRegistry.js.map +1 -1
- package/dist/agents/agency/AgentCommunicationBus.d.ts +2 -2
- package/dist/agents/agency/index.d.ts +6 -6
- package/dist/agents/definitions/AgentCore.d.ts +11 -11
- package/dist/agents/definitions/AgentFactory.d.ts +3 -3
- package/dist/agents/definitions/AgentPoolAgent.d.ts +9 -9
- package/dist/agents/definitions/AgentPoolConfig.d.ts +2 -2
- package/dist/agents/definitions/IAgent.d.ts +4 -4
- package/dist/agents/definitions/IAgentFactory.d.ts +6 -6
- package/dist/api/AgentOS.d.ts +65 -44
- package/dist/api/AgentOS.d.ts.map +1 -1
- package/dist/api/AgentOS.js +43 -0
- package/dist/api/AgentOS.js.map +1 -1
- package/dist/api/agent.d.ts +9 -6
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/agent.js.map +1 -1
- package/dist/api/embedText.d.ts +1 -1
- package/dist/api/gmi.d.ts.map +1 -1
- package/dist/api/gmi.js +27 -14
- package/dist/api/gmi.js.map +1 -1
- package/dist/api/hitl.d.ts +1 -1
- package/dist/api/index.d.ts +2 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/interfaces/IAgentOS.d.ts +16 -16
- package/dist/api/interfaces/IUnifiedAgent.d.ts +3 -3
- package/dist/api/runtime/AgentOSOrchestrator.d.ts +9 -9
- package/dist/api/runtime/CapabilityDiscoveryInitializer.d.ts +9 -9
- package/dist/api/runtime/ExternalToolResultHandler.d.ts +10 -10
- package/dist/api/runtime/GMIChunkTransformer.d.ts +6 -6
- package/dist/api/runtime/RagMemoryInitializer.d.ts +6 -6
- package/dist/api/runtime/SelfImprovementSessionManager.d.ts +4 -4
- package/dist/api/runtime/StreamChunkEmitter.d.ts +2 -2
- package/dist/api/runtime/TaskOutcomeTelemetryManager.d.ts +3 -3
- package/dist/api/runtime/TurnExecutionPipeline.d.ts +12 -12
- package/dist/api/runtime/WorkflowFacade.d.ts +16 -10
- package/dist/api/runtime/WorkflowFacade.d.ts.map +1 -1
- package/dist/api/runtime/WorkflowFacade.js +7 -0
- package/dist/api/runtime/WorkflowFacade.js.map +1 -1
- package/dist/api/runtime/agencyLaunch/gmiLaunchTool.d.ts +3 -2
- package/dist/api/runtime/agencyLaunch/gmiLaunchTool.d.ts.map +1 -1
- package/dist/api/runtime/agencyLaunch/gmiLaunchTool.js +122 -61
- package/dist/api/runtime/agencyLaunch/gmiLaunchTool.js.map +1 -1
- package/dist/api/runtime/agencyLaunch/index.d.ts +11 -0
- package/dist/api/runtime/agencyLaunch/index.d.ts.map +1 -0
- package/dist/api/runtime/agencyLaunch/index.js +11 -0
- package/dist/api/runtime/agencyLaunch/index.js.map +1 -0
- package/dist/api/runtime/agencyLaunch/launchRegistry.d.ts +4 -1
- package/dist/api/runtime/agencyLaunch/launchRegistry.d.ts.map +1 -1
- package/dist/api/runtime/agencyLaunch/launchRegistry.js.map +1 -1
- package/dist/api/runtime/agencyLaunch/meteredProviderManager.d.ts +13 -0
- package/dist/api/runtime/agencyLaunch/meteredProviderManager.d.ts.map +1 -1
- package/dist/api/runtime/agencyLaunch/meteredProviderManager.js +19 -0
- package/dist/api/runtime/agencyLaunch/meteredProviderManager.js.map +1 -1
- package/dist/api/runtime/agencyLaunch/runLaunch.d.ts +32 -3
- package/dist/api/runtime/agencyLaunch/runLaunch.d.ts.map +1 -1
- package/dist/api/runtime/agencyLaunch/runLaunch.js +57 -9
- package/dist/api/runtime/agencyLaunch/runLaunch.js.map +1 -1
- package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.d.ts +84 -0
- package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.d.ts.map +1 -0
- package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.js +344 -0
- package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.js.map +1 -0
- package/dist/api/runtime/agencyLaunch/runtimeSeat.d.ts +61 -0
- package/dist/api/runtime/agencyLaunch/runtimeSeat.d.ts.map +1 -0
- package/dist/api/runtime/agencyLaunch/runtimeSeat.js +277 -0
- package/dist/api/runtime/agencyLaunch/runtimeSeat.js.map +1 -0
- package/dist/api/runtime/agencyLaunch/seatToolView.d.ts +11 -0
- package/dist/api/runtime/agencyLaunch/seatToolView.d.ts.map +1 -0
- package/dist/api/runtime/agencyLaunch/seatToolView.js +69 -0
- package/dist/api/runtime/agencyLaunch/seatToolView.js.map +1 -0
- package/dist/api/runtime/agencyLaunch/types.d.ts +126 -13
- package/dist/api/runtime/agencyLaunch/types.d.ts.map +1 -1
- package/dist/api/runtime/agencyLaunch/types.js +102 -2
- package/dist/api/runtime/agencyLaunch/types.js.map +1 -1
- package/dist/api/runtime/capabilityContract.d.ts +7 -1
- package/dist/api/runtime/capabilityContract.d.ts.map +1 -1
- package/dist/api/runtime/capabilityContract.js +6 -0
- package/dist/api/runtime/capabilityContract.js.map +1 -1
- package/dist/api/runtime/externalToolPause.d.ts +2 -2
- package/dist/api/runtime/externalToolRegistry.d.ts +5 -5
- package/dist/api/runtime/global-default.d.ts +1 -1
- package/dist/api/runtime/gmiPersona.d.ts +6 -0
- package/dist/api/runtime/gmiPersona.d.ts.map +1 -1
- package/dist/api/runtime/gmiPersona.js +9 -1
- package/dist/api/runtime/gmiPersona.js.map +1 -1
- package/dist/api/runtime/gmiSession.d.ts +4 -3
- package/dist/api/runtime/gmiSession.d.ts.map +1 -1
- package/dist/api/runtime/gmiSession.js +1 -1
- package/dist/api/runtime/gmiSession.js.map +1 -1
- package/dist/api/runtime/lightweightAgentDiagnostics.d.ts +14 -6
- package/dist/api/runtime/lightweightAgentDiagnostics.d.ts.map +1 -1
- package/dist/api/runtime/lightweightAgentDiagnostics.js +10 -4
- package/dist/api/runtime/lightweightAgentDiagnostics.js.map +1 -1
- package/dist/api/runtime/personaLoaderResolution.d.ts +2 -2
- package/dist/api/runtime/processRequestWithExternalTools.d.ts +4 -4
- package/dist/api/runtime/processRequestWithRegisteredTools.d.ts +7 -7
- package/dist/api/runtime/resumeExternalToolRequestWithRegisteredTools.d.ts +8 -8
- package/dist/api/runtime/tool-emulation/activation.d.ts +1 -1
- package/dist/api/runtime/tool-emulation/history.d.ts +1 -1
- package/dist/api/runtime/tool-emulation/index.d.ts +5 -5
- package/dist/api/runtime/tool-emulation/loop.d.ts +2 -2
- package/dist/api/runtime/tool-emulation/renderer.d.ts +1 -1
- package/dist/api/runtime/toolCallGate.d.ts +2 -2
- package/dist/api/runtime/turn-phases/conversation-history.d.ts +3 -3
- package/dist/api/runtime/turn-phases/long-term-memory.d.ts +4 -4
- package/dist/api/runtime/turn-phases/prompt-profile.d.ts +2 -2
- package/dist/api/runtime/turn-phases/rolling-summary.d.ts +4 -4
- package/dist/api/runtime/turnFinalResponse.d.ts +3 -3
- package/dist/api/server/AgentOSServer.d.ts +1 -1
- package/dist/api/structured/output/IStructuredOutputManager.d.ts +1 -1
- package/dist/api/structured/output/StructuredOutputManager.d.ts +3 -3
- package/dist/api/structured/output/index.d.ts +3 -3
- package/dist/api/types/AgentOSExternalToolRequest.d.ts +1 -1
- package/dist/api/types/AgentOSInput.d.ts +3 -3
- package/dist/api/types/AgentOSResponse.d.ts +6 -6
- package/dist/api/types/OrchestratorConfig.d.ts +11 -11
- package/dist/api/types.d.ts +12 -6
- package/dist/api/types.d.ts.map +1 -1
- package/dist/api/types.js.map +1 -1
- package/dist/cognition/emergent/CreateWorkflowTool.d.ts +12 -2
- package/dist/cognition/emergent/CreateWorkflowTool.d.ts.map +1 -1
- package/dist/cognition/emergent/CreateWorkflowTool.js +12 -2
- package/dist/cognition/emergent/CreateWorkflowTool.js.map +1 -1
- package/dist/cognition/emergent/EmergentCapabilityEngine.d.ts +8 -1
- package/dist/cognition/emergent/EmergentCapabilityEngine.d.ts.map +1 -1
- package/dist/cognition/emergent/EmergentCapabilityEngine.js +11 -0
- package/dist/cognition/emergent/EmergentCapabilityEngine.js.map +1 -1
- package/dist/cognition/emergent/SelfImprovementConfig.d.ts +8 -2
- package/dist/cognition/emergent/SelfImprovementConfig.d.ts.map +1 -1
- package/dist/cognition/emergent/SelfImprovementConfig.js.map +1 -1
- package/dist/cognition/emergent/StepGate.d.ts +15 -3
- package/dist/cognition/emergent/StepGate.d.ts.map +1 -1
- package/dist/cognition/emergent/StepGate.js +33 -5
- package/dist/cognition/emergent/StepGate.js.map +1 -1
- package/dist/cognition/emergent/types.d.ts +4 -2
- package/dist/cognition/emergent/types.d.ts.map +1 -1
- package/dist/cognition/emergent/types.js.map +1 -1
- package/dist/cognition/marketplace/store/Marketplace.d.ts +2 -2
- package/dist/cognition/marketplace/store/index.d.ts +2 -2
- package/dist/cognition/memory/pipeline/lifecycle/IMemoryLifecycleManager.d.ts +5 -5
- package/dist/cognition/memory/pipeline/lifecycle/MemoryLifecycleManager.d.ts +6 -6
- package/dist/cognition/memory/retrieval/graph/knowledge/KnowledgeGraph.d.ts +3 -3
- package/dist/cognition/nlp/ITextProcessor.d.ts +1 -1
- package/dist/cognition/nlp/TextProcessingPipeline.d.ts +2 -2
- package/dist/cognition/nlp/ai_utilities/HybridUtilityAI.d.ts +1 -1
- package/dist/cognition/nlp/ai_utilities/IUtilityAI.d.ts +1 -1
- package/dist/cognition/nlp/ai_utilities/LLMUtilityAI.d.ts +4 -4
- package/dist/cognition/nlp/ai_utilities/StatisticalUtilityAI.d.ts +1 -1
- package/dist/cognition/nlp/ai_utilities/targetSchemaChecks.d.ts +1 -1
- package/dist/cognition/nlp/filters/StopWordFilter.d.ts +3 -3
- package/dist/cognition/nlp/index.d.ts +13 -13
- package/dist/cognition/nlp/language/LanguageService.d.ts +1 -1
- package/dist/cognition/nlp/language/index.d.ts +5 -5
- package/dist/cognition/nlp/language/providers/DeepLTranslationProvider.d.ts +1 -1
- package/dist/cognition/nlp/language/providers/OpenAITranslationProvider.d.ts +1 -1
- package/dist/cognition/nlp/language/providers/WhisperDetectionProvider.d.ts +1 -1
- package/dist/cognition/nlp/lemmatizers/NoOpLemmatizer.d.ts +2 -2
- package/dist/cognition/nlp/lemmatizers/WordNetLemmatizer.d.ts +2 -2
- package/dist/cognition/nlp/normalizers/AccentStripper.d.ts +2 -2
- package/dist/cognition/nlp/normalizers/LowercaseNormalizer.d.ts +2 -2
- package/dist/cognition/nlp/presets.d.ts +1 -1
- package/dist/cognition/nlp/stemmers/NoOpStemmer.d.ts +2 -2
- package/dist/cognition/nlp/stemmers/PorterStemmer.d.ts +2 -2
- package/dist/cognition/nlp/tokenizers/CodeTokenizer.d.ts +2 -2
- package/dist/cognition/nlp/tokenizers/StandardTokenizer.d.ts +2 -2
- package/dist/cognition/rag/EmbeddingManager.d.ts +3 -3
- package/dist/cognition/rag/IRetrievalAugmentor.d.ts +5 -5
- package/dist/cognition/rag/RetrievalAugmentor.d.ts +6 -6
- package/dist/cognition/rag/VectorStoreManager.d.ts +3 -3
- package/dist/cognition/rag/reranking/IRerankerService.d.ts +1 -1
- package/dist/cognition/rag/reranking/RerankerService.d.ts +3 -3
- package/dist/cognition/rag/reranking/index.d.ts +6 -6
- package/dist/cognition/rag/reranking/providers/CohereReranker.d.ts +1 -1
- package/dist/cognition/rag/reranking/providers/LocalCrossEncoderReranker.d.ts +1 -1
- package/dist/cognition/rag/reranking/providers/index.d.ts +2 -2
- package/dist/cognition/rag/vector-search/HnswIndexSidecar.d.ts +1 -1
- package/dist/cognition/rag/vector-search/index.d.ts +2 -2
- package/dist/cognition/rag/vector_stores/InMemoryVectorStore.d.ts +1 -1
- package/dist/cognition/rag/vector_stores/SqlVectorStore.d.ts +1 -1
- package/dist/cognition/substrate/CognitiveMemoryBridge.d.ts +2 -2
- package/dist/cognition/substrate/ConversationHistoryManager.d.ts +3 -3
- package/dist/cognition/substrate/GMI.d.ts +13 -7
- package/dist/cognition/substrate/GMI.d.ts.map +1 -1
- package/dist/cognition/substrate/GMI.js +52 -5
- package/dist/cognition/substrate/GMI.js.map +1 -1
- package/dist/cognition/substrate/GMIManager.d.ts +102 -23
- package/dist/cognition/substrate/GMIManager.d.ts.map +1 -1
- package/dist/cognition/substrate/GMIManager.js +202 -11
- package/dist/cognition/substrate/GMIManager.js.map +1 -1
- package/dist/cognition/substrate/IGMI.d.ts +19 -12
- package/dist/cognition/substrate/IGMI.d.ts.map +1 -1
- package/dist/cognition/substrate/IGMI.js.map +1 -1
- package/dist/cognition/substrate/MetapromptExecutor.d.ts +6 -6
- package/dist/cognition/substrate/SentimentTracker.d.ts +5 -5
- package/dist/cognition/substrate/memory/InMemoryWorkingMemory.d.ts +1 -1
- package/dist/cognition/substrate/persona_overlays/PersonaOverlayManager.d.ts +3 -3
- package/dist/cognition/substrate/persona_overlays/PersonaOverlayTypes.d.ts +2 -2
- package/dist/cognition/substrate/personas/IPersonaDefinition.d.ts +3 -3
- package/dist/cognition/substrate/personas/IPersonaLoader.d.ts +1 -1
- package/dist/cognition/substrate/personas/InMemoryPersonaLoader.d.ts +2 -2
- package/dist/cognition/substrate/personas/PersonaLoader.d.ts +2 -2
- package/dist/cognition/substrate/personas/PersonaValidation.d.ts +1 -1
- package/dist/cognition/substrate/personas/definitions/index.d.ts +1 -1
- package/dist/cognition/substrate/personas/personaNormalization.d.ts +1 -1
- package/dist/cognition/substrate/reasoningTraceLimits.d.ts +2 -2
- package/dist/cognition/substrate/toolCallGate.d.ts +1 -1
- package/dist/cognition/substrate/turnContent.d.ts +1 -1
- package/dist/cognition/web-search/WebSearchService.d.ts +1 -1
- package/dist/cognition/web-search/dedup.d.ts +1 -1
- package/dist/cognition/web-search/fusion.d.ts +1 -1
- package/dist/cognition/web-search/index.d.ts +8 -8
- package/dist/cognition/web-search/providers/BraveProvider.d.ts +1 -1
- package/dist/cognition/web-search/providers/FirecrawlProvider.d.ts +1 -1
- package/dist/cognition/web-search/providers/SerperProvider.d.ts +1 -1
- package/dist/cognition/web-search/providers/TavilyProvider.d.ts +1 -1
- package/dist/cognition/web-search/providers/index.d.ts +4 -4
- package/dist/cognition/web-search/types.d.ts +2 -2
- package/dist/core/conversation/ConversationContext.d.ts +2 -2
- package/dist/core/conversation/ConversationManager.d.ts +2 -2
- package/dist/core/conversation/ConversationMessage.d.ts +3 -3
- package/dist/core/conversation/ILongTermMemoryRetriever.d.ts +1 -1
- package/dist/core/conversation/IRollingSummaryMemorySink.d.ts +1 -1
- package/dist/core/conversation/RollingSummaryCompactor.d.ts +2 -2
- package/dist/core/embeddings/IEmbeddingManager.d.ts +1 -1
- package/dist/core/llm/IPromptEngine.d.ts +6 -6
- package/dist/core/llm/PromptEngine.d.ts +2 -2
- package/dist/core/llm/providers/AIModelProviderManager.d.ts +25 -14
- package/dist/core/llm/providers/AIModelProviderManager.d.ts.map +1 -1
- package/dist/core/llm/providers/AIModelProviderManager.js +18 -0
- package/dist/core/llm/providers/AIModelProviderManager.js.map +1 -1
- package/dist/core/llm/providers/errors/AnthropicProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/ClaudeCodeProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/GeminiCLIProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/GeminiProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/OllamaProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/OpenAIProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/OpenRouterProviderError.d.ts +1 -1
- package/dist/core/llm/providers/errors/RequestyProviderError.d.ts +1 -1
- package/dist/core/llm/providers/implementations/AnthropicProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.d.ts +5 -5
- package/dist/core/llm/providers/implementations/ClaudeCodeProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/GeminiCLIBridge.d.ts +5 -5
- package/dist/core/llm/providers/implementations/GeminiCLIProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/GeminiProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/GroqProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/LiteLLMProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/MiniMaxProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/MistralProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/OllamaProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/OpenAIProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/OpenRouterProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/RequestyProvider.d.ts +1 -1
- package/dist/core/llm/providers/implementations/TogetherProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/XAIProvider.d.ts +2 -2
- package/dist/core/llm/providers/implementations/billing-probe-model.d.ts +1 -1
- package/dist/core/llm/routing/IModelRouter.d.ts +3 -3
- package/dist/core/llm/routing/ModelRouter.d.ts +3 -3
- package/dist/core/llm/routing/PolicyAwareRouter.d.ts +3 -3
- package/dist/core/llm/streaming/StreamingBatcher.d.ts +1 -1
- package/dist/core/llm/streaming/StreamingReconstructor.d.ts +2 -2
- package/dist/core/logging/PinoLogger.d.ts +1 -1
- package/dist/core/streaming/AsyncStreamClientBridge.d.ts +2 -2
- package/dist/core/streaming/IStreamClient.d.ts +1 -1
- package/dist/core/streaming/StreamingManager.d.ts +2 -2
- package/dist/core/tools/ITool.d.ts +13 -7
- package/dist/core/tools/ITool.d.ts.map +1 -1
- package/dist/core/tools/IToolOrchestrator.d.ts +7 -7
- package/dist/core/tools/ToolExecutor.d.ts +19 -13
- package/dist/core/tools/ToolExecutor.d.ts.map +1 -1
- package/dist/core/tools/ToolExecutor.js.map +1 -1
- package/dist/core/tools/ToolOrchestrator.d.ts +16 -8
- package/dist/core/tools/ToolOrchestrator.d.ts.map +1 -1
- package/dist/core/tools/ToolOrchestrator.js +37 -11
- package/dist/core/tools/ToolOrchestrator.js.map +1 -1
- package/dist/core/tools/permissions/IToolPermissionManager.d.ts +3 -3
- package/dist/core/tools/permissions/ToolPermissionManager.d.ts +2 -2
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/core/utils/usage/UsageLedger.d.ts +1 -1
- package/dist/core/vector-store/IVectorStoreManager.d.ts +2 -2
- package/dist/extensions/ExtensionLoader.d.ts +2 -2
- package/dist/extensions/ExtensionManager.d.ts +4 -4
- package/dist/extensions/ExtensionRegistry.d.ts +1 -1
- package/dist/extensions/RegistryConfig.d.ts +1 -1
- package/dist/extensions/SharedServiceRegistry.d.ts +1 -1
- package/dist/extensions/events.d.ts +1 -1
- package/dist/extensions/index.d.ts +10 -10
- package/dist/extensions/manifest.d.ts +3 -3
- package/dist/extensions/types.d.ts +8 -8
- package/dist/index.d.ts +73 -72
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/io/channels/social-posting/index.d.ts +3 -3
- package/dist/io/hearing/AdaptiveVAD.d.ts +1 -1
- package/dist/io/hearing/AudioProcessor.d.ts +2 -2
- package/dist/io/hearing/SilenceDetector.d.ts +1 -1
- package/dist/io/media/images/PolicyAwareImageRouter.d.ts +1 -1
- package/dist/orchestration/hitl/HumanInteractionManager.d.ts +2 -2
- package/dist/orchestration/hitl/index.d.ts +2 -2
- package/dist/orchestration/planner/IPlanningEngine.d.ts +1 -1
- package/dist/orchestration/planner/PlanningEngine.d.ts +3 -3
- package/dist/orchestration/planner/index.d.ts +2 -2
- package/dist/orchestration/turn-planner/IAgentOrchestrator.d.ts +2 -2
- package/dist/orchestration/turn-planner/TurnPlanner.d.ts +4 -4
- package/dist/orchestration/turn-planner/helpers.d.ts +2 -2
- package/dist/orchestration/workflows/IWorkflowEngine.d.ts +4 -4
- package/dist/orchestration/workflows/WorkflowEngine.d.ts +3 -3
- package/dist/orchestration/workflows/WorkflowTypes.d.ts +2 -2
- package/dist/orchestration/workflows/runtime/WorkflowRuntime.d.ts +9 -9
- package/dist/orchestration/workflows/storage/IWorkflowStore.d.ts +1 -1
- package/dist/orchestration/workflows/storage/InMemoryWorkflowStore.d.ts +2 -2
- package/dist/safety/evaluation/Evaluator.d.ts +1 -1
- package/dist/safety/evaluation/LLMJudge.d.ts +3 -3
- package/dist/safety/evaluation/index.d.ts +4 -4
- package/dist/safety/evaluation/observability/Tracer.d.ts +1 -1
- package/dist/safety/evaluation/observability/index.d.ts +5 -5
- package/dist/safety/guardrails/ICrossAgentGuardrailService.d.ts +2 -2
- package/dist/safety/guardrails/IGuardrailService.d.ts +3 -3
- package/dist/safety/guardrails/ParallelGuardrailDispatcher.d.ts +4 -4
- package/dist/safety/guardrails/builtin/PhraseListGuardrail.d.ts +4 -4
- package/dist/safety/guardrails/crossAgentGuardrailDispatcher.d.ts +4 -4
- package/dist/safety/guardrails/guardrailDispatcher.d.ts +4 -4
- package/dist/safety/guardrails/index.d.ts +8 -8
- package/dist/safety/guardrails/requiredGuardrails.d.ts +1 -1
- package/dist/safety/guardrails/sanitizedFinalResponse.d.ts +3 -3
- package/dist/safety/sandbox/executor/CodeSandbox.d.ts +2 -2
- package/dist/safety/sandbox/executor/ICodeSandbox.d.ts +1 -1
- package/dist/safety/sandbox/executor/index.d.ts +3 -3
- package/dist/safety/sandbox/subprocess/CLISubprocessBridge.d.ts +2 -2
- package/dist/safety/sandbox/subprocess/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -13,15 +13,31 @@ export const COMPOSE_NEEDS_GATE_MESSAGE = 'this engine composes tools through a
|
|
|
13
13
|
* suspended for it, since a long chain is not a cycle.
|
|
14
14
|
*/
|
|
15
15
|
export const MAX_COMPOSITION_DEPTH = 8;
|
|
16
|
+
/**
|
|
17
|
+
* Tools that are never a step, whatever the host lists. A team is launched
|
|
18
|
+
* from a turn: a workflow's step runs under the workflow's own timer, which
|
|
19
|
+
* would cut a team outside its launch's deadline and close path, and a
|
|
20
|
+
* composed tool would launch a team on every call of what the model sees as
|
|
21
|
+
* one tool.
|
|
22
|
+
*/
|
|
23
|
+
export const UNCHAINABLE_TOOLS = new Set(['launch_agency']);
|
|
16
24
|
/**
|
|
17
25
|
* The one rule for chaining a tool as a step.
|
|
18
26
|
*
|
|
27
|
+
* - a tool in {@link UNCHAINABLE_TOOLS}: by no one, listed or not.
|
|
19
28
|
* - `hasSideEffects: false`: chained freely.
|
|
20
29
|
* - `hasSideEffects: true`: only when the host lists the tool's name.
|
|
21
30
|
* - flag unset: by no one, listed or not; the host declares it first.
|
|
22
31
|
* - not registered: nothing to chain.
|
|
23
32
|
*/
|
|
24
33
|
export function checkChainable(stepTool, tool, sideEffectingTools) {
|
|
34
|
+
if (UNCHAINABLE_TOOLS.has(stepTool)) {
|
|
35
|
+
return {
|
|
36
|
+
ok: false,
|
|
37
|
+
code: 'step_not_chainable',
|
|
38
|
+
message: `step tool "${stepTool}" can never be a step: a team is launched from a turn`,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
25
41
|
if (!tool) {
|
|
26
42
|
return { ok: false, code: 'step_missing', message: `step tool "${stepTool}" is not registered` };
|
|
27
43
|
}
|
|
@@ -46,6 +62,14 @@ export function checkChainable(stepTool, tool, sideEffectingTools) {
|
|
|
46
62
|
'emergent.compose.sideEffectingTools',
|
|
47
63
|
};
|
|
48
64
|
}
|
|
65
|
+
/** The refusal of a step whose `signal` aborted before its tool ran: nothing ran. */
|
|
66
|
+
function stepStopped() {
|
|
67
|
+
return {
|
|
68
|
+
success: false,
|
|
69
|
+
error: 'step_aborted: the step was stopped before its tool ran (its call stopped or its time ran out)',
|
|
70
|
+
details: { code: 'step_aborted' },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
49
73
|
/**
|
|
50
74
|
* A gate for a host that builds the engine itself. `ToolOrchestrator` does
|
|
51
75
|
* not use this: its gate runs each step through `processToolCall`.
|
|
@@ -53,6 +77,9 @@ export function checkChainable(stepTool, tool, sideEffectingTools) {
|
|
|
53
77
|
* Built with `resolve` alone, the gate runs a step by calling the tool: no
|
|
54
78
|
* permission check and no approval, as a direct call has in a host with
|
|
55
79
|
* neither manager. The chainability rule is applied by the builder either way.
|
|
80
|
+
* A step whose `signal` has aborted by the time its checks pass is refused
|
|
81
|
+
* (`step_aborted`) before its approval is asked; one whose signal aborts while
|
|
82
|
+
* its approval is pending is refused after it. Nothing runs either way.
|
|
56
83
|
*/
|
|
57
84
|
export function createStepGate(options) {
|
|
58
85
|
return {
|
|
@@ -78,6 +105,11 @@ export function createStepGate(options) {
|
|
|
78
105
|
};
|
|
79
106
|
}
|
|
80
107
|
}
|
|
108
|
+
// A step whose stop has already come asks no one: no approval is asked
|
|
109
|
+
// for a step that cannot run.
|
|
110
|
+
if (signal?.aborted) {
|
|
111
|
+
return stepStopped();
|
|
112
|
+
}
|
|
81
113
|
const hitl = options.hitl;
|
|
82
114
|
// A step that is itself a composition is not asked: its own
|
|
83
115
|
// side-effecting steps are, each when it runs (as processToolCall
|
|
@@ -123,11 +155,7 @@ export function createStepGate(options) {
|
|
|
123
155
|
}
|
|
124
156
|
}
|
|
125
157
|
if (signal?.aborted) {
|
|
126
|
-
return
|
|
127
|
-
success: false,
|
|
128
|
-
error: 'step_aborted: the step expired before its tool ran',
|
|
129
|
-
details: { code: 'step_aborted' },
|
|
130
|
-
};
|
|
158
|
+
return stepStopped();
|
|
131
159
|
}
|
|
132
160
|
return withInnerCode(await tool.execute(args, context));
|
|
133
161
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepGate.js","sourceRoot":"","sources":["../../../src/cognition/emergent/StepGate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqDH,0FAA0F;AAC1F,MAAM,CAAC,MAAM,0BAA0B,GACrC,4FAA4F;IAC5F,iGAAiG,CAAC;AAEpG;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC;AAEvC
|
|
1
|
+
{"version":3,"file":"StepGate.js","sourceRo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,IAAI,CAAC,IAAI;4BACnB,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,KAAK,EAAE,OAAO,CAAC,KAAK;4BACpB,SAAS,EAAE,OAAO,CAAC,SAAS;yBAC7B;wBACD,UAAU,EAAE,KAAK;wBACjB,WAAW,EAAE,IAAI,IAAI,EAAE;wBACvB,SAAS,EAAE,IAAI,CAAC,iBAAiB;qBAClC,CAAC,CAAC;oBACH,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;wBACvB,OAAO;4BACL,OAAO,EAAE,KAAK;4BACd,KAAK,EAAE,QAAQ,CAAC,eAAe,IAAI,cAAc,IAAI,gBAAgB;4BACrE,OAAO,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;yBACvC,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YACD,IAAI,MAAM,EAAE,OAAO,EAAE,CAAC;gBACpB,OAAO,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,OAAO,aAAa,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;QAC1D,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,MAA2B;IACvD,MAAM,OAAO,GAAG,MAAM,CAAC,OAA8C,CAAC;IACtE,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC7D,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;IAC7C,OAAO,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;AACxD,CAAC"}
|
|
@@ -896,8 +896,10 @@ export interface EmergentConfig {
|
|
|
896
896
|
* Which tools with side effects a composition or a workflow may chain as a
|
|
897
897
|
* step. A tool that declares `hasSideEffects: false` is chained freely; one
|
|
898
898
|
* that declares `true` only when its name is listed here; one that declares
|
|
899
|
-
* nothing is never chained.
|
|
900
|
-
*
|
|
899
|
+
* nothing is never chained. A tool named `launch_agency` is never chained,
|
|
900
|
+
* whatever it declares and whether or not it is listed here: a team is
|
|
901
|
+
* launched from a turn. The list is read when a step is checked (at forge,
|
|
902
|
+
* at load, at promotion and on every run), not at construction.
|
|
901
903
|
* @default { sideEffectingTools: [] }
|
|
902
904
|
*/
|
|
903
905
|
compose?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/cognition/emergent/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAM9D;;;;;;;;;GASG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAMtD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEvF,2FAA2F;AAC3F,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9E;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,cAAc,CA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5B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,cAAc,CAcnD,CAAC;AAEX;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/cognition/emergent/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/cognition/emergent/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AA0hCH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA6B;IAC/D,OAAO,EAAE,KAAK;IACd,eAAe,EAAE,EAAE;IACnB,aAAa,EAAE,EAAE;IACjB,iBAAiB,EAAE,KAAK;IACxB,oBAAoB,EAAE,KAAK;IAC3B,eAAe,EAAE,GAAG;IACpB,gBAAgB,EAAE,IAAI;IACtB,kBAAkB,EAAE;QAClB,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,GAAG;KAChB;IACD,UAAU,EAAE,aAAa;IACzB,mBAAmB,EAAE,QAAQ;CACrB,CAAC;AAEX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @module AgentOS/Marketplace
|
|
7
7
|
* @version 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
import type { IMarketplace, MarketplaceItem, MarketplaceItemType, MarketplaceSearchOptions, MarketplaceSearchResult, InstalledItem, InstallationResult, InstallationStatus, Review, MarketplaceStats } from './IMarketplace';
|
|
10
|
-
import type { ILogger } from '../../../core/logging/ILogger';
|
|
9
|
+
import type { IMarketplace, MarketplaceItem, MarketplaceItemType, MarketplaceSearchOptions, MarketplaceSearchResult, InstalledItem, InstallationResult, InstallationStatus, Review, MarketplaceStats } from './IMarketplace.js';
|
|
10
|
+
import type { ILogger } from '../../../core/logging/ILogger.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration for Marketplace
|
|
13
13
|
*/
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* @see ../cognitive_substrate/IGMI.ts for GMI interaction types.
|
|
10
10
|
* @see ../core/vector-store/IVectorStoreManager.ts for interaction with storage.
|
|
11
11
|
*/
|
|
12
|
-
import { MemoryLifecycleManagerConfig } from '../../../../core/config/MemoryLifecycleManagerConfiguration';
|
|
13
|
-
import { IGMI, LifecycleAction } from '../../../substrate/IGMI';
|
|
14
|
-
import { IVectorStoreManager } from '../../../../core/vector-store/IVectorStoreManager';
|
|
15
|
-
import { IUtilityAI } from '../../../nlp/ai_utilities/IUtilityAI';
|
|
16
|
-
import { RagMemoryCategory } from '../../../rag/IRetrievalAugmentor';
|
|
12
|
+
import { MemoryLifecycleManagerConfig } from '../../../../core/config/MemoryLifecycleManagerConfiguration.js';
|
|
13
|
+
import { IGMI, LifecycleAction } from '../../../substrate/IGMI.js';
|
|
14
|
+
import { IVectorStoreManager } from '../../../../core/vector-store/IVectorStoreManager.js';
|
|
15
|
+
import { IUtilityAI } from '../../../nlp/ai_utilities/IUtilityAI.js';
|
|
16
|
+
import { RagMemoryCategory } from '../../../rag/IRetrievalAugmentor.js';
|
|
17
17
|
/**
|
|
18
18
|
* Function signature for resolving a GMI instance by its ID.
|
|
19
19
|
* The MemoryLifecycleManager uses this to fetch a GMI instance for negotiation.
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* @see ../nlp/ai_utilities/IUtilityAI.ts for summarization.
|
|
12
12
|
* @see ../core/vector-store/IVectorStore.ts and ../rag/IVectorStoreManager.ts
|
|
13
13
|
*/
|
|
14
|
-
import { IMemoryLifecycleManager, GMIResolverFunction, PolicyEnforcementFilter, LifecycleEnforcementReport } from './IMemoryLifecycleManager';
|
|
15
|
-
import { MemoryLifecycleManagerConfig } from '../../../../core/config/MemoryLifecycleManagerConfiguration';
|
|
16
|
-
import { IVectorStoreManager } from '../../../../core/vector-store/IVectorStoreManager';
|
|
17
|
-
import { IUtilityAI } from '../../../nlp/ai_utilities/IUtilityAI';
|
|
18
|
-
import { RagMemoryCategory } from '../../../rag/IRetrievalAugmentor';
|
|
19
|
-
import { LifecycleAction } from '../../../substrate/IGMI';
|
|
14
|
+
import { IMemoryLifecycleManager, GMIResolverFunction, PolicyEnforcementFilter, LifecycleEnforcementReport } from './IMemoryLifecycleManager.js';
|
|
15
|
+
import { MemoryLifecycleManagerConfig } from '../../../../core/config/MemoryLifecycleManagerConfiguration.js';
|
|
16
|
+
import { IVectorStoreManager } from '../../../../core/vector-store/IVectorStoreManager.js';
|
|
17
|
+
import { IUtilityAI } from '../../../nlp/ai_utilities/IUtilityAI.js';
|
|
18
|
+
import { RagMemoryCategory } from '../../../rag/IRetrievalAugmentor.js';
|
|
19
|
+
import { LifecycleAction } from '../../../substrate/IGMI.js';
|
|
20
20
|
/**
|
|
21
21
|
* @class MemoryLifecycleManager
|
|
22
22
|
* @implements {IMemoryLifecycleManager}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* @module AgentOS/Knowledge
|
|
7
7
|
* @version 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
import type { IKnowledgeGraph, KnowledgeEntity, KnowledgeRelation, EpisodicMemory, EntityId, RelationId, EntityType, RelationType, KnowledgeQueryOptions, TraversalOptions, TraversalResult, SemanticSearchOptions, SemanticSearchResult, KnowledgeGraphStats } from './IKnowledgeGraph';
|
|
10
|
-
import type { ILogger } from '../../../../../core/logging/ILogger';
|
|
11
|
-
import type { IEmbeddingManager } from '../../../../../core/embeddings/IEmbeddingManager';
|
|
9
|
+
import type { IKnowledgeGraph, KnowledgeEntity, KnowledgeRelation, EpisodicMemory, EntityId, RelationId, EntityType, RelationType, KnowledgeQueryOptions, TraversalOptions, TraversalResult, SemanticSearchOptions, SemanticSearchResult, KnowledgeGraphStats } from './IKnowledgeGraph.js';
|
|
10
|
+
import type { ILogger } from '../../../../../core/logging/ILogger.js';
|
|
11
|
+
import type { IEmbeddingManager } from '../../../../../core/embeddings/IEmbeddingManager.js';
|
|
12
12
|
/**
|
|
13
13
|
* Configuration for KnowledgeGraph
|
|
14
14
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @fileoverview Interface for a single stage in the text processing pipeline.
|
|
3
3
|
* @module agentos/nlp/ITextProcessor
|
|
4
4
|
*/
|
|
5
|
-
import type { Token } from './types';
|
|
5
|
+
import type { Token } from './types.js';
|
|
6
6
|
/**
|
|
7
7
|
* A single processing stage in a {@link TextProcessingPipeline}.
|
|
8
8
|
* Each processor receives tokens from the previous stage and returns
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module agentos/nlp/TextProcessingPipeline
|
|
6
6
|
*/
|
|
7
|
-
import type { Token } from './types';
|
|
8
|
-
import type { ITextProcessor, ITokenizer } from './ITextProcessor';
|
|
7
|
+
import type { Token } from './types.js';
|
|
8
|
+
import type { ITextProcessor, ITokenizer } from './ITextProcessor.js';
|
|
9
9
|
/**
|
|
10
10
|
* Orchestrates a chain of text processors: tokenizer → processors → output.
|
|
11
11
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* A hybrid that holds one class sends every call to it. An error from the class
|
|
10
10
|
* a call went to reaches the caller; the call is not retried on the other.
|
|
11
11
|
*/
|
|
12
|
-
import type { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI';
|
|
12
|
+
import type { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI.js';
|
|
13
13
|
export interface HybridUtilityAIConfig extends UtilityAIConfigBase {
|
|
14
14
|
/** LLM-based implementation (used for generative tasks). */
|
|
15
15
|
llm?: IUtilityAI;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* (e.g., LLM-based, statistical NLP libraries, or other machine learning models).
|
|
8
8
|
* @module backend/agentos/nlp/ai_utilities/IUtilityAI
|
|
9
9
|
*/
|
|
10
|
-
import { JSONSchemaObject } from '../../../core/tools/ITool';
|
|
10
|
+
import { JSONSchemaObject } from '../../../core/tools/ITool.js';
|
|
11
11
|
/**
|
|
12
12
|
* Base configuration for any IUtilityAI implementation.
|
|
13
13
|
*/
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* @see ./IUtilityAI.ts
|
|
8
8
|
* @see ../../core/llm/providers/AIModelProviderManager.ts
|
|
9
9
|
*/
|
|
10
|
-
import { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI';
|
|
11
|
-
import { AIModelProviderManager } from '../../../core/llm/providers/AIModelProviderManager';
|
|
12
|
-
import { IPromptEngineUtilityAI, ModelTargetInfo } from '../../../core/llm/IPromptEngine';
|
|
13
|
-
import { ConversationMessage as Message } from '../../../core/conversation/ConversationMessage';
|
|
10
|
+
import { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI.js';
|
|
11
|
+
import { AIModelProviderManager } from '../../../core/llm/providers/AIModelProviderManager.js';
|
|
12
|
+
import { IPromptEngineUtilityAI, ModelTargetInfo } from '../../../core/llm/IPromptEngine.js';
|
|
13
|
+
import { ConversationMessage as Message } from '../../../core/conversation/ConversationMessage.js';
|
|
14
14
|
export interface LLMUtilityAIConfig extends UtilityAIConfigBase {
|
|
15
15
|
llmProviderManager: AIModelProviderManager;
|
|
16
16
|
defaultModelId?: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see ./IUtilityAI.ts
|
|
9
9
|
* @see 'natural' library documentation
|
|
10
10
|
*/
|
|
11
|
-
import { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI';
|
|
11
|
+
import { IUtilityAI, UtilityAIConfigBase, ParseJsonOptions, SummarizationOptions, ClassificationOptions, ClassificationResult, KeywordExtractionOptions, TokenizationOptions, StemmingOptions, SimilarityOptions, SentimentAnalysisOptions, SentimentResult, LanguageDetectionOptions, LanguageDetectionResult, TextNormalizationOptions, NGramOptions, ReadabilityOptions, ReadabilityResult } from './IUtilityAI.js';
|
|
12
12
|
/** A sentiment lexicon `natural` ships. AFINN scores a word from -5 to 5; pattern and senticon from -1 to 1. */
|
|
13
13
|
export type SentimentLexiconName = 'afinn' | 'afinnFinancialMarketNews' | 'pattern' | 'senticon';
|
|
14
14
|
export interface StatisticalUtilityAIConfig extends UtilityAIConfigBase {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @fileoverview The checks `parseJsonSafe()` makes against a `targetSchema`, one set for StatisticalUtilityAI and
|
|
3
3
|
* LLMUtilityAI, so the two classes read a schema alike.
|
|
4
4
|
*/
|
|
5
|
-
import { SchemaChecks } from '../../../core/utils/schemaChecks';
|
|
5
|
+
import { SchemaChecks } from '../../../core/utils/schemaChecks.js';
|
|
6
6
|
/**
|
|
7
7
|
* The compiled `targetSchema` checks of both utility classes.
|
|
8
8
|
*
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* @fileoverview Removes tokens that match a configurable stop word list.
|
|
3
3
|
* @module agentos/nlp/filters/StopWordFilter
|
|
4
4
|
*/
|
|
5
|
-
import type { Token } from '../types';
|
|
6
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
7
|
-
export { CODE_STOP_WORDS, ENGLISH_STOP_WORDS } from './stopWordLists';
|
|
5
|
+
import type { Token } from '../types.js';
|
|
6
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
7
|
+
export { CODE_STOP_WORDS, ENGLISH_STOP_WORDS } from './stopWordLists.js';
|
|
8
8
|
export declare function getNaturalStopWords(): ReadonlySet<string>;
|
|
9
9
|
/**
|
|
10
10
|
* Filters tokens whose `.text` appears in the provided stop word set.
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module agentos/nlp
|
|
6
6
|
*/
|
|
7
|
-
export { TextProcessingPipeline } from './TextProcessingPipeline';
|
|
8
|
-
export type { ITextProcessor, ITokenizer } from './ITextProcessor';
|
|
9
|
-
export type { Token } from './types';
|
|
10
|
-
export { StandardTokenizer } from './tokenizers/StandardTokenizer';
|
|
11
|
-
export { CodeTokenizer } from './tokenizers/CodeTokenizer';
|
|
12
|
-
export { LowercaseNormalizer } from './normalizers/LowercaseNormalizer';
|
|
13
|
-
export { AccentStripper } from './normalizers/AccentStripper';
|
|
14
|
-
export { StopWordFilter, ENGLISH_STOP_WORDS, CODE_STOP_WORDS, getNaturalStopWords } from './filters/StopWordFilter';
|
|
15
|
-
export { PorterStemmer } from './stemmers/PorterStemmer';
|
|
16
|
-
export { NoOpStemmer } from './stemmers/NoOpStemmer';
|
|
17
|
-
export { WordNetLemmatizer } from './lemmatizers/WordNetLemmatizer';
|
|
18
|
-
export { NoOpLemmatizer } from './lemmatizers/NoOpLemmatizer';
|
|
19
|
-
export { createProsePipeline, createCodePipeline, createRagPipeline } from './presets';
|
|
7
|
+
export { TextProcessingPipeline } from './TextProcessingPipeline.js';
|
|
8
|
+
export type { ITextProcessor, ITokenizer } from './ITextProcessor.js';
|
|
9
|
+
export type { Token } from './types.js';
|
|
10
|
+
export { StandardTokenizer } from './tokenizers/StandardTokenizer.js';
|
|
11
|
+
export { CodeTokenizer } from './tokenizers/CodeTokenizer.js';
|
|
12
|
+
export { LowercaseNormalizer } from './normalizers/LowercaseNormalizer.js';
|
|
13
|
+
export { AccentStripper } from './normalizers/AccentStripper.js';
|
|
14
|
+
export { StopWordFilter, ENGLISH_STOP_WORDS, CODE_STOP_WORDS, getNaturalStopWords } from './filters/StopWordFilter.js';
|
|
15
|
+
export { PorterStemmer } from './stemmers/PorterStemmer.js';
|
|
16
|
+
export { NoOpStemmer } from './stemmers/NoOpStemmer.js';
|
|
17
|
+
export { WordNetLemmatizer } from './lemmatizers/WordNetLemmatizer.js';
|
|
18
|
+
export { NoOpLemmatizer } from './lemmatizers/NoOpLemmatizer.js';
|
|
19
|
+
export { createProsePipeline, createCodePipeline, createRagPipeline } from './presets.js';
|
|
20
20
|
export * from './ai_utilities/index.js';
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @file LanguageService.ts
|
|
3
3
|
* @description Lightweight reference implementation of a multilingual orchestration service.
|
|
4
4
|
*/
|
|
5
|
-
import { ILanguageService, DetectedLanguageResult, LanguageNegotiationParams, LanguageNegotiationResult, TranslationResult } from './interfaces';
|
|
5
|
+
import { ILanguageService, DetectedLanguageResult, LanguageNegotiationParams, LanguageNegotiationResult, TranslationResult } from './interfaces.js';
|
|
6
6
|
export interface AgentOSLanguageConfig {
|
|
7
7
|
defaultLanguage: string;
|
|
8
8
|
supportedLanguages: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './interfaces';
|
|
2
|
-
export * from './LanguageService';
|
|
3
|
-
export * from './providers/OpenAITranslationProvider';
|
|
4
|
-
export * from './providers/DeepLTranslationProvider';
|
|
5
|
-
export * from './providers/WhisperDetectionProvider';
|
|
1
|
+
export * from './interfaces.js';
|
|
2
|
+
export * from './LanguageService.js';
|
|
3
|
+
export * from './providers/OpenAITranslationProvider.js';
|
|
4
|
+
export * from './providers/DeepLTranslationProvider.js';
|
|
5
|
+
export * from './providers/WhisperDetectionProvider.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @fileoverview Pass-through lemmatizer that does nothing.
|
|
3
3
|
* @module agentos/nlp/lemmatizers/NoOpLemmatizer
|
|
4
4
|
*/
|
|
5
|
-
import type { Token } from '../types';
|
|
6
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
5
|
+
import type { Token } from '../types.js';
|
|
6
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
7
7
|
export declare class NoOpLemmatizer implements ITextProcessor {
|
|
8
8
|
readonly name = "NoOpLemmatizer";
|
|
9
9
|
process(tokens: Token[]): Token[];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module agentos/nlp/lemmatizers/WordNetLemmatizer
|
|
9
9
|
*/
|
|
10
|
-
import type { Token } from '../types';
|
|
11
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
10
|
+
import type { Token } from '../types.js';
|
|
11
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
12
12
|
/**
|
|
13
13
|
* Sets `token.lemma`, and `token.text`, to the Lancaster stem of the token's text. Despite its name it does not look
|
|
14
14
|
* words up in WordNet, so it gives no dictionary forms; see the module comment.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module agentos/nlp/normalizers/AccentStripper
|
|
6
6
|
*/
|
|
7
|
-
import type { Token } from '../types';
|
|
8
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
7
|
+
import type { Token } from '../types.js';
|
|
8
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
9
9
|
/**
|
|
10
10
|
* Removes combining diacritical marks after Unicode NFD decomposition.
|
|
11
11
|
* This makes accent-insensitive search possible.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @fileoverview Lowercases all token text. Preserves original.
|
|
3
3
|
* @module agentos/nlp/normalizers/LowercaseNormalizer
|
|
4
4
|
*/
|
|
5
|
-
import type { Token } from '../types';
|
|
6
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
5
|
+
import type { Token } from '../types.js';
|
|
6
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
7
7
|
export declare class LowercaseNormalizer implements ITextProcessor {
|
|
8
8
|
readonly name = "LowercaseNormalizer";
|
|
9
9
|
process(tokens: Token[]): Token[];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @fileoverview Pre-built pipeline configurations for common use cases.
|
|
3
3
|
* @module agentos/nlp/presets
|
|
4
4
|
*/
|
|
5
|
-
import { TextProcessingPipeline } from './TextProcessingPipeline';
|
|
5
|
+
import { TextProcessingPipeline } from './TextProcessingPipeline.js';
|
|
6
6
|
/**
|
|
7
7
|
* Pipeline for English prose text.
|
|
8
8
|
* Standard tokenizer → lowercase → strip accents → remove stop words → Porter stem.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module agentos/nlp/stemmers/NoOpStemmer
|
|
7
7
|
*/
|
|
8
|
-
import type { Token } from '../types';
|
|
9
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
8
|
+
import type { Token } from '../types.js';
|
|
9
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
10
10
|
export declare class NoOpStemmer implements ITextProcessor {
|
|
11
11
|
readonly name = "NoOpStemmer";
|
|
12
12
|
process(tokens: Token[]): Token[];
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module agentos/nlp/stemmers/PorterStemmer
|
|
6
6
|
*/
|
|
7
|
-
import type { Token } from '../types';
|
|
8
|
-
import type { ITextProcessor } from '../ITextProcessor';
|
|
7
|
+
import type { Token } from '../types.js';
|
|
8
|
+
import type { ITextProcessor } from '../ITextProcessor.js';
|
|
9
9
|
/**
|
|
10
10
|
* Porter stemmer — reduces words to their morphological root.
|
|
11
11
|
* `running` → `run`, `foxes` → `fox`, `connected` → `connect`.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @module agentos/nlp/tokenizers/CodeTokenizer
|
|
6
6
|
*/
|
|
7
|
-
import type { Token } from '../types';
|
|
8
|
-
import type { ITokenizer } from '../ITextProcessor';
|
|
7
|
+
import type { Token } from '../types.js';
|
|
8
|
+
import type { ITokenizer } from '../ITextProcessor.js';
|
|
9
9
|
/**
|
|
10
10
|
* Code-aware tokenizer.
|
|
11
11
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module agentos/nlp/tokenizers/StandardTokenizer
|
|
7
7
|
*/
|
|
8
|
-
import type { Token } from '../types';
|
|
9
|
-
import type { ITokenizer } from '../ITextProcessor';
|
|
8
|
+
import type { Token } from '../types.js';
|
|
9
|
+
import type { ITokenizer } from '../ITextProcessor.js';
|
|
10
10
|
/**
|
|
11
11
|
* Standard tokenizer that splits text on Unicode word boundaries.
|
|
12
12
|
* Handles punctuation, whitespace, hyphens, and special characters.
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* @see ../core/llm/providers/AIModelProviderManager.ts for provider management.
|
|
16
16
|
* @see ../core/llm/providers/IProvider.ts for the provider contract.
|
|
17
17
|
*/
|
|
18
|
-
import { IEmbeddingManager, EmbeddingRequest, EmbeddingResponse } from './IEmbeddingManager';
|
|
19
|
-
import { EmbeddingManagerConfig, EmbeddingModelConfig } from '../../core/config/EmbeddingManagerConfiguration';
|
|
20
|
-
import { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager';
|
|
18
|
+
import { IEmbeddingManager, EmbeddingRequest, EmbeddingResponse } from './IEmbeddingManager.js';
|
|
19
|
+
import { EmbeddingManagerConfig, EmbeddingModelConfig } from '../../core/config/EmbeddingManagerConfiguration.js';
|
|
20
|
+
import { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager.js';
|
|
21
21
|
/**
|
|
22
22
|
* Implements the `IEmbeddingManager` interface to provide robust embedding generation services.
|
|
23
23
|
*
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module backend/agentos/rag/IRetrievalAugmentor
|
|
8
8
|
*/
|
|
9
|
-
import { IEmbeddingManager } from './IEmbeddingManager';
|
|
10
|
-
import { MetadataFilter, MetadataValue } from './IVectorStore';
|
|
11
|
-
import { IVectorStoreManager } from './IVectorStoreManager';
|
|
12
|
-
import { RetrievalAugmentorServiceConfig } from '../../core/config/RetrievalAugmentorConfiguration';
|
|
13
|
-
import type { RAGAuditTrail } from './audit/RAGAuditTypes';
|
|
9
|
+
import { IEmbeddingManager } from './IEmbeddingManager.js';
|
|
10
|
+
import { MetadataFilter, MetadataValue } from './IVectorStore.js';
|
|
11
|
+
import { IVectorStoreManager } from './IVectorStoreManager.js';
|
|
12
|
+
import { RetrievalAugmentorServiceConfig } from '../../core/config/RetrievalAugmentorConfiguration.js';
|
|
13
|
+
import type { RAGAuditTrail } from './audit/RAGAuditTypes.js';
|
|
14
14
|
import type { RetrievalConfidenceSummary } from './unified/confidence.js';
|
|
15
15
|
import type { MemoryRetrievalPolicy, MemoryRetrievalProfile } from './unified/policy.js';
|
|
16
16
|
/**
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
* @see ./IEmbeddingManager.ts
|
|
19
19
|
* @see ./IVectorStoreManager.ts
|
|
20
20
|
*/
|
|
21
|
-
import { IRetrievalAugmentor, RagDocumentInput, RagIngestionOptions, RagIngestionResult, RagRetrievalOptions, RagRetrievalResult } from './IRetrievalAugmentor';
|
|
22
|
-
import { RetrievalAugmentorServiceConfig } from '../../core/config/RetrievalAugmentorConfiguration';
|
|
23
|
-
import { IEmbeddingManager } from './IEmbeddingManager';
|
|
24
|
-
import { IVectorStoreManager } from './IVectorStoreManager';
|
|
25
|
-
import { type HydeLlmCaller } from './HydeRetriever';
|
|
21
|
+
import { IRetrievalAugmentor, RagDocumentInput, RagIngestionOptions, RagIngestionResult, RagRetrievalOptions, RagRetrievalResult } from './IRetrievalAugmentor.js';
|
|
22
|
+
import { RetrievalAugmentorServiceConfig } from '../../core/config/RetrievalAugmentorConfiguration.js';
|
|
23
|
+
import { IEmbeddingManager } from './IEmbeddingManager.js';
|
|
24
|
+
import { IVectorStoreManager } from './IVectorStoreManager.js';
|
|
25
|
+
import { type HydeLlmCaller } from './HydeRetriever.js';
|
|
26
26
|
/**
|
|
27
27
|
* @class RetrievalAugmentor
|
|
28
28
|
* @implements {IRetrievalAugmentor}
|
|
@@ -89,7 +89,7 @@ export declare class RetrievalAugmentor implements IRetrievalAugmentor {
|
|
|
89
89
|
* }));
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
|
-
registerRerankerProvider(provider: import('./reranking/IRerankerService').IRerankerProvider): void;
|
|
92
|
+
registerRerankerProvider(provider: import('./reranking/IRerankerService.js').IRerankerProvider): void;
|
|
93
93
|
/**
|
|
94
94
|
* Register an LLM caller for HyDE hypothesis generation.
|
|
95
95
|
*
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* @see ../config/VectorStoreConfiguration.ts for configuration structures.
|
|
15
15
|
* @see ./vector_stores/InMemoryVectorStore.ts for an example provider.
|
|
16
16
|
*/
|
|
17
|
-
import { IVectorStoreManager, VectorStoreManagerHealthReport } from './IVectorStoreManager';
|
|
18
|
-
import { IVectorStore } from './IVectorStore';
|
|
19
|
-
import { VectorStoreManagerConfig, RagDataSourceConfig } from '../../core/config/VectorStoreConfiguration';
|
|
17
|
+
import { IVectorStoreManager, VectorStoreManagerHealthReport } from './IVectorStoreManager.js';
|
|
18
|
+
import { IVectorStore } from './IVectorStore.js';
|
|
19
|
+
import { VectorStoreManagerConfig, RagDataSourceConfig } from '../../core/config/VectorStoreConfiguration.js';
|
|
20
20
|
/**
|
|
21
21
|
* Implements the `IVectorStoreManager` interface.
|
|
22
22
|
*
|