swarmauri-core 0.11.0.dev2__tar.gz → 0.11.0.dev5__tar.gz

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 (276) hide show
  1. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/PKG-INFO +1 -1
  2. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/pyproject.toml +19 -1
  3. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agent_apis/IAgentCommands.py +3 -9
  4. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agent_apis/IAgentRouterCRUD.py +2 -6
  5. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agent_factories/IExportConf.py +2 -5
  6. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgent.py +11 -16
  7. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentParser.py +1 -0
  8. swarmauri_core-0.11.0.dev5/swarmauri_core/agents/IRealtimeAgent.py +43 -0
  9. swarmauri_core-0.11.0.dev5/swarmauri_core/agents/__init__.py +4 -0
  10. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOAuth20AppClient.py +1 -2
  11. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOAuth21AppClient.py +1 -2
  12. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOIDC10AppClient.py +1 -2
  13. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IBillingProvider.py +2 -2
  14. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IOnlinePayments.py +3 -4
  15. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IPaymentMethods.py +2 -2
  16. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/__init__.py +9 -11
  17. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/enums.py +4 -4
  18. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/certs/ICertService.py +31 -31
  19. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/ICallableChain.py +3 -5
  20. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChain.py +3 -5
  21. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChainContextLoader.py +2 -3
  22. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChainDependencyResolver.py +3 -6
  23. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChainFactory.py +5 -5
  24. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChainStep.py +0 -2
  25. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chunkers/IChunker.py +2 -2
  26. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/cipher_suites/ICipherSuite.py +6 -6
  27. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/cipher_suites/types.py +1 -2
  28. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/conversations/IConversation.py +4 -9
  29. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/crypto/ICrypto.py +16 -16
  30. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/crypto/types.py +22 -22
  31. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/dataconnectors/IDataConnector.py +0 -6
  32. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/distances/IDistanceSimilarity.py +4 -7
  33. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/document_stores/IDocumentRetrieve.py +2 -3
  34. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/document_stores/IDocumentStore.py +4 -9
  35. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/documents/IExperimentDocument.py +12 -21
  36. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/embeddings/IFeature.py +2 -2
  37. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/embeddings/ISaveModel.py +0 -2
  38. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/embeddings/IVectorize.py +4 -3
  39. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/ensembles/IEnsemble.py +4 -13
  40. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluator_pools/IEvaluatorPool.py +4 -15
  41. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluator_results/IEvalResult.py +2 -5
  42. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluators/IEvaluate.py +2 -6
  43. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/factories/IFactory.py +0 -2
  44. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/git_filters/IGitFilter.py +1 -1
  45. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/image_gens/IGenImage.py +0 -4
  46. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/inner_products/IInnerProduct.py +0 -4
  47. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/key_providers/IKeyProvider.py +8 -11
  48. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/key_providers/__init__.py +2 -2
  49. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/key_providers/types.py +8 -9
  50. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveCapabilities.py +9 -0
  51. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveConfig.py +11 -0
  52. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveEvent.py +10 -0
  53. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveInput.py +11 -0
  54. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveModel.py +16 -0
  55. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveSession.py +38 -0
  56. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/ILiveToolCall.py +11 -0
  57. swarmauri_core-0.11.0.dev5/swarmauri_core/live_models/__init__.py +19 -0
  58. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/llms/IFit.py +0 -1
  59. {swarmauri_core-0.11.0.dev2/swarmauri_core/sst → swarmauri_core-0.11.0.dev5/swarmauri_core/llms}/IPredict.py +0 -6
  60. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/logger_formatters/IFormatter.py +1 -2
  61. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/logger_handlers/IHandler.py +1 -2
  62. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/loggers/ILogger.py +1 -2
  63. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/matrices/IMatrix.py +8 -28
  64. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/measurements/IMeasurement.py +1 -2
  65. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/measurements/IMeasurementAggregate.py +1 -2
  66. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/measurements/IMeasurementCalculate.py +1 -3
  67. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/metrics/IMetric.py +5 -11
  68. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/IModelCatalog.py +18 -0
  69. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/IModelProvider.py +32 -0
  70. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/IProviderAuth.py +16 -0
  71. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/IProviderEndpoint.py +11 -0
  72. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/IProviderErrorMapper.py +9 -0
  73. swarmauri_core-0.11.0.dev5/swarmauri_core/model_providers/__init__.py +15 -0
  74. swarmauri_core-0.11.0.dev5/swarmauri_core/models/IModel.py +15 -0
  75. swarmauri_core-0.11.0.dev5/swarmauri_core/models/IModelCapabilities.py +12 -0
  76. swarmauri_core-0.11.0.dev5/swarmauri_core/models/__init__.py +6 -0
  77. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/mre_crypto/IMreCrypto.py +17 -17
  78. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/mre_crypto/__init__.py +1 -1
  79. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/mre_crypto/types.py +3 -4
  80. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/norms/INorm.py +4 -8
  81. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/norms/IUseInnerProduct.py +0 -5
  82. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/ocrs/IPredict.py +0 -6
  83. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/parsers/IParser.py +2 -3
  84. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pipelines/IPipeline.py +2 -6
  85. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pop/ipop.py +2 -2
  86. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pop/isigner.py +4 -4
  87. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/programs/IProgram.py +2 -6
  88. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompt_templates/IPromptTemplate.py +4 -8
  89. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompts/IPrompt.py +0 -1
  90. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompts/IPromptMatrix.py +4 -10
  91. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompts/ITemplate.py +2 -5
  92. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pseudometrics/IPseudometric.py +5 -10
  93. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/publishers/IPublish.py +2 -3
  94. swarmauri_core-0.11.0.dev5/swarmauri_core/retrievers/IRetriever.py +11 -0
  95. swarmauri_core-0.11.0.dev5/swarmauri_core/retrievers/__init__.py +3 -0
  96. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/schema_converters/ISchemaConvert.py +3 -2
  97. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/seminorms/ISeminorm.py +1 -4
  98. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/service_registries/IServiceRegistry.py +5 -10
  99. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/signing/ISigning.py +26 -24
  100. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/signing/__init__.py +1 -1
  101. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/signing/intent.py +3 -3
  102. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/signing/types.py +12 -11
  103. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/similarities/ISimilarity.py +7 -15
  104. swarmauri_core-0.11.0.dev5/swarmauri_core/skills/ISkill.py +16 -0
  105. swarmauri_core-0.11.0.dev5/swarmauri_core/skills/ISkillLoader.py +31 -0
  106. swarmauri_core-0.11.0.dev5/swarmauri_core/skills/__init__.py +4 -0
  107. {swarmauri_core-0.11.0.dev2/swarmauri_core/tts → swarmauri_core-0.11.0.dev5/swarmauri_core/sst}/IPredict.py +0 -6
  108. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/state/IState.py +4 -4
  109. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/storage/IStorageAdapter.py +3 -3
  110. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/swarm_apis/IAgentRegistrationAPI.py +3 -8
  111. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/swarm_apis/ISwarmAPI.py +3 -4
  112. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/swarms/ISwarm.py +5 -9
  113. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/task_mgmt_strategies/ITaskMgmtStrategy.py +5 -10
  114. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tensors/ITensor.py +9 -31
  115. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tokens/ITokenService.py +11 -11
  116. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tool_llms/IToolPredict.py +6 -12
  117. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/toolkits/IToolkit.py +2 -8
  118. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tools/IParameter.py +0 -2
  119. swarmauri_core-0.11.0.dev5/swarmauri_core/tools/ITool.py +18 -0
  120. swarmauri_core-0.11.0.dev5/swarmauri_core/tools/IToolExecutor.py +34 -0
  121. swarmauri_core-0.11.0.dev5/swarmauri_core/tools/__init__.py +4 -0
  122. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tracing/IChainTracer.py +2 -3
  123. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tracing/ITraceContext.py +0 -2
  124. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tracing/ITracer.py +4 -6
  125. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/ITransport.py +2 -2
  126. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/__init__.py +78 -0
  127. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/capabilities.py +4 -5
  128. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/http_errors.py +31 -0
  129. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_anycast.py +2 -2
  130. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_appserver.py +3 -3
  131. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_bidirectional_stream.py +54 -0
  132. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_broadcast.py +1 -2
  133. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_http_client.py +69 -0
  134. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_http_response.py +23 -0
  135. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_http_retry_policy.py +29 -0
  136. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_http_stream_response.py +22 -0
  137. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_managed_http_client.py +17 -0
  138. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_multicast.py +2 -2
  139. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_multiplex.py +48 -0
  140. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_peer.py +1 -1
  141. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_unicast.py +2 -3
  142. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_websocket_client.py +28 -0
  143. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_websocket_connection.py +43 -0
  144. swarmauri_core-0.11.0.dev5/swarmauri_core/transports/i_websocket_multiplex.py +12 -0
  145. {swarmauri_core-0.11.0.dev2/swarmauri_core/llms → swarmauri_core-0.11.0.dev5/swarmauri_core/tts}/IPredict.py +0 -6
  146. swarmauri_core-0.11.0.dev5/swarmauri_core/tts/ITextToSpeech.py +37 -0
  147. swarmauri_core-0.11.0.dev5/swarmauri_core/tts/__init__.py +3 -0
  148. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/utils/ITransactional.py +0 -3
  149. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/ICloudVectorStore.py +0 -2
  150. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/IPersistentVectorStore.py +0 -2
  151. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/ISimilarity.py +1 -1
  152. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/IVectorNorm.py +4 -7
  153. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/IVectorStore.py +4 -10
  154. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/IVectorStoreComparator.py +2 -2
  155. swarmauri_core-0.11.0.dev5/swarmauri_core/vector_stores/IVectorStoreRetrieve.py +5 -0
  156. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vector_stores/IVectorStoreSaveLoad.py +0 -4
  157. swarmauri_core-0.11.0.dev5/swarmauri_core/vector_stores/__init__.py +15 -0
  158. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vectors/IVector.py +0 -2
  159. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vectors/IVectorMeta.py +2 -4
  160. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vectors/IVectorProduct.py +10 -15
  161. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vectors/IVectorTransform.py +0 -6
  162. swarmauri_core-0.11.0.dev5/swarmauri_core/video_lipsync/ILipSync.py +30 -0
  163. swarmauri_core-0.11.0.dev5/swarmauri_core/video_lipsync/IQueuedLipSync.py +33 -0
  164. swarmauri_core-0.11.0.dev5/swarmauri_core/video_lipsync/__init__.py +15 -0
  165. swarmauri_core-0.11.0.dev5/swarmauri_core/video_lipsync/types.py +22 -0
  166. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/vlms/IPredictVision.py +0 -4
  167. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/xmp/IEmbedXMP.py +1 -2
  168. swarmauri_core-0.11.0.dev2/swarmauri_core/embeddings/__init__.py +0 -1
  169. swarmauri_core-0.11.0.dev2/swarmauri_core/skills/ISkill.py +0 -14
  170. swarmauri_core-0.11.0.dev2/swarmauri_core/skills/__init__.py +0 -3
  171. swarmauri_core-0.11.0.dev2/swarmauri_core/tools/ITool.py +0 -16
  172. swarmauri_core-0.11.0.dev2/swarmauri_core/transports/__init__.py +0 -45
  173. swarmauri_core-0.11.0.dev2/swarmauri_core/transports/i_http_client.py +0 -23
  174. swarmauri_core-0.11.0.dev2/swarmauri_core/transports/i_multiplex.py +0 -37
  175. swarmauri_core-0.11.0.dev2/swarmauri_core/vector_stores/IVectorStoreRetrieve.py +0 -28
  176. swarmauri_core-0.11.0.dev2/swarmauri_core/vector_stores/__init__.py +0 -7
  177. swarmauri_core-0.11.0.dev2/swarmauri_core/vectors/__init__.py +0 -0
  178. swarmauri_core-0.11.0.dev2/swarmauri_core/vlms/__init__.py +0 -0
  179. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/LICENSE +0 -0
  180. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/README.md +0 -0
  181. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/__init__.py +0 -0
  182. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agent_apis/__init__.py +0 -0
  183. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agent_factories/__init__.py +0 -0
  184. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentConversation.py +0 -0
  185. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentRetrieve.py +0 -0
  186. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentSystemContext.py +0 -0
  187. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentToolkit.py +0 -0
  188. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/agents/IAgentVectorStore.py +0 -0
  189. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOAuth20Login.py +0 -0
  190. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOAuth21Login.py +0 -0
  191. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/IOIDC10Login.py +0 -0
  192. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/auth_idp/__init__.py +0 -0
  193. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IBalanceTransfers.py +0 -0
  194. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/ICustomers.py +0 -0
  195. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IHostedCheckout.py +0 -0
  196. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IInvoicing.py +0 -0
  197. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IMarketplace.py +0 -0
  198. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IPayouts.py +0 -0
  199. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IProductsPrices.py +0 -0
  200. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IPromotions.py +0 -0
  201. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IRefunds.py +0 -0
  202. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IReports.py +0 -0
  203. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IRisk.py +0 -0
  204. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/ISubscriptions.py +0 -0
  205. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/IWebhooks.py +0 -0
  206. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/billing/protos.py +0 -0
  207. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/certs/__init__.py +0 -0
  208. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/IChainContext.py +0 -0
  209. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/chains/__init__.py +0 -0
  210. {swarmauri_core-0.11.0.dev2/swarmauri_core/agents → swarmauri_core-0.11.0.dev5/swarmauri_core/chunkers}/__init__.py +0 -0
  211. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/cipher_suites/__init__.py +0 -0
  212. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/conversations/IMaxSize.py +0 -0
  213. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/conversations/ISystemContext.py +0 -0
  214. {swarmauri_core-0.11.0.dev2/swarmauri_core/chunkers → swarmauri_core-0.11.0.dev5/swarmauri_core/conversations}/__init__.py +0 -0
  215. {swarmauri_core-0.11.0.dev2/swarmauri_core/conversations → swarmauri_core-0.11.0.dev5/swarmauri_core/crypto}/__init__.py +0 -0
  216. {swarmauri_core-0.11.0.dev2/swarmauri_core/crypto → swarmauri_core-0.11.0.dev5/swarmauri_core/dataconnectors}/__init__.py +0 -0
  217. {swarmauri_core-0.11.0.dev2/swarmauri_core/dataconnectors → swarmauri_core-0.11.0.dev5/swarmauri_core/distances}/__init__.py +0 -0
  218. {swarmauri_core-0.11.0.dev2/swarmauri_core/distances → swarmauri_core-0.11.0.dev5/swarmauri_core/document_stores}/__init__.py +0 -0
  219. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/documents/IDocument.py +0 -0
  220. {swarmauri_core-0.11.0.dev2/swarmauri_core/document_stores → swarmauri_core-0.11.0.dev5/swarmauri_core/documents}/__init__.py +0 -0
  221. {swarmauri_core-0.11.0.dev2/swarmauri_core/documents → swarmauri_core-0.11.0.dev5/swarmauri_core/embeddings}/__init__.py +0 -0
  222. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/ensembles/__init__.py +0 -0
  223. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluator_pools/__init__.py +0 -0
  224. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluator_results/__init__.py +0 -0
  225. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/evaluators/__init__.py +0 -0
  226. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/factories/__init__.py +0 -0
  227. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/git_filters/__init__.py +0 -0
  228. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/image_gens/__init__.py +0 -0
  229. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/inner_products/__init__.py +0 -0
  230. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/keys.py +0 -0
  231. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/llms/__init__.py +0 -0
  232. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/logger_formatters/__init__.py +0 -0
  233. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/logger_handlers/__init__.py +0 -0
  234. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/loggers/__init__.py +0 -0
  235. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/matrices/__init__.py +0 -0
  236. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/measurements/IThreshold.py +0 -0
  237. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/measurements/__init__.py +0 -0
  238. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/messages/IMessage.py +0 -0
  239. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/messages/__init__.py +0 -0
  240. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/metrics/__init__.py +0 -0
  241. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/middlewares/IMiddleware.py +0 -0
  242. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/middlewares/__init__.py +0 -0
  243. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/norms/__init__.py +0 -0
  244. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/ocrs/__init__.py +0 -0
  245. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/parsers/__init__.py +0 -0
  246. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pipelines/__init__.py +0 -0
  247. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pop/__init__.py +0 -0
  248. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pop/types.py +0 -0
  249. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/programs/__init__.py +0 -0
  250. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompt_templates/__init__.py +0 -0
  251. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/prompts/__init__.py +0 -0
  252. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/pseudometrics/__init__.py +0 -0
  253. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/publishers/__init__.py +0 -0
  254. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/rate_limits/IRateLimit.py +0 -0
  255. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/rate_limits/__init__.py +0 -0
  256. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/schema_converters/__init__.py +0 -0
  257. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/seminorms/__init__.py +0 -0
  258. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/service_registries/__init__.py +0 -0
  259. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/similarities/__init__.py +0 -0
  260. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/sst/__init__.py +0 -0
  261. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/state/__init__.py +0 -0
  262. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/storage/__init__.py +0 -0
  263. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/swarm_apis/__init__.py +0 -0
  264. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/swarms/__init__.py +0 -0
  265. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/task_mgmt_strategies/__init__.py +0 -0
  266. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tensors/__init__.py +0 -0
  267. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tokens/__init__.py +0 -0
  268. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/tool_llms/__init__.py +0 -0
  269. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/toolkits/__init__.py +0 -0
  270. {swarmauri_core-0.11.0.dev2/swarmauri_core/tools → swarmauri_core-0.11.0.dev5/swarmauri_core/tracing}/__init__.py +0 -0
  271. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/enums.py +0 -0
  272. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/transports/i_runnable.py +0 -0
  273. {swarmauri_core-0.11.0.dev2/swarmauri_core/tracing → swarmauri_core-0.11.0.dev5/swarmauri_core/utils}/__init__.py +0 -0
  274. {swarmauri_core-0.11.0.dev2/swarmauri_core/tts → swarmauri_core-0.11.0.dev5/swarmauri_core/vectors}/__init__.py +0 -0
  275. {swarmauri_core-0.11.0.dev2/swarmauri_core/utils → swarmauri_core-0.11.0.dev5/swarmauri_core/vlms}/__init__.py +0 -0
  276. {swarmauri_core-0.11.0.dev2 → swarmauri_core-0.11.0.dev5}/swarmauri_core/xmp/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarmauri_core
