@framers/agentos 0.15.63 → 0.15.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. package/.github/badges/tests.json +1 -1
  2. package/README.md +2 -2
  3. package/dist/agents/agency/AgencyMemoryManager.d.ts +3 -3
  4. package/dist/agents/agency/AgencyRegistry.d.ts +11 -1
  5. package/dist/agents/agency/AgencyRegistry.d.ts.map +1 -1
  6. package/dist/agents/agency/AgencyRegistry.js +38 -0
  7. package/dist/agents/agency/AgencyRegistry.js.map +1 -1
  8. package/dist/agents/agency/AgentCommunicationBus.d.ts +2 -2
  9. package/dist/agents/agency/index.d.ts +6 -6
  10. package/dist/agents/definitions/AgentCore.d.ts +11 -11
  11. package/dist/agents/definitions/AgentFactory.d.ts +3 -3
  12. package/dist/agents/definitions/AgentPoolAgent.d.ts +9 -9
  13. package/dist/agents/definitions/AgentPoolConfig.d.ts +2 -2
  14. package/dist/agents/definitions/IAgent.d.ts +4 -4
  15. package/dist/agents/definitions/IAgentFactory.d.ts +6 -6
  16. package/dist/api/AgentOS.d.ts +65 -44
  17. package/dist/api/AgentOS.d.ts.map +1 -1
  18. package/dist/api/AgentOS.js +43 -0
  19. package/dist/api/AgentOS.js.map +1 -1
  20. package/dist/api/agent.d.ts +9 -6
  21. package/dist/api/agent.d.ts.map +1 -1
  22. package/dist/api/agent.js.map +1 -1
  23. package/dist/api/embedText.d.ts +1 -1
  24. package/dist/api/gmi.d.ts.map +1 -1
  25. package/dist/api/gmi.js +27 -14
  26. package/dist/api/gmi.js.map +1 -1
  27. package/dist/api/hitl.d.ts +1 -1
  28. package/dist/api/index.d.ts +2 -1
  29. package/dist/api/index.d.ts.map +1 -1
  30. package/dist/api/index.js.map +1 -1
  31. package/dist/api/interfaces/IAgentOS.d.ts +16 -16
  32. package/dist/api/interfaces/IUnifiedAgent.d.ts +3 -3
  33. package/dist/api/runtime/AgentOSOrchestrator.d.ts +9 -9
  34. package/dist/api/runtime/CapabilityDiscoveryInitializer.d.ts +9 -9
  35. package/dist/api/runtime/ExternalToolResultHandler.d.ts +10 -10
  36. package/dist/api/runtime/GMIChunkTransformer.d.ts +6 -6
  37. package/dist/api/runtime/RagMemoryInitializer.d.ts +6 -6
  38. package/dist/api/runtime/SelfImprovementSessionManager.d.ts +4 -4
  39. package/dist/api/runtime/StreamChunkEmitter.d.ts +2 -2
  40. package/dist/api/runtime/TaskOutcomeTelemetryManager.d.ts +3 -3
  41. package/dist/api/runtime/TurnExecutionPipeline.d.ts +12 -12
  42. package/dist/api/runtime/WorkflowFacade.d.ts +16 -10
  43. package/dist/api/runtime/WorkflowFacade.d.ts.map +1 -1
  44. package/dist/api/runtime/WorkflowFacade.js +7 -0
  45. package/dist/api/runtime/WorkflowFacade.js.map +1 -1
  46. package/dist/api/runtime/agencyLaunch/gmiLaunchTool.d.ts +3 -2
  47. package/dist/api/runtime/agencyLaunch/gmiLaunchTool.d.ts.map +1 -1
  48. package/dist/api/runtime/agencyLaunch/gmiLaunchTool.js +122 -61
  49. package/dist/api/runtime/agencyLaunch/gmiLaunchTool.js.map +1 -1
  50. package/dist/api/runtime/agencyLaunch/index.d.ts +11 -0
  51. package/dist/api/runtime/agencyLaunch/index.d.ts.map +1 -0
  52. package/dist/api/runtime/agencyLaunch/index.js +11 -0
  53. package/dist/api/runtime/agencyLaunch/index.js.map +1 -0
  54. package/dist/api/runtime/agencyLaunch/launchRegistry.d.ts +4 -1
  55. package/dist/api/runtime/agencyLaunch/launchRegistry.d.ts.map +1 -1
  56. package/dist/api/runtime/agencyLaunch/launchRegistry.js.map +1 -1
  57. package/dist/api/runtime/agencyLaunch/meteredProviderManager.d.ts +13 -0
  58. package/dist/api/runtime/agencyLaunch/meteredProviderManager.d.ts.map +1 -1
  59. package/dist/api/runtime/agencyLaunch/meteredProviderManager.js +19 -0
  60. package/dist/api/runtime/agencyLaunch/meteredProviderManager.js.map +1 -1
  61. package/dist/api/runtime/agencyLaunch/runLaunch.d.ts +32 -3
  62. package/dist/api/runtime/agencyLaunch/runLaunch.d.ts.map +1 -1
  63. package/dist/api/runtime/agencyLaunch/runLaunch.js +57 -9
  64. package/dist/api/runtime/agencyLaunch/runLaunch.js.map +1 -1
  65. package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.d.ts +84 -0
  66. package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.d.ts.map +1 -0
  67. package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.js +344 -0
  68. package/dist/api/runtime/agencyLaunch/runtimeLaunchTool.js.map +1 -0
  69. package/dist/api/runtime/agencyLaunch/runtimeSeat.d.ts +61 -0
  70. package/dist/api/runtime/agencyLaunch/runtimeSeat.d.ts.map +1 -0
  71. package/dist/api/runtime/agencyLaunch/runtimeSeat.js +277 -0
  72. package/dist/api/runtime/agencyLaunch/runtimeSeat.js.map +1 -0
  73. package/dist/api/runtime/agencyLaunch/seatToolView.d.ts +11 -0
  74. package/dist/api/runtime/agencyLaunch/seatToolView.d.ts.map +1 -0
  75. package/dist/api/runtime/agencyLaunch/seatToolView.js +69 -0
  76. package/dist/api/runtime/agencyLaunch/seatToolView.js.map +1 -0
  77. package/dist/api/runtime/agencyLaunch/types.d.ts +126 -13
  78. package/dist/api/runtime/agencyLaunch/types.d.ts.map +1 -1
  79. package/dist/api/runtime/agencyLaunch/types.js +102 -2
  80. package/dist/api/runtime/agencyLaunch/types.js.map +1 -1
  81. package/dist/api/runtime/capabilityContract.d.ts +7 -1
  82. package/dist/api/runtime/capabilityContract.d.ts.map +1 -1
  83. package/dist/api/runtime/capabilityContract.js +6 -0
  84. package/dist/api/runtime/capabilityContract.js.map +1 -1
  85. package/dist/api/runtime/externalToolPause.d.ts +2 -2
  86. package/dist/api/runtime/externalToolRegistry.d.ts +5 -5
  87. package/dist/api/runtime/global-default.d.ts +1 -1
  88. package/dist/api/runtime/gmiPersona.d.ts +6 -0
  89. package/dist/api/runtime/gmiPersona.d.ts.map +1 -1
  90. package/dist/api/runtime/gmiPersona.js +9 -1
  91. package/dist/api/runtime/gmiPersona.js.map +1 -1
  92. package/dist/api/runtime/gmiSession.d.ts +4 -3
  93. package/dist/api/runtime/gmiSession.d.ts.map +1 -1
  94. package/dist/api/runtime/gmiSession.js +1 -1
  95. package/dist/api/runtime/gmiSession.js.map +1 -1
  96. package/dist/api/runtime/lightweightAgentDiagnostics.d.ts +14 -6
  97. package/dist/api/runtime/lightweightAgentDiagnostics.d.ts.map +1 -1
  98. package/dist/api/runtime/lightweightAgentDiagnostics.js +10 -4
  99. package/dist/api/runtime/lightweightAgentDiagnostics.js.map +1 -1
  100. package/dist/api/runtime/personaLoaderResolution.d.ts +2 -2
  101. package/dist/api/runtime/processRequestWithExternalTools.d.ts +4 -4
  102. package/dist/api/runtime/processRequestWithRegisteredTools.d.ts +7 -7
  103. package/dist/api/runtime/resumeExternalToolRequestWithRegisteredTools.d.ts +8 -8
  104. package/dist/api/runtime/tool-emulation/activation.d.ts +1 -1
  105. package/dist/api/runtime/tool-emulation/history.d.ts +1 -1
  106. package/dist/api/runtime/tool-emulation/index.d.ts +5 -5
  107. package/dist/api/runtime/tool-emulation/loop.d.ts +2 -2
  108. package/dist/api/runtime/tool-emulation/renderer.d.ts +1 -1
  109. package/dist/api/runtime/toolCallGate.d.ts +2 -2
  110. package/dist/api/runtime/turn-phases/conversation-history.d.ts +3 -3
  111. package/dist/api/runtime/turn-phases/long-term-memory.d.ts +4 -4
  112. package/dist/api/runtime/turn-phases/prompt-profile.d.ts +2 -2
  113. package/dist/api/runtime/turn-phases/rolling-summary.d.ts +4 -4
  114. package/dist/api/runtime/turnFinalResponse.d.ts +3 -3
  115. package/dist/api/server/AgentOSServer.d.ts +1 -1
  116. package/dist/api/structured/output/IStructuredOutputManager.d.ts +1 -1
  117. package/dist/api/structured/output/StructuredOutputManager.d.ts +3 -3
  118. package/dist/api/structured/output/index.d.ts +3 -3
  119. package/dist/api/types/AgentOSExternalToolRequest.d.ts +1 -1
  120. package/dist/api/types/AgentOSInput.d.ts +3 -3
  121. package/dist/api/types/AgentOSResponse.d.ts +6 -6
  122. package/dist/api/types/OrchestratorConfig.d.ts +11 -11
  123. package/dist/api/types.d.ts +12 -6
  124. package/dist/api/types.d.ts.map +1 -1
  125. package/dist/api/types.js.map +1 -1
  126. package/dist/cognition/emergent/CreateWorkflowTool.d.ts +12 -2
  127. package/dist/cognition/emergent/CreateWorkflowTool.d.ts.map +1 -1
  128. package/dist/cognition/emergent/CreateWorkflowTool.js +12 -2
  129. package/dist/cognition/emergent/CreateWorkflowTool.js.map +1 -1
  130. package/dist/cognition/emergent/EmergentCapabilityEngine.d.ts +8 -1
  131. package/dist/cognition/emergent/EmergentCapabilityEngine.d.ts.map +1 -1
  132. package/dist/cognition/emergent/EmergentCapabilityEngine.js +11 -0
  133. package/dist/cognition/emergent/EmergentCapabilityEngine.js.map +1 -1
  134. package/dist/cognition/emergent/SelfImprovementConfig.d.ts +8 -2
  135. package/dist/cognition/emergent/SelfImprovementConfig.d.ts.map +1 -1
  136. package/dist/cognition/emergent/SelfImprovementConfig.js.map +1 -1
  137. package/dist/cognition/emergent/StepGate.d.ts +15 -3
  138. package/dist/cognition/emergent/StepGate.d.ts.map +1 -1
  139. package/dist/cognition/emergent/StepGate.js +33 -5
  140. package/dist/cognition/emergent/StepGate.js.map +1 -1
  141. package/dist/cognition/emergent/types.d.ts +4 -2
  142. package/dist/cognition/emergent/types.d.ts.map +1 -1
  143. package/dist/cognition/emergent/types.js.map +1 -1
  144. package/dist/cognition/marketplace/store/Marketplace.d.ts +2 -2
  145. package/dist/cognition/marketplace/store/index.d.ts +2 -2
  146. package/dist/cognition/memory/pipeline/lifecycle/IMemoryLifecycleManager.d.ts +5 -5
  147. package/dist/cognition/memory/pipeline/lifecycle/MemoryLifecycleManager.d.ts +6 -6
  148. package/dist/cognition/memory/retrieval/graph/knowledge/KnowledgeGraph.d.ts +3 -3
  149. package/dist/cognition/nlp/ITextProcessor.d.ts +1 -1
  150. package/dist/cognition/nlp/TextProcessingPipeline.d.ts +2 -2
  151. package/dist/cognition/nlp/ai_utilities/HybridUtilityAI.d.ts +1 -1
  152. package/dist/cognition/nlp/ai_utilities/IUtilityAI.d.ts +1 -1
  153. package/dist/cognition/nlp/ai_utilities/LLMUtilityAI.d.ts +4 -4
  154. package/dist/cognition/nlp/ai_utilities/StatisticalUtilityAI.d.ts +1 -1
  155. package/dist/cognition/nlp/ai_utilities/targetSchemaChecks.d.ts +1 -1
  156. package/dist/cognition/nlp/filters/StopWordFilter.d.ts +3 -3
  157. package/dist/cognition/nlp/index.d.ts +13 -13
  158. package/dist/cognition/nlp/language/LanguageService.d.ts +1 -1
  159. package/dist/cognition/nlp/language/index.d.ts +5 -5
  160. package/dist/cognition/nlp/language/providers/DeepLTranslationProvider.d.ts +1 -1
  161. package/dist/cognition/nlp/language/providers/OpenAITranslationProvider.d.ts +1 -1
  162. package/dist/cognition/nlp/language/providers/WhisperDetectionProvider.d.ts +1 -1
  163. package/dist/cognition/nlp/lemmatizers/NoOpLemmatizer.d.ts +2 -2
  164. package/dist/cognition/nlp/lemmatizers/WordNetLemmatizer.d.ts +2 -2
  165. package/dist/cognition/nlp/normalizers/AccentStripper.d.ts +2 -2
  166. package/dist/cognition/nlp/normalizers/LowercaseNormalizer.d.ts +2 -2
  167. package/dist/cognition/nlp/presets.d.ts +1 -1
  168. package/dist/cognition/nlp/stemmers/NoOpStemmer.d.ts +2 -2
  169. package/dist/cognition/nlp/stemmers/PorterStemmer.d.ts +2 -2
  170. package/dist/cognition/nlp/tokenizers/CodeTokenizer.d.ts +2 -2
  171. package/dist/cognition/nlp/tokenizers/StandardTokenizer.d.ts +2 -2
  172. package/dist/cognition/rag/EmbeddingManager.d.ts +3 -3
  173. package/dist/cognition/rag/IRetrievalAugmentor.d.ts +5 -5
  174. package/dist/cognition/rag/RetrievalAugmentor.d.ts +6 -6
  175. package/dist/cognition/rag/VectorStoreManager.d.ts +3 -3
  176. package/dist/cognition/rag/reranking/IRerankerService.d.ts +1 -1
  177. package/dist/cognition/rag/reranking/RerankerService.d.ts +3 -3
  178. package/dist/cognition/rag/reranking/index.d.ts +6 -6
  179. package/dist/cognition/rag/reranking/providers/CohereReranker.d.ts +1 -1
  180. package/dist/cognition/rag/reranking/providers/LocalCrossEncoderReranker.d.ts +1 -1
  181. package/dist/cognition/rag/reranking/providers/index.d.ts +2 -2
  182. package/dist/cognition/rag/vector-search/HnswIndexSidecar.d.ts +1 -1
  183. package/dist/cognition/rag/vector-search/index.d.ts +2 -2
  184. package/dist/cognition/rag/vector_stores/InMemoryVectorStore.d.ts +1 -1
  185. package/dist/cognition/rag/vector_stores/SqlVectorStore.d.ts +1 -1
  186. package/dist/cognition/substrate/CognitiveMemoryBridge.d.ts +2 -2
  187. package/dist/cognition/substrate/ConversationHistoryManager.d.ts +3 -3
  188. package/dist/cognition/substrate/GMI.d.ts +13 -7
  189. package/dist/cognition/substrate/GMI.d.ts.map +1 -1
  190. package/dist/cognition/substrate/GMI.js +52 -5
  191. package/dist/cognition/substrate/GMI.js.map +1 -1
  192. package/dist/cognition/substrate/GMIManager.d.ts +102 -23
  193. package/dist/cognition/substrate/GMIManager.d.ts.map +1 -1
  194. package/dist/cognition/substrate/GMIManager.js +202 -11
  195. package/dist/cognition/substrate/GMIManager.js.map +1 -1
  196. package/dist/cognition/substrate/IGMI.d.ts +19 -12
  197. package/dist/cognition/substrate/IGMI.d.ts.map +1 -1
  198. package/dist/cognition/substrate/IGMI.js.map +1 -1
  199. package/dist/cognition/substrate/MetapromptExecutor.d.ts +6 -6
  200. package/dist/cognition/substrate/SentimentTracker.d.ts +5 -5
  201. package/dist/cognition/substrate/memory/InMemoryWorkingMemory.d.ts +1 -1
  202. package/dist/cognition/substrate/persona_overlays/PersonaOverlayManager.d.ts +3 -3
  203. package/dist/cognition/substrate/persona_overlays/PersonaOverlayTypes.d.ts +2 -2
  204. package/dist/cognition/substrate/personas/IPersonaDefinition.d.ts +3 -3
  205. package/dist/cognition/substrate/personas/IPersonaLoader.d.ts +1 -1
  206. package/dist/cognition/substrate/personas/InMemoryPersonaLoader.d.ts +2 -2
  207. package/dist/cognition/substrate/personas/PersonaLoader.d.ts +2 -2
  208. package/dist/cognition/substrate/personas/PersonaValidation.d.ts +1 -1
  209. package/dist/cognition/substrate/personas/definitions/index.d.ts +1 -1
  210. package/dist/cognition/substrate/personas/personaNormalization.d.ts +1 -1
  211. package/dist/cognition/substrate/reasoningTraceLimits.d.ts +2 -2
  212. package/dist/cognition/substrate/toolCallGate.d.ts +1 -1
  213. package/dist/cognition/substrate/turnContent.d.ts +1 -1
  214. package/dist/cognition/web-search/WebSearchService.d.ts +1 -1
  215. package/dist/cognition/web-search/dedup.d.ts +1 -1
  216. package/dist/cognition/web-search/fusion.d.ts +1 -1
  217. package/dist/cognition/web-search/index.d.ts +8 -8
  218. package/dist/cognition/web-search/providers/BraveProvider.d.ts +1 -1
  219. package/dist/cognition/web-search/providers/FirecrawlProvider.d.ts +1 -1
  220. package/dist/cognition/web-search/providers/SerperProvider.d.ts +1 -1
  221. package/dist/cognition/web-search/providers/TavilyProvider.d.ts +1 -1
  222. package/dist/cognition/web-search/providers/index.d.ts +4 -4
  223. package/dist/cognition/web-search/types.d.ts +2 -2
  224. package/dist/core/conversation/ConversationContext.d.ts +2 -2
  225. package/dist/core/conversation/ConversationManager.d.ts +2 -2
  226. package/dist/core/conversation/ConversationMessage.d.ts +3 -3
  227. package/dist/core/conversation/ILongTermMemoryRetriever.d.ts +1 -1
  228. package/dist/core/conversation/IRollingSummaryMemorySink.d.ts +1 -1
  229. package/dist/core/conversation/RollingSummaryCompactor.d.ts +2 -2
  230. package/dist/core/embeddings/IEmbeddingManager.d.ts +1 -1
  231. package/dist/core/llm/IPromptEngine.d.ts +6 -6
  232. package/dist/core/llm/PromptEngine.d.ts +2 -2
  233. package/dist/core/llm/providers/AIModelProviderManager.d.ts +25 -14
  234. package/dist/core/llm/providers/AIModelProviderManager.d.ts.map +1 -1
  235. package/dist/core/llm/providers/AIModelProviderManager.js +18 -0
  236. package/dist/core/llm/providers/AIModelProviderManager.js.map +1 -1
  237. package/dist/core/llm/providers/errors/AnthropicProviderError.d.ts +1 -1
  238. package/dist/core/llm/providers/errors/ClaudeCodeProviderError.d.ts +1 -1
  239. package/dist/core/llm/providers/errors/GeminiCLIProviderError.d.ts +1 -1
  240. package/dist/core/llm/providers/errors/GeminiProviderError.d.ts +1 -1
  241. package/dist/core/llm/providers/errors/OllamaProviderError.d.ts +1 -1
  242. package/dist/core/llm/providers/errors/OpenAIProviderError.d.ts +1 -1
  243. package/dist/core/llm/providers/errors/OpenRouterProviderError.d.ts +1 -1
  244. package/dist/core/llm/providers/errors/RequestyProviderError.d.ts +1 -1
  245. package/dist/core/llm/providers/implementations/AnthropicProvider.d.ts +1 -1
  246. package/dist/core/llm/providers/implementations/ClaudeCodeCLIBridge.d.ts +5 -5
  247. package/dist/core/llm/providers/implementations/ClaudeCodeProvider.d.ts +1 -1
  248. package/dist/core/llm/providers/implementations/GeminiCLIBridge.d.ts +5 -5
  249. package/dist/core/llm/providers/implementations/GeminiCLIProvider.d.ts +1 -1
  250. package/dist/core/llm/providers/implementations/GeminiProvider.d.ts +1 -1
  251. package/dist/core/llm/providers/implementations/GroqProvider.d.ts +2 -2
  252. package/dist/core/llm/providers/implementations/LiteLLMProvider.d.ts +2 -2
  253. package/dist/core/llm/providers/implementations/MiniMaxProvider.d.ts +2 -2
  254. package/dist/core/llm/providers/implementations/MistralProvider.d.ts +2 -2
  255. package/dist/core/llm/providers/implementations/OllamaProvider.d.ts +1 -1
  256. package/dist/core/llm/providers/implementations/OpenAIProvider.d.ts +1 -1
  257. package/dist/core/llm/providers/implementations/OpenRouterProvider.d.ts +1 -1
  258. package/dist/core/llm/providers/implementations/RequestyProvider.d.ts +1 -1
  259. package/dist/core/llm/providers/implementations/TogetherProvider.d.ts +2 -2
  260. package/dist/core/llm/providers/implementations/XAIProvider.d.ts +2 -2
  261. package/dist/core/llm/providers/implementations/billing-probe-model.d.ts +1 -1
  262. package/dist/core/llm/routing/IModelRouter.d.ts +3 -3
  263. package/dist/core/llm/routing/ModelRouter.d.ts +3 -3
  264. package/dist/core/llm/routing/PolicyAwareRouter.d.ts +3 -3
  265. package/dist/core/llm/streaming/StreamingBatcher.d.ts +1 -1
  266. package/dist/core/llm/streaming/StreamingReconstructor.d.ts +2 -2
  267. package/dist/core/logging/PinoLogger.d.ts +1 -1
  268. package/dist/core/streaming/AsyncStreamClientBridge.d.ts +2 -2
  269. package/dist/core/streaming/IStreamClient.d.ts +1 -1
  270. package/dist/core/streaming/StreamingManager.d.ts +2 -2
  271. package/dist/core/tools/ITool.d.ts +13 -7
  272. package/dist/core/tools/ITool.d.ts.map +1 -1
  273. package/dist/core/tools/IToolOrchestrator.d.ts +7 -7
  274. package/dist/core/tools/ToolExecutor.d.ts +19 -13
  275. package/dist/core/tools/ToolExecutor.d.ts.map +1 -1
  276. package/dist/core/tools/ToolExecutor.js.map +1 -1
  277. package/dist/core/tools/ToolOrchestrator.d.ts +16 -8
  278. package/dist/core/tools/ToolOrchestrator.d.ts.map +1 -1
  279. package/dist/core/tools/ToolOrchestrator.js +37 -11
  280. package/dist/core/tools/ToolOrchestrator.js.map +1 -1
  281. package/dist/core/tools/permissions/IToolPermissionManager.d.ts +3 -3
  282. package/dist/core/tools/permissions/ToolPermissionManager.d.ts +2 -2
  283. package/dist/core/utils/index.d.ts +1 -1
  284. package/dist/core/utils/usage/UsageLedger.d.ts +1 -1
  285. package/dist/core/vector-store/IVectorStoreManager.d.ts +2 -2
  286. package/dist/extensions/ExtensionLoader.d.ts +2 -2
  287. package/dist/extensions/ExtensionManager.d.ts +4 -4
  288. package/dist/extensions/ExtensionRegistry.d.ts +1 -1
  289. package/dist/extensions/RegistryConfig.d.ts +1 -1
  290. package/dist/extensions/SharedServiceRegistry.d.ts +1 -1
  291. package/dist/extensions/events.d.ts +1 -1
  292. package/dist/extensions/index.d.ts +10 -10
  293. package/dist/extensions/manifest.d.ts +3 -3
  294. package/dist/extensions/types.d.ts +8 -8
  295. package/dist/index.d.ts +73 -72
  296. package/dist/index.d.ts.map +1 -1
  297. package/dist/index.js.map +1 -1
  298. package/dist/io/channels/social-posting/index.d.ts +3 -3
  299. package/dist/io/hearing/AdaptiveVAD.d.ts +1 -1
  300. package/dist/io/hearing/AudioProcessor.d.ts +2 -2
  301. package/dist/io/hearing/SilenceDetector.d.ts +1 -1
  302. package/dist/io/media/images/PolicyAwareImageRouter.d.ts +1 -1
  303. package/dist/orchestration/hitl/HumanInteractionManager.d.ts +2 -2
  304. package/dist/orchestration/hitl/index.d.ts +2 -2
  305. package/dist/orchestration/planner/IPlanningEngine.d.ts +1 -1
  306. package/dist/orchestration/planner/PlanningEngine.d.ts +3 -3
  307. package/dist/orchestration/planner/index.d.ts +2 -2
  308. package/dist/orchestration/turn-planner/IAgentOrchestrator.d.ts +2 -2
  309. package/dist/orchestration/turn-planner/TurnPlanner.d.ts +4 -4
  310. package/dist/orchestration/turn-planner/helpers.d.ts +2 -2
  311. package/dist/orchestration/workflows/IWorkflowEngine.d.ts +4 -4
  312. package/dist/orchestration/workflows/WorkflowEngine.d.ts +3 -3
  313. package/dist/orchestration/workflows/WorkflowTypes.d.ts +2 -2
  314. package/dist/orchestration/workflows/runtime/WorkflowRuntime.d.ts +9 -9
  315. package/dist/orchestration/workflows/storage/IWorkflowStore.d.ts +1 -1
  316. package/dist/orchestration/workflows/storage/InMemoryWorkflowStore.d.ts +2 -2
  317. package/dist/safety/evaluation/Evaluator.d.ts +1 -1
  318. package/dist/safety/evaluation/LLMJudge.d.ts +3 -3
  319. package/dist/safety/evaluation/index.d.ts +4 -4
  320. package/dist/safety/evaluation/observability/Tracer.d.ts +1 -1
  321. package/dist/safety/evaluation/observability/index.d.ts +5 -5
  322. package/dist/safety/guardrails/ICrossAgentGuardrailService.d.ts +2 -2
  323. package/dist/safety/guardrails/IGuardrailService.d.ts +3 -3
  324. package/dist/safety/guardrails/ParallelGuardrailDispatcher.d.ts +4 -4
  325. package/dist/safety/guardrails/builtin/PhraseListGuardrail.d.ts +4 -4
  326. package/dist/safety/guardrails/crossAgentGuardrailDispatcher.d.ts +4 -4
  327. package/dist/safety/guardrails/guardrailDispatcher.d.ts +4 -4
  328. package/dist/safety/guardrails/index.d.ts +8 -8
  329. package/dist/safety/guardrails/requiredGuardrails.d.ts +1 -1
  330. package/dist/safety/guardrails/sanitizedFinalResponse.d.ts +3 -3
  331. package/dist/safety/sandbox/executor/CodeSandbox.d.ts +2 -2
  332. package/dist/safety/sandbox/executor/ICodeSandbox.d.ts +1 -1
  333. package/dist/safety/sandbox/executor/index.d.ts +3 -3
  334. package/dist/safety/sandbox/subprocess/CLISubprocessBridge.d.ts +2 -2
  335. package/dist/safety/sandbox/subprocess/index.d.ts +4 -4
  336. package/package.json +1 -1
