agent-starter-pack 0.9.2__py3-none-any.whl → 0.10.0__py3-none-any.whl

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.
Files changed (56) hide show
  1. {agent_starter_pack-0.9.2.dist-info → agent_starter_pack-0.10.0.dist-info}/METADATA +2 -2
  2. {agent_starter_pack-0.9.2.dist-info → agent_starter_pack-0.10.0.dist-info}/RECORD +53 -51
  3. agents/adk_base/.template/templateconfig.yaml +1 -1
  4. agents/adk_gemini_fullstack/.template/templateconfig.yaml +1 -1
  5. agents/agentic_rag/.template/templateconfig.yaml +1 -1
  6. agents/agentic_rag/README.md +1 -1
  7. agents/live_api/tests/integration/test_server_e2e.py +7 -1
  8. llm.txt +3 -2
  9. src/base_template/Makefile +4 -3
  10. src/base_template/README.md +7 -2
  11. src/base_template/deployment/README.md +6 -121
  12. src/base_template/deployment/terraform/github.tf +284 -0
  13. src/base_template/deployment/terraform/providers.tf +5 -0
  14. src/base_template/deployment/terraform/variables.tf +40 -1
  15. src/base_template/deployment/terraform/vars/env.tfvars +7 -1
  16. src/base_template/deployment/terraform/{% if cookiecutter.cicd_runner == 'github_actions' %}wif.tf{% else %}unused_wif.tf{% endif %} +43 -0
  17. src/base_template/deployment/terraform/{build_triggers.tf → {% if cookiecutter.cicd_runner == 'google_cloud_build' %}build_triggers.tf{% else %}unused_build_triggers.tf{% endif %} } +33 -18
  18. src/base_template/{% if cookiecutter.cicd_runner == 'github_actions' %}.github{% else %}unused_github{% endif %}/workflows/deploy-to-prod.yaml +114 -0
  19. src/base_template/{% if cookiecutter.cicd_runner == 'github_actions' %}.github{% else %}unused_github{% endif %}/workflows/pr_checks.yaml +65 -0
  20. src/base_template/{% if cookiecutter.cicd_runner == 'github_actions' %}.github{% else %}unused_github{% endif %}/workflows/staging.yaml +170 -0
  21. src/base_template/{deployment/cd/deploy-to-prod.yaml → {% if cookiecutter.cicd_runner == 'google_cloud_build' %}.cloudbuild{% else %}unused_.cloudbuild{% endif %}/deploy-to-prod.yaml } +7 -7
  22. src/base_template/{deployment/cd/staging.yaml → {% if cookiecutter.cicd_runner == 'google_cloud_build' %}.cloudbuild{% else %}unused_.cloudbuild{% endif %}/staging.yaml } +7 -7
  23. src/cli/commands/create.py +120 -4
  24. src/cli/commands/list.py +1 -1
  25. src/cli/commands/setup_cicd.py +292 -298
  26. src/cli/utils/cicd.py +19 -7
  27. src/cli/utils/remote_template.py +4 -4
  28. src/cli/utils/template.py +67 -19
  29. src/deployment_targets/cloud_run/app/server.py +19 -0
  30. src/deployment_targets/cloud_run/deployment/terraform/dev/service.tf +4 -3
  31. src/deployment_targets/cloud_run/deployment/terraform/service.tf +4 -3
  32. src/deployment_targets/cloud_run/tests/integration/test_server_e2e.py +35 -0
  33. src/deployment_targets/cloud_run/tests/load_test/README.md +1 -1
  34. src/frontends/live_api_react/frontend/package-lock.json +19 -16
  35. src/frontends/streamlit/frontend/side_bar.py +1 -1
  36. src/frontends/streamlit/frontend/utils/chat_utils.py +1 -1
  37. src/frontends/streamlit/frontend/utils/local_chat_history.py +2 -2
  38. src/resources/docs/adk-cheatsheet.md +1 -1
  39. src/resources/locks/uv-adk_base-agent_engine.lock +164 -131
  40. src/resources/locks/uv-adk_base-cloud_run.lock +177 -144
  41. src/resources/locks/uv-adk_gemini_fullstack-agent_engine.lock +164 -131
  42. src/resources/locks/uv-adk_gemini_fullstack-cloud_run.lock +177 -144
  43. src/resources/locks/uv-agentic_rag-agent_engine.lock +223 -190
  44. src/resources/locks/uv-agentic_rag-cloud_run.lock +251 -218
  45. src/resources/locks/uv-crewai_coding_crew-agent_engine.lock +315 -485
  46. src/resources/locks/uv-crewai_coding_crew-cloud_run.lock +358 -531
  47. src/resources/locks/uv-langgraph_base_react-agent_engine.lock +281 -249
  48. src/resources/locks/uv-langgraph_base_react-cloud_run.lock +323 -290
  49. src/resources/locks/uv-live_api-cloud_run.lock +350 -327
  50. src/resources/setup_cicd/cicd_variables.tf +0 -41
  51. src/resources/setup_cicd/github.tf +0 -87
  52. src/resources/setup_cicd/providers.tf +0 -39
  53. {agent_starter_pack-0.9.2.dist-info → agent_starter_pack-0.10.0.dist-info}/WHEEL +0 -0
  54. {agent_starter_pack-0.9.2.dist-info → agent_starter_pack-0.10.0.dist-info}/entry_points.txt +0 -0
  55. {agent_starter_pack-0.9.2.dist-info → agent_starter_pack-0.10.0.dist-info}/licenses/LICENSE +0 -0
  56. /src/base_template/{deployment/ci → {% if cookiecutter.cicd_runner == 'google_cloud_build' %}.cloudbuild{% else %}unused_.cloudbuild{% endif %}}/pr_checks.yaml +0 -0
