@framers/agentos 0.15.62 → 0.15.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/agency/AgencyMemoryManager.d.ts +3 -3
- package/dist/agents/agency/AgencyRegistry.d.ts +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 +44 -44
- package/dist/api/agent.d.ts +1 -1
- package/dist/api/embedText.d.ts +1 -1
- package/dist/api/hitl.d.ts +1 -1
- package/dist/api/index.d.ts +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 +10 -10
- 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/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 +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 +5 -5
- package/dist/cognition/substrate/GMIManager.d.ts +15 -15
- package/dist/cognition/substrate/IGMI.d.ts +12 -12
- 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 +71 -12
- package/dist/core/conversation/ConversationContext.d.ts.map +1 -1
- package/dist/core/conversation/ConversationContext.js +313 -39
- package/dist/core/conversation/ConversationContext.js.map +1 -1
- 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 +14 -14
- 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 +2 -2
- package/dist/core/tools/IToolOrchestrator.d.ts +7 -7
- package/dist/core/tools/ToolExecutor.d.ts +4 -4
- package/dist/core/tools/ToolOrchestrator.d.ts +8 -8
- 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 +72 -72
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtensionRegistry } from './ExtensionRegistry';
|
|
2
|
-
import type { ExtensionKind, ExtensionLifecycleContext } from './types';
|
|
3
|
-
import type { ExtensionEventListener } from './events';
|
|
4
|
-
import type { ExtensionManifest, ExtensionPack, ExtensionPackManifestEntry, ExtensionOverrides } from './manifest';
|
|
1
|
+
import { ExtensionRegistry } from './ExtensionRegistry.js';
|
|
2
|
+
import type { ExtensionKind, ExtensionLifecycleContext } from './types.js';
|
|
3
|
+
import type { ExtensionEventListener } from './events.js';
|
|
4
|
+
import type { ExtensionManifest, ExtensionPack, ExtensionPackManifestEntry, ExtensionOverrides } from './manifest.js';
|
|
5
5
|
import { type ScopedVoiceAdapter } from '../io/speech/VoiceAdapter.js';
|
|
6
6
|
interface ExtensionManagerOptions {
|
|
7
7
|
manifest?: ExtensionManifest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActiveExtensionDescriptor, ExtensionDescriptor, ExtensionLifecycleContext, ExtensionKind } from './types';
|
|
1
|
+
import type { ActiveExtensionDescriptor, ExtensionDescriptor, ExtensionLifecycleContext, ExtensionKind } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Maintains layered stacks of descriptors for a particular extension kind.
|
|
4
4
|
* New registrations push onto the stack, allowing later descriptors to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ISharedServiceRegistry, SharedServiceOptions } from './ISharedServiceRegistry';
|
|
1
|
+
import type { ISharedServiceRegistry, SharedServiceOptions } from './ISharedServiceRegistry.js';
|
|
2
2
|
/**
|
|
3
3
|
* Thread-safe shared-service registry for extension lifecycle context.
|
|
4
4
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtensionDescriptor, ExtensionKind, ExtensionSourceMetadata } from './types';
|
|
1
|
+
import type { ExtensionDescriptor, ExtensionKind, ExtensionSourceMetadata } from './types.js';
|
|
2
2
|
export type ExtensionEventType = 'pack:loaded' | 'pack:failed' | 'descriptor:activated' | 'descriptor:deactivated';
|
|
3
3
|
export interface ExtensionEventBase {
|
|
4
4
|
type: ExtensionEventType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './events';
|
|
3
|
-
export * from './ISharedServiceRegistry';
|
|
4
|
-
export * from './SharedServiceRegistry';
|
|
5
|
-
export * from './ExtensionRegistry';
|
|
6
|
-
export * from './ExtensionManager';
|
|
7
|
-
export * from './manifest';
|
|
8
|
-
export * from './RegistryConfig';
|
|
9
|
-
export { MultiRegistryLoader } from './MultiRegistryLoader';
|
|
10
|
-
export { ExtensionLoader } from './ExtensionLoader';
|
|
1
|
+
export * from './types.js';
|
|
2
|
+
export * from './events.js';
|
|
3
|
+
export * from './ISharedServiceRegistry.js';
|
|
4
|
+
export * from './SharedServiceRegistry.js';
|
|
5
|
+
export * from './ExtensionRegistry.js';
|
|
6
|
+
export * from './ExtensionManager.js';
|
|
7
|
+
export * from './manifest.js';
|
|
8
|
+
export * from './RegistryConfig.js';
|
|
9
|
+
export { MultiRegistryLoader } from './MultiRegistryLoader.js';
|
|
10
|
+
export { ExtensionLoader } from './ExtensionLoader.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExtensionDescriptor, ExtensionLifecycleContext, ExtensionSourceMetadata } from './types';
|
|
2
|
-
import type { ISharedServiceRegistry } from './ISharedServiceRegistry';
|
|
1
|
+
import type { ExtensionDescriptor, ExtensionLifecycleContext, ExtensionSourceMetadata } from './types.js';
|
|
2
|
+
import type { ISharedServiceRegistry } from './ISharedServiceRegistry.js';
|
|
3
3
|
export type ExtensionPackResolver = {
|
|
4
4
|
package: string;
|
|
5
5
|
version?: string;
|
|
@@ -44,7 +44,7 @@ export interface ExtensionPackContext {
|
|
|
44
44
|
manifestEntry?: ExtensionPackManifestEntry;
|
|
45
45
|
source?: ExtensionSourceMetadata;
|
|
46
46
|
options?: Record<string, unknown>;
|
|
47
|
-
logger?: import('../logging/ILogger').ILogger;
|
|
47
|
+
logger?: import('../logging/ILogger.js').ILogger;
|
|
48
48
|
getSecret?: (secretId: string) => string | undefined;
|
|
49
49
|
services?: ISharedServiceRegistry;
|
|
50
50
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ILogger } from '../core/logging/ILogger';
|
|
2
|
-
import type { IGuardrailService } from '../safety/guardrails/IGuardrailService';
|
|
3
|
-
import type { ITool } from '../core/tools/ITool';
|
|
1
|
+
import type { ILogger } from '../core/logging/ILogger.js';
|
|
2
|
+
import type { IGuardrailService } from '../safety/guardrails/IGuardrailService.js';
|
|
3
|
+
import type { ITool } from '../core/tools/ITool.js';
|
|
4
4
|
import type { IncomingMessage, ServerResponse } from 'node:http';
|
|
5
|
-
import type { WorkflowDescriptorPayload, WorkflowInstance, WorkflowTaskDefinition, WorkflowTaskStatus } from '../orchestration/workflows/WorkflowTypes';
|
|
6
|
-
import type { MessagingChannelPayload } from './MessagingChannelPayload';
|
|
7
|
-
import type { ISharedServiceRegistry } from './ISharedServiceRegistry';
|
|
8
|
-
import type { SpeechToTextProvider, SpeechVadProvider, TextToSpeechProvider, WakeWordProvider } from '../io/speech/types';
|
|
5
|
+
import type { WorkflowDescriptorPayload, WorkflowInstance, WorkflowTaskDefinition, WorkflowTaskStatus } from '../orchestration/workflows/WorkflowTypes.js';
|
|
6
|
+
import type { MessagingChannelPayload } from './MessagingChannelPayload.js';
|
|
7
|
+
import type { ISharedServiceRegistry } from './ISharedServiceRegistry.js';
|
|
8
|
+
import type { SpeechToTextProvider, SpeechVadProvider, TextToSpeechProvider, WakeWordProvider } from '../io/speech/types.js';
|
|
9
9
|
/**
|
|
10
10
|
* Represents the broad category an extension descriptor belongs to.
|
|
11
11
|
* Well-known kinds include `tool`, `guardrail`, and `response-processor`,
|
|
@@ -186,7 +186,7 @@ export type WorkflowExecutorDescriptor = ExtensionDescriptor<WorkflowExtensionEx
|
|
|
186
186
|
export type MessagingChannelDescriptor = ExtensionDescriptor<MessagingChannelPayload> & {
|
|
187
187
|
kind: typeof EXTENSION_KIND_MESSAGING_CHANNEL;
|
|
188
188
|
};
|
|
189
|
-
export type { MessagingChannelPayload } from './MessagingChannelPayload';
|
|
189
|
+
export type { MessagingChannelPayload } from './MessagingChannelPayload.js';
|
|
190
190
|
/**
|
|
191
191
|
* Persona registry source configuration
|
|
192
192
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4,85 +4,85 @@
|
|
|
4
4
|
* `@framers/agentos/<path>` thanks to the workspace exports map.
|
|
5
5
|
*/
|
|
6
6
|
export * from './api/AgentOS.js';
|
|
7
|
-
export * from './api/runtime/AgentOSOrchestrator';
|
|
8
|
-
export * from './api/types/AgentOSInput';
|
|
9
|
-
export * from './api/types/AgentOSResponse';
|
|
10
|
-
export * from './api/types/AgentOSExternalToolRequest';
|
|
11
|
-
export * from './api/types/AgentOSToolResult';
|
|
12
|
-
export * from './cognition/substrate/IGMI';
|
|
13
|
-
export * from './cognition/substrate/GMIManager';
|
|
14
|
-
export type { ITool, ToolExecutionResult, ToolExecutionContext, JSONSchemaObject, } from './core/tools/ITool';
|
|
15
|
-
export * from './core/llm/IPromptEngine';
|
|
16
|
-
export * from './core/config/ToolOrchestratorConfig';
|
|
17
|
-
export * from './core/tools/permissions/IToolPermissionManager';
|
|
18
|
-
export * from './core/conversation/ConversationManager';
|
|
19
|
-
export * from './core/conversation/IRollingSummaryMemorySink';
|
|
20
|
-
export * from './core/conversation/ILongTermMemoryRetriever';
|
|
21
|
-
export * from './core/conversation/LongTermMemoryPolicy';
|
|
22
|
-
export * from './core/streaming/StreamingManager';
|
|
23
|
-
export * from './core/llm/providers/AIModelProviderManager';
|
|
24
|
-
export * from './orchestration/turn-planner/TurnPlanner';
|
|
25
|
-
export * from './orchestration/turn-planner/SqlTaskOutcomeTelemetryStore';
|
|
26
|
-
export * from './orchestration/workflows/WorkflowTypes';
|
|
27
|
-
export * from './orchestration/workflows/IWorkflowEngine';
|
|
28
|
-
export * from './orchestration/workflows/storage/IWorkflowStore';
|
|
29
|
-
export { WorkflowEngine } from './orchestration/workflows/WorkflowEngine';
|
|
30
|
-
export { InMemoryWorkflowStore } from './orchestration/workflows/storage/InMemoryWorkflowStore';
|
|
31
|
-
export * from './agents/agency/AgencyTypes';
|
|
32
|
-
export { AgencyRegistry } from './agents/agency/AgencyRegistry';
|
|
33
|
-
export { AgencyMemoryManager } from './agents/agency/AgencyMemoryManager';
|
|
34
|
-
export type { AgencyMemoryIngestInput, AgencyMemoryChunk, AgencyMemoryQueryResult, AgencyMemoryStats, } from './agents/agency/AgencyMemoryManager';
|
|
35
|
-
export { AgentCommunicationBus } from './agents/agency/AgentCommunicationBus';
|
|
36
|
-
export type { IAgentCommunicationBus, AgentMessage, AgentMessageType, AgentRequest, AgentResponse, HandoffContext, HandoffResult, } from './agents/agency/IAgentCommunicationBus';
|
|
37
|
-
export * from './orchestration/planner';
|
|
38
|
-
export * from './orchestration/hitl';
|
|
39
|
-
export * from './api/structured/output';
|
|
40
|
-
export * from './safety/sandbox/executor';
|
|
41
|
-
export * from './safety/evaluation/observability';
|
|
42
|
-
export * from './safety/evaluation';
|
|
43
|
-
export * from './cognition/memory/retrieval/graph/index';
|
|
44
|
-
export * from './cognition/marketplace/store';
|
|
45
|
-
export * from './cognition/marketplace/workspace';
|
|
46
|
-
export * from './cognition/substrate/personas/definitions';
|
|
47
|
-
export * from './cognition/substrate/personas/IPersonaDefinition';
|
|
48
|
-
export type { IPersonaLoader, PersonaLoaderConfig } from './cognition/substrate/personas/IPersonaLoader';
|
|
49
|
-
export { PersonaLoader } from './cognition/substrate/personas/PersonaLoader';
|
|
50
|
-
export type { FileSystemPersonaLoaderConfig } from './cognition/substrate/personas/PersonaLoader';
|
|
51
|
-
export { InMemoryPersonaLoader, assertInlinePersonaDefinitions, INLINE_PERSONA_LOADER_CONFIG } from './cognition/substrate/personas/InMemoryPersonaLoader';
|
|
52
|
-
export { normalizePersonaDefinition } from './cognition/substrate/personas/personaNormalization';
|
|
53
|
-
export * from './cognition/substrate/persona_overlays/PersonaOverlayTypes';
|
|
54
|
-
export { PersonaOverlayManager } from './cognition/substrate/persona_overlays/PersonaOverlayManager';
|
|
55
|
-
export * from './safety/guardrails';
|
|
56
|
-
export * from './extensions';
|
|
57
|
-
export * from './io/channels';
|
|
58
|
-
export * from './io/channels/telephony';
|
|
7
|
+
export * from './api/runtime/AgentOSOrchestrator.js';
|
|
8
|
+
export * from './api/types/AgentOSInput.js';
|
|
9
|
+
export * from './api/types/AgentOSResponse.js';
|
|
10
|
+
export * from './api/types/AgentOSExternalToolRequest.js';
|
|
11
|
+
export * from './api/types/AgentOSToolResult.js';
|
|
12
|
+
export * from './cognition/substrate/IGMI.js';
|
|
13
|
+
export * from './cognition/substrate/GMIManager.js';
|
|
14
|
+
export type { ITool, ToolExecutionResult, ToolExecutionContext, JSONSchemaObject, } from './core/tools/ITool.js';
|
|
15
|
+
export * from './core/llm/IPromptEngine.js';
|
|
16
|
+
export * from './core/config/ToolOrchestratorConfig.js';
|
|
17
|
+
export * from './core/tools/permissions/IToolPermissionManager.js';
|
|
18
|
+
export * from './core/conversation/ConversationManager.js';
|
|
19
|
+
export * from './core/conversation/IRollingSummaryMemorySink.js';
|
|
20
|
+
export * from './core/conversation/ILongTermMemoryRetriever.js';
|
|
21
|
+
export * from './core/conversation/LongTermMemoryPolicy.js';
|
|
22
|
+
export * from './core/streaming/StreamingManager.js';
|
|
23
|
+
export * from './core/llm/providers/AIModelProviderManager.js';
|
|
24
|
+
export * from './orchestration/turn-planner/TurnPlanner.js';
|
|
25
|
+
export * from './orchestration/turn-planner/SqlTaskOutcomeTelemetryStore.js';
|
|
26
|
+
export * from './orchestration/workflows/WorkflowTypes.js';
|
|
27
|
+
export * from './orchestration/workflows/IWorkflowEngine.js';
|
|
28
|
+
export * from './orchestration/workflows/storage/IWorkflowStore.js';
|
|
29
|
+
export { WorkflowEngine } from './orchestration/workflows/WorkflowEngine.js';
|
|
30
|
+
export { InMemoryWorkflowStore } from './orchestration/workflows/storage/InMemoryWorkflowStore.js';
|
|
31
|
+
export * from './agents/agency/AgencyTypes.js';
|
|
32
|
+
export { AgencyRegistry } from './agents/agency/AgencyRegistry.js';
|
|
33
|
+
export { AgencyMemoryManager } from './agents/agency/AgencyMemoryManager.js';
|
|
34
|
+
export type { AgencyMemoryIngestInput, AgencyMemoryChunk, AgencyMemoryQueryResult, AgencyMemoryStats, } from './agents/agency/AgencyMemoryManager.js';
|
|
35
|
+
export { AgentCommunicationBus } from './agents/agency/AgentCommunicationBus.js';
|
|
36
|
+
export type { IAgentCommunicationBus, AgentMessage, AgentMessageType, AgentRequest, AgentResponse, HandoffContext, HandoffResult, } from './agents/agency/IAgentCommunicationBus.js';
|
|
37
|
+
export * from './orchestration/planner/index.js';
|
|
38
|
+
export * from './orchestration/hitl/index.js';
|
|
39
|
+
export * from './api/structured/output/index.js';
|
|
40
|
+
export * from './safety/sandbox/executor/index.js';
|
|
41
|
+
export * from './safety/evaluation/observability/index.js';
|
|
42
|
+
export * from './safety/evaluation/index.js';
|
|
43
|
+
export * from './cognition/memory/retrieval/graph/index.js';
|
|
44
|
+
export * from './cognition/marketplace/store/index.js';
|
|
45
|
+
export * from './cognition/marketplace/workspace/index.js';
|
|
46
|
+
export * from './cognition/substrate/personas/definitions/index.js';
|
|
47
|
+
export * from './cognition/substrate/personas/IPersonaDefinition.js';
|
|
48
|
+
export type { IPersonaLoader, PersonaLoaderConfig } from './cognition/substrate/personas/IPersonaLoader.js';
|
|
49
|
+
export { PersonaLoader } from './cognition/substrate/personas/PersonaLoader.js';
|
|
50
|
+
export type { FileSystemPersonaLoaderConfig } from './cognition/substrate/personas/PersonaLoader.js';
|
|
51
|
+
export { InMemoryPersonaLoader, assertInlinePersonaDefinitions, INLINE_PERSONA_LOADER_CONFIG } from './cognition/substrate/personas/InMemoryPersonaLoader.js';
|
|
52
|
+
export { normalizePersonaDefinition } from './cognition/substrate/personas/personaNormalization.js';
|
|
53
|
+
export * from './cognition/substrate/persona_overlays/PersonaOverlayTypes.js';
|
|
54
|
+
export { PersonaOverlayManager } from './cognition/substrate/persona_overlays/PersonaOverlayManager.js';
|
|
55
|
+
export * from './safety/guardrails/index.js';
|
|
56
|
+
export * from './extensions/index.js';
|
|
57
|
+
export * from './io/channels/index.js';
|
|
58
|
+
export * from './io/channels/telephony/index.js';
|
|
59
59
|
export * from './io/channels/meetings/index.js';
|
|
60
|
-
export * from './io/speech';
|
|
61
|
-
export * from './io/media/images';
|
|
60
|
+
export * from './io/speech/index.js';
|
|
61
|
+
export * from './io/media/images/index.js';
|
|
62
62
|
export * from './io/media/video/index.js';
|
|
63
63
|
export * from './io/media/audio/index.js';
|
|
64
|
-
export * from './io/hearing';
|
|
64
|
+
export * from './io/hearing/index.js';
|
|
65
65
|
export * from './io/media/ProviderPreferences.js';
|
|
66
66
|
export { VisionPipeline, createVisionPipeline, LLMVisionProvider, PipelineVisionProvider } from './io/vision/index.js';
|
|
67
67
|
export type { VisionPipelineConfig, VisionResult, VisionStrategy, VisionTier, VisionCloudTask, ContentCategory as VisionContentCategory, TierResult as VisionTierResult, FailedTier as VisionFailedTier, TextRegion as VisionTextRegion, DocumentLayout, DocumentPage, LayoutBlock, VisionPreprocessingConfig, } from './io/vision/types.js';
|
|
68
68
|
export type { LLMVisionProviderConfig } from './io/vision/providers/LLMVisionProvider.js';
|
|
69
|
-
export * from './cognition/skills';
|
|
70
|
-
export * from './cognition/nlp/language/interfaces';
|
|
71
|
-
export * from './cognition/nlp/language/LanguageService';
|
|
72
|
-
export * from './cognition/nlp/ai_utilities/IUtilityAI';
|
|
73
|
-
export * from './cognition/nlp/ai_utilities/LLMUtilityAI';
|
|
74
|
-
export * from './cognition/nlp/ai_utilities/StatisticalUtilityAI';
|
|
75
|
-
export * from './cognition/nlp/ai_utilities/HybridUtilityAI';
|
|
76
|
-
export type { ILogger } from './core/logging/ILogger';
|
|
77
|
-
export { createLogger, setLoggerFactory, resetLoggerFactory } from './core/logging/loggerFactory';
|
|
78
|
-
export * from './core/rate-limiting/types';
|
|
79
|
-
export * from './core/storage';
|
|
80
|
-
export * from './core/utils/usage/UsageLedger';
|
|
81
|
-
export * from './cognition/rag';
|
|
69
|
+
export * from './cognition/skills/index.js';
|
|
70
|
+
export * from './cognition/nlp/language/interfaces.js';
|
|
71
|
+
export * from './cognition/nlp/language/LanguageService.js';
|
|
72
|
+
export * from './cognition/nlp/ai_utilities/IUtilityAI.js';
|
|
73
|
+
export * from './cognition/nlp/ai_utilities/LLMUtilityAI.js';
|
|
74
|
+
export * from './cognition/nlp/ai_utilities/StatisticalUtilityAI.js';
|
|
75
|
+
export * from './cognition/nlp/ai_utilities/HybridUtilityAI.js';
|
|
76
|
+
export type { ILogger } from './core/logging/ILogger.js';
|
|
77
|
+
export { createLogger, setLoggerFactory, resetLoggerFactory } from './core/logging/loggerFactory.js';
|
|
78
|
+
export * from './core/rate-limiting/types.js';
|
|
79
|
+
export * from './core/storage/index.js';
|
|
80
|
+
export * from './core/utils/usage/UsageLedger.js';
|
|
81
|
+
export * from './cognition/rag/index.js';
|
|
82
82
|
export type { MemoryRetrievalPolicy, MemoryRetrievalProfile, ResolvedMemoryRetrievalPolicy, } from './cognition/rag/unified/policy.js';
|
|
83
83
|
export { DEFAULT_MEMORY_RETRIEVAL_POLICY, buildRetrievalPlanFromPolicy, getCandidateLimit, resolveMemoryRetrievalPolicy, } from './cognition/rag/unified/policy.js';
|
|
84
|
-
export * from './cognition/memory';
|
|
85
|
-
export { isPublicAddress } from './cognition/memory';
|
|
84
|
+
export * from './cognition/memory/index.js';
|
|
85
|
+
export { isPublicAddress } from './cognition/memory/index.js';
|
|
86
86
|
export { WikiMemoryStore, WikiCompiler, ensureMemoryDir, parsePage, serializePage, renderCatalog, extractWikiLinks, WIKI_PAGE_TYPES, isWikiPageType, InvalidWikiPageIdError, isWikiPageId, assertWikiPageId, MAX_WIKI_PAGE_ID_LENGTH, } from './cognition/substrate/memory/wiki/index.js';
|
|
87
87
|
export type { WikiPage, WikiPageType, WikiPageIdProblem, MetaIndex, IndexResult as WikiIndexResult, CompileResult as WikiCompileResult, MemoryIndexPort, WikiMemoryStoreOptions, WikiCompilerOptions, WikiCompilerStorePort, } from './cognition/substrate/memory/wiki/index.js';
|
|
88
88
|
export { attachMemoryWiki } from './cognition/memory/io/attachMemoryWiki.js';
|
|
@@ -91,8 +91,8 @@ export { ReadMemoryPageTool } from './cognition/memory/io/tools/ReadMemoryPageTo
|
|
|
91
91
|
export { QueryClassifier, QueryDispatcher, QueryGenerator, QueryRouter, TopicExtractor, KeywordFallback, } from './orchestration/pipeline/query/index.js';
|
|
92
92
|
export type { QueryTier, ClassificationResult, RetrievedChunk, SourceCitation, RetrievalResult, ConversationMessage, QueryRouterConfig, ClassifyStartEvent, ClassifyCompleteEvent, ClassifyErrorEvent, RetrieveStartEvent, RetrieveVectorEvent, RetrieveGraphEvent, RetrieveRerankEvent, RetrieveCompleteEvent, RetrieveFallbackEvent, ResearchStartEvent, ResearchPhaseEvent, ResearchCompleteEvent, GenerateStartEvent, GenerateCompleteEvent, RouteCompleteEvent, QueryRouterEventUnion, CorpusChunk, TopicEntry, QueryResult as QueryRouterResult, QueryRouterEmbeddingStatus, QueryRouterRetrievalMode, QueryRouterRuntimeMode, QueryRouterToggleableRuntimeMode, QueryRouterCorpusStats, } from './orchestration/pipeline/query/types.js';
|
|
93
93
|
export * from './orchestration/index.js';
|
|
94
|
-
export * from './safety/provenance';
|
|
95
|
-
export * from './safety/runtime';
|
|
94
|
+
export * from './safety/provenance/index.js';
|
|
95
|
+
export * from './safety/runtime/index.js';
|
|
96
96
|
export * from './cognition/emergent/index.js';
|
|
97
97
|
export { EXTENSION_SECRET_DEFINITIONS, type ExtensionSecretDefinition, getSecretDefinition, resolveSecretForProvider, } from './core/config/extensionSecrets.js';
|
|
98
98
|
export { generateText, isRetryableError, isContentPolicyRefusal, buildFallbackChain, buildPolicyAwareFallbackChain, } from './api/generateText.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Provides the post lifecycle engine ({@link SocialPostManager}) and
|
|
7
7
|
* platform-aware content adaptation ({@link ContentAdaptationEngine}).
|
|
8
8
|
*/
|
|
9
|
-
export { SocialPostManager, type SocialPost, type SocialPostStatus, type SocialPostPlatformResult, type CreateDraftInput, } from './SocialPostManager';
|
|
10
|
-
export { ContentAdaptationEngine, type PlatformConstraints, type AdaptedContent, } from './ContentAdaptationEngine';
|
|
11
|
-
export { SocialAbstractService, type SocialRequestOptions, type SocialServiceConfig, } from './SocialAbstractService';
|
|
9
|
+
export { SocialPostManager, type SocialPost, type SocialPostStatus, type SocialPostPlatformResult, type CreateDraftInput, } from './SocialPostManager.js';
|
|
10
|
+
export { ContentAdaptationEngine, type PlatformConstraints, type AdaptedContent, } from './ContentAdaptationEngine.js';
|
|
11
|
+
export { SocialAbstractService, type SocialRequestOptions, type SocialServiceConfig, } from './SocialAbstractService.js';
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'events';
|
|
2
|
-
import { EnvironmentalCalibrator, NoiseProfile } from './EnvironmentalCalibrator';
|
|
2
|
+
import { EnvironmentalCalibrator, NoiseProfile } from './EnvironmentalCalibrator.js';
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview Adaptive Voice Activity Detection (VAD) system for Node.js.
|
|
5
5
|
* This module processes raw audio frames and uses an environmental noise profile
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @module hearing/AudioProcessor
|
|
5
5
|
*/
|
|
6
6
|
import { EventEmitter } from 'events';
|
|
7
|
-
import { NoiseProfile, CalibrationConfig } from './EnvironmentalCalibrator';
|
|
8
|
-
import { VADResult, AdaptiveVADConfig as LogicVADConfig, VADEmitterEvents } from './AdaptiveVAD';
|
|
7
|
+
import { NoiseProfile, CalibrationConfig } from './EnvironmentalCalibrator.js';
|
|
8
|
+
import { VADResult, AdaptiveVADConfig as LogicVADConfig, VADEmitterEvents } from './AdaptiveVAD.js';
|
|
9
9
|
/**
|
|
10
10
|
* Configuration for the Web Audio API based AudioProcessor.
|
|
11
11
|
* Note: `frameSize` here refers to the ScriptProcessorNode's buffer size.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'events';
|
|
2
|
-
import { VADResult } from './AdaptiveVAD';
|
|
2
|
+
import { VADResult } from './AdaptiveVAD.js';
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview Intelligent silence detection for continuous listening scenarios.
|
|
5
5
|
* Interprets events and states from AdaptiveVAD to determine meaningful silences
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module media/images/PolicyAwareImageRouter
|
|
11
11
|
*/
|
|
12
|
-
import type { UncensoredModelCatalog, PolicyTier } from '../../../core/llm/routing/UncensoredModelCatalog';
|
|
12
|
+
import type { UncensoredModelCatalog, PolicyTier } from '../../../core/llm/routing/UncensoredModelCatalog.js';
|
|
13
13
|
/** Preference result returned by the image router. */
|
|
14
14
|
export interface ImageProviderPreference {
|
|
15
15
|
/** Recommended provider ID (e.g. 'replicate'). */
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @module AgentOS/HITL
|
|
7
7
|
* @version 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
import type { ILogger } from '../../core/logging/ILogger';
|
|
10
|
-
import type { IHumanInteractionManager, PendingAction, ApprovalDecision, ClarificationRequest, ClarificationResponse, DraftOutput, EditedOutput, EscalationContext, EscalationDecision, WorkflowCheckpoint, CheckpointDecision, HumanFeedback, HITLStatistics, HITLNotificationHandler } from './IHumanInteractionManager';
|
|
9
|
+
import type { ILogger } from '../../core/logging/ILogger.js';
|
|
10
|
+
import type { IHumanInteractionManager, PendingAction, ApprovalDecision, ClarificationRequest, ClarificationResponse, DraftOutput, EditedOutput, EscalationContext, EscalationDecision, WorkflowCheckpoint, CheckpointDecision, HumanFeedback, HITLStatistics, HITLNotificationHandler } from './IHumanInteractionManager.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration for HumanInteractionManager.
|
|
13
13
|
*/
|
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @module AgentOS/HITL
|
|
13
13
|
*/
|
|
14
|
-
export type { IHumanInteractionManager, PendingAction, ApprovalDecision, ActionSeverity, AlternativeAction, ClarificationRequest, ClarificationResponse, ClarificationOption, DraftOutput, EditedOutput, EscalationContext, EscalationDecision, EscalationReason, WorkflowCheckpoint, CheckpointDecision, HumanFeedback, HITLStatistics, HITLNotificationHandler, HITLNotification, } from './IHumanInteractionManager';
|
|
15
|
-
export { HumanInteractionManager, type HumanInteractionManagerConfig, } from './HumanInteractionManager';
|
|
14
|
+
export type { IHumanInteractionManager, PendingAction, ApprovalDecision, ActionSeverity, AlternativeAction, ClarificationRequest, ClarificationResponse, ClarificationOption, DraftOutput, EditedOutput, EscalationContext, EscalationDecision, EscalationReason, WorkflowCheckpoint, CheckpointDecision, HumanFeedback, HITLStatistics, HITLNotificationHandler, HITLNotification, } from './IHumanInteractionManager.js';
|
|
15
|
+
export { HumanInteractionManager, type HumanInteractionManagerConfig, } from './HumanInteractionManager.js';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* }
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
import type { ITool } from '../../core/tools/ITool';
|
|
31
|
+
import type { ITool } from '../../core/tools/ITool.js';
|
|
32
32
|
/**
|
|
33
33
|
* Represents a single step in an execution plan.
|
|
34
34
|
* Each step contains the reasoning, action, and expected outcome.
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
-
import type { ILogger } from '../../core/logging/ILogger';
|
|
26
|
-
import type { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager';
|
|
27
|
-
import type { IPlanningEngine, ExecutionPlan, PlanStep, PlanStepResult, PlanningOptions, PlanningContext, TaskDecomposition, ExecutionFeedback, AutonomousLoopOptions, LoopProgress, PlanValidationResult, ReflectionResult, ExecutionState, StepExecutionContext, ExecutionSummary } from './IPlanningEngine';
|
|
25
|
+
import type { ILogger } from '../../core/logging/ILogger.js';
|
|
26
|
+
import type { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager.js';
|
|
27
|
+
import type { IPlanningEngine, ExecutionPlan, PlanStep, PlanStepResult, PlanningOptions, PlanningContext, TaskDecomposition, ExecutionFeedback, AutonomousLoopOptions, LoopProgress, PlanValidationResult, ReflectionResult, ExecutionState, StepExecutionContext, ExecutionSummary } from './IPlanningEngine.js';
|
|
28
28
|
/**
|
|
29
29
|
* Configuration for the PlanningEngine.
|
|
30
30
|
*/
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
* const plan = await engine.generatePlan('Analyze customer data');
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export type { IPlanningEngine, ExecutionPlan, PlanStep, PlanStepResult, PlanStepStatus, PlanAction, PlanActionType, PlanningOptions, PlanningContext, PlanningStrategy, TaskDecomposition, SubTask, ExecutionFeedback, FeedbackType, AutonomousLoopOptions, LoopProgress, ApprovalRequest, PlanValidationResult, PlanValidationIssue, ReflectionResult, PlanAdjustment, ExecutionState, StepExecutionContext, ExecutionSummary, PlanMetadata, } from './IPlanningEngine';
|
|
23
|
-
export { PlanningEngine, type PlanningEngineConfig } from './PlanningEngine';
|
|
22
|
+
export type { IPlanningEngine, ExecutionPlan, PlanStep, PlanStepResult, PlanStepStatus, PlanAction, PlanActionType, PlanningOptions, PlanningContext, PlanningStrategy, TaskDecomposition, SubTask, ExecutionFeedback, FeedbackType, AutonomousLoopOptions, LoopProgress, ApprovalRequest, PlanValidationResult, PlanValidationIssue, ReflectionResult, PlanAdjustment, ExecutionState, StepExecutionContext, ExecutionSummary, PlanMetadata, } from './IPlanningEngine.js';
|
|
23
|
+
export { PlanningEngine, type PlanningEngineConfig } from './PlanningEngine.js';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConversationContext } from '../../core/conversation/ConversationContext.js';
|
|
2
|
-
import { AgentOutput } from '../../agents/definitions/IAgent';
|
|
3
|
-
import { AgentOSOrchestratorDependencies as AgentOrchestratorDependencies } from '../../api/types/OrchestratorConfig';
|
|
2
|
+
import { AgentOutput } from '../../agents/definitions/IAgent.js';
|
|
3
|
+
import { AgentOSOrchestratorDependencies as AgentOrchestratorDependencies } from '../../api/types/OrchestratorConfig.js';
|
|
4
4
|
/**
|
|
5
5
|
* @fileoverview Defines the interface for an Agent Orchestrator in AgentOS.
|
|
6
6
|
* The orchestrator manages the lifecycle of an agent's interaction for a given
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* - tool selection scope (all tools vs discovery-selected tools)
|
|
7
7
|
* - optional per-turn capability discovery payload
|
|
8
8
|
*/
|
|
9
|
-
import type { ProcessingOptions } from '../../api/types/AgentOSInput';
|
|
10
|
-
import type { IPersonaDefinition } from '../../cognition/substrate/personas/IPersonaDefinition';
|
|
11
|
-
import type { CapabilityDiscoveryResult, CapabilityKind, ICapabilityDiscoveryEngine } from '../../cognition/discovery/types';
|
|
12
|
-
import type { ILogger } from '../../core/logging/ILogger';
|
|
9
|
+
import type { ProcessingOptions } from '../../api/types/AgentOSInput.js';
|
|
10
|
+
import type { IPersonaDefinition } from '../../cognition/substrate/personas/IPersonaDefinition.js';
|
|
11
|
+
import type { CapabilityDiscoveryResult, CapabilityKind, ICapabilityDiscoveryEngine } from '../../cognition/discovery/types.js';
|
|
12
|
+
import type { ILogger } from '../../core/logging/ILogger.js';
|
|
13
13
|
export type ToolFailureMode = 'fail_open' | 'fail_closed';
|
|
14
14
|
export type ToolSelectionMode = 'all' | 'discovered';
|
|
15
15
|
export interface TurnPlannerDiscoveryConfig {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CostAggregator } from '../../cognition/substrate/IGMI';
|
|
2
|
-
import type { IPersonaDefinition } from '../../cognition/substrate/personas/IPersonaDefinition';
|
|
1
|
+
import { CostAggregator } from '../../cognition/substrate/IGMI.js';
|
|
2
|
+
import type { IPersonaDefinition } from '../../cognition/substrate/personas/IPersonaDefinition.js';
|
|
3
3
|
/**
|
|
4
4
|
* Normalises undefined cost fields so downstream consumers always receive a fully shaped usage object.
|
|
5
5
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AgentOSInput } from '../../api/types/AgentOSInput';
|
|
2
|
-
import type { WorkflowDefinition, WorkflowDescriptorPayload, WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus } from './WorkflowTypes';
|
|
3
|
-
import type { WorkflowQueryOptions, IWorkflowStore, WorkflowTaskUpdate } from './storage/IWorkflowStore';
|
|
4
|
-
import type { ILogger } from '../../core/logging/ILogger';
|
|
1
|
+
import type { AgentOSInput } from '../../api/types/AgentOSInput.js';
|
|
2
|
+
import type { WorkflowDefinition, WorkflowDescriptorPayload, WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus } from './WorkflowTypes.js';
|
|
3
|
+
import type { WorkflowQueryOptions, IWorkflowStore, WorkflowTaskUpdate } from './storage/IWorkflowStore.js';
|
|
4
|
+
import type { ILogger } from '../../core/logging/ILogger.js';
|
|
5
5
|
export interface WorkflowEngineConfig {
|
|
6
6
|
maxConcurrentWorkflows?: number;
|
|
7
7
|
defaultWorkflowTimeoutSeconds?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WorkflowDefinition, WorkflowDescriptorPayload, WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus } from './WorkflowTypes';
|
|
2
|
-
import type { WorkflowQueryOptions, WorkflowTaskUpdate } from './storage/IWorkflowStore';
|
|
3
|
-
import type { IWorkflowEngine, StartWorkflowOptions, WorkflowEngineConfig, WorkflowEngineDependencies, WorkflowEngineEventListener } from './IWorkflowEngine';
|
|
1
|
+
import { WorkflowDefinition, WorkflowDescriptorPayload, WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus } from './WorkflowTypes.js';
|
|
2
|
+
import type { WorkflowQueryOptions, WorkflowTaskUpdate } from './storage/IWorkflowStore.js';
|
|
3
|
+
import type { IWorkflowEngine, StartWorkflowOptions, WorkflowEngineConfig, WorkflowEngineDependencies, WorkflowEngineEventListener } from './IWorkflowEngine.js';
|
|
4
4
|
export declare class WorkflowEngine implements IWorkflowEngine {
|
|
5
5
|
private initialized;
|
|
6
6
|
private config;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONSchemaObject } from '../../core/tools/ITool';
|
|
2
|
-
import type { AgencySeatHistoryEntry } from '../../agents/agency/AgencyTypes';
|
|
1
|
+
import type { JSONSchemaObject } from '../../core/tools/ITool.js';
|
|
2
|
+
import type { AgencySeatHistoryEntry } from '../../agents/agency/AgencyTypes.js';
|
|
3
3
|
/**
|
|
4
4
|
* High-level lifecycle states for a workflow instance.
|
|
5
5
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { WorkflowEngine } from '../WorkflowEngine';
|
|
2
|
-
import type { WorkflowTaskDefinition } from '../WorkflowTypes';
|
|
3
|
-
import type { GMIManager } from '../../../cognition/substrate/GMIManager';
|
|
4
|
-
import type { StreamingManager } from '../../../core/streaming/StreamingManager';
|
|
5
|
-
import type { IToolOrchestrator } from '../../../core/tools/IToolOrchestrator';
|
|
6
|
-
import type { ILogger } from '../../../core/logging/ILogger';
|
|
7
|
-
import { AgencyRegistry } from '../../../agents/agency/AgencyRegistry';
|
|
8
|
-
import type { AgencySession } from '../../../agents/agency/AgencyTypes';
|
|
9
|
-
import type { ExtensionManager } from '../../../extensions';
|
|
1
|
+
import type { WorkflowEngine } from '../WorkflowEngine.js';
|
|
2
|
+
import type { WorkflowTaskDefinition } from '../WorkflowTypes.js';
|
|
3
|
+
import type { GMIManager } from '../../../cognition/substrate/GMIManager.js';
|
|
4
|
+
import type { StreamingManager } from '../../../core/streaming/StreamingManager.js';
|
|
5
|
+
import type { IToolOrchestrator } from '../../../core/tools/IToolOrchestrator.js';
|
|
6
|
+
import type { ILogger } from '../../../core/logging/ILogger.js';
|
|
7
|
+
import { AgencyRegistry } from '../../../agents/agency/AgencyRegistry.js';
|
|
8
|
+
import type { AgencySession } from '../../../agents/agency/AgencyTypes.js';
|
|
9
|
+
import type { ExtensionManager } from '../../../extensions/index.js';
|
|
10
10
|
/**
|
|
11
11
|
* Dependencies required to bootstrap the workflow runtime.
|
|
12
12
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus, WorkflowTaskStatus } from '../WorkflowTypes';
|
|
1
|
+
import type { WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate, WorkflowStatus, WorkflowTaskStatus } from '../WorkflowTypes.js';
|
|
2
2
|
/**
|
|
3
3
|
* Input payload used when creating a workflow instance.
|
|
4
4
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate } from '../WorkflowTypes';
|
|
2
|
-
import type { IWorkflowStore, WorkflowCreateInput, WorkflowQueryOptions, WorkflowTaskUpdate } from './IWorkflowStore';
|
|
1
|
+
import { WorkflowEvent, WorkflowInstance, WorkflowProgressUpdate } from '../WorkflowTypes.js';
|
|
2
|
+
import type { IWorkflowStore, WorkflowCreateInput, WorkflowQueryOptions, WorkflowTaskUpdate } from './IWorkflowStore.js';
|
|
3
3
|
export declare class InMemoryWorkflowStore implements IWorkflowStore {
|
|
4
4
|
private readonly instances;
|
|
5
5
|
private readonly events;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @module AgentOS/Evaluation
|
|
5
5
|
* @version 1.0.0
|
|
6
6
|
*/
|
|
7
|
-
import { IEvaluator, EvalTestCase, EvalTestResult, EvalRun, EvalConfig, EvalComparison, ScorerFunction, BuiltInScorer } from './IEvaluator';
|
|
7
|
+
import { IEvaluator, EvalTestCase, EvalTestResult, EvalRun, EvalConfig, EvalComparison, ScorerFunction, BuiltInScorer } from './IEvaluator.js';
|
|
8
8
|
/**
|
|
9
9
|
* Agent evaluation framework implementation.
|
|
10
10
|
*/
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* @module AgentOS/Evaluation
|
|
7
7
|
* @version 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
import type { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager';
|
|
10
|
-
import type { EffortLevel } from '../../core/llm/providers/model-effort';
|
|
11
|
-
import type { ScorerFunction } from './IEvaluator';
|
|
9
|
+
import type { AIModelProviderManager } from '../../core/llm/providers/AIModelProviderManager.js';
|
|
10
|
+
import type { EffortLevel } from '../../core/llm/providers/model-effort.js';
|
|
11
|
+
import type { ScorerFunction } from './IEvaluator.js';
|
|
12
12
|
/**
|
|
13
13
|
* Configuration for LLM Judge
|
|
14
14
|
*/
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module AgentOS/Evaluation
|
|
5
5
|
*/
|
|
6
|
-
export * from './IEvaluator';
|
|
7
|
-
export * from './Evaluator';
|
|
8
|
-
export * from './LLMJudge';
|
|
9
|
-
export * from './wordErrorRate';
|
|
6
|
+
export * from './IEvaluator.js';
|
|
7
|
+
export * from './Evaluator.js';
|
|
8
|
+
export * from './LLMJudge.js';
|
|
9
|
+
export * from './wordErrorRate.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @module AgentOS/Observability
|
|
5
5
|
* @version 1.0.0
|
|
6
6
|
*/
|
|
7
|
-
import type { ITracer, ISpan, ISpanExporter, TraceContext, SpanOptions, ExportedSpan, TracerStats } from './ITracer';
|
|
7
|
+
import type { ITracer, ISpan, ISpanExporter, TraceContext, SpanOptions, ExportedSpan, TracerStats } from './ITracer.js';
|
|
8
8
|
/**
|
|
9
9
|
* Simple console exporter for development.
|
|
10
10
|
*/
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module AgentOS/Observability
|
|
5
5
|
*/
|
|
6
|
-
export type { ITracer, ISpan, ISpanExporter, TraceContext, SpanOptions, SpanKind, SpanStatus, SpanAttributes, SpanEvent, SpanLink, ExportedSpan, TracerStats, AttributeValue, } from './ITracer';
|
|
7
|
-
export { formatTraceId, SemanticAttributes } from './ITracer';
|
|
8
|
-
export { Tracer, ConsoleSpanExporter, InMemorySpanExporter, type TracerConfig, } from './Tracer';
|
|
9
|
-
export type { AgentOSObservabilityConfig, AgentOSObservabilityState, ActiveTraceMetadata } from './otel';
|
|
10
|
-
export { configureAgentOSObservability, getAgentOSObservabilityState, isAgentOSTracingEnabled, shouldIncludeTraceIdsInAgentOSLogs, shouldIncludeTraceInAgentOSResponses, startAgentOSSpan, runWithSpanContext, withAgentOSSpan, recordExceptionOnActiveSpan, getActiveSpanContext, getActiveTraceMetadata, } from './otel';
|
|
6
|
+
export type { ITracer, ISpan, ISpanExporter, TraceContext, SpanOptions, SpanKind, SpanStatus, SpanAttributes, SpanEvent, SpanLink, ExportedSpan, TracerStats, AttributeValue, } from './ITracer.js';
|
|
7
|
+
export { formatTraceId, SemanticAttributes } from './ITracer.js';
|
|
8
|
+
export { Tracer, ConsoleSpanExporter, InMemorySpanExporter, type TracerConfig, } from './Tracer.js';
|
|
9
|
+
export type { AgentOSObservabilityConfig, AgentOSObservabilityState, ActiveTraceMetadata } from './otel.js';
|
|
10
|
+
export { configureAgentOSObservability, getAgentOSObservabilityState, isAgentOSTracingEnabled, shouldIncludeTraceIdsInAgentOSLogs, shouldIncludeTraceInAgentOSResponses, startAgentOSSpan, runWithSpanContext, withAgentOSSpan, recordExceptionOnActiveSpan, getActiveSpanContext, getActiveTraceMetadata, } from './otel.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
* }
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
import type { AgentOSResponse } from '../../api/types/AgentOSResponse';
|
|
32
|
-
import type { GuardrailContext, GuardrailEvaluationResult, IGuardrailService } from './IGuardrailService';
|
|
31
|
+
import type { AgentOSResponse } from '../../api/types/AgentOSResponse.js';
|
|
32
|
+
import type { GuardrailContext, GuardrailEvaluationResult, IGuardrailService } from './IGuardrailService.js';
|
|
33
33
|
/**
|
|
34
34
|
* Payload for cross-agent output evaluation.
|
|
35
35
|
*
|