3
- Version: 0.11.0.dev2
3
+ Version: 0.11.0.dev5
4
4
  Summary: Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri_core"
3
- version = "0.11.0.dev2"
3
+ version = "0.11.0.dev5"
4
4
  description = "Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components."
5
5
  authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
6
6
  license = "Apache-2.0"
@@ -45,6 +45,7 @@ requires-python = ">=3.10,<3.15"
45
45
 
46
46
  [dependency-groups]
47
47
  dev = [
48
+ "tomli>=2.0; python_version < '3.11'",
48
49
  "flake8>=7.0",
49
50
  "pytest>=8.0",
50
51
  "pytest-asyncio>=0.24.0",
@@ -78,3 +79,20 @@ asyncio_default_fixture_loop_scope = "function"
78
79
  [build-system]
79
80
  requires = ["poetry-core>=1.0.0"]
80
81
  build-backend = "poetry.core.masonry.api"
82
+
83
+ [tool.ruff]
84
+ extend = "../pyproject.toml"
85
+
86
+ [tool.ruff.lint]
87
+ ignore = [
88
+ "B006",
89
+ "B008",
90
+ "BLE001",
91
+ "E501",
92
+ "F401",
93
+ "N999",
94
+ "RUF013",
95
+ "RUF022",
96
+ "UP007",
97
+ "UP035",
98
+ ]
@@ -1,5 +1,5 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Any, List
2
+ from typing import Any
3
3
 
4
4
 
5
5
  class IAgentCommands(ABC):
@@ -19,7 +19,6 @@ class IAgentCommands(ABC):
19
19
  Returns:
20
20
  Any: The response payload.
21
21
  """
22
- pass
23
22
 
24
23
  @abstractmethod
25
24
  async def ainvoke(self, request: Any) -> Any:
@@ -32,10 +31,9 @@ class IAgentCommands(ABC):
32
31
  Returns:
33
32
  Any: The response payload.
34
33
  """
35
- pass
36
34
 
37
35
  @abstractmethod
38
- def batch(self, requests: List[Any]) -> List[Any]:
36
+ def batch(self, requests: list[Any]) -> list[Any]:
39
37
  """
40
38
  Handles batched invocation requests synchronously.
41
39
 
@@ -45,10 +43,9 @@ class IAgentCommands(ABC):
45
43
  Returns:
46
44
  List[Any]: A list of responses.
47
45
  """
48
- pass
49
46
 
50
47
  @abstractmethod
51
- async def abatch(self, requests: List[Any]) -> List[Any]:
48
+ async def abatch(self, requests: list[Any]) -> list[Any]:
52
49
  """
53
50
  Handles batched invocation requests asynchronously.
54
51
 
@@ -58,7 +55,6 @@ class IAgentCommands(ABC):
58
55
  Returns:
59
56
  List[Any]: A list of responses.
60
57
  """
61
- pass
62
58
 
63
59
  @abstractmethod
64
60
  def stream(self, request: Any) -> Any:
@@ -71,7 +67,6 @@ class IAgentCommands(ABC):
71
67
  Returns:
72
68
  Any: A streaming response.
73
69
  """
74
- pass
75
70
 
76
71
  @abstractmethod
77
72
  def get_schema_config(self) -> dict:
@@ -81,4 +76,3 @@ class IAgentCommands(ABC):
81
76
  Returns:
82
77
  dict: The schema configuration.
83
78
  """
84
- pass
@@ -1,5 +1,5 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Callable, Any, Dict
2
+ from typing import Any, Callable
3
3
 
4
4
 
5
5
  class IAgentRouterCRUD(ABC):
@@ -20,10 +20,9 @@ class IAgentRouterCRUD(ABC):
20
20
  - handler (Callable[[Any], Any]): The function that handles requests to
21
21
  this route.
22
22
  """
23
- pass
24
23
 
25
24
  @abstractmethod
26
- def read_route(self, path: str, method: str) -> Dict:
25
+ def read_route(self, path: str, method: str) -> dict:
27
26
  """
28
27
  Retrieve information about a specific route.
29
28
 
@@ -35,7 +34,6 @@ class IAgentRouterCRUD(ABC):
35
34
  - Dict: Information about the route, including path, method, and
36
35
  handler.
37
36
  """
38
- pass
39
37
 
40
38
  @abstractmethod
41
39
  def update_route(
@@ -50,7 +48,6 @@ class IAgentRouterCRUD(ABC):
50
48
  - new_handler (Callable[[Any], Any]): The new function that handles
51
49
  requests to this route.
52
50
  """
53
- pass
54
51
 
55
52
  @abstractmethod
56
53
  def delete_route(self, path: str, method: str) -> None:
@@ -61,4 +58,3 @@ class IAgentRouterCRUD(ABC):
61
58
  - path (str): The URL path for the route.
62
59
  - method (str): The HTTP method.
63
60
  """
64
- pass
@@ -1,5 +1,5 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Any, Dict
2
+ from typing import Any
3
3
 
4
4
 
5
5
  class IExportConf(ABC):
@@ -12,7 +12,7 @@ class IExportConf(ABC):
12
12
  """
13
13
 
14
14
  @abstractmethod
15
- def to_dict(self) -> Dict[str, Any]:
15
+ def to_dict(self) -> dict[str, Any]:
16
16
  """
17
17
  Serializes the agent factory's configuration to a dictionary.
18
18
 
@@ -20,7 +20,6 @@ class IExportConf(ABC):
20
20
  Dict[str, Any]: A dictionary representation of the factory's
21
21
  configuration.
22
22
  """
23
- pass
24
23
 
25
24
  @abstractmethod
26
25
  def to_json(self) -> str:
@@ -30,7 +29,6 @@ class IExportConf(ABC):
30
29
  Returns:
31
30
  str: A JSON string representation of the factory's configuration.
32
31
  """
33
- pass
34
32
 
35
33
  @abstractmethod
36
34
  def to_file(self, file_path: str) -> None:
@@ -42,4 +40,3 @@ class IExportConf(ABC):
42
40
  file_path (str): The path to the file where the configuration
43
41
  should be saved.
44
42
  """
45
- pass
@@ -1,52 +1,47 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Any, Optional, Dict, List, Union
2
+ from typing import Any, Union
3
+
3
4
  from swarmauri_core.messages.IMessage import IMessage
4
5
 
5
6
 
6
7
  class IAgent(ABC):
7
8
  @abstractmethod
8
- def exec(
9
- self, input_data: Optional[Any], llm_kwargs: Optional[Dict]
10
- ) -> Any:
9
+ def exec(self, input_data: Any | None, llm_kwargs: dict | None) -> Any:
11
10
  """
12
11
  Executive method that triggers the agent's action based on the input
13
12
  data.
14
13
  """
15
- pass
16
14
 
17
15
  @abstractmethod
18
16
  async def aexec(
19
17
  self,
20
- input_str: Optional[Union[str, IMessage]] = "",
21
- llm_kwargs: Optional[Dict] = None,
18
+ input_str: Union[str, IMessage] | None = "",
19
+ llm_kwargs: dict | None = None,
22
20
  ) -> Any:
23
21
  """
24
22
  Async executive method that triggers the agent's action based on the
25
23
  input data.
26
24
  """
27
- pass
28
25
 
29
26
  @abstractmethod
30
27
  def batch(
31
28
  self,
32
- inputs: List[Union[str, IMessage]],
33
- llm_kwargs: Optional[Dict] = None,
34
- ) -> List[Any]:
29
+ inputs: list[Union[str, IMessage]],
30
+ llm_kwargs: dict | None = None,
31
+ ) -> list[Any]:
35
32
  """
36
33
  Default batch implementation: calls `exec` on each input in `inputs`.
37
34
  Subclasses can override for optimized bulk behavior.
38
35
  """
