imbi-api 2.66.0__tar.gz → 2.67.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.66.0 → imbi_api-2.67.0}/PKG-INFO +2 -2
- {imbi_api-2.66.0 → imbi_api-2.67.0}/pyproject.toml +2 -2
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/agent_api_routes.py +23 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/authorization_codes.py +30 -17
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/seed.py +26 -2
- imbi_api-2.67.0/src/imbi/api/document_orgs.py +66 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/drift.py +14 -12
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_helpers.py +7 -4
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/admin_plugins.py +2 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/agents.py +21 -10
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/auth.py +105 -12
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/documents.py +5 -9
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/environments.py +20 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/harness.py +43 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/maintenance.py +115 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/organizations.py +69 -5
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_deployments.py +44 -36
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/projects.py +116 -2
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/prompts.py +703 -166
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/pull_requests.py +11 -5
- imbi_api-2.67.0/src/imbi/api/endpoints/release_periods.py +773 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/ticket_harness.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/tickets.py +131 -21
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/uploads.py +20 -2
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/workflows.py +11 -3
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/__init__.py +2 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/store.py +24 -7
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/llm/prompted.py +8 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/log.py +93 -6
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/operations.py +40 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/registry.py +34 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/worker.py +3 -1
- imbi_api-2.67.0/src/imbi/api/prompt_orgs.py +96 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/prompts/seed.py +3 -1
- imbi_api-2.67.0/src/imbi/api/release_periods.py +275 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/release_promote/service.py +17 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/broker.py +35 -16
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/__init__.py +4 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/schemata.toml +63 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/store.py +208 -23
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/__init__.py +3 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_oauth_server.py +191 -5
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_organizations.py +139 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_seed.py +2 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_admin_plugins.py +29 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_task_actions.py +4 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_task_harness.py +22 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_task_log.py +6 -4
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_task_relations.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_tasks.py +11 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agents.py +10 -2
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_auth.py +49 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_likes.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_presence.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_reads.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_templates.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_versions.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_documents.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_environments.py +84 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_harness.py +47 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_harness_egress.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_harness_secrets.py +5 -3
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_integrations.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_link_definitions.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_maintenance.py +98 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_organizations.py +2 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_person_tickets.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_deployments.py +143 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_deployments_autonomous.py +7 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_types.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_prompt_decisions.py +23 -4
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_prompt_generative.py +5 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_prompts.py +507 -48
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_pull_requests.py +22 -0
- imbi_api-2.67.0/tests/endpoints/test_release_periods_graph.py +460 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_search.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_tags.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_teams.py +2 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_handoff.py +114 -0
- imbi_api-2.67.0/tests/endpoints/test_ticket_links.py +94 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_reopen.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_waiting.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_uploads.py +23 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_webhooks.py +2 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/support.py +9 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_agent_platform.py +3 -2
- imbi_api-2.67.0/tests/test_document_orgs.py +100 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_drift.py +26 -10
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_maintenance_log.py +77 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_mcp_server_orgs.py +3 -1
- imbi_api-2.67.0/tests/test_prompt_orgs.py +82 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_prompt_seed.py +3 -1
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_prompted.py +1 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_release_promote_service.py +19 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_secret_broker.py +51 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/.gitignore +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/README.md +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/moon.yml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/README.md +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/agent_tools.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/ai_catalog_orgs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/app.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/agent_api.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/autonomous.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/internal_services.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/local_auth.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/login_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/membership.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/oauth_clients.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/organizations.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/password.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/permissions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/principals.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/sessions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/tokens.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/auth/totp.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/blueprint_attributes.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/blueprint_compliance.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/blueprint_sections.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/blueprint_values.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/commit_sync/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/commit_sync/queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/commit_sync/service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/component_facts.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/component_governance_orgs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/conversation_orgs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/cves.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/deployment_sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/deployment_sync/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/deployment_sync/queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/deployment_sync/service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/documents/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/documents/read_sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/domain/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/domain/models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/domain/scoring.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/drift_classifier.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/client.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/dependencies.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/base.html +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/base.txt +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/password_reset.html +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/password_reset.txt +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/welcome.html +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates/welcome.txt +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/email/templates.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_document_events.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_document_history.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_document_reads.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_document_scope.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_json_fields.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_local_time.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_pagination.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_request_urls.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/_search_index.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/admin.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/agent_platform.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/agent_usage.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/ai_model_defaults.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/ai_models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/ai_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/ai_proxy.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/api_keys.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/auth_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/blueprints.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/client_credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/comments.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/components.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/cves.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/dashboard.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/document_analytics.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/document_likes.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/document_presence.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/document_templates.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/document_versions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/events.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/graph_query.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/iggy_connectors.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/integration_workflow_steps.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/integrations.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/link_definitions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/local_auth.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/mcp_servers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/mfa.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/oauth_metadata.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/operations_log.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/plugin_edges.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/plugin_entities.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/plugins.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_analysis.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_commit_sync.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_configuration.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_incidents.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_integrations.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_lifecycle.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_logs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_plugins.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_pr_sync.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_stars.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/project_types.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/releases.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/roles.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/sa_api_keys.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/scoring.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/scoring_policies.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/search.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/secret_broker.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/service_accounts.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/status.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/tags.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/teams.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/user_activity.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/users.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/webhooks.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/endpoints/workflow_runs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/entrypoint.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/graph_sql.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/auth.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/egress.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/marketplaces.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/metrics.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/platform.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/harness/tokens.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/attribution.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/endpoints.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/errors.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/flows.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/host_integration.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/repository.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/resolution.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/state.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/identity/sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/iggy_metrics.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/lifespans.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/llm/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/llm/dependencies.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/llm/generate.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/llm/tokens.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/maintenance/state.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/mcp_server_orgs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/mcp_test.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/middleware/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/middleware/rate_limit.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/model_calls/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/model_calls/schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/openapi.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/orphan_releases.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/assignment_writer.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/assignments.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/installer.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/lifecycle.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/lifecycle_dispatch.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/release_dispatch.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/reload.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/resolution.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/plugins/schemas.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/pr_sync/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/pr_sync/queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/pr_sync/service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/preferences/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/preferences/schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/prompts/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/prompts/release_notes_system.md +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/py.typed +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/relationships.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/release_promote/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/release_promote/queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/sbom.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/scoring/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/scoring/queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/audit.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/identity.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/model_key.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/secret_broker/store.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/settings.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/storage/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/storage/client.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/storage/dependencies.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/storage/thumbnails.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/storage/validation.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tags.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/teams.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/announce.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/custom_fields.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/log.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/tickets/sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/plugin_calls.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/runs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/runtime_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/store.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/ticket_trigger.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/src/imbi/api/workflows/tickets.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_authentication.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_authorization.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_encryption.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_internal_services.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_login_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_membership.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_permissions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_sessions.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/auth/test_totp.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/clickhouse/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/clickhouse/test_client.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/clickhouse/test_init.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/clickhouse/test_privacy.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_audit_clickhouse.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_client.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_init.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_integration.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/email/test_templates.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_admin.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_api.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_platform.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_agent_usage.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ai_model_defaults.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ai_models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ai_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ai_proxy.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_api_keys.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_auth_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_blueprints.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_caller_org_slugs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_client_credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_comments.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_comments_attention.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_components.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_components_graph.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_cross_org_reads.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_cves.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_dashboard.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_analytics.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_document_reads_sql.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_events.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_github_app_repository.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_graph_query.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_iggy_connectors.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_init.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_integration_workflow_steps.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_integration_workflow_steps_choices.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_json_fields.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_local_auth.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_mcp_servers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_mfa.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_operations_log.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_pagination.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_plugin_label_validation.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_plugins.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_analysis.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_commit_sync.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_configuration.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_incidents.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_integrations.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_lifecycle.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_logs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_plugins.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_response_surfacing.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_project_stars.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_projects.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_projects_bulk_graph.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_projects_helpers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_releases.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_request_urls.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_roles.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_sa_api_keys.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_scoring.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_scoring_policies.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_search_index.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_secret_broker.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_service_accounts.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_service_writeback.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_shared_identifier.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_status.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_agent_activity.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_attributes.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_custom_fields.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_ticket_units.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_user_activity.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_user_preferences.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_users.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_workflow_run_history.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_workflow_runs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_workflow_triggers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/endpoints/test_workflows.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/marketplaces/claude-code.json +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_2_58/harness_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_2_58/tickets_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_a/harness_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_a/tickets_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_a_minus_1/agent_runtime_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_a_minus_1/harness_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_b/harness_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_b/tickets_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_b1/harness_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/release_b1/tickets_schemata.toml +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/sbom/npm-realistic.json +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/sbom/pypi-realistic.json +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/fixtures/sbom/tiny.json +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_endpoints.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_errors.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_flows.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_host_integration.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_repository.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_resolution.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_state.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/identity/test_sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/marketplace_support.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/middleware/test_rate_limit.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/secret_support.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/storage/__init__.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/storage/test_client.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/storage/test_init.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/storage/test_thumbnails.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/storage/test_validation.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_agent_task_events_e2e.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_agent_tools.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_ai_catalog_orgs.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_ai_provider_tokens.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_app.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_assignment_writer.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_auth_settings.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_blueprint_attributes.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_blueprint_compliance.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_blueprint_values.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_blueprints.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_clickhouse_project_ids.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_commit_sync_queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_commit_sync_service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_component_facts.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_cves.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_deployment_array_drop.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_deployment_sweeper.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_deployment_sync_queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_deployment_sync_service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_drift_classifier.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_entrypoint.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_graph_sql.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_identity_attribution.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_iggy_metrics.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_init.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_installer.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_lifecycle_dispatch.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_lifespans.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_maintenance_operations.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_maintenance_state.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_maintenance_worker.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_model_calls.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_models.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_openapi.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_orphan_releases.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_plugin_schemas.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_plugins.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_plugins_assignments.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_plugins_credentials.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_pr_sync_queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_pr_sync_service.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_projects_drift_ranges.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_pull_request_resync_clickhouse.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_pull_request_reviews_clickhouse.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_pull_requests_pending_deploy.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_release_dispatch.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_sbom.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_scoring_queue.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_scoring_triggers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_secret_github_app.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_secret_identity.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_secret_mcp_credential.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_secret_providers.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_settings.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_tags.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_ticket_state_trigger.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_tickets_rename.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.0}/tests/test_workflow_reconcile.py +0 -0
- {imbi_api-2.66.0 → imbi_api-2.67.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.67.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
|
|
@@ -21,7 +21,7 @@ Requires-Dist: filetype
|
|
|
21
21
|
Requires-Dist: httpx2>=2.16.2
|
|
22
22
|
Requires-Dist: httpx<1,>=0.28.1
|
|
23
23
|
Requires-Dist: idna>=3.18
|
|
24
|
-
Requires-Dist: imbi-common[databases,llm,mcp,script,sentry,server]==2.
|
|
24
|
+
Requires-Dist: imbi-common[databases,llm,mcp,script,sentry,server]==2.67.0
|
|
25
25
|
Requires-Dist: jinja2
|
|
26
26
|
Requires-Dist: jsonpatch>=1.33
|
|
27
27
|
Requires-Dist: jsonschema>=4.26
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "imbi-api"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.67.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"
|
|
@@ -30,7 +30,7 @@ dependencies = [
|
|
|
30
30
|
"httpx>=0.28.1,<1",
|
|
31
31
|
"httpx2>=2.16.2",
|
|
32
32
|
"idna>=3.18",
|
|
33
|
-
"imbi-common[databases,llm,mcp,script,sentry,server]==2.
|
|
33
|
+
"imbi-common[databases,llm,mcp,script,sentry,server]==2.67.0",
|
|
34
34
|
"jinja2",
|
|
35
35
|
"jsonpatch>=1.33",
|
|
36
36
|
"jsonschema>=4.26",
|
|
@@ -38,6 +38,11 @@ ALLOWED_ROUTES: frozenset[str] = frozenset(
|
|
|
38
38
|
'GET /operations-log/plugin-templates',
|
|
39
39
|
'GET /organizations/{org_slug}/agent-marketplaces/',
|
|
40
40
|
'GET /organizations/{org_slug}/agent-platform-config/',
|
|
41
|
+
'GET /organizations/{org_slug}/projects/{project_id}/release-period-status',
|
|
42
|
+
'GET /organizations/{org_slug}/release-approvals',
|
|
43
|
+
'GET /organizations/{org_slug}/release-approvals/pending',
|
|
44
|
+
'GET /organizations/{org_slug}/release-periods',
|
|
45
|
+
'GET /organizations/{org_slug}/release-periods/{slug}',
|
|
41
46
|
'GET /organizations/{org_slug}/tickets/',
|
|
42
47
|
'GET /organizations/{org_slug}/tickets/counts',
|
|
43
48
|
'GET /organizations/{org_slug}/tickets/labels',
|
|
@@ -45,6 +50,7 @@ ALLOWED_ROUTES: frozenset[str] = frozenset(
|
|
|
45
50
|
'GET /organizations/{org_slug}/tickets/waiting',
|
|
46
51
|
'GET /organizations/{org_slug}/tickets/{short_id}',
|
|
47
52
|
'GET /organizations/{org_slug}/tickets/{short_id}/events',
|
|
53
|
+
'GET /organizations/{org_slug}/tickets/{short_id}/links',
|
|
48
54
|
'GET /organizations/{org_slug}/tickets/{short_id}/position',
|
|
49
55
|
'GET /organizations/{org_slug}/tickets/{short_id}/projects',
|
|
50
56
|
'GET /organizations/{org_slug}/tickets/{short_id}/relations',
|
|
@@ -131,6 +137,10 @@ ALLOWED_ROUTES: frozenset[str] = frozenset(
|
|
|
131
137
|
'GET /organizations/{org_slug}/projects/{project_id}/score/history',
|
|
132
138
|
'GET /organizations/{org_slug}/projects/{project_id}/score/trend',
|
|
133
139
|
'GET /organizations/{org_slug}/projects/{project_id}/services/',
|
|
140
|
+
# The prompts the organization uses: its own and the defaults.
|
|
141
|
+
# The routes of one prompt share their handlers with
|
|
142
|
+
# /prompts/..., so they have the keys of those routes.
|
|
143
|
+
'GET /organizations/{org_slug}/prompts/',
|
|
134
144
|
'GET /organizations/{org_slug}/pull-requests/',
|
|
135
145
|
'GET /organizations/{org_slug}/pull-requests/activity',
|
|
136
146
|
'GET /organizations/{org_slug}/pull-requests/pending-deploy',
|
|
@@ -239,11 +249,13 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
239
249
|
{
|
|
240
250
|
# Platform administration: arbitrary graph queries, plugin entities, maintenance jobs
|
|
241
251
|
'DELETE /admin/plugins/{slug}/entities/{label}/{id}',
|
|
252
|
+
'DELETE /maintenance/pauses/{service}',
|
|
242
253
|
'PATCH /admin/plugins/{slug}/entities/{label}/{id}',
|
|
243
254
|
'POST /admin/graph/query',
|
|
244
255
|
'POST /admin/plugins/{slug}/entities/{label}',
|
|
245
256
|
'POST /maintenance/operations/{slug}/cancel',
|
|
246
257
|
'POST /maintenance/operations/{slug}/run',
|
|
258
|
+
'PUT /maintenance/pauses/{service}',
|
|
247
259
|
# Agent rules: platform configuration, marketplaces, AI models and providers, prompts and prompt runs
|
|
248
260
|
'DELETE /organizations/{org_slug}/ai-models/{id}',
|
|
249
261
|
'GET /organizations/{org_slug}/ai-models/',
|
|
@@ -259,7 +271,9 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
259
271
|
'PATCH /prompts/{namespace}/{slug}',
|
|
260
272
|
'POST /organizations/{org_slug}/agent-marketplaces/',
|
|
261
273
|
'POST /organizations/{org_slug}/agent-marketplaces/{slug}/sync',
|
|
274
|
+
'POST /organizations/{org_slug}/prompts/',
|
|
262
275
|
'POST /organizations/{org_slug}/prompts/run',
|
|
276
|
+
'POST /organizations/{org_slug}/prompts/{namespace}/{slug}/override',
|
|
263
277
|
'POST /prompts/',
|
|
264
278
|
'POST /prompts/{namespace}/{slug}/versions',
|
|
265
279
|
'PUT /organizations/{org_slug}/agent-platform-config/',
|
|
@@ -268,8 +282,15 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
268
282
|
'PUT /prompts/{namespace}/{slug}/default-label',
|
|
269
283
|
'PUT /prompts/{namespace}/{slug}/labels/{label}',
|
|
270
284
|
'PUT /prompts/{namespace}/{slug}/versions/{n}/evaluation',
|
|
285
|
+
# Release periods: an agent refused by a period stops and reports it; only an admin approves a change
|
|
286
|
+
'DELETE /organizations/{org_slug}/release-approvals/{approval_id}',
|
|
287
|
+
'DELETE /organizations/{org_slug}/release-periods/{slug}',
|
|
288
|
+
'PATCH /organizations/{org_slug}/release-periods/{slug}',
|
|
289
|
+
'POST /organizations/{org_slug}/release-approvals/bulk',
|
|
290
|
+
'POST /organizations/{org_slug}/release-periods',
|
|
271
291
|
# Tickets: an agent works on its tickets through the harness routes only, so it cannot answer its own approval or question, reassign, or start another agent outside its chain
|
|
272
292
|
'DELETE /organizations/{org_slug}/tickets/{short_id}',
|
|
293
|
+
'DELETE /organizations/{org_slug}/tickets/{short_id}/links',
|
|
273
294
|
'DELETE /organizations/{org_slug}/tickets/{short_id}/projects/{project_id}',
|
|
274
295
|
'DELETE /organizations/{org_slug}/tickets/{short_id}/requires/{prerequisite}',
|
|
275
296
|
'PATCH /organizations/{org_slug}/tickets/{short_id}',
|
|
@@ -278,6 +299,7 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
278
299
|
'POST /organizations/{org_slug}/tickets/{short_id}/acknowledge',
|
|
279
300
|
'POST /organizations/{org_slug}/tickets/{short_id}/cancel',
|
|
280
301
|
'POST /organizations/{org_slug}/tickets/{short_id}/hand-off',
|
|
302
|
+
'POST /organizations/{org_slug}/tickets/{short_id}/links',
|
|
281
303
|
'POST /organizations/{org_slug}/tickets/{short_id}/pause',
|
|
282
304
|
'POST /organizations/{org_slug}/tickets/{short_id}/priority',
|
|
283
305
|
'POST /organizations/{org_slug}/tickets/{short_id}/rank',
|
|
@@ -384,6 +406,7 @@ REFUSED_ROUTES: frozenset[str] = frozenset(
|
|
|
384
406
|
'GET /maintenance/log',
|
|
385
407
|
'GET /maintenance/operations',
|
|
386
408
|
'GET /maintenance/operations/{slug}',
|
|
409
|
+
'GET /maintenance/pauses',
|
|
387
410
|
# Shared records that hold data of other organizations: the
|
|
388
411
|
# prompt library holds every organization's agent prompts
|
|
389
412
|
# (agents/<org>.<agent>), and component release notes are
|
|
@@ -6,9 +6,10 @@ authenticated principal, and scope) and stores it in Valkey with a short
|
|
|
6
6
|
TTL. ``/auth/token`` redeems it with an atomic ``GETDEL`` so a code can
|
|
7
7
|
only be exchanged once, then verifies the PKCE code verifier.
|
|
8
8
|
|
|
9
|
-
Before a code is minted the user must approve the client
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Before a code is minted the user must approve the client and pick the
|
|
10
|
+
organization that the token works in. The pending request is held under
|
|
11
|
+
a single-use consent token, and an approval is remembered per (user,
|
|
12
|
+
client) with that organization, so a known client skips the prompt.
|
|
12
13
|
"""
|
|
13
14
|
|
|
14
15
|
import base64
|
|
@@ -37,6 +38,9 @@ class CodePayload(typing.TypedDict):
|
|
|
37
38
|
code_challenge: str
|
|
38
39
|
principal_id: str
|
|
39
40
|
scope: str | None
|
|
41
|
+
#: The organization that the token works in (ADR 0035); ``None``
|
|
42
|
+
#: for a user in no organization.
|
|
43
|
+
org_slug: str | None
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
async def issue_code(
|
|
@@ -47,6 +51,7 @@ async def issue_code(
|
|
|
47
51
|
code_challenge: str,
|
|
48
52
|
principal_id: str,
|
|
49
53
|
scope: str | None,
|
|
54
|
+
org_slug: str | None,
|
|
50
55
|
) -> str:
|
|
51
56
|
"""Mint and store a single-use authorization code, returning it."""
|
|
52
57
|
code = secrets.token_urlsafe(32)
|
|
@@ -56,6 +61,7 @@ async def issue_code(
|
|
|
56
61
|
'code_challenge': code_challenge,
|
|
57
62
|
'principal_id': principal_id,
|
|
58
63
|
'scope': scope,
|
|
64
|
+
'org_slug': org_slug,
|
|
59
65
|
}
|
|
60
66
|
await valkey_client.set( # pyright: ignore[reportUnknownMemberType]
|
|
61
67
|
f'{_KEY_PREFIX}{code}', json.dumps(payload), ex=_TTL_SECONDS
|
|
@@ -97,7 +103,9 @@ def verify_pkce(code_verifier: str, code_challenge: str) -> bool:
|
|
|
97
103
|
# -- user consent ---------------------------------------------------------
|
|
98
104
|
|
|
99
105
|
_CONSENT_TOKEN_PREFIX = 'oauth:consent-token:'
|
|
100
|
-
|
|
106
|
+
# v2: an approval names the organization. An approval stored before
|
|
107
|
+
# that names none, so the user approves again and picks one.
|
|
108
|
+
_CONSENT_GRANT_PREFIX = 'oauth:consent-grant:v2:'
|
|
101
109
|
# Time the user has to click Approve or Deny on the consent page.
|
|
102
110
|
_CONSENT_TOKEN_TTL_SECONDS = 300
|
|
103
111
|
# Time a remembered approval lets a client skip the consent page.
|
|
@@ -151,30 +159,35 @@ def _grant_key(principal_id: str, client_id: str, redirect_uri: str) -> str:
|
|
|
151
159
|
|
|
152
160
|
|
|
153
161
|
async def remember_consent(
|
|
154
|
-
valkey_client: valkey_module.Valkey,
|
|
162
|
+
valkey_client: valkey_module.Valkey,
|
|
163
|
+
payload: ConsentPayload,
|
|
164
|
+
org_slug: str,
|
|
155
165
|
) -> None:
|
|
156
|
-
"""Record that the user approved the client for this redirect URI
|
|
166
|
+
"""Record that the user approved the client for this redirect URI,
|
|
167
|
+
in the organization ``org_slug``."""
|
|
157
168
|
await valkey_client.set( # pyright: ignore[reportUnknownMemberType]
|
|
158
169
|
_grant_key(
|
|
159
170
|
payload['principal_id'],
|
|
160
171
|
payload['client_id'],
|
|
161
172
|
payload['redirect_uri'],
|
|
162
173
|
),
|
|
163
|
-
|
|
174
|
+
org_slug,
|
|
164
175
|
ex=_CONSENT_GRANT_TTL_SECONDS,
|
|
165
176
|
)
|
|
166
177
|
|
|
167
178
|
|
|
168
|
-
async def
|
|
179
|
+
async def consented_org(
|
|
169
180
|
valkey_client: valkey_module.Valkey, payload: ConsentPayload
|
|
170
|
-
) ->
|
|
171
|
-
"""
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
)
|
|
181
|
+
) -> str | None:
|
|
182
|
+
"""The organization of the user's approval of this client and URI,
|
|
183
|
+
or ``None`` for no approval."""
|
|
184
|
+
raw = await valkey_client.get( # pyright: ignore[reportUnknownMemberType]
|
|
185
|
+
_grant_key(
|
|
186
|
+
payload['principal_id'],
|
|
187
|
+
payload['client_id'],
|
|
188
|
+
payload['redirect_uri'],
|
|
179
189
|
)
|
|
180
190
|
)
|
|
191
|
+
if raw is None:
|
|
192
|
+
return None
|
|
193
|
+
return raw.decode('utf-8') if isinstance(raw, bytes) else str(raw)
|
|
@@ -362,6 +362,31 @@ STANDARD_PERMISSIONS: list[tuple[str, str, str, str]] = [
|
|
|
362
362
|
'write',
|
|
363
363
|
'Mark packages, record advisories, and add package notes',
|
|
364
364
|
),
|
|
365
|
+
# Release periods: admin only (granted to no other default role)
|
|
366
|
+
(
|
|
367
|
+
'release_period:read',
|
|
368
|
+
'release_period',
|
|
369
|
+
'read',
|
|
370
|
+
'View release periods',
|
|
371
|
+
),
|
|
372
|
+
(
|
|
373
|
+
'release_period:write',
|
|
374
|
+
'release_period',
|
|
375
|
+
'write',
|
|
376
|
+
'Create, update, and delete release periods',
|
|
377
|
+
),
|
|
378
|
+
(
|
|
379
|
+
'release_approval:read',
|
|
380
|
+
'release_approval',
|
|
381
|
+
'read',
|
|
382
|
+
'View pending and granted release approvals',
|
|
383
|
+
),
|
|
384
|
+
(
|
|
385
|
+
'release_approval:write',
|
|
386
|
+
'release_approval',
|
|
387
|
+
'write',
|
|
388
|
+
'Approve and revoke changes during a release period',
|
|
389
|
+
),
|
|
365
390
|
# Tag management
|
|
366
391
|
('tag:create', 'tag', 'create', 'Create tags'),
|
|
367
392
|
('tag:read', 'tag', 'read', 'View tags'),
|
|
@@ -887,7 +912,7 @@ DEFAULT_ROLES: list[tuple[str, str, str, int, list[str], bool]] = [
|
|
|
887
912
|
(
|
|
888
913
|
'developer',
|
|
889
914
|
'Developer',
|
|
890
|
-
'Standard developer access to projects
|
|
915
|
+
'Standard developer access to projects',
|
|
891
916
|
500,
|
|
892
917
|
[
|
|
893
918
|
'agent:create',
|
|
@@ -898,7 +923,6 @@ DEFAULT_ROLES: list[tuple[str, str, str, int, list[str], bool]] = [
|
|
|
898
923
|
'ticket:manage',
|
|
899
924
|
'ticket:resolve',
|
|
900
925
|
'blueprint:read',
|
|
901
|
-
'blueprint:write',
|
|
902
926
|
'workflow:create',
|
|
903
927
|
'workflow:read',
|
|
904
928
|
'workflow:write',
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"""Link existing documents to their organization.
|
|
2
|
+
|
|
3
|
+
A ``Document`` now has a ``BELONGS_TO`` edge to its organization. Before
|
|
4
|
+
that change, only user documents had it, and the organization of a
|
|
5
|
+
project or project-type document came from its attachment. The
|
|
6
|
+
``document-org-backfill`` maintenance operation runs :func:`backfill`
|
|
7
|
+
one time after the upgrade.
|
|
8
|
+
|
|
9
|
+
The organization is the one of the attachment. A user document with no
|
|
10
|
+
edge (one made before issue #414) gets the organization of the user
|
|
11
|
+
when the user is in exactly one. A document that has no organization
|
|
12
|
+
after this (its attachment was deleted, or its user is in no or many
|
|
13
|
+
organizations) is logged and keeps no edge: no organization shows it.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
import logging
|
|
17
|
+
import typing
|
|
18
|
+
|
|
19
|
+
from imbi.common import graph
|
|
20
|
+
|
|
21
|
+
LOGGER = logging.getLogger(__name__)
|
|
22
|
+
|
|
23
|
+
_TAIL: typing.LiteralString = """
|
|
24
|
+
WHERE NOT EXISTS((d)-[:BELONGS_TO]->(:Organization))
|
|
25
|
+
WITH d, collect(DISTINCT o) AS orgs
|
|
26
|
+
WHERE size(orgs) = 1
|
|
27
|
+
WITH d, head(orgs) AS o
|
|
28
|
+
CREATE (d)-[:BELONGS_TO]->(o)
|
|
29
|
+
RETURN d.id AS id
|
|
30
|
+
"""
|
|
31
|
+
#: The organization of each attachment kind, bound as ``o``.
|
|
32
|
+
_HEADS: tuple[typing.LiteralString, ...] = (
|
|
33
|
+
"""
|
|
34
|
+
MATCH (d:Document)-[:ATTACHED_TO]->(:Project)
|
|
35
|
+
-[:OWNED_BY]->(:Team)-[:BELONGS_TO]->(o:Organization)
|
|
36
|
+
""",
|
|
37
|
+
"""
|
|
38
|
+
MATCH (d:Document)-[:ATTACHED_TO]->(:ProjectType)
|
|
39
|
+
-[:BELONGS_TO]->(o:Organization)
|
|
40
|
+
""",
|
|
41
|
+
"""
|
|
42
|
+
MATCH (d:Document)-[:ATTACHED_TO]->(:User)-[:MEMBER_OF]->(o:Organization)
|
|
43
|
+
""",
|
|
44
|
+
)
|
|
45
|
+
_UNPLACED: typing.LiteralString = """
|
|
46
|
+
MATCH (d:Document)
|
|
47
|
+
WHERE NOT EXISTS((d)-[:BELONGS_TO]->(:Organization))
|
|
48
|
+
RETURN d.id AS id
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
async def backfill(db: graph.Graph) -> int:
|
|
53
|
+
"""Link each document that has no organization to the organization
|
|
54
|
+
of its attachment; return the count of documents linked."""
|
|
55
|
+
linked = 0
|
|
56
|
+
for head in _HEADS:
|
|
57
|
+
linked += len(await db.execute(head + _TAIL, {}, ['id']))
|
|
58
|
+
for record in await db.execute(_UNPLACED, {}, ['id']):
|
|
59
|
+
LOGGER.warning(
|
|
60
|
+
'Document %s has no organization: its attachment is gone, or '
|
|
61
|
+
'its user is in no or many organizations',
|
|
62
|
+
graph.parse_agtype(record['id']),
|
|
63
|
+
)
|
|
64
|
+
if linked:
|
|
65
|
+
LOGGER.info('Linked %d documents to an organization', linked)
|
|
66
|
+
return linked
|
|
@@ -24,9 +24,12 @@ note seen yet" -- a real state, because CI pushes notes asynchronously
|
|
|
24
24
|
to a separate ref. ``drift_checked_at`` records when something last
|
|
25
25
|
looked, so "never looked" and "looked, no note" stay distinguishable.
|
|
26
26
|
|
|
27
|
-
A
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
A verdict never blocks a Release. A ``true`` verdict on the commit a
|
|
28
|
+
tag points at means the commit changes something that needs a release,
|
|
29
|
+
which is what the release ships. Applying any verdict to a tagged
|
|
30
|
+
Release resolves a ``type='drift'`` blocker that an earlier version
|
|
31
|
+
filed from a note (see ``resolve_drift_blocker`` in the deployments
|
|
32
|
+
endpoint module).
|
|
30
33
|
"""
|
|
31
34
|
|
|
32
35
|
from __future__ import annotations
|
|
@@ -280,23 +283,25 @@ async def _stamp_release(
|
|
|
280
283
|
project_id: str,
|
|
281
284
|
release_id: str,
|
|
282
285
|
tag: object,
|
|
283
|
-
committish: str,
|
|
284
286
|
value: bool | None,
|
|
285
287
|
) -> None:
|
|
286
|
-
"""Write one verdict: the
|
|
288
|
+
"""Write one verdict: the blocker cleanup, then the Release fields.
|
|
289
|
+
|
|
290
|
+
The cleanup runs first. A stamped verdict takes the Release out of
|
|
291
|
+
the sweep's unanswered selection, so a cleanup that failed after the
|
|
292
|
+
stamp would never be retried, and a stale blocker would stay open.
|
|
293
|
+
"""
|
|
287
294
|
from imbi.api.endpoints import project_deployments
|
|
288
295
|
|
|
289
|
-
await _set_drift(db, project_id, release_id, value)
|
|
290
296
|
if tag:
|
|
291
|
-
await project_deployments.
|
|
297
|
+
await project_deployments.resolve_drift_blocker(
|
|
292
298
|
db,
|
|
293
299
|
org_slug=org_slug,
|
|
294
300
|
project_id=project_id,
|
|
295
301
|
tag=str(tag),
|
|
296
|
-
committish=committish,
|
|
297
|
-
drift_detected=value,
|
|
298
302
|
requested_by=REQUESTED_BY,
|
|
299
303
|
)
|
|
304
|
+
await _set_drift(db, project_id, release_id, value)
|
|
300
305
|
|
|
301
306
|
|
|
302
307
|
async def apply_note(
|
|
@@ -328,7 +333,6 @@ async def apply_note(
|
|
|
328
333
|
project_id=project_id,
|
|
329
334
|
release_id=str(graph.parse_agtype(row['id'])),
|
|
330
335
|
tag=graph.parse_agtype(row['tag']),
|
|
331
|
-
committish=committish,
|
|
332
336
|
value=value,
|
|
333
337
|
)
|
|
334
338
|
return len(rows)
|
|
@@ -603,7 +607,6 @@ async def sweep_project(
|
|
|
603
607
|
project_id=project_id,
|
|
604
608
|
release_id=str(graph.parse_agtype(row['id'])),
|
|
605
609
|
tag=graph.parse_agtype(row['tag']),
|
|
606
|
-
committish=committish,
|
|
607
610
|
value=parse_note(body),
|
|
608
611
|
)
|
|
609
612
|
stamped += 1
|
|
@@ -855,7 +858,6 @@ async def _stamp_releases_from(
|
|
|
855
858
|
project_id=project_id,
|
|
856
859
|
release_id=str(graph.parse_agtype(row['id'])),
|
|
857
860
|
tag=graph.parse_agtype(row['tag']),
|
|
858
|
-
committish=committish,
|
|
859
861
|
value=candidates[0],
|
|
860
862
|
)
|
|
861
863
|
stamped += 1
|
|
@@ -376,12 +376,15 @@ _ORG_IDS_QUERY: typing.LiteralString = (
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
async def caller_org_ids(
|
|
379
|
-
db: graph.Graph,
|
|
379
|
+
db: graph.Graph,
|
|
380
|
+
auth: permissions.AuthContext,
|
|
381
|
+
slugs: collections.abc.Collection[str] | None = None,
|
|
380
382
|
) -> list[str]:
|
|
381
383
|
"""The ids of the caller's organizations (see
|
|
382
|
-
:func:`caller_org_slugs
|
|
383
|
-
|
|
384
|
-
|
|
384
|
+
:func:`caller_org_slugs`, or ``slugs`` when the caller has them
|
|
385
|
+
already), for an ``IN`` filter on ``organization_id``. An
|
|
386
|
+
organization with no id yet is left out."""
|
|
387
|
+
slugs = list(await caller_org_slugs(db, auth) if slugs is None else slugs)
|
|
385
388
|
if not slugs:
|
|
386
389
|
return []
|
|
387
390
|
records = await db.execute(_ORG_IDS_QUERY, {'slugs': slugs}, ['id'])
|
|
@@ -5,6 +5,7 @@ import typing
|
|
|
5
5
|
|
|
6
6
|
import fastapi
|
|
7
7
|
|
|
8
|
+
from imbi.api.auth import organizations as org_auth
|
|
8
9
|
from imbi.api.auth import permissions
|
|
9
10
|
from imbi.api.domain import models
|
|
10
11
|
from imbi.api.endpoints import plugin_edges as _plugin_edges
|
|
@@ -131,7 +132,6 @@ async def list_plugin_edges(
|
|
|
131
132
|
the plugin admin UI to render the per-org edge mapping table without
|
|
132
133
|
one HTTP request per environment.
|
|
133
134
|
"""
|
|
134
|
-
_ = auth
|
|
135
135
|
try:
|
|
136
136
|
entry = get_plugin(slug)
|
|
137
137
|
except PluginNotFoundError as exc:
|
|
@@ -151,6 +151,7 @@ async def list_plugin_edges(
|
|
|
151
151
|
f'{rel_type!r}'
|
|
152
152
|
),
|
|
153
153
|
)
|
|
154
|
+
await org_auth.check_member(org_slug, db, auth)
|
|
154
155
|
return await _plugin_edges.list_org_environment_edges(
|
|
155
156
|
db=db, rel_type=rel_type, org_slug=org_slug
|
|
156
157
|
)
|
|
@@ -777,9 +777,10 @@ def _description_inputs(snapshot: AgentSnapshot) -> tuple[typing.Any, ...]:
|
|
|
777
777
|
|
|
778
778
|
|
|
779
779
|
async def _prompt_version(
|
|
780
|
-
db: graph.Pool, snapshot: AgentSnapshot
|
|
780
|
+
db: graph.Pool, org_id: str, snapshot: AgentSnapshot
|
|
781
781
|
) -> models.PromptVersion | None:
|
|
782
|
-
"""Return the prompt version that the agent
|
|
782
|
+
"""Return the prompt version that the agent in ``org_id`` uses:
|
|
783
|
+
``prompt_version``
|
|
783
784
|
of the prompt that ``prompt_ref`` names, or the version of its
|
|
784
785
|
label when the agent has no ``prompt_version``. ``None`` when the
|
|
785
786
|
agent has no prompt or it is not found.
|
|
@@ -790,7 +791,9 @@ async def _prompt_version(
|
|
|
790
791
|
if snapshot.prompt_version is not None:
|
|
791
792
|
ref = f'{ref.partition("@")[0]}@{snapshot.prompt_version}'
|
|
792
793
|
try:
|
|
793
|
-
_prompt, version, _label = await prompt_resolve.resolve(
|
|
794
|
+
_prompt, version, _label = await prompt_resolve.resolve(
|
|
795
|
+
db, ref, org_id=org_id
|
|
796
|
+
)
|
|
794
797
|
except prompt_resolve.PromptError:
|
|
795
798
|
return None
|
|
796
799
|
return version
|
|
@@ -799,6 +802,7 @@ async def _prompt_version(
|
|
|
799
802
|
async def _describe(
|
|
800
803
|
db: graph.Pool,
|
|
801
804
|
anthropic: AnthropicClient,
|
|
805
|
+
org_id: str,
|
|
802
806
|
org_slug: str,
|
|
803
807
|
target: AgentSnapshot,
|
|
804
808
|
current: AgentSnapshot | None,
|
|
@@ -821,7 +825,7 @@ async def _describe(
|
|
|
821
825
|
):
|
|
822
826
|
return kept
|
|
823
827
|
version, found = await asyncio.gather(
|
|
824
|
-
_prompt_version(db, target),
|
|
828
|
+
_prompt_version(db, org_id, target),
|
|
825
829
|
_find_subagents(db, org_slug, [s.agent_id for s in target.subagents]),
|
|
826
830
|
)
|
|
827
831
|
system = version.system if version else ''
|
|
@@ -841,7 +845,13 @@ async def _describe(
|
|
|
841
845
|
],
|
|
842
846
|
}
|
|
843
847
|
text = await prompted.describe(
|
|
844
|
-
db,
|
|
848
|
+
db,
|
|
849
|
+
anthropic,
|
|
850
|
+
system_prompts.AGENT_DESCRIPTION,
|
|
851
|
+
sent,
|
|
852
|
+
kept or '',
|
|
853
|
+
auth,
|
|
854
|
+
org_id=org_id,
|
|
845
855
|
)
|
|
846
856
|
return text or kept
|
|
847
857
|
|
|
@@ -894,7 +904,7 @@ async def _check_model_teams(
|
|
|
894
904
|
"""
|
|
895
905
|
if snapshot.prompt_version is None:
|
|
896
906
|
return
|
|
897
|
-
version = await _prompt_version(db, snapshot)
|
|
907
|
+
version = await _prompt_version(db, org_id, snapshot)
|
|
898
908
|
if version is None or version.model is None:
|
|
899
909
|
return
|
|
900
910
|
info = await prompt_resolve.model_info(db, version.model, org_ids=[org_id])
|
|
@@ -1291,7 +1301,7 @@ async def _apply(
|
|
|
1291
1301
|
target = target.model_copy(
|
|
1292
1302
|
update={
|
|
1293
1303
|
'description': await _describe(
|
|
1294
|
-
db, anthropic, org_slug, target, current, auth
|
|
1304
|
+
db, anthropic, org_id, org_slug, target, current, auth
|
|
1295
1305
|
)
|
|
1296
1306
|
}
|
|
1297
1307
|
)
|
|
@@ -1451,7 +1461,7 @@ async def create_agent(
|
|
|
1451
1461
|
await _validate_subagents(db, org_slug, snapshot.subagents)
|
|
1452
1462
|
await _assert_slug_free(db, org_slug, data.slug)
|
|
1453
1463
|
snapshot.description = await _describe(
|
|
1454
|
-
db, anthropic, org_slug, snapshot, None, auth
|
|
1464
|
+
db, anthropic, org_id, org_slug, snapshot, None, auth
|
|
1455
1465
|
)
|
|
1456
1466
|
|
|
1457
1467
|
now = _now()
|
|
@@ -1942,7 +1952,7 @@ async def restore_agent_version(
|
|
|
1942
1952
|
noun = 'subagent' if dropped == 1 else 'subagents'
|
|
1943
1953
|
summary += f'; dropped {dropped} missing {noun}'
|
|
1944
1954
|
label_move = await _restore_label_move(
|
|
1945
|
-
db, org_slug, snapshot, existing.get('prompt_ref'), auth
|
|
1955
|
+
db, org_id, org_slug, snapshot, existing.get('prompt_ref'), auth
|
|
1946
1956
|
)
|
|
1947
1957
|
return await _apply(
|
|
1948
1958
|
db,
|
|
@@ -1959,6 +1969,7 @@ async def restore_agent_version(
|
|
|
1959
1969
|
|
|
1960
1970
|
async def _restore_label_move(
|
|
1961
1971
|
db: graph.Pool,
|
|
1972
|
+
org_id: str,
|
|
1962
1973
|
org_slug: str,
|
|
1963
1974
|
snapshot: AgentSnapshot,
|
|
1964
1975
|
current_ref: str | None,
|
|
@@ -2003,7 +2014,7 @@ async def _restore_label_move(
|
|
|
2003
2014
|
)
|
|
2004
2015
|
try:
|
|
2005
2016
|
prompt, _latest = await prompt_resolve.fetch_prompt(
|
|
2006
|
-
db, namespace, prompt_slug
|
|
2017
|
+
db, namespace, prompt_slug, org_id=org_id
|
|
2007
2018
|
)
|
|
2008
2019
|
await prompt_resolve.fetch_version(db, prompt, snapshot.prompt_version)
|
|
2009
2020
|
except prompt_resolve.PromptNotFound as e:
|