@framers/agentos 0.7.5 → 0.7.7
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/README.md +21 -1
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/agent.js +5 -7
- package/dist/api/agent.js.map +1 -1
- package/dist/cognition/memory/retrieval/graph/graphrag/Neo4jGraphRAGEngine.d.ts +1 -1
- package/dist/cognition/memory/retrieval/graph/graphrag/Neo4jGraphRAGEngine.js +1 -1
- package/dist/cognition/rag/RetrievalAugmentor.d.ts +1 -1
- package/dist/cognition/rag/RetrievalAugmentor.js +1 -1
- package/dist/cognition/rag/audit/RAGAuditCollector.d.ts +1 -1
- package/dist/cognition/rag/audit/RAGAuditCollector.js +1 -1
- package/dist/cognition/rag/audit/RAGAuditTypes.d.ts +1 -1
- package/dist/cognition/rag/audit/RAGAuditTypes.js +1 -1
- package/dist/cognition/rag/audit/index.d.ts +1 -1
- package/dist/cognition/rag/audit/index.js +1 -1
- package/dist/cognition/rag/index.d.ts +2 -2
- package/dist/cognition/rag/index.js +2 -2
- package/dist/cognition/rag/multimodal/MultimodalIndexer.d.ts +1 -1
- package/dist/cognition/rag/multimodal/MultimodalIndexer.js +1 -1
- package/dist/cognition/rag/multimodal/index.d.ts +1 -1
- package/dist/cognition/rag/multimodal/index.js +1 -1
- package/dist/cognition/rag/reranking/index.d.ts +3 -3
- package/dist/cognition/rag/reranking/index.js +3 -3
- package/dist/cognition/rag/reranking/providers/index.d.ts +1 -1
- package/dist/cognition/rag/reranking/providers/index.js +1 -1
- package/dist/cognition/rag/unified/UnifiedRetriever.d.ts +1 -2
- package/dist/cognition/rag/unified/UnifiedRetriever.d.ts.map +1 -1
- package/dist/cognition/rag/unified/UnifiedRetriever.js +1 -2
- package/dist/cognition/rag/unified/UnifiedRetriever.js.map +1 -1
- package/dist/cognition/rag/unified/index.d.ts +1 -1
- package/dist/cognition/rag/unified/index.js +1 -1
- package/dist/cognition/rag/vector_stores/Neo4jVectorStore.d.ts +1 -1
- package/dist/cognition/rag/vector_stores/Neo4jVectorStore.js +1 -1
- package/dist/cognition/rag/vector_stores/QdrantVectorStore.d.ts +1 -1
- package/dist/cognition/rag/vector_stores/QdrantVectorStore.js +1 -1
- package/dist/cognition/rag/vector_stores/SqlVectorStore.d.ts +1 -1
- package/dist/cognition/rag/vector_stores/SqlVectorStore.js +1 -1
- package/dist/cognition/rag/vector_stores/index.d.ts +1 -1
- package/dist/cognition/rag/vector_stores/index.js +1 -1
- package/dist/cognition/skills/SkillLoader.d.ts +1 -1
- package/dist/cognition/skills/SkillLoader.js +1 -1
- package/dist/cognition/skills/SkillRegistry.d.ts +1 -1
- package/dist/cognition/skills/SkillRegistry.js +1 -1
- package/dist/cognition/skills/index.d.ts +2 -2
- package/dist/cognition/skills/index.js +2 -2
- package/dist/cognition/skills/paths.d.ts +1 -1
- package/dist/cognition/skills/paths.js +1 -1
- package/dist/cognition/skills/types.d.ts +1 -1
- package/dist/cognition/skills/types.js +1 -1
- package/dist/cognition/substrate/GMIEvent.d.ts +1 -1
- package/dist/cognition/substrate/GMIEvent.js +1 -1
- package/dist/cognition/substrate/personas/metaprompt_presets.d.ts +1 -1
- package/dist/cognition/substrate/personas/metaprompt_presets.js +1 -1
- package/dist/cognition/web-search/index.d.ts +2 -2
- package/dist/cognition/web-search/index.js +2 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/io/channels/telephony/index.d.ts +1 -1
- package/dist/io/channels/telephony/index.js +1 -1
- package/dist/io/vision/SceneDetector.d.ts +2 -2
- package/dist/io/vision/SceneDetector.js +2 -2
- package/dist/io/vision/index.d.ts +1 -1
- package/dist/io/vision/index.js +1 -1
- package/dist/io/vision/providers/LLMVisionProvider.d.ts +1 -1
- package/dist/io/vision/providers/LLMVisionProvider.js +1 -1
- package/dist/io/vision/providers/PipelineVisionProvider.d.ts +2 -2
- package/dist/io/vision/providers/PipelineVisionProvider.js +2 -2
- package/dist/io/voice-pipeline/WebRTCStreamTransport.d.ts +1 -1
- package/dist/io/voice-pipeline/WebRTCStreamTransport.js +1 -1
- package/dist/io/voice-pipeline/index.d.ts +2 -2
- package/dist/io/voice-pipeline/index.js +2 -2
- package/dist/io/voice-pipeline/providers/AgentSessionVoiceAdapter.d.ts +1 -1
- package/dist/io/voice-pipeline/providers/AgentSessionVoiceAdapter.js +1 -1
- package/dist/orchestration/pipeline/index.d.ts +3 -3
- package/dist/orchestration/pipeline/index.js +3 -3
- package/knowledge/platform-corpus.json +1 -1
- package/package.json +7 -77
- package/dist/_aliases/cognitive-pipeline.d.ts +0 -2
- package/dist/_aliases/cognitive-pipeline.d.ts.map +0 -1
- package/dist/_aliases/cognitive-pipeline.js +0 -4
- package/dist/_aliases/cognitive-pipeline.js.map +0 -1
- package/dist/_aliases/cognitive_substrate-IGMI.d.ts +0 -2
- package/dist/_aliases/cognitive_substrate-IGMI.d.ts.map +0 -1
- package/dist/_aliases/cognitive_substrate-IGMI.js +0 -4
- package/dist/_aliases/cognitive_substrate-IGMI.js.map +0 -1
- package/dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.d.ts +0 -2
- package/dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.d.ts.map +0 -1
- package/dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.js +0 -4
- package/dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.js.map +0 -1
- package/dist/_aliases/cognitive_substrate-personas-PersonaLoader.d.ts +0 -2
- package/dist/_aliases/cognitive_substrate-personas-PersonaLoader.d.ts.map +0 -1
- package/dist/_aliases/cognitive_substrate-personas-PersonaLoader.js +0 -4
- package/dist/_aliases/cognitive_substrate-personas-PersonaLoader.js.map +0 -1
- package/dist/_aliases/core-embeddings-IEmbeddingManager.d.ts +0 -2
- package/dist/_aliases/core-embeddings-IEmbeddingManager.d.ts.map +0 -1
- package/dist/_aliases/core-embeddings-IEmbeddingManager.js +0 -4
- package/dist/_aliases/core-embeddings-IEmbeddingManager.js.map +0 -1
- package/dist/_aliases/core-vector-store-IVectorStore.d.ts +0 -2
- package/dist/_aliases/core-vector-store-IVectorStore.d.ts.map +0 -1
- package/dist/_aliases/core-vector-store-IVectorStore.js +0 -4
- package/dist/_aliases/core-vector-store-IVectorStore.js.map +0 -1
- package/dist/_aliases/media-avatar.d.ts +0 -2
- package/dist/_aliases/media-avatar.d.ts.map +0 -1
- package/dist/_aliases/media-avatar.js +0 -4
- package/dist/_aliases/media-avatar.js.map +0 -1
- package/dist/_aliases/media-images-face-IFaceEmbeddingService.d.ts +0 -2
- package/dist/_aliases/media-images-face-IFaceEmbeddingService.d.ts.map +0 -1
- package/dist/_aliases/media-images-face-IFaceEmbeddingService.js +0 -4
- package/dist/_aliases/media-images-face-IFaceEmbeddingService.js.map +0 -1
- package/dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.d.ts +0 -2
- package/dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.d.ts.map +0 -1
- package/dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.js +0 -4
- package/dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.js.map +0 -1
- package/dist/_aliases/rag-reranking.d.ts +0 -2
- package/dist/_aliases/rag-reranking.d.ts.map +0 -1
- package/dist/_aliases/rag-reranking.js +0 -4
- package/dist/_aliases/rag-reranking.js.map +0 -1
- package/dist/_aliases/rag.d.ts +0 -2
- package/dist/_aliases/rag.d.ts.map +0 -1
- package/dist/_aliases/rag.js +0 -4
- package/dist/_aliases/rag.js.map +0 -1
- package/dist/_aliases/skills.d.ts +0 -2
- package/dist/_aliases/skills.d.ts.map +0 -1
- package/dist/_aliases/skills.js +0 -4
- package/dist/_aliases/skills.js.map +0 -1
- package/dist/_aliases/telephony.d.ts +0 -2
- package/dist/_aliases/telephony.d.ts.map +0 -1
- package/dist/_aliases/telephony.js +0 -4
- package/dist/_aliases/telephony.js.map +0 -1
- package/dist/_aliases/vision.d.ts +0 -2
- package/dist/_aliases/vision.d.ts.map +0 -1
- package/dist/_aliases/vision.js +0 -4
- package/dist/_aliases/vision.js.map +0 -1
- package/dist/_aliases/voice-pipeline.d.ts +0 -2
- package/dist/_aliases/voice-pipeline.d.ts.map +0 -1
- package/dist/_aliases/voice-pipeline.js +0 -4
- package/dist/_aliases/voice-pipeline.js.map +0 -1
- package/dist/_aliases/warn.d.ts +0 -2
- package/dist/_aliases/warn.d.ts.map +0 -1
- package/dist/_aliases/warn.js +0 -19
- package/dist/_aliases/warn.js.map +0 -1
- package/dist/_aliases/web-search.d.ts +0 -2
- package/dist/_aliases/web-search.d.ts.map +0 -1
- package/dist/_aliases/web-search.js +0 -4
- package/dist/_aliases/web-search.js.map +0 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - This implementation uses `fetch` for runtime portability (Node 18+, browser, edge runtimes).
|
|
16
16
|
* - Text content is stored in payload under a reserved key to support `includeTextContent`.
|
|
17
17
|
*
|
|
18
|
-
* @module @framers/agentos/rag/vector_stores/QdrantVectorStore
|
|
18
|
+
* @module @framers/agentos/cognition/rag/vector_stores/QdrantVectorStore
|
|
19
19
|
* @see ../../IVectorStore.ts for the interface definition.
|
|
20
20
|
*/
|
|
21
21
|
import type { IVectorStore, VectorStoreProviderConfig, VectorDocument, QueryOptions, QueryResult, UpsertOptions, UpsertResult, DeleteOptions, DeleteResult, CreateCollectionOptions, MetadataScanOptions, MetadataScanResult } from '../IVectorStore.js';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - This implementation uses `fetch` for runtime portability (Node 18+, browser, edge runtimes).
|
|
16
16
|
* - Text content is stored in payload under a reserved key to support `includeTextContent`.
|
|
17
17
|
*
|
|
18
|
-
* @module @framers/agentos/rag/vector_stores/QdrantVectorStore
|
|
18
|
+
* @module @framers/agentos/cognition/rag/vector_stores/QdrantVectorStore
|
|
19
19
|
* @see ../../IVectorStore.ts for the interface definition.
|
|
20
20
|
*/
|
|
21
21
|
import { GMIError, GMIErrorCode } from '../../../core/utils/errors.js';
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* Database (SQLite/PostgreSQL/IndexedDB/etc.)
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
* @module @framers/agentos/rag/vector_stores/SqlVectorStore
|
|
28
|
+
* @module @framers/agentos/cognition/rag/vector_stores/SqlVectorStore
|
|
29
29
|
* @see ../../IVectorStore.ts for the interface definition.
|
|
30
30
|
* @see @framers/sql-storage-adapter for storage abstraction.
|
|
31
31
|
*/
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* Database (SQLite/PostgreSQL/IndexedDB/etc.)
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
* @module @framers/agentos/rag/vector_stores/SqlVectorStore
|
|
28
|
+
* @module @framers/agentos/cognition/rag/vector_stores/SqlVectorStore
|
|
29
29
|
* @see ../../IVectorStore.ts for the interface definition.
|
|
30
30
|
* @see @framers/sql-storage-adapter for storage abstraction.
|
|
31
31
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This module exports all available vector store implementations for AgentOS RAG.
|
|
5
5
|
*
|
|
6
|
-
* @module @framers/agentos/rag/vector_stores
|
|
6
|
+
* @module @framers/agentos/cognition/rag/vector_stores
|
|
7
7
|
*/
|
|
8
8
|
export { InMemoryVectorStore } from './InMemoryVectorStore.js';
|
|
9
9
|
export { SqlVectorStore, type SqlVectorStoreConfig } from './SqlVectorStore.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This module exports all available vector store implementations for AgentOS RAG.
|
|
5
5
|
*
|
|
6
|
-
* @module @framers/agentos/rag/vector_stores
|
|
6
|
+
* @module @framers/agentos/cognition/rag/vector_stores
|
|
7
7
|
*/
|
|
8
8
|
// In-memory vector store (development/testing)
|
|
9
9
|
export { InMemoryVectorStore } from './InMemoryVectorStore.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skill Loader for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/SkillLoader
|
|
3
|
+
* @module @framers/agentos/cognition/skills/SkillLoader
|
|
4
4
|
*
|
|
5
5
|
* Loads skills from directories by parsing SKILL.md files with YAML frontmatter.
|
|
6
6
|
* Skills are modular capabilities that extend agent functionality.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skill Loader for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/SkillLoader
|
|
3
|
+
* @module @framers/agentos/cognition/skills/SkillLoader
|
|
4
4
|
*
|
|
5
5
|
* Loads skills from directories by parsing SKILL.md files with YAML frontmatter.
|
|
6
6
|
* Skills are modular capabilities that extend agent functionality.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skill Registry for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/SkillRegistry
|
|
3
|
+
* @module @framers/agentos/cognition/skills/SkillRegistry
|
|
4
4
|
*
|
|
5
5
|
* Runtime registry for managing and querying loaded skills.
|
|
6
6
|
* Provides methods for registration, filtering, and building
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skill Registry for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/SkillRegistry
|
|
3
|
+
* @module @framers/agentos/cognition/skills/SkillRegistry
|
|
4
4
|
*
|
|
5
5
|
* Runtime registry for managing and querying loaded skills.
|
|
6
6
|
* Provides methods for registration, filtering, and building
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* **Ecosystem layout** (mirrors extensions):
|
|
10
10
|
* ```
|
|
11
|
-
* @framers/agentos/skills ← Engine (this module)
|
|
11
|
+
* @framers/agentos/cognition/skills ← Engine (this module)
|
|
12
12
|
* @framers/agentos-skills ← Content (88 curated SKILL.md files + registry.json)
|
|
13
13
|
* @framers/agentos-skills-registry ← Catalog SDK (query helpers, factory functions)
|
|
14
14
|
* ```
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* For the catalog SDK (searchSkills, SKILLS_CATALOG, etc.), depend on
|
|
18
18
|
* `@framers/agentos-skills-registry`.
|
|
19
19
|
*
|
|
20
|
-
* @module @framers/agentos/skills
|
|
20
|
+
* @module @framers/agentos/cognition/skills
|
|
21
21
|
*/
|
|
22
22
|
export * from './types.js';
|
|
23
23
|
export * from './SkillLoader.js';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* **Ecosystem layout** (mirrors extensions):
|
|
10
10
|
* ```
|
|
11
|
-
* @framers/agentos/skills ← Engine (this module)
|
|
11
|
+
* @framers/agentos/cognition/skills ← Engine (this module)
|
|
12
12
|
* @framers/agentos-skills ← Content (88 curated SKILL.md files + registry.json)
|
|
13
13
|
* @framers/agentos-skills-registry ← Catalog SDK (query helpers, factory functions)
|
|
14
14
|
* ```
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* For the catalog SDK (searchSkills, SKILLS_CATALOG, etc.), depend on
|
|
18
18
|
* `@framers/agentos-skills-registry`.
|
|
19
19
|
*
|
|
20
|
-
* @module @framers/agentos/skills
|
|
20
|
+
* @module @framers/agentos/cognition/skills
|
|
21
21
|
*/
|
|
22
22
|
export * from './types.js';
|
|
23
23
|
export * from './SkillLoader.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skills path helpers for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/paths
|
|
3
|
+
* @module @framers/agentos/cognition/skills/paths
|
|
4
4
|
*
|
|
5
5
|
* Provides a canonical resolver for "default" skill directories so runtimes
|
|
6
6
|
* and CLIs don't need to re-implement the same heuristics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skills path helpers for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/paths
|
|
3
|
+
* @module @framers/agentos/cognition/skills/paths
|
|
4
4
|
*
|
|
5
5
|
* Provides a canonical resolver for "default" skill directories so runtimes
|
|
6
6
|
* and CLIs don't need to re-implement the same heuristics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skills Registry Types for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/types
|
|
3
|
+
* @module @framers/agentos/cognition/skills/types
|
|
4
4
|
*
|
|
5
5
|
* Skills are modular capabilities defined in SKILL.md files with
|
|
6
6
|
* YAML frontmatter specifying metadata, requirements, and install specs.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Skills Registry Types for AgentOS
|
|
3
|
-
* @module @framers/agentos/skills/types
|
|
3
|
+
* @module @framers/agentos/cognition/skills/types
|
|
4
4
|
*
|
|
5
5
|
* Skills are modular capabilities defined in SKILL.md files with
|
|
6
6
|
* YAML frontmatter specifying metadata, requirements, and install specs.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview GMI Event System - Defines event types for triggering metaprompts
|
|
3
|
-
* @module @framers/agentos/
|
|
3
|
+
* @module @framers/agentos/cognition/substrate/GMIEvent
|
|
4
4
|
*
|
|
5
5
|
* This module provides the event infrastructure for sentiment-aware metaprompt triggering.
|
|
6
6
|
* Events are emitted based on user sentiment analysis, error patterns, and engagement metrics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview GMI Event System - Defines event types for triggering metaprompts
|
|
3
|
-
* @module @framers/agentos/
|
|
3
|
+
* @module @framers/agentos/cognition/substrate/GMIEvent
|
|
4
4
|
*
|
|
5
5
|
* This module provides the event infrastructure for sentiment-aware metaprompt triggering.
|
|
6
6
|
* Events are emitted based on user sentiment analysis, error patterns, and engagement metrics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Metaprompt Presets - Pre-configured metaprompts for common scenarios
|
|
3
|
-
* @module @framers/agentos/
|
|
3
|
+
* @module @framers/agentos/cognition/substrate/personas/metaprompt_presets
|
|
4
4
|
*
|
|
5
5
|
* Provides 5 preset metaprompt configurations that respond to user emotional states:
|
|
6
6
|
* 1. gmi_frustration_recovery - Responds to frustrated users
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Metaprompt Presets - Pre-configured metaprompts for common scenarios
|
|
3
|
-
* @module @framers/agentos/
|
|
3
|
+
* @module @framers/agentos/cognition/substrate/personas/metaprompt_presets
|
|
4
4
|
*
|
|
5
5
|
* Provides 5 preset metaprompt configurations that respond to user emotional states:
|
|
6
6
|
* 1. gmi_frustration_recovery - Responds to frustrated users
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module @framers/agentos/web-search
|
|
2
|
+
* @module @framers/agentos/cognition/web-search
|
|
3
3
|
*
|
|
4
4
|
* Multi-provider web search with RRF fusion, semantic dedup, and neural reranking.
|
|
5
5
|
* Supports Firecrawl (primary), Tavily, Serper, and Brave search providers.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```typescript
|
|
9
|
-
* import { WebSearchService, FirecrawlProvider, TavilyProvider } from '
|
|
9
|
+
* import { WebSearchService, FirecrawlProvider, TavilyProvider } from '../../cognition/web-search';
|
|
10
10
|
*
|
|
11
11
|
* const service = new WebSearchService();
|
|
12
12
|
* service.registerProvider(new FirecrawlProvider(process.env.FIRECRAWL_API_KEY!));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module @framers/agentos/web-search
|
|
2
|
+
* @module @framers/agentos/cognition/web-search
|
|
3
3
|
*
|
|
4
4
|
* Multi-provider web search with RRF fusion, semantic dedup, and neural reranking.
|
|
5
5
|
* Supports Firecrawl (primary), Tavily, Serper, and Brave search providers.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* ```typescript
|
|
9
|
-
* import { WebSearchService, FirecrawlProvider, TavilyProvider } from '
|
|
9
|
+
* import { WebSearchService, FirecrawlProvider, TavilyProvider } from '../../cognition/web-search';
|
|
10
10
|
*
|
|
11
11
|
* const service = new WebSearchService();
|
|
12
12
|
* service.registerProvider(new FirecrawlProvider(process.env.FIRECRAWL_API_KEY!));
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Barrel exports for the AgentOS voice call system.
|
|
3
3
|
*
|
|
4
|
-
* @module @framers/agentos/telephony
|
|
4
|
+
* @module @framers/agentos/io/channels/telephony
|
|
5
5
|
*/
|
|
6
6
|
export * from './types.js';
|
|
7
7
|
export type { IVoiceCallProvider, InitiateCallInput, InitiateCallResult, HangupCallInput, PlayTtsInput, StartListeningInput, StopListeningInput, } from './IVoiceCallProvider.js';
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* ## Usage
|
|
20
20
|
*
|
|
21
21
|
* ```typescript
|
|
22
|
-
* import { SceneDetector } from '
|
|
23
|
-
* import type { Frame, SceneBoundary } from '
|
|
22
|
+
* import { SceneDetector } from '../../io/vision';
|
|
23
|
+
* import type { Frame, SceneBoundary } from '../../io/vision';
|
|
24
24
|
*
|
|
25
25
|
* const detector = new SceneDetector({ hardCutThreshold: 0.3 });
|
|
26
26
|
*
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* ## Usage
|
|
20
20
|
*
|
|
21
21
|
* ```typescript
|
|
22
|
-
* import { SceneDetector } from '
|
|
23
|
-
* import type { Frame, SceneBoundary } from '
|
|
22
|
+
* import { SceneDetector } from '../../io/vision';
|
|
23
|
+
* import type { Frame, SceneBoundary } from '../../io/vision';
|
|
24
24
|
*
|
|
25
25
|
* const detector = new SceneDetector({ hardCutThreshold: 0.3 });
|
|
26
26
|
*
|
package/dist/io/vision/index.js
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```typescript
|
|
21
|
-
* import { VisionPipeline, PipelineVisionProvider } from '
|
|
22
|
-
* import { MultimodalIndexer } from '
|
|
21
|
+
* import { VisionPipeline, PipelineVisionProvider } from '../../../io/vision';
|
|
22
|
+
* import { MultimodalIndexer } from '../../../cognition/rag';
|
|
23
23
|
*
|
|
24
24
|
* const pipeline = new VisionPipeline({
|
|
25
25
|
* strategy: 'progressive',
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```typescript
|
|
21
|
-
* import { VisionPipeline, PipelineVisionProvider } from '
|
|
22
|
-
* import { MultimodalIndexer } from '
|
|
21
|
+
* import { VisionPipeline, PipelineVisionProvider } from '../../../io/vision';
|
|
22
|
+
* import { MultimodalIndexer } from '../../../cognition/rag';
|
|
23
23
|
*
|
|
24
24
|
* const pipeline = new VisionPipeline({
|
|
25
25
|
* strategy: 'progressive',
|
|
@@ -192,7 +192,7 @@ export interface WebRTCStreamTransportConfig {
|
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
194
|
* ```typescript
|
|
195
|
-
* import { WebRTCStreamTransport } from '
|
|
195
|
+
* import { WebRTCStreamTransport } from '../../io/voice-pipeline';
|
|
196
196
|
*
|
|
197
197
|
* // Receive RTCPeerConnection from your signaling server
|
|
198
198
|
* const transport = new WebRTCStreamTransport(peerConnection, { sampleRate: 16000 });
|
|
@@ -87,7 +87,7 @@ import { randomUUID } from 'node:crypto';
|
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* ```typescript
|
|
90
|
-
* import { WebRTCStreamTransport } from '
|
|
90
|
+
* import { WebRTCStreamTransport } from '../../io/voice-pipeline';
|
|
91
91
|
*
|
|
92
92
|
* // Receive RTCPeerConnection from your signaling server
|
|
93
93
|
* const transport = new WebRTCStreamTransport(peerConnection, { sampleRate: 16000 });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module @framers/agentos/voice-pipeline
|
|
2
|
+
* @module @framers/agentos/io/voice-pipeline
|
|
3
3
|
*
|
|
4
4
|
* Real-time streaming voice pipeline for AgentOS.
|
|
5
5
|
*
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
* ElevenLabsStreamingSTT,
|
|
54
54
|
* ElevenLabsStreamingTTS,
|
|
55
55
|
* AgentSessionVoiceAdapter,
|
|
56
|
-
* } from '
|
|
56
|
+
* } from '../../io/voice-pipeline';
|
|
57
57
|
* import { agent } from '@framers/agentos';
|
|
58
58
|
*
|
|
59
59
|
* // Create agent and voice adapter
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @module @framers/agentos/voice-pipeline
|
|
2
|
+
* @module @framers/agentos/io/voice-pipeline
|
|
3
3
|
*
|
|
4
4
|
* Real-time streaming voice pipeline for AgentOS.
|
|
5
5
|
*
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
* ElevenLabsStreamingSTT,
|
|
54
54
|
* ElevenLabsStreamingTTS,
|
|
55
55
|
* AgentSessionVoiceAdapter,
|
|
56
|
-
* } from '
|
|
56
|
+
* } from '../../io/voice-pipeline';
|
|
57
57
|
* import { agent } from '@framers/agentos';
|
|
58
58
|
*
|
|
59
59
|
* // Create agent and voice adapter
|
|
@@ -23,7 +23,7 @@ import type { IVoicePipelineAgentSession, VoiceTurnMetadata } from '../types.js'
|
|
|
23
23
|
* @example
|
|
24
24
|
* ```typescript
|
|
25
25
|
* import { agent } from '@framers/agentos';
|
|
26
|
-
* import { AgentSessionVoiceAdapter } from '
|
|
26
|
+
* import { AgentSessionVoiceAdapter } from '../../../io/voice-pipeline';
|
|
27
27
|
*
|
|
28
28
|
* const a = agent({ model: 'gpt-4o' });
|
|
29
29
|
* const session = a.session('voice-session-1');
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* @example
|
|
22
22
|
* ```typescript
|
|
23
23
|
* import { agent } from '@framers/agentos';
|
|
24
|
-
* import { AgentSessionVoiceAdapter } from '
|
|
24
|
+
* import { AgentSessionVoiceAdapter } from '../../../io/voice-pipeline';
|
|
25
25
|
*
|
|
26
26
|
* const a = agent({ model: 'gpt-4o' });
|
|
27
27
|
* const session = a.session('voice-session-1');
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* - Custom implementations (rule-based, ML-driven, mock for tests) can
|
|
48
48
|
* satisfy the same interfaces and slot in.
|
|
49
49
|
*
|
|
50
|
-
* @module @framers/agentos/
|
|
50
|
+
* @module @framers/agentos/orchestration/pipeline
|
|
51
51
|
*/
|
|
52
52
|
/**
|
|
53
53
|
* Generic decision metadata bundled with each stage's result. Stages
|
|
@@ -109,8 +109,8 @@ export declare class MissingStageError extends Error {
|
|
|
109
109
|
*
|
|
110
110
|
* @example Full pipeline
|
|
111
111
|
* ```ts
|
|
112
|
-
* import { CognitivePipeline } from '
|
|
113
|
-
* import { ingestRouterAsStage } from '
|
|
112
|
+
* import { CognitivePipeline } from '../../orchestration/pipeline';
|
|
113
|
+
* import { ingestRouterAsStage } from '../../orchestration/pipeline';
|
|
114
114
|
*
|
|
115
115
|
* const pipeline = new CognitivePipeline({
|
|
116
116
|
* ingest: ingestRouterAsStage(myIngestRouter),
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* - Custom implementations (rule-based, ML-driven, mock for tests) can
|
|
48
48
|
* satisfy the same interfaces and slot in.
|
|
49
49
|
*
|
|
50
|
-
* @module @framers/agentos/
|
|
50
|
+
* @module @framers/agentos/orchestration/pipeline
|
|
51
51
|
*/
|
|
52
52
|
// ============================================================================
|
|
53
53
|
// Errors
|
|
@@ -68,8 +68,8 @@ export class MissingStageError extends Error {
|
|
|
68
68
|
*
|
|
69
69
|
* @example Full pipeline
|
|
70
70
|
* ```ts
|
|
71
|
-
* import { CognitivePipeline } from '
|
|
72
|
-
* import { ingestRouterAsStage } from '
|
|
71
|
+
* import { CognitivePipeline } from '../../orchestration/pipeline/index.js';
|
|
72
|
+
* import { ingestRouterAsStage } from '../../orchestration/pipeline';
|
|
73
73
|
*
|
|
74
74
|
* const pipeline = new CognitivePipeline({
|
|
75
75
|
* ingest: ingestRouterAsStage(myIngestRouter),
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
{
|
|
159
159
|
"id": "faq:telephony",
|
|
160
160
|
"heading": "Can AgentOS handle phone calls?",
|
|
161
|
-
"content": "Yes. Use the telephony module: import from '@framers/agentos/telephony'. Supports Twilio and VAPI for inbound/outbound voice calls with real-time STT/TTS. The voice-telephony skill provides a guided setup workflow.",
|
|
161
|
+
"content": "Yes. Use the telephony module: import from '@framers/agentos/io/channels/telephony'. Supports Twilio and VAPI for inbound/outbound voice calls with real-time STT/TTS. The voice-telephony skill provides a guided setup workflow.",
|
|
162
162
|
"category": "faq"
|
|
163
163
|
},
|
|
164
164
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@framers/agentos",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "AgentOS — open-source TypeScript runtime for autonomous AI agents. Unified graph orchestration, cognitive memory, runtime tool generation, multi-tier guardrails, voice pipeline, and 21 LLM providers.",
|
|
5
5
|
"homepage": "https://agentos.sh",
|
|
6
6
|
"repository": {
|
|
@@ -355,85 +355,15 @@
|
|
|
355
355
|
"default": "./dist/safety/sandbox/subprocess/index.js",
|
|
356
356
|
"types": "./dist/safety/sandbox/subprocess/index.d.ts"
|
|
357
357
|
},
|
|
358
|
-
"./voice-pipeline": {
|
|
359
|
-
"import": "./dist/_aliases/voice-pipeline.js",
|
|
360
|
-
"default": "./dist/_aliases/voice-pipeline.js",
|
|
361
|
-
"types": "./dist/_aliases/voice-pipeline.d.ts"
|
|
362
|
-
},
|
|
363
|
-
"./vision": {
|
|
364
|
-
"import": "./dist/_aliases/vision.js",
|
|
365
|
-
"default": "./dist/_aliases/vision.js",
|
|
366
|
-
"types": "./dist/_aliases/vision.d.ts"
|
|
367
|
-
},
|
|
368
|
-
"./web-search": {
|
|
369
|
-
"import": "./dist/_aliases/web-search.js",
|
|
370
|
-
"default": "./dist/_aliases/web-search.js",
|
|
371
|
-
"types": "./dist/_aliases/web-search.d.ts"
|
|
372
|
-
},
|
|
373
|
-
"./rag": {
|
|
374
|
-
"import": "./dist/_aliases/rag.js",
|
|
375
|
-
"default": "./dist/_aliases/rag.js",
|
|
376
|
-
"types": "./dist/_aliases/rag.d.ts"
|
|
377
|
-
},
|
|
378
|
-
"./rag/reranking": {
|
|
379
|
-
"import": "./dist/_aliases/rag-reranking.js",
|
|
380
|
-
"default": "./dist/_aliases/rag-reranking.js",
|
|
381
|
-
"types": "./dist/_aliases/rag-reranking.d.ts"
|
|
382
|
-
},
|
|
383
|
-
"./telephony": {
|
|
384
|
-
"import": "./dist/_aliases/telephony.js",
|
|
385
|
-
"default": "./dist/_aliases/telephony.js",
|
|
386
|
-
"types": "./dist/_aliases/telephony.d.ts"
|
|
387
|
-
},
|
|
388
|
-
"./skills": {
|
|
389
|
-
"import": "./dist/_aliases/skills.js",
|
|
390
|
-
"default": "./dist/_aliases/skills.js",
|
|
391
|
-
"types": "./dist/_aliases/skills.d.ts"
|
|
392
|
-
},
|
|
393
|
-
"./media/avatar/index": {
|
|
394
|
-
"import": "./dist/_aliases/media-avatar.js",
|
|
395
|
-
"default": "./dist/_aliases/media-avatar.js",
|
|
396
|
-
"types": "./dist/_aliases/media-avatar.d.ts"
|
|
397
|
-
},
|
|
398
|
-
"./media/images/face/IFaceEmbeddingService": {
|
|
399
|
-
"import": "./dist/_aliases/media-images-face-IFaceEmbeddingService.js",
|
|
400
|
-
"default": "./dist/_aliases/media-images-face-IFaceEmbeddingService.js",
|
|
401
|
-
"types": "./dist/_aliases/media-images-face-IFaceEmbeddingService.d.ts"
|
|
402
|
-
},
|
|
403
|
-
"./media/images/face/ReplicateFaceEmbeddingService": {
|
|
404
|
-
"import": "./dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.js",
|
|
405
|
-
"default": "./dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.js",
|
|
406
|
-
"types": "./dist/_aliases/media-images-face-ReplicateFaceEmbeddingService.d.ts"
|
|
407
|
-
},
|
|
408
|
-
"./cognitive_substrate/IGMI": {
|
|
409
|
-
"import": "./dist/_aliases/cognitive_substrate-IGMI.js",
|
|
410
|
-
"default": "./dist/_aliases/cognitive_substrate-IGMI.js",
|
|
411
|
-
"types": "./dist/_aliases/cognitive_substrate-IGMI.d.ts"
|
|
412
|
-
},
|
|
413
|
-
"./cognitive_substrate/personas/PersonaLoader": {
|
|
414
|
-
"import": "./dist/_aliases/cognitive_substrate-personas-PersonaLoader.js",
|
|
415
|
-
"default": "./dist/_aliases/cognitive_substrate-personas-PersonaLoader.js",
|
|
416
|
-
"types": "./dist/_aliases/cognitive_substrate-personas-PersonaLoader.d.ts"
|
|
417
|
-
},
|
|
418
|
-
"./cognitive_substrate/personas/IPersonaDefinition": {
|
|
419
|
-
"import": "./dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.js",
|
|
420
|
-
"default": "./dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.js",
|
|
421
|
-
"types": "./dist/_aliases/cognitive_substrate-personas-IPersonaDefinition.d.ts"
|
|
422
|
-
},
|
|
423
|
-
"./cognitive-pipeline": {
|
|
424
|
-
"import": "./dist/_aliases/cognitive-pipeline.js",
|
|
425
|
-
"default": "./dist/_aliases/cognitive-pipeline.js",
|
|
426
|
-
"types": "./dist/_aliases/cognitive-pipeline.d.ts"
|
|
427
|
-
},
|
|
428
358
|
"./core/embeddings/IEmbeddingManager": {
|
|
429
|
-
"import": "./dist/
|
|
430
|
-
"default": "./dist/
|
|
431
|
-
"types": "./dist/
|
|
359
|
+
"import": "./dist/core/embeddings/IEmbeddingManager.js",
|
|
360
|
+
"default": "./dist/core/embeddings/IEmbeddingManager.js",
|
|
361
|
+
"types": "./dist/core/embeddings/IEmbeddingManager.d.ts"
|
|
432
362
|
},
|
|
433
363
|
"./core/vector-store/IVectorStore": {
|
|
434
|
-
"import": "./dist/
|
|
435
|
-
"default": "./dist/
|
|
436
|
-
"types": "./dist/
|
|
364
|
+
"import": "./dist/core/vector-store/IVectorStore.js",
|
|
365
|
+
"default": "./dist/core/vector-store/IVectorStore.js",
|
|
366
|
+
"types": "./dist/core/vector-store/IVectorStore.d.ts"
|
|
437
367
|
},
|
|
438
368
|
"./memory": {
|
|
439
369
|
"import": "./dist/cognition/memory/index.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cognitive-pipeline.d.ts","sourceRoot":"","sources":["../../src/_aliases/cognitive-pipeline.ts"],"names":[],"mappings":"AAEA,cAAc,oCAAoC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cognitive-pipeline.js","sourceRoot":"","sources":["../../src/_aliases/cognitive-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,cAAc,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,CAAC;AAC/D,cAAc,oCAAoC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cognitive_substrate-IGMI.d.ts","sourceRoot":"","sources":["../../src/_aliases/cognitive_substrate-IGMI.ts"],"names":[],"mappings":"AAEA,cAAc,gCAAgC,CAAC"}
|