google-agents-cli 1.9.0__tar.gz → 1.10.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.9.0 → google_agents_cli-1.10.0}/PKG-INFO +8 -8
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/README.md +6 -6
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/pyproject.toml +6 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_agent_platform.py +3 -3
- google_agents_cli-1.10.0/src/google/agents/cli/_agent_platform_types.py +23 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_click.py +13 -1
- google_agents_cli-1.10.0/src/google/agents/cli/_fs.py +95 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_project.py +35 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_remote.py +1 -1
- google_agents_cli-1.10.0/src/google/agents/cli/_sdk_compat.py +152 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/auth.py +4 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/data/_recipe.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/_cloud_validation.py +8 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/_operation.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/_utils.py +55 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/agent_runtime.py +158 -128
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/cloud_run.py +41 -16
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/cmd_deploy.py +100 -26
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/gke.py +6 -6
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/_synthesize_runner.py +6 -7
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_analyze.py +5 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_dataset.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_eval_group.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_grade.py +4 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_metric.py +2 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_run.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_submit.py +6 -5
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/eval_utils.py +14 -15
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/optimize_utils.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_loader.py +8 -7
- google_agents_cli-1.10.0/src/google/agents/cli/extension/_manifest.py +227 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_resolver.py +34 -11
- google_agents_cli-1.10.0/src/google/agents/cli/extension/_skills.py +530 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_spec.py +90 -0
- google_agents_cli-1.10.0/src/google/agents/cli/extension/_sync.py +407 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/cmd_extension_add.py +120 -12
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/cmd_extension_group.py +3 -3
- google_agents_cli-1.10.0/src/google/agents/cli/extension/cmd_extension_remove.py +223 -0
- google_agents_cli-1.10.0/src/google/agents/cli/extension/cmd_extension_update.py +615 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/main.py +16 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/publish/cmd_publish.py +111 -93
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/publish/cmd_publish_group.py +8 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/run/_local_server.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/run/cmd_run.py +10 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/.template/templateconfig.yaml +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/app_utils/a2a.py +4 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/app_utils/reasoning_engine_adapter.py +5 -5
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/fast_api_app.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/datasets/README.md +1 -1
- {google_agents_cli-1.9.0/src/google/agents/cli/scaffold/agents/adk_go → google_agents_cli-1.10.0/src/google/agents/cli/scaffold/agents/adk/tests}/eval/eval_config.yaml +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/response_quality.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/Makefile +7 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/README.md +3 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/app/agent.go +1 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/app/agent_test.go +4 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/appurl.go +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/datasets/README.md +1 -1
- {google_agents_cli-1.9.0/src/google/agents/cli/scaffold/agents/adk/tests → google_agents_cli-1.10.0/src/google/agents/cli/scaffold/agents/adk_go}/eval/eval_config.yaml +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/response_quality.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/main.go +3 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/sessions/sessions.go +12 -12
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/Makefile +7 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/README.md +3 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/README.md +2 -2
- google_agents_cli-1.10.0/src/google/agents/cli/scaffold/base_templates/_shared/agents-cli-manifest.yaml +23 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/build_triggers.tf +4 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/github.tf +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/iam.tf +26 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/outputs.tf +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/service_accounts.tf +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/variables.tf +20 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/iam.tf +20 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/outputs.tf +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/variables.tf +20 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/deploy-to-prod.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/staging.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.env +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.env.example +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/deploy-to-prod.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/staging.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.env.example +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/deploy-to-prod.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/staging.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.env +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.env.example +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/deploy-to-prod.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/staging.yaml +2 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/README.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.env.example +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/commands/create.py +54 -13
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/commands/enhance.py +49 -11
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/commands/upgrade.py +2 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service.tf +6 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service.tf +6 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/integration/test_server_e2e.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/load_test.py +1 -1
- {google_agents_cli-1.9.0/src/google/agents/cli/scaffold/deployment_targets/gke → google_agents_cli-1.10.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run}/python/tests/integration/test_server_e2e.py +5 -5
- {google_agents_cli-1.9.0/src/google/agents/cli/scaffold/deployment_targets/none → google_agents_cli-1.10.0/src/google/agents/cli/scaffold/deployment_targets/gke}/python/tests/integration/test_server_e2e.py +5 -5
- {google_agents_cli-1.9.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run → google_agents_cli-1.10.0/src/google/agents/cli/scaffold/deployment_targets/none}/python/tests/integration/test_server_e2e.py +5 -5
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-agent_runtime.lock +403 -354
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-cloud_run.lock +468 -416
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-gke.lock +468 -416
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/cli_options.py +14 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/copy_files.py +18 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/fs.py +30 -8
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/gcp.py +19 -15
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/generation_metadata.py +28 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/language.py +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/logging.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/merge.py +11 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/template.py +40 -7
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/upgrade.py +47 -7
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/setup/_antigravity.py +5 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/_bundle.py +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/README.md +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/SKILL.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-go.md +6 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python-live.md +12 -12
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python.md +9 -9
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/samples.md +16 -10
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/SKILL.md +17 -15
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/agent-runtime.md +9 -9
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cloud-run.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cmek.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/gke.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/testing-deployed-agents.md +3 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/SKILL.md +8 -8
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/advanced-commands.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/dataset_schema.md +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/live-eval.md +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/metrics-guide.md +4 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/user-simulation.md +2 -2
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/SKILL.md +3 -3
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/cloud-trace-and-logging.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-publish/SKILL.md +38 -36
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-scaffold/SKILL.md +7 -7
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-scaffold/references/flags.md +4 -4
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/SKILL.md +10 -9
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/commands.md +1 -1
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/extension.md +11 -7
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/internals.md +2 -2
- google_agents_cli-1.10.0/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/terminology.md +13 -0
- google_agents_cli-1.9.0/src/google/agents/cli/_agent_platform_types.py +0 -31
- google_agents_cli-1.9.0/src/google/agents/cli/deploy/_agent_engines.py +0 -68
- google_agents_cli-1.9.0/src/google/agents/cli/extension/_manifest.py +0 -137
- google_agents_cli-1.9.0/src/google/agents/cli/extension/_sync.py +0 -102
- google_agents_cli-1.9.0/src/google/agents/cli/extension/cmd_extension_remove.py +0 -63
- google_agents_cli-1.9.0/src/google/agents/cli/extension/cmd_extension_update.py +0 -147
- google_agents_cli-1.9.0/src/google/agents/cli/scaffold/base_templates/_shared/agents-cli-manifest.yaml +0 -21
- google_agents_cli-1.9.0/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/terminology.md +0 -12
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/LICENSE +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_adk_client.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_defaults.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_experiments.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_gcp_project.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_modes.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_output.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_runner.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_skills_check.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_telemetry.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_telemetry_worker.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_tools.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_trust.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/data/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/data/cmd_data_ingestion.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/deploy/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/dev/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/dev/cmd_build.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/dev/cmd_install.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/dev/cmd_lint.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/dev/cmd_playground.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/_events.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/_live.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/_paths.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_compare.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_generate.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/eval/cmd_optimize.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_compat.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_overrides.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_paths.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_refs.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_schema.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/_trust.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/extension/cmd_extension_list.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/info/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/info/cmd_info.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/_cicd_utils.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/_terraform.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/cmd_cicd.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/cmd_datastore.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/cmd_infra.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/cmd_infra_show.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/infra/cmd_infra_single_project.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/publish/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/run/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/run/_a2a_pinning.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/run/_multimodal.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/agent.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/app/app_utils/services.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/datasets/basic-dataset.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk/tests/integration/test_agent.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/Dockerfile +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/appinfo/appinfo.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/appinfo/appinfo_test.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/apploader.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/integration/server_e2e_test.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/e2e/load_test/load_test.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/eval/datasets/basic-dataset.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/go.mod +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/go.sum +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/observability.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/observability_test.go +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_go/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/Dockerfile +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/pom.xml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/Agent.java +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/Main.java +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/integration/ServerE2ETest.java +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.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.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/LoadTest.java +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.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.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_java/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/Dockerfile +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/Makefile +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/app/agent.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/package-lock.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/package.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/integration/agent.test.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/integration/server_e2e.test.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/load_test/load_test.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/unit/dummy.test.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/empty_go/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/empty_java/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/empty_py/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/agents/empty_ts/.template/templateconfig.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/apis.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/locals.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/providers.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/storage.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/vars/env.tfvars +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/wif.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/apis.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/providers.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/storage.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/vars/env.tfvars +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.gcloudignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.gitignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/.golangci.yml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/cicd/telemetry.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/cicd/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/shared/completions.sql +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/shared/genai_logs_schema.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/single-project/telemetry.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/go/deployment/terraform/single-project/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/staging.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.gcloudignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/staging.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/.gitignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/java/src/main/resources/application.properties +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.gcloudignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/pr_checks.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/.gitignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/Dockerfile +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/completions.sql +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/genai_logs_schema.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/pyproject.toml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/tests/unit/test_dummy.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_guidance_filename}} +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/staging.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.dockerignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.gcloudignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/deploy-to-prod.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/staging.yaml +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/.gitignore +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/eslint.config.mjs +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/tsconfig.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/base_templates/typescript/vitest.config.ts +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/cmd_scaffold_group.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/commands/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/shared/dummy_source.b64 +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment_metadata.json +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/.results/.placeholder +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/README.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/load_test.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/backup.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/command.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/generate_locks.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/lock_utils.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/remote_template.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/symlinks.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/scaffold/utils/version.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/setup/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/setup/cmd_auth.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/setup/cmd_setup.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/setup/cmd_update.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/__init__.py +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-go-workflows.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-adk-code/references/adk-python-workflows.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/batch-inference.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/cicd-pipeline.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-deploy/references/terraform-patterns.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/builtin-tools-eval.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-eval/references/multimodal-eval.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/adk-docs.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/bigquery-agent-analytics.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-observability/references/feedback-mechanism.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/brainstorming.md +0 -0
- {google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/skills/data/google-agents-cli-workflow/references/spec-template.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.10.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
|
|
@@ -13,7 +13,7 @@ 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
15
|
Requires-Dist: jinja2>=3.1.0
|
|
16
|
-
Requires-Dist: google-cloud-aiplatform[evaluation]>=
|
|
16
|
+
Requires-Dist: google-cloud-aiplatform[evaluation]>=2.2.0,<3
|
|
17
17
|
Requires-Dist: google-cloud-resource-manager>=1.12.0
|
|
18
18
|
Requires-Dist: google-auth[pyopenssl]>=2.47.0
|
|
19
19
|
Requires-Dist: pyopenssl<26.2
|
|
@@ -42,7 +42,7 @@ Provides-Extra: lint
|
|
|
42
42
|
<div align="center">
|
|
43
43
|
<img src="https://raw.githubusercontent.com/google/agents-cli/main/docs/src/assets/logo_sm.png" alt="agents-cli logo" width="120" />
|
|
44
44
|
<h1><code>agents-cli</code></h1>
|
|
45
|
-
<p>The CLI and skills for building agents on Gemini
|
|
45
|
+
<p>The CLI and skills for building agents on Gemini platform.</p>
|
|
46
46
|
|
|
47
47
|
<p>
|
|
48
48
|
<a href="#get-started">Get Started</a> |
|
|
@@ -60,7 +60,7 @@ Provides-Extra: lint
|
|
|
60
60
|
|
|
61
61
|
Turn your favorite coding assistant into an expert at building and deploying agents on Google Cloud.
|
|
62
62
|
|
|
63
|
-
**Agents CLI in
|
|
63
|
+
**Agents CLI in Gemini platform** (`agents-cli`) gives your coding agent the skills and commands to build, scale, govern, and optimize enterprise-grade agents — so you don't have to learn every CLI and service yourself.
|
|
64
64
|
|
|
65
65
|
**Works seamlessly with:**
|
|
66
66
|
[Antigravity CLI](https://antigravity.google/) • [Claude Code](https://docs.anthropic.com/en/docs/claude-code) • [Codex](https://github.com/openai/codex) • *and any other coding agent.*
|
|
@@ -106,8 +106,8 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
106
106
|
| `google-agents-cli-adk-code` | ADK Python API — agents, tools, orchestration, callbacks, state |
|
|
107
107
|
| `google-agents-cli-scaffold` | Project scaffolding — `create`, `enhance`, `upgrade` |
|
|
108
108
|
| `google-agents-cli-eval` | Evaluation methodology — metrics, datasets, LLM-as-judge, adaptive rubrics |
|
|
109
|
-
| `google-agents-cli-deploy` | Deployment — [Agent Runtime](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale), [Cloud Run](https://cloud.google.com/run), [GKE](https://cloud.google.com/kubernetes-engine), CI/CD, secrets |
|
|
110
|
-
| `google-agents-cli-publish` | Gemini
|
|
109
|
+
| `google-agents-cli-deploy` | Deployment — [Agent Runtime in Gemini platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale), [Cloud Run](https://cloud.google.com/run), [GKE](https://cloud.google.com/kubernetes-engine), CI/CD, secrets |
|
|
110
|
+
| `google-agents-cli-publish` | Gemini registration |
|
|
111
111
|
| `google-agents-cli-observability` | Observability — Cloud Trace, logging, third-party integrations |
|
|
112
112
|
|
|
113
113
|
---
|
|
@@ -120,7 +120,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
120
120
|
| `agents-cli create <name>` | Create a new agent project |
|
|
121
121
|
| `agents-cli eval run` | Run the agent over the eval dataset and grade the traces |
|
|
122
122
|
| `agents-cli deploy` | Deploy to Google Cloud |
|
|
123
|
-
| `agents-cli publish gemini
|
|
123
|
+
| `agents-cli publish gemini` | Register with Gemini |
|
|
124
124
|
|
|
125
125
|
<details>
|
|
126
126
|
<summary>See all commands</summary>
|
|
@@ -148,7 +148,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
148
148
|
| `agents-cli eval optimize` | Auto-tune agent prompts using eval data |
|
|
149
149
|
| **Deploy & Publish** | |
|
|
150
150
|
| `agents-cli deploy` | Deploy to Google Cloud |
|
|
151
|
-
| `agents-cli publish gemini
|
|
151
|
+
| `agents-cli publish gemini` | Register with Gemini |
|
|
152
152
|
| `agents-cli infra single-project` | Provision single-project infrastructure |
|
|
153
153
|
| `agents-cli infra cicd` | Set up CI/CD pipeline + staging/prod infrastructure |
|
|
154
154
|
| **Other** | |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<img src="https://raw.githubusercontent.com/google/agents-cli/main/docs/src/assets/logo_sm.png" alt="agents-cli logo" width="120" />
|
|
3
3
|
<h1><code>agents-cli</code></h1>
|
|
4
|
-
<p>The CLI and skills for building agents on Gemini
|
|
4
|
+
<p>The CLI and skills for building agents on Gemini platform.</p>
|
|
5
5
|
|
|
6
6
|
<p>
|
|
7
7
|
<a href="#get-started">Get Started</a> |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
Turn your favorite coding assistant into an expert at building and deploying agents on Google Cloud.
|
|
21
21
|
|
|
22
|
-
**Agents CLI in
|
|
22
|
+
**Agents CLI in Gemini platform** (`agents-cli`) gives your coding agent the skills and commands to build, scale, govern, and optimize enterprise-grade agents — so you don't have to learn every CLI and service yourself.
|
|
23
23
|
|
|
24
24
|
**Works seamlessly with:**
|
|
25
25
|
[Antigravity CLI](https://antigravity.google/) • [Claude Code](https://docs.anthropic.com/en/docs/claude-code) • [Codex](https://github.com/openai/codex) • *and any other coding agent.*
|
|
@@ -65,8 +65,8 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
65
65
|
| `google-agents-cli-adk-code` | ADK Python API — agents, tools, orchestration, callbacks, state |
|
|
66
66
|
| `google-agents-cli-scaffold` | Project scaffolding — `create`, `enhance`, `upgrade` |
|
|
67
67
|
| `google-agents-cli-eval` | Evaluation methodology — metrics, datasets, LLM-as-judge, adaptive rubrics |
|
|
68
|
-
| `google-agents-cli-deploy` | Deployment — [Agent Runtime](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale), [Cloud Run](https://cloud.google.com/run), [GKE](https://cloud.google.com/kubernetes-engine), CI/CD, secrets |
|
|
69
|
-
| `google-agents-cli-publish` | Gemini
|
|
68
|
+
| `google-agents-cli-deploy` | Deployment — [Agent Runtime in Gemini platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale), [Cloud Run](https://cloud.google.com/run), [GKE](https://cloud.google.com/kubernetes-engine), CI/CD, secrets |
|
|
69
|
+
| `google-agents-cli-publish` | Gemini registration |
|
|
70
70
|
| `google-agents-cli-observability` | Observability — Cloud Trace, logging, third-party integrations |
|
|
71
71
|
|
|
72
72
|
---
|
|
@@ -79,7 +79,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
79
79
|
| `agents-cli create <name>` | Create a new agent project |
|
|
80
80
|
| `agents-cli eval run` | Run the agent over the eval dataset and grade the traces |
|
|
81
81
|
| `agents-cli deploy` | Deploy to Google Cloud |
|
|
82
|
-
| `agents-cli publish gemini
|
|
82
|
+
| `agents-cli publish gemini` | Register with Gemini |
|
|
83
83
|
|
|
84
84
|
<details>
|
|
85
85
|
<summary>See all commands</summary>
|
|
@@ -107,7 +107,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
|
|
|
107
107
|
| `agents-cli eval optimize` | Auto-tune agent prompts using eval data |
|
|
108
108
|
| **Deploy & Publish** | |
|
|
109
109
|
| `agents-cli deploy` | Deploy to Google Cloud |
|
|
110
|
-
| `agents-cli publish gemini
|
|
110
|
+
| `agents-cli publish gemini` | Register with Gemini |
|
|
111
111
|
| `agents-cli infra single-project` | Provision single-project infrastructure |
|
|
112
112
|
| `agents-cli infra cicd` | Set up CI/CD pipeline + staging/prod infrastructure |
|
|
113
113
|
| **Other** | |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "google-agents-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.10.0"
|
|
4
4
|
description = "Agents CLI — Agent Development Lifecycle toolchain for ADK"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -16,7 +16,7 @@ dependencies = [
|
|
|
16
16
|
"PyYAML>=6.0.2,<7",
|
|
17
17
|
"cookiecutter>=2.6.0,<3",
|
|
18
18
|
"jinja2>=3.1.0",
|
|
19
|
-
"google-cloud-aiplatform[evaluation]>=
|
|
19
|
+
"google-cloud-aiplatform[evaluation]>=2.2.0,<3",
|
|
20
20
|
"google-cloud-resource-manager>=1.12.0",
|
|
21
21
|
"google-auth[pyopenssl]>=2.47.0",
|
|
22
22
|
# pyOpenSSL 26.2 forbids mutating a used SSL Context; urllib3 does it per
|
|
@@ -135,11 +135,14 @@ ignore = ["E501", "C901", "RUF001", "UP036", "RUF067", "RUF069"]
|
|
|
135
135
|
|
|
136
136
|
[tool.ruff.lint.per-file-ignores]
|
|
137
137
|
"tests/**/*.py" = ["PLR0917"]
|
|
138
|
+
# The only module allowed to import private Agent Platform SDK modules; keep in
|
|
139
|
+
# sync with ALLOWED_PRIVATE_IMPORT_FILES in tools/ci/check_private_imports.py.
|
|
140
|
+
"src/google/agents/cli/_sdk_compat.py" = ["TID251"]
|
|
138
141
|
|
|
139
142
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
140
143
|
"rich.console.Console" = { msg = "Use `google.agents.cli._output.Console` instead to ensure project-wide defaults (soft_wrap=True) are applied." }
|
|
141
144
|
"agentplatform.Client" = { msg = "Use `google.agents.cli._agent_platform.AgentPlatformClient` instead, so the client retries throttled requests." }
|
|
142
|
-
"agentplatform._genai" = { msg = "Private SDK module that can change without notice. Use `types` from `google.agents.cli._agent_platform_types` for SDK types." }
|
|
145
|
+
"agentplatform._genai" = { msg = "Private SDK module that can change without notice. Use `types` from `google.agents.cli._agent_platform_types` for SDK types, and add any other private SDK use to `google.agents.cli._sdk_compat`." }
|
|
143
146
|
|
|
144
147
|
[tool.ruff.lint.pylint]
|
|
145
148
|
max-positional-args = 5
|
{google_agents_cli-1.9.0 → google_agents_cli-1.10.0}/src/google/agents/cli/_agent_platform.py
RENAMED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
"""Shared construction of the
|
|
15
|
+
"""Shared construction of the Gemini platform SDK client."""
|
|
16
16
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@ from typing import TYPE_CHECKING, Any
|
|
|
21
21
|
if TYPE_CHECKING:
|
|
22
22
|
import agentplatform
|
|
23
23
|
|
|
24
|
-
# Retry options applied to every
|
|
24
|
+
# Retry options applied to every Gemini platform client the CLI builds. Leaving
|
|
25
25
|
# http_status_codes unset keeps the SDK's default retryable set (408/429/500/502/503/504);
|
|
26
26
|
# waits are roughly 1s, 2s, 4s, 8s (full-jittered).
|
|
27
27
|
RETRY_OPTIONS: dict[str, Any] = {
|
|
@@ -31,7 +31,7 @@ RETRY_OPTIONS: dict[str, Any] = {
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
class AgentPlatformClient:
|
|
34
|
-
"""
|
|
34
|
+
"""Gemini platform client configured with CLI-wide defaults (e.g. retries on transient errors).
|
|
35
35
|
|
|
36
36
|
Retries are opt-in in the underlying SDK, so constructing ``agentplatform.Client``
|
|
37
37
|
directly runs without them. A ruff rule enforces using this wrapper instead.
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
"""Gemini platform SDK types.
|
|
16
|
+
|
|
17
|
+
Use ``types.EvalCase``, ``types.evals.AgentEvent``, etc. from here rather than
|
|
18
|
+
importing ``agentplatform._genai`` directly. ``_sdk_compat`` resolves them.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
from google.agents.cli._sdk_compat import types
|
|
22
|
+
|
|
23
|
+
__all__ = ["types"]
|
|
@@ -65,6 +65,7 @@ class LazyGroup(click.Group):
|
|
|
65
65
|
# name -> experiment label
|
|
66
66
|
self._experiment_gates: dict[str, str] = {}
|
|
67
67
|
self._overrides: dict[str, click.Command] = {}
|
|
68
|
+
self._hidden: set[str] = set()
|
|
68
69
|
|
|
69
70
|
def add_lazy_command(
|
|
70
71
|
self,
|
|
@@ -72,6 +73,7 @@ class LazyGroup(click.Group):
|
|
|
72
73
|
import_path: str,
|
|
73
74
|
short_help: str,
|
|
74
75
|
experiment: str | None = None,
|
|
76
|
+
hidden: bool = False,
|
|
75
77
|
) -> None:
|
|
76
78
|
"""Register a subcommand for lazy loading.
|
|
77
79
|
|
|
@@ -83,10 +85,20 @@ class LazyGroup(click.Group):
|
|
|
83
85
|
not at this registration call: `main` is built once at import, so
|
|
84
86
|
guarding registration would freeze visibility before a unit test could
|
|
85
87
|
override the experiment.
|
|
88
|
+
|
|
89
|
+
`hidden` keeps a command invocable but out of --help and the docs, e.g.
|
|
90
|
+
an old name kept as an alias after a rename.
|
|
86
91
|
"""
|
|
87
92
|
self._lazy_commands[name] = (import_path, short_help)
|
|
88
93
|
if experiment is not None:
|
|
89
94
|
self._experiment_gates[name] = experiment
|
|
95
|
+
if hidden:
|
|
96
|
+
self._hidden.add(name)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def hidden_commands(self) -> frozenset[str]:
|
|
100
|
+
"""Names registered with `hidden=True`: invocable, but not listed."""
|
|
101
|
+
return frozenset(self._hidden)
|
|
90
102
|
|
|
91
103
|
def _is_visible(self, name: str) -> bool:
|
|
92
104
|
"""True if `name` is not hidden via experiment."""
|
|
@@ -100,7 +112,7 @@ class LazyGroup(click.Group):
|
|
|
100
112
|
set(super().list_commands(ctx))
|
|
101
113
|
| set(self._lazy_commands)
|
|
102
114
|
| set(self._overrides)
|
|
103
|
-
)
|
|
115
|
+
) - self._hidden
|
|
104
116
|
return sorted(filter(self._is_visible, names))
|
|
105
117
|
|
|
106
118
|
def get_command(self, ctx: click.Context, cmd_name: str) -> click.Command | None:
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
"""File system helpers for agents CLI."""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
import contextlib
|
|
20
|
+
import logging
|
|
21
|
+
import os
|
|
22
|
+
import shutil
|
|
23
|
+
import stat
|
|
24
|
+
from pathlib import Path
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def delete_folder(folder: Path) -> None:
|
|
28
|
+
"""Delete `folder`, even when it holds read-only folders; warn when it cannot."""
|
|
29
|
+
make_folders_writable(folder)
|
|
30
|
+
shutil.rmtree(folder, ignore_errors=True)
|
|
31
|
+
if folder.exists() or folder.is_symlink():
|
|
32
|
+
logging.warning("Could not delete %s; delete it by hand.", folder)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def delete_path(path: Path) -> None:
|
|
36
|
+
"""Delete `path`; unlink a link instead of following it into a folder we do not own.
|
|
37
|
+
|
|
38
|
+
Raises OSError when it cannot delete, unlike `delete_folder`, which only warns.
|
|
39
|
+
"""
|
|
40
|
+
try:
|
|
41
|
+
mode = path.lstat().st_mode
|
|
42
|
+
except (FileNotFoundError, NotADirectoryError):
|
|
43
|
+
return
|
|
44
|
+
if stat.S_ISDIR(mode):
|
|
45
|
+
make_folders_writable(path)
|
|
46
|
+
shutil.rmtree(os.fspath(path))
|
|
47
|
+
else:
|
|
48
|
+
path.unlink()
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def make_folders_writable(root: Path) -> None:
|
|
52
|
+
"""Let ``rmtree`` delete what read-only folders under ``root`` hold.
|
|
53
|
+
|
|
54
|
+
Best effort: a folder it cannot change is left as it is.
|
|
55
|
+
"""
|
|
56
|
+
if root.is_symlink():
|
|
57
|
+
return
|
|
58
|
+
_make_writable(root)
|
|
59
|
+
for folder, subfolders, _ in os.walk(root):
|
|
60
|
+
for name in subfolders:
|
|
61
|
+
subfolder = os.path.join(folder, name)
|
|
62
|
+
# chmod follows links, so a linked folder is skipped to keep the change
|
|
63
|
+
# inside `root` (CWE-59). Each one is changed before os.walk lists it.
|
|
64
|
+
if not os.path.islink(subfolder):
|
|
65
|
+
_make_writable(subfolder)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def _make_writable(folder: str | Path) -> None:
|
|
69
|
+
with contextlib.suppress(OSError):
|
|
70
|
+
os.chmod(folder, stat.S_IRWXU)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def is_real_dir(path: Path) -> bool:
|
|
74
|
+
"""Whether `path` is a folder and not a link: a committed link can lead anywhere.
|
|
75
|
+
|
|
76
|
+
Uses `os.path`: before Python 3.14, `Path.is_dir` and `Path.is_symlink` raise
|
|
77
|
+
PermissionError under a folder that cannot be searched.
|
|
78
|
+
"""
|
|
79
|
+
return not os.path.islink(path) and os.path.isdir(path)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def first_copy_error(error: OSError) -> str:
|
|
83
|
+
"""The reason of the first failed file, instead of copytree's list of all of them."""
|
|
84
|
+
# copytree collects every failed file into one shutil.Error holding a list of
|
|
85
|
+
# (source, target, reason) tuples.
|
|
86
|
+
if isinstance(error, shutil.Error) and error.args:
|
|
87
|
+
failures = error.args[0]
|
|
88
|
+
if (
|
|
89
|
+
isinstance(failures, list)
|
|
90
|
+
and failures
|
|
91
|
+
and isinstance(failures[0], tuple)
|
|
92
|
+
and len(failures[0]) == 3
|
|
93
|
+
):
|
|
94
|
+
return str(failures[0][2])
|
|
95
|
+
return str(error)
|
|
@@ -32,6 +32,17 @@ import yaml
|
|
|
32
32
|
# ADK; new projects get the value from their template.
|
|
33
33
|
DEFAULT_FRAMEWORK = "google-adk"
|
|
34
34
|
|
|
35
|
+
# Values of create_params.agent_runtime.identity_default.
|
|
36
|
+
AGENT_IDENTITY = "agent_identity"
|
|
37
|
+
SERVICE_ACCOUNT = "service_account"
|
|
38
|
+
AGENT_RUNTIME_IDENTITY_DEFAULTS = (AGENT_IDENTITY, SERVICE_ACCOUNT)
|
|
39
|
+
|
|
40
|
+
# create_params the manifest keeps in a per-target section, as flat key ->
|
|
41
|
+
# (section, key in the section). The flat key is the ProjectConfig field.
|
|
42
|
+
NESTED_CREATE_PARAMS = {
|
|
43
|
+
"agent_runtime_identity_default": ("agent_runtime", "identity_default"),
|
|
44
|
+
}
|
|
45
|
+
|
|
35
46
|
|
|
36
47
|
@dataclass
|
|
37
48
|
class ProjectConfig:
|
|
@@ -50,6 +61,7 @@ class ProjectConfig:
|
|
|
50
61
|
cicd_runner: str = "skip"
|
|
51
62
|
agent_gateway: bool = False
|
|
52
63
|
agent_guidance_filename: str = "GEMINI.md"
|
|
64
|
+
agent_runtime_identity_default: str = SERVICE_ACCOUNT
|
|
53
65
|
# The ADK name of the root agent. Empty means "derive it from the project
|
|
54
66
|
# name"; see resolve_root_agent_name.
|
|
55
67
|
root_agent_name: str = ""
|
|
@@ -64,6 +76,7 @@ class ProjectConfig:
|
|
|
64
76
|
"agent_gateway": self.agent_gateway,
|
|
65
77
|
"agent_guidance_filename": self.agent_guidance_filename,
|
|
66
78
|
"root_agent_name": self.root_agent_name,
|
|
79
|
+
"agent_runtime_identity_default": self.agent_runtime_identity_default,
|
|
67
80
|
}
|
|
68
81
|
|
|
69
82
|
@classmethod
|
|
@@ -105,6 +118,24 @@ class ProjectConfig:
|
|
|
105
118
|
cfg.agent_gateway = create_params.get("agent_gateway", cfg.agent_gateway)
|
|
106
119
|
cfg.root_agent_name = create_params.get("root_agent_name") or ""
|
|
107
120
|
|
|
121
|
+
for flat_key, (section, key) in NESTED_CREATE_PARAMS.items():
|
|
122
|
+
values = create_params.get(section)
|
|
123
|
+
if values is None:
|
|
124
|
+
continue
|
|
125
|
+
if not isinstance(values, Mapping):
|
|
126
|
+
raise click.ClickException(
|
|
127
|
+
f"malformed create_params.{section} in {filename}"
|
|
128
|
+
)
|
|
129
|
+
if key in values:
|
|
130
|
+
setattr(cfg, flat_key, values[key])
|
|
131
|
+
|
|
132
|
+
if cfg.agent_runtime_identity_default not in AGENT_RUNTIME_IDENTITY_DEFAULTS:
|
|
133
|
+
raise click.ClickException(
|
|
134
|
+
f"invalid create_params.agent_runtime.identity_default in {filename}: "
|
|
135
|
+
f"'{cfg.agent_runtime_identity_default}' is not one of "
|
|
136
|
+
f"{', '.join(AGENT_RUNTIME_IDENTITY_DEFAULTS)}"
|
|
137
|
+
)
|
|
138
|
+
|
|
108
139
|
return cfg
|
|
109
140
|
|
|
110
141
|
|
|
@@ -182,7 +213,7 @@ def read_project_config(project_dir: str | None = None) -> ProjectConfig:
|
|
|
182
213
|
return ProjectConfig()
|
|
183
214
|
|
|
184
215
|
|
|
185
|
-
def
|
|
216
|
+
def parse_version(v: str) -> tuple[int, ...]:
|
|
186
217
|
"""Parse a dotted numeric version into a comparable tuple.
|
|
187
218
|
|
|
188
219
|
Raises ``ValueError`` on non-numeric components (e.g. a ``0.0.0-dev``
|
|
@@ -201,7 +232,7 @@ def scaffold_older_than(cfg: ProjectConfig, version: str) -> bool:
|
|
|
201
232
|
if not cfg.acli_version:
|
|
202
233
|
return False
|
|
203
234
|
try:
|
|
204
|
-
return
|
|
235
|
+
return parse_version(cfg.acli_version) < parse_version(version)
|
|
205
236
|
except ValueError:
|
|
206
237
|
return False
|
|
207
238
|
|
|
@@ -220,8 +251,8 @@ def check_cli_version(cfg: ProjectConfig) -> None:
|
|
|
220
251
|
from google.agents.cli import __version__
|
|
221
252
|
|
|
222
253
|
try:
|
|
223
|
-
project_ver =
|
|
224
|
-
cli_ver =
|
|
254
|
+
project_ver = parse_version(acli_version)
|
|
255
|
+
cli_ver = parse_version(__version__)
|
|
225
256
|
except ValueError:
|
|
226
257
|
return
|
|
227
258
|
|
|
@@ -153,7 +153,7 @@ def build_remote_headers(
|
|
|
153
153
|
Auto-detects Google Cloud credentials unless the caller supplies
|
|
154
154
|
an ``Authorization`` header via ``--header``.
|
|
155
155
|
|
|
156
|
-
Uses an **access token** for
|
|
156
|
+
Uses an **access token** for Gemini platform / Agent Runtime URLs and an
|
|
157
157
|
**identity token** (with the service URL as audience) for everything
|
|
158
158
|
else (Cloud Run, GKE, etc.).
|
|
159
159
|
"""
|
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
"""Gemini platform SDK features that the public SDK doesn't expose.
|
|
16
|
+
|
|
17
|
+
Every private SDK module or member the CLI uses goes through here, so an SDK
|
|
18
|
+
bump that breaks one of them breaks only this module (and its contract tests in
|
|
19
|
+
``tests/unittests/cli/test_sdk_compat.py``). Other modules get the SDK types
|
|
20
|
+
through ``google.agents.cli._agent_platform_types``, which re-exports ``types``.
|
|
21
|
+
Private submodule imports are lazy, so commands that need only part of this
|
|
22
|
+
module don't load the rest of the SDK.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from __future__ import annotations
|
|
26
|
+
|
|
27
|
+
import functools
|
|
28
|
+
import time
|
|
29
|
+
from typing import TYPE_CHECKING, Any
|
|
30
|
+
|
|
31
|
+
if TYPE_CHECKING:
|
|
32
|
+
# The public `agentplatform.types` is served by an untyped module
|
|
33
|
+
# `__getattr__`, which type checkers resolve to Unknown. Point them at the
|
|
34
|
+
# module it returns so the SDK models stay type-checked.
|
|
35
|
+
from agentplatform._genai import types
|
|
36
|
+
from agentplatform._genai.runtimes import Runtimes
|
|
37
|
+
|
|
38
|
+
from google.agents.cli._agent_platform import AgentPlatformClient
|
|
39
|
+
else:
|
|
40
|
+
|
|
41
|
+
def __getattr__(name: str) -> Any:
|
|
42
|
+
# Lazy: `agentplatform.types` takes ~2s to import, which callers that
|
|
43
|
+
# need only the Agent Runtime or eval helpers shouldn't pay.
|
|
44
|
+
if name == "types":
|
|
45
|
+
from agentplatform import types
|
|
46
|
+
|
|
47
|
+
return types
|
|
48
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
49
|
+
|
|
50
|
+
# --- Agent Runtime ------------------------------------------------------------
|
|
51
|
+
#
|
|
52
|
+
# The SDK's public ``create()`` / ``update()`` block until the deploy finishes and
|
|
53
|
+
# never return the operation, which ``--no-wait`` and ``deploy --status`` need.
|
|
54
|
+
# They also can't take a custom update mask.
|
|
55
|
+
|
|
56
|
+
POLL_INTERVAL_SECONDS = 10.0
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def build_config(
|
|
60
|
+
client: AgentPlatformClient, *, mode: str, **kwargs: Any
|
|
61
|
+
) -> types.UpdateRuntimeConfigDict:
|
|
62
|
+
"""Build the create/update request config, including its update mask."""
|
|
63
|
+
return _runtimes(client)._create_config(mode=mode, **kwargs)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def start_create(
|
|
67
|
+
client: AgentPlatformClient, *, config: types.CreateRuntimeConfigDict
|
|
68
|
+
) -> str:
|
|
69
|
+
"""Start creating an Agent Runtime agent and return the operation name without waiting."""
|
|
70
|
+
return _operation_name(_runtimes(client)._create(config=config))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def start_update(
|
|
74
|
+
client: AgentPlatformClient, *, name: str, config: types.UpdateRuntimeConfigDict
|
|
75
|
+
) -> str:
|
|
76
|
+
"""Start updating an Agent Runtime agent and return the operation name without waiting."""
|
|
77
|
+
return _operation_name(_runtimes(client)._update(name=name, config=config))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def get_operation(
|
|
81
|
+
client: AgentPlatformClient, *, operation_name: str
|
|
82
|
+
) -> types.RuntimeOperation:
|
|
83
|
+
"""Fetch the current state of an Agent Runtime operation."""
|
|
84
|
+
return _runtimes(client)._get_agent_operation(operation_name=operation_name)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def wait_for_operation(
|
|
88
|
+
client: AgentPlatformClient,
|
|
89
|
+
*,
|
|
90
|
+
operation_name: str,
|
|
91
|
+
poll_interval_seconds: float = POLL_INTERVAL_SECONDS,
|
|
92
|
+
) -> types.RuntimeOperation:
|
|
93
|
+
"""Poll an Agent Runtime operation until it is done and return it."""
|
|
94
|
+
operation = get_operation(client, operation_name=operation_name)
|
|
95
|
+
while not operation.done:
|
|
96
|
+
time.sleep(poll_interval_seconds)
|
|
97
|
+
operation = get_operation(client, operation_name=operation_name)
|
|
98
|
+
return operation
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def _operation_name(operation: types.RuntimeOperation) -> str:
|
|
102
|
+
name = getattr(operation, "name", None)
|
|
103
|
+
if not name:
|
|
104
|
+
raise RuntimeError("Gemini platform returned an operation without a name.")
|
|
105
|
+
return name
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def _runtimes(client: AgentPlatformClient) -> Runtimes:
|
|
109
|
+
# AgentPlatformClient forwards attributes untyped; naming the SDK class lets
|
|
110
|
+
# the type checker verify the private calls above against the SDK.
|
|
111
|
+
return client.runtimes
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# --- Eval ---------------------------------------------------------------------
|
|
115
|
+
#
|
|
116
|
+
# The SDK renders its evaluation and loss-analysis HTML reports, and lists its
|
|
117
|
+
# predefined metrics, only from private modules (b/512125999).
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@functools.cache
|
|
121
|
+
def supported_predefined_metrics() -> frozenset[str]:
|
|
122
|
+
"""Versioned predefined metric names, e.g. ``general_quality_v1``.
|
|
123
|
+
|
|
124
|
+
The public ``types.PrebuiltMetric`` loader drops the versions and adds legacy
|
|
125
|
+
metrics, so it isn't a drop-in.
|
|
126
|
+
"""
|
|
127
|
+
from agentplatform._genai._evals_constant import SUPPORTED_PREDEFINED_METRICS
|
|
128
|
+
|
|
129
|
+
return frozenset(SUPPORTED_PREDEFINED_METRICS)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def evaluation_html(eval_result_json: str) -> str:
|
|
133
|
+
"""Render the SDK's HTML report for a serialized ``EvaluationResult``."""
|
|
134
|
+
return _visualization().get_evaluation_html(eval_result_json)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def loss_analysis_html(loss_analysis_json: str) -> str:
|
|
138
|
+
"""Render the SDK's HTML report for a serialized loss-analysis response."""
|
|
139
|
+
return _visualization().get_loss_analysis_html(loss_analysis_json)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
def dataset_rows(dataset: types.EvaluationDataset) -> list[dict[str, Any]]:
|
|
143
|
+
"""Flatten a dataset into the per-case rows the HTML report displays."""
|
|
144
|
+
return _visualization()._extract_dataset_rows(dataset)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def _visualization() -> Any:
|
|
148
|
+
# Lazy: importing it loads the SDK's eval stack (litellm among others),
|
|
149
|
+
# about 3s that `eval metric list` shouldn't pay.
|
|
150
|
+
from agentplatform._genai import _evals_visualization
|
|
151
|
+
|
|
152
|
+
return _evals_visualization
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
Supports 3 authentication methods:
|
|
18
18
|
- Google Cloud credentials (Application Default Credentials)
|
|
19
19
|
- Gemini API Key from AI Studio (GEMINI_API_KEY)
|
|
20
|
-
- Express Mode /
|
|
20
|
+
- Express Mode / Gemini platform API key (GOOGLE_API_KEY)
|
|
21
21
|
|
|
22
22
|
Authentication is based on environment variables and gcloud ADC.
|
|
23
23
|
For API key methods, we print instructions for the user to
|
|
@@ -258,10 +258,10 @@ def _setup_gemini_api_key():
|
|
|
258
258
|
|
|
259
259
|
# TODO(b/495501218): Re-enable Express Mode in the login menu once launched.
|
|
260
260
|
def _setup_express_mode():
|
|
261
|
-
"""Guide the user through
|
|
261
|
+
"""Guide the user through setting up Express Mode in Gemini platform.
|
|
262
262
|
|
|
263
263
|
Checks for GOOGLE_API_KEY env var. If not set, opens the
|
|
264
|
-
|
|
264
|
+
API keys page and prompts the user to paste a key.
|
|
265
265
|
Persists the key by appending to the user's shell profile.
|
|
266
266
|
|
|
267
267
|
Returns:
|
|
@@ -277,7 +277,7 @@ def _setup_express_mode():
|
|
|
277
277
|
click.echo()
|
|
278
278
|
|
|
279
279
|
url = "https://cloud.google.com/vertex-ai/generative-ai/docs/start/api-keys"
|
|
280
|
-
click.echo(" We'll open the
|
|
280
|
+
click.echo(" We'll open the API keys page in your browser.")
|
|
281
281
|
click.echo(" Create or copy an API key, then come back here for more instructions.")
|
|
282
282
|
click.echo()
|
|
283
283
|
click.secho(f" {url}", fg="cyan")
|
|
@@ -21,8 +21,8 @@ RAG_RECIPE_MESSAGE = (
|
|
|
21
21
|
"RAG is now a clone-and-study recipe — this command has been removed.\n\n"
|
|
22
22
|
"Datastore provisioning and data ingestion live in each sample's own Makefile\n"
|
|
23
23
|
"(e.g. `make setup-infra`, `make data-ingestion`). Start from one of:\n"
|
|
24
|
-
" - rag-vector-search
|
|
25
|
-
" - rag-agent-search
|
|
24
|
+
" - rag-vector-search Vector Search in Gemini platform + KFP ingestion pipeline\n"
|
|
25
|
+
" - rag-agent-search Search in Gemini platform + managed GCS data connector\n"
|
|
26
26
|
"under core/ in https://github.com/google/adk-samples\n\n"
|
|
27
27
|
"See the agents-cli workflow skill (Phase 1: Study Reference Samples) for the\n"
|
|
28
28
|
"clone-and-study steps."
|
|
@@ -27,6 +27,7 @@ import click
|
|
|
27
27
|
import requests
|
|
28
28
|
|
|
29
29
|
from google.agents.cli._agent_platform import AgentPlatformClient
|
|
30
|
+
from google.agents.cli._project import AGENT_IDENTITY
|
|
30
31
|
from google.agents.cli.auth import get_access_token
|
|
31
32
|
from google.agents.cli.deploy._utils import parse_secrets
|
|
32
33
|
from google.agents.cli.deploy.agent_runtime import _resolve_target_agent
|
|
@@ -74,6 +75,7 @@ def validate_agent_runtime_deployment(
|
|
|
74
75
|
secrets: str | None,
|
|
75
76
|
update_only: bool,
|
|
76
77
|
agent_identity: bool | None,
|
|
78
|
+
identity_type_default: str,
|
|
77
79
|
) -> None:
|
|
78
80
|
"""Check what an Agent Runtime deploy needs, and stop if a check fails."""
|
|
79
81
|
click.echo("\n🔎 Validating the deployment (no resources are changed)...")
|
|
@@ -111,9 +113,14 @@ def validate_agent_runtime_deployment(
|
|
|
111
113
|
update_only=update_only,
|
|
112
114
|
)
|
|
113
115
|
results.append(engine_result)
|
|
116
|
+
# None when the engine lookup could not run.
|
|
117
|
+
will_create = (engine is None) if engine_known else None
|
|
118
|
+
|
|
119
|
+
if will_create and agent_identity is None:
|
|
120
|
+
agent_identity = identity_type_default == AGENT_IDENTITY
|
|
114
121
|
|
|
115
122
|
permissions = _deploy_permissions(
|
|
116
|
-
creates=
|
|
123
|
+
creates=will_create,
|
|
117
124
|
update_only=update_only,
|
|
118
125
|
agent_identity=agent_identity,
|
|
119
126
|
)
|