39
- pass
40
36
 
41
37
  @abstractmethod
42
38
  async def abatch(
43
39
  self,
44
- inputs: List[Union[str, IMessage]],
45
- llm_kwargs: Optional[Dict] = None,
46
- ) -> List[Any]:
40
+ inputs: list[Union[str, IMessage]],
41
+ llm_kwargs: dict | None = None,
42
+ ) -> list[Any]:
47
43
  """
48
44
  Default async batch implementation: concurrently calls `aexec` on all
49
45
  inputs.
50
46
  Subclasses can override for more efficient implementations.
51
47
  """
52
- pass
@@ -1,4 +1,5 @@
1
1
  from abc import ABC, abstractmethod
2
+
2
3
  from swarmauri_core.parsers.IParser import IParser
3
4
 
4
5
 
@@ -0,0 +1,43 @@
1
+ """Realtime agent interface."""
2
+
3
+ from abc import ABC, abstractmethod
4
+ from collections.abc import AsyncIterator, Iterator
5
+ from typing import Any
6
+
7
+
8
+ class IRealtimeAgent(ABC):
9
+ @abstractmethod
10
+ def connect(self, **kwargs: Any) -> Any: ...
11
+
12
+ @abstractmethod
13
+ async def aconnect(self, **kwargs: Any) -> Any: ...
14
+
15
+ @abstractmethod
16
+ def send(self, input_data: Any) -> None: ...
17
+
18
+ @abstractmethod
19
+ async def asend(self, input_data: Any) -> None: ...
20
+
21
+ @abstractmethod
22
+ def stream(self) -> Iterator[Any]: ...
23
+
24
+ @abstractmethod
25
+ def astream(self) -> AsyncIterator[Any]: ...
26
+
27
+ @abstractmethod
28
+ def run(self, *args: Any, **kwargs: Any) -> Any: ...
29
+
30
+ @abstractmethod
31
+ async def arun(self, *args: Any, **kwargs: Any) -> Any: ...
32
+
33
+ @abstractmethod
34
+ def interrupt(self) -> None: ...
35
+
36
+ @abstractmethod
37
+ async def ainterrupt(self) -> None: ...
38
+
39
+ @abstractmethod
40
+ def close(self) -> None: ...
41
+
42
+ @abstractmethod
43
+ async def aclose(self) -> None: ...
@@ -0,0 +1,4 @@
1
+ from .IAgent import IAgent
2
+ from .IRealtimeAgent import IRealtimeAgent
3
+
4
+ __all__ = ["IAgent", "IRealtimeAgent"]
@@ -1,13 +1,12 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from abc import ABC, abstractmethod
4
- from typing import Optional
5
4
 
