talkops-ai 0.3.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.
- talkops_ai-0.3.0/.dockerignore +87 -0
- talkops_ai-0.3.0/.env.example +0 -0
- talkops_ai-0.3.0/.github/workflows/ci.yml +161 -0
- talkops_ai-0.3.0/.github/workflows/release-pypi.yml +193 -0
- talkops_ai-0.3.0/.gitignore +56 -0
- talkops_ai-0.3.0/.python-version +1 -0
- talkops_ai-0.3.0/CODE_OF_CONDUCT.md +135 -0
- talkops_ai-0.3.0/CONTRIBUTING.md +150 -0
- talkops_ai-0.3.0/LICENSE +175 -0
- talkops_ai-0.3.0/PKG-INFO +271 -0
- talkops_ai-0.3.0/README.md +141 -0
- talkops_ai-0.3.0/SECURITY.md +115 -0
- talkops_ai-0.3.0/action.yml +307 -0
- talkops_ai-0.3.0/docs/assets/approval-tui-hitl-card.png +0 -0
- talkops_ai-0.3.0/docs/assets/approval-tui-permissions-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/approval-tui-pool-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/central-server-client-tui.png +0 -0
- talkops_ai-0.3.0/docs/assets/central-server-startup.png +0 -0
- talkops_ai-0.3.0/docs/assets/cli-agent-persona.png +0 -0
- talkops_ai-0.3.0/docs/assets/cli-cloud-context.png +0 -0
- talkops_ai-0.3.0/docs/assets/cli-command-palette.png +0 -0
- talkops_ai-0.3.0/docs/assets/cli-plugins-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/credentials-tui-auth-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/custom-commands-tui-summary.png +0 -0
- talkops_ai-0.3.0/docs/assets/mcp-tui-viewer-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/model-tui-selector-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/overview-multi-mode-tui.png +0 -0
- talkops_ai-0.3.0/docs/assets/overview-smart-mode-pool.png +0 -0
- talkops_ai-0.3.0/docs/assets/plugins-tui-discover.png +0 -0
- talkops_ai-0.3.0/docs/assets/plugins-tui-install-scope.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-auth-and-doctor.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-plugin-list-cli.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-serve-list.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-tui-command-palette.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-tui-plugins-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/quickstart-tui-smart-mode.png +0 -0
- talkops_ai-0.3.0/docs/assets/skills-tui-viewer-modal.png +0 -0
- talkops_ai-0.3.0/docs/assets/subagents-cli-agent-list.png +0 -0
- talkops_ai-0.3.0/docs/assets/subagents-tui-agent-show.png +0 -0
- talkops_ai-0.3.0/docs/assets/subagents-tui-command-menu.png +0 -0
- talkops_ai-0.3.0/docs/assets/talkops-logo-dark.svg +65 -0
- talkops_ai-0.3.0/docs/assets/talkops-logo-light.svg +65 -0
- talkops_ai-0.3.0/docs/assets/talkops-tui-finops-demo.gif +0 -0
- talkops_ai-0.3.0/docs/assets/talkops-welcome-banner-blocks.gif +0 -0
- talkops_ai-0.3.0/docs/assets/talkops-welcome-banner.gif +0 -0
- talkops_ai-0.3.0/docs/assets/talkops-welcome-banner.png +0 -0
- talkops_ai-0.3.0/docs/assets/talkops_github_readme_poster.jpg +0 -0
- talkops_ai-0.3.0/docs/assets/webhooks-slack-incident-card.png +0 -0
- talkops_ai-0.3.0/docs/assets/webhooks-slack-rca-thread.png +0 -0
- talkops_ai-0.3.0/docs/talkops-docs/Configuration.md +84 -0
- talkops_ai-0.3.0/docs/talkops-docs/approval-mode.md +168 -0
- talkops_ai-0.3.0/docs/talkops-docs/central-server.md +277 -0
- talkops_ai-0.3.0/docs/talkops-docs/cli-reference.md +381 -0
- talkops_ai-0.3.0/docs/talkops-docs/config.toml.md +232 -0
- talkops_ai-0.3.0/docs/talkops-docs/credentials.md +147 -0
- talkops_ai-0.3.0/docs/talkops-docs/custom-commands.md +345 -0
- talkops_ai-0.3.0/docs/talkops-docs/developer-guide/server_addon_developer_guide.md +1031 -0
- talkops_ai-0.3.0/docs/talkops-docs/goal-and-rubrics.md +288 -0
- talkops_ai-0.3.0/docs/talkops-docs/hooks.md +192 -0
- talkops_ai-0.3.0/docs/talkops-docs/mcp-tools.md +207 -0
- talkops_ai-0.3.0/docs/talkops-docs/memory-and-skills.md +232 -0
- talkops_ai-0.3.0/docs/talkops-docs/model-providers.md +166 -0
- talkops_ai-0.3.0/docs/talkops-docs/overview.md +179 -0
- talkops_ai-0.3.0/docs/talkops-docs/plugins.md +327 -0
- talkops_ai-0.3.0/docs/talkops-docs/quickstart.md +372 -0
- talkops_ai-0.3.0/docs/talkops-docs/remote-sandboxes.md +231 -0
- talkops_ai-0.3.0/docs/talkops-docs/server-addons.md +470 -0
- talkops_ai-0.3.0/docs/talkops-docs/subagents.md +254 -0
- talkops_ai-0.3.0/docs/talkops-docs/webhooks.md +411 -0
- talkops_ai-0.3.0/examples/github-actions/talkops-rubric-pr-check.yml +49 -0
- talkops_ai-0.3.0/examples/rubrics/k8s-security-rubric.md +7 -0
- talkops_ai-0.3.0/examples/rubrics/terraform-finops-rubric.md +7 -0
- talkops_ai-0.3.0/llms-full.txt +152 -0
- talkops_ai-0.3.0/llms.txt +72 -0
- talkops_ai-0.3.0/pyproject.toml +206 -0
- talkops_ai-0.3.0/scripts/generate_logo_icon.py +107 -0
- talkops_ai-0.3.0/scripts/install.sh +967 -0
- talkops_ai-0.3.0/scripts/render_banner_gif.py +334 -0
- talkops_ai-0.3.0/scripts/simulate_alertmanager_webhook.py +357 -0
- talkops_ai-0.3.0/src/talkops/__init__.py +35 -0
- talkops_ai-0.3.0/src/talkops/__main__.py +20 -0
- talkops_ai-0.3.0/src/talkops/_constants.py +70 -0
- talkops_ai-0.3.0/src/talkops/_debug.py +159 -0
- talkops_ai-0.3.0/src/talkops/_debug_buffer.py +264 -0
- talkops_ai-0.3.0/src/talkops/_textual_patches.py +637 -0
- talkops_ai-0.3.0/src/talkops/_version.py +30 -0
- talkops_ai-0.3.0/src/talkops/addons/__init__.py +131 -0
- talkops_ai-0.3.0/src/talkops/addons/builtin/__init__.py +52 -0
- talkops_ai-0.3.0/src/talkops/addons/builtin/client_gateway.py +532 -0
- talkops_ai-0.3.0/src/talkops/addons/builtin/core_auth.py +157 -0
- talkops_ai-0.3.0/src/talkops/addons/builtin/webhooks.py +212 -0
- talkops_ai-0.3.0/src/talkops/addons/commands_cli.py +476 -0
- talkops_ai-0.3.0/src/talkops/addons/config.py +456 -0
- talkops_ai-0.3.0/src/talkops/addons/discovery.py +499 -0
- talkops_ai-0.3.0/src/talkops/addons/gateway.py +849 -0
- talkops_ai-0.3.0/src/talkops/addons/manager.py +888 -0
- talkops_ai-0.3.0/src/talkops/addons/manifest.py +353 -0
- talkops_ai-0.3.0/src/talkops/addons/marketplace.py +558 -0
- talkops_ai-0.3.0/src/talkops/addons/marketplace_models.py +224 -0
- talkops_ai-0.3.0/src/talkops/addons/protocol.py +307 -0
- talkops_ai-0.3.0/src/talkops/addons/store.py +377 -0
- talkops_ai-0.3.0/src/talkops/agent/__init__.py +53 -0
- talkops_ai-0.3.0/src/talkops/agent/config.py +382 -0
- talkops_ai-0.3.0/src/talkops/agent/factory.py +1540 -0
- talkops_ai-0.3.0/src/talkops/agent/profiles.py +131 -0
- talkops_ai-0.3.0/src/talkops/approval_mode.py +68 -0
- talkops_ai-0.3.0/src/talkops/auth/__init__.py +78 -0
- talkops_ai-0.3.0/src/talkops/auth/models.py +184 -0
- talkops_ai-0.3.0/src/talkops/auth/oauth_acquirer.py +682 -0
- talkops_ai-0.3.0/src/talkops/auth/storage.py +609 -0
- talkops_ai-0.3.0/src/talkops/backend/__init__.py +104 -0
- talkops_ai-0.3.0/src/talkops/backend/composite.py +107 -0
- talkops_ai-0.3.0/src/talkops/backend/local.py +474 -0
- talkops_ai-0.3.0/src/talkops/backend/registry.py +94 -0
- talkops_ai-0.3.0/src/talkops/backend/sandbox_config.py +288 -0
- talkops_ai-0.3.0/src/talkops/backend/sandbox_factory.py +1131 -0
- talkops_ai-0.3.0/src/talkops/backend/sandbox_provider.py +147 -0
- talkops_ai-0.3.0/src/talkops/backend/sandbox_registry.py +338 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/commit/SKILL.md +49 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/remember/SKILL.md +132 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/simplify/SKILL.md +68 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/skill-creator/SKILL.md +351 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/skill-creator/scripts/init_skill.py +385 -0
- talkops_ai-0.3.0/src/talkops/built_in_skills/skill-creator/scripts/quick_validate.py +179 -0
- talkops_ai-0.3.0/src/talkops/cli/__init__.py +15 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/__init__.py +32 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/agents.py +147 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/auth.py +967 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/doctor.py +123 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/mcp.py +212 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/serve.py +623 -0
- talkops_ai-0.3.0/src/talkops/cli/commands/threads.py +80 -0
- talkops_ai-0.3.0/src/talkops/cli/interactive.py +218 -0
- talkops_ai-0.3.0/src/talkops/cli/main.py +1533 -0
- talkops_ai-0.3.0/src/talkops/cli/non_interactive.py +661 -0
- talkops_ai-0.3.0/src/talkops/cli/server_manager.py +382 -0
- talkops_ai-0.3.0/src/talkops/commands/__init__.py +39 -0
- talkops_ai-0.3.0/src/talkops/commands/_base.py +145 -0
- talkops_ai-0.3.0/src/talkops/commands/_guards.py +66 -0
- talkops_ai-0.3.0/src/talkops/commands/_router.py +309 -0
- talkops_ai-0.3.0/src/talkops/commands/_types.py +73 -0
- talkops_ai-0.3.0/src/talkops/commands/core/__init__.py +103 -0
- talkops_ai-0.3.0/src/talkops/commands/core/auth.py +550 -0
- talkops_ai-0.3.0/src/talkops/commands/core/bug.py +66 -0
- talkops_ai-0.3.0/src/talkops/commands/core/clear.py +176 -0
- talkops_ai-0.3.0/src/talkops/commands/core/cloud.py +513 -0
- talkops_ai-0.3.0/src/talkops/commands/core/compact.py +271 -0
- talkops_ai-0.3.0/src/talkops/commands/core/config_cmd.py +147 -0
- talkops_ai-0.3.0/src/talkops/commands/core/context.py +239 -0
- talkops_ai-0.3.0/src/talkops/commands/core/cost.py +64 -0
- talkops_ai-0.3.0/src/talkops/commands/core/doctor.py +554 -0
- talkops_ai-0.3.0/src/talkops/commands/core/effort.py +127 -0
- talkops_ai-0.3.0/src/talkops/commands/core/exit_cmd.py +61 -0
- talkops_ai-0.3.0/src/talkops/commands/core/fast.py +167 -0
- talkops_ai-0.3.0/src/talkops/commands/core/fork.py +151 -0
- talkops_ai-0.3.0/src/talkops/commands/core/help_cmd.py +114 -0
- talkops_ai-0.3.0/src/talkops/commands/core/mcp.py +152 -0
- talkops_ai-0.3.0/src/talkops/commands/core/model.py +136 -0
- talkops_ai-0.3.0/src/talkops/commands/core/permissions.py +223 -0
- talkops_ai-0.3.0/src/talkops/commands/core/plugins.py +118 -0
- talkops_ai-0.3.0/src/talkops/commands/core/pool.py +177 -0
- talkops_ai-0.3.0/src/talkops/commands/core/resume.py +119 -0
- talkops_ai-0.3.0/src/talkops/commands/core/skills.py +198 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/__init__.py +113 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/expansion.py +537 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/frontmatter.py +418 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/handler.py +387 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/loader.py +614 -0
- talkops_ai-0.3.0/src/talkops/commands/custom/models.py +235 -0
- talkops_ai-0.3.0/src/talkops/commands/power/__init__.py +106 -0
- talkops_ai-0.3.0/src/talkops/commands/power/agents.py +486 -0
- talkops_ai-0.3.0/src/talkops/commands/power/btw.py +126 -0
- talkops_ai-0.3.0/src/talkops/commands/power/copy.py +157 -0
- talkops_ai-0.3.0/src/talkops/commands/power/goal.py +593 -0
- talkops_ai-0.3.0/src/talkops/commands/power/loop.py +327 -0
- talkops_ai-0.3.0/src/talkops/commands/power/memory.py +348 -0
- talkops_ai-0.3.0/src/talkops/commands/power/review.py +180 -0
- talkops_ai-0.3.0/src/talkops/commands/power/rubric.py +306 -0
- talkops_ai-0.3.0/src/talkops/commands/power/runtime.py +388 -0
- talkops_ai-0.3.0/src/talkops/commands/power/skill_creator.py +102 -0
- talkops_ai-0.3.0/src/talkops/commands/power/skill_invoke.py +183 -0
- talkops_ai-0.3.0/src/talkops/commands/power/tasks.py +388 -0
- talkops_ai-0.3.0/src/talkops/commands/power/trace.py +137 -0
- talkops_ai-0.3.0/src/talkops/commands/power/ui_toggles.py +301 -0
- talkops_ai-0.3.0/src/talkops/commands/power/version.py +73 -0
- talkops_ai-0.3.0/src/talkops/commands/registry.py +217 -0
- talkops_ai-0.3.0/src/talkops/config/__init__.py +128 -0
- talkops_ai-0.3.0/src/talkops/config/adapters/__init__.py +19 -0
- talkops_ai-0.3.0/src/talkops/config/adapters/postgres.py +790 -0
- talkops_ai-0.3.0/src/talkops/config/adapters/sqlite.py +783 -0
- talkops_ai-0.3.0/src/talkops/config/addons.py +173 -0
- talkops_ai-0.3.0/src/talkops/config/aws.py +288 -0
- talkops_ai-0.3.0/src/talkops/config/cli_settings.py +1239 -0
- talkops_ai-0.3.0/src/talkops/config/cloud_discovery.py +1220 -0
- talkops_ai-0.3.0/src/talkops/config/cloud_profiles.py +910 -0
- talkops_ai-0.3.0/src/talkops/config/credential_broker.py +767 -0
- talkops_ai-0.3.0/src/talkops/config/env_vars.py +110 -0
- talkops_ai-0.3.0/src/talkops/config/langsmith.py +333 -0
- talkops_ai-0.3.0/src/talkops/config/manifest.py +1249 -0
- talkops_ai-0.3.0/src/talkops/config/metadata.py +216 -0
- talkops_ai-0.3.0/src/talkops/config/paths.py +796 -0
- talkops_ai-0.3.0/src/talkops/config/plugins.py +144 -0
- talkops_ai-0.3.0/src/talkops/config/settings.py +1212 -0
- talkops_ai-0.3.0/src/talkops/config/store.py +468 -0
- talkops_ai-0.3.0/src/talkops/config/store_factory.py +111 -0
- talkops_ai-0.3.0/src/talkops/config/toml_config.py +904 -0
- talkops_ai-0.3.0/src/talkops/editor.py +442 -0
- talkops_ai-0.3.0/src/talkops/exceptions.py +82 -0
- talkops_ai-0.3.0/src/talkops/file_ops.py +232 -0
- talkops_ai-0.3.0/src/talkops/hooks/__init__.py +153 -0
- talkops_ai-0.3.0/src/talkops/hooks/env.py +58 -0
- talkops_ai-0.3.0/src/talkops/hooks/interrupt.py +135 -0
- talkops_ai-0.3.0/src/talkops/hooks/models/__init__.py +123 -0
- talkops_ai-0.3.0/src/talkops/hooks/models/adapters.py +33 -0
- talkops_ai-0.3.0/src/talkops/hooks/models/config.py +93 -0
- talkops_ai-0.3.0/src/talkops/hooks/models/domain.py +448 -0
- talkops_ai-0.3.0/src/talkops/hooks/models/transport.py +51 -0
- talkops_ai-0.3.0/src/talkops/hooks/tools.py +245 -0
- talkops_ai-0.3.0/src/talkops/input.py +890 -0
- talkops_ai-0.3.0/src/talkops/integrations/__init__.py +94 -0
- talkops_ai-0.3.0/src/talkops/integrations/base.py +167 -0
- talkops_ai-0.3.0/src/talkops/integrations/content_filter.py +133 -0
- talkops_ai-0.3.0/src/talkops/integrations/event_bus.py +495 -0
- talkops_ai-0.3.0/src/talkops/integrations/hooks.py +258 -0
- talkops_ai-0.3.0/src/talkops/integrations/identity.py +195 -0
- talkops_ai-0.3.0/src/talkops/integrations/notifications.py +148 -0
- talkops_ai-0.3.0/src/talkops/integrations/stream_bridge.py +411 -0
- talkops_ai-0.3.0/src/talkops/integrations/thread_store.py +326 -0
- talkops_ai-0.3.0/src/talkops/json_types.py +35 -0
- talkops_ai-0.3.0/src/talkops/mcp/__init__.py +111 -0
- talkops_ai-0.3.0/src/talkops/mcp/config.py +257 -0
- talkops_ai-0.3.0/src/talkops/mcp/discovery.py +253 -0
- talkops_ai-0.3.0/src/talkops/mcp/mcp_info.py +141 -0
- talkops_ai-0.3.0/src/talkops/mcp/middleware.py +116 -0
- talkops_ai-0.3.0/src/talkops/mcp/preload.py +1275 -0
- talkops_ai-0.3.0/src/talkops/mcp/raw_config.py +163 -0
- talkops_ai-0.3.0/src/talkops/mcp/semantic_profiler.py +319 -0
- talkops_ai-0.3.0/src/talkops/mcp/session_manager.py +1492 -0
- talkops_ai-0.3.0/src/talkops/mcp/trust.py +119 -0
- talkops_ai-0.3.0/src/talkops/media_utils.py +587 -0
- talkops_ai-0.3.0/src/talkops/memory/__init__.py +41 -0
- talkops_ai-0.3.0/src/talkops/memory/branch.py +79 -0
- talkops_ai-0.3.0/src/talkops/memory/guard.py +33 -0
- talkops_ai-0.3.0/src/talkops/memory/onboarding.py +134 -0
- talkops_ai-0.3.0/src/talkops/memory/registry.py +148 -0
- talkops_ai-0.3.0/src/talkops/memory/store.py +238 -0
- talkops_ai-0.3.0/src/talkops/middleware/__init__.py +235 -0
- talkops_ai-0.3.0/src/talkops/middleware/_repository_bounds.py +473 -0
- talkops_ai-0.3.0/src/talkops/middleware/agent_session.py +647 -0
- talkops_ai-0.3.0/src/talkops/middleware/ask_user.py +173 -0
- talkops_ai-0.3.0/src/talkops/middleware/auto_mode.py +75 -0
- talkops_ai-0.3.0/src/talkops/middleware/auto_mode_hitl.py +2471 -0
- talkops_ai-0.3.0/src/talkops/middleware/background_commands.py +833 -0
- talkops_ai-0.3.0/src/talkops/middleware/btw.py +173 -0
- talkops_ai-0.3.0/src/talkops/middleware/compaction.py +2651 -0
- talkops_ai-0.3.0/src/talkops/middleware/configurable_model.py +461 -0
- talkops_ai-0.3.0/src/talkops/middleware/cost_tracking.py +1192 -0
- talkops_ai-0.3.0/src/talkops/middleware/custom_commands.py +630 -0
- talkops_ai-0.3.0/src/talkops/middleware/glm_stall_recovery.py +135 -0
- talkops_ai-0.3.0/src/talkops/middleware/goal_criteria.py +1423 -0
- talkops_ai-0.3.0/src/talkops/middleware/goal_state_notice.py +778 -0
- talkops_ai-0.3.0/src/talkops/middleware/goal_tools.py +441 -0
- talkops_ai-0.3.0/src/talkops/middleware/headless_mcp_guard.py +199 -0
- talkops_ai-0.3.0/src/talkops/middleware/jev_model_router.py +1196 -0
- talkops_ai-0.3.0/src/talkops/middleware/local_context.py +512 -0
- talkops_ai-0.3.0/src/talkops/middleware/mcp_context.py +279 -0
- talkops_ai-0.3.0/src/talkops/middleware/mcp_middleware.py +367 -0
- talkops_ai-0.3.0/src/talkops/middleware/memory_guard.py +404 -0
- talkops_ai-0.3.0/src/talkops/middleware/model_retry.py +222 -0
- talkops_ai-0.3.0/src/talkops/middleware/registry.py +155 -0
- talkops_ai-0.3.0/src/talkops/middleware/reliable_rubric.py +784 -0
- talkops_ai-0.3.0/src/talkops/middleware/resume_state.py +187 -0
- talkops_ai-0.3.0/src/talkops/middleware/server_hooks.py +1270 -0
- talkops_ai-0.3.0/src/talkops/middleware/shell_allow_list.py +104 -0
- talkops_ai-0.3.0/src/talkops/middleware/skills.py +537 -0
- talkops_ai-0.3.0/src/talkops/middleware/subagent_artifacts.py +99 -0
- talkops_ai-0.3.0/src/talkops/middleware/subagent_telemetry.py +288 -0
- talkops_ai-0.3.0/src/talkops/middleware/subagents.py +280 -0
- talkops_ai-0.3.0/src/talkops/middleware/tnr_safety.py +621 -0
- talkops_ai-0.3.0/src/talkops/middleware/tool_filter.py +869 -0
- talkops_ai-0.3.0/src/talkops/middleware/unified_system_message.py +353 -0
- talkops_ai-0.3.0/src/talkops/middleware/webhook_sre.py +470 -0
- talkops_ai-0.3.0/src/talkops/model/__init__.py +85 -0
- talkops_ai-0.3.0/src/talkops/model/config.py +3653 -0
- talkops_ai-0.3.0/src/talkops/model/factory.py +1295 -0
- talkops_ai-0.3.0/src/talkops/model/pool.py +527 -0
- talkops_ai-0.3.0/src/talkops/model/reasoning.py +294 -0
- talkops_ai-0.3.0/src/talkops/offload.py +187 -0
- talkops_ai-0.3.0/src/talkops/output.py +78 -0
- talkops_ai-0.3.0/src/talkops/plugins/__init__.py +212 -0
- talkops_ai-0.3.0/src/talkops/plugins/_json.py +38 -0
- talkops_ai-0.3.0/src/talkops/plugins/adapters/__init__.py +27 -0
- talkops_ai-0.3.0/src/talkops/plugins/adapters/agents.py +127 -0
- talkops_ai-0.3.0/src/talkops/plugins/adapters/commands.py +212 -0
- talkops_ai-0.3.0/src/talkops/plugins/adapters/mcp.py +537 -0
- talkops_ai-0.3.0/src/talkops/plugins/adapters/skills.py +146 -0
- talkops_ai-0.3.0/src/talkops/plugins/commands_cli.py +572 -0
- talkops_ai-0.3.0/src/talkops/plugins/discovery.py +665 -0
- talkops_ai-0.3.0/src/talkops/plugins/manifest.py +350 -0
- talkops_ai-0.3.0/src/talkops/plugins/marketplace.py +907 -0
- talkops_ai-0.3.0/src/talkops/plugins/models.py +359 -0
- talkops_ai-0.3.0/src/talkops/plugins/project_plugins.py +330 -0
- talkops_ai-0.3.0/src/talkops/plugins/protocol.py +45 -0
- talkops_ai-0.3.0/src/talkops/plugins/store.py +1161 -0
- talkops_ai-0.3.0/src/talkops/plugins/substitution.py +136 -0
- talkops_ai-0.3.0/src/talkops/project_utils.py +167 -0
- talkops_ai-0.3.0/src/talkops/prompts/__init__.py +55 -0
- talkops_ai-0.3.0/src/talkops/prompts/custom_commands.py +195 -0
- talkops_ai-0.3.0/src/talkops/prompts/system.py +777 -0
- talkops_ai-0.3.0/src/talkops/prompts/templates/system_prompt.md +92 -0
- talkops_ai-0.3.0/src/talkops/prompts/templates/webhook_sre_prompt.md +146 -0
- talkops_ai-0.3.0/src/talkops/prompts/types.py +68 -0
- talkops_ai-0.3.0/src/talkops/rubrics/__init__.py +92 -0
- talkops_ai-0.3.0/src/talkops/rubrics/evaluator.py +424 -0
- talkops_ai-0.3.0/src/talkops/rubrics/evidence_extractor.py +288 -0
- talkops_ai-0.3.0/src/talkops/rubrics/generator.py +454 -0
- talkops_ai-0.3.0/src/talkops/rubrics/jev_compiler.py +189 -0
- talkops_ai-0.3.0/src/talkops/rubrics/jev_grader.py +311 -0
- talkops_ai-0.3.0/src/talkops/rubrics/middleware.py +22 -0
- talkops_ai-0.3.0/src/talkops/schema/__init__.py +121 -0
- talkops_ai-0.3.0/src/talkops/schema/interrupts.py +995 -0
- talkops_ai-0.3.0/src/talkops/security/__init__.py +105 -0
- talkops_ai-0.3.0/src/talkops/security/approval_mode.py +610 -0
- talkops_ai-0.3.0/src/talkops/security/approval_mode_source.py +258 -0
- talkops_ai-0.3.0/src/talkops/security/cli_ast_evaluator.py +570 -0
- talkops_ai-0.3.0/src/talkops/security/jev_classifier.py +702 -0
- talkops_ai-0.3.0/src/talkops/security/shell_safety.py +354 -0
- talkops_ai-0.3.0/src/talkops/security/unicode_security.py +465 -0
- talkops_ai-0.3.0/src/talkops/security/url_validation.py +174 -0
- talkops_ai-0.3.0/src/talkops/server/__init__.py +56 -0
- talkops_ai-0.3.0/src/talkops/server/_server_config.py +344 -0
- talkops_ai-0.3.0/src/talkops/server/asgi.py +80 -0
- talkops_ai-0.3.0/src/talkops/server/auth.py +919 -0
- talkops_ai-0.3.0/src/talkops/server/oidc_provider.py +202 -0
- talkops_ai-0.3.0/src/talkops/server/server.py +881 -0
- talkops_ai-0.3.0/src/talkops/server/server_graph.py +249 -0
- talkops_ai-0.3.0/src/talkops/server/webhooks_app.py +641 -0
- talkops_ai-0.3.0/src/talkops/skills/__init__.py +152 -0
- talkops_ai-0.3.0/src/talkops/skills/commands.py +1120 -0
- talkops_ai-0.3.0/src/talkops/skills/invocation.py +396 -0
- talkops_ai-0.3.0/src/talkops/skills/load.py +406 -0
- talkops_ai-0.3.0/src/talkops/skills/loader.py +37 -0
- talkops_ai-0.3.0/src/talkops/skills/merge.py +79 -0
- talkops_ai-0.3.0/src/talkops/skills/registry.py +277 -0
- talkops_ai-0.3.0/src/talkops/skills/sources.py +189 -0
- talkops_ai-0.3.0/src/talkops/skills/trust.py +435 -0
- talkops_ai-0.3.0/src/talkops/state/__init__.py +298 -0
- talkops_ai-0.3.0/src/talkops/state/agent_session_channels.py +131 -0
- talkops_ai-0.3.0/src/talkops/state/background_task_channels.py +89 -0
- talkops_ai-0.3.0/src/talkops/state/base.py +178 -0
- talkops_ai-0.3.0/src/talkops/state/btw_channels.py +30 -0
- talkops_ai-0.3.0/src/talkops/state/cloud_context.py +276 -0
- talkops_ai-0.3.0/src/talkops/state/conversation_title.py +479 -0
- talkops_ai-0.3.0/src/talkops/state/custom_command_channels.py +70 -0
- talkops_ai-0.3.0/src/talkops/state/goal_channels.py +196 -0
- talkops_ai-0.3.0/src/talkops/state/goal_state_limits.py +203 -0
- talkops_ai-0.3.0/src/talkops/state/postgres_session.py +831 -0
- talkops_ai-0.3.0/src/talkops/state/remote_session.py +890 -0
- talkops_ai-0.3.0/src/talkops/state/resume_state.py +72 -0
- talkops_ai-0.3.0/src/talkops/state/service_context.py +295 -0
- talkops_ai-0.3.0/src/talkops/state/session.py +2514 -0
- talkops_ai-0.3.0/src/talkops/state/state_migration.py +100 -0
- talkops_ai-0.3.0/src/talkops/state/webhook_sre_channels.py +34 -0
- talkops_ai-0.3.0/src/talkops/subagents/__init__.py +44 -0
- talkops_ai-0.3.0/src/talkops/subagents/loader.py +378 -0
- talkops_ai-0.3.0/src/talkops/subagents/subagents_parser.py +131 -0
- talkops_ai-0.3.0/src/talkops/subagents/types.py +41 -0
- talkops_ai-0.3.0/src/talkops/tasks/__init__.py +43 -0
- talkops_ai-0.3.0/src/talkops/tasks/manager.py +885 -0
- talkops_ai-0.3.0/src/talkops/tools/__init__.py +50 -0
- talkops_ai-0.3.0/src/talkops/tools/catalog.py +61 -0
- talkops_ai-0.3.0/src/talkops/tools/cloud_tools.py +188 -0
- talkops_ai-0.3.0/src/talkops/tools/display.py +38 -0
- talkops_ai-0.3.0/src/talkops/tools/fetch_url.py +190 -0
- talkops_ai-0.3.0/src/talkops/tools/goal_tools.py +437 -0
- talkops_ai-0.3.0/src/talkops/tools/registry.py +119 -0
- talkops_ai-0.3.0/src/talkops/tools/thread.py +46 -0
- talkops_ai-0.3.0/src/talkops/tools/web_search.py +231 -0
- talkops_ai-0.3.0/src/talkops/ui/__init__.py +133 -0
- talkops_ai-0.3.0/src/talkops/ui/app.py +3240 -0
- talkops_ai-0.3.0/src/talkops/ui/app.tcss +529 -0
- talkops_ai-0.3.0/src/talkops/ui/assets/talkops-icon.png +0 -0
- talkops_ai-0.3.0/src/talkops/ui/clipboard.py +165 -0
- talkops_ai-0.3.0/src/talkops/ui/command_registry.py +863 -0
- talkops_ai-0.3.0/src/talkops/ui/context_detection.py +115 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/__init__.py +41 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/btw_controller.py +269 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/goal_controller.py +830 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/modal_controller.py +1526 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/prompt_controller.py +649 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/server_controller.py +1513 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/shell_controller.py +190 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/task_watcher_controller.py +321 -0
- talkops_ai-0.3.0/src/talkops/ui/controllers/thread_controller.py +777 -0
- talkops_ai-0.3.0/src/talkops/ui/message_store.py +168 -0
- talkops_ai-0.3.0/src/talkops/ui/modal.tcss +176 -0
- talkops_ai-0.3.0/src/talkops/ui/permission_store.py +423 -0
- talkops_ai-0.3.0/src/talkops/ui/preferences.py +132 -0
- talkops_ai-0.3.0/src/talkops/ui/prompt_manager.py +19 -0
- talkops_ai-0.3.0/src/talkops/ui/remote_client.py +1202 -0
- talkops_ai-0.3.0/src/talkops/ui/state/__init__.py +31 -0
- talkops_ai-0.3.0/src/talkops/ui/state/ui_phase.py +210 -0
- talkops_ai-0.3.0/src/talkops/ui/textual_adapter.py +1813 -0
- talkops_ai-0.3.0/src/talkops/ui/theme.py +796 -0
- talkops_ai-0.3.0/src/talkops/ui/tips.py +263 -0
- talkops_ai-0.3.0/src/talkops/ui/ui_help.py +451 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/__init__.py +559 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_ask_user_types.py +96 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_copy_spans.py +66 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_inline_prompt.py +305 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_js_eval_display.py +153 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_links.py +264 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/_tool_stream.py +323 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/agent_selector.py +367 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/approval.py +1085 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/ask_user.py +566 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/auth.py +870 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/auth_manager.py +335 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/auto_mode_notice.py +153 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/autocomplete.py +1151 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/background_task_panel.py +446 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/btw_card.py +151 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/chat_input.py +2283 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/chat_messages.py +960 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/cloud_selector.py +1281 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/config_manager.py +875 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/debug_console.py +1269 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/devops_renderers.py +415 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/diff.py +450 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/effort_selector.py +230 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/goal_review.py +938 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/goal_status.py +71 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/infra_panel.py +181 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/input_dock.py +121 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/install_confirm.py +123 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/loading.py +236 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/logo_image.py +175 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/mcp_viewer.py +1349 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/message_list.py +724 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/messages.py +185 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/modal_base.py +661 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/model_selector.py +1136 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/notification_center.py +126 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/notification_settings.py +135 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/operation_card.py +123 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/permissions_manager.py +724 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/plugin_manager.py +1662 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/pool_selector.py +597 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/preamble.py +67 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/skills_viewer.py +571 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/status.py +1417 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/status_messages.py +897 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/subagent_panel.py +1005 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/theme_selector.py +315 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/thread_selector.py +530 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/toast.py +46 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/tool_call_message.py +2638 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/tool_display.py +484 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/tool_group.py +474 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/tool_renderers.py +328 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/tool_widgets.py +415 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/welcome.py +1513 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/welcome_popup.py +105 -0
- talkops_ai-0.3.0/src/talkops/ui/widgets/workspace_trust.py +482 -0
- talkops_ai-0.3.0/src/talkops/utils/__init__.py +48 -0
- talkops_ai-0.3.0/src/talkops/utils/cost_estimation.py +183 -0
- talkops_ai-0.3.0/src/talkops/utils/git.py +400 -0
- talkops_ai-0.3.0/src/talkops/utils/logger.py +646 -0
- talkops_ai-0.3.0/src/talkops/utils/session_stats.py +143 -0
- talkops_ai-0.3.0/src/talkops/utils/startup_error.py +51 -0
- talkops_ai-0.3.0/src/talkops/webhooks/__init__.py +87 -0
- talkops_ai-0.3.0/src/talkops/webhooks/dispatcher.py +870 -0
- talkops_ai-0.3.0/src/talkops/webhooks/formatting.py +2576 -0
- talkops_ai-0.3.0/src/talkops/webhooks/models.py +469 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/__init__.py +69 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/alertmanager.py +148 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/base.py +104 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/cloudevents.py +134 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/github.py +196 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/jenkins.py +124 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/observability_itsm.py +275 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/pagerduty.py +213 -0
- talkops_ai-0.3.0/src/talkops/webhooks/providers/sns.py +241 -0
- talkops_ai-0.3.0/src/talkops/webhooks/security.py +204 -0
- talkops_ai-0.3.0/src/talkops/webhooks/sinks.py +1137 -0
- talkops_ai-0.3.0/tests/__init__.py +15 -0
- talkops_ai-0.3.0/tests/conftest.py +134 -0
- talkops_ai-0.3.0/tests/evals/__init__.py +15 -0
- talkops_ai-0.3.0/tests/evals/datasets/aws_cloud_ops.yaml +22 -0
- talkops_ai-0.3.0/tests/evals/evaluators/__init__.py +15 -0
- talkops_ai-0.3.0/tests/evals/evaluators/output_evaluator.py +48 -0
- talkops_ai-0.3.0/tests/evals/evaluators/trajectory_evaluator.py +52 -0
- talkops_ai-0.3.0/tests/evals/runners/test_eval_runner.py +48 -0
- talkops_ai-0.3.0/tests/integration_tests/test_agent_lifecycle.py +32 -0
- talkops_ai-0.3.0/tests/integration_tests/test_server_lifecycle.py +40 -0
- talkops_ai-0.3.0/tests/unit_tests/addons/test_addon_marketplace_and_webhook_channels.py +430 -0
- talkops_ai-0.3.0/tests/unit_tests/test_addons.py +778 -0
- talkops_ai-0.3.0/tests/unit_tests/test_agent_command.py +733 -0
- talkops_ai-0.3.0/tests/unit_tests/test_agent_factory.py +152 -0
- talkops_ai-0.3.0/tests/unit_tests/test_agent_selector_modal.py +195 -0
- talkops_ai-0.3.0/tests/unit_tests/test_approval_widget.py +545 -0
- talkops_ai-0.3.0/tests/unit_tests/test_ask_user.py +193 -0
- talkops_ai-0.3.0/tests/unit_tests/test_ast_evaluator.py +112 -0
- talkops_ai-0.3.0/tests/unit_tests/test_auth_manager_modal.py +202 -0
- talkops_ai-0.3.0/tests/unit_tests/test_auto_mode_notice_modal.py +52 -0
- talkops_ai-0.3.0/tests/unit_tests/test_autocomplete_card.py +486 -0
- talkops_ai-0.3.0/tests/unit_tests/test_backend.py +464 -0
- talkops_ai-0.3.0/tests/unit_tests/test_background_commands.py +476 -0
- talkops_ai-0.3.0/tests/unit_tests/test_benchmark_runner.py +330 -0
- talkops_ai-0.3.0/tests/unit_tests/test_benchmark_scorers_and_stats.py +295 -0
- talkops_ai-0.3.0/tests/unit_tests/test_benchmark_trajectory.py +240 -0
- talkops_ai-0.3.0/tests/unit_tests/test_btw.py +425 -0
- talkops_ai-0.3.0/tests/unit_tests/test_chat_input_chrome.py +176 -0
- talkops_ai-0.3.0/tests/unit_tests/test_chat_input_responsiveness.py +257 -0
- talkops_ai-0.3.0/tests/unit_tests/test_checkpointer.py +390 -0
- talkops_ai-0.3.0/tests/unit_tests/test_claude_opus_reasoning.py +258 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cli_enhancements.py +767 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cli_rubric.py +118 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cloud_command.py +707 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cloud_command_and_selector.py +291 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cloud_model_geometry.py +232 -0
- talkops_ai-0.3.0/tests/unit_tests/test_command_output_styling.py +161 -0
- talkops_ai-0.3.0/tests/unit_tests/test_command_registry_parity.py +139 -0
- talkops_ai-0.3.0/tests/unit_tests/test_commands.py +890 -0
- talkops_ai-0.3.0/tests/unit_tests/test_compaction.py +606 -0
- talkops_ai-0.3.0/tests/unit_tests/test_compaction_ui_and_tips.py +513 -0
- talkops_ai-0.3.0/tests/unit_tests/test_config.py +807 -0
- talkops_ai-0.3.0/tests/unit_tests/test_config_manager_modal.py +106 -0
- talkops_ai-0.3.0/tests/unit_tests/test_conversation_title_backend.py +460 -0
- talkops_ai-0.3.0/tests/unit_tests/test_cost_tracking.py +364 -0
- talkops_ai-0.3.0/tests/unit_tests/test_credential_broker.py +174 -0
- talkops_ai-0.3.0/tests/unit_tests/test_css_compliance.py +127 -0
- talkops_ai-0.3.0/tests/unit_tests/test_custom_commands.py +592 -0
- talkops_ai-0.3.0/tests/unit_tests/test_debug_console_modal.py +95 -0
- talkops_ai-0.3.0/tests/unit_tests/test_default_marketplace.py +447 -0
- talkops_ai-0.3.0/tests/unit_tests/test_devops_renderers.py +193 -0
- talkops_ai-0.3.0/tests/unit_tests/test_editor_and_links.py +359 -0
- talkops_ai-0.3.0/tests/unit_tests/test_effort_selector_modal.py +71 -0
- talkops_ai-0.3.0/tests/unit_tests/test_fork.py +339 -0
- talkops_ai-0.3.0/tests/unit_tests/test_goal_criteria.py +314 -0
- talkops_ai-0.3.0/tests/unit_tests/test_goal_state_limits.py +94 -0
- talkops_ai-0.3.0/tests/unit_tests/test_goal_state_notice.py +241 -0
- talkops_ai-0.3.0/tests/unit_tests/test_grader_tools.py +66 -0
- talkops_ai-0.3.0/tests/unit_tests/test_hitl.py +930 -0
- talkops_ai-0.3.0/tests/unit_tests/test_install_confirm_modal.py +52 -0
- talkops_ai-0.3.0/tests/unit_tests/test_integrations_and_hooks.py +581 -0
- talkops_ai-0.3.0/tests/unit_tests/test_interrupt_schemas.py +342 -0
- talkops_ai-0.3.0/tests/unit_tests/test_jev_model_router.py +925 -0
- talkops_ai-0.3.0/tests/unit_tests/test_jev_rubrics.py +721 -0
- talkops_ai-0.3.0/tests/unit_tests/test_loading_widget.py +94 -0
- talkops_ai-0.3.0/tests/unit_tests/test_local_context.py +206 -0
- talkops_ai-0.3.0/tests/unit_tests/test_logging.py +436 -0
- talkops_ai-0.3.0/tests/unit_tests/test_markup_safety.py +319 -0
- talkops_ai-0.3.0/tests/unit_tests/test_mcp.py +1513 -0
- talkops_ai-0.3.0/tests/unit_tests/test_mcp_middleware.py +249 -0
- talkops_ai-0.3.0/tests/unit_tests/test_mcp_viewer_and_command.py +361 -0
- talkops_ai-0.3.0/tests/unit_tests/test_media_and_cache.py +465 -0
- talkops_ai-0.3.0/tests/unit_tests/test_memory.py +249 -0
- talkops_ai-0.3.0/tests/unit_tests/test_memory_enhancements.py +202 -0
- talkops_ai-0.3.0/tests/unit_tests/test_middleware_stack.py +374 -0
- talkops_ai-0.3.0/tests/unit_tests/test_modal_foundation.py +624 -0
- talkops_ai-0.3.0/tests/unit_tests/test_model_providers.py +1292 -0
- talkops_ai-0.3.0/tests/unit_tests/test_model_retry.py +198 -0
- talkops_ai-0.3.0/tests/unit_tests/test_multicloud_discovery.py +377 -0
- talkops_ai-0.3.0/tests/unit_tests/test_notification_settings_modal.py +71 -0
- talkops_ai-0.3.0/tests/unit_tests/test_permissions_manager_modal.py +95 -0
- talkops_ai-0.3.0/tests/unit_tests/test_plugin_agent_skill_mcp_scoping.py +666 -0
- talkops_ai-0.3.0/tests/unit_tests/test_plugin_manager_modal_ui.py +384 -0
- talkops_ai-0.3.0/tests/unit_tests/test_plugin_manager_search.py +194 -0
- talkops_ai-0.3.0/tests/unit_tests/test_plugin_uninstall_lifecycle.py +444 -0
- talkops_ai-0.3.0/tests/unit_tests/test_plugins.py +898 -0
- talkops_ai-0.3.0/tests/unit_tests/test_pool_persistence.py +189 -0
- talkops_ai-0.3.0/tests/unit_tests/test_pool_selector_modal.py +149 -0
- talkops_ai-0.3.0/tests/unit_tests/test_project_plugins.py +279 -0
- talkops_ai-0.3.0/tests/unit_tests/test_prompts_and_schema.py +309 -0
- talkops_ai-0.3.0/tests/unit_tests/test_reliable_rubric.py +113 -0
- talkops_ai-0.3.0/tests/unit_tests/test_reload_restart.py +785 -0
- talkops_ai-0.3.0/tests/unit_tests/test_resume_state.py +88 -0
- talkops_ai-0.3.0/tests/unit_tests/test_resumed_thread_latency_fix.py +127 -0
- talkops_ai-0.3.0/tests/unit_tests/test_rubrics.py +87 -0
- talkops_ai-0.3.0/tests/unit_tests/test_security.py +410 -0
- talkops_ai-0.3.0/tests/unit_tests/test_server.py +591 -0
- talkops_ai-0.3.0/tests/unit_tests/test_server_hooks.py +515 -0
- talkops_ai-0.3.0/tests/unit_tests/test_server_mode.py +981 -0
- talkops_ai-0.3.0/tests/unit_tests/test_skill_creator.py +255 -0
- talkops_ai-0.3.0/tests/unit_tests/test_skills.py +755 -0
- talkops_ai-0.3.0/tests/unit_tests/test_skills_viewer_modal.py +238 -0
- talkops_ai-0.3.0/tests/unit_tests/test_smart_to_manual_model_switch.py +284 -0
- talkops_ai-0.3.0/tests/unit_tests/test_smooth_scrolling.py +405 -0
- talkops_ai-0.3.0/tests/unit_tests/test_state.py +340 -0
- talkops_ai-0.3.0/tests/unit_tests/test_status_bar_segments.py +315 -0
- talkops_ai-0.3.0/tests/unit_tests/test_subagents.py +947 -0
- talkops_ai-0.3.0/tests/unit_tests/test_theme_selector_modal.py +83 -0
- talkops_ai-0.3.0/tests/unit_tests/test_thinking_message.py +82 -0
- talkops_ai-0.3.0/tests/unit_tests/test_thread_selector_modal.py +287 -0
- talkops_ai-0.3.0/tests/unit_tests/test_tnr_safety.py +184 -0
- talkops_ai-0.3.0/tests/unit_tests/test_tool_filter.py +500 -0
- talkops_ai-0.3.0/tests/unit_tests/test_tool_timeline.py +206 -0
- talkops_ai-0.3.0/tests/unit_tests/test_tools.py +150 -0
- talkops_ai-0.3.0/tests/unit_tests/test_tui_app.py +850 -0
- talkops_ai-0.3.0/tests/unit_tests/test_turn_summary.py +67 -0
- talkops_ai-0.3.0/tests/unit_tests/test_ui_phase_and_prompt_controller.py +306 -0
- talkops_ai-0.3.0/tests/unit_tests/test_utils.py +75 -0
- talkops_ai-0.3.0/tests/unit_tests/test_webhooks.py +1138 -0
- talkops_ai-0.3.0/tests/unit_tests/test_welcome.py +694 -0
- talkops_ai-0.3.0/tests/unit_tests/test_welcome_popup_modal.py +71 -0
- talkops_ai-0.3.0/tests/unit_tests/test_workspace_responsiveness.py +353 -0
- talkops_ai-0.3.0/tests/unit_tests/test_workspace_trust_and_cli_settings.py +371 -0
- talkops_ai-0.3.0/uv-requirements.txt +4 -0
- talkops_ai-0.3.0/uv.lock +6664 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Git
|
|
2
|
+
.git
|
|
3
|
+
.gitignore
|
|
4
|
+
|
|
5
|
+
# Python
|
|
6
|
+
__pycache__
|
|
7
|
+
*.pyc
|
|
8
|
+
*.pyo
|
|
9
|
+
*.pyd
|
|
10
|
+
.Python
|
|
11
|
+
env
|
|
12
|
+
pip-log.txt
|
|
13
|
+
pip-delete-this-directory.txt
|
|
14
|
+
.tox
|
|
15
|
+
.coverage
|
|
16
|
+
.coverage.*
|
|
17
|
+
.cache
|
|
18
|
+
nosetests.xml
|
|
19
|
+
coverage.xml
|
|
20
|
+
*.cover
|
|
21
|
+
*.log
|
|
22
|
+
.git
|
|
23
|
+
.mypy_cache
|
|
24
|
+
.pytest_cache
|
|
25
|
+
.hypothesis
|
|
26
|
+
|
|
27
|
+
# Virtual environments
|
|
28
|
+
.env
|
|
29
|
+
.venv
|
|
30
|
+
env/
|
|
31
|
+
venv/
|
|
32
|
+
ENV/
|
|
33
|
+
env.bak/
|
|
34
|
+
venv.bak/
|
|
35
|
+
|
|
36
|
+
# IDEs
|
|
37
|
+
.vscode/
|
|
38
|
+
.idea/
|
|
39
|
+
*.swp
|
|
40
|
+
*.swo
|
|
41
|
+
*~
|
|
42
|
+
|
|
43
|
+
# OS
|
|
44
|
+
.DS_Store
|
|
45
|
+
.DS_Store?
|
|
46
|
+
._*
|
|
47
|
+
.Spotlight-V100
|
|
48
|
+
.Trashes
|
|
49
|
+
ehthumbs.db
|
|
50
|
+
Thumbs.db
|
|
51
|
+
|
|
52
|
+
# Documentation
|
|
53
|
+
docs/
|
|
54
|
+
*.md
|
|
55
|
+
!README.md
|
|
56
|
+
|
|
57
|
+
# Tests
|
|
58
|
+
tests/
|
|
59
|
+
test_*
|
|
60
|
+
*_test.py
|
|
61
|
+
|
|
62
|
+
# Development files
|
|
63
|
+
.pre-commit-config.yaml
|
|
64
|
+
.ruff.toml
|
|
65
|
+
.mypy.ini
|
|
66
|
+
pyproject.toml.bak
|
|
67
|
+
|
|
68
|
+
# Build artifacts
|
|
69
|
+
build/
|
|
70
|
+
dist/
|
|
71
|
+
*.egg-info/
|
|
72
|
+
|
|
73
|
+
# Reference files
|
|
74
|
+
reference/
|
|
75
|
+
|
|
76
|
+
# Docker
|
|
77
|
+
Dockerfile*
|
|
78
|
+
docker-compose*.yml
|
|
79
|
+
.dockerignore
|
|
80
|
+
|
|
81
|
+
# Logs
|
|
82
|
+
*.log
|
|
83
|
+
logs/
|
|
84
|
+
|
|
85
|
+
# Temporary files
|
|
86
|
+
tmp/
|
|
87
|
+
temp/
|
|
File without changes
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
# TalkOps — Continuous Integration (CI) Pipeline
|
|
3
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
# Runs on: Pull Requests & pushes to main
|
|
5
|
+
# Validates: Unit tests, Python 3.12/3.13 matrix, build integrity & wheel assets
|
|
6
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
7
|
+
|
|
8
|
+
name: "🔍 CI"
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [main]
|
|
13
|
+
paths:
|
|
14
|
+
- "src/**"
|
|
15
|
+
- "tests/**"
|
|
16
|
+
- "scripts/**"
|
|
17
|
+
- "pyproject.toml"
|
|
18
|
+
- ".github/workflows/ci.yml"
|
|
19
|
+
pull_request:
|
|
20
|
+
branches: [main]
|
|
21
|
+
paths:
|
|
22
|
+
- "src/**"
|
|
23
|
+
- "tests/**"
|
|
24
|
+
- "scripts/**"
|
|
25
|
+
- "pyproject.toml"
|
|
26
|
+
- ".github/workflows/ci.yml"
|
|
27
|
+
|
|
28
|
+
concurrency:
|
|
29
|
+
group: ci-${{ github.ref }}
|
|
30
|
+
cancel-in-progress: true
|
|
31
|
+
|
|
32
|
+
permissions:
|
|
33
|
+
contents: read
|
|
34
|
+
|
|
35
|
+
jobs:
|
|
36
|
+
# ── Step 1: Code Quality & Installer Shell Syntax ──────────────────────────
|
|
37
|
+
lint:
|
|
38
|
+
name: "🧹 Lint & Shell Check"
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
|
|
43
|
+
- name: Validate install script shell syntax
|
|
44
|
+
run: |
|
|
45
|
+
echo "Checking scripts/install.sh syntax..."
|
|
46
|
+
bash -n scripts/install.sh
|
|
47
|
+
echo "✅ Shell script syntax valid"
|
|
48
|
+
|
|
49
|
+
- name: Install uv
|
|
50
|
+
uses: astral-sh/setup-uv@v6
|
|
51
|
+
with:
|
|
52
|
+
version: "latest"
|
|
53
|
+
|
|
54
|
+
- name: Set up Python
|
|
55
|
+
uses: actions/setup-python@v5
|
|
56
|
+
with:
|
|
57
|
+
python-version: "3.12"
|
|
58
|
+
|
|
59
|
+
- name: Install dependencies
|
|
60
|
+
run: uv sync --all-extras --dev
|
|
61
|
+
|
|
62
|
+
- name: Type checking (pyright)
|
|
63
|
+
run: |
|
|
64
|
+
if uv run pyright --version 2>/dev/null; then
|
|
65
|
+
uv run pyright src/
|
|
66
|
+
else
|
|
67
|
+
echo "⚠️ pyright not installed in dev dependencies — skipping"
|
|
68
|
+
fi
|
|
69
|
+
continue-on-error: true
|
|
70
|
+
|
|
71
|
+
# ── Step 2: Test Matrix (Python 3.12 & 3.13) ────────────────────────────────
|
|
72
|
+
test:
|
|
73
|
+
name: "🧪 Tests (Python ${{ matrix.python-version }})"
|
|
74
|
+
runs-on: ubuntu-latest
|
|
75
|
+
strategy:
|
|
76
|
+
fail-fast: false
|
|
77
|
+
matrix:
|
|
78
|
+
python-version: ["3.12", "3.13"]
|
|
79
|
+
steps:
|
|
80
|
+
- uses: actions/checkout@v4
|
|
81
|
+
|
|
82
|
+
- name: Install uv
|
|
83
|
+
uses: astral-sh/setup-uv@v6
|
|
84
|
+
with:
|
|
85
|
+
version: "latest"
|
|
86
|
+
|
|
87
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
88
|
+
uses: actions/setup-python@v5
|
|
89
|
+
with:
|
|
90
|
+
python-version: ${{ matrix.python-version }}
|
|
91
|
+
|
|
92
|
+
- name: Install dependencies
|
|
93
|
+
run: uv sync --all-extras --dev
|
|
94
|
+
|
|
95
|
+
- name: Run unit test suite
|
|
96
|
+
run: |
|
|
97
|
+
uv run pytest tests/ -m unit -v --tb=short
|
|
98
|
+
|
|
99
|
+
# ── Step 3: Build & Package Asset Verification ─────────────────────────────
|
|
100
|
+
build-verify:
|
|
101
|
+
name: "📦 Build & Wheel Verification"
|
|
102
|
+
runs-on: ubuntu-latest
|
|
103
|
+
steps:
|
|
104
|
+
- uses: actions/checkout@v4
|
|
105
|
+
|
|
106
|
+
- name: Install uv
|
|
107
|
+
uses: astral-sh/setup-uv@v6
|
|
108
|
+
with:
|
|
109
|
+
version: "latest"
|
|
110
|
+
|
|
111
|
+
- name: Set up Python
|
|
112
|
+
uses: actions/setup-python@v5
|
|
113
|
+
with:
|
|
114
|
+
python-version: "3.12"
|
|
115
|
+
|
|
116
|
+
- name: Build sdist and wheel
|
|
117
|
+
run: |
|
|
118
|
+
uv build
|
|
119
|
+
echo "📦 Build artifacts created:"
|
|
120
|
+
ls -lh dist/
|
|
121
|
+
|
|
122
|
+
- name: Verify embedded skills, templates, and entry points inside wheel
|
|
123
|
+
run: |
|
|
124
|
+
WHEEL=$(ls dist/*.whl | head -1)
|
|
125
|
+
echo "Inspecting wheel: $WHEEL"
|
|
126
|
+
|
|
127
|
+
# 1. Verify Entry Point Binary Script
|
|
128
|
+
if ! unzip -l "$WHEEL" | grep -q "talkops/cli/main.py"; then
|
|
129
|
+
echo "❌ Critical Error: Missing talkops/cli/main.py in wheel!"
|
|
130
|
+
exit 1
|
|
131
|
+
fi
|
|
132
|
+
echo "✅ CLI entry point verified in wheel."
|
|
133
|
+
|
|
134
|
+
# 2. Verify Root Global Skills
|
|
135
|
+
for skill in remember skill-creator; do
|
|
136
|
+
if ! unzip -l "$WHEEL" | grep -q "talkops/built_in_skills/${skill}/SKILL.md"; then
|
|
137
|
+
echo "❌ Critical Error: Missing root skill '${skill}' in wheel!"
|
|
138
|
+
exit 1
|
|
139
|
+
fi
|
|
140
|
+
done
|
|
141
|
+
echo "✅ Built-in skills verified in wheel."
|
|
142
|
+
|
|
143
|
+
# 3. Verify Prompt Templates and TUI Stylesheet
|
|
144
|
+
for asset in "talkops/prompts/templates/system_prompt.md" "talkops/ui/app.tcss"; do
|
|
145
|
+
if ! unzip -l "$WHEEL" | grep -q "$asset"; then
|
|
146
|
+
echo "❌ Critical Error: Missing core asset '${asset}' in wheel!"
|
|
147
|
+
exit 1
|
|
148
|
+
fi
|
|
149
|
+
done
|
|
150
|
+
echo "✅ Core prompt templates and TUI stylesheet verified in wheel."
|
|
151
|
+
|
|
152
|
+
# 4. Verify Entry Point Registration in wheel metadata
|
|
153
|
+
if ! unzip -p "$WHEEL" "*.dist-info/entry_points.txt" | grep -q "talkops = talkops.cli.main:cli_main"; then
|
|
154
|
+
echo "❌ Critical Error: 'talkops' console script entry point not registered in wheel metadata!"
|
|
155
|
+
exit 1
|
|
156
|
+
fi
|
|
157
|
+
if ! unzip -p "$WHEEL" "*.dist-info/entry_points.txt" | grep -q "ops = talkops.cli.main:cli_main"; then
|
|
158
|
+
echo "❌ Critical Error: 'ops' console script alias not registered in wheel metadata!"
|
|
159
|
+
exit 1
|
|
160
|
+
fi
|
|
161
|
+
echo "✅ 'talkops' and 'ops' console script registrations verified in entry_points.txt."
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
2
|
+
# TalkOps — PyPI Release Pipeline
|
|
3
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
# Trigger: Push a tag like `v0.3.0` or manual workflow_dispatch
|
|
5
|
+
# Result: Test ➔ Build ➔ Asset Verification ➔ Publish to PyPI
|
|
6
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
7
|
+
|
|
8
|
+
name: "📦 Release to PyPI"
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
tags:
|
|
13
|
+
- "v*"
|
|
14
|
+
workflow_dispatch:
|
|
15
|
+
inputs:
|
|
16
|
+
tag_name:
|
|
17
|
+
description: "Release tag (e.g., v0.3.0)"
|
|
18
|
+
required: true
|
|
19
|
+
type: string
|
|
20
|
+
|
|
21
|
+
concurrency:
|
|
22
|
+
group: release-${{ github.ref }}
|
|
23
|
+
cancel-in-progress: true
|
|
24
|
+
|
|
25
|
+
permissions:
|
|
26
|
+
contents: read
|
|
27
|
+
id-token: write # PyPI Trusted Publishing (OIDC)
|
|
28
|
+
|
|
29
|
+
jobs:
|
|
30
|
+
# ── Step 1: Validate Version & Metadata ─────────────────────────────────────
|
|
31
|
+
meta:
|
|
32
|
+
name: "🏷️ Validate Release Tag"
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
outputs:
|
|
35
|
+
version: ${{ steps.parse.outputs.version }}
|
|
36
|
+
tag: ${{ steps.parse.outputs.tag }}
|
|
37
|
+
pypi_name: ${{ steps.parse.outputs.pypi_name }}
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
|
|
41
|
+
- name: Parse tag and metadata
|
|
42
|
+
id: parse
|
|
43
|
+
run: |
|
|
44
|
+
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
|
45
|
+
TAG="${{ inputs.tag_name }}"
|
|
46
|
+
else
|
|
47
|
+
TAG="${GITHUB_REF#refs/tags/}"
|
|
48
|
+
fi
|
|
49
|
+
# Strip leading 'v' if present (e.g. v0.1.0 -> 0.1.0)
|
|
50
|
+
VERSION="${TAG#v}"
|
|
51
|
+
|
|
52
|
+
PKG_NAME=$(grep '^name' pyproject.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
|
|
53
|
+
[ -z "$PKG_NAME" ] && PKG_NAME="talkops-ai"
|
|
54
|
+
|
|
55
|
+
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
|
56
|
+
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
57
|
+
echo "pypi_name=${PKG_NAME}" >> "$GITHUB_OUTPUT"
|
|
58
|
+
|
|
59
|
+
echo "🏷️ Release Tag: ${TAG}"
|
|
60
|
+
echo "📦 Version: ${VERSION}"
|
|
61
|
+
echo "🐍 PyPI Package: ${PKG_NAME}"
|
|
62
|
+
|
|
63
|
+
- name: Validate version matches pyproject.toml
|
|
64
|
+
run: |
|
|
65
|
+
TOML_VERSION=$(grep '^version' pyproject.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
|
|
66
|
+
TAG_VERSION="${{ steps.parse.outputs.version }}"
|
|
67
|
+
if [ "$TOML_VERSION" != "$TAG_VERSION" ]; then
|
|
68
|
+
echo "❌ Version mismatch! pyproject.toml=${TOML_VERSION} tag=${TAG_VERSION}"
|
|
69
|
+
exit 1
|
|
70
|
+
fi
|
|
71
|
+
echo "✅ Version match: ${TAG_VERSION}"
|
|
72
|
+
|
|
73
|
+
# ── Step 2: Run Unit Tests ──────────────────────────────────────────────────
|
|
74
|
+
test:
|
|
75
|
+
name: "🧪 Run Tests"
|
|
76
|
+
needs: meta
|
|
77
|
+
runs-on: ubuntu-latest
|
|
78
|
+
steps:
|
|
79
|
+
- uses: actions/checkout@v4
|
|
80
|
+
|
|
81
|
+
- name: Install uv
|
|
82
|
+
uses: astral-sh/setup-uv@v6
|
|
83
|
+
with:
|
|
84
|
+
version: "latest"
|
|
85
|
+
|
|
86
|
+
- name: Set up Python
|
|
87
|
+
uses: actions/setup-python@v5
|
|
88
|
+
with:
|
|
89
|
+
python-version: "3.12"
|
|
90
|
+
|
|
91
|
+
- name: Install dependencies
|
|
92
|
+
run: uv sync --all-extras --dev
|
|
93
|
+
|
|
94
|
+
- name: Run unit tests
|
|
95
|
+
run: uv run pytest tests/ -m unit -v --tb=short
|
|
96
|
+
|
|
97
|
+
# ── Step 3: Build & Package Verification ────────────────────────────────────
|
|
98
|
+
build:
|
|
99
|
+
name: "🔨 Build Package"
|
|
100
|
+
needs: [meta, test]
|
|
101
|
+
runs-on: ubuntu-latest
|
|
102
|
+
steps:
|
|
103
|
+
- uses: actions/checkout@v4
|
|
104
|
+
|
|
105
|
+
- name: Install uv
|
|
106
|
+
uses: astral-sh/setup-uv@v6
|
|
107
|
+
with:
|
|
108
|
+
version: "latest"
|
|
109
|
+
|
|
110
|
+
- name: Set up Python
|
|
111
|
+
uses: actions/setup-python@v5
|
|
112
|
+
with:
|
|
113
|
+
python-version: "3.12"
|
|
114
|
+
|
|
115
|
+
- name: Build sdist and wheel
|
|
116
|
+
run: uv build
|
|
117
|
+
|
|
118
|
+
- name: Verify built artifacts
|
|
119
|
+
run: |
|
|
120
|
+
echo "📦 Built artifacts:"
|
|
121
|
+
ls -lh dist/
|
|
122
|
+
|
|
123
|
+
VERSION="${{ needs.meta.outputs.version }}"
|
|
124
|
+
if ! ls dist/*${VERSION}* 1>/dev/null 2>&1; then
|
|
125
|
+
echo "❌ No artifacts found with version ${VERSION}"
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
|
|
129
|
+
WHEEL=$(ls dist/*.whl | head -1)
|
|
130
|
+
|
|
131
|
+
# 1. Verify Entry Point Binary Script
|
|
132
|
+
if ! unzip -l "$WHEEL" | grep -q "talkops/cli/main.py"; then
|
|
133
|
+
echo "❌ Critical Error: Missing talkops/cli/main.py in wheel!"
|
|
134
|
+
exit 1
|
|
135
|
+
fi
|
|
136
|
+
|
|
137
|
+
# 2. Verify Built-in Skills
|
|
138
|
+
for skill in remember skill-creator; do
|
|
139
|
+
if ! unzip -l "$WHEEL" | grep -q "talkops/built_in_skills/${skill}/SKILL.md"; then
|
|
140
|
+
echo "❌ Critical Error: Missing skill '${skill}' in wheel!"
|
|
141
|
+
exit 1
|
|
142
|
+
fi
|
|
143
|
+
done
|
|
144
|
+
|
|
145
|
+
# 3. Verify Prompt Templates and TUI Stylesheet
|
|
146
|
+
for asset in "talkops/prompts/templates/system_prompt.md" "talkops/ui/app.tcss"; do
|
|
147
|
+
if ! unzip -l "$WHEEL" | grep -q "$asset"; then
|
|
148
|
+
echo "❌ Critical Error: Missing asset '${asset}' in wheel!"
|
|
149
|
+
exit 1
|
|
150
|
+
fi
|
|
151
|
+
done
|
|
152
|
+
|
|
153
|
+
# 4. Verify Entry Point in wheel metadata
|
|
154
|
+
if ! unzip -p "$WHEEL" "*.dist-info/entry_points.txt" | grep -q "talkops = talkops.cli.main:cli_main"; then
|
|
155
|
+
echo "❌ Critical Error: 'talkops' console script entry point not registered in wheel metadata!"
|
|
156
|
+
exit 1
|
|
157
|
+
fi
|
|
158
|
+
if ! unzip -p "$WHEEL" "*.dist-info/entry_points.txt" | grep -q "ops = talkops.cli.main:cli_main"; then
|
|
159
|
+
echo "❌ Critical Error: 'ops' console script alias not registered in wheel metadata!"
|
|
160
|
+
exit 1
|
|
161
|
+
fi
|
|
162
|
+
|
|
163
|
+
echo "✅ TalkOps package integrity verified."
|
|
164
|
+
|
|
165
|
+
- name: Upload build artifacts
|
|
166
|
+
uses: actions/upload-artifact@v4
|
|
167
|
+
with:
|
|
168
|
+
name: dist-talkops
|
|
169
|
+
path: dist/
|
|
170
|
+
retention-days: 7
|
|
171
|
+
|
|
172
|
+
# ── Step 4: Publish to PyPI ─────────────────────────────────────────────────
|
|
173
|
+
publish-pypi:
|
|
174
|
+
name: "🚀 Publish to PyPI"
|
|
175
|
+
needs: [meta, build]
|
|
176
|
+
runs-on: ubuntu-latest
|
|
177
|
+
environment:
|
|
178
|
+
name: pypi
|
|
179
|
+
url: https://pypi.org/project/${{ needs.meta.outputs.pypi_name }}/${{ needs.meta.outputs.version }}/
|
|
180
|
+
steps:
|
|
181
|
+
- name: Download build artifacts
|
|
182
|
+
uses: actions/download-artifact@v4
|
|
183
|
+
with:
|
|
184
|
+
name: dist-talkops
|
|
185
|
+
path: dist/
|
|
186
|
+
|
|
187
|
+
- name: Publish to PyPI
|
|
188
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
189
|
+
with:
|
|
190
|
+
packages-dir: dist/
|
|
191
|
+
verbose: true
|
|
192
|
+
print-hash: true
|
|
193
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.cursor
|
|
2
|
+
.vscode
|
|
3
|
+
benchmarks
|
|
4
|
+
.talkops
|
|
5
|
+
.venv
|
|
6
|
+
.taskmaster/
|
|
7
|
+
.claude/
|
|
8
|
+
aws_orchestrator_agent/examples/
|
|
9
|
+
# Logs
|
|
10
|
+
logs
|
|
11
|
+
*.log
|
|
12
|
+
npm-debug.log*
|
|
13
|
+
yarn-debug.log*
|
|
14
|
+
yarn-error.log*
|
|
15
|
+
dev-debug.log
|
|
16
|
+
# Dependency directories
|
|
17
|
+
node_modules/
|
|
18
|
+
reference/
|
|
19
|
+
perplexity/
|
|
20
|
+
.taskmaster/
|
|
21
|
+
# Environment variables
|
|
22
|
+
.env
|
|
23
|
+
# Editor directories and files
|
|
24
|
+
.idea
|
|
25
|
+
*.suo
|
|
26
|
+
*.ntvs*
|
|
27
|
+
*.njsproj
|
|
28
|
+
*.sln
|
|
29
|
+
*.sw?
|
|
30
|
+
# OS specific
|
|
31
|
+
.DS_Store
|
|
32
|
+
|
|
33
|
+
CLAUDE.md
|
|
34
|
+
|
|
35
|
+
# Task files
|
|
36
|
+
# tasks.json
|
|
37
|
+
# tasks/
|
|
38
|
+
|
|
39
|
+
### Python ###
|
|
40
|
+
# Byte-compiled / optimized / DLL files
|
|
41
|
+
__pycache__/
|
|
42
|
+
*.py[cod]
|
|
43
|
+
*$py.class
|
|
44
|
+
|
|
45
|
+
### Pythod build ###
|
|
46
|
+
build/
|
|
47
|
+
dist/
|
|
48
|
+
*.egg-info/
|
|
49
|
+
|
|
50
|
+
### Python tests ###
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
.hypothesis/
|
|
53
|
+
.mypy_cache/
|
|
54
|
+
.ruff_cache/
|
|
55
|
+
.langgraph_api*
|
|
56
|
+
docs/research.md
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
+
community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
+
any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
|
35
|
+
without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement by privately
|
|
63
|
+
contacting the maintainers of the
|
|
64
|
+
[talkops-ai GitHub organization](https://github.com/talkops-ai), or by using
|
|
65
|
+
GitHub's [report content](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam)
|
|
66
|
+
feature.
|
|
67
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
68
|
+
|
|
69
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
70
|
+
reporter of any incident.
|
|
71
|
+
|
|
72
|
+
## Enforcement Guidelines
|
|
73
|
+
|
|
74
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
75
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
76
|
+
|
|
77
|
+
### 1. Correction
|
|
78
|
+
|
|
79
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
80
|
+
unprofessional or unwelcome in the community.
|
|
81
|
+
|
|
82
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
83
|
+
clarity around the nature of the violation and an explanation of why the
|
|
84
|
+
behavior was inappropriate. A public apology may be requested.
|
|
85
|
+
|
|
86
|
+
### 2. Warning
|
|
87
|
+
|
|
88
|
+
**Community Impact**: A violation through a single incident or series of
|
|
89
|
+
actions.
|
|
90
|
+
|
|
91
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
92
|
+
interaction with the people involved, including unsolicited interaction with
|
|
93
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
94
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
95
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
96
|
+
ban.
|
|
97
|
+
|
|
98
|
+
### 3. Temporary Ban
|
|
99
|
+
|
|
100
|
+
**Community Impact**: A serious violation of community standards, including
|
|
101
|
+
sustained inappropriate behavior.
|
|
102
|
+
|
|
103
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
104
|
+
communication with the community for a specified period of time. No public or
|
|
105
|
+
private interaction with the people involved, including unsolicited interaction
|
|
106
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
107
|
+
Violating these terms may lead to a permanent ban.
|
|
108
|
+
|
|
109
|
+
### 4. Permanent Ban
|
|
110
|
+
|
|
111
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
112
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
113
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
114
|
+
|
|
115
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
116
|
+
community.
|
|
117
|
+
|
|
118
|
+
## Attribution
|
|
119
|
+
|
|
120
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
121
|
+
version 2.1, available at
|
|
122
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
123
|
+
|
|
124
|
+
Community Impact Guidelines were inspired by
|
|
125
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
126
|
+
|
|
127
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
128
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
129
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
130
|
+
|
|
131
|
+
[homepage]: https://www.contributor-covenant.org
|
|
132
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
133
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
134
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
135
|
+
[translations]: https://www.contributor-covenant.org/translations
|