imbi-api 2.62.0__tar.gz → 2.63.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.
- {imbi_api-2.62.0 → imbi_api-2.63.0}/PKG-INFO +2 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/pyproject.toml +2 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/agent_tools.py +123 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/app.py +2 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/agent_api_routes.py +10 -5
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/seed.py +20 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_helpers.py +58 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/agent_platform.py +13 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/agents.py +38 -59
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/dashboard.py +8 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/document_templates.py +37 -82
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/document_versions.py +6 -3
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/documents.py +32 -99
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/harness.py +5 -1
- imbi_api-2.63.0/src/imbi/api/endpoints/integration_workflow_steps.py +378 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/operations_log.py +88 -43
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/organizations.py +17 -4
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_configuration.py +11 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_deployments.py +21 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/projects.py +109 -19
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/prompts.py +27 -13
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/tags.py +116 -57
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/tickets.py +33 -13
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/user_activity.py +48 -12
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/workflow_runs.py +34 -10
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/workflows.py +76 -20
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/marketplaces.py +14 -38
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/platform.py +141 -12
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/operations.py +95 -12
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/registry.py +32 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/broker.py +6 -1
- imbi_api-2.63.0/src/imbi/api/tags.py +137 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/announce.py +37 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/log.py +5 -4
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/store.py +19 -10
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/__init__.py +19 -2
- imbi_api-2.63.0/src/imbi/api/workflows/plugin_calls.py +123 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/runs.py +6 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/runtime_schemata.toml +37 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/schemata.toml +2 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/store.py +7 -3
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_seed.py +4 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_api.py +1 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_platform.py +239 -9
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_task_actions.py +47 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_task_log.py +2 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agents.py +41 -6
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_dashboard.py +24 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_templates.py +4 -5
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_versions.py +2 -3
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_documents.py +11 -8
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_harness.py +6 -1
- imbi_api-2.63.0/tests/endpoints/test_integration_workflow_steps.py +442 -0
- imbi_api-2.63.0/tests/endpoints/test_integration_workflow_steps_choices.py +180 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_operations_log.py +333 -32
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_configuration.py +44 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_deployments.py +36 -3
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_prompts.py +35 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_tags.py +210 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_handoff.py +12 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_user_activity.py +54 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_workflow_runs.py +42 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_workflow_triggers.py +17 -2
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_workflows.py +79 -0
- imbi_api-2.63.0/tests/marketplace_support.py +24 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_agent_platform.py +455 -30
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_agent_tools.py +27 -1
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_maintenance_operations.py +22 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_projects_drift_ranges.py +95 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_secret_broker.py +6 -1
- imbi_api-2.63.0/tests/test_tags.py +120 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/.gitignore +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/README.md +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/moon.yml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/README.md +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/agent_api.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/authorization_codes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/autonomous.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/internal_services.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/local_auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/login_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/membership.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/oauth_clients.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/organizations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/password.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/permissions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/principals.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/sessions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/tokens.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/auth/totp.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/backfill_embeddings.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/blueprint_attributes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/blueprint_compliance.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/blueprint_sections.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/blueprint_values.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/commit_pushed_at_repair.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/commit_sync/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/commit_sync/queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/commit_sync/service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/component_facts.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/cves.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/deployment_status_repair.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/deployment_sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/deployment_sync/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/deployment_sync/queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/deployment_sync/service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/documents/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/documents/read_sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/domain/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/domain/models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/domain/scoring.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/drift.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/client.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/dependencies.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/base.html +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/base.txt +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/password_reset.html +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/password_reset.txt +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/welcome.html +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates/welcome.txt +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/email/templates.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_document_events.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_document_history.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_document_reads.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_document_scope.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_json_fields.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_local_time.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_pagination.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_request_urls.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/_search_index.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/admin.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/admin_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/agent_usage.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/ai_models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/ai_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/api_keys.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/auth_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/blueprints.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/client_credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/comments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/components.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/cves.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/document_analytics.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/document_likes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/document_presence.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/environments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/events.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/graph_query.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/iggy_connectors.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/integrations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/link_definitions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/local_auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/maintenance.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/mcp_servers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/mfa.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/oauth_metadata.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/plugin_edges.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/plugin_entities.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_analysis.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_commit_sync.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_incidents.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_integrations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_lifecycle.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_logs.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_pr_sync.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/project_types.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/pull_requests.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/releases.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/roles.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/sa_api_keys.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/scoring.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/scoring_policies.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/search.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/secret_broker.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/service_accounts.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/status.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/teams.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/ticket_harness.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/uploads.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/users.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/endpoints/webhooks.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/entrypoint.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/graph_ids.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/graph_sql.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/egress.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/metrics.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/store.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/harness/tokens.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/attribution.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/endpoints.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/errors.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/flows.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/host_integration.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/repository.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/resolution.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/state.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/identity/sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/iggy_metrics.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/lifespans.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/llm/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/llm/dependencies.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/llm/generate.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/llm/tokens.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/log.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/state.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/maintenance/worker.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/mcp_test.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/middleware/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/middleware/rate_limit.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/model_calls/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/model_calls/schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/openapi.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/orphan_releases.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/assignment_writer.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/assignments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/installer.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/lifecycle.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/lifecycle_dispatch.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/release_dispatch.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/reload.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/resolution.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/plugins/schemas.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/pr_sync/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/pr_sync/queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/pr_sync/service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/preferences/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/preferences/schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/prompts/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/prompts/release_notes_system.md +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/prompts/seed.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/py.typed +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/relationships.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/release_promote/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/release_promote/queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/release_promote/service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/sbom.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/scoring/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/scoring/queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/audit.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/identity.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/secret_broker/store.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/settings.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/storage/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/storage/client.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/storage/dependencies.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/storage/thumbnails.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/storage/validation.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/teams.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/custom_fields.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/tickets/sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/user_document_orgs.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/ticket_trigger.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/src/imbi/api/workflows/tickets.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_authentication.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_authorization.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_encryption.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_internal_services.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_login_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_membership.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_oauth_server.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_organizations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_permissions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_sessions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/auth/test_totp.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/clickhouse/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/clickhouse/test_client.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/clickhouse/test_init.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/clickhouse/test_privacy.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_audit_clickhouse.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_client.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_init.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_integration.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/email/test_templates.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_admin.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_admin_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_task_harness.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_task_relations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_tasks.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_agent_usage.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ai_models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ai_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_api_keys.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_auth_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_blueprints.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_caller_org_slugs.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_client_credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_comments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_comments_attention.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_components.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_cross_org_reads.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_cves.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_analytics.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_likes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_presence.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_reads.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_document_reads_sql.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_environments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_events.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_github_app_repository.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_graph_query.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_harness_egress.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_harness_secrets.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_iggy_connectors.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_init.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_integrations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_json_fields.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_link_definitions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_local_auth.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_maintenance.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_mcp_servers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_mfa.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_organizations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_pagination.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_person_tickets.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_plugin_label_validation.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_analysis.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_commit_sync.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_deployments_autonomous.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_incidents.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_integrations.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_lifecycle.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_logs.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_response_surfacing.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_project_types.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_projects.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_projects_helpers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_prompt_decisions.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_prompt_generative.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_pull_requests.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_releases.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_request_urls.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_roles.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_sa_api_keys.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_scoring.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_scoring_policies.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_search.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_search_index.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_secret_broker.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_service_accounts.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_service_writeback.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_shared_identifier.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_status.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_teams.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_agent_activity.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_attributes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_custom_fields.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_reopen.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_units.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_ticket_waiting.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_uploads.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_user_preferences.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_users.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_webhooks.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/endpoints/test_workflow_run_history.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/marketplaces/claude-code.json +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_2_58/harness_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_2_58/tickets_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_a/harness_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_a/tickets_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_a_minus_1/agent_runtime_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_a_minus_1/harness_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_b/harness_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_b/tickets_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_b1/harness_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/release_b1/tickets_schemata.toml +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/sbom/npm-realistic.json +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/sbom/pypi-realistic.json +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/fixtures/sbom/tiny.json +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_endpoints.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_errors.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_flows.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_host_integration.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_repository.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_resolution.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_state.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/identity/test_sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/middleware/test_rate_limit.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/secret_support.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/storage/__init__.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/storage/test_client.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/storage/test_init.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/storage/test_thumbnails.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/storage/test_validation.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/support.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_agent_task_events_e2e.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_ai_provider_tokens.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_app.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_assignment_writer.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_auth_settings.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_backfill_embeddings.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_blueprint_attributes.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_blueprint_compliance.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_blueprint_values.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_blueprints.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_clickhouse_project_ids.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_commit_pushed_at_repair.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_commit_sync_queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_commit_sync_service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_component_facts.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_cves.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_deployment_status_repair.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_deployment_sweeper.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_deployment_sync_queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_deployment_sync_service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_drift.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_entrypoint.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_graph_ids.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_graph_sql.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_identity_attribution.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_iggy_metrics.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_init.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_installer.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_lifecycle_dispatch.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_lifespans.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_maintenance_log.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_maintenance_state.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_maintenance_worker.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_model_calls.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_models.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_openapi.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_orphan_releases.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_plugin_schemas.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_plugins.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_plugins_assignments.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_plugins_credentials.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_pr_sync_queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_pr_sync_service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_prompt_seed.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_pull_request_resync_clickhouse.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_pull_request_reviews_clickhouse.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_pull_requests_pending_deploy.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_release_dispatch.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_release_promote_service.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_sbom.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_scoring_queue.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_scoring_triggers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_secret_github_app.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_secret_identity.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_secret_providers.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_settings.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_ticket_state_trigger.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_tickets_rename.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_workflow_reconcile.py +0 -0
- {imbi_api-2.62.0 → imbi_api-2.63.0}/tests/test_workflow_tickets.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: imbi-api
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.63.0
|
|
4
4
|
Summary: Imbi is the open-source service catalog that tracks every service's ownership, deployments, and health, and runs the AI agents and workflows that fix them.
|
|
5
5
|
Author-email: Alex Campbell <alexc@aweber.com>, Dave Shawley <daves@aweber.com>, "Gavin M. Roy" <gavinr@aweber.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -20,7 +20,7 @@ Requires-Dist: fastapi
|
|
|
20
20
|
Requires-Dist: filetype
|
|
21
21
|
Requires-Dist: httpx<1,>=0.28.1
|
|
22
22
|
Requires-Dist: idna>=3.18
|
|
23
|
-
Requires-Dist: imbi-common[databases,llm,mcp,script,sentry,server]==2.
|
|
23
|
+
Requires-Dist: imbi-common[databases,llm,mcp,script,sentry,server]==2.63.0
|
|
24
24
|
Requires-Dist: jinja2
|
|
25
25
|
Requires-Dist: jsonpatch>=1.33
|
|
26
26
|
Requires-Dist: jsonschema>=4.26
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "imbi-api"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.63.0"
|
|
4
4
|
description = "Imbi is the open-source service catalog that tracks every service's ownership, deployments, and health, and runs the AI agents and workflows that fix them."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.14"
|
|
@@ -29,7 +29,7 @@ dependencies = [
|
|
|
29
29
|
"filetype",
|
|
30
30
|
"httpx>=0.28.1,<1",
|
|
31
31
|
"idna>=3.18",
|
|
32
|
-
"imbi-common[databases,llm,mcp,script,sentry,server]==2.
|
|
32
|
+
"imbi-common[databases,llm,mcp,script,sentry,server]==2.63.0",
|
|
33
33
|
"jinja2",
|
|
34
34
|
"jsonpatch>=1.33",
|
|
35
35
|
"jsonschema>=4.26",
|
|
@@ -26,6 +26,7 @@ import datetime
|
|
|
26
26
|
import logging
|
|
27
27
|
import typing
|
|
28
28
|
|
|
29
|
+
import fastapi
|
|
29
30
|
import fastmcp
|
|
30
31
|
import httpx
|
|
31
32
|
import pydantic
|
|
@@ -37,9 +38,127 @@ from imbi.common import models
|
|
|
37
38
|
|
|
38
39
|
LOGGER = logging.getLogger(__name__)
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
#: Change the version suffix when the catalog shape changes, so that
|
|
42
|
+
#: entries in the old shape are not read.
|
|
43
|
+
CACHE_KEY = 'imbi:agents:tool-catalog:v2'
|
|
41
44
|
CACHE_TTL_SECONDS = 300
|
|
42
45
|
|
|
46
|
+
#: The read-only Imbi routes whose tools every agent has, as
|
|
47
|
+
#: ``"METHOD /template"`` without the API prefix (the form of
|
|
48
|
+
#: :mod:`imbi.api.auth.agent_api_routes`). A tool name holds the API
|
|
49
|
+
#: prefix, so :func:`index` finds the names when the app starts.
|
|
50
|
+
DEFAULT_ROUTES: frozenset[str] = frozenset(
|
|
51
|
+
{
|
|
52
|
+
# Projects and search
|
|
53
|
+
'GET /organizations/{org_slug}/projects/',
|
|
54
|
+
'GET /organizations/{org_slug}/projects/{project_id}',
|
|
55
|
+
'GET /organizations/{org_slug}/projects/{project_id}/relationships',
|
|
56
|
+
'GET /organizations/{org_slug}/projects/{project_id}/events/',
|
|
57
|
+
'GET /organizations/{org_slug}/search',
|
|
58
|
+
# Documents
|
|
59
|
+
'GET /organizations/{org_slug}/documents/',
|
|
60
|
+
'GET /organizations/{org_slug}/documents/{document_id}',
|
|
61
|
+
'GET /organizations/{org_slug}/documents/{document_id}/versions',
|
|
62
|
+
'GET /organizations/{org_slug}/documents/{document_id}/versions/'
|
|
63
|
+
'{version}',
|
|
64
|
+
'GET /organizations/{org_slug}/projects/{project_id}/documents/',
|
|
65
|
+
'GET /organizations/{org_slug}/projects/{project_id}/documents/'
|
|
66
|
+
'{document_id}',
|
|
67
|
+
# Tickets
|
|
68
|
+
'GET /organizations/{org_slug}/tickets/',
|
|
69
|
+
'GET /organizations/{org_slug}/tickets/counts',
|
|
70
|
+
'GET /organizations/{org_slug}/tickets/labels',
|
|
71
|
+
'GET /organizations/{org_slug}/tickets/{short_id}',
|
|
72
|
+
'GET /organizations/{org_slug}/tickets/{short_id}/events',
|
|
73
|
+
'GET /organizations/{org_slug}/tickets/{short_id}/projects',
|
|
74
|
+
'GET /organizations/{org_slug}/tickets/{short_id}/relations',
|
|
75
|
+
# Operations log, pull requests, and drift
|
|
76
|
+
'GET /organizations/{org_slug}/projects/{project_id}/operations-log/',
|
|
77
|
+
'GET /organizations/{org_slug}/pull-requests/',
|
|
78
|
+
'GET /organizations/{org_slug}/pull-requests/activity',
|
|
79
|
+
'GET /organizations/{org_slug}/projects/{project_id}/pull-requests/',
|
|
80
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
81
|
+
'release-drift',
|
|
82
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
83
|
+
'recent-commits',
|
|
84
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
85
|
+
'refs/{ref:path}/commits',
|
|
86
|
+
# Environments
|
|
87
|
+
'GET /organizations/{org_slug}/environments/',
|
|
88
|
+
'GET /organizations/{org_slug}/environments/{slug}',
|
|
89
|
+
'GET /organizations/{org_slug}/environments/{slug}/edges/{rel_type}',
|
|
90
|
+
# Releases
|
|
91
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/',
|
|
92
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/current',
|
|
93
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/'
|
|
94
|
+
'{release_id}',
|
|
95
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/'
|
|
96
|
+
'{release_id}/dependencies',
|
|
97
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
98
|
+
'release-history',
|
|
99
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
100
|
+
'releases/{tag}/blockers',
|
|
101
|
+
# Deployments
|
|
102
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/'
|
|
103
|
+
'{release_id}/environments',
|
|
104
|
+
'GET /organizations/{org_slug}/projects/{project_id}/releases/'
|
|
105
|
+
'{release_id}/environments/{env_slug}',
|
|
106
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
107
|
+
'environments/{env_slug}/deployments/{deployment_id}',
|
|
108
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
109
|
+
'runs/{run_id}',
|
|
110
|
+
'GET /organizations/{org_slug}/projects/{project_id}/deployments/'
|
|
111
|
+
'sync-status',
|
|
112
|
+
'GET /organizations/{org_slug}/pull-requests/pending-deploy',
|
|
113
|
+
# Components
|
|
114
|
+
'GET /organizations/{org_slug}/components/',
|
|
115
|
+
'GET /organizations/{org_slug}/components/{component_id}/usage',
|
|
116
|
+
'GET /organizations/{org_slug}/component-releases/'
|
|
117
|
+
'{component_release_id}/notes',
|
|
118
|
+
'GET /organizations/{org_slug}/component-releases/'
|
|
119
|
+
'{component_release_id}/advisories',
|
|
120
|
+
'GET /cves/{cve_id}',
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
#: The tool keys of :data:`DEFAULT_ROUTES`. :func:`index` sets them.
|
|
125
|
+
_default_tools: frozenset[str] = frozenset()
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def index(app: fastapi.FastAPI) -> None:
|
|
129
|
+
"""Find the tool keys of :data:`DEFAULT_ROUTES`, after
|
|
130
|
+
:func:`imbi.api.auth.agent_api.index` keeps the route keys.
|
|
131
|
+
|
|
132
|
+
The name is the one that fastmcp gives
|
|
133
|
+
(``OpenAPIProvider._generate_default_name``): the operation id up to
|
|
134
|
+
the first ``__``, at most 56 characters. A FastAPI operation id has
|
|
135
|
+
only the characters that its slug step keeps. A test checks the
|
|
136
|
+
names against the catalog.
|
|
137
|
+
"""
|
|
138
|
+
global _default_tools
|
|
139
|
+
keys = app.state.agent_api_routes
|
|
140
|
+
_default_tools = frozenset(
|
|
141
|
+
f'imbi.{route.unique_id.split("__")[0][:56]}'
|
|
142
|
+
for route in app.routes
|
|
143
|
+
if isinstance(route, fastapi.routing.APIRoute)
|
|
144
|
+
for method in route.methods
|
|
145
|
+
if keys.get((route.endpoint, method)) in DEFAULT_ROUTES
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def default_tools() -> frozenset[str]:
|
|
150
|
+
"""The tool keys that every agent has."""
|
|
151
|
+
return _default_tools
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def with_default_tools(tools: dict[str, typing.Any]) -> dict[str, typing.Any]:
|
|
155
|
+
"""Return the tool map ``tools`` with the default tools added.
|
|
156
|
+
|
|
157
|
+
An entry in ``tools`` wins over the default configuration.
|
|
158
|
+
"""
|
|
159
|
+
return {**{key: {} for key in _default_tools}, **tools}
|
|
160
|
+
|
|
161
|
+
|
|
43
162
|
#: The maximum length of a tool description in the catalog.
|
|
44
163
|
DESCRIPTION_LENGTH = 300
|
|
45
164
|
|
|
@@ -56,6 +175,8 @@ class AgentCatalogTool(pydantic.BaseModel):
|
|
|
56
175
|
name: str
|
|
57
176
|
description: str | None = None
|
|
58
177
|
capability: Capability
|
|
178
|
+
#: On for every agent (:data:`DEFAULT_ROUTES`).
|
|
179
|
+
default: bool = False
|
|
59
180
|
|
|
60
181
|
|
|
61
182
|
#: The catalog entries of the opt-in built-in tools, by name.
|
|
@@ -127,6 +248,7 @@ def _tool(
|
|
|
127
248
|
name=name,
|
|
128
249
|
description=_summary(description),
|
|
129
250
|
capability=capability(annotations),
|
|
251
|
+
default=f'imbi.{name}' in _default_tools,
|
|
130
252
|
)
|
|
131
253
|
|
|
132
254
|
|
|
@@ -9,6 +9,7 @@ from fastapi.middleware import cors
|
|
|
9
9
|
from uvicorn.middleware import proxy_headers
|
|
10
10
|
|
|
11
11
|
from imbi.api import (
|
|
12
|
+
agent_tools,
|
|
12
13
|
endpoints,
|
|
13
14
|
harness,
|
|
14
15
|
lifespans,
|
|
@@ -257,6 +258,7 @@ def create_app() -> fastapi.FastAPI:
|
|
|
257
258
|
for router in endpoints.unprefixed_routers:
|
|
258
259
|
app.include_router(router)
|
|
259
260
|
agent_api.index(app, server_config.api_prefix)
|
|
261
|
+
agent_tools.index(app)
|
|
260
262
|
# On the app root, not under the API prefix: Prometheus scrapes it
|
|
261
263
|
# by pod IP, and the public routes do not reach it.
|
|
262
264
|
metrics.add_route(app)
|
|
@@ -77,6 +77,8 @@ ALLOWED_ROUTES: frozenset[str] = frozenset(
|
|
|
77
77
|
'GET /organizations/{org_slug}/integrations/{slug}/capabilities/{kind}/assignments',
|
|
78
78
|
'GET /organizations/{org_slug}/link-definitions/',
|
|
79
79
|
'GET /organizations/{org_slug}/link-definitions/{slug}',
|
|
80
|
+
'GET /organizations/{org_slug}/operations-log/',
|
|
81
|
+
'GET /organizations/{org_slug}/operations-log/{entry_id}',
|
|
80
82
|
'GET /organizations/{org_slug}/project-types/',
|
|
81
83
|
'GET /organizations/{org_slug}/project-types/{slug}',
|
|
82
84
|
'GET /organizations/{org_slug}/project-types/{type_slug}/documents/',
|
|
@@ -212,6 +214,7 @@ ALLOWED_ROUTES: frozenset[str] = frozenset(
|
|
|
212
214
|
'POST /organizations/{org_slug}/projects/{project_id}/unarchive',
|
|
213
215
|
'POST /organizations/{org_slug}/prompts/render',
|
|
214
216
|
'POST /organizations/{org_slug}/tags/',
|
|
217
|
+
'POST /organizations/{org_slug}/tags/{tag_slug}/merge',
|
|
215
218
|
'POST /organizations/{org_slug}/users/{email}/documents/',
|
|
216
219
|
'POST /organizations/{org_slug}/workflows/{slug}/validate',
|
|
217
220
|
'PUT /organizations/{org_slug}/document-templates/{slug}',
|
|
@@ -285,6 +288,7 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
285
288
|
'PATCH /organizations/{org_slug}/integrations/{slug}',
|
|
286
289
|
'PATCH /organizations/{org_slug}/webhooks/{webhook}',
|
|
287
290
|
'POST /organizations/{org_slug}/integrations/',
|
|
291
|
+
'POST /organizations/{org_slug}/integrations/{integration_slug}/workflow-steps/{step_type}/run',
|
|
288
292
|
'POST /organizations/{org_slug}/projects/{project_id}/configuration/history:fetch',
|
|
289
293
|
'POST /organizations/{org_slug}/projects/{project_id}/configuration/values:fetch',
|
|
290
294
|
'POST /organizations/{org_slug}/projects/{project_id}/configuration/versions:restore',
|
|
@@ -319,6 +323,8 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
319
323
|
'GET /organizations/{org_slug}/workflow-runs/side-effects/deployments',
|
|
320
324
|
'POST /organizations/{org_slug}/workflow-runs/side-effects/resolve',
|
|
321
325
|
'POST /organizations/{org_slug}/workflows/{slug}/test-runs',
|
|
326
|
+
# Calls the plugin with the Integration credentials (ADR 0032).
|
|
327
|
+
'POST /organizations/{org_slug}/integrations/{integration_slug}/workflow-steps/{step_type}/choices',
|
|
322
328
|
# Runs code in a sandbox inside imbi-api (ADR 0027).
|
|
323
329
|
'POST /organizations/{org_slug}/workflows/script-preview',
|
|
324
330
|
'PUT /organizations/{org_slug}/workflows/{slug}',
|
|
@@ -336,13 +342,13 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
336
342
|
'PUT /organizations/{org_slug}/component-releases/{component_release_id}/advisories/{cve_id}',
|
|
337
343
|
'PUT /organizations/{org_slug}/component-releases/{component_release_id}/status',
|
|
338
344
|
'PUT /organizations/{org_slug}/components/{component_id}/status',
|
|
339
|
-
#
|
|
340
|
-
'DELETE /operations-log/{entry_id}',
|
|
345
|
+
# Operations log edits: an entry is an audit record. An agent adds entries (POST /operations-log/) but does not change or delete them.
|
|
346
|
+
'DELETE /organizations/{org_slug}/operations-log/{entry_id}',
|
|
347
|
+
'PATCH /organizations/{org_slug}/operations-log/{entry_id}',
|
|
348
|
+
# Lists and records of every organization: an agent reaches its own organization's data only. Use the project route instead: GET /organizations/{org_slug}/projects/{project_id}/events/.
|
|
341
349
|
'DELETE /uploads/{upload_id}',
|
|
342
350
|
'GET /events/',
|
|
343
351
|
'GET /events/{event_id}',
|
|
344
|
-
'GET /operations-log/',
|
|
345
|
-
'GET /operations-log/{entry_id}',
|
|
346
352
|
'GET /organizations/',
|
|
347
353
|
'GET /uploads/',
|
|
348
354
|
'GET /uploads/{upload_id}',
|
|
@@ -355,7 +361,6 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
355
361
|
'GET /users/{email}/contributions',
|
|
356
362
|
'GET /users/{email}/identities',
|
|
357
363
|
'GET /users/{email}/stats',
|
|
358
|
-
'PATCH /operations-log/{entry_id}',
|
|
359
364
|
'POST /uploads/',
|
|
360
365
|
# Platform administration reads: platform-wide, not data of one organization.
|
|
361
366
|
'GET /admin/dashboard/iggy',
|
|
@@ -261,6 +261,14 @@ STANDARD_PERMISSIONS: list[tuple[str, str, str, str]] = [
|
|
|
261
261
|
'delete',
|
|
262
262
|
'Delete integrations',
|
|
263
263
|
),
|
|
264
|
+
# Run a plugin workflow step with the credentials of an Integration
|
|
265
|
+
# (ADR 0032). Only the imbi-workflows service role has it.
|
|
266
|
+
(
|
|
267
|
+
'integration:workflow-step:run',
|
|
268
|
+
'integration',
|
|
269
|
+
'workflow-step:run',
|
|
270
|
+
'Run the workflow steps of an integration plugin',
|
|
271
|
+
),
|
|
264
272
|
# Webhook management
|
|
265
273
|
('webhook:create', 'webhook', 'create', 'Create webhooks'),
|
|
266
274
|
('webhook:read', 'webhook', 'read', 'View webhooks'),
|
|
@@ -639,6 +647,12 @@ STANDARD_PERMISSIONS: list[tuple[str, str, str, str]] = [
|
|
|
639
647
|
'maintenance:ai-model-calls-prune',
|
|
640
648
|
'Start the ai-model-calls-prune maintenance operation',
|
|
641
649
|
),
|
|
650
|
+
(
|
|
651
|
+
'admin:maintenance:plugin-step-calls-prune',
|
|
652
|
+
'admin',
|
|
653
|
+
'maintenance:plugin-step-calls-prune',
|
|
654
|
+
'Start the plugin-step-calls-prune maintenance operation',
|
|
655
|
+
),
|
|
642
656
|
# Project plugin access
|
|
643
657
|
(
|
|
644
658
|
'project:configuration:read',
|
|
@@ -1038,10 +1052,11 @@ DEFAULT_ROLES: list[tuple[str, str, str, int, list[str], bool]] = [
|
|
|
1038
1052
|
# who can make a task that runs as this account could then
|
|
1039
1053
|
# start any operation, including the purges.
|
|
1040
1054
|
'admin:maintenance:marketplace-sync',
|
|
1041
|
-
# The cve-sync
|
|
1042
|
-
# the same reason.
|
|
1055
|
+
# The cve-sync, ai-model-calls-prune, and
|
|
1056
|
+
# plugin-step-calls-prune system tasks, for the same reason.
|
|
1043
1057
|
'admin:maintenance:cve-sync',
|
|
1044
1058
|
'admin:maintenance:ai-model-calls-prune',
|
|
1059
|
+
'admin:maintenance:plugin-step-calls-prune',
|
|
1045
1060
|
'agent:read',
|
|
1046
1061
|
# An `api` task can start agent work with a `schedule`
|
|
1047
1062
|
# origin (ADR 0020).
|
|
@@ -1115,6 +1130,9 @@ DEFAULT_ROLES: list[tuple[str, str, str, int, list[str], bool]] = [
|
|
|
1115
1130
|
'prompt:run',
|
|
1116
1131
|
# The Search logs step reads the logs of a project.
|
|
1117
1132
|
'project:logs:read',
|
|
1133
|
+
# Plugin steps run in imbi-api with the credentials of the
|
|
1134
|
+
# Integration of the node (ADR 0032).
|
|
1135
|
+
'integration:workflow-step:run',
|
|
1118
1136
|
# Not `integration:act-as-service`: an operator grants it,
|
|
1119
1137
|
# as ADR 0017 requires for every autonomous principal.
|
|
1120
1138
|
],
|
|
@@ -181,6 +181,7 @@ def safe_audit_url(value: str | None) -> str | None:
|
|
|
181
181
|
def deployed_operation_log(
|
|
182
182
|
*,
|
|
183
183
|
project_id: str,
|
|
184
|
+
organization_id: str,
|
|
184
185
|
project_slug: str,
|
|
185
186
|
environment_slug: str,
|
|
186
187
|
recorded_by: str,
|
|
@@ -254,6 +255,7 @@ def deployed_operation_log(
|
|
|
254
255
|
'recorded_by': recorded_by,
|
|
255
256
|
'performed_by': performed_by,
|
|
256
257
|
'project_id': project_id,
|
|
258
|
+
'organization_id': organization_id,
|
|
257
259
|
'project_slug': project_slug,
|
|
258
260
|
'environment_slug': environment_slug,
|
|
259
261
|
'entry_type': 'Deployed',
|
|
@@ -343,6 +345,25 @@ async def _org_slugs_of(
|
|
|
343
345
|
return {str(graph.parse_agtype(r['slug'])) for r in records}
|
|
344
346
|
|
|
345
347
|
|
|
348
|
+
_ORG_IDS_QUERY: typing.LiteralString = (
|
|
349
|
+
'MATCH (o:Organization) WHERE o.slug IN {slugs} RETURN o.id AS id'
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
async def caller_org_ids(
|
|
354
|
+
db: graph.Graph, auth: permissions.AuthContext
|
|
355
|
+
) -> list[str]:
|
|
356
|
+
"""The ids of the caller's organizations (see
|
|
357
|
+
:func:`caller_org_slugs`), for an ``IN`` filter on
|
|
358
|
+
``organization_id``. An organization with no id yet is left out."""
|
|
359
|
+
slugs = list(await caller_org_slugs(db, auth))
|
|
360
|
+
if not slugs:
|
|
361
|
+
return []
|
|
362
|
+
records = await db.execute(_ORG_IDS_QUERY, {'slugs': slugs}, ['id'])
|
|
363
|
+
ids = (graph.parse_agtype(r['id']) for r in records)
|
|
364
|
+
return [str(value) for value in ids if value]
|
|
365
|
+
|
|
366
|
+
|
|
346
367
|
async def caller_team_ids(
|
|
347
368
|
db: graph.Graph, auth: permissions.AuthContext
|
|
348
369
|
) -> set[str]:
|
|
@@ -388,6 +409,43 @@ async def lookup_project_slugs(
|
|
|
388
409
|
)
|
|
389
410
|
|
|
390
411
|
|
|
412
|
+
_PROJECT_ORG_ID_QUERY: typing.LiteralString = (
|
|
413
|
+
'MATCH (p:Project {{id: {project_id}}})-[:OWNED_BY]->(:Team)'
|
|
414
|
+
'-[:BELONGS_TO]->(o:Organization) RETURN o.id AS id LIMIT 1'
|
|
415
|
+
)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
async def lookup_project_organization_id(
|
|
419
|
+
db: graph.Graph, project_id: str
|
|
420
|
+
) -> str:
|
|
421
|
+
"""The id of the organization that owns the project, or ``''``
|
|
422
|
+
when the project or its owner is missing. An ``operations_log``
|
|
423
|
+
row records it as ``organization_id``."""
|
|
424
|
+
records = await db.execute(
|
|
425
|
+
_PROJECT_ORG_ID_QUERY, {'project_id': project_id}, ['id']
|
|
426
|
+
)
|
|
427
|
+
value = graph.parse_agtype(records[0]['id']) if records else None
|
|
428
|
+
return str(value) if value else ''
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
_PROJECT_ORG_SLUG_QUERY: typing.LiteralString = (
|
|
432
|
+
'MATCH (p:Project {{id: {project_id}}})-[:OWNED_BY]->(:Team)'
|
|
433
|
+
'-[:BELONGS_TO]->(o:Organization) RETURN o.slug AS slug LIMIT 1'
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
async def lookup_project_organization_slug(
|
|
438
|
+
db: graph.Graph, project_id: str
|
|
439
|
+
) -> str | None:
|
|
440
|
+
"""The slug of the organization that owns the project, or ``None``
|
|
441
|
+
when the project or its owner is missing."""
|
|
442
|
+
records = await db.execute(
|
|
443
|
+
_PROJECT_ORG_SLUG_QUERY, {'project_id': project_id}, ['slug']
|
|
444
|
+
)
|
|
445
|
+
value = graph.parse_agtype(records[0]['slug']) if records else None
|
|
446
|
+
return str(value) if value else None
|
|
447
|
+
|
|
448
|
+
|
|
391
449
|
async def lookup_project_name_description(
|
|
392
450
|
db: graph.Graph,
|
|
393
451
|
project_id: str,
|
|
@@ -128,8 +128,9 @@ async def put_agent_platform_config(
|
|
|
128
128
|
Raises:
|
|
129
129
|
409: A concurrent write took the version.
|
|
130
130
|
422: An allowed marketplace is not registered, a default
|
|
131
|
-
plugin is not in an allowed marketplace's catalog
|
|
132
|
-
|
|
131
|
+
plugin is not in an allowed marketplace's catalog or has
|
|
132
|
+
``server_settings`` (an MCP server turned off or given
|
|
133
|
+
secrets), or the model upstream URL is ``http://`` without
|
|
133
134
|
``allow_insecure_http``.
|
|
134
135
|
|
|
135
136
|
"""
|
|
@@ -151,6 +152,16 @@ async def put_agent_platform_config(
|
|
|
151
152
|
'Default plugins come from marketplaces that are not allowed: '
|
|
152
153
|
+ ', '.join(outside)
|
|
153
154
|
)
|
|
155
|
+
overridden = sorted(
|
|
156
|
+
f'{p.plugin}@{p.marketplace}'
|
|
157
|
+
for p in data.default_plugins
|
|
158
|
+
if p.server_settings
|
|
159
|
+
)
|
|
160
|
+
if overridden:
|
|
161
|
+
raise _unprocessable(
|
|
162
|
+
'Default plugins cannot turn off MCP servers or give them '
|
|
163
|
+
'secrets; set them on each agent instead: ' + ', '.join(overridden)
|
|
164
|
+
)
|
|
154
165
|
version, current = await platform.load(store, org_id)
|
|
155
166
|
try:
|
|
156
167
|
data.default_plugins = platform.pin_plugins(
|
|
@@ -36,6 +36,7 @@ import pydantic
|
|
|
36
36
|
import slugify
|
|
37
37
|
|
|
38
38
|
from imbi.api import agent_tools, harness, secret_broker, teams, workflows
|
|
39
|
+
from imbi.api import tags as org_tags
|
|
39
40
|
from imbi.api.auth import autonomous, organizations, permissions
|
|
40
41
|
from imbi.api.endpoints import prompts
|
|
41
42
|
from imbi.api.endpoints._helpers import conflict_on_unique_violation
|
|
@@ -92,6 +93,7 @@ _READONLY_PATHS: frozenset[str] = frozenset(
|
|
|
92
93
|
'/updated_at',
|
|
93
94
|
'/updated_by',
|
|
94
95
|
'/last_version_at',
|
|
96
|
+
'/created_by',
|
|
95
97
|
]
|
|
96
98
|
)
|
|
97
99
|
|
|
@@ -193,7 +195,10 @@ class AgentWrite(pydantic.BaseModel):
|
|
|
193
195
|
description=(
|
|
194
196
|
'The tools that the agent can use, by tool key '
|
|
195
197
|
'(<server slug>.<tool name>). A tool that is not in the map '
|
|
196
|
-
'is off
|
|
198
|
+
'is off, except the default tools that the tool catalog marks '
|
|
199
|
+
'with default: true; they are on for every agent, and an '
|
|
200
|
+
'entry sets their configuration. builtin.Skill and '
|
|
201
|
+
'builtin.Agent turn on those '
|
|
197
202
|
'Claude Code built-in tools. Environment slugs must exist in '
|
|
198
203
|
'the org.'
|
|
199
204
|
),
|
|
@@ -271,6 +276,8 @@ class AgentResponse(pydantic.BaseModel):
|
|
|
271
276
|
updated_by: str | None = None
|
|
272
277
|
#: When the newest version was written.
|
|
273
278
|
last_version_at: datetime.datetime | None = None
|
|
279
|
+
#: The principal that wrote the first version.
|
|
280
|
+
created_by: str | None = None
|
|
274
281
|
organization: OrganizationRef
|
|
275
282
|
|
|
276
283
|
|
|
@@ -292,15 +299,17 @@ _AGENT_TAIL: typing.LiteralString = """
|
|
|
292
299
|
WITH a, o, max(v.n) AS latest
|
|
293
300
|
OPTIONAL MATCH (lv:AgentVersion)-[:VERSION_OF]->(a)
|
|
294
301
|
WHERE lv.n = latest
|
|
302
|
+
OPTIONAL MATCH (fv:AgentVersion {{n: 1}})-[:VERSION_OF]->(a)
|
|
295
303
|
OPTIONAL MATCH (a)-[:OWNED_BY]->(t:Team)
|
|
296
304
|
OPTIONAL MATCH (a)-[:TAGGED_WITH]->(tag:Tag)
|
|
297
|
-
WITH a, o, t, lv, latest,
|
|
305
|
+
WITH a, o, t, lv, fv, latest,
|
|
298
306
|
collect(CASE WHEN tag IS NOT NULL
|
|
299
307
|
THEN tag{{.name, .slug, .color}}
|
|
300
308
|
END) AS raw_tags
|
|
301
309
|
RETURN a, o, t, raw_tags AS tags, latest,
|
|
302
310
|
lv.created_by AS updated_by,
|
|
303
|
-
lv.created_at AS last_version_at
|
|
311
|
+
lv.created_at AS last_version_at,
|
|
312
|
+
fv.created_by AS created_by
|
|
304
313
|
"""
|
|
305
314
|
|
|
306
315
|
_COLUMNS = [
|
|
@@ -311,6 +320,7 @@ _COLUMNS = [
|
|
|
311
320
|
'latest',
|
|
312
321
|
'updated_by',
|
|
313
322
|
'last_version_at',
|
|
323
|
+
'created_by',
|
|
314
324
|
]
|
|
315
325
|
|
|
316
326
|
_GET_QUERY: typing.LiteralString = (
|
|
@@ -346,13 +356,6 @@ CREATE (a)-[:OWNED_BY]->(t)
|
|
|
346
356
|
RETURN t.id AS team_id
|
|
347
357
|
"""
|
|
348
358
|
|
|
349
|
-
_TAGS_FOUND_QUERY: typing.LiteralString = """
|
|
350
|
-
MATCH (o:Organization {{slug: {org_slug}}})
|
|
351
|
-
UNWIND {slugs} AS tag_slug
|
|
352
|
-
OPTIONAL MATCH (t:Tag {{slug: tag_slug}})-[:BELONGS_TO]->(o)
|
|
353
|
-
RETURN tag_slug, t IS NOT NULL AS found
|
|
354
|
-
"""
|
|
355
|
-
|
|
356
359
|
_ENVIRONMENTS_FOUND_QUERY: typing.LiteralString = """
|
|
357
360
|
MATCH (o:Organization {{slug: {org_slug}}})
|
|
358
361
|
UNWIND {slugs} AS env_slug
|
|
@@ -373,19 +376,8 @@ WHERE a.id <> {id}
|
|
|
373
376
|
RETURN a.name AS name, a.slug AS slug, a.subagents AS subagents
|
|
374
377
|
"""
|
|
375
378
|
|
|
376
|
-
|
|
377
|
-
MATCH (
|
|
378
|
-
DELETE r
|
|
379
|
-
RETURN count(r) AS removed
|
|
380
|
-
"""
|
|
381
|
-
|
|
382
|
-
_ATTACH_TAGS_QUERY: typing.LiteralString = """
|
|
383
|
-
MATCH (a:Agent {{id: {id}}})-[:BELONGS_TO]->(o:Organization),
|
|
384
|
-
(t:Tag)-[:BELONGS_TO]->(o)
|
|
385
|
-
WHERE t.slug IN {tag_slugs}
|
|
386
|
-
MERGE (a)-[:TAGGED_WITH]->(t)
|
|
387
|
-
RETURN count(t) AS attached
|
|
388
|
-
"""
|
|
379
|
+
#: Binds an agent to ``n``, for :mod:`imbi.api.tags`.
|
|
380
|
+
_AGENT_NODE: typing.LiteralString = 'MATCH (n:Agent {{id: {id}}})'
|
|
389
381
|
|
|
390
382
|
_VERSIONS_QUERY: typing.LiteralString = """
|
|
391
383
|
MATCH (v:AgentVersion)-[:VERSION_OF]->(:Agent {{id: {id}}})
|
|
@@ -687,6 +679,7 @@ def _parse_row(record: dict[str, typing.Any]) -> dict[str, typing.Any]:
|
|
|
687
679
|
'version': agent.get('version') or latest or 1,
|
|
688
680
|
'updated_by': graph.parse_agtype(record['updated_by']),
|
|
689
681
|
'last_version_at': graph.parse_agtype(record['last_version_at']),
|
|
682
|
+
'created_by': graph.parse_agtype(record['created_by']),
|
|
690
683
|
'organization': {
|
|
691
684
|
'name': str(org.get('name', '')),
|
|
692
685
|
'slug': str(org.get('slug', '')),
|
|
@@ -833,26 +826,6 @@ async def _check_model_teams(
|
|
|
833
826
|
)
|
|
834
827
|
|
|
835
828
|
|
|
836
|
-
async def _validate_tag_slugs(
|
|
837
|
-
db: graph.Pool, org_slug: str, tag_slugs: list[str]
|
|
838
|
-
) -> None:
|
|
839
|
-
"""Raise 422 when a tag slug is not in the org."""
|
|
840
|
-
if not tag_slugs:
|
|
841
|
-
return
|
|
842
|
-
records = await db.execute(
|
|
843
|
-
_TAGS_FOUND_QUERY,
|
|
844
|
-
{'org_slug': org_slug, 'slugs': tag_slugs},
|
|
845
|
-
['tag_slug', 'found'],
|
|
846
|
-
)
|
|
847
|
-
missing = [
|
|
848
|
-
graph.parse_agtype(r['tag_slug'])
|
|
849
|
-
for r in records
|
|
850
|
-
if not graph.parse_agtype(r['found'])
|
|
851
|
-
]
|
|
852
|
-
if missing:
|
|
853
|
-
raise _unprocessable(f'Tag slug(s) not found: {sorted(missing)!r}')
|
|
854
|
-
|
|
855
|
-
|
|
856
829
|
def _check_builtin_tools(tools: AgentTools) -> None:
|
|
857
830
|
"""Raise 422 for a ``builtin.*`` key that is not an opt-in tool.
|
|
858
831
|
|
|
@@ -935,13 +908,15 @@ async def _check_platform(
|
|
|
935
908
|
"""Check the platform fields of ``settings``; pin its plugins.
|
|
936
909
|
|
|
937
910
|
``current`` is the stored settings of the agent, so a plugin that
|
|
938
|
-
keeps its ``sha`` keeps its pin.
|
|
911
|
+
keeps its ``sha`` keeps its pin. A plugin that the organization
|
|
912
|
+
gives every agent gets the default's pin.
|
|
939
913
|
|
|
940
914
|
Raises:
|
|
941
915
|
422: A secret reference does not parse, a new GitHub App
|
|
942
916
|
binding is not an enabled ``github_app`` binding of the
|
|
943
917
|
org, the settings widen the organization's agent
|
|
944
|
-
platform configuration, a plugin cannot be pinned
|
|
918
|
+
platform configuration, a plugin cannot be pinned or maps
|
|
919
|
+
an MCP header variable that the runner cannot relay, or a
|
|
945
920
|
new egress destination is unknown, global, or not for
|
|
946
921
|
the org.
|
|
947
922
|
|
|
@@ -983,8 +958,13 @@ async def _check_platform(
|
|
|
983
958
|
found = {row['slug']: row for row in await store.marketplaces(org_id)}
|
|
984
959
|
try:
|
|
985
960
|
plugins = platform.pin_plugins(
|
|
986
|
-
settings.plugins,
|
|
961
|
+
settings.plugins,
|
|
962
|
+
current.plugins if current else [],
|
|
963
|
+
found,
|
|
964
|
+
config.default_plugins,
|
|
987
965
|
)
|
|
966
|
+
for plugin in plugins:
|
|
967
|
+
platform.check_server_secrets(plugin)
|
|
988
968
|
except ValueError as err:
|
|
989
969
|
raise _unprocessable(str(err)) from err
|
|
990
970
|
return settings.model_copy(update={'plugins': plugins})
|
|
@@ -1181,7 +1161,7 @@ async def _apply(
|
|
|
1181
1161
|
):
|
|
1182
1162
|
await _check_model_teams(db, org_id, target, team_id)
|
|
1183
1163
|
if target.tags != current.tags:
|
|
1184
|
-
await
|
|
1164
|
+
await org_tags.require_ids(db, org_slug, target.tags)
|
|
1185
1165
|
if target.tools != current.tools:
|
|
1186
1166
|
await _validate_tools(db, org_slug, target.tools)
|
|
1187
1167
|
if target.subagents != current.subagents:
|
|
@@ -1202,13 +1182,9 @@ async def _apply(
|
|
|
1202
1182
|
),
|
|
1203
1183
|
]
|
|
1204
1184
|
if target.tags != current.tags:
|
|
1205
|
-
statements.
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
graph_cypher.Statement(
|
|
1209
|
-
_ATTACH_TAGS_QUERY, {**ids, 'tag_slugs': target.tags}
|
|
1210
|
-
)
|
|
1211
|
-
)
|
|
1185
|
+
statements += org_tags.replace_statements(
|
|
1186
|
+
_AGENT_NODE, ids, org_slug, target.tags
|
|
1187
|
+
)
|
|
1212
1188
|
props.update(
|
|
1213
1189
|
{
|
|
1214
1190
|
'name': target.name,
|
|
@@ -1331,7 +1307,7 @@ async def create_agent(
|
|
|
1331
1307
|
)
|
|
1332
1308
|
team_id = await _team_id(db, org_id, data.team)
|
|
1333
1309
|
await _check_model_teams(db, org_id, snapshot, team_id)
|
|
1334
|
-
await
|
|
1310
|
+
await org_tags.require_ids(db, org_slug, snapshot.tags)
|
|
1335
1311
|
await _validate_tools(db, org_slug, snapshot.tools)
|
|
1336
1312
|
await _validate_subagents(db, org_slug, snapshot.subagents)
|
|
1337
1313
|
await _assert_slug_free(db, org_slug, data.slug)
|
|
@@ -1411,10 +1387,13 @@ async def create_agent(
|
|
|
1411
1387
|
# version 1.
|
|
1412
1388
|
try:
|
|
1413
1389
|
if snapshot.tags:
|
|
1414
|
-
await
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1390
|
+
await org_tags.execute(
|
|
1391
|
+
db,
|
|
1392
|
+
[
|
|
1393
|
+
org_tags.attach_statement(
|
|
1394
|
+
_AGENT_NODE, {'id': agent_id}, org_slug, snapshot.tags
|
|
1395
|
+
)
|
|
1396
|
+
],
|
|
1418
1397
|
)
|
|
1419
1398
|
await _write_version(
|
|
1420
1399
|
db,
|