6
5
 
7
6
  class IOAuth20AppClient(ABC):
8
7
  """Contract for OAuth 2.0 machine-to-machine token flows."""
9
8
 
10
9
  @abstractmethod
11
- async def access_token(self, scope: Optional[str] = None) -> str:
10
+ async def access_token(self, scope: str | None = None) -> str:
12
11
  """Return a bearer token constrained to the optional scope."""
13
12
  ...
@@ -1,13 +1,12 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from abc import ABC, abstractmethod
4
- from typing import Optional
5
4
 
6
5
 
7
6
  class IOAuth21AppClient(ABC):
8
7
  """Contract for OAuth 2.1 machine-to-machine token flows."""
9
8
 
10
9
  @abstractmethod
11
- async def access_token(self, scope: Optional[str] = None) -> str:
10
+ async def access_token(self, scope: str | None = None) -> str:
12
11
  """Return a bearer token constrained to the optional scope."""
13
12
  ...
@@ -1,13 +1,12 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from abc import ABC, abstractmethod
4
- from typing import Optional
5
4
 
6
5
 
7
6
  class IOIDC10AppClient(ABC):
8
7
  """Contract for OIDC 1.0 machine-to-machine token flows."""
9
8
 
10
9
  @abstractmethod
11
- async def access_token(self, scope: Optional[str] = None) -> str:
10
+ async def access_token(self, scope: str | None = None) -> str:
12
11
  """Return a bearer token constrained to the optional scope."""
