maivn 0.2.0__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.
- maivn-0.2.0/.env.example +64 -0
- maivn-0.2.0/.github/workflows/ci.yml +45 -0
- maivn-0.2.0/.github/workflows/notify-portal.yml +26 -0
- maivn-0.2.0/.github/workflows/publish-pypi.yml +40 -0
- maivn-0.2.0/.gitignore +126 -0
- maivn-0.2.0/.python-version +1 -0
- maivn-0.2.0/CHANGELOG.md +49 -0
- maivn-0.2.0/DEPLOYMENT.md +64 -0
- maivn-0.2.0/LICENSE +191 -0
- maivn-0.2.0/NOTICE +16 -0
- maivn-0.2.0/PKG-INFO +456 -0
- maivn-0.2.0/README.md +419 -0
- maivn-0.2.0/RUNBOOK.md +69 -0
- maivn-0.2.0/THIRD_PARTY_LICENSES.md +109 -0
- maivn-0.2.0/docs/api/README.md +253 -0
- maivn-0.2.0/docs/api/agent.md +908 -0
- maivn-0.2.0/docs/api/client.md +352 -0
- maivn-0.2.0/docs/api/configuration.md +208 -0
- maivn-0.2.0/docs/api/decorators.md +487 -0
- maivn-0.2.0/docs/api/events.md +438 -0
- maivn-0.2.0/docs/api/logging.md +178 -0
- maivn-0.2.0/docs/api/mcp.md +389 -0
- maivn-0.2.0/docs/api/messages.md +461 -0
- maivn-0.2.0/docs/api/scheduling.md +330 -0
- maivn-0.2.0/docs/api/session-config.md +387 -0
- maivn-0.2.0/docs/api/swarm.md +656 -0
- maivn-0.2.0/docs/best-practices.md +510 -0
- maivn-0.2.0/docs/guides/api-keys-webhooks.md +53 -0
- maivn-0.2.0/docs/guides/billing-and-usage.md +80 -0
- maivn-0.2.0/docs/guides/dependencies.md +463 -0
- maivn-0.2.0/docs/guides/frontend-events.md +936 -0
- maivn-0.2.0/docs/guides/getting-started.md +246 -0
- maivn-0.2.0/docs/guides/maivn-studio-authoring-and-debugging.md +180 -0
- maivn-0.2.0/docs/guides/maivn-studio.md +204 -0
- maivn-0.2.0/docs/guides/memory-and-recall.md +297 -0
- maivn-0.2.0/docs/guides/multi-agent.md +427 -0
- maivn-0.2.0/docs/guides/portal-authentication.md +52 -0
- maivn-0.2.0/docs/guides/portal-memory-management.md +111 -0
- maivn-0.2.0/docs/guides/private-data.md +653 -0
- maivn-0.2.0/docs/guides/scheduled-invocation.md +368 -0
- maivn-0.2.0/docs/guides/sdk-resource-management.md +217 -0
- maivn-0.2.0/docs/guides/structured-output.md +473 -0
- maivn-0.2.0/docs/guides/system-tools.md +575 -0
- maivn-0.2.0/docs/guides/tools.md +537 -0
- maivn-0.2.0/docs/guides/workspace-operations.md +83 -0
- maivn-0.2.0/docs/troubleshooting.md +327 -0
- maivn-0.2.0/pyproject.toml +103 -0
- maivn-0.2.0/pyrightconfig.json +11 -0
- maivn-0.2.0/scripts/oss_license_audit.py +530 -0
- maivn-0.2.0/scripts/release_guard.py +97 -0
- maivn-0.2.0/src/maivn/__init__.py +265 -0
- maivn-0.2.0/src/maivn/__version__.py +10 -0
- maivn-0.2.0/src/maivn/_internal/adapters/__init__.py +1 -0
- maivn-0.2.0/src/maivn/_internal/adapters/networking/__init__.py +17 -0
- maivn-0.2.0/src/maivn/_internal/adapters/networking/http_client.py +41 -0
- maivn-0.2.0/src/maivn/_internal/adapters/networking/sse_client.py +153 -0
- maivn-0.2.0/src/maivn/_internal/adapters/repositories/__init__.py +22 -0
- maivn-0.2.0/src/maivn/_internal/adapters/repositories/agent_repo.py +73 -0
- maivn-0.2.0/src/maivn/_internal/adapters/repositories/dependency_repo.py +91 -0
- maivn-0.2.0/src/maivn/_internal/adapters/repositories/tool_repo.py +74 -0
- maivn-0.2.0/src/maivn/_internal/api/__init__.py +23 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/__init__.py +7 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/agent.py +673 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/client_cache.py +45 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/hooks.py +153 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/invocation_helpers.py +199 -0
- maivn-0.2.0/src/maivn/_internal/api/agent/invocation_state.py +38 -0
- maivn-0.2.0/src/maivn/_internal/api/async_stream.py +44 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/__init__.py +11 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/batch.py +89 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/builders.py +326 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/mcp.py +92 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/memory.py +427 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/normalization.py +35 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/redaction.py +134 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/runtime.py +72 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/scheduling.py +113 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/scope.py +318 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/tooling.py +260 -0
- maivn-0.2.0/src/maivn/_internal/api/base_scope/validation.py +234 -0
- maivn-0.2.0/src/maivn/_internal/api/client/__init__.py +8 -0
- maivn-0.2.0/src/maivn/_internal/api/client/client.py +314 -0
- maivn-0.2.0/src/maivn/_internal/api/client/http.py +143 -0
- maivn-0.2.0/src/maivn/_internal/api/client/memory.py +343 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/__init__.py +11 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/auto.py +72 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/clients.py +390 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/retry.py +104 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/server.py +337 -0
- maivn-0.2.0/src/maivn/_internal/api/mcp/tools.py +61 -0
- maivn-0.2.0/src/maivn/_internal/api/resource_models.py +151 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/__init__.py +30 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/builder.py +289 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/jitter.py +169 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/job.py +314 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/models.py +43 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/registry.py +38 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/retry.py +55 -0
- maivn-0.2.0/src/maivn/_internal/api/scheduling/schedule.py +145 -0
- maivn-0.2.0/src/maivn/_internal/api/swarm/__init__.py +7 -0
- maivn-0.2.0/src/maivn/_internal/api/swarm/member.py +199 -0
- maivn-0.2.0/src/maivn/_internal/api/swarm/metadata.py +302 -0
- maivn-0.2.0/src/maivn/_internal/api/swarm/swarm.py +488 -0
- maivn-0.2.0/src/maivn/_internal/api/swarm/validation.py +50 -0
- maivn-0.2.0/src/maivn/_internal/core/__init__.py +37 -0
- maivn-0.2.0/src/maivn/_internal/core/application_init.py +4 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/__init__.py +43 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/config_helpers.py +18 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/constants.py +18 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/events/__init__.py +13 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/events/event_handlers.py +260 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/events/event_stream_processor.py +330 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/events/interrupt_manager.py +355 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/events/system_tool_handlers.py +237 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/execution/__init__.py +12 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/execution/background_executor.py +228 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/helpers/__init__.py +16 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/helpers/input_validator.py +242 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/helpers/pydantic_deserializer.py +393 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/helpers/resource_utils.py +56 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/http/__init__.py +10 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/http/http_client_service.py +214 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/orchestration/__init__.py +14 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/orchestration/tool_execution_orchestrator.py +396 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/session/__init__.py +10 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/session/session_service.py +74 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/__init__.py +11 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/dependency_updates.py +83 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/dynamic_tool_factory.py +390 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/dynamic_tool_factory_nested.py +173 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/dynamic_tool_factory_response.py +155 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/state_compiler.py +484 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/state_compilation/tool_normalization.py +110 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/__init__.py +41 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/argument_utils.py +116 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/basic_tool_execution_service.py +190 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/execution_strategy.py +386 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/__init__.py +21 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/argument_validator.py +44 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/dependency_resolver.py +307 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/function_executor.py +121 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/mcp_executor.py +44 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/helpers/model_executor.py +61 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_event_dispatcher/__init__.py +7 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_event_dispatcher/dispatcher.py +315 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_event_dispatcher/execution.py +75 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_event_dispatcher/logging_helpers.py +64 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_event_dispatcher/reporting.py +156 -0
- maivn-0.2.0/src/maivn/_internal/core/application_services/tool_execution/tool_execution_service.py +299 -0
- maivn-0.2.0/src/maivn/_internal/core/domain_init.py +35 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/__init__.py +52 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/execution_context.py +82 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/mixins/__init__.py +37 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/mixins/configurable_mixin.py +145 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/mixins/identifiable_mixin.py +109 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/session_endpoints.py +17 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/sse_event.py +14 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/state_compilation_config.py +26 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tool_events.py +34 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tool_spec_registry.py +45 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/__init__.py +22 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/agent_tool.py +42 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/base_tool.py +111 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/function_tool.py +91 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/mcp_tool.py +56 -0
- maivn-0.2.0/src/maivn/_internal/core/entities/tools/model_tool.py +127 -0
- maivn-0.2.0/src/maivn/_internal/core/exceptions.py +340 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/__init__.py +20 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/orchestrator_protocol.py +195 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/repositories/__init__.py +15 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/repositories/agent.py +87 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/repositories/dependency.py +77 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/repositories/tool.py +82 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/resolvers.py +40 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/sse_client.py +33 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/tool_executor.py +26 -0
- maivn-0.2.0/src/maivn/_internal/core/interfaces/tool_specs.py +20 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/__init__.py +18 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/builder.py +169 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/core.py +480 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/events/__init__.py +8 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/events/consumption.py +221 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/events/reporter_hooks.py +227 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/execution.py +326 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/helpers.py +83 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/initialization.py +267 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/reporter_hooks.py +216 -0
- maivn-0.2.0/src/maivn/_internal/core/orchestrator/tooling.py +151 -0
- maivn-0.2.0/src/maivn/_internal/core/registrars/__init__.py +16 -0
- maivn-0.2.0/src/maivn/_internal/core/registrars/register_agent.py +55 -0
- maivn-0.2.0/src/maivn/_internal/core/registrars/register_dependency.py +31 -0
- maivn-0.2.0/src/maivn/_internal/core/registrars/register_tools.py +64 -0
- maivn-0.2.0/src/maivn/_internal/core/resolvers/__init__.py +11 -0
- maivn-0.2.0/src/maivn/_internal/core/resolvers/noop_resolver.py +28 -0
- maivn-0.2.0/src/maivn/_internal/core/services/__init__.py +54 -0
- maivn-0.2.0/src/maivn/_internal/core/services/agent_execution_service.py +322 -0
- maivn-0.2.0/src/maivn/_internal/core/services/dependency_collector.py +174 -0
- maivn-0.2.0/src/maivn/_internal/core/services/dependency_execution_service.py +327 -0
- maivn-0.2.0/src/maivn/_internal/core/services/interrupt_service.py +384 -0
- maivn-0.2.0/src/maivn/_internal/core/services/team_dependencies.py +363 -0
- maivn-0.2.0/src/maivn/_internal/core/services/toolify/__init__.py +10 -0
- maivn-0.2.0/src/maivn/_internal/core/services/toolify/policies.py +306 -0
- maivn-0.2.0/src/maivn/_internal/core/services/toolify/service.py +253 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/__init__.py +27 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/dependency_detector.py +169 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/dependency_extractor.py +150 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/factory.py +250 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/flattener.py +357 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/model_discovery.py +79 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/schema_builder.py +353 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/schema_processors.py +133 -0
- maivn-0.2.0/src/maivn/_internal/core/tool_specs/type_utils.py +188 -0
- maivn-0.2.0/src/maivn/_internal/core/utils/__init__.py +13 -0
- maivn-0.2.0/src/maivn/_internal/core/utils/dependency_utils.py +154 -0
- maivn-0.2.0/src/maivn/_internal/core/utils/logger.py +72 -0
- maivn-0.2.0/src/maivn/_internal/utils/__init__.py +26 -0
- maivn-0.2.0/src/maivn/_internal/utils/configuration/__init__.py +40 -0
- maivn-0.2.0/src/maivn/_internal/utils/configuration/config_builder.py +142 -0
- maivn-0.2.0/src/maivn/_internal/utils/configuration/config_store.py +72 -0
- maivn-0.2.0/src/maivn/_internal/utils/configuration/environment_config.py +402 -0
- maivn-0.2.0/src/maivn/_internal/utils/decorators.py +500 -0
- maivn-0.2.0/src/maivn/_internal/utils/env_parsing.py +96 -0
- maivn-0.2.0/src/maivn/_internal/utils/infrastructure_init.py +25 -0
- maivn-0.2.0/src/maivn/_internal/utils/logging/__init__.py +20 -0
- maivn-0.2.0/src/maivn/_internal/utils/logging/sdk_logger.py +216 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/__init__.py +30 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/app_event_payloads/__init__.py +39 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/app_event_payloads/assistant_events.py +165 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/app_event_payloads/common.py +92 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/app_event_payloads/lifecycle_events.py +131 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/app_event_payloads/tool_events.py +149 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/context.py +89 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/__init__.py +24 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/_components.py +271 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/_formatters.py +247 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/base/__init__.py +7 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/base/defaults.py +126 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/base/interface.py +147 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/base/reporter.py +13 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/config.py +182 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_categories.py +204 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/__init__.py +7 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/display.py +136 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/reporter.py +109 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/session.py +40 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/system.py +134 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/event_router/tools.py +183 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/factory.py +51 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/__init__.py +8 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/reporter_base.py +268 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/__init__.py +9 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/assistant_streaming.py +126 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/display.py +314 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/display_methods.py +83 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/progress.py +141 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/progress_methods.py +82 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/reporter.py +57 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/reporting.py +298 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/session_methods.py +36 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/stream_state.py +80 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/streaming_handler.py +260 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/streaming_panel.py +107 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/streaming_progress.py +92 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/terminal_setup.py +153 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/tool_children.py +185 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/rich_reporter/tool_methods.py +210 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/__init__.py +9 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/assistant_streaming.py +67 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/display_helpers.py +255 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/display_methods.py +153 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/progress_methods.py +142 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/progress_state.py +55 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/reporter.py +48 -0
- maivn-0.2.0/src/maivn/_internal/utils/reporting/terminal_reporter/reporters/simple_reporter/session_methods.py +116 -0
- maivn-0.2.0/src/maivn/cli.py +80 -0
- maivn-0.2.0/src/maivn/constants.py +39 -0
- maivn-0.2.0/src/maivn/events/__init__.py +153 -0
- maivn-0.2.0/src/maivn/events/_bridge/__init__.py +38 -0
- maivn-0.2.0/src/maivn/events/_bridge/bridge.py +479 -0
- maivn-0.2.0/src/maivn/events/_bridge/dedup.py +51 -0
- maivn-0.2.0/src/maivn/events/_bridge/emitters.py +229 -0
- maivn-0.2.0/src/maivn/events/_bridge/queueing.py +57 -0
- maivn-0.2.0/src/maivn/events/_bridge/registry.py +47 -0
- maivn-0.2.0/src/maivn/events/_bridge/runtime/__init__.py +7 -0
- maivn-0.2.0/src/maivn/events/_bridge/runtime/helpers.py +70 -0
- maivn-0.2.0/src/maivn/events/_bridge/runtime/identity.py +271 -0
- maivn-0.2.0/src/maivn/events/_bridge/runtime/normalization.py +320 -0
- maivn-0.2.0/src/maivn/events/_bridge/schema.py +143 -0
- maivn-0.2.0/src/maivn/events/_bridge/security.py +331 -0
- maivn-0.2.0/src/maivn/events/_bridge/serialization.py +126 -0
- maivn-0.2.0/src/maivn/events/_bridge/streaming.py +194 -0
- maivn-0.2.0/src/maivn/events/_bridge/ui_event.py +59 -0
- maivn-0.2.0/src/maivn/events/_forward.py +57 -0
- maivn-0.2.0/src/maivn/events/_forwarding/__init__.py +13 -0
- maivn-0.2.0/src/maivn/events/_forwarding/bridge.py +413 -0
- maivn-0.2.0/src/maivn/events/_forwarding/payload.py +145 -0
- maivn-0.2.0/src/maivn/events/_forwarding/reporter.py +516 -0
- maivn-0.2.0/src/maivn/events/_forwarding/state.py +64 -0
- maivn-0.2.0/src/maivn/events/_models.py +179 -0
- maivn-0.2.0/src/maivn/events/_normalize/__init__.py +10 -0
- maivn-0.2.0/src/maivn/events/_normalize/assistant_events.py +108 -0
- maivn-0.2.0/src/maivn/events/_normalize/context.py +27 -0
- maivn-0.2.0/src/maivn/events/_normalize/handlers.py +59 -0
- maivn-0.2.0/src/maivn/events/_normalize/helpers.py +77 -0
- maivn-0.2.0/src/maivn/events/_normalize/lifecycle_events.py +157 -0
- maivn-0.2.0/src/maivn/events/_normalize/stream.py +80 -0
- maivn-0.2.0/src/maivn/events/_normalize/system_events.py +108 -0
- maivn-0.2.0/src/maivn/events/_normalize/tool_events.py +114 -0
- maivn-0.2.0/src/maivn/events/_normalize/tooling.py +113 -0
- maivn-0.2.0/src/maivn/events/fastapi.py +267 -0
- maivn-0.2.0/src/maivn/logging.py +23 -0
- maivn-0.2.0/src/maivn/messages/__init__.py +23 -0
- maivn-0.2.0/src/maivn/py.typed +0 -0
- maivn-0.2.0/tests/application/logging/test_sdk_logger.py +199 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_agent_client_cache_keying.py +35 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_background_execution_toggle.py +93 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_dynamic_tool_factory_extract_agent_response.py +74 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_event_stream_processor_tool_payload.py +44 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_interrupt_handler.py +206 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_rich_reporter_system_tool_streaming.py +147 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_simple_reporter_streaming.py +55 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_sse_client_multiline_data.py +14 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_tool_event_dispatcher.py +403 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_tool_execution_orchestrator_context.py +32 -0
- maivn-0.2.0/tests/application/orchestrators/services/test_tool_execution_service.py +46 -0
- maivn-0.2.0/tests/application/orchestrators/test_agent_orchestrator_background_execution.py +77 -0
- maivn-0.2.0/tests/application/orchestrators/test_agent_orchestrator_timeouts.py +164 -0
- maivn-0.2.0/tests/application/orchestrators/test_orchestrator_builder_services.py +82 -0
- maivn-0.2.0/tests/application/orchestrators/test_orchestrator_helpers.py +197 -0
- maivn-0.2.0/tests/application/scheduling/__init__.py +0 -0
- maivn-0.2.0/tests/application/scheduling/test_jitter.py +80 -0
- maivn-0.2.0/tests/application/scheduling/test_job_lifecycle.py +162 -0
- maivn-0.2.0/tests/application/scheduling/test_retry.py +53 -0
- maivn-0.2.0/tests/application/scheduling/test_schedule.py +41 -0
- maivn-0.2.0/tests/application/scopes/test_swarm_validation.py +35 -0
- maivn-0.2.0/tests/application/services/test_agent_execution_service_branches.py +192 -0
- maivn-0.2.0/tests/application/services/test_interrupt_service_branches.py +169 -0
- maivn-0.2.0/tests/application/test_agent_execution_service.py +241 -0
- maivn-0.2.0/tests/application/test_agent_tool_registration.py +110 -0
- maivn-0.2.0/tests/application/test_cli.py +89 -0
- maivn-0.2.0/tests/application/test_client_timeout_precedence.py +23 -0
- maivn-0.2.0/tests/application/test_configuration.py +68 -0
- maivn-0.2.0/tests/application/test_configuration_builder.py +17 -0
- maivn-0.2.0/tests/application/test_decorators.py +130 -0
- maivn-0.2.0/tests/application/test_dependency_collector.py +45 -0
- maivn-0.2.0/tests/application/test_dependency_execution_service.py +118 -0
- maivn-0.2.0/tests/application/test_dependency_execution_service_input_handler.py +25 -0
- maivn-0.2.0/tests/application/test_dependency_resolver.py +121 -0
- maivn-0.2.0/tests/application/test_dependency_updates.py +83 -0
- maivn-0.2.0/tests/application/test_dynamic_tool_factory.py +228 -0
- maivn-0.2.0/tests/application/test_env_parsing.py +60 -0
- maivn-0.2.0/tests/application/test_event_bridge.py +527 -0
- maivn-0.2.0/tests/application/test_event_bridge_concurrency.py +254 -0
- maivn-0.2.0/tests/application/test_event_bridge_hardening.py +389 -0
- maivn-0.2.0/tests/application/test_event_consumption_coordinator.py +89 -0
- maivn-0.2.0/tests/application/test_event_forwarding.py +427 -0
- maivn-0.2.0/tests/application/test_event_handlers.py +280 -0
- maivn-0.2.0/tests/application/test_event_invocation_builder.py +158 -0
- maivn-0.2.0/tests/application/test_event_payload_builders.py +70 -0
- maivn-0.2.0/tests/application/test_event_router_reporter.py +255 -0
- maivn-0.2.0/tests/application/test_event_stream_processor.py +133 -0
- maivn-0.2.0/tests/application/test_events_fastapi.py +238 -0
- maivn-0.2.0/tests/application/test_exceptions.py +47 -0
- maivn-0.2.0/tests/application/test_http_client_adapter.py +38 -0
- maivn-0.2.0/tests/application/test_http_client_service_retries.py +88 -0
- maivn-0.2.0/tests/application/test_interrupt_service.py +82 -0
- maivn-0.2.0/tests/application/test_mcp_stdio_integration.py +55 -0
- maivn-0.2.0/tests/application/test_mcp_stdio_timeout.py +100 -0
- maivn-0.2.0/tests/application/test_orchestrator_builder.py +53 -0
- maivn-0.2.0/tests/application/test_orchestrator_invoke_end_to_end.py +173 -0
- maivn-0.2.0/tests/application/test_orchestrator_reporter_hooks.py +352 -0
- maivn-0.2.0/tests/application/test_public_events.py +211 -0
- maivn-0.2.0/tests/application/test_public_exports.py +16 -0
- maivn-0.2.0/tests/application/test_pydantic_deserializer.py +64 -0
- maivn-0.2.0/tests/application/test_repositories.py +86 -0
- maivn-0.2.0/tests/application/test_scope_batch.py +233 -0
- maivn-0.2.0/tests/application/test_sdk_client_auth_errors.py +68 -0
- maivn-0.2.0/tests/application/test_sdk_client_resource_management.py +292 -0
- maivn-0.2.0/tests/application/test_sse_client.py +78 -0
- maivn-0.2.0/tests/application/test_structured_output_invocation_builder.py +49 -0
- maivn-0.2.0/tests/application/test_swarm.py +329 -0
- maivn-0.2.0/tests/application/test_swarm_invokes_via_dependency.py +92 -0
- maivn-0.2.0/tests/application/test_swarm_member.py +185 -0
- maivn-0.2.0/tests/application/test_tool_event_normalization.py +40 -0
- maivn-0.2.0/tests/application/test_tool_execution_helpers.py +125 -0
- maivn-0.2.0/tests/application/test_tool_execution_hooks.py +338 -0
- maivn-0.2.0/tests/application/test_tool_execution_orchestrator_more.py +117 -0
- maivn-0.2.0/tests/application/test_tool_execution_service_more.py +178 -0
- maivn-0.2.0/tests/application/test_tool_index_coordinator.py +105 -0
- maivn-0.2.0/tests/application/test_tool_normalization.py +115 -0
- maivn-0.2.0/tests/conftest.py +22 -0
- maivn-0.2.0/tests/domain/registrars/test_registrars.py +142 -0
- maivn-0.2.0/tests/domain/services/test_dependency_services.py +92 -0
- maivn-0.2.0/tests/domain/services/test_toolify_builder_dependencies.py +230 -0
- maivn-0.2.0/tests/domain/tool_specs/test_dependency_detector.py +76 -0
- maivn-0.2.0/tests/domain/tool_specs/test_dependency_extractor.py +341 -0
- maivn-0.2.0/tests/domain/tool_specs/test_factory.py +141 -0
- maivn-0.2.0/tests/domain/tool_specs/test_model_discovery.py +176 -0
- maivn-0.2.0/tests/domain/tool_specs/test_schema_builder.py +67 -0
- maivn-0.2.0/tests/domain/tool_specs/test_schema_processors.py +446 -0
- maivn-0.2.0/tests/domain/tool_specs/test_tool_flattener.py +121 -0
- maivn-0.2.0/tests/domain/tool_specs/test_type_utils.py +45 -0
- maivn-0.2.0/tests/domain/utils/test_dependency_utils.py +102 -0
- maivn-0.2.0/uv.lock +1326 -0
maivn-0.2.0/.env.example
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# maivn (public Python SDK) — environment variables
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Copy to .env if you use load_dotenv() in your application; otherwise set
|
|
5
|
+
# these in your process environment.
|
|
6
|
+
#
|
|
7
|
+
# All variables are OPTIONAL. Each can also be set programmatically via
|
|
8
|
+
# Configuration() or Agent() kwargs — when both are present, the explicit
|
|
9
|
+
# kwarg wins.
|
|
10
|
+
#
|
|
11
|
+
# READ AT IMPORT — values applied automatically to every SDK process.
|
|
12
|
+
# OPT-IN — only consumed when the consumer calls
|
|
13
|
+
# ConfigurationBuilder.from_environment(); the SDK does NOT call this for
|
|
14
|
+
# you. Use these when you want a fully env-driven config without writing
|
|
15
|
+
# any kwargs.
|
|
16
|
+
# =============================================================================
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# =============================================================================
|
|
20
|
+
# READ AT IMPORT — terminal reporter (CLI display)
|
|
21
|
+
# =============================================================================
|
|
22
|
+
|
|
23
|
+
# System-tool stream mode. Default: focus.
|
|
24
|
+
# Other accepted values: full, off.
|
|
25
|
+
MAIVN_TERMINAL_STREAM_MODE=
|
|
26
|
+
|
|
27
|
+
# Max frames-per-second for the streaming panel. Default: 10.
|
|
28
|
+
MAIVN_TERMINAL_STREAM_MAX_FPS=
|
|
29
|
+
|
|
30
|
+
# Debug helpers — keep stream panel visible after completion / show
|
|
31
|
+
# raw chunk delimiters. Off in normal use.
|
|
32
|
+
MAIVN_DEBUG_KEEP_SYSTEM_TOOL_STREAM_PANEL=
|
|
33
|
+
MAIVN_DEBUG_SYSTEM_TOOL_STREAM_DELIMITERS=
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# =============================================================================
|
|
37
|
+
# OPT-IN — used by ConfigurationBuilder.from_environment()
|
|
38
|
+
# =============================================================================
|
|
39
|
+
# These do nothing unless your application calls
|
|
40
|
+
# ConfigurationBuilder.from_environment() to assemble a Configuration.
|
|
41
|
+
|
|
42
|
+
# --- Authentication ---
|
|
43
|
+
MAIVN_API_KEY=
|
|
44
|
+
|
|
45
|
+
# --- Server / runtime ---
|
|
46
|
+
MAIVN_TIMEOUT= # HTTP request timeout (seconds)
|
|
47
|
+
MAIVN_MAX_RETRIES= # Maximum retry attempts
|
|
48
|
+
MAIVN_DEPLOYMENT_TIMEZONE= # IANA timezone (e.g. America/New_York)
|
|
49
|
+
|
|
50
|
+
# --- Execution ---
|
|
51
|
+
MAIVN_EXECUTION_TIMEOUT= # Default execution timeout (seconds)
|
|
52
|
+
MAIVN_PENDING_EVENT_TIMEOUT= # Pending event timeout (seconds)
|
|
53
|
+
MAIVN_MAX_PARALLEL_TOOLS= # Max parallel tool executions
|
|
54
|
+
MAIVN_ENABLE_BACKGROUND_EXECUTION= # true/false — background vs inline
|
|
55
|
+
MAIVN_TOOL_EXECUTION_TIMEOUT= # Per-tool timeout (seconds)
|
|
56
|
+
MAIVN_DEPENDENCY_WAIT_TIMEOUT= # Dependency resolution timeout (seconds)
|
|
57
|
+
MAIVN_TOTAL_EXECUTION_TIMEOUT= # Upper bound on entire session (seconds)
|
|
58
|
+
MAIVN_MAX_PROMPT_LENGTH= # Max prompt length for tool naming
|
|
59
|
+
MAIVN_TOOL_NAME_HASH_MODULO= # Modulo for tool name hash generation
|
|
60
|
+
|
|
61
|
+
# --- Logging ---
|
|
62
|
+
MAIVN_LOG_LEVEL= # DEBUG | INFO | WARNING | ERROR
|
|
63
|
+
MAIVN_LOG_FORMAT= # Custom log format string
|
|
64
|
+
MAIVN_ENABLE_TIMING_LOGS= # true/false — enable timing logs
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- master
|
|
8
|
+
- main
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: maivn-ci-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
validate:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.12"
|
|
27
|
+
|
|
28
|
+
- uses: astral-sh/setup-uv@v6
|
|
29
|
+
with:
|
|
30
|
+
enable-cache: true
|
|
31
|
+
|
|
32
|
+
- name: Sync environment
|
|
33
|
+
run: uv sync --frozen
|
|
34
|
+
|
|
35
|
+
- name: Validate OSS license report
|
|
36
|
+
run: uv run --no-sync python scripts/oss_license_audit.py
|
|
37
|
+
|
|
38
|
+
- name: Ruff
|
|
39
|
+
run: uv run --no-sync ruff check .
|
|
40
|
+
|
|
41
|
+
- name: Pyright
|
|
42
|
+
run: uv run --no-sync pyright src/maivn
|
|
43
|
+
|
|
44
|
+
- name: Pytest
|
|
45
|
+
run: uv run --no-sync pytest
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Notify Portal of Doc Changes
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master, main]
|
|
6
|
+
paths:
|
|
7
|
+
- "docs/**"
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
trigger-portal-rebuild:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Trigger Vercel deploy hook
|
|
18
|
+
env:
|
|
19
|
+
DEPLOY_HOOK: ${{ secrets.VERCEL_DEPLOY_HOOK_PORTAL }}
|
|
20
|
+
run: |
|
|
21
|
+
if [ -z "$DEPLOY_HOOK" ]; then
|
|
22
|
+
echo "::warning::VERCEL_DEPLOY_HOOK_PORTAL secret is not set, skipping"
|
|
23
|
+
exit 0
|
|
24
|
+
fi
|
|
25
|
+
curl -fsS -X POST "$DEPLOY_HOOK"
|
|
26
|
+
echo "Portal rebuild triggered"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Publish PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: maivn-pypi-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
id-token: write
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
publish:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
environment: pypi
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.12"
|
|
27
|
+
|
|
28
|
+
- uses: astral-sh/setup-uv@v6
|
|
29
|
+
|
|
30
|
+
- name: Validate release version
|
|
31
|
+
run: uv run --with packaging --no-project python scripts/release_guard.py
|
|
32
|
+
|
|
33
|
+
- name: Build distributions
|
|
34
|
+
run: uv build
|
|
35
|
+
|
|
36
|
+
- name: Validate distributions
|
|
37
|
+
run: uvx twine check dist/*
|
|
38
|
+
|
|
39
|
+
- name: Publish to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
maivn-0.2.0/.gitignore
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
build/
|
|
8
|
+
develop-eggs/
|
|
9
|
+
dist/
|
|
10
|
+
downloads/
|
|
11
|
+
eggs/
|
|
12
|
+
.eggs/
|
|
13
|
+
lib/
|
|
14
|
+
lib64/
|
|
15
|
+
parts/
|
|
16
|
+
sdist/
|
|
17
|
+
var/
|
|
18
|
+
wheels/
|
|
19
|
+
share/python-wheels/
|
|
20
|
+
*.egg-info/
|
|
21
|
+
.installed.cfg
|
|
22
|
+
*.egg
|
|
23
|
+
MANIFEST
|
|
24
|
+
|
|
25
|
+
# PyInstaller
|
|
26
|
+
*.manifest
|
|
27
|
+
*.spec
|
|
28
|
+
|
|
29
|
+
# Installer logs
|
|
30
|
+
pip-log.txt
|
|
31
|
+
pip-delete-this-directory.txt
|
|
32
|
+
|
|
33
|
+
# Unit test / coverage reports
|
|
34
|
+
htmlcov/
|
|
35
|
+
.tox/
|
|
36
|
+
.nox/
|
|
37
|
+
.coverage
|
|
38
|
+
.coverage.*
|
|
39
|
+
.cache
|
|
40
|
+
nosetests.xml
|
|
41
|
+
coverage.xml
|
|
42
|
+
*.cover
|
|
43
|
+
*.py,cover
|
|
44
|
+
.hypothesis/
|
|
45
|
+
.pytest_cache/
|
|
46
|
+
cover/
|
|
47
|
+
|
|
48
|
+
# Jupyter Notebook
|
|
49
|
+
.ipynb_checkpoints
|
|
50
|
+
profile_default/
|
|
51
|
+
ipython_config.py
|
|
52
|
+
|
|
53
|
+
# Virtual environments
|
|
54
|
+
.env
|
|
55
|
+
.env.local
|
|
56
|
+
.env.*.local
|
|
57
|
+
!.env.example
|
|
58
|
+
.venv
|
|
59
|
+
venv/
|
|
60
|
+
env/
|
|
61
|
+
ENV/
|
|
62
|
+
env.bak/
|
|
63
|
+
venv.bak/
|
|
64
|
+
|
|
65
|
+
# IDE files
|
|
66
|
+
.vscode/
|
|
67
|
+
.idea/
|
|
68
|
+
*.swp
|
|
69
|
+
*.swo
|
|
70
|
+
*~
|
|
71
|
+
.spyderproject
|
|
72
|
+
.spyproject
|
|
73
|
+
.ropeproject
|
|
74
|
+
|
|
75
|
+
# AI/Development Tools
|
|
76
|
+
.claude/
|
|
77
|
+
.cursor/
|
|
78
|
+
.windsurf/
|
|
79
|
+
.github/copilot/
|
|
80
|
+
.aider/
|
|
81
|
+
.continue/
|
|
82
|
+
|
|
83
|
+
# OS files
|
|
84
|
+
.DS_Store
|
|
85
|
+
.DS_Store?
|
|
86
|
+
._*
|
|
87
|
+
.Spotlight-V100
|
|
88
|
+
.Trashes
|
|
89
|
+
ehthumbs.db
|
|
90
|
+
Thumbs.db
|
|
91
|
+
desktop.ini
|
|
92
|
+
|
|
93
|
+
# Temporary files
|
|
94
|
+
*.tmp
|
|
95
|
+
*.temp
|
|
96
|
+
*.bak
|
|
97
|
+
*.backup
|
|
98
|
+
*.old
|
|
99
|
+
|
|
100
|
+
# Type checking
|
|
101
|
+
.mypy_cache/
|
|
102
|
+
.dmypy.json
|
|
103
|
+
dmypy.json
|
|
104
|
+
.pyre/
|
|
105
|
+
.pytype/
|
|
106
|
+
cython_debug/
|
|
107
|
+
|
|
108
|
+
# Package managers
|
|
109
|
+
.pdm.toml
|
|
110
|
+
.pdm-python
|
|
111
|
+
.pdm-build/
|
|
112
|
+
__pypackages__/
|
|
113
|
+
|
|
114
|
+
# Logs
|
|
115
|
+
*.log
|
|
116
|
+
logs/
|
|
117
|
+
.deps/
|
|
118
|
+
|
|
119
|
+
# Database
|
|
120
|
+
*.sqlite
|
|
121
|
+
*.sqlite3
|
|
122
|
+
*.db
|
|
123
|
+
|
|
124
|
+
# Documentation
|
|
125
|
+
docs/_build/
|
|
126
|
+
/site
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
maivn-0.2.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Scheduled Invocation**: New `cron(...)`, `every(...)`, and `at(...)` builders on `BaseScope` (inherited by `Agent` and `Swarm`). Each returns a `CronInvocationBuilder` whose terminal methods (`invoke`, `stream`, `batch`, `abatch`, `ainvoke`, `astream`) start a `ScheduledJob`. Includes `JitterSpec` (uniform/normal/triangular distributions, asymmetric ranges, snap-to-grid, deterministic seed), `Retry` (constant/linear/exponential backoff with `max_delay` cap and exception-class filter), misfire policy (`skip`/`fire_now`/`coalesce`), overlap policy (`skip`/`queue`/`replace` with `max_overlap`), bounded `start_at`/`end_at`/`max_runs`, lifecycle (`start`/`stop`/`pause`/`resume`/`trigger_now`), inspection (`next_run_at`, `next_runs`, `history`, `last_run`, fire/success/failure/skip counters), and callbacks (`on_fire`, `on_success`, `on_error`, `on_skip`). Process-wide `list_jobs()` / `stop_all_jobs()` registry.
|
|
13
|
+
- **Async Invocation Surface**: `Agent.ainvoke()` / `Agent.astream()` and `Swarm.ainvoke()` / `Swarm.astream()` mirror the synchronous `invoke` / `stream` for native asyncio code.
|
|
14
|
+
- **Runtime Dependency**: `croniter>=2.0.1` (MIT) for cron expression parsing; `python-dateutil` and `six` are pulled in transitively.
|
|
15
|
+
- **Developer Portal Foundation**: Multi-tenancy support with organizations and project scoping.
|
|
16
|
+
- **Organization Support**: New `iam` schema with `organizations`, `organization_members`, and `user_profiles` tables.
|
|
17
|
+
- **Project-Organization Linking**: Projects now belong to organizations via `organization_id` foreign key.
|
|
18
|
+
- **Checkpoint Consolidation (v2)**: Unified `execution.checkpoint_data` table replaces four separate metadata tables.
|
|
19
|
+
- **Tool Registry Project Scoping**: All tool storage operations now support optional `project_id` parameter for multi-tenant isolation.
|
|
20
|
+
- **Session Project Context**: `SessionCore.project_id` and `AuthenticatedUser.project_id` fields for project-aware sessions.
|
|
21
|
+
- **New RPC Functions**: `save_checkpoint_bundle_v2` and `get_checkpoint_bundle_v2` for consolidated checkpoint storage.
|
|
22
|
+
- **Webhooks System**: Complete webhook infrastructure with HMAC signing, automatic retries, and event subscriptions.
|
|
23
|
+
- Domain entities: `Webhook`, `WebhookDelivery`, `WebhookEvent`
|
|
24
|
+
- Repositories: In-memory and Supabase implementations
|
|
25
|
+
- API routes for webhook CRUD and delivery history
|
|
26
|
+
- Event emitter with convenience methods for common event types
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Renamed `user_data` to `private_data` across the SDK/server/agents.
|
|
31
|
+
- Renamed `depends_on_data` to `depends_on_private_data`.
|
|
32
|
+
- `ToolStorageProtocol` methods now accept optional `project_id` parameter.
|
|
33
|
+
- Namespace format updated to support project context: `("tools", "user_id:project_id:hash")`.
|
|
34
|
+
|
|
35
|
+
### Refactored
|
|
36
|
+
|
|
37
|
+
- **Concurrency safety**: Added thread-safe locking to `BackgroundExecutor` and `ToolExecutionOrchestrator`.
|
|
38
|
+
- **Tool execution**: Introduced strategy pattern for tool execution dispatch (`execution_strategy.py`).
|
|
39
|
+
- **Factory hierarchy**: Flattened 4-level nested `legacy_services/factories/` into single-level `core/tool_specs/`.
|
|
40
|
+
- **API layer**: Split `mcp.py` into focused modules (`mcp.py`, `mcp_auto.py`, `mcp_tools.py`).
|
|
41
|
+
- **Event handling**: Extracted event handlers from `EventStreamProcessor` into `event_handlers.py`.
|
|
42
|
+
- **Reporting**: Created shared `reporter_base.py` for common formatting utilities.
|
|
43
|
+
- **Orchestrator**: Consolidated helper files and introduced `OrchestratorConfig` for configuration grouping.
|
|
44
|
+
|
|
45
|
+
### Security
|
|
46
|
+
|
|
47
|
+
- Agents receive schema-only `private_data_schema` (no values); raw `private_data` values are injected server-side during tool execution.
|
|
48
|
+
- Tool results are redacted before being included in any LLM-visible context.
|
|
49
|
+
- Added append-only private data audit records (receive/access) in `maivn-server`.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Deployment
|
|
2
|
+
|
|
3
|
+
## Platform Order
|
|
4
|
+
|
|
5
|
+
Use this order for a clean rollout that validates the private services before
|
|
6
|
+
you publish the public SDK packages:
|
|
7
|
+
|
|
8
|
+
1. Tag or pin `maivn-shared` in GitHub so service repos can consume an immutable ref.
|
|
9
|
+
2. Tag or pin `maivn-internal-shared` in GitHub and record the immutable ref that services will consume.
|
|
10
|
+
3. Create the production Supabase project and apply the platform migration pipeline.
|
|
11
|
+
4. Deploy `maivn-agents`.
|
|
12
|
+
5. Deploy `maivn-server`.
|
|
13
|
+
6. After service validation, publish `maivn-shared` to PyPI.
|
|
14
|
+
7. Publish `maivn` to PyPI.
|
|
15
|
+
8. Publish `maivn-studio` to PyPI.
|
|
16
|
+
|
|
17
|
+
## Repo Role
|
|
18
|
+
|
|
19
|
+
`maivn` is the public SDK repo and public PyPI package. It must only be released after the target
|
|
20
|
+
`maivn-shared` version already exists on PyPI. The SDK release path should remain fully public and
|
|
21
|
+
must not depend on `maivn-internal-shared`.
|
|
22
|
+
|
|
23
|
+
`maivn` also owns the public `maivn` console script. The public `maivn-studio` companion package
|
|
24
|
+
installs the SDK and enables `maivn studio` without `uv run`.
|
|
25
|
+
|
|
26
|
+
## GitHub Setup
|
|
27
|
+
|
|
28
|
+
1. Create the repo as public.
|
|
29
|
+
2. Set `main` as the protected default branch.
|
|
30
|
+
3. Enable GitHub Actions.
|
|
31
|
+
4. Create an environment named `pypi`.
|
|
32
|
+
5. Configure PyPI Trusted Publishing for this repository and workflow:
|
|
33
|
+
`.github/workflows/publish-pypi.yml`.
|
|
34
|
+
6. Set these optional repository variables if `maivn-shared` lives outside the default owner or
|
|
35
|
+
if you want CI pinned to a non-default ref:
|
|
36
|
+
- `MAIVN_SHARED_REPO`
|
|
37
|
+
- `MAIVN_SHARED_REF`
|
|
38
|
+
|
|
39
|
+
## Release Steps
|
|
40
|
+
|
|
41
|
+
1. Confirm the target `maivn-shared` version is already published on PyPI.
|
|
42
|
+
2. Update the SDK version and, if needed, the `maivn-shared` dependency range in `pyproject.toml`.
|
|
43
|
+
3. For local verification before `maivn-shared` is published, inject a temporary local source
|
|
44
|
+
override or otherwise point the environment at the exact shared-repo ref you intend to support.
|
|
45
|
+
4. Run local verification:
|
|
46
|
+
```bash
|
|
47
|
+
uv sync --frozen
|
|
48
|
+
uv run --no-sync ruff check .
|
|
49
|
+
uv run --no-sync pyright
|
|
50
|
+
uv run --no-sync pytest
|
|
51
|
+
```
|
|
52
|
+
5. Merge the release commit to `main`.
|
|
53
|
+
6. Create and push an annotated tag such as `v0.1.0`.
|
|
54
|
+
7. Confirm the `Publish PyPI` workflow succeeds.
|
|
55
|
+
8. Verify installation from a clean environment:
|
|
56
|
+
```bash
|
|
57
|
+
pip install maivn==0.1.0
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Rollback
|
|
61
|
+
|
|
62
|
+
1. Yank the affected PyPI version if needed.
|
|
63
|
+
2. Cut a new patch release with the fixed `maivn-shared` range or SDK changes.
|
|
64
|
+
3. Do not change the contents behind an existing tag.
|
maivn-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2024-2026 mAIvn, LLC. All Rights Reserved.
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
maivn-0.2.0/NOTICE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
mAIvn SDK
|
|
2
|
+
Copyright 2024-2026 mAIvn, LLC. All Rights Reserved.
|
|
3
|
+
|
|
4
|
+
This product includes software developed by mAIvn, LLC
|
|
5
|
+
(https://maivn.io/).
|
|
6
|
+
|
|
7
|
+
This software makes use of third-party open source components.
|
|
8
|
+
See THIRD_PARTY_LICENSES.md for full details.
|
|
9
|
+
|
|
10
|
+
Patent Notice:
|
|
11
|
+
The mAIvn platform includes server-side technologies that are the
|
|
12
|
+
subject of pending patent applications. This Apache 2.0 license
|
|
13
|
+
grants patent rights ONLY for claims embodied in this SDK
|
|
14
|
+
(the "Contribution"). It does NOT grant any patent license to
|
|
15
|
+
server-side methods, processes, or systems implemented in the
|
|
16
|
+
mAIvn platform services, which are separately licensed.
|