@@ -28,10 +28,10 @@
28
28
  * );
29
29
  * ```
30
30
  */
31
- import type { AgentOSInput } from '../../api/types/AgentOSInput';
32
- import { type AgentOSResponse } from '../../api/types/AgentOSResponse';
33
- import { type GuardrailContext, type GuardrailEvaluationResult, type GuardrailOutputPayload, type IGuardrailService } from './IGuardrailService';
34
- import type { GuardrailInputOutcome, GuardrailOutputOptions } from './guardrailDispatcher';
31
+ import type { AgentOSInput } from '../../api/types/AgentOSInput.js';
32
+ import { type AgentOSResponse } from '../../api/types/AgentOSResponse.js';
33
+ import { type GuardrailContext, type GuardrailEvaluationResult, type GuardrailOutputPayload, type IGuardrailService } from './IGuardrailService.js';
34
+ import type { GuardrailInputOutcome, GuardrailOutputOptions } from './guardrailDispatcher.js';
35
35
  /**
36
36
  * The verdict of the guardrails that evaluate tool calls on one TOOL_CALL_REQUEST chunk: the blocking evaluation, or
37
37
  * every evaluation of a chunk they pass.
@@ -11,10 +11,10 @@
11
11
  *
12
12
  * The guard fails closed: a judge that throws, answers nothing usable, or answers with too little confidence blocks.
13
13
  */
14
- import type { ExtensionPack } from '../../../extensions/manifest';
15
- import type { FallbackProviderEntry } from '../../../api/generateText';
16
- import { type JudgeLlmConfig } from '../../../core/llm/providers/judge-config';
17
- import { type GuardrailConfig, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailInputPayload, type GuardrailOutputPayload, type IGuardrailService } from '../IGuardrailService';
14
+ import type { ExtensionPack } from '../../../extensions/manifest.js';
15
+ import type { FallbackProviderEntry } from '../../../api/generateText.js';
16
+ import { type JudgeLlmConfig } from '../../../core/llm/providers/judge-config.js';
17
+ import { type GuardrailConfig, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailInputPayload, type GuardrailOutputPayload, type IGuardrailService } from '../IGuardrailService.js';
18
18
  /** One entry of a list: the phrase, how it matches, and what a match does (a block at once, or the judge's read). */
19
19
  export interface PhraseEntry {
20
20
  phrase: string;
@@ -18,10 +18,10 @@
18
18
  * );
19
19
  * ```
