agent-devkit 0.1.6 → 0.2.0
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.
- package/README.md +13 -1
- package/package.json +1 -1
- package/runtime/README.md +53 -1
- package/runtime/agent +5 -0
- package/runtime/agents/README.md +26 -0
- package/runtime/agents/agent-devkit-agent-builder/AGENTS.md +24 -0
- package/runtime/agents/agent-devkit-agent-builder/README.md +37 -0
- package/runtime/agents/agent-devkit-agent-builder/agent.yaml +46 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/capability.yaml +29 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/decision-rules.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/plan-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/capability.yaml +31 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/decision-rules.md +9 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/runner.py +39 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/scaffold-agent/workflow.md +8 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/capability.yaml +28 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/decision-rules.md +6 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/runner.py +33 -0
- package/runtime/agents/agent-devkit-agent-builder/capabilities/validate-agent-contract/workflow.md +7 -0
- package/runtime/agents/agent-devkit-agent-builder/infra/integrations/agent-devkit/agent_builder_repository.py +527 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/context.md +15 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/policies.yaml +11 -0
- package/runtime/agents/agent-devkit-agent-builder/knowledge/system.md +11 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/agent-plan-output.md +20 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/scaffold-plan-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/templates/validation-report-output.md +13 -0
- package/runtime/agents/agent-devkit-agent-builder/tests/test_runners.py +188 -0
- package/runtime/agents/automation-architect/AGENTS.md +11 -0
- package/runtime/agents/automation-architect/README.md +27 -0
- package/runtime/agents/automation-architect/agent.yaml +57 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/decision-rules.md +10 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/classify-automation-request/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/capability.yaml +34 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/delegate-automation-build/workflow.md +6 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/capability.yaml +35 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/runner.py +37 -0
- package/runtime/agents/automation-architect/capabilities/plan-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/capability.yaml +36 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/decision-rules.md +7 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/runner.py +39 -0
- package/runtime/agents/automation-architect/capabilities/review-automation-solution/workflow.md +7 -0
- package/runtime/agents/automation-architect/infra/integrations/automation-architecture/automation_architecture_repository.py +481 -0
- package/runtime/agents/automation-architect/knowledge/context.md +22 -0
- package/runtime/agents/automation-architect/knowledge/policies.yaml +20 -0
- package/runtime/agents/automation-architect/knowledge/system.md +8 -0
- package/runtime/agents/automation-architect/templates/automation-classification.md +6 -0
- package/runtime/agents/automation-architect/templates/automation-plan.md +5 -0
- package/runtime/agents/automation-architect/tests/test_runners.py +135 -0
- package/runtime/agents/aws-architecture-analyst/agent.yaml +17 -4
- package/runtime/agents/aws-cloudwatch-log-analyzer/agent.yaml +12 -2
- package/runtime/agents/aws-cloudwatch-log-analyzer/capabilities/analyze-service-error/capability.yaml +16 -0
- package/runtime/agents/aws-lambda-builder/AGENTS.md +27 -0
- package/runtime/agents/aws-lambda-builder/README.md +21 -0
- package/runtime/agents/aws-lambda-builder/agent.yaml +46 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/deploy-lambda-plan/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/capability.yaml +20 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/runner.py +39 -0
- package/runtime/agents/aws-lambda-builder/capabilities/generate-lambda-project/workflow.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/capability.yaml +22 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/decision-rules.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/runner.py +41 -0
- package/runtime/agents/aws-lambda-builder/capabilities/package-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/plan-lambda/workflow.md +6 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/capability.yaml +18 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/decision-rules.md +7 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/runner.py +33 -0
- package/runtime/agents/aws-lambda-builder/capabilities/review-lambda-security/workflow.md +5 -0
- package/runtime/agents/aws-lambda-builder/infra/integrations/aws-lambda/aws_lambda_repository.py +688 -0
- package/runtime/agents/aws-lambda-builder/knowledge/context.md +12 -0
- package/runtime/agents/aws-lambda-builder/knowledge/policies.yaml +23 -0
- package/runtime/agents/aws-lambda-builder/knowledge/system.md +10 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-deploy-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-package.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-plan.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-readme.md +3 -0
- package/runtime/agents/aws-lambda-builder/templates/lambda-security-review.md +3 -0
- package/runtime/agents/aws-lambda-builder/tests/test_runners.py +355 -0
- package/runtime/agents/aws-operations-operator/agent.yaml +18 -6
- package/runtime/agents/aws-security-governance-auditor/agent.yaml +17 -5
- package/runtime/agents/azure-devops-orchestrator/agent.yaml +15 -2
- package/runtime/agents/azure-devops-orchestrator/capabilities/read-card/capability.yaml +29 -0
- package/runtime/agents/bpo-analyser/agent.yaml +12 -2
- package/runtime/agents/bpo-analyser/knowledge/policies.yaml +2 -2
- package/runtime/agents/data-scientist-analyst/agent.yaml +16 -4
- package/runtime/agents/data-scientist-analyst/capabilities/generate-data-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/generate-reconciliation-report/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/capabilities/run-data-pipeline/capability.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/infra/integrations/agent-bridge/methods/analyze-sql-source.yaml +1 -1
- package/runtime/agents/data-scientist-analyst/knowledge/policies.yaml +4 -4
- package/runtime/agents/data-scientist-analyst/knowledge/system.md +1 -1
- package/runtime/agents/data-scientist-analyst/tests/test_runners.py +1 -1
- package/runtime/agents/database-change-operator/agent.yaml +12 -1
- package/runtime/agents/docker-container-builder/AGENTS.md +27 -0
- package/runtime/agents/docker-container-builder/README.md +21 -0
- package/runtime/agents/docker-container-builder/agent.yaml +52 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/analyze-containerization-target/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-compose/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/capability.yaml +20 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/decision-rules.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/runner.py +38 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-container-project-files/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/generate-dockerfile/workflow.md +7 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/capability.yaml +18 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/runner.py +32 -0
- package/runtime/agents/docker-container-builder/capabilities/plan-image-build/workflow.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/capability.yaml +21 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/decision-rules.md +6 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/runner.py +43 -0
- package/runtime/agents/docker-container-builder/capabilities/review-docker-security/workflow.md +5 -0
- package/runtime/agents/docker-container-builder/infra/integrations/docker-container/docker_container_repository.py +837 -0
- package/runtime/agents/docker-container-builder/knowledge/context.md +21 -0
- package/runtime/agents/docker-container-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/docker-container-builder/knowledge/system.md +21 -0
- package/runtime/agents/docker-container-builder/templates/container-plan.md +4 -0
- package/runtime/agents/docker-container-builder/templates/container-review.md +4 -0
- package/runtime/agents/docker-container-builder/templates/docker-compose.md +5 -0
- package/runtime/agents/docker-container-builder/templates/docker-readme.md +3 -0
- package/runtime/agents/docker-container-builder/templates/dockerfile.md +5 -0
- package/runtime/agents/docker-container-builder/tests/test_runners.py +255 -0
- package/runtime/agents/drawio-diagram-builder/agent.yaml +11 -2
- package/runtime/agents/drawio-diagram-builder/capabilities/execute-diagram-delivery/capability.yaml +1 -1
- package/runtime/agents/drawio-diagram-builder/capabilities/read-azure-card-context/capability.yaml +1 -1
- package/runtime/agents/elasticsearch-log-analyzer/agent.yaml +14 -2
- package/runtime/agents/elasticsearch-log-analyzer/capabilities/analyze-service-errors/capability.yaml +14 -0
- package/runtime/agents/excel-workbook-builder/agent.yaml +10 -0
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template/workflow.md +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/generate-template-input-file/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/capability.yaml +1 -2
- package/runtime/agents/excel-workbook-builder/capabilities/register-template/workflow.md +1 -1
- package/runtime/agents/execution-loop-builder/AGENTS.md +24 -0
- package/runtime/agents/execution-loop-builder/README.md +19 -0
- package/runtime/agents/execution-loop-builder/agent.yaml +49 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/capability.yaml +20 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/runner.py +38 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-project-files/workflow.md +7 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/decision-rules.md +5 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/generate-loop-runner/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/capability.yaml +18 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/runner.py +32 -0
- package/runtime/agents/execution-loop-builder/capabilities/plan-execution-loop/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/runner.py +36 -0
- package/runtime/agents/execution-loop-builder/capabilities/register-loop-task/workflow.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/capability.yaml +19 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/decision-rules.md +6 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/runner.py +39 -0
- package/runtime/agents/execution-loop-builder/capabilities/review-loop-safety/workflow.md +5 -0
- package/runtime/agents/execution-loop-builder/infra/integrations/execution-loop/execution_loop_repository.py +608 -0
- package/runtime/agents/execution-loop-builder/knowledge/context.md +26 -0
- package/runtime/agents/execution-loop-builder/knowledge/policies.yaml +13 -0
- package/runtime/agents/execution-loop-builder/knowledge/system.md +19 -0
- package/runtime/agents/execution-loop-builder/templates/loop-plan.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-readme.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-review.md +3 -0
- package/runtime/agents/execution-loop-builder/templates/loop-runner.py +2 -0
- package/runtime/agents/execution-loop-builder/tests/test_runners.py +274 -0
- package/runtime/agents/execution-reviewer/agent.yaml +6 -4
- package/runtime/agents/execution-reviewer/capabilities/review-agent-result/capability.yaml +1 -2
- package/runtime/agents/execution-reviewer/capabilities/review-final-output/capability.yaml +1 -2
- package/runtime/agents/execution-reviewer/capabilities/review-plan/capability.yaml +1 -2
- package/runtime/agents/figma-ui-ux-product-designer/agent.yaml +17 -5
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/analyze-product-context/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-interview/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/conduct-design-review-session/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-dev-handoff/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/generate-user-journey-diagram/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/ingest-design-source/capability.yaml +1 -1
- package/runtime/agents/figma-ui-ux-product-designer/capabilities/triage-design-feedback/capability.yaml +1 -1
- package/runtime/agents/generic-agent-builder/AGENTS.md +20 -0
- package/runtime/agents/generic-agent-builder/README.md +40 -0
- package/runtime/agents/generic-agent-builder/agent.yaml +43 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-agent-instructions/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/runner.py +39 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-project-agent-files/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/decision-rules.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/generate-skill/workflow.md +5 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/capability.yaml +18 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/runner.py +33 -0
- package/runtime/agents/generic-agent-builder/capabilities/plan-generic-agent/workflow.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/capability.yaml +20 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/decision-rules.md +6 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/runner.py +40 -0
- package/runtime/agents/generic-agent-builder/capabilities/review-generic-agent/workflow.md +7 -0
- package/runtime/agents/generic-agent-builder/infra/integrations/generic-agent/generic_agent_repository.py +445 -0
- package/runtime/agents/generic-agent-builder/knowledge/context.md +11 -0
- package/runtime/agents/generic-agent-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/generic-agent-builder/knowledge/system.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-agent-instructions.md +17 -0
- package/runtime/agents/generic-agent-builder/templates/generic-review-report.md +13 -0
- package/runtime/agents/generic-agent-builder/templates/generic-skill.md +14 -0
- package/runtime/agents/generic-agent-builder/tests/test_runners.py +220 -0
- package/runtime/agents/github-pr-reviewer/agent.yaml +17 -5
- package/runtime/agents/github-pr-reviewer/capabilities/create-review-automation/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/inspect-pr/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/list-review-requests/capability.yaml +1 -1
- package/runtime/agents/github-pr-reviewer/capabilities/review-pr-diff/capability.yaml +1 -1
- package/runtime/agents/knowledge-generator/agent.yaml +13 -3
- package/runtime/agents/knowledge-generator/capabilities/generate-knowledge/capability.yaml +1 -1
- package/runtime/agents/local-llm-operator/agent.yaml +6 -4
- package/runtime/agents/local-llm-operator/capabilities/delegate-operational-task/capability.yaml +1 -2
- package/runtime/agents/local-llm-operator/capabilities/inspect-local-models/capability.yaml +1 -2
- package/runtime/agents/local-llm-operator/capabilities/select-local-worker/capability.yaml +1 -2
- package/runtime/agents/n1-support-agent/agent.yaml +40 -1
- package/runtime/agents/n2-support-agent/agent.yaml +41 -2
- package/runtime/agents/n2-support-agent/knowledge/policies.yaml +2 -2
- package/runtime/agents/notification-operator/AGENTS.md +11 -0
- package/runtime/agents/notification-operator/README.md +15 -0
- package/runtime/agents/notification-operator/agent.yaml +43 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/capability.yaml +19 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/runner.py +33 -0
- package/runtime/agents/notification-operator/capabilities/configure-notification-channel/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/capability.yaml +25 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/decision-rules.md +7 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/runner.py +49 -0
- package/runtime/agents/notification-operator/capabilities/format-task-completion-notification/workflow.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/capability.yaml +27 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/decision-rules.md +6 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/runner.py +68 -0
- package/runtime/agents/notification-operator/capabilities/send-task-completion-notification/workflow.md +7 -0
- package/runtime/agents/notification-operator/infra/README.md +6 -0
- package/runtime/agents/notification-operator/knowledge/context.md +10 -0
- package/runtime/agents/notification-operator/knowledge/policies.yaml +9 -0
- package/runtime/agents/notification-operator/knowledge/system.md +7 -0
- package/runtime/agents/notification-operator/templates/README.md +6 -0
- package/runtime/agents/notification-operator/tests/test_runners.py +108 -0
- package/runtime/agents/playwright-automation-builder/AGENTS.md +23 -0
- package/runtime/agents/playwright-automation-builder/README.md +43 -0
- package/runtime/agents/playwright-automation-builder/agent.yaml +48 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/capability.yaml +20 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/runner.py +38 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-project-files/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/generate-playwright-script/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/capability.yaml +18 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/runner.py +32 -0
- package/runtime/agents/playwright-automation-builder/capabilities/plan-playwright-automation/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/capability.yaml +19 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/runner.py +33 -0
- package/runtime/agents/playwright-automation-builder/capabilities/review-playwright-artifacts/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/runner.py +40 -0
- package/runtime/agents/playwright-automation-builder/capabilities/run-playwright-check/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/capability.yaml +22 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/decision-rules.md +6 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/runner.py +42 -0
- package/runtime/agents/playwright-automation-builder/capabilities/wrap-playwright-as-capability/workflow.md +6 -0
- package/runtime/agents/playwright-automation-builder/infra/integrations/playwright-automation/playwright_automation_repository.py +865 -0
- package/runtime/agents/playwright-automation-builder/knowledge/context.md +19 -0
- package/runtime/agents/playwright-automation-builder/knowledge/policies.yaml +25 -0
- package/runtime/agents/playwright-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/playwright-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-automation.py +12 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-readme.md +13 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-review-report.md +9 -0
- package/runtime/agents/playwright-automation-builder/templates/playwright-test.py +2 -0
- package/runtime/agents/playwright-automation-builder/tests/test_runners.py +261 -0
- package/runtime/agents/postgres-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/presentation-deck-builder/agent.yaml +14 -3
- package/runtime/agents/presentation-deck-builder/capabilities/create-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/create-template-version/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/generate-template-input-file/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/refine-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/capabilities/register-template/capability.yaml +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/create-template.md +1 -1
- package/runtime/agents/presentation-deck-builder/knowledge/prompts/generate-template-input-file.md +1 -1
- package/runtime/agents/provider-configurator/agent.yaml +6 -4
- package/runtime/agents/provider-configurator/capabilities/collect-provider-credentials/capability.yaml +1 -2
- package/runtime/agents/provider-configurator/capabilities/configure-provider-source/capability.yaml +1 -2
- package/runtime/agents/provider-configurator/capabilities/validate-provider-readiness/capability.yaml +1 -2
- package/runtime/agents/pyautogui-automation-builder/AGENTS.md +32 -0
- package/runtime/agents/pyautogui-automation-builder/README.md +44 -0
- package/runtime/agents/pyautogui-automation-builder/agent.yaml +45 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/runner.py +39 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-project-files/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/decision-rules.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/generate-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/capability.yaml +18 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/runner.py +33 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/plan-desktop-automation/workflow.md +9 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/capability.yaml +20 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/decision-rules.md +8 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/review-pyautogui-script/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/capability.yaml +22 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/decision-rules.md +6 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/runner.py +43 -0
- package/runtime/agents/pyautogui-automation-builder/capabilities/wrap-pyautogui-as-capability/workflow.md +7 -0
- package/runtime/agents/pyautogui-automation-builder/infra/integrations/pyautogui-automation/pyautogui_automation_repository.py +856 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/context.md +17 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/policies.yaml +24 -0
- package/runtime/agents/pyautogui-automation-builder/knowledge/system.md +13 -0
- package/runtime/agents/pyautogui-automation-builder/templates/capability-wrapper.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-automation.py +12 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-readme.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-review-report.md +3 -0
- package/runtime/agents/pyautogui-automation-builder/templates/pyautogui-test.py +2 -0
- package/runtime/agents/pyautogui-automation-builder/tests/test_runners.py +376 -0
- package/runtime/agents/python-automation-builder/AGENTS.md +25 -0
- package/runtime/agents/python-automation-builder/README.md +43 -0
- package/runtime/agents/python-automation-builder/agent.yaml +45 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/runner.py +39 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-automation-project-files/workflow.md +7 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/decision-rules.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/generate-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/capability.yaml +18 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/runner.py +33 -0
- package/runtime/agents/python-automation-builder/capabilities/plan-python-automation/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/capability.yaml +20 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/review-python-automation/workflow.md +5 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/capability.yaml +22 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/decision-rules.md +6 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/runner.py +43 -0
- package/runtime/agents/python-automation-builder/capabilities/wrap-automation-as-capability/workflow.md +6 -0
- package/runtime/agents/python-automation-builder/infra/integrations/python-automation/python_automation_repository.py +717 -0
- package/runtime/agents/python-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/python-automation-builder/knowledge/policies.yaml +12 -0
- package/runtime/agents/python-automation-builder/knowledge/system.md +19 -0
- package/runtime/agents/python-automation-builder/templates/automation-readme.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-review-report.md +13 -0
- package/runtime/agents/python-automation-builder/templates/automation-test.py +9 -0
- package/runtime/agents/python-automation-builder/templates/automation.py +19 -0
- package/runtime/agents/python-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/python-automation-builder/tests/test_runners.py +292 -0
- package/runtime/agents/selenium-automation-builder/AGENTS.md +27 -0
- package/runtime/agents/selenium-automation-builder/README.md +40 -0
- package/runtime/agents/selenium-automation-builder/agent.yaml +45 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/runner.py +39 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-project-files/workflow.md +7 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/generate-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/capability.yaml +18 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/runner.py +33 -0
- package/runtime/agents/selenium-automation-builder/capabilities/plan-selenium-automation/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/capability.yaml +20 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/runner.py +40 -0
- package/runtime/agents/selenium-automation-builder/capabilities/review-selenium-script/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/capability.yaml +22 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/decision-rules.md +6 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/runner.py +43 -0
- package/runtime/agents/selenium-automation-builder/capabilities/wrap-selenium-as-capability/workflow.md +6 -0
- package/runtime/agents/selenium-automation-builder/infra/integrations/selenium-automation/selenium_automation_repository.py +793 -0
- package/runtime/agents/selenium-automation-builder/knowledge/context.md +15 -0
- package/runtime/agents/selenium-automation-builder/knowledge/policies.yaml +17 -0
- package/runtime/agents/selenium-automation-builder/knowledge/system.md +18 -0
- package/runtime/agents/selenium-automation-builder/templates/capability-wrapper.md +4 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-automation.py +20 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-readme.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-review-report.md +13 -0
- package/runtime/agents/selenium-automation-builder/templates/selenium-test.py +9 -0
- package/runtime/agents/selenium-automation-builder/tests/test_runners.py +282 -0
- package/runtime/agents/software-specification-analyst/agent.yaml +17 -4
- package/runtime/agents/software-specification-analyst/capabilities/analyze-multiple-projects/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/analyze-project-context/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/conduct-requirements-interview/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-complete-spec/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-final-spec-from-analysis/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/create-functional-spec/capability.yaml +11 -0
- package/runtime/agents/software-specification-analyst/capabilities/create-technical-spec/capability.yaml +12 -0
- package/runtime/agents/software-specification-analyst/capabilities/refine-analysis-with-feedback/capability.yaml +1 -1
- package/runtime/agents/software-specification-analyst/capabilities/write-user-stories/capability.yaml +12 -0
- package/runtime/agents/sqlserver-change-operator/agent.yaml +12 -1
- package/runtime/agents/sqlserver-data-analyzer/agent.yaml +13 -2
- package/runtime/agents/supabase-project-analyst/AGENTS.md +29 -0
- package/runtime/agents/supabase-project-analyst/README.md +23 -0
- package/runtime/agents/supabase-project-analyst/agent.yaml +53 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-auth-security/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-rls-policies/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/decision-rules.md +5 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/audit-storage-policies/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/generate-supabase-report/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/capability.yaml +19 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/runner.py +36 -0
- package/runtime/agents/supabase-project-analyst/capabilities/inspect-supabase-project/workflow.md +7 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/plan-supabase-fix/workflow.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/capability.yaml +18 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/decision-rules.md +6 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/runner.py +32 -0
- package/runtime/agents/supabase-project-analyst/capabilities/review-migrations/workflow.md +5 -0
- package/runtime/agents/supabase-project-analyst/infra/integrations/supabase-project/supabase_project_repository.py +589 -0
- package/runtime/agents/supabase-project-analyst/knowledge/context.md +11 -0
- package/runtime/agents/supabase-project-analyst/knowledge/policies.yaml +24 -0
- package/runtime/agents/supabase-project-analyst/knowledge/system.md +10 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-audit.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-fix-plan.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-inspection.md +3 -0
- package/runtime/agents/supabase-project-analyst/templates/supabase-report.md +3 -0
- package/runtime/agents/supabase-project-analyst/tests/test_runners.py +239 -0
- package/runtime/agents/task-orchestrator/agent.yaml +25 -3
- package/runtime/agents/task-orchestrator/capabilities/plan-task/capability.yaml +1 -2
- package/runtime/agents/task-orchestrator/capabilities/select-specialists/capability.yaml +1 -2
- package/runtime/agents/technical-integration-analyst/agent.yaml +15 -2
- package/runtime/agents/topdesk-orchestrator/agent.yaml +10 -2
- package/runtime/cli/aikit/__init__.py +1 -1
- package/runtime/cli/aikit/acceptance.py +166 -0
- package/runtime/cli/aikit/agent_executor.py +26 -3
- package/runtime/cli/aikit/agent_registry.py +244 -5
- package/runtime/cli/aikit/architecture.py +84 -0
- package/runtime/cli/aikit/audit.py +172 -3
- package/runtime/cli/aikit/autonomy.py +237 -0
- package/runtime/cli/aikit/capability_runtime.py +522 -0
- package/runtime/cli/aikit/catalog.py +246 -0
- package/runtime/cli/aikit/cli_dispatch.py +1078 -0
- package/runtime/cli/aikit/cli_parser.py +409 -0
- package/runtime/cli/aikit/collaboration.py +359 -0
- package/runtime/cli/aikit/configuration_orchestrator.py +52 -26
- package/runtime/cli/aikit/contribution.py +105 -0
- package/runtime/cli/aikit/core/__init__.py +1 -0
- package/runtime/cli/aikit/core/capability_contract.py +112 -0
- package/runtime/cli/aikit/core/requests.py +69 -0
- package/runtime/cli/aikit/core/runtime.py +64 -0
- package/runtime/cli/aikit/diagnostics.py +8 -2
- package/runtime/cli/aikit/doctor_runtime.py +79 -0
- package/runtime/cli/aikit/errors.py +7 -0
- package/runtime/cli/aikit/eval.py +158 -0
- package/runtime/cli/aikit/execution_reviewer.py +21 -0
- package/runtime/cli/aikit/extensions.py +140 -0
- package/runtime/cli/aikit/fallback.py +1 -0
- package/runtime/cli/aikit/github_pr.py +23 -0
- package/runtime/cli/aikit/guardrails.py +25 -10
- package/runtime/cli/aikit/human_output.py +1026 -0
- package/runtime/cli/aikit/impact_map.py +294 -0
- package/runtime/cli/aikit/interactive_wizard.py +79 -0
- package/runtime/cli/aikit/local_llm_operator.py +35 -1
- package/runtime/cli/aikit/main.py +9 -2834
- package/runtime/cli/aikit/mcp_manifest.py +229 -0
- package/runtime/cli/aikit/mcp_server.py +132 -0
- package/runtime/cli/aikit/mcp_tools.py +262 -0
- package/runtime/cli/aikit/mini_brain.py +227 -0
- package/runtime/cli/aikit/model_router.py +182 -18
- package/runtime/cli/aikit/module_controller.py +335 -0
- package/runtime/cli/aikit/natural_prompt_runtime.py +538 -0
- package/runtime/cli/aikit/notifications.py +716 -2
- package/runtime/cli/aikit/ollama.py +1 -0
- package/runtime/cli/aikit/orchestrator.py +809 -119
- package/runtime/cli/aikit/output.py +63 -2
- package/runtime/cli/aikit/permissions.py +14 -4
- package/runtime/cli/aikit/prompt_injection.py +57 -0
- package/runtime/cli/aikit/review_gate.py +38 -6
- package/runtime/cli/aikit/roadmap.py +195 -0
- package/runtime/cli/aikit/roadmap_cli.py +70 -0
- package/runtime/cli/aikit/router.py +41 -12
- package/runtime/cli/aikit/router_explain.py +152 -0
- package/runtime/cli/aikit/runtime_paths.py +11 -0
- package/runtime/cli/aikit/secrets.py +113 -0
- package/runtime/cli/aikit/sessions.py +88 -2
- package/runtime/cli/aikit/setup_wizard_payload.py +32 -0
- package/runtime/cli/aikit/sources.py +298 -50
- package/runtime/cli/aikit/tasks.py +449 -21
- package/runtime/cli/aikit/wizard_state.py +15 -1
- package/runtime/cli/aikit/workflows.py +115 -0
- package/runtime/cli/aikit/write_policy.py +108 -0
- package/runtime/plugins/claude-code-ai-devkit/README.md +17 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/README.md +29 -2
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-db-analyst.md +44 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-execution-reviewer.md +38 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-pr-reviewer.md +42 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-repo-explorer.md +40 -0
- package/runtime/plugins/claude-code-ai-devkit/agents/agent-devkit-support-triage.md +43 -0
- package/runtime/plugins/claude-code-ai-devkit/plugin.json +1 -1
- package/runtime/plugins/claude-code-ai-devkit/skills/ai-devkit-router/SKILL.md +16 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/SKILL.md +1 -0
- package/runtime/plugins/claude-skill-ai-devkit/ai-devkit/references/subagents.md +21 -0
- package/runtime/plugins/claude-skill-ai-devkit/plugin.json +1 -1
- package/runtime/providers/azure-devops.yaml +9 -0
- package/runtime/providers/github.yaml +4 -0
- package/runtime/providers/local-notification.yaml +5 -2
- package/runtime/providers/local-scheduler.yaml +1 -1
- package/runtime/providers/supabase.yaml +46 -0
- package/runtime/scripts/release-catalog-snapshot.json +543 -0
- package/runtime/scripts/release-gate.py +141 -1
- package/runtime/scripts/validate-repo.py +312 -0
- package/runtime/vendor/skills/napkin/napkin.md +15 -9
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
"""Argument parser for the public Agent DevKit CLI."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
DETERMINISTIC_COMMANDS = (
|
|
9
|
+
"architecture",
|
|
10
|
+
"roadmap",
|
|
11
|
+
"catalog",
|
|
12
|
+
"route",
|
|
13
|
+
"eval",
|
|
14
|
+
"secrets",
|
|
15
|
+
"agents",
|
|
16
|
+
"capabilities",
|
|
17
|
+
"inspect",
|
|
18
|
+
"run",
|
|
19
|
+
"doctor",
|
|
20
|
+
"commands",
|
|
21
|
+
"llm",
|
|
22
|
+
"providers",
|
|
23
|
+
"provider",
|
|
24
|
+
"credential",
|
|
25
|
+
"source",
|
|
26
|
+
"memory",
|
|
27
|
+
"personality",
|
|
28
|
+
"setup",
|
|
29
|
+
"alias",
|
|
30
|
+
"session",
|
|
31
|
+
"toolchain",
|
|
32
|
+
"task",
|
|
33
|
+
"scheduler",
|
|
34
|
+
"notifications",
|
|
35
|
+
"calendar",
|
|
36
|
+
"pr",
|
|
37
|
+
"permissions",
|
|
38
|
+
"audit",
|
|
39
|
+
"config",
|
|
40
|
+
"tools",
|
|
41
|
+
"integrations",
|
|
42
|
+
"skills",
|
|
43
|
+
"decisions",
|
|
44
|
+
"ollama",
|
|
45
|
+
"mcp",
|
|
46
|
+
"local",
|
|
47
|
+
"workflow",
|
|
48
|
+
"contribute",
|
|
49
|
+
"contribution",
|
|
50
|
+
"install",
|
|
51
|
+
"wizard",
|
|
52
|
+
)
|
|
53
|
+
LLM_COMMANDS = ("agent",)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def build_parser(prog: str | None = None) -> argparse.ArgumentParser:
|
|
57
|
+
parser = argparse.ArgumentParser(
|
|
58
|
+
prog=prog or "aikit",
|
|
59
|
+
description="AI DevKit CLI",
|
|
60
|
+
)
|
|
61
|
+
parser.add_argument("--json", action="store_true", help="print machine-readable JSON")
|
|
62
|
+
parser.add_argument("--dry-run", dest="global_dry_run", action="store_true", help="show execution plan without external write effects")
|
|
63
|
+
parser.add_argument("-v", "--version", action="store_true", help="print CLI version and exit")
|
|
64
|
+
parser.add_argument(
|
|
65
|
+
"-s",
|
|
66
|
+
"--sessions",
|
|
67
|
+
dest="sessions_shortcut",
|
|
68
|
+
action="store_true",
|
|
69
|
+
help="list local conversation sessions and exit",
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
subparsers = parser.add_subparsers(dest="command")
|
|
73
|
+
|
|
74
|
+
agent_parser = subparsers.add_parser(
|
|
75
|
+
"agent",
|
|
76
|
+
help="handle a natural-language task using an LLM backend",
|
|
77
|
+
)
|
|
78
|
+
agent_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
79
|
+
agent_parser.add_argument("--llm", help="LLM backend id to use")
|
|
80
|
+
agent_parser.add_argument("--dry-run", action="store_true", help="show execution plan without invoking LLM or external writes")
|
|
81
|
+
agent_parser.add_argument("--no-llm-fallback", action="store_true", help="disable automatic fallback to secondary LLM backends")
|
|
82
|
+
agent_parser.add_argument("--session", dest="session_id", help="resume a local conversation session")
|
|
83
|
+
agent_parser.add_argument("--new-session", action="store_true", help="start a new local conversation session")
|
|
84
|
+
agent_parser.add_argument("prompt", nargs=argparse.REMAINDER)
|
|
85
|
+
|
|
86
|
+
commands_parser = subparsers.add_parser("commands", help="list CLI command modes")
|
|
87
|
+
commands_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
88
|
+
commands_parser.add_argument("action", nargs="?", default="list", choices=["list"])
|
|
89
|
+
|
|
90
|
+
architecture_parser = subparsers.add_parser("architecture", help="show the Agent DevKit architecture contract")
|
|
91
|
+
architecture_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
92
|
+
architecture_parser.add_argument("action", nargs="?", default="show", choices=["show"])
|
|
93
|
+
|
|
94
|
+
roadmap_parser = subparsers.add_parser("roadmap", help="show the deterministic Agent DevKit roadmap")
|
|
95
|
+
roadmap_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
96
|
+
roadmap_parser.add_argument("action", nargs="?", default="show", choices=["show", "phase", "problem"])
|
|
97
|
+
roadmap_parser.add_argument("target", nargs="?")
|
|
98
|
+
|
|
99
|
+
catalog_parser = subparsers.add_parser("catalog", help="search and inspect the Agent DevKit catalog")
|
|
100
|
+
catalog_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
101
|
+
catalog_parser.add_argument("action", nargs="?", default="list", choices=["list", "search", "show"])
|
|
102
|
+
catalog_parser.add_argument("query", nargs="?")
|
|
103
|
+
|
|
104
|
+
route_parser = subparsers.add_parser("route", help="explain deterministic routing without execution")
|
|
105
|
+
route_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
106
|
+
route_parser.add_argument("action", nargs="?", default="explain", choices=["explain"])
|
|
107
|
+
route_parser.add_argument("prompt", nargs="*")
|
|
108
|
+
|
|
109
|
+
eval_parser = subparsers.add_parser("eval", help="run deterministic Agent DevKit eval suites")
|
|
110
|
+
eval_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
111
|
+
eval_parser.add_argument("action", nargs="?", default="list", choices=["list", "run", "report"])
|
|
112
|
+
eval_parser.add_argument("suite", nargs="?")
|
|
113
|
+
|
|
114
|
+
secrets_parser = subparsers.add_parser("secrets", help="diagnose secret backends and safe references")
|
|
115
|
+
secrets_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
116
|
+
secrets_parser.add_argument("action", nargs="?", default="doctor", choices=["doctor", "backends", "reference"])
|
|
117
|
+
secrets_parser.add_argument("reference_action", nargs="?", choices=["add", "list", "remove"])
|
|
118
|
+
secrets_parser.add_argument("provider", nargs="?")
|
|
119
|
+
secrets_parser.add_argument("key", nargs="?")
|
|
120
|
+
secrets_parser.add_argument("--env", dest="env")
|
|
121
|
+
|
|
122
|
+
providers_parser = subparsers.add_parser("providers", help="list provider registry entries")
|
|
123
|
+
providers_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
124
|
+
providers_parser.add_argument("action", nargs="?", default="list", choices=["list"])
|
|
125
|
+
|
|
126
|
+
provider_parser = subparsers.add_parser("provider", help="inspect or configure one provider")
|
|
127
|
+
provider_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
128
|
+
provider_parser.add_argument("--env-file", action="append", default=[], help="credential env/JSON/YAML file to inspect without printing values")
|
|
129
|
+
provider_parser.add_argument("--env", action="append", default=[], help="persist an environment variable reference for provider configuration")
|
|
130
|
+
provider_parser.add_argument("--from-env", action="store_true", help="persist references for provider fields found in the current environment")
|
|
131
|
+
provider_parser.add_argument("--session-only", action="store_true", help="validate configuration for this invocation without writing config")
|
|
132
|
+
provider_parser.add_argument("action", nargs="?", default="status", choices=["status", "doctor", "configure", "unset"])
|
|
133
|
+
provider_parser.add_argument("provider", nargs="?")
|
|
134
|
+
|
|
135
|
+
credential_parser = subparsers.add_parser("credential", help="resolve provider credentials without exposing values")
|
|
136
|
+
credential_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
137
|
+
credential_parser.add_argument("--env-file", action="append", default=[], help="credential env/JSON/YAML file to inspect")
|
|
138
|
+
credential_parser.add_argument("action", nargs="?", default="resolve", choices=["resolve", "backends"])
|
|
139
|
+
credential_parser.add_argument("provider", nargs="?")
|
|
140
|
+
|
|
141
|
+
source_parser = subparsers.add_parser("source", help="manage reusable provider/project sources")
|
|
142
|
+
source_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
143
|
+
source_parser.add_argument("action", nargs="?", default="list", choices=["list", "add", "status", "remove"])
|
|
144
|
+
source_parser.add_argument("source_id", nargs="?")
|
|
145
|
+
source_parser.add_argument("--provider", help="provider id used by this source")
|
|
146
|
+
source_parser.add_argument("--label", help="human-readable source label")
|
|
147
|
+
source_parser.add_argument("--config", action="append", default=[], help="source config as KEY=VALUE")
|
|
148
|
+
source_parser.add_argument("--env", action="append", default=[], help="environment reference as PROVIDER_ENV=LOCAL_ENV")
|
|
149
|
+
source_parser.add_argument("--env-file", action="append", default=[], help="credential file reference")
|
|
150
|
+
source_parser.add_argument("--default-for", action="append", default=[], help="intent that should use this source by default")
|
|
151
|
+
source_parser.add_argument("--default-for-agent", action="append", default=[], help="agent id that should use this source by default")
|
|
152
|
+
source_parser.add_argument("--set-default", action="store_true", help="set as default source for its provider")
|
|
153
|
+
|
|
154
|
+
wizard_parser = subparsers.add_parser("wizard", help="continue agentic setup wizards")
|
|
155
|
+
wizard_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
156
|
+
wizard_parser.add_argument("action", nargs="?", default="list", choices=["list", "show", "answer", "cancel"])
|
|
157
|
+
wizard_parser.add_argument("wizard_id", nargs="?")
|
|
158
|
+
wizard_parser.add_argument("answer", nargs="*")
|
|
159
|
+
wizard_parser.add_argument("--status", help="filter wizard list by status")
|
|
160
|
+
wizard_parser.add_argument("--no-run", action="store_true", help="do not resume the original prompt after completing a wizard")
|
|
161
|
+
|
|
162
|
+
memory_parser = subparsers.add_parser("memory", help="inspect or reset local AI DevKit memory")
|
|
163
|
+
memory_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
164
|
+
memory_parser.add_argument("action", nargs="?", default="show", choices=["show", "path", "reset"])
|
|
165
|
+
memory_parser.add_argument("--agent", dest="agent_id")
|
|
166
|
+
memory_parser.add_argument("--source", dest="source_id")
|
|
167
|
+
memory_parser.add_argument("--all", action="store_true", help="reset all local memory")
|
|
168
|
+
memory_parser.add_argument("--sessions", action="store_true", help="reset local conversation sessions")
|
|
169
|
+
memory_parser.add_argument("--tasks", action="store_true", help="reset local task schedules")
|
|
170
|
+
memory_parser.add_argument("--cache", action="store_true", help="reset local cache")
|
|
171
|
+
|
|
172
|
+
personality_parser = subparsers.add_parser("personality", help="inspect or update local Agent DevKit personality")
|
|
173
|
+
personality_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
174
|
+
personality_parser.add_argument("action", nargs="?", default="show", choices=["show", "edit", "reset"])
|
|
175
|
+
personality_parser.add_argument("--name", dest="agent_name", help="public agent name")
|
|
176
|
+
personality_parser.add_argument("--user-name", help="user name")
|
|
177
|
+
personality_parser.add_argument("--language", help="default response language")
|
|
178
|
+
personality_parser.add_argument("--tone", help="response tone")
|
|
179
|
+
personality_parser.add_argument("--detail-level", help="response detail level")
|
|
180
|
+
|
|
181
|
+
setup_parser = subparsers.add_parser("setup", help="run setup helpers")
|
|
182
|
+
setup_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
183
|
+
setup_parser.add_argument("--dry-run", action="store_true", help="show setup plan without installing external tools")
|
|
184
|
+
setup_parser.add_argument("--yes", action="store_true", help="confirm setup actions")
|
|
185
|
+
setup_parser.add_argument("--set-default", action="store_true", help="make the mini-brain Ollama backend the default LLM")
|
|
186
|
+
setup_parser.add_argument("action", nargs="?", default="plan", choices=["plan", "personality", "mini-brain"])
|
|
187
|
+
|
|
188
|
+
alias_parser = subparsers.add_parser("alias", help="manage local command aliases for agent")
|
|
189
|
+
alias_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
190
|
+
alias_parser.add_argument("action", nargs="?", default="list", choices=["add", "list", "remove", "sync"])
|
|
191
|
+
alias_parser.add_argument("name", nargs="?")
|
|
192
|
+
alias_parser.add_argument("--force", action="store_true", help="allow replacing an existing local alias file")
|
|
193
|
+
|
|
194
|
+
session_parser = subparsers.add_parser("session", help="manage local conversation sessions")
|
|
195
|
+
session_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
196
|
+
session_parser.add_argument("action", nargs="?", default="list", choices=["list", "show", "resume"])
|
|
197
|
+
session_parser.add_argument("session_id", nargs="?")
|
|
198
|
+
|
|
199
|
+
toolchain_parser = subparsers.add_parser("toolchain", help="inspect or install external tools")
|
|
200
|
+
toolchain_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
201
|
+
toolchain_parser.add_argument("action", nargs="?", default="list", choices=["list", "doctor", "install"])
|
|
202
|
+
toolchain_parser.add_argument("tool", nargs="?", default="all")
|
|
203
|
+
toolchain_parser.add_argument("--dry-run", action="store_true", help="show install plan without executing it")
|
|
204
|
+
toolchain_parser.add_argument("--yes", action="store_true", help="confirm external tool installation")
|
|
205
|
+
|
|
206
|
+
task_parser = subparsers.add_parser("task", help="manage local scheduled tasks")
|
|
207
|
+
task_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
208
|
+
task_parser.add_argument("action", nargs="?", default="list", choices=["create", "list", "show", "history", "run", "pause", "resume", "update", "enable", "disable", "delete"])
|
|
209
|
+
task_parser.add_argument("task_id", nargs="?")
|
|
210
|
+
task_parser.add_argument("--title")
|
|
211
|
+
task_parser.add_argument("--prompt")
|
|
212
|
+
task_parser.add_argument("--every")
|
|
213
|
+
task_parser.add_argument("--cron")
|
|
214
|
+
task_parser.add_argument("--dry-run", action="store_true")
|
|
215
|
+
task_parser.add_argument("--yes", action="store_true")
|
|
216
|
+
|
|
217
|
+
scheduler_parser = subparsers.add_parser("scheduler", help="run local scheduler")
|
|
218
|
+
scheduler_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
219
|
+
scheduler_parser.add_argument("action", nargs="?", default="run-once", choices=["run-once", "daemon"])
|
|
220
|
+
scheduler_parser.add_argument("--dry-run", action="store_true")
|
|
221
|
+
|
|
222
|
+
notifications_parser = subparsers.add_parser("notifications", help="manage local notifications")
|
|
223
|
+
notifications_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
224
|
+
notifications_parser.add_argument(
|
|
225
|
+
"action",
|
|
226
|
+
nargs="?",
|
|
227
|
+
default="doctor",
|
|
228
|
+
choices=["doctor", "send", "format", "configure", "configure-channel", "list-events", "list-channels"],
|
|
229
|
+
)
|
|
230
|
+
notifications_parser.add_argument("--title", default="Agent DevKit")
|
|
231
|
+
notifications_parser.add_argument("--message")
|
|
232
|
+
notifications_parser.add_argument("--summary")
|
|
233
|
+
notifications_parser.add_argument("--event", default="task.completed")
|
|
234
|
+
notifications_parser.add_argument("--status")
|
|
235
|
+
notifications_parser.add_argument("--severity", default="info")
|
|
236
|
+
notifications_parser.add_argument("--task-id")
|
|
237
|
+
notifications_parser.add_argument("--origin", default="cli")
|
|
238
|
+
notifications_parser.add_argument("--enabled", choices=["true", "false"])
|
|
239
|
+
notifications_parser.add_argument("--event-filter", action="append", default=[])
|
|
240
|
+
notifications_parser.add_argument("--artifact", action="append", default=[])
|
|
241
|
+
notifications_parser.add_argument("--next-step", action="append", default=[])
|
|
242
|
+
notifications_parser.add_argument("--channel", action="append", default=[])
|
|
243
|
+
notifications_parser.add_argument("--sensitive", action="store_true")
|
|
244
|
+
|
|
245
|
+
calendar_parser = subparsers.add_parser("calendar", help="inspect configured calendar")
|
|
246
|
+
calendar_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
247
|
+
calendar_parser.add_argument("action", nargs="?", default="today", choices=["today", "tomorrow", "list", "configure"])
|
|
248
|
+
calendar_parser.add_argument("--from", dest="date_from")
|
|
249
|
+
calendar_parser.add_argument("--to", dest="date_to")
|
|
250
|
+
calendar_parser.add_argument("--ics")
|
|
251
|
+
calendar_parser.add_argument("--timezone")
|
|
252
|
+
|
|
253
|
+
pr_parser = subparsers.add_parser("pr", help="review GitHub pull requests")
|
|
254
|
+
pr_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
255
|
+
pr_parser.add_argument("action", nargs="?", default="list-review-requests", choices=["list-review-requests", "inspect", "review", "automation"])
|
|
256
|
+
pr_parser.add_argument("pr_ref", nargs="?")
|
|
257
|
+
pr_parser.add_argument("automation_action", nargs="?")
|
|
258
|
+
pr_parser.add_argument("--approve", action="store_true")
|
|
259
|
+
pr_parser.add_argument("--request-changes", action="store_true")
|
|
260
|
+
pr_parser.add_argument("--comment")
|
|
261
|
+
pr_parser.add_argument("--allow-write", action="store_true")
|
|
262
|
+
pr_parser.add_argument("--dry-run", action="store_true")
|
|
263
|
+
pr_parser.add_argument("--time", default="09:00")
|
|
264
|
+
|
|
265
|
+
permissions_parser = subparsers.add_parser("permissions", help="manage local permission policies")
|
|
266
|
+
permissions_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
267
|
+
permissions_parser.add_argument("action", nargs="?", default="show", choices=["show", "grant", "revoke"])
|
|
268
|
+
permissions_parser.add_argument("agent", nargs="?")
|
|
269
|
+
permissions_parser.add_argument("provider", nargs="?")
|
|
270
|
+
permissions_parser.add_argument("level", nargs="?")
|
|
271
|
+
permissions_parser.add_argument("--project")
|
|
272
|
+
permissions_parser.add_argument("--task", dest="task_id")
|
|
273
|
+
|
|
274
|
+
audit_parser = subparsers.add_parser("audit", help="inspect local execution audit trail")
|
|
275
|
+
audit_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
276
|
+
audit_parser.add_argument("action", nargs="?", default="list", choices=["list", "show", "export"])
|
|
277
|
+
audit_parser.add_argument("execution_id", nargs="?")
|
|
278
|
+
audit_parser.add_argument("--limit", type=int, default=20)
|
|
279
|
+
audit_parser.add_argument("--format", default="md", choices=["md", "json"])
|
|
280
|
+
|
|
281
|
+
config_parser = subparsers.add_parser("config", help="inspect local Agent DevKit configuration")
|
|
282
|
+
config_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
283
|
+
config_parser.add_argument("action", nargs="?", default="show", choices=["show", "path", "migrate-home"])
|
|
284
|
+
config_parser.add_argument("--dry-run", action="store_true", help="plan home migration without moving files")
|
|
285
|
+
|
|
286
|
+
for command_name, help_text in (
|
|
287
|
+
("tools", "manage enabled local tools"),
|
|
288
|
+
("integrations", "manage provider integration decisions"),
|
|
289
|
+
("skills", "manage local skill decisions"),
|
|
290
|
+
):
|
|
291
|
+
control_parser = subparsers.add_parser(command_name, help=help_text)
|
|
292
|
+
control_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
293
|
+
control_parser.add_argument("action", nargs="?", default="list", choices=["list", "enable", "disable"])
|
|
294
|
+
control_parser.add_argument("item_id", nargs="?")
|
|
295
|
+
|
|
296
|
+
decisions_parser = subparsers.add_parser("decisions", help="inspect or reset local opt-in and opt-out decisions")
|
|
297
|
+
decisions_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
298
|
+
decisions_parser.add_argument("action", nargs="?", default="list", choices=["list", "forget", "reset"])
|
|
299
|
+
decisions_parser.add_argument("item_id", nargs="?")
|
|
300
|
+
decisions_parser.add_argument("--category", choices=["tools", "integrations", "skills", "llms"])
|
|
301
|
+
|
|
302
|
+
mcp_parser = subparsers.add_parser("mcp", help="serve Agent DevKit as a MCP stdio server")
|
|
303
|
+
mcp_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
304
|
+
mcp_parser.add_argument("action", nargs="?", default="manifest", choices=["manifest", "tools", "doctor", "serve"])
|
|
305
|
+
|
|
306
|
+
ollama_parser = subparsers.add_parser("ollama", help="inspect and manage local Ollama models")
|
|
307
|
+
ollama_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
308
|
+
ollama_parser.add_argument("action", nargs="?", default="status", choices=["status", "models", "pull", "update"])
|
|
309
|
+
ollama_parser.add_argument("model", nargs="?")
|
|
310
|
+
ollama_parser.add_argument("--yes", action="store_true", help="confirm Ollama model or update operation")
|
|
311
|
+
ollama_parser.add_argument("--dry-run", action="store_true", help="show Ollama operation without executing it")
|
|
312
|
+
|
|
313
|
+
llm_parser = subparsers.add_parser("llm", help="manage LLM backends")
|
|
314
|
+
llm_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
315
|
+
llm_parser.add_argument(
|
|
316
|
+
"action",
|
|
317
|
+
nargs="?",
|
|
318
|
+
default="list",
|
|
319
|
+
choices=["list", "doctor", "configure", "set-default", "default", "enable", "disable", "preference"],
|
|
320
|
+
)
|
|
321
|
+
llm_parser.add_argument("backend", nargs="?")
|
|
322
|
+
llm_parser.add_argument("preference_value", nargs="?")
|
|
323
|
+
llm_parser.add_argument("--api-key-env", help="environment variable that stores the API key")
|
|
324
|
+
llm_parser.add_argument("--base-url", help="OpenAI-compatible base URL")
|
|
325
|
+
llm_parser.add_argument("--model", help="default model id")
|
|
326
|
+
llm_parser.add_argument("--command", dest="host_command", help="host CLI command name or path")
|
|
327
|
+
llm_parser.add_argument("--set-default", action="store_true", help="set backend as the default LLM")
|
|
328
|
+
llm_parser.add_argument("--primary", help="primary backend for LLM preference")
|
|
329
|
+
llm_parser.add_argument("--order", help="comma-separated fallback order")
|
|
330
|
+
|
|
331
|
+
install_parser = subparsers.add_parser("install", help="install AI DevKit host artifacts")
|
|
332
|
+
install_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
333
|
+
install_parser.add_argument("scope", nargs="?", default="project", choices=["project", "global"])
|
|
334
|
+
install_parser.add_argument("--target", help="project directory for project installs")
|
|
335
|
+
install_parser.add_argument("--home", help="home directory override for global installs")
|
|
336
|
+
install_parser.add_argument(
|
|
337
|
+
"--host",
|
|
338
|
+
default="all",
|
|
339
|
+
choices=["all", "codex", "claude-code", "claude-desktop", "claude-ai"],
|
|
340
|
+
help="host adapter to install",
|
|
341
|
+
)
|
|
342
|
+
install_parser.add_argument("--profiles", help="comma-separated project profiles to record in the lock")
|
|
343
|
+
install_parser.add_argument("--dry-run", action="store_true", help="print planned writes without creating files")
|
|
344
|
+
|
|
345
|
+
agents_parser = subparsers.add_parser("agents", aliases=["a"], help="list, search or inspect available agents")
|
|
346
|
+
agents_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
347
|
+
agents_parser.add_argument("action", nargs="?", default="list", choices=["list", "search", "show"])
|
|
348
|
+
agents_parser.add_argument("query", nargs="?")
|
|
349
|
+
|
|
350
|
+
capabilities_parser = subparsers.add_parser(
|
|
351
|
+
"capabilities",
|
|
352
|
+
aliases=["c"],
|
|
353
|
+
help="list capabilities",
|
|
354
|
+
)
|
|
355
|
+
capabilities_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
356
|
+
capabilities_parser.add_argument("action_or_agent", nargs="?", default="list")
|
|
357
|
+
capabilities_parser.add_argument("legacy_agent", nargs="?")
|
|
358
|
+
capabilities_parser.add_argument("show_capability", nargs="?")
|
|
359
|
+
capabilities_parser.add_argument("--agent", dest="agent")
|
|
360
|
+
|
|
361
|
+
local_parser = subparsers.add_parser("local", help="manage local Agent DevKit extensions")
|
|
362
|
+
local_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
363
|
+
local_parser.add_argument("action", nargs="?", default="list", choices=["list", "add", "disable", "enable", "remove", "validate"])
|
|
364
|
+
local_parser.add_argument("extension_id", nargs="?")
|
|
365
|
+
local_parser.add_argument("--path")
|
|
366
|
+
|
|
367
|
+
workflow_parser = subparsers.add_parser("workflow", help="list, install or run installable workflows")
|
|
368
|
+
workflow_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
369
|
+
workflow_parser.add_argument("action", nargs="?", default="list", choices=["list", "show", "install", "run"])
|
|
370
|
+
workflow_parser.add_argument("workflow_id", nargs="?")
|
|
371
|
+
workflow_parser.add_argument("--dry-run", action="store_true")
|
|
372
|
+
workflow_parser.add_argument("--yes", action="store_true")
|
|
373
|
+
|
|
374
|
+
for contribution_command in ("contribute", "contribution"):
|
|
375
|
+
contribution_parser = subparsers.add_parser(contribution_command, help="prepare or review local extension contributions")
|
|
376
|
+
contribution_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
377
|
+
contribution_parser.add_argument(
|
|
378
|
+
"action",
|
|
379
|
+
nargs="?",
|
|
380
|
+
default="list" if contribution_command == "contribute" else "checklist",
|
|
381
|
+
choices=["list", "prepare", "validate", "review", "checklist"],
|
|
382
|
+
)
|
|
383
|
+
contribution_parser.add_argument("extension_id", nargs="?")
|
|
384
|
+
|
|
385
|
+
inspect_parser = subparsers.add_parser(
|
|
386
|
+
"inspect",
|
|
387
|
+
aliases=["i"],
|
|
388
|
+
help="inspect an agent capability",
|
|
389
|
+
)
|
|
390
|
+
inspect_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
391
|
+
inspect_parser.add_argument("agent")
|
|
392
|
+
inspect_parser.add_argument("capability")
|
|
393
|
+
|
|
394
|
+
run_parser = subparsers.add_parser(
|
|
395
|
+
"run",
|
|
396
|
+
aliases=["r"],
|
|
397
|
+
help="run an agent capability",
|
|
398
|
+
)
|
|
399
|
+
run_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
400
|
+
run_parser.add_argument("agent")
|
|
401
|
+
run_parser.add_argument("capability")
|
|
402
|
+
run_parser.add_argument("capability_args", nargs=argparse.REMAINDER)
|
|
403
|
+
|
|
404
|
+
doctor_parser = subparsers.add_parser("doctor", help="run local diagnostics")
|
|
405
|
+
doctor_parser.add_argument("--json", action="store_true", default=argparse.SUPPRESS, help=argparse.SUPPRESS)
|
|
406
|
+
doctor_parser.add_argument("--scope", default="auto", choices=["auto", "project", "global"], help="diagnostic scope")
|
|
407
|
+
doctor_parser.add_argument("--project", help="project directory whose AI DevKit lock should be checked")
|
|
408
|
+
doctor_parser.add_argument("--home", help="home directory override for global lock checks")
|
|
409
|
+
return parser
|