stackgen-sdk 0.4.0rc24__tar.gz → 0.4.0rc26__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.
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/PKG-INFO +1 -1
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/_http.py +7 -3
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/_version.py +2 -2
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/transient.py +2 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/webhook_ops.py +5 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api/aiden_api.py +259 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/.gitignore +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/README.md +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/pyproject.toml +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/ask.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/audit.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/integration_secrets.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/models.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/namespace.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/resources.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/run_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/runs.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/sessions.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/steer.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/subscribe.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/subscribe_frames.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/webhook.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/workflow_builder.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/aiden/workflow_publish.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/cli.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/client.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/errors.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator/FILES +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator/VERSION +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator-ignore +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api/sre_api.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api/vault_api.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api_client.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/api_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/configuration.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/exceptions.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/activate_break_glass_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_app_mcp_binding.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_health_check.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_health_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_info.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_lifecycle_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_model_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_schedule.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_analysis_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_attention.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_categorization_summary.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_role.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_sort_by.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_summary.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_sync_run_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_v1.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/approval_item.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/artifact_info.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_execution_mode.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_guild_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_guild_route_decision.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_guild_route_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_guild_start_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/attach_policy_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/audit_event.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/audit_event_list_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/audit_facets.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/auto_approve_tool_rule.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/autonomy_budget_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/autonomy_budget_snapshot.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/autonomy_budget_tier.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/autonomy_budget_tier_reason.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/break_glass_state.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/candidate_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_channel_selector.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_subscription.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_subscription_list_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_subscription_target_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_subscription_trigger_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/combining_algorithm.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/combining_algorithm_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/container_image.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/cost_band.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_chat_subscription_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_document_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_knowledge_base_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_policy_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_remote_runner_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_remote_runner_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_schedule_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_skill_companion_file.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_skill_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/create_webhook_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/dag_edge.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/dag_node.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/diary_compression.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/diary_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/discovered_tool.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/document_ingest_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/document_ingest_workflow_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/document_processing_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/duration_band.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/entity_ref.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/error_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/eval_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/evaluate_policy_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/evaluate_policy_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/execution_list_item.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/execution_meta.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/execution_structured_output.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/execution_tool_call.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/execution_tool_call_list.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/external_secret_reference.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/fork_session_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/git_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/guild_integration.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/guild_json_error.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/guild_platform_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/hal_guard_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/health_check_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/hitl_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ingested_document.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ingested_document1.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_availability_reason.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_availability_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_mcp_auth_promotion.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_remote_runner.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_scope.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_sidecar_launch.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_test_result.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/integration_type_info.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigate_alert_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigate_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_evidence.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_evidence_kind.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_evidence_source.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_hypothesis.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_plain_summary.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_prior_incident.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_recommended_next_step.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_ref.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_structured_hypothesis_entry.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_structured_limitation_entry.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_structured_rca.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/investigation_triage_metadata.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/judge_execution_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/key_definition_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_base.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_item.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_item_backend.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_item_operation.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/knowledge_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/list_alerts_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/list_investigations_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/list_remote_runner_tasks_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/list_remote_runners_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/llm_provider_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/metadata.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_circuit_breaker.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_concurrency.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_context_mode.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_context_mode_per_tool_value.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_metrics.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_rate_limit.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_retry.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_sanitize.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_timeout.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_tracing.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/middleware_config_validation.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/model_pricing.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/model_provider_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/navigation_mode.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/o_auth_support.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/owner_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/pagination.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/persona_variant_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/pii_redaction_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/pii_regex_rule.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_agent.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_approver.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_environment.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_principal.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_project_membership.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_requester.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_input_tool.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_evaluation_outcome.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/policy_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/qualified_candidate.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/rca_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/reasoning_effort_setting.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/register_agent_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/registered_model.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/remote_runner_info.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/remote_runner_task_info.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/resolve_approval_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/run_workflow_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/run_workflow_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/runbook_config.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/runner_capability.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/runner_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/runtime_approval_binding.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/runtime_approval_item.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/scan_finding.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/schedule_history.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/schedule_run_list_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/schedule_run_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/schedule_source.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/schedule_target_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/secret.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/secret_sub_category.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_activity_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_export.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_export_part.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_export_part_kind.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_list_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_responder_kind.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/session_summary.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/sidecar_health_probes.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/signal_severity.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/skill.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/skill_file.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/skill_summary.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/stage_binding.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/stage_expectation.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/start_ask_guild200_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/start_chat_json_body.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/start_chat_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/subagent_spawn_contract.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/supported_formats.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/supported_formats_keys_inner.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/sync_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/task_error_category.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/task_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/terminate_session_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/toggle_chat_subscription_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/trace_dag_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/trigger_schedule202_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/trigger_webhook202_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/update_agent_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/update_chat_subscription_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/update_secret_by_id_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/upsert_integration_request.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/version_status.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/webhook.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/webhook_run.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/webhook_run_detail.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/webhook_run_list_response.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_metadata.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_output_contract.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_run_expectations.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_stage.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_tool_middleware.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_tool_middleware_circuit_breaker.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_tool_middleware_concurrency.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_trigger.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/workflow_trigger_type.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/rest.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/logging.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/orgs/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/orgs/namespace.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/sre/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/sre/namespace.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/vault/__init__.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/vault/metadata.py +0 -0
- {stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/vault/namespace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: stackgen-sdk
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.0rc26
|
|
4
4
|
Summary: StackGen SDK — Aiden, SRE, and Vault from one client
|
|
5
5
|
Project-URL: Homepage, https://appcd-dev.github.io/stackgen-sdk/
|
|
6
6
|
Project-URL: Documentation, https://appcd-dev.github.io/stackgen-sdk/
|
|
@@ -113,12 +113,15 @@ def request(
|
|
|
113
113
|
retries: int = 3,
|
|
114
114
|
timeout_seconds: float | None = None,
|
|
115
115
|
transient_retry_budget_ms: float | int | None = None,
|
|
116
|
+
retry_gateway_outage: bool = False,
|
|
116
117
|
) -> Any:
|
|
117
118
|
"""Bearer HTTP call with retries on transient failures for idempotent methods.
|
|
118
119
|
|
|
119
120
|
Gateway 502/503/504 and network errors retry until
|
|
120
121
|
``transient_retry_budget_ms`` elapses (default 120s). Other retryable
|
|
121
|
-
statuses use the short ``retries`` attempt budget. POST/PATCH fail fast
|
|
122
|
+
statuses use the short ``retries`` attempt budget. POST/PATCH fail fast
|
|
123
|
+
unless ``retry_gateway_outage`` is set, which retries only 502/503/504
|
|
124
|
+
and transport errors (a CloudFront drop), not application 500s.
|
|
122
125
|
|
|
123
126
|
``timeout_seconds`` is an optional per-call abort budget. When the deadline
|
|
124
127
|
expires, raises :class:`~stackgen.errors.TimeoutError`. Omit to wait until
|
|
@@ -131,6 +134,7 @@ def request(
|
|
|
131
134
|
method = method.upper()
|
|
132
135
|
budget_ms = resolve_transient_retry_budget_ms(transient_retry_budget_ms)
|
|
133
136
|
idempotent = is_idempotent_http_method(method)
|
|
137
|
+
retry_outage = idempotent or retry_gateway_outage
|
|
134
138
|
headers = {"Authorization": f"Bearer {token}"}
|
|
135
139
|
if content_type:
|
|
136
140
|
headers["Content-Type"] = content_type
|
|
@@ -176,7 +180,7 @@ def request(
|
|
|
176
180
|
detail = err.read().decode("utf-8", errors="replace")
|
|
177
181
|
log_http_response(method, url, status=err.code, attempt=attempt)
|
|
178
182
|
if (
|
|
179
|
-
|
|
183
|
+
retry_outage
|
|
180
184
|
and is_gateway_outage_status(err.code)
|
|
181
185
|
and within_outage_budget()
|
|
182
186
|
):
|
|
@@ -207,7 +211,7 @@ def request(
|
|
|
207
211
|
if isinstance(err, (socket.timeout, TimeoutError)):
|
|
208
212
|
raise HttpError(f"{method} {url} -> {err}") from err
|
|
209
213
|
log_http_response(method, url, status=None, attempt=attempt)
|
|
210
|
-
if
|
|
214
|
+
if retry_outage and within_outage_budget():
|
|
211
215
|
announce_outage("network_error")
|
|
212
216
|
log_http_retry(
|
|
213
217
|
method, url, status="network_error", attempt=attempt, retries=retries
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.4.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 4, 0, '
|
|
21
|
+
__version__ = version = '0.4.0rc26'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 4, 0, 'rc26')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -8,6 +8,8 @@ Domain rules (not HTTP mechanics):
|
|
|
8
8
|
- Only *idempotent* mutations may use :func:`retry_idempotent_op`. Today that
|
|
9
9
|
is ``terminate_session`` (Guild persists cancel intent; empty sessions return
|
|
10
10
|
200). Webhook/workflow starts are *not* idempotent — do not retry them here.
|
|
11
|
+
``trigger_webhook`` is the exception for gateway 502/503/504 only: a
|
|
12
|
+
CloudFront HTML 502 means the edge dropped the request before Aiden saw it.
|
|
11
13
|
- Gateway 502/503/504 (and statusless transport errors) keep retrying until
|
|
12
14
|
the configured outage budget elapses; other transient statuses stay on the
|
|
13
15
|
short attempt budget so application 500s remain fail-fast.
|
|
@@ -52,12 +52,17 @@ class WebhookOps:
|
|
|
52
52
|
if not cfg.webhook_token:
|
|
53
53
|
raise ValueError("webhook_token is required for trigger_webhook")
|
|
54
54
|
url = f"{cfg.aiden_url()}/api/v1/webhooks/trigger{_http.query(cfg.org_id)}"
|
|
55
|
+
# A CloudFront 502 means the edge never delivered the POST. Retry that
|
|
56
|
+
# class only, for a short budget, so one dropped trigger does not fail
|
|
57
|
+
# the caller. Application 500s still fail on the first response.
|
|
55
58
|
data = _http.request(
|
|
56
59
|
url,
|
|
57
60
|
cfg.webhook_token,
|
|
58
61
|
method="POST",
|
|
59
62
|
body=payload.encode("utf-8"),
|
|
60
63
|
content_type="text/plain",
|
|
64
|
+
retry_gateway_outage=True,
|
|
65
|
+
transient_retry_budget_ms=15_000,
|
|
61
66
|
)
|
|
62
67
|
if not isinstance(data, dict):
|
|
63
68
|
raise StackgenError(f"unexpected trigger payload: {data!r}")
|
|
@@ -12720,6 +12720,265 @@ class AidenApi:
|
|
|
12720
12720
|
|
|
12721
12721
|
|
|
12722
12722
|
|
|
12723
|
+
@validate_call
|
|
12724
|
+
def list_agents(
|
|
12725
|
+
self,
|
|
12726
|
+
org_id: Annotated[Optional[StrictStr], Field(description="The organization ID to scope the request to. If not provided, the personal namespace is assumed.")] = None,
|
|
12727
|
+
_request_timeout: Union[
|
|
12728
|
+
None,
|
|
12729
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12730
|
+
Tuple[
|
|
12731
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12732
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
12733
|
+
]
|
|
12734
|
+
] = None,
|
|
12735
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
12736
|
+
_content_type: Optional[StrictStr] = None,
|
|
12737
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
12738
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
12739
|
+
) -> List[AgentInfo]:
|
|
12740
|
+
"""List registered agents
|
|
12741
|
+
|
|
12742
|
+
|
|
12743
|
+
:param org_id: The organization ID to scope the request to. If not provided, the personal namespace is assumed.
|
|
12744
|
+
:type org_id: str
|
|
12745
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
12746
|
+
number provided, it will be total request
|
|
12747
|
+
timeout. It can also be a pair (tuple) of
|
|
12748
|
+
(connection, read) timeouts.
|
|
12749
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
12750
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
12751
|
+
request; this effectively ignores the
|
|
12752
|
+
authentication in the spec for a single request.
|
|
12753
|
+
:type _request_auth: dict, optional
|
|
12754
|
+
:param _content_type: force content-type for the request.
|
|
12755
|
+
:type _content_type: str, Optional
|
|
12756
|
+
:param _headers: set to override the headers for a single
|
|
12757
|
+
request; this effectively ignores the headers
|
|
12758
|
+
in the spec for a single request.
|
|
12759
|
+
:type _headers: dict, optional
|
|
12760
|
+
:param _host_index: set to override the host_index for a single
|
|
12761
|
+
request; this effectively ignores the host_index
|
|
12762
|
+
in the spec for a single request.
|
|
12763
|
+
:type _host_index: int, optional
|
|
12764
|
+
:return: Returns the result object.
|
|
12765
|
+
""" # noqa: E501
|
|
12766
|
+
|
|
12767
|
+
_param = self._list_agents_serialize(
|
|
12768
|
+
org_id=org_id,
|
|
12769
|
+
_request_auth=_request_auth,
|
|
12770
|
+
_content_type=_content_type,
|
|
12771
|
+
_headers=_headers,
|
|
12772
|
+
_host_index=_host_index
|
|
12773
|
+
)
|
|
12774
|
+
|
|
12775
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
12776
|
+
'200': "List[AgentInfo]",
|
|
12777
|
+
}
|
|
12778
|
+
response_data = self.api_client.call_api(
|
|
12779
|
+
*_param,
|
|
12780
|
+
_request_timeout=_request_timeout
|
|
12781
|
+
)
|
|
12782
|
+
response_data.read()
|
|
12783
|
+
return self.api_client.response_deserialize(
|
|
12784
|
+
response_data=response_data,
|
|
12785
|
+
response_types_map=_response_types_map,
|
|
12786
|
+
).data
|
|
12787
|
+
|
|
12788
|
+
|
|
12789
|
+
@validate_call
|
|
12790
|
+
def list_agents_with_http_info(
|
|
12791
|
+
self,
|
|
12792
|
+
org_id: Annotated[Optional[StrictStr], Field(description="The organization ID to scope the request to. If not provided, the personal namespace is assumed.")] = None,
|
|
12793
|
+
_request_timeout: Union[
|
|
12794
|
+
None,
|
|
12795
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12796
|
+
Tuple[
|
|
12797
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12798
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
12799
|
+
]
|
|
12800
|
+
] = None,
|
|
12801
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
12802
|
+
_content_type: Optional[StrictStr] = None,
|
|
12803
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
12804
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
12805
|
+
) -> ApiResponse[List[AgentInfo]]:
|
|
12806
|
+
"""List registered agents
|
|
12807
|
+
|
|
12808
|
+
|
|
12809
|
+
:param org_id: The organization ID to scope the request to. If not provided, the personal namespace is assumed.
|
|
12810
|
+
:type org_id: str
|
|
12811
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
12812
|
+
number provided, it will be total request
|
|
12813
|
+
timeout. It can also be a pair (tuple) of
|
|
12814
|
+
(connection, read) timeouts.
|
|
12815
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
12816
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
12817
|
+
request; this effectively ignores the
|
|
12818
|
+
authentication in the spec for a single request.
|
|
12819
|
+
:type _request_auth: dict, optional
|
|
12820
|
+
:param _content_type: force content-type for the request.
|
|
12821
|
+
:type _content_type: str, Optional
|
|
12822
|
+
:param _headers: set to override the headers for a single
|
|
12823
|
+
request; this effectively ignores the headers
|
|
12824
|
+
in the spec for a single request.
|
|
12825
|
+
:type _headers: dict, optional
|
|
12826
|
+
:param _host_index: set to override the host_index for a single
|
|
12827
|
+
request; this effectively ignores the host_index
|
|
12828
|
+
in the spec for a single request.
|
|
12829
|
+
:type _host_index: int, optional
|
|
12830
|
+
:return: Returns the result object.
|
|
12831
|
+
""" # noqa: E501
|
|
12832
|
+
|
|
12833
|
+
_param = self._list_agents_serialize(
|
|
12834
|
+
org_id=org_id,
|
|
12835
|
+
_request_auth=_request_auth,
|
|
12836
|
+
_content_type=_content_type,
|
|
12837
|
+
_headers=_headers,
|
|
12838
|
+
_host_index=_host_index
|
|
12839
|
+
)
|
|
12840
|
+
|
|
12841
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
12842
|
+
'200': "List[AgentInfo]",
|
|
12843
|
+
}
|
|
12844
|
+
response_data = self.api_client.call_api(
|
|
12845
|
+
*_param,
|
|
12846
|
+
_request_timeout=_request_timeout
|
|
12847
|
+
)
|
|
12848
|
+
response_data.read()
|
|
12849
|
+
return self.api_client.response_deserialize(
|
|
12850
|
+
response_data=response_data,
|
|
12851
|
+
response_types_map=_response_types_map,
|
|
12852
|
+
)
|
|
12853
|
+
|
|
12854
|
+
|
|
12855
|
+
@validate_call
|
|
12856
|
+
def list_agents_without_preload_content(
|
|
12857
|
+
self,
|
|
12858
|
+
org_id: Annotated[Optional[StrictStr], Field(description="The organization ID to scope the request to. If not provided, the personal namespace is assumed.")] = None,
|
|
12859
|
+
_request_timeout: Union[
|
|
12860
|
+
None,
|
|
12861
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12862
|
+
Tuple[
|
|
12863
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
12864
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
12865
|
+
]
|
|
12866
|
+
] = None,
|
|
12867
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
12868
|
+
_content_type: Optional[StrictStr] = None,
|
|
12869
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
12870
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
12871
|
+
) -> RESTResponseType:
|
|
12872
|
+
"""List registered agents
|
|
12873
|
+
|
|
12874
|
+
|
|
12875
|
+
:param org_id: The organization ID to scope the request to. If not provided, the personal namespace is assumed.
|
|
12876
|
+
:type org_id: str
|
|
12877
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
12878
|
+
number provided, it will be total request
|
|
12879
|
+
timeout. It can also be a pair (tuple) of
|
|
12880
|
+
(connection, read) timeouts.
|
|
12881
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
12882
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
12883
|
+
request; this effectively ignores the
|
|
12884
|
+
authentication in the spec for a single request.
|
|
12885
|
+
:type _request_auth: dict, optional
|
|
12886
|
+
:param _content_type: force content-type for the request.
|
|
12887
|
+
:type _content_type: str, Optional
|
|
12888
|
+
:param _headers: set to override the headers for a single
|
|
12889
|
+
request; this effectively ignores the headers
|
|
12890
|
+
in the spec for a single request.
|
|
12891
|
+
:type _headers: dict, optional
|
|
12892
|
+
:param _host_index: set to override the host_index for a single
|
|
12893
|
+
request; this effectively ignores the host_index
|
|
12894
|
+
in the spec for a single request.
|
|
12895
|
+
:type _host_index: int, optional
|
|
12896
|
+
:return: Returns the result object.
|
|
12897
|
+
""" # noqa: E501
|
|
12898
|
+
|
|
12899
|
+
_param = self._list_agents_serialize(
|
|
12900
|
+
org_id=org_id,
|
|
12901
|
+
_request_auth=_request_auth,
|
|
12902
|
+
_content_type=_content_type,
|
|
12903
|
+
_headers=_headers,
|
|
12904
|
+
_host_index=_host_index
|
|
12905
|
+
)
|
|
12906
|
+
|
|
12907
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
12908
|
+
'200': "List[AgentInfo]",
|
|
12909
|
+
}
|
|
12910
|
+
response_data = self.api_client.call_api(
|
|
12911
|
+
*_param,
|
|
12912
|
+
_request_timeout=_request_timeout
|
|
12913
|
+
)
|
|
12914
|
+
return response_data.response
|
|
12915
|
+
|
|
12916
|
+
|
|
12917
|
+
def _list_agents_serialize(
|
|
12918
|
+
self,
|
|
12919
|
+
org_id,
|
|
12920
|
+
_request_auth,
|
|
12921
|
+
_content_type,
|
|
12922
|
+
_headers,
|
|
12923
|
+
_host_index,
|
|
12924
|
+
) -> RequestSerialized:
|
|
12925
|
+
|
|
12926
|
+
_host = None
|
|
12927
|
+
|
|
12928
|
+
_collection_formats: Dict[str, str] = {
|
|
12929
|
+
}
|
|
12930
|
+
|
|
12931
|
+
_path_params: Dict[str, str] = {}
|
|
12932
|
+
_query_params: List[Tuple[str, str]] = []
|
|
12933
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
12934
|
+
_form_params: List[Tuple[str, str]] = []
|
|
12935
|
+
_files: Dict[
|
|
12936
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
12937
|
+
] = {}
|
|
12938
|
+
_body_params: Optional[bytes] = None
|
|
12939
|
+
|
|
12940
|
+
# process the path parameters
|
|
12941
|
+
# process the query parameters
|
|
12942
|
+
if org_id is not None:
|
|
12943
|
+
|
|
12944
|
+
_query_params.append(('orgId', org_id))
|
|
12945
|
+
|
|
12946
|
+
# process the header parameters
|
|
12947
|
+
# process the form parameters
|
|
12948
|
+
# process the body parameter
|
|
12949
|
+
|
|
12950
|
+
|
|
12951
|
+
# set the HTTP header `Accept`
|
|
12952
|
+
if 'Accept' not in _header_params:
|
|
12953
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
12954
|
+
[
|
|
12955
|
+
'application/json'
|
|
12956
|
+
]
|
|
12957
|
+
)
|
|
12958
|
+
|
|
12959
|
+
|
|
12960
|
+
# authentication setting
|
|
12961
|
+
_auth_settings: List[str] = [
|
|
12962
|
+
]
|
|
12963
|
+
|
|
12964
|
+
return self.api_client.param_serialize(
|
|
12965
|
+
method='GET',
|
|
12966
|
+
resource_path='/guild/api/v1/agents',
|
|
12967
|
+
path_params=_path_params,
|
|
12968
|
+
query_params=_query_params,
|
|
12969
|
+
header_params=_header_params,
|
|
12970
|
+
body=_body_params,
|
|
12971
|
+
post_params=_form_params,
|
|
12972
|
+
files=_files,
|
|
12973
|
+
auth_settings=_auth_settings,
|
|
12974
|
+
collection_formats=_collection_formats,
|
|
12975
|
+
_host=_host,
|
|
12976
|
+
_request_auth=_request_auth
|
|
12977
|
+
)
|
|
12978
|
+
|
|
12979
|
+
|
|
12980
|
+
|
|
12981
|
+
|
|
12723
12982
|
@validate_call
|
|
12724
12983
|
def list_approvals(
|
|
12725
12984
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator/FILES
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator/VERSION
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/.openapi-generator-ignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_info.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_schedule.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/agent_status.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_attention.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_role.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_sort_by.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_status.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/alert_summary.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/approval_item.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/artifact_info.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/ask_guild_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/audit_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/audit_facets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/break_glass_state.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/candidate_type.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/chat_subscription.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/container_image.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/cost_band.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/diary_compression.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/diary_config.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/discovered_tool.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/duration_band.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/entity_ref.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/error_response.py
RENAMED
|
File without changes
|
{stackgen_sdk-0.4.0rc24 → stackgen_sdk-0.4.0rc26}/src/stackgen/generated/models/eval_config.py
RENAMED
|
File without changes
|
|
File without changes
|