20
20
  */
21
- import { AgentOSResponse } from '../../api/types/AgentOSResponse';
22
- import { type GuardrailContext, type GuardrailEvaluationResult } from './IGuardrailService';
23
- import { type ICrossAgentGuardrailService } from './ICrossAgentGuardrailService';
24
- import { type GuardrailOutputOptions } from './guardrailDispatcher';
21
+ import { AgentOSResponse } from '../../api/types/AgentOSResponse.js';
22
+ import { type GuardrailContext, type GuardrailEvaluationResult } from './IGuardrailService.js';
23
+ import { type ICrossAgentGuardrailService } from './ICrossAgentGuardrailService.js';
24
+ import { type GuardrailOutputOptions } from './guardrailDispatcher.js';
25
25
  /**
26
26
  * Context for cross-agent guardrail evaluation.
27
27
  */
@@ -1,6 +1,6 @@
1
- import type { AgentOSInput } from '../../api/types/AgentOSInput';
2
- import { AgentOSResponse, type AgentOSToolCallRequestChunk } from '../../api/types/AgentOSResponse';
3
- import { GuardrailAction, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailOutputPayload, type IGuardrailService } from './IGuardrailService';
1
+ import type { AgentOSInput } from '../../api/types/AgentOSInput.js';
2
+ import { AgentOSResponse, type AgentOSToolCallRequestChunk } from '../../api/types/AgentOSResponse.js';
3
+ import { GuardrailAction, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailOutputPayload, type IGuardrailService } from './IGuardrailService.js';
4
4
  /**
5
5
  * Normalize a service input (single, array, or undefined) into a flat array.
6
6
  *
@@ -44,7 +44,7 @@ export interface GuardrailOutputOptions {
44
44
  /** Input evaluations to attach to first output chunk */
