google-agents-cli 1.12.0__tar.gz → 1.14.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.
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/PKG-INFO +26 -19
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/README.md +4 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/pyproject.toml +38 -23
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_adk_client.py +3 -2
- google_agents_cli-1.14.0/src/google/agents/cli/_auth_hints.py +144 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_click.py +48 -12
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_defaults.py +3 -0
- google_agents_cli-1.14.0/src/google/agents/cli/_download.py +143 -0
- google_agents_cli-1.14.0/src/google/agents/cli/_error_details.py +58 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_experiments.py +2 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_fs.py +13 -1
- google_agents_cli-1.14.0/src/google/agents/cli/_gcloud_auth.py +290 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_gcp_project.py +44 -0
- google_agents_cli-1.14.0/src/google/agents/cli/_local_auth_check.py +214 -0
- google_agents_cli-1.14.0/src/google/agents/cli/_local_build.py +75 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_project.py +60 -17
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_remote.py +65 -8
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_runner.py +13 -0
- google_agents_cli-1.14.0/src/google/agents/cli/_server_process.py +194 -0
- google_agents_cli-1.12.0/src/google/agents/cli/scaffold/utils/symlinks.py → google_agents_cli-1.14.0/src/google/agents/cli/_symlinks.py +57 -16
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_telemetry.py +8 -7
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_tools.py +1 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_uv_index.py +13 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/auth.py +129 -25
- google_agents_cli-1.14.0/src/google/agents/cli/command_center/_app.py +85 -0
- google_agents_cli-1.14.0/src/google/agents/cli/command_center/_child.py +220 -0
- google_agents_cli-1.14.0/src/google/agents/cli/command_center/_proxy.py +268 -0
- google_agents_cli-1.14.0/src/google/agents/cli/command_center/cmd_command_center.py +260 -0
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_agent_identity.py +223 -0
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_agent_runtime_validation.py +269 -0
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_cloud_run_validation.py +473 -0
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_cloud_validation.py +670 -0
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_gke_validation.py +561 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/_operation.py +12 -1
- google_agents_cli-1.14.0/src/google/agents/cli/deploy/_preflight.py +668 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/_utils.py +42 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/agent_runtime.py +381 -85
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/cloud_run.py +307 -50
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/cmd_deploy.py +130 -29
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/gke.py +11 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/dev/cmd_build.py +27 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/dev/cmd_install.py +47 -4
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/dev/cmd_lint.py +56 -16
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/dev/cmd_playground.py +40 -25
- google_agents_cli-1.14.0/src/google/agents/cli/eval/_verdict.py +307 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_generate.py +5 -9
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_grade.py +47 -4
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_run.py +9 -6
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_submit.py +7 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/eval_utils.py +101 -33
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_loader.py +116 -58
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_manifest.py +31 -11
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_overrides.py +13 -6
- google_agents_cli-1.14.0/src/google/agents/cli/extension/_pypi.py +659 -0
- google_agents_cli-1.14.0/src/google/agents/cli/extension/_refs.py +341 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_resolver.py +375 -108
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_skills.py +43 -23
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_spec.py +3 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_sync.py +10 -9
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_trust.py +16 -4
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/cmd_extension_add.py +71 -24
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/cmd_extension_group.py +2 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/cmd_extension_list.py +2 -7
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/cmd_extension_update.py +156 -46
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/info/cmd_info.py +2 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/_cicd_utils.py +10 -1
- google_agents_cli-1.14.0/src/google/agents/cli/infra/cmd_infra_single_project.py +366 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/main.py +27 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/publish/cmd_publish.py +41 -75
- google_agents_cli-1.14.0/src/google/agents/cli/run/_error_text.py +83 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/run/_local_server.py +37 -95
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/run/cmd_run.py +38 -15
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/Dockerfile +4 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/apploader.go +2 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/appurl.go +19 -3
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_go/appurl_test.go +58 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/agents/adk_python/tests → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_go}/eval/eval_config.yaml +5 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_go/go.mod +78 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/go.sum +98 -102
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/main.go +1 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/observability.go +1 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/observability_test.go +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/.cloudbuild/pr_checks.yaml +13 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/.github/workflows/pr_checks.yaml +13 -7
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/.template/templateconfig.yaml +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/Dockerfile +10 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/Makefile +13 -13
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/README.md +7 -5
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_java/build.gradle.kts +85 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_java/settings.gradle.kts +15 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/A2AController.java +208 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/Agent.java +25 -55
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/integration/ServerE2ETest.java +79 -22
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/LoadTest.java +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/README.md +8 -8
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/.template/templateconfig.yaml +25 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/Dockerfile +44 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/Makefile +99 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/README.md +101 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/build.gradle.kts +66 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/settings.gradle.kts +15 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/src/main/kotlin/{{cookiecutter.java_package_path}}/Agent.kt +62 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/src/main/kotlin/{{cookiecutter.java_package_path}}/Main.kt +35 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/src/test/kotlin/{{cookiecutter.java_package_path}}/AgentTest.kt +36 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_kotlin/{{cookiecutter.agent_guidance_filename}} +1 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/.template/templateconfig.yaml +5 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/agent.py +1 -1
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/agents/adk_go → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_python/tests}/eval/eval_config.yaml +5 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/.github/workflows/pr_checks.yaml +3 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/.template/templateconfig.yaml +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/Dockerfile +3 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/Makefile +3 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/package-lock.json +349 -280
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/package.json +18 -8
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/integration/server_e2e.test.ts +5 -6
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/README.md +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/load_test.ts +3 -3
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/adk_ts/{{cookiecutter.agent_guidance_filename}} +1 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/empty_java/.template/templateconfig.yaml +1 -1
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/agents/empty_kotlin/.template/templateconfig.yaml +25 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/empty_ts/.template/templateconfig.yaml +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/agents-cli-manifest.yaml +6 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/iam.tf +49 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/providers.tf +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/service_accounts.tf +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/variables.tf +4 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/iam.tf +42 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/providers.tf +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/variables.tf +4 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/staging.yaml +2 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/deploy-to-prod.yaml +30 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/staging.yaml +41 -25
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/java/.env +11 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/deploy-to-prod.yaml +32 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/staging.yaml +40 -19
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.gitignore +3 -11
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.cloudbuild/deploy-to-prod.yaml +61 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.cloudbuild/pr_checks.yaml +24 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.cloudbuild/staging.yaml +89 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.env +11 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.env.example +11 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.github/workflows/deploy-to-prod.yaml +94 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.github/workflows/pr_checks.yaml +49 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.github/workflows/staging.yaml +94 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin/.gitignore +56 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/deploy-to-prod.yaml +31 -12
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/staging.yaml +20 -12
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/typescript/.env +11 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/typescript/.gcloudignore +19 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/deploy-to-prod.yaml +32 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/staging.yaml +28 -34
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/tsconfig.json +3 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/commands/create.py +42 -7
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/commands/enhance.py +303 -32
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/commands/upgrade.py +8 -4
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service.tf +4 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service.tf +4 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/integration/test_server_e2e.py +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service.tf +28 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service.tf +26 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service.tf +13 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service.tf +13 -2
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/kotlin/deployment/terraform/cicd/service.tf +122 -0
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/kotlin/deployment/terraform/single-project/service.tf +108 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/cicd/service.tf +28 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/single-project/service.tf +26 -2
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/none → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run}/python/tests/integration/test_server_e2e.py +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service.tf +14 -3
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service_outputs.tf +23 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service.tf +14 -3
- google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service_outputs.tf +23 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk_python-agent_runtime.lock +505 -470
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk_python-cloud_run.lock +538 -504
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk_python-gke.lock +538 -504
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/cli_options.py +21 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/copy_files.py +5 -2
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/gcp.py +118 -21
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/generation_metadata.py +29 -13
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/go_overlay.py +22 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/language.py +280 -22
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/template.py +55 -32
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/upgrade.py +18 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/setup/cmd_setup.py +20 -12
- google_agents_cli-1.14.0/src/google/agents/cli/skills/__init__.py +13 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/SKILL.md +3 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-go.md +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/recipes.md +6 -10
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/SKILL.md +16 -12
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/agent-runtime.md +9 -5
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/gke.md +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/SKILL.md +13 -5
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/metrics-guide.md +2 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/SKILL.md +1 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-publish/SKILL.md +3 -1
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-scaffold/SKILL.md +4 -4
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-scaffold/references/flags.md +6 -3
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/SKILL.md +5 -5
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/extension.md +24 -8
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/internals.md +2 -2
- google_agents_cli-1.12.0/src/google/agents/cli/deploy/_agent_identity.py +0 -51
- google_agents_cli-1.12.0/src/google/agents/cli/deploy/_cloud_validation.py +0 -1011
- google_agents_cli-1.12.0/src/google/agents/cli/extension/_refs.py +0 -197
- google_agents_cli-1.12.0/src/google/agents/cli/infra/cmd_infra_single_project.py +0 -64
- google_agents_cli-1.12.0/src/google/agents/cli/scaffold/agents/adk_go/go.mod +0 -79
- google_agents_cli-1.12.0/src/google/agents/cli/scaffold/agents/adk_java/pom.xml +0 -163
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/LICENSE +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_agent_platform.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_agent_platform_types.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_git.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_modes.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_output.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_sdk_compat.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_skills_check.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_telemetry_worker.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/_trust.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/data → google_agents_cli-1.14.0/src/google/agents/cli/command_center}/__init__.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/deploy → google_agents_cli-1.14.0/src/google/agents/cli/data}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/data/_recipe.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/data/cmd_data_ingestion.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/dev → google_agents_cli-1.14.0/src/google/agents/cli/deploy}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/deploy/_build_logs.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/info → google_agents_cli-1.14.0/src/google/agents/cli/dev}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/_events.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/_live.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/_paths.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/_synthesize_runner.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_analyze.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_compare.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_dataset.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_eval_group.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_metric.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/cmd_optimize.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/eval/optimize_utils.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_compat.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_paths.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/_schema.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/extension/cmd_extension_remove.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/infra → google_agents_cli-1.14.0/src/google/agents/cli/info}/__init__.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/publish → google_agents_cli-1.14.0/src/google/agents/cli/infra}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/_terraform.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/cmd_cicd.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/cmd_datastore.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/cmd_infra.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/infra/cmd_infra_show.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/commands → google_agents_cli-1.14.0/src/google/agents/cli/publish}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/publish/cmd_publish_group.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/run/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/run/_a2a_pinning.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/run/_multimodal.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/Makefile +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/app/agent.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/app/agent_test.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/appinfo/appinfo.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/appinfo/appinfo_test.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/integration/server_e2e_test.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/load_test.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/datasets/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/datasets/basic-dataset.json +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/response_quality.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/sessions/backends.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/sessions/sessions.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/sessions/sessions_test.go +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_go/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/Main.java +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/unit/AgentTest.java +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_java/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/app_utils/a2a.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/app_utils/reasoning_engine_adapter.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/app_utils/services.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/app/fast_api_app.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/tests/eval/datasets/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/tests/eval/datasets/basic-dataset.json +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/tests/eval/response_quality.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_python/tests/integration/test_agent.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/app/agent.ts +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/integration/agent.test.ts +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/unit/dummy.test.ts +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/empty_go/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/agents/empty_py/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/apis.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/build_triggers.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/github.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/locals.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/storage.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/vars/env.tfvars +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/wif.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/apis.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/storage.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/vars/env.tfvars +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.env +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.env.example +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.gcloudignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/staging.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.gitignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/.golangci.yml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/cicd/telemetry.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/cicd/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/shared/completions.sql +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/shared/genai_logs_schema.json +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/single-project/telemetry.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/single-project/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.env.example +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/.gcloudignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/java/src/main/resources/application.properties +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/base_templates/python → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/kotlin}/.gcloudignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/staging.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.env +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.env.example +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/base_templates/typescript → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/base_templates/python}/.gcloudignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/staging.yaml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/.gitignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/Dockerfile +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/completions.sql +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/genai_logs_schema.json +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/pyproject.toml +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/tests/unit/test_dummy.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.dockerignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.env.example +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/.gitignore +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/eslint.config.mjs +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/base_templates/typescript/vitest.config.ts +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/cmd_scaffold_group.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/setup → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/commands}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/shared/dummy_source.b64 +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment_metadata.json +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/kotlin}/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/kotlin}/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python}/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python}/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/gke}/python/tests/integration/test_server_e2e.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/scaffold/deployment_targets/gke → google_agents_cli-1.14.0/src/google/agents/cli/scaffold/deployment_targets/none}/python/tests/integration/test_server_e2e.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/adk_shortcut.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/backup.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/command.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/fs.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/generate_locks.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/lock_utils.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/logging.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/merge.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/remote_template.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/scaffold/utils/version.py +0 -0
- {google_agents_cli-1.12.0/src/google/agents/cli/skills → google_agents_cli-1.14.0/src/google/agents/cli/setup}/__init__.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/setup/_antigravity.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/setup/cmd_auth.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/setup/cmd_update.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/_bundle.py +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/README.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-go-workflows.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python-live.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python-workflows.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/batch-inference.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cicd-pipeline.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cloud-run.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cmek.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/terraform-patterns.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/testing-deployed-agents.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/advanced-commands.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/builtin-tools-eval.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/dataset_schema.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/live-eval.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/multimodal-eval.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/user-simulation.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/adk-docs.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/bigquery-agent-analytics.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/cloud-trace-and-logging.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/feedback-mechanism.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/brainstorming.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/commands.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/spec-template.md +0 -0
- {google_agents_cli-1.12.0 → google_agents_cli-1.14.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/terminology.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-agents-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.14.0
|
|
4
4
|
Summary: Agents CLI — Agent Development Lifecycle toolchain for ADK
|
|
5
5
|
Author-email: Google LLC <agents-cli-dev-pypi@google.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -12,27 +12,32 @@ License-File: LICENSE
|
|
|
12
12
|
Requires-Dist: click>=8.1.8,<9
|
|
13
13
|
Requires-Dist: PyYAML>=6.0.2,<7
|
|
14
14
|
Requires-Dist: cookiecutter>=2.6.0,<3
|
|
15
|
-
Requires-Dist: jinja2>=3.1.0
|
|
16
|
-
Requires-Dist: google-cloud-aiplatform
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
15
|
+
Requires-Dist: jinja2>=3.1.0,<4
|
|
16
|
+
Requires-Dist: google-cloud-aiplatform>=2.2.0,<3
|
|
17
|
+
Requires-Dist: pandas>=1.0.0,<4
|
|
18
|
+
Requires-Dist: tqdm>=4.23.0,<5
|
|
19
|
+
Requires-Dist: google-cloud-resource-manager>=1.12.0,<2
|
|
20
|
+
Requires-Dist: google-auth[pyopenssl]>=2.47.0,<3
|
|
19
21
|
Requires-Dist: pyopenssl<26.2
|
|
20
|
-
Requires-Dist: rich>=13.7.0
|
|
21
|
-
Requires-Dist: backoff>=2.2.1
|
|
22
|
-
Requires-Dist: requests>=2.31.0
|
|
23
|
-
Requires-Dist: websockets>=13.0
|
|
22
|
+
Requires-Dist: rich>=13.7.0,<16
|
|
23
|
+
Requires-Dist: backoff>=2.2.1,<3
|
|
24
|
+
Requires-Dist: requests>=2.31.0,<3
|
|
25
|
+
Requires-Dist: websockets>=13.0,<17
|
|
24
26
|
Requires-Dist: a2a-sdk>=1.0,<2
|
|
25
27
|
Requires-Dist: protobuf>=5.29.5,<7
|
|
26
28
|
Requires-Dist: tomlkit>=0.13.0,<1
|
|
27
|
-
Requires-Dist: psutil>=5.9.0
|
|
28
|
-
Requires-Dist: python-dotenv>=1.0.0
|
|
29
|
-
Requires-Dist: pathspec>=0.12.1
|
|
30
|
-
Requires-Dist: filelock>=
|
|
31
|
-
Requires-Dist: packaging>=24
|
|
29
|
+
Requires-Dist: psutil>=5.9.0,<8
|
|
30
|
+
Requires-Dist: python-dotenv>=1.0.0,<2
|
|
31
|
+
Requires-Dist: pathspec>=0.12.1,<2
|
|
32
|
+
Requires-Dist: filelock>=4.2.1,<5
|
|
33
|
+
Requires-Dist: packaging>=24,<27
|
|
32
34
|
Requires-Dist: pydantic>=2.10,<3
|
|
33
|
-
Requires-Dist:
|
|
34
|
-
Requires-Dist:
|
|
35
|
-
Requires-Dist:
|
|
35
|
+
Requires-Dist: starlette>=1.0,<2
|
|
36
|
+
Requires-Dist: uvicorn>=0.34,<1
|
|
37
|
+
Requires-Dist: httpx>=0.28,<1
|
|
38
|
+
Requires-Dist: ruff>=0.15,<0.16 ; extra == "lint"
|
|
39
|
+
Requires-Dist: ty>=0.0.38,<0.1 ; extra == "lint"
|
|
40
|
+
Requires-Dist: codespell>=2.4,<3 ; extra == "lint"
|
|
36
41
|
Project-URL: documentation, https://google.github.io/agents-cli/
|
|
37
42
|
Project-URL: homepage, https://github.com/google/agents-cli
|
|
38
43
|
Project-URL: issues, https://github.com/google/agents-cli/issues
|
|
@@ -193,7 +198,7 @@ Yes. `agents-cli scaffold enhance` adds deployment and CI/CD to existing project
|
|
|
193
198
|
Yes. The CLI works standalone — you can run `agents-cli scaffold`, `eval`, `deploy`, and every other command directly from your terminal. The skills just make it easier for coding agents to do it for you.
|
|
194
199
|
|
|
195
200
|
**How can I extend `agents-cli` with other skills?**<br>
|
|
196
|
-
`agents-cli` skills cover the agent-building lifecycle (scaffold, ADK code patterns, evals, deploy, publish, observability). For adjacent concerns, you could install another skill suite alongside. For example, [agent-skills](https://github.com/addyosmani/agent-skills) covers general software-engineering workflows (ideation, spec gates, planning, code review), and [google/skills](https://github.com/google/skills) covers Google Cloud foundations (BigQuery, Cloud Run, Firebase, GKE).
|
|
201
|
+
`agents-cli` skills cover the agent-building lifecycle (scaffold, ADK code patterns, evals, deploy, publish, observability). For adjacent concerns, you could install another skill suite alongside. For example, [agent-skills](https://github.com/addyosmani/agent-skills) covers general software-engineering workflows (ideation, spec gates, planning, code review), and [google/skills](https://github.com/google/skills) covers Google Cloud foundations (BigQuery, Cloud Run, Firebase, GKE). [genai-factory](https://github.com/GoogleCloudPlatform/genai-factory) has Terraform blueprints for enterprise GenAI infrastructure and ships as an extension: `agents-cli extension add GoogleCloudPlatform/genai-factory`.
|
|
197
202
|
|
|
198
203
|
## Feedback
|
|
199
204
|
|
|
@@ -219,7 +224,9 @@ it in Cloud Logging. It records only the metadata such as command name
|
|
|
219
224
|
(e.g. `deploy`, `scaffold.create`), exit code, error class, duration (measured
|
|
220
225
|
from command dispatch to exit, so it excludes CLI startup), CLI/Python versions,
|
|
221
226
|
and OS — never file contents, arguments, or other input. Commands added by
|
|
222
|
-
extensions are recorded without their names.
|
|
227
|
+
extensions are recorded without their names. A command an extension serves is
|
|
228
|
+
marked as such, and the extension is named only if it was installed from a
|
|
229
|
+
repository in the `google` GitHub organization.
|
|
223
230
|
|
|
224
231
|
The request that writes the entry also carries usage metadata in its
|
|
225
232
|
`User-Agent` and `X-Goog-Api-Client` headers, which Google receives for
|
|
@@ -152,7 +152,7 @@ Yes. `agents-cli scaffold enhance` adds deployment and CI/CD to existing project
|
|
|
152
152
|
Yes. The CLI works standalone — you can run `agents-cli scaffold`, `eval`, `deploy`, and every other command directly from your terminal. The skills just make it easier for coding agents to do it for you.
|
|
153
153
|
|
|
154
154
|
**How can I extend `agents-cli` with other skills?**<br>
|
|
155
|
-
`agents-cli` skills cover the agent-building lifecycle (scaffold, ADK code patterns, evals, deploy, publish, observability). For adjacent concerns, you could install another skill suite alongside. For example, [agent-skills](https://github.com/addyosmani/agent-skills) covers general software-engineering workflows (ideation, spec gates, planning, code review), and [google/skills](https://github.com/google/skills) covers Google Cloud foundations (BigQuery, Cloud Run, Firebase, GKE).
|
|
155
|
+
`agents-cli` skills cover the agent-building lifecycle (scaffold, ADK code patterns, evals, deploy, publish, observability). For adjacent concerns, you could install another skill suite alongside. For example, [agent-skills](https://github.com/addyosmani/agent-skills) covers general software-engineering workflows (ideation, spec gates, planning, code review), and [google/skills](https://github.com/google/skills) covers Google Cloud foundations (BigQuery, Cloud Run, Firebase, GKE). [genai-factory](https://github.com/GoogleCloudPlatform/genai-factory) has Terraform blueprints for enterprise GenAI infrastructure and ships as an extension: `agents-cli extension add GoogleCloudPlatform/genai-factory`.
|
|
156
156
|
|
|
157
157
|
## Feedback
|
|
158
158
|
|
|
@@ -178,7 +178,9 @@ it in Cloud Logging. It records only the metadata such as command name
|
|
|
178
178
|
(e.g. `deploy`, `scaffold.create`), exit code, error class, duration (measured
|
|
179
179
|
from command dispatch to exit, so it excludes CLI startup), CLI/Python versions,
|
|
180
180
|
and OS — never file contents, arguments, or other input. Commands added by
|
|
181
|
-
extensions are recorded without their names.
|
|
181
|
+
extensions are recorded without their names. A command an extension serves is
|
|
182
|
+
marked as such, and the extension is named only if it was installed from a
|
|
183
|
+
repository in the `google` GitHub organization.
|
|
182
184
|
|
|
183
185
|
The request that writes the entry also carries usage metadata in its
|
|
184
186
|
`User-Agent` and `X-Goog-Api-Client` headers, which Google receives for
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "google-agents-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.14.0"
|
|
4
4
|
description = "Agents CLI — Agent Development Lifecycle toolchain for ADK"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -15,29 +15,38 @@ dependencies = [
|
|
|
15
15
|
"click>=8.1.8,<9",
|
|
16
16
|
"PyYAML>=6.0.2,<7",
|
|
17
17
|
"cookiecutter>=2.6.0,<3",
|
|
18
|
-
"jinja2>=3.1.0",
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
"jinja2>=3.1.0,<4",
|
|
19
|
+
# Not the [evaluation] extra: it adds scikit-learn, scipy and litellm, which
|
|
20
|
+
# the CLI never imports. These are the parts agentplatform._genai.evals needs.
|
|
21
|
+
# tests/unittests/cli/test_eval_deps.py fails if the SDK starts needing more.
|
|
22
|
+
"google-cloud-aiplatform>=2.2.0,<3",
|
|
23
|
+
"pandas>=1.0.0,<4",
|
|
24
|
+
"tqdm>=4.23.0,<5",
|
|
25
|
+
"google-cloud-resource-manager>=1.12.0,<2",
|
|
26
|
+
"google-auth[pyopenssl]>=2.47.0,<3",
|
|
22
27
|
# pyOpenSSL 26.2 forbids mutating a used SSL Context; urllib3 does it per
|
|
23
28
|
# connection under google-auth's mTLS shim (urllib3#5107). Lift when fixed.
|
|
24
29
|
"pyopenssl<26.2",
|
|
25
|
-
"rich>=13.7.0",
|
|
26
|
-
"backoff>=2.2.1",
|
|
27
|
-
"requests>=2.31.0",
|
|
28
|
-
"websockets>=13.0",
|
|
30
|
+
"rich>=13.7.0,<16",
|
|
31
|
+
"backoff>=2.2.1,<3",
|
|
32
|
+
"requests>=2.31.0,<3",
|
|
33
|
+
"websockets>=13.0,<17",
|
|
29
34
|
"a2a-sdk>=1.0,<2",
|
|
30
35
|
# Pin the a2a-sdk (>=5.29.5) .. aiplatform (<7) window so pip won't chase
|
|
31
36
|
# protobuf 7 and backtrack into old google-api-core (protobuf<5).
|
|
32
37
|
"protobuf>=5.29.5,<7",
|
|
33
38
|
"tomlkit>=0.13.0,<1",
|
|
34
|
-
"psutil>=5.9.0",
|
|
35
|
-
"python-dotenv>=1.0.0",
|
|
36
|
-
"pathspec>=0.12.1",
|
|
37
|
-
"filelock>=
|
|
38
|
-
"packaging>=24",
|
|
39
|
+
"psutil>=5.9.0,<8",
|
|
40
|
+
"python-dotenv>=1.0.0,<2",
|
|
41
|
+
"pathspec>=0.12.1,<2",
|
|
42
|
+
"filelock>=4.2.1,<5",
|
|
43
|
+
"packaging>=24,<27",
|
|
39
44
|
# 2.10+: earlier versions emit `enum` beside `const`, which the schema sync test sees.
|
|
40
45
|
"pydantic>=2.10,<3",
|
|
46
|
+
# Agent Command Center server (`agents-cli command-center`).
|
|
47
|
+
"starlette>=1.0,<2",
|
|
48
|
+
"uvicorn>=0.34,<1",
|
|
49
|
+
"httpx>=0.28,<1",
|
|
41
50
|
]
|
|
42
51
|
|
|
43
52
|
[project.urls]
|
|
@@ -68,9 +77,9 @@ include = [
|
|
|
68
77
|
|
|
69
78
|
[project.optional-dependencies]
|
|
70
79
|
lint = [
|
|
71
|
-
"ruff",
|
|
72
|
-
"ty",
|
|
73
|
-
"codespell",
|
|
80
|
+
"ruff>=0.15,<0.16",
|
|
81
|
+
"ty>=0.0.38,<0.1",
|
|
82
|
+
"codespell>=2.4,<3",
|
|
74
83
|
]
|
|
75
84
|
|
|
76
85
|
[tool.pytest.ini_options]
|
|
@@ -84,12 +93,14 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
|
84
93
|
|
|
85
94
|
[dependency-groups]
|
|
86
95
|
dev = [
|
|
87
|
-
"pytest>=9.0.2",
|
|
88
|
-
"pytest-mock>=3.15.1",
|
|
89
|
-
"pytest-rerunfailures>=15.0",
|
|
90
|
-
"pytest-xdist>=3.6.1",
|
|
91
|
-
"pytest-cov>=4.1.0",
|
|
92
|
-
"jsonschema>=4.20",
|
|
96
|
+
"pytest>=9.0.2,<10",
|
|
97
|
+
"pytest-mock>=3.15.1,<4",
|
|
98
|
+
"pytest-rerunfailures>=15.0,<17",
|
|
99
|
+
"pytest-xdist>=3.6.1,<4",
|
|
100
|
+
"pytest-cov>=4.1.0,<8",
|
|
101
|
+
"jsonschema>=4.20,<5",
|
|
102
|
+
# google-genai's httpx fallback breaks across event loops (e2e SDK query test).
|
|
103
|
+
"aiohttp>=3.14,<4",
|
|
93
104
|
]
|
|
94
105
|
|
|
95
106
|
[tool.ruff]
|
|
@@ -104,6 +115,9 @@ include = [
|
|
|
104
115
|
# The lift report builder and the eval tools.
|
|
105
116
|
"evals/report/**/*.py",
|
|
106
117
|
"evals/tools/**/*.py",
|
|
118
|
+
"evals/harbor/**/*.py",
|
|
119
|
+
"evals/tests/**/*.py",
|
|
120
|
+
"evals/tasks/**/*.py",
|
|
107
121
|
]
|
|
108
122
|
exclude = [
|
|
109
123
|
"src/google/agents/cli/scaffold/agents",
|
|
@@ -135,6 +149,7 @@ ignore = ["E501", "C901", "RUF001", "UP036", "RUF067", "RUF069"]
|
|
|
135
149
|
|
|
136
150
|
[tool.ruff.lint.per-file-ignores]
|
|
137
151
|
"tests/**/*.py" = ["PLR0917"]
|
|
152
|
+
"evals/tests/**/*.py" = ["PLR0917"]
|
|
138
153
|
# The only module allowed to import private Agent Platform SDK modules; keep in
|
|
139
154
|
# sync with ALLOWED_PRIVATE_IMPORT_FILES in tools/ci/check_private_imports.py.
|
|
140
155
|
"src/google/agents/cli/_sdk_compat.py" = ["TID251"]
|
|
@@ -139,9 +139,10 @@ def run_sse(
|
|
|
139
139
|
if "charset" not in resp.headers.get("Content-Type", "").lower():
|
|
140
140
|
resp.encoding = "utf-8"
|
|
141
141
|
for line in resp.iter_lines(decode_unicode=True):
|
|
142
|
-
|
|
142
|
+
# The space after "data:" is optional; ADK Java's server omits it.
|
|
143
|
+
if not isinstance(line, str) or not line.startswith("data:"):
|
|
143
144
|
continue
|
|
144
|
-
data_str = line[len("data:
|
|
145
|
+
data_str = line[len("data:") :]
|
|
145
146
|
try:
|
|
146
147
|
yield json.loads(data_str)
|
|
147
148
|
except json.JSONDecodeError:
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# Copyright 2026 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Fix hints for Google Cloud auth and Gemini API errors.
|
|
16
|
+
|
|
17
|
+
Errors from a local agent server reach the CLI as text (an SSE error frame),
|
|
18
|
+
not as exceptions, so the hints match on the error text.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
from __future__ import annotations
|
|
22
|
+
|
|
23
|
+
import re
|
|
24
|
+
from dataclasses import dataclass
|
|
25
|
+
|
|
26
|
+
from google.agents.cli._defaults import GCP_PROJECT_PLACEHOLDER
|
|
27
|
+
from google.agents.cli.auth import GCLOUD_LOGIN
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@dataclass(frozen=True)
|
|
31
|
+
class _Hint:
|
|
32
|
+
markers: tuple[str, ...]
|
|
33
|
+
text: str
|
|
34
|
+
# When set, the message must also mention one of these. Keeps a generic
|
|
35
|
+
# status such as PERMISSION_DENIED from matching a tool's error.
|
|
36
|
+
context: tuple[str, ...] = ()
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# google-genai ignores an API key while the Gemini platform settings are set.
|
|
40
|
+
_USE_GEMINI_API = (
|
|
41
|
+
"or switch to the Gemini API: comment out the Gemini platform lines in .env "
|
|
42
|
+
"and set GEMINI_API_KEY (or GOOGLE_API_KEY)."
|
|
43
|
+
)
|
|
44
|
+
_GEMINI_PLATFORM_API = "aiplatform.googleapis.com"
|
|
45
|
+
_GEMINI_API = "generativelanguage.googleapis.com"
|
|
46
|
+
|
|
47
|
+
# First match wins, so the specific reasons come before the generic statuses
|
|
48
|
+
# that carry them (a disabled API or billing is also a 403 PERMISSION_DENIED).
|
|
49
|
+
_HINTS = (
|
|
50
|
+
_Hint(
|
|
51
|
+
(GCP_PROJECT_PLACEHOLDER,),
|
|
52
|
+
f"GOOGLE_CLOUD_PROJECT is still the placeholder '{GCP_PROJECT_PLACEHOLDER}'. "
|
|
53
|
+
"Set it to your Google Cloud project ID in .env.",
|
|
54
|
+
),
|
|
55
|
+
_Hint(
|
|
56
|
+
("No service account scopes specified",),
|
|
57
|
+
"The VM's service account has no cloud-platform access scope. Run "
|
|
58
|
+
f"`{GCLOUD_LOGIN}`, give the VM the cloud-platform scope, {_USE_GEMINI_API}",
|
|
59
|
+
),
|
|
60
|
+
_Hint(
|
|
61
|
+
(
|
|
62
|
+
# google-auth for Python and Java, then Go, then Node.js.
|
|
63
|
+
"default credentials were not found",
|
|
64
|
+
"could not find default credentials",
|
|
65
|
+
"Could not load the default credentials",
|
|
66
|
+
),
|
|
67
|
+
f"No Application Default Credentials found. Run `{GCLOUD_LOGIN}`, "
|
|
68
|
+
+ _USE_GEMINI_API,
|
|
69
|
+
),
|
|
70
|
+
_Hint(
|
|
71
|
+
# Java, then Node.js; Python raises a bare OSError.
|
|
72
|
+
("Error reading credential file", "Unable to read the credential file"),
|
|
73
|
+
"The credentials file can't be read. Check that it exists and that you "
|
|
74
|
+
"can read it, or point GOOGLE_APPLICATION_CREDENTIALS at another key file.",
|
|
75
|
+
),
|
|
76
|
+
_Hint(
|
|
77
|
+
("invalid_grant", "Reauthentication is needed", "invalid_rapt"),
|
|
78
|
+
f"Your Application Default Credentials have expired. Run `{GCLOUD_LOGIN}`.",
|
|
79
|
+
),
|
|
80
|
+
_Hint(
|
|
81
|
+
("API_KEY_INVALID", "API key not valid", "API key expired"),
|
|
82
|
+
"The API key was rejected. Check GEMINI_API_KEY (or GOOGLE_API_KEY) in "
|
|
83
|
+
"your shell and in .env.",
|
|
84
|
+
),
|
|
85
|
+
_Hint(
|
|
86
|
+
("SERVICE_DISABLED", "has not been used in project"),
|
|
87
|
+
"An API the agent needs is disabled in your project. Enable it with "
|
|
88
|
+
"`gcloud services enable {service}`.",
|
|
89
|
+
),
|
|
90
|
+
_Hint(
|
|
91
|
+
("BILLING_DISABLED",),
|
|
92
|
+
"Billing is disabled for your Google Cloud project. Link a billing "
|
|
93
|
+
"account to it in the Cloud console.",
|
|
94
|
+
),
|
|
95
|
+
_Hint(
|
|
96
|
+
("RESOURCE_EXHAUSTED",),
|
|
97
|
+
"A quota was exceeded. Wait and retry, or request a quota increase.",
|
|
98
|
+
),
|
|
99
|
+
_Hint(
|
|
100
|
+
("PERMISSION_DENIED",),
|
|
101
|
+
"Your credentials can't call the model in this project. Check "
|
|
102
|
+
"GOOGLE_CLOUD_PROJECT, and that your account has the roles/aiplatform.user "
|
|
103
|
+
"role on it.",
|
|
104
|
+
context=(_GEMINI_PLATFORM_API,),
|
|
105
|
+
),
|
|
106
|
+
_Hint(
|
|
107
|
+
("PERMISSION_DENIED",),
|
|
108
|
+
"The API key can't call the Gemini API. Check GEMINI_API_KEY (or "
|
|
109
|
+
"GOOGLE_API_KEY) in your shell and in .env.",
|
|
110
|
+
context=(_GEMINI_API,),
|
|
111
|
+
),
|
|
112
|
+
_Hint(
|
|
113
|
+
("NOT_FOUND",),
|
|
114
|
+
"The model was not found. Check the model name and, on the Gemini "
|
|
115
|
+
"platform, that the model is available in GOOGLE_CLOUD_LOCATION.",
|
|
116
|
+
context=("models/",),
|
|
117
|
+
),
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
# The ErrorInfo detail names the disabled service.
|
|
121
|
+
_SERVICE_FIELD_RE = re.compile(
|
|
122
|
+
r"""['"]service['"]:\s*['"]([a-z0-9.-]+\.googleapis\.com)['"]"""
|
|
123
|
+
)
|
|
124
|
+
# type.googleapis.com prefixes error detail type names; it isn't a service.
|
|
125
|
+
_SERVICE_RE = re.compile(r"\b(?!type\.googleapis\.com)[a-z0-9-]+\.googleapis\.com\b")
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def with_auth_hint(message: str) -> str:
|
|
129
|
+
"""Return ``message`` followed by a fix hint when it names a known auth error."""
|
|
130
|
+
for hint in _HINTS:
|
|
131
|
+
if not any(marker in message for marker in hint.markers):
|
|
132
|
+
continue
|
|
133
|
+
if hint.context and not any(context in message for context in hint.context):
|
|
134
|
+
continue
|
|
135
|
+
return f"{message}\n {hint.text.format(service=_service_name(message))}"
|
|
136
|
+
return message
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def _service_name(message: str) -> str:
|
|
140
|
+
field = _SERVICE_FIELD_RE.search(message)
|
|
141
|
+
if field:
|
|
142
|
+
return field.group(1)
|
|
143
|
+
service = _SERVICE_RE.search(message)
|
|
144
|
+
return service.group(0) if service else "<SERVICE>"
|
|
@@ -12,15 +12,17 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
"""Click helpers: lazy command loading
|
|
15
|
+
"""Click helpers: lazy command loading, --help source paths, option sources."""
|
|
16
16
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import importlib
|
|
20
20
|
import inspect
|
|
21
|
+
from dataclasses import dataclass
|
|
21
22
|
from typing import Any
|
|
22
23
|
|
|
23
24
|
import click
|
|
25
|
+
from click.core import ParameterSource
|
|
24
26
|
|
|
25
27
|
from google.agents.cli._experiments import resolve_experiment
|
|
26
28
|
|
|
@@ -33,10 +35,20 @@ COMMAND_PATH_META_KEY = "agents_cli.command_path"
|
|
|
33
35
|
# view (``--help``, or a group given no subcommand) can be told apart from a
|
|
34
36
|
# run. Consumed by ``_telemetry``.
|
|
35
37
|
COMMAND_INVOKED_META_KEY = "agents_cli.command_invoked"
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
|
|
38
|
+
# Separates a recorded path segment from the extension that serves it:
|
|
39
|
+
# ``generate~<name>`` for a first-party extension's override, ``generate~ext``
|
|
40
|
+
# for any other. A command an extension adds is recorded as ``~<extension>``,
|
|
41
|
+
# never by name, since the extension author chose that name.
|
|
42
|
+
EXTENSION_PATH_SEPARATOR = "~"
|
|
43
|
+
_UNNAMED_EXTENSION = "ext"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@dataclass(frozen=True)
|
|
47
|
+
class _Override:
|
|
48
|
+
command: click.Command
|
|
49
|
+
extension_name: str
|
|
50
|
+
# Only a first-party extension is recorded by name.
|
|
51
|
+
first_party: bool
|
|
40
52
|
|
|
41
53
|
|
|
42
54
|
class LazyGroup(click.Group):
|
|
@@ -64,7 +76,7 @@ class LazyGroup(click.Group):
|
|
|
64
76
|
self._lazy_commands: dict[str, tuple[str, str]] = {}
|
|
65
77
|
# name -> experiment label
|
|
66
78
|
self._experiment_gates: dict[str, str] = {}
|
|
67
|
-
self._overrides: dict[str,
|
|
79
|
+
self._overrides: dict[str, _Override] = {}
|
|
68
80
|
self._hidden: set[str] = set()
|
|
69
81
|
|
|
70
82
|
def add_lazy_command(
|
|
@@ -95,6 +107,12 @@ class LazyGroup(click.Group):
|
|
|
95
107
|
if hidden:
|
|
96
108
|
self._hidden.add(name)
|
|
97
109
|
|
|
110
|
+
def add_override(
|
|
111
|
+
self, name: str, cmd: click.Command, extension_name: str, first_party: bool
|
|
112
|
+
) -> None:
|
|
113
|
+
"""Serve `name` with `cmd` from extension `extension_name`."""
|
|
114
|
+
self._overrides[name] = _Override(cmd, extension_name, first_party)
|
|
115
|
+
|
|
98
116
|
@property
|
|
99
117
|
def hidden_commands(self) -> frozenset[str]:
|
|
100
118
|
"""Names registered with `hidden=True`: invocable, but not listed."""
|
|
@@ -121,7 +139,7 @@ class LazyGroup(click.Group):
|
|
|
121
139
|
if not self._is_visible(cmd_name):
|
|
122
140
|
return None
|
|
123
141
|
if cmd_name in self._overrides:
|
|
124
|
-
return self._overrides[cmd_name]
|
|
142
|
+
return self._overrides[cmd_name].command
|
|
125
143
|
if cmd_name in self._lazy_commands and cmd_name not in self.commands:
|
|
126
144
|
import_path, _ = self._lazy_commands[cmd_name]
|
|
127
145
|
module_path, attr = import_path.split(":")
|
|
@@ -151,17 +169,23 @@ class LazyGroup(click.Group):
|
|
|
151
169
|
Overrides only apply to built-ins and added commands never share a
|
|
152
170
|
built-in's name, so an extension-served built-in name is an override.
|
|
153
171
|
"""
|
|
154
|
-
|
|
172
|
+
override = self._overrides.get(cmd_name)
|
|
173
|
+
if override is None:
|
|
155
174
|
return cmd_name
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
175
|
+
is_builtin = cmd_name in self._lazy_commands or cmd_name in self.commands
|
|
176
|
+
recorded_name = cmd_name if is_builtin else ""
|
|
177
|
+
extension = (
|
|
178
|
+
override.extension_name if override.first_party else _UNNAMED_EXTENSION
|
|
179
|
+
)
|
|
180
|
+
return f"{recorded_name}{EXTENSION_PATH_SEPARATOR}{extension}"
|
|
159
181
|
|
|
160
182
|
def format_commands(self, ctx: click.Context, formatter: click.HelpFormatter) -> None:
|
|
161
183
|
rows: list[tuple[str, str]] = []
|
|
162
184
|
for name in self.list_commands(ctx):
|
|
163
185
|
if name in self._overrides:
|
|
164
|
-
rows.append(
|
|
186
|
+
rows.append(
|
|
187
|
+
(name, self._overrides[name].command.get_short_help_str(limit=1000))
|
|
188
|
+
)
|
|
165
189
|
continue
|
|
166
190
|
if name in self.commands:
|
|
167
191
|
# Don't truncate — Click's default of 45 would cut our docstring summaries.
|
|
@@ -236,3 +260,15 @@ def patch_source_in_help(cmd: Any) -> None:
|
|
|
236
260
|
if isinstance(cmd, click.Group):
|
|
237
261
|
for sub in cmd.commands.values():
|
|
238
262
|
patch_source_in_help(sub)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
def is_set_on_command_line(option: str) -> bool:
|
|
266
|
+
"""Whether the running command got ``option`` from the command line.
|
|
267
|
+
|
|
268
|
+
False when it came from its default (or no command is running).
|
|
269
|
+
"""
|
|
270
|
+
ctx = click.get_current_context(silent=True)
|
|
271
|
+
return (
|
|
272
|
+
ctx is not None
|
|
273
|
+
and ctx.get_parameter_source(option) == ParameterSource.COMMANDLINE
|
|
274
|
+
)
|
|
@@ -20,3 +20,6 @@ from __future__ import annotations
|
|
|
20
20
|
# renders the skills, docs, eval goldens or extension templates, so their copies
|
|
21
21
|
# of the model id are updated by hand alongside this one.
|
|
22
22
|
DEFAULT_MODEL = "gemini-3.8-flash"
|
|
23
|
+
|
|
24
|
+
# Written to the generated .env when no GCP project could be resolved.
|
|
25
|
+
GCP_PROJECT_PLACEHOLDER = "your-gcp-project-id"
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Copyright 2026 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Download files whose sha256 is known in advance."""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
import hashlib
|
|
20
|
+
import ssl
|
|
21
|
+
from pathlib import Path
|
|
22
|
+
from typing import TYPE_CHECKING, Any
|
|
23
|
+
from urllib.parse import unquote, urlsplit
|
|
24
|
+
|
|
25
|
+
if TYPE_CHECKING:
|
|
26
|
+
import requests
|
|
27
|
+
from requests.auth import HTTPBasicAuth
|
|
28
|
+
|
|
29
|
+
_CHUNK_SIZE = 1 << 16
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class DownloadError(Exception):
|
|
33
|
+
def __init__(self, message: str, status: int | None = None) -> None:
|
|
34
|
+
super().__init__(message)
|
|
35
|
+
self.status = status
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def download_verified(
|
|
39
|
+
url: str,
|
|
40
|
+
dest: Path,
|
|
41
|
+
sha256: str,
|
|
42
|
+
*,
|
|
43
|
+
auth: tuple[bytes, bytes] | None,
|
|
44
|
+
timeout: float,
|
|
45
|
+
) -> None:
|
|
46
|
+
"""Download ``url`` to ``dest`` and check it against the hex digest ``sha256``.
|
|
47
|
+
|
|
48
|
+
On ``DownloadError``, ``dest`` is deleted.
|
|
49
|
+
"""
|
|
50
|
+
# Deferred: requests takes about 0.2s to import.
|
|
51
|
+
import requests
|
|
52
|
+
|
|
53
|
+
# Messages name the file, not the URL: it can carry credentials or a signed token.
|
|
54
|
+
name = unquote(urlsplit(url).path.rpartition("/")[2]) or "the file"
|
|
55
|
+
digest = hashlib.sha256()
|
|
56
|
+
try:
|
|
57
|
+
with (
|
|
58
|
+
requests.get(
|
|
59
|
+
url,
|
|
60
|
+
auth=basic_auth(auth),
|
|
61
|
+
stream=True,
|
|
62
|
+
timeout=timeout,
|
|
63
|
+
hooks={"response": [refuse_https_downgrade]},
|
|
64
|
+
) as response,
|
|
65
|
+
open(dest, "wb") as f,
|
|
66
|
+
):
|
|
67
|
+
response.raise_for_status()
|
|
68
|
+
for chunk in response.iter_content(chunk_size=_CHUNK_SIZE):
|
|
69
|
+
digest.update(chunk)
|
|
70
|
+
f.write(chunk)
|
|
71
|
+
except requests.RequestException as e:
|
|
72
|
+
dest.unlink(missing_ok=True)
|
|
73
|
+
status = e.response.status_code if e.response is not None else None
|
|
74
|
+
raise DownloadError(
|
|
75
|
+
f"could not download {name} ({request_error_reason(e)})", status
|
|
76
|
+
) from e
|
|
77
|
+
except (DownloadError, OSError) as e:
|
|
78
|
+
dest.unlink(missing_ok=True)
|
|
79
|
+
raise DownloadError(f"could not download {name}: {e}") from e
|
|
80
|
+
if digest.hexdigest() != sha256.lower():
|
|
81
|
+
dest.unlink(missing_ok=True)
|
|
82
|
+
raise DownloadError(
|
|
83
|
+
f"{name} does not match the expected sha256; refusing to use it."
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def basic_auth(credentials: tuple[bytes, bytes] | None) -> HTTPBasicAuth | None:
|
|
88
|
+
"""Takes bytes, since requests encodes str credentials as Latin-1."""
|
|
89
|
+
from requests.auth import HTTPBasicAuth
|
|
90
|
+
|
|
91
|
+
return HTTPBasicAuth(*credentials) if credentials else None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def request_error_reason(error: requests.RequestException) -> str:
|
|
95
|
+
"""Why a request failed, without the URL that requests puts in its own message."""
|
|
96
|
+
# Deferred: requests takes about 0.2s to import.
|
|
97
|
+
import requests
|
|
98
|
+
|
|
99
|
+
# Checked before the response, which holds the last redirect.
|
|
100
|
+
if isinstance(error, requests.TooManyRedirects):
|
|
101
|
+
return "too many redirects"
|
|
102
|
+
if error.response is not None:
|
|
103
|
+
return f"HTTP {error.response.status_code}"
|
|
104
|
+
if isinstance(error, requests.exceptions.SSLError):
|
|
105
|
+
if _is_certificate_error(error):
|
|
106
|
+
return (
|
|
107
|
+
"the server's TLS certificate could not be verified; if a proxy "
|
|
108
|
+
"intercepts TLS, point REQUESTS_CA_BUNDLE at its CA bundle"
|
|
109
|
+
)
|
|
110
|
+
return "TLS error"
|
|
111
|
+
if isinstance(error, requests.Timeout):
|
|
112
|
+
return "timed out"
|
|
113
|
+
if isinstance(error, requests.exceptions.InvalidURL):
|
|
114
|
+
return "the URL is not valid"
|
|
115
|
+
if isinstance(error, requests.ConnectionError):
|
|
116
|
+
return "connection failed"
|
|
117
|
+
return type(error).__name__
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _is_certificate_error(error: BaseException) -> bool:
|
|
121
|
+
# requests chains the ssl error below its own and urllib3's errors.
|
|
122
|
+
cause: BaseException | None = error
|
|
123
|
+
while cause is not None:
|
|
124
|
+
if isinstance(cause, ssl.SSLCertVerificationError):
|
|
125
|
+
return True
|
|
126
|
+
cause = cause.__cause__ or cause.__context__
|
|
127
|
+
return False
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def refuse_https_downgrade(response: requests.Response, **_: Any) -> None:
|
|
131
|
+
"""A requests response hook that refuses to follow a redirect from https to http.
|
|
132
|
+
|
|
133
|
+
requests drops credentials on such a redirect, but then adds any from ~/.netrc.
|
|
134
|
+
"""
|
|
135
|
+
location = response.headers.get("location")
|
|
136
|
+
if (
|
|
137
|
+
response.is_redirect
|
|
138
|
+
and location is not None
|
|
139
|
+
and urlsplit(response.url).scheme == "https"
|
|
140
|
+
and urlsplit(location).scheme == "http"
|
|
141
|
+
):
|
|
142
|
+
response.close()
|
|
143
|
+
raise DownloadError("it redirected to plain http, which was refused")
|