@@ -1,41 +0,0 @@
1
- # Copyright 2025 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
- # http://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
- variable "repository_owner" {
16
- description = "Owner of the GitHub repository"
17
- type = string
18
- }
19
-
20
- variable "github_app_installation_id" {
21
- description = "GitHub App Installation ID"
22
- type = string
23
- }
24
-
25
- variable "github_pat_secret_id" {
26
- description = "GitHub PAT secret id in Cloud Secret Manager"
27
- type = string
28
- default = "github-pat"
29
- }
30
-
31
- variable "connection_exists" {
32
- description = "Flag indicating if a Cloud Build connection already exists"
33
- type = bool
34
- default = false
35
- }
36
-
37
- variable "repository_exists" {
38
- description = "Flag indicating if the Git repository already exists"
39
- type = bool
40
- default = false
41
- }
@@ -1,87 +0,0 @@
1
- # Copyright 2025 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
- # http://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
- provider "github" {
16
- token = data.google_secret_manager_secret_version.github_token.secret_data
17
- owner = var.repository_owner
18
- }
19
-
20
- data "google_secret_manager_secret_version" "github_token" {
21
- project = var.cicd_runner_project_id
22
- secret = var.github_pat_secret_id
23
- version = "latest"
24
- }
25
-
26
- # Create the GitHub connection
27
- resource "google_cloudbuildv2_connection" "github_connection" {
28
- count = var.connection_exists ? 0 : 1
29
- project = var.cicd_runner_project_id
30
- location = var.region
31
- name = var.host_connection_name
32
-
33
- github_config {
34
- app_installation_id = var.github_app_installation_id
35
- authorizer_credential {
36
- oauth_token_secret_version = "projects/${var.cicd_runner_project_id}/secrets/${var.github_pat_secret_id}/versions/latest"
37
- }
38
- }
39
- depends_on = [resource.google_project_service.cicd_services, resource.google_project_service.deploy_project_services]
40
- }
41
-
42
- locals {
43
- connection_name = var.host_connection_name
44
- }
45
-
46
-
47
- # Try to get existing repo
48
- data "github_repository" "existing_repo" {
49
- count = var.repository_exists ? 1 : 0
50
- full_name = "${var.repository_owner}/${var.repository_name}"
51
- }
52
-
53
- # Only create GitHub repo if it doesn't already exist
54
- resource "github_repository" "repo" {
55
- count = var.repository_exists ? 0 : 1
56
- name = var.repository_name
57
- description = "Repository created by Terraform"
58
- visibility = "private"
59
-
60
- has_issues = true
61
- has_wiki = false
62
- has_projects = false
63
- has_downloads = false
64
-
65
- allow_merge_commit = true
66
- allow_squash_merge = true
67
- allow_rebase_merge = true
68
-
69
- auto_init = false
70
- }
71
-
72
-
73
- resource "google_cloudbuildv2_repository" "repo" {
74
- project = var.cicd_runner_project_id
75
- location = var.region
76
- name = var.repository_name
77
-
78
- parent_connection = "projects/${var.cicd_runner_project_id}/locations/${var.region}/connections/${local.connection_name}"
79
- remote_uri = "https://github.com/${var.repository_owner}/${var.repository_name}.git"
80
- depends_on = [
81
- resource.google_project_service.cicd_services,
82
- resource.google_project_service.deploy_project_services,
83
- data.github_repository.existing_repo,
84
- github_repository.repo,
85
- google_cloudbuildv2_connection.github_connection,
86
- ]
87
- }
@@ -1,39 +0,0 @@
1
- # Copyright 2025 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
- # http://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
- terraform {
16
- required_version = ">= 1.0.0"
17
- required_providers {
18
- google = {
19
- source = "hashicorp/google"
20
- version = "< 7.0.0"
21
- }
22
- github = {
23
- source = "integrations/github"
24
- version = "~> 6.5.0"
25
- }
26
- }
27
- }
28
-
29
- provider "google" {
30
- alias = "staging_billing_override"
31
- billing_project = var.staging_project_id
32
- user_project_override = true
33
- }
34
-
35
- provider "google" {
36
- alias = "prod_billing_override"
37
- billing_project = var.prod_project_id
38
- user_project_override = true
39
- }