45
45
  inputEvaluations?: GuardrailEvaluationResult[] | null;
46
46
  /** RAG sources to thread through to output guardrails for grounding verification */
47
- ragSources?: import('../../cognition/rag').RagRetrievedChunk[];
47
+ ragSources?: import('../../cognition/rag/index.js').RagRetrievedChunk[];
48
48
  /**
49
49
  * Hold every TEXT_DELTA until the final guards have judged the whole reply. Allowed or flagged, the held deltas
50
50
  * go out before the final chunk; blocked or sanitized, they are dropped, so the caller never sees text the guards
@@ -45,12 +45,12 @@
45
45
  * }
46
46
  * ```
47
47
  */
48
- export { GuardrailAction, type GuardrailConfig, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailInputPayload, type GuardrailOutputPayload, type IGuardrailService, } from './IGuardrailService';
49
- export { createGuardrailBlockedStream, createToolCallGate, evaluateInputGuardrails, type GuardrailInputOutcome, type GuardrailOutputOptions, type GuardrailOutputVerdict, type GuardrailToolCallGate, wrapOutputGuardrails, } from './guardrailDispatcher';
50
- export { assertRequiredGuardrails, checkRequiredGuardrails, withRequiredPosture, type ActiveGuardrail, type GuardrailStage, type RequiredGuardrailReport, type RequiredGuardrailSpec, } from './requiredGuardrails';
51
- export { ParallelGuardrailDispatcher, type GuardrailToolCallVerdict } from './ParallelGuardrailDispatcher';
52
- export { PhraseListGuardrail, StaticPhraseListSource, createLlmPhraseJudge, createPhraseListPack, normalizePhraseText, phraseMatches, type PhraseEntry, type PhraseJudge, type PhraseJudgeVerdict, type PhraseListGuardrailOptions, type PhraseListSnapshot, type PhraseListSource, } from './builtin/PhraseListGuardrail';
53
- export { type CrossAgentOutputPayload, type ICrossAgentGuardrailService, isCrossAgentGuardrail, shouldObserveAgent, } from './ICrossAgentGuardrailService';
54
- export { SentenceBoundaryBuffer } from './SentenceBoundaryBuffer';
55
- export { type CrossAgentEvaluationResult, type CrossAgentGuardrailContext, evaluateCrossAgentGuardrails, filterCrossAgentGuardrails, wrapWithCrossAgentGuardrails, } from './crossAgentGuardrailDispatcher';
48
+ export { GuardrailAction, type GuardrailConfig, type GuardrailContext, type GuardrailEvaluationResult, type GuardrailInputPayload, type GuardrailOutputPayload, type IGuardrailService, } from './IGuardrailService.js';
49
+ export { createGuardrailBlockedStream, createToolCallGate, evaluateInputGuardrails, type GuardrailInputOutcome, type GuardrailOutputOptions, type GuardrailOutputVerdict, type GuardrailToolCallGate, wrapOutputGuardrails, } from './guardrailDispatcher.js';
50
+ export { assertRequiredGuardrails, checkRequiredGuardrails, withRequiredPosture, type ActiveGuardrail, type GuardrailStage, type RequiredGuardrailReport, type RequiredGuardrailSpec, } from './requiredGuardrails.js';
51
+ export { ParallelGuardrailDispatcher, type GuardrailToolCallVerdict } from './ParallelGuardrailDispatcher.js';
52
+ export { PhraseListGuardrail, StaticPhraseListSource, createLlmPhraseJudge, createPhraseListPack, normalizePhraseText, phraseMatches, type PhraseEntry, type PhraseJudge, type PhraseJudgeVerdict, type PhraseListGuardrailOptions, type PhraseListSnapshot, type PhraseListSource, } from './builtin/PhraseListGuardrail.js';
53
+ export { type CrossAgentOutputPayload, type ICrossAgentGuardrailService, isCrossAgentGuardrail, shouldObserveAgent, } from './ICrossAgentGuardrailService.js';
54
+ export { SentenceBoundaryBuffer } from './SentenceBoundaryBuffer.js';
55
+ export { type CrossAgentEvaluationResult, type CrossAgentGuardrailContext, evaluateCrossAgentGuardrails, filterCrossAgentGuardrails, wrapWithCrossAgentGuardrails, } from './crossAgentGuardrailDispatcher.js';
56
56
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { type IGuardrailService } from './IGuardrailService';
1
+ import { type IGuardrailService } from './IGuardrailService.js';
2
2
  export type GuardrailStage = 'input' | 'output';