13
12
  ...
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from abc import ABC, abstractmethod
6
- from typing import Any, Sequence, Tuple, Type
6
+ from typing import Any, Sequence
7
7
 
8
8
  from .enums import Capability
9
9
 
@@ -18,5 +18,5 @@ class IBillingProvider(ABC):
18
18
 
19
19
  @property
20
20
  @abstractmethod
21
- def api_strategies(self) -> Tuple[Type[Any], ...]:
21
+ def api_strategies(self) -> tuple[type[Any], ...]:
22
22
  """Return strategy interfaces supported by the provider."""
@@ -3,7 +3,6 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from abc import ABC, abstractmethod
6
- from typing import Optional
7
6
 
8
7
  from .protos import PaymentIntentReqProto, PaymentRefProto
9
8
 
@@ -19,7 +18,7 @@ class IOnlinePayments(ABC):
19
18
 
20
19
  @abstractmethod
21
20
  def capture_payment(
22
- self, payment_id: str, *, idempotency_key: Optional[str] = None
21
+ self, payment_id: str, *, idempotency_key: str | None = None
23
22
  ) -> PaymentRefProto:
24
23
  """Capture a payment intent."""
25
24
 
@@ -28,7 +27,7 @@ class IOnlinePayments(ABC):
28
27
  self,
