@framers/agentos 0.15.63 → 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 +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 +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
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* @module backend/agentos/core/llm/providers/implementations/TogetherProvider
|
|
10
10
|
* @implements {IProvider}
|
|
11
11
|
*/
|
|
12
|
-
import { IProvider, ChatMessage, ModelCompletionOptions, ModelCompletionResponse, ModelInfo, ProviderEmbeddingOptions, ProviderEmbeddingResponse } from '../IProvider';
|
|
13
|
-
import { type OpenAIProviderConfig } from './OpenAIProvider';
|
|
12
|
+
import { IProvider, ChatMessage, ModelCompletionOptions, ModelCompletionResponse, ModelInfo, ProviderEmbeddingOptions, ProviderEmbeddingResponse } from '../IProvider.js';
|
|
13
|
+
import { type OpenAIProviderConfig } from './OpenAIProvider.js';
|
|
14
14
|
/**
|
|
15
15
|
* Configuration for the TogetherProvider.
|
|
16
16
|
*
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* @module backend/agentos/core/llm/providers/implementations/XAIProvider
|
|
10
10
|
* @implements {IProvider}
|
|
11
11
|
*/
|
|
12
|
-
import { IProvider, ChatMessage, ModelCompletionOptions, ModelCompletionResponse, ModelInfo, ProviderEmbeddingOptions, ProviderEmbeddingResponse } from '../IProvider';
|
|
13
|
-
import { type OpenAIProviderConfig } from './OpenAIProvider';
|
|
12
|
+
import { IProvider, ChatMessage, ModelCompletionOptions, ModelCompletionResponse, ModelInfo, ProviderEmbeddingOptions, ProviderEmbeddingResponse } from '../IProvider.js';
|
|
13
|
+
import { type OpenAIProviderConfig } from './OpenAIProvider.js';
|
|
14
14
|
/**
|
|
15
15
|
* Configuration for the XAIProvider.
|
|
16
16
|
*
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* free models; https://openrouter.ai/docs/api-reference/limits, read
|
|
10
10
|
* 19 October 2026), so the probe must go to a model with a price.
|
|
11
11
|
*/
|
|
12
|
-
import type { ModelInfo } from '../IProvider';
|
|
12
|
+
import type { ModelInfo } from '../IProvider.js';
|
|
13
13
|
/**
|
|
14
14
|
* The cheapest chat model of a catalog that lists a price above zero, by its
|
|
15
15
|
* listed input and output prices together. A model with either price missing,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* to more sophisticated LLM-driven or learning-based routing systems.
|
|
10
10
|
* @module backend/agentos/core/llm/routing/IModelRouter
|
|
11
11
|
*/
|
|
12
|
-
import { IProvider, ModelInfo } from '../providers/IProvider';
|
|
13
|
-
import { IPersonaDefinition } from '../../../cognition/substrate/personas/IPersonaDefinition';
|
|
14
|
-
import type { ISubscriptionTier } from '../../types/auth';
|
|
12
|
+
import { IProvider, ModelInfo } from '../providers/IProvider.js';
|
|
13
|
+
import { IPersonaDefinition } from '../../../cognition/substrate/personas/IPersonaDefinition.js';
|
|
14
|
+
import type { ISubscriptionTier } from '../../types/auth.js';
|
|
15
15
|
/**
|
|
16
16
|
* Parameters provided to the model router to aid in its selection process.
|
|
17
17
|
* This context allows the router to make informed decisions.
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* @module backend/agentos/core/llm/routing/ModelRouter
|
|
12
12
|
* @implements {IModelRouter}
|
|
13
13
|
*/
|
|
14
|
-
import { IModelRouter, ModelRouteParams, ModelRouteResult } from './IModelRouter';
|
|
15
|
-
import { ModelInfo } from '../providers/IProvider';
|
|
16
|
-
import { AIModelProviderManager } from '../providers/AIModelProviderManager';
|
|
14
|
+
import { IModelRouter, ModelRouteParams, ModelRouteResult } from './IModelRouter.js';
|
|
15
|
+
import { ModelInfo } from '../providers/IProvider.js';
|
|
16
|
+
import { AIModelProviderManager } from '../providers/AIModelProviderManager.js';
|
|
17
17
|
/**
|
|
18
18
|
* Custom error class for ModelRouter specific operational errors.
|
|
19
19
|
* @class ModelRouterError
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module core/llm/routing/PolicyAwareRouter
|
|
12
12
|
*/
|
|
13
|
-
import type { IModelRouter, ModelRouteParams, ModelRouteResult } from './IModelRouter';
|
|
14
|
-
import type { ModelInfo } from '../providers/IProvider';
|
|
15
|
-
import type { UncensoredModelCatalog, PolicyTier } from './UncensoredModelCatalog';
|
|
13
|
+
import type { IModelRouter, ModelRouteParams, ModelRouteResult } from './IModelRouter.js';
|
|
14
|
+
import type { ModelInfo } from '../providers/IProvider.js';
|
|
15
|
+
import type { UncensoredModelCatalog, PolicyTier } from './UncensoredModelCatalog.js';
|
|
16
16
|
/**
|
|
17
17
|
* Manual override map: policyTier -> fixed modelId.
|
|
18
18
|
* When provided, bypasses catalog lookup for the specified tier.
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This is an optional optimization layer. Consumers requiring raw per-token latency should bypass batching.
|
|
26
26
|
*/
|
|
27
|
-
import { ModelCompletionResponse } from '../providers/IProvider';
|
|
27
|
+
import { ModelCompletionResponse } from '../providers/IProvider.js';
|
|
28
28
|
/** Configuration options for StreamingBatcher. */
|
|
29
29
|
export interface StreamingBatcherOptions {
|
|
30
30
|
/** Max wall-clock latency before forcing a flush (milliseconds). */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* This module centralizes reconstruction logic so UI code, tests, and higher-level orchestration
|
|
11
11
|
* avoid duplicating fragile merge routines.
|
|
12
12
|
*/
|
|
13
|
-
import { ModelCompletionResponse } from '../providers/IProvider';
|
|
13
|
+
import { ModelCompletionResponse } from '../providers/IProvider.js';
|
|
14
14
|
/** Reconstructed tool call structure after merging streamed argument deltas. */
|
|
15
15
|
export interface ReconstructedToolCall {
|
|
16
16
|
index: number;
|
|
@@ -56,7 +56,7 @@ export declare class StreamingReconstructor {
|
|
|
56
56
|
/** Final chunk if received. */
|
|
57
57
|
getFinalChunk(): ModelCompletionResponse | undefined;
|
|
58
58
|
/** Aggregate usage only reliable after final chunk. */
|
|
59
|
-
getUsage(): import("../providers/IProvider").ModelUsage | undefined;
|
|
59
|
+
getUsage(): import("../providers/IProvider.js").ModelUsage | undefined;
|
|
60
60
|
/** Error if surfaced on final chunk. */
|
|
61
61
|
getError(): {
|
|
62
62
|
message: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Logger, LoggerOptions } from 'pino';
|
|
2
|
-
import { ILogger } from './ILogger';
|
|
2
|
+
import { ILogger } from './ILogger.js';
|
|
3
3
|
/**
|
|
4
4
|
* An {@link ILogger} on pino: structured JSON records, trace ids in their fields when configured, and an optional
|
|
5
5
|
* OpenTelemetry copy of each record. While content-safe telemetry is on (`enableContentSafeTelemetry`), each record
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Bridges the push-based StreamingManager to a pull-based AsyncGenerator
|
|
5
5
|
* consumable by AgentOS.processRequest and similar facades.
|
|
6
6
|
*/
|
|
7
|
-
import type { IStreamClient, StreamClientId } from './IStreamClient';
|
|
8
|
-
import type { AgentOSResponse } from '../../api/types/AgentOSResponse';
|
|
7
|
+
import type { IStreamClient, StreamClientId } from './IStreamClient.js';
|
|
8
|
+
import type { AgentOSResponse } from '../../api/types/AgentOSResponse.js';
|
|
9
9
|
/**
|
|
10
10
|
* Acts as an IStreamClient to bridge push-based data flow from StreamingManager
|
|
11
11
|
* to a pull-based AsyncGenerator. Queues incoming chunks and uses promises to
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module backend/core/streaming/IStreamClient
|
|
9
9
|
*/
|
|
10
|
-
import { AgentOSResponse } from '../../api/types/AgentOSResponse';
|
|
10
|
+
import { AgentOSResponse } from '../../api/types/AgentOSResponse.js';
|
|
11
11
|
/**
|
|
12
12
|
* Represents a unique identifier for a stream client.
|
|
13
13
|
* This could be a WebSocket connection ID, a unique user session sub-ID, etc.
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @see ./IStreamClient.ts For the client contract.
|
|
9
9
|
* @see ../../api/types/AgentOSResponse.ts For the data chunk structure.
|
|
10
10
|
*/
|
|
11
|
-
import { AgentOSResponse } from '../../api/types/AgentOSResponse';
|
|
12
|
-
import { IStreamClient, StreamClientId } from './IStreamClient';
|
|
11
|
+
import { AgentOSResponse } from '../../api/types/AgentOSResponse.js';
|
|
12
|
+
import { IStreamClient, StreamClientId } from './IStreamClient.js';
|
|
13
13
|
import { GMIError, GMIErrorCode } from '../utils/errors.js';
|
|
14
14
|
/**
|
|
15
15
|
* Represents a unique identifier for a data stream.
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module backend/agentos/core/tools/ITool
|
|
8
8
|
*/
|
|
9
|
-
import { UserContext } from '../../cognition/substrate/IGMI';
|
|
10
|
-
import type { CallerTurnContext } from '../../api/runtime/agencyLaunch/types';
|
|
9
|
+
import { UserContext } from '../../cognition/substrate/IGMI.js';
|
|
10
|
+
import type { CallerTurnContext } from '../../api/runtime/agencyLaunch/types.js';
|
|
11
11
|
/**
|
|
12
12
|
* Represents a JSON schema definition.
|
|
13
13
|
* This type is used to define the expected structure for tool inputs and outputs,
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* @see ../config/ToolOrchestratorConfig.ts
|
|
11
11
|
* @see ../cognitive_substrate/IGMI.ts for ToolCallRequest, ToolCallResult, UserContext
|
|
12
12
|
*/
|
|
13
|
-
import { ITool, JSONSchemaObject } from './ITool';
|
|
14
|
-
import { IToolPermissionManager } from './permissions/IToolPermissionManager';
|
|
15
|
-
import { ToolExecutor, ToolExecutionRequestDetails } from './ToolExecutor';
|
|
16
|
-
import { ToolOrchestratorConfig } from '../config/ToolOrchestratorConfig';
|
|
17
|
-
import { ToolCallResult, UserContext } from '../../cognition/substrate/IGMI';
|
|
18
|
-
import type { IHumanInteractionManager } from '../../orchestration/hitl/IHumanInteractionManager';
|
|
19
|
-
import type { CapabilityDiscoveryResult } from '../../cognition/discovery/types';
|
|
13
|
+
import { ITool, JSONSchemaObject } from './ITool.js';
|
|
14
|
+
import { IToolPermissionManager } from './permissions/IToolPermissionManager.js';
|
|
15
|
+
import { ToolExecutor, ToolExecutionRequestDetails } from './ToolExecutor.js';
|
|
16
|
+
import { ToolOrchestratorConfig } from '../config/ToolOrchestratorConfig.js';
|
|
17
|
+
import { ToolCallResult, UserContext } from '../../cognition/substrate/IGMI.js';
|
|
18
|
+
import type { IHumanInteractionManager } from '../../orchestration/hitl/IHumanInteractionManager.js';
|
|
19
|
+
import type { CapabilityDiscoveryResult } from '../../cognition/discovery/types.js';
|
|
20
20
|
import type { EmergentConfig, EmergentTool } from '../../cognition/emergent/types.js';
|
|
21
21
|
import type { EmergentCapabilityEngine } from '../../cognition/emergent/EmergentCapabilityEngine.js';
|
|
22
22
|
import type { SelfImprovementToolDeps } from '../../cognition/emergent/EmergentCapabilityEngine.js';
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* @see ../cognitive_substrate/IGMI.ts for ToolCallRequest, UserContext.
|
|
10
10
|
* @see @framers/agentos/utils/errors.ts for GMIError, GMIErrorCode, createGMIErrorFromError.
|
|
11
11
|
*/
|
|
12
|
-
import { ITool, ToolExecutionResult } from './ITool';
|
|
13
|
-
import { ToolCallRequest, UserContext } from '../../cognition/substrate/IGMI';
|
|
14
|
-
import type { IAuthService, ISubscriptionService } from '../types/auth';
|
|
15
|
-
import { ExtensionRegistry } from '../../extensions';
|
|
12
|
+
import { ITool, ToolExecutionResult } from './ITool.js';
|
|
13
|
+
import { ToolCallRequest, UserContext } from '../../cognition/substrate/IGMI.js';
|
|
14
|
+
import type { IAuthService, ISubscriptionService } from '../types/auth.js';
|
|
15
|
+
import { ExtensionRegistry } from '../../extensions/index.js';
|
|
16
16
|
import type { CallerTurnContext } from '../../api/runtime/agencyLaunch/types.js';
|
|
17
17
|
/**
|
|
18
18
|
* @interface ToolExecutionRequestDetails
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
* @see ../../config/ToolOrchestratorConfig.ts for configuration options.
|
|
27
27
|
* @see ../../cognitive_substrate/IGMI.ts for GMI-related types like ToolCallRequest, ToolCallResult, UserContext.
|
|
28
28
|
*/
|
|
29
|
-
import { IToolOrchestrator, ToolDefinitionForLLM } from './IToolOrchestrator';
|
|
30
|
-
import { ITool } from './ITool';
|
|
31
|
-
import { IToolPermissionManager } from './permissions/IToolPermissionManager';
|
|
32
|
-
import { ToolExecutor, ToolExecutionRequestDetails } from './ToolExecutor';
|
|
33
|
-
import { ToolOrchestratorConfig } from '../config/ToolOrchestratorConfig';
|
|
34
|
-
import { ToolCallResult, UserContext } from '../../cognition/substrate/IGMI';
|
|
35
|
-
import type { IHumanInteractionManager } from '../../orchestration/hitl/IHumanInteractionManager';
|
|
29
|
+
import { IToolOrchestrator, ToolDefinitionForLLM } from './IToolOrchestrator.js';
|
|
30
|
+
import { ITool } from './ITool.js';
|
|
31
|
+
import { IToolPermissionManager } from './permissions/IToolPermissionManager.js';
|
|
32
|
+
import { ToolExecutor, ToolExecutionRequestDetails } from './ToolExecutor.js';
|
|
33
|
+
import { ToolOrchestratorConfig } from '../config/ToolOrchestratorConfig.js';
|
|
34
|
+
import { ToolCallResult, UserContext } from '../../cognition/substrate/IGMI.js';
|
|
35
|
+
import type { IHumanInteractionManager } from '../../orchestration/hitl/IHumanInteractionManager.js';
|
|
36
36
|
import type { EmergentConfig, EmergentTool } from '../../cognition/emergent/types.js';
|
|
37
37
|
import { EmergentCapabilityEngine } from '../../cognition/emergent/EmergentCapabilityEngine.js';
|
|
38
38
|
import type { IStorageAdapter as EmergentStorageAdapter } from '../../cognition/emergent/EmergentToolRegistry.js';
|
|
@@ -167,7 +167,7 @@ export declare class ToolOrchestrator implements IToolOrchestrator {
|
|
|
167
167
|
* This dramatically reduces the tool list sent to the LLM,
|
|
168
168
|
* preventing context rot from unused tool schemas.
|
|
169
169
|
*/
|
|
170
|
-
listDiscoveredTools(discoveryResult: import('../../cognition/discovery/types').CapabilityDiscoveryResult, context?: {
|
|
170
|
+
listDiscoveredTools(discoveryResult: import('../../cognition/discovery/types.js').CapabilityDiscoveryResult, context?: {
|
|
171
171
|
personaId?: string;
|
|
172
172
|
personaCapabilities?: string[];
|
|
173
173
|
userContext?: UserContext;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* @see ../cognitive_substrate/IGMI.ts for UserContext.
|
|
9
9
|
* @see ../../../types/auth.ts for authentication and subscription type definitions.
|
|
10
10
|
*/
|
|
11
|
-
import { ITool } from '../ITool';
|
|
12
|
-
import { UserContext } from '../../../cognition/substrate/IGMI';
|
|
13
|
-
import type { IAuthService, ISubscriptionService } from '../../types/auth';
|
|
11
|
+
import { ITool } from '../ITool.js';
|
|
12
|
+
import { UserContext } from '../../../cognition/substrate/IGMI.js';
|
|
13
|
+
import type { IAuthService, ISubscriptionService } from '../../types/auth.js';
|
|
14
14
|
/**
|
|
15
15
|
* @interface FeatureFlag
|
|
16
16
|
* @description Defines the structure for a feature flag, used to gate access to tools
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
* See `ISubscriptionService` and `ISubscriptionTier` in `types/auth`.
|
|
42
42
|
* See `GMIError` and `GMIErrorCode` in `@framers/agentos/utils/errors`.
|
|
43
43
|
*/
|
|
44
|
-
import { IToolPermissionManager, PermissionCheckContext, PermissionCheckResult, ToolPermissionManagerConfig, FeatureFlag } from './IToolPermissionManager';
|
|
45
|
-
import type { IAuthService, ISubscriptionService } from '../../types/auth';
|
|
44
|
+
import { IToolPermissionManager, PermissionCheckContext, PermissionCheckResult, ToolPermissionManagerConfig, FeatureFlag } from './IToolPermissionManager.js';
|
|
45
|
+
import type { IAuthService, ISubscriptionService } from '../../types/auth.js';
|
|
46
46
|
/**
|
|
47
47
|
* @class ToolPermissionManager
|
|
48
48
|
* @implements {IToolPermissionManager}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* 3. Query Flexibility: Summaries per session, persona, provider, model.
|
|
9
9
|
* 4. Cost Normalization: Uses `ModelUsage.costUSD` when present; can apply fallback pricing from a model catalog.
|
|
10
10
|
*/
|
|
11
|
-
import { ModelCompletionResponse, ModelUsage } from '../../llm/providers/IProvider';
|
|
11
|
+
import { ModelCompletionResponse, ModelUsage } from '../../llm/providers/IProvider.js';
|
|
12
12
|
/** Canonical key dimensions tracked for each usage record. */
|
|
13
13
|
export interface UsageDimensions {
|
|
14
14
|
sessionId: string;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* @see ./IVectorStore.ts for the underlying vector store interface.
|
|
10
10
|
* @see ../../config/VectorStoreConfiguration.ts for the `VectorStoreManagerConfig` structure.
|
|
11
11
|
*/
|
|
12
|
-
import { IVectorStore } from './IVectorStore';
|
|
13
|
-
import { VectorStoreManagerConfig, RagDataSourceConfig } from '../config/VectorStoreConfiguration';
|
|
12
|
+
import { IVectorStore } from './IVectorStore.js';
|
|
13
|
+
import { VectorStoreManagerConfig, RagDataSourceConfig } from '../config/VectorStoreConfiguration.js';
|
|
14
14
|
/**
|
|
15
15
|
* Represents the health status of managed vector store providers.
|
|
16
16
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Extension Registry Loader
|
|
3
3
|
* Automatically discovers and loads extensions from npm and local registry
|
|
4
4
|
*/
|
|
5
|
-
import { ExtensionManager } from './ExtensionManager';
|
|
6
|
-
import { ExtensionPack } from './manifest';
|
|
5
|
+
import { ExtensionManager } from './ExtensionManager.js';
|
|
6
|
+
import { ExtensionPack } from './manifest.js';
|
|
7
7
|
/**
|
|
8
8
|
* npm package-name grammar (the install-relevant subset of npm's
|
|
9
9
|
* validate-npm-package-name). A name that passes contains no shell
|
|
@@ -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
|