3
3
  export interface RequiredGuardrailSpec {
4
4
  /** The guard's id: its `IGuardrailService.id`, else the id of the descriptor it was registered under. */
@@ -5,9 +5,9 @@
5
5
  * guardrails and the cross-agent guardrails rewrite a final response with it.
6
6
  * @module backend/agentos/safety/guardrails/sanitizedFinalResponse
7
7
  */
8
- import type { StructuredReplyOutput } from '../../api/runtime/structuredReply';
9
- import type { AgentOSFinalResponseChunk } from '../../api/types/AgentOSResponse';
10
- import type { AudioOutputConfig } from '../../cognition/substrate/IGMI';
8
+ import type { StructuredReplyOutput } from '../../api/runtime/structuredReply.js';
9
+ import type { AgentOSFinalResponseChunk } from '../../api/types/AgentOSResponse.js';
10
+ import type { AudioOutputConfig } from '../../cognition/substrate/IGMI.js';
11
11
  /** The issue a withdrawn structured value records (`structured.meta.issues`). */
12
12
  export declare const STRUCTURED_REPLY_WITHDRAWN_ISSUE = "A guardrail rewrote the reply after it was parsed, so the value parsed from the reply as the model wrote it was withdrawn.";
13
13
  /**
@@ -14,8 +14,8 @@
14
14
  * @module AgentOS/Sandbox
15
15
  * @version 2.0.0
16
16
  */
17
- import type { ILogger } from '../../../core/logging/ILogger';
18
- import { ICodeSandbox, SandboxLanguage, SandboxConfig, ExecutionRequest, ExecutionResult, SecurityEvent, SandboxStats } from './ICodeSandbox';
17
+ import type { ILogger } from '../../../core/logging/ILogger.js';
18
+ import { ICodeSandbox, SandboxLanguage, SandboxConfig, ExecutionRequest, ExecutionResult, SecurityEvent, SandboxStats } from './ICodeSandbox.js';
19
19
  /**
20
20
  * Code Execution Sandbox implementation.
21
21
  *
@@ -9,7 +9,7 @@
9
9
  * @module AgentOS/Sandbox
10
10
  * @version 1.0.0
11
11
  */
12
- import type { ILogger } from '../../../core/logging/ILogger';
12
+ import type { ILogger } from '../../../core/logging/ILogger.js';
13
13
  /**
14
14
  * Supported programming languages for code execution.
15
15
  */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @module AgentOS/Sandbox
5
5
  */
6
- export type { ICodeSandbox, SandboxLanguage, SandboxConfig, ExecutionRequest, ExecutionResult, ExecutionStatus, ExecutionOutput, SecurityEvent, SandboxStats, SandboxFile, } from './ICodeSandbox';
7
- export { SandboxError } from './ICodeSandbox';
8
- export { CodeSandbox } from './CodeSandbox';
6
+ export type { ICodeSandbox, SandboxLanguage, SandboxConfig, ExecutionRequest, ExecutionResult, ExecutionStatus, ExecutionOutput, SecurityEvent, SandboxStats, SandboxFile, } from './ICodeSandbox.js';
7
+ export { SandboxError } from './ICodeSandbox.js';
8
+ export { CodeSandbox } from './CodeSandbox.js';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -10,8 +10,8 @@
10
10
  * @module agentos/sandbox/subprocess/CLISubprocessBridge
11
11
  * @see ClaudeCodeCLIBridge
12
12
  */
13
- import { CLISubprocessError } from './errors';
14
- import type { BridgeOptions, BridgeResult, StreamEvent, StreamParseContext, OutputFormat, InstallCheckResult } from './types';
13
+ import { CLISubprocessError } from './errors.js';
14
+ import type { BridgeOptions, BridgeResult, StreamEvent, StreamParseContext, OutputFormat, InstallCheckResult } from './types.js';
15
15
  /**
16
16
  * Abstract base class for managing CLI subprocesses via execa.
17
17
  *
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * @module agentos/sandbox/subprocess
6
6
  */
7
- export { CLISubprocessBridge } from './CLISubprocessBridge';
8
- export { CLIRegistry, WELL_KNOWN_CLIS } from './CLIRegistry';
9
- export { CLISubprocessError, CLI_ERROR } from './errors';
10
- export type { BridgeOptions, BridgeResult, StreamEvent, StreamParseContext, OutputFormat, InstallCheckResult, CLIDescriptor, CLIScanResult, } from './types';
7
+ export { CLISubprocessBridge } from './CLISubprocessBridge.js';
8
+ export { CLIRegistry, WELL_KNOWN_CLIS } from './CLIRegistry.js';
9
+ export { CLISubprocessError, CLI_ERROR } from './errors.js';
10
+ export type { BridgeOptions, BridgeResult, StreamEvent, StreamParseContext, OutputFormat, InstallCheckResult, CLIDescriptor, CLIScanResult, } from './types.js';
11
11
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framers/agentos",
3
- "version": "0.15.63",
3
+ "version": "0.15.65",
4
4
  "description": "AgentOS: open-source TypeScript framework for autonomous AI agents. Unified graph orchestration, cognitive memory, runtime tool forging, multi-tier guardrails, voice pipeline, and 11 LLM providers.",
5
5
  "homepage": "https://agentos.sh",
6
6
  "repository": {