29
28
  payment_id: str,
30
29
  *,
31
- reason: Optional[str] = None,
32
- idempotency_key: Optional[str] = None,
30
+ reason: str | None = None,
31
+ idempotency_key: str | None = None,
33
32
  ) -> PaymentRefProto:
34
33
  """Cancel a payment intent."""
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from abc import ABC, abstractmethod
6
- from typing import Any, Mapping, Optional, Sequence
6
+ from typing import Any, Mapping, Sequence
7
7
 
8
8
  from .protos import (
9
9
  CustomerRefProto,
@@ -32,7 +32,7 @@ class IPaymentMethods(ABC):
32
32
  self,
33
33
  customer: CustomerRefProto,
34
34
  *,
35
- type: Optional[str] = None,
35
+ type: str | None = None,
36
36
  limit: int = 10,
37
37
  ) -> Sequence[PaymentMethodRefProto]:
38
38
  """List payment methods for a customer."""
@@ -3,8 +3,13 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from abc import ABC
6
- from typing import Tuple, Type
7
-
6
+ from .enums import (
7
+ ALL_CAPABILITIES,
8
+ CAPABILITY_TO_TIGRBL,
9
+ Capability,
10
+ Operation,
11
+ capabilities_to_tigrbl,
12
+ )
8
13
  from .IBalanceTransfers import IBalanceTransfers
9
14
  from .IBillingProvider import IBillingProvider
10
15
  from .ICustomers import ICustomers
@@ -14,20 +19,13 @@ from .IMarketplace import IMarketplace
14
19
  from .IOnlinePayments import IOnlinePayments
15
20
  from .IPaymentMethods import IPaymentMethods
16
21
  from .IPayouts import IPayouts
17
- from .IPromotions import IPromotions
18
22
  from .IProductsPrices import IProductsPrices
23
+ from .IPromotions import IPromotions
19
24
  from .IRefunds import IRefunds
20
25
  from .IReports import IReports
21
26
  from .IRisk import IRisk
22
27
  from .ISubscriptions import ISubscriptions
23
28
  from .IWebhooks import IWebhooks
24
- from .enums import (
25
- ALL_CAPABILITIES,
26
- CAPABILITY_TO_TIGRBL,
27
- Capability,
28
- Operation,
29
- capabilities_to_tigrbl,
30
- )
31
29
  from .protos import (
32
30
  BalanceRefProto,
33
31
  CheckoutIntentProto,
@@ -54,7 +52,7 @@ from .protos import (
54
52
  WebhookEventProto,
55
53
  )
56
54
 
57
- ALL_API_STRATEGIES: Tuple[Type[ABC], ...] = (
55
+ ALL_API_STRATEGIES: tuple[type[ABC], ...] = (
58
56
  IProductsPrices,
59
57
  IHostedCheckout,
60
58
  IOnlinePayments,
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
- from typing import Dict, FrozenSet, Iterable
6
+ from typing import Iterable
7
7
 
8
8
 
9
9
  class Capability(str, Enum):
@@ -64,7 +64,7 @@ class Operation(str, Enum):
64
64
  CREATE_PROMOTION = "create_promotion"
65
65
 
66
66
 
67
- ALL_CAPABILITIES: FrozenSet[Capability] = frozenset(cap for cap in Capability)
67
+ ALL_CAPABILITIES: frozenset[Capability] = frozenset(cap for cap in Capability)
68
68
  """Complete set of billing capabilities."""
69
69
 
70
70
 
@@ -72,7 +72,7 @@ ALL_CAPABILITIES: FrozenSet[Capability] = frozenset(cap for cap in Capability)
72
72
  # identifiers.
73
73
  # Keeping the mapping in string form avoids importing the tigrbl package as a
74
74
  # runtime dependency.
75
- CAPABILITY_TO_TIGRBL: Dict[Capability, FrozenSet[str]] = {
75
+ CAPABILITY_TO_TIGRBL: dict[Capability, frozenset[str]] = {
76
76
  Capability.PRODUCTS_PRICES: frozenset({"PRICE"}),
77
77
  Capability.HOSTED_CHECKOUT: frozenset({"CHARGE"}),
78
78
  Capability.ONLINE_PAYMENTS: frozenset(
@@ -96,7 +96,7 @@ CAPABILITY_TO_TIGRBL: Dict[Capability, FrozenSet[str]] = {
96
96
 
97
97
  def capabilities_to_tigrbl(
98
98
  capabilities: Iterable[Capability],
99
- ) -> FrozenSet[str]:
99
+ ) -> frozenset[str]:
100
100
  """Translate Swarmauri billing capabilities to tigrbl capability
101
101
  identifiers."""
102
102
 
@@ -1,7 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from abc import ABC, abstractmethod
4
- from typing import Iterable, Mapping, Optional, Sequence, TypedDict, Dict, Any
4
+ from typing import Any, Iterable, Mapping, Sequence, TypedDict
5
5
 
6
6
  from swarmauri_core.crypto.types import (
7
7
  KeyRef,
@@ -21,12 +21,12 @@ class SubjectSpec(TypedDict, total=False):
21
21
  C: str
22
22
  ST: str
23
23
  L: str
24
- O: str # noqa: E741
24
+ O: str # noqa: E741 - X.509 standard abbreviation for organization
25
25
  OU: str
26
26
  emailAddress: str
27
27
  # You can pass additional RDNs via 'extra_rdns' using provider-specific
28
28
  # names:
29
- extra_rdns: Dict[str, str]
29
+ extra_rdns: dict[str, str]
30
30
 
31
31
 
32
32
  class AltNameSpec(TypedDict, total=False):
@@ -39,7 +39,7 @@ class AltNameSpec(TypedDict, total=False):
39
39
 
40
40
  class BasicConstraintsSpec(TypedDict, total=False):
41
41
  ca: bool
42
- path_len: Optional[int] # None ⇒ no limit encoded
42
+ path_len: int | None # None ⇒ no limit encoded
43
43
 
44
44
 
45
45
  class KeyUsageSpec(TypedDict, total=False):
@@ -82,7 +82,7 @@ class CertExtensionSpec(TypedDict, total=False):
82
82
  bool # auto-derive from issuer (requires ca_cert or ca public)
83
83
  )
84
84
  # Provider-specific or advanced extensions may be passed in 'extra':
85
- extra: Dict[str, Any]
85
+ extra: dict[str, Any]
86
86
 
87
87
 
88
88
  # Common alias for PEM/DER bytes
@@ -112,12 +112,12 @@ class ICertService(ABC):
112
112
  key: KeyRef,
113
113
  subject: SubjectSpec,
114
114
  *,
115
- san: Optional[AltNameSpec] = None,
116
- extensions: Optional[CertExtensionSpec] = None,
117
- sig_alg: Optional[str] = None,
118
- challenge_password: Optional[str] = None,
115
+ san: AltNameSpec | None = None,
116
+ extensions: CertExtensionSpec | None = None,
117
+ sig_alg: str | None = None,
118
+ challenge_password: str | None = None,
119
119
  output_der: bool = False,
120
- opts: Optional[Dict[str, Any]] = None,
120
+ opts: dict[str, Any] | None = None,
121
121
  ) -> CsrBytes:
122
122
  """Build and sign a PKCS#10 CSR (RFC 2986) using 'key'."""
123
123
  ...
@@ -132,13 +132,13 @@ class ICertService(ABC):
132
132
  key: KeyRef,
133
133
  subject: SubjectSpec,
134
134
  *,
135
- serial: Optional[int] = None,
136
- not_before: Optional[int] = None,
137
- not_after: Optional[int] = None,
138
- extensions: Optional[CertExtensionSpec] = None,
139
- sig_alg: Optional[str] = None,
135
+ serial: int | None = None,
136
+ not_before: int | None = None,
137
+ not_after: int | None = None,
138
+ extensions: CertExtensionSpec | None = None,
139
+ sig_alg: str | None = None,
140
140
  output_der: bool = False,
141
- opts: Optional[Dict[str, Any]] = None,
141
+ opts: dict[str, Any] | None = None,
142
142
  ) -> CertBytes:
143
143
  """Create a self-signed certificate using 'key' as both subject and
144
144
  issuer."""
@@ -150,15 +150,15 @@ class ICertService(ABC):
150
150
  csr: CsrBytes,
151
151
  ca_key: KeyRef,
152
152
  *,
153
- issuer: Optional[SubjectSpec] = None,
154
- ca_cert: Optional[CertBytes] = None,
155
- serial: Optional[int] = None,
156
- not_before: Optional[int] = None,
157
- not_after: Optional[int] = None,
158
- extensions: Optional[CertExtensionSpec] = None,
159
- sig_alg: Optional[str] = None,
153
+ issuer: SubjectSpec | None = None,
154
+ ca_cert: CertBytes | None = None,
155
+ serial: int | None = None,
156
+ not_before: int | None = None,
157
+ not_after: int | None = None,
158
+ extensions: CertExtensionSpec | None = None,
159
+ sig_alg: str | None = None,
160
160
  output_der: bool = False,
161
- opts: Optional[Dict[str, Any]] = None,
161
+ opts: dict[str, Any] | None = None,
162
162
  ) -> CertBytes:
163
163
  """Issue an end-entity or intermediate certificate from a CSR."""
164
164
  ...
@@ -172,12 +172,12 @@ class ICertService(ABC):
172
172
  self,
173
173
  cert: CertBytes,
174
174
  *,
175
- trust_roots: Optional[Sequence[CertBytes]] = None,
176
- intermediates: Optional[Sequence[CertBytes]] = None,
177
- check_time: Optional[int] = None,
175
+ trust_roots: Sequence[CertBytes] | None = None,
176
+ intermediates: Sequence[CertBytes] | None = None,
177
+ check_time: int | None = None,
178
178
  check_revocation: bool = False,
179
- opts: Optional[Dict[str, Any]] = None,
180
- ) -> Dict[str, Any]:
179
+ opts: dict[str, Any] | None = None,
180
+ ) -> dict[str, Any]:
181
181
  """Verify an X.509 certificate and optionally its chain."""
182
182
  ...
183
183
 
@@ -191,7 +191,7 @@ class ICertService(ABC):
191
191
  cert: CertBytes,
192
192
  *,
193
193
  include_extensions: bool = True,
194
- opts: Optional[Dict[str, Any]] = None,
195
- ) -> Dict[str, Any]:
194
+ opts: dict[str, Any] | None = None,
195
+ ) -> dict[str, Any]:
196
196
  """Parse an X.509 certificate into a JSON-serializable mapping."""
197
197
  ...
@@ -1,18 +1,16 @@
1
1
  from abc import ABC, abstractmethod
2
- from typing import Any, Callable, List, Tuple
2
+ from typing import Any, Callable
3
3
 
4
- CallableDefinition = Tuple[Callable, List[Any], dict]
4
+ CallableDefinition = tuple[Callable, list[Any], dict]
5
5
 
6
6
 
7
7
  class ICallableChain(ABC):
8
8
  @abstractmethod
9
9
  def __call__(self, *initial_args: Any, **initial_kwargs: Any) -> Any:
10
10
  """Executes the chain of callables."""
11
- pass
12
11
 
13
12
  @abstractmethod
14
13
  def add_callable(
15
- self, func: Callable, args: List[Any] = None, kwargs: dict = None
14
+ self, func: Callable, args: list[Any] = None, kwargs: dict = None
16
15
  ) -> None:
17
16
  """Adds a new callable to the chain."""
18
- pass