agent-starter-pack 0.17.1__py3-none-any.whl → 0.17.2__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.
Potentially problematic release.
This version of agent-starter-pack might be problematic. Click here for more details.
- agent_starter_pack/cli/commands/enhance.py +13 -4
- {agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/METADATA +1 -1
- {agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/RECORD +6 -6
- {agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/WHEEL +0 -0
- {agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/entry_points.txt +0 -0
- {agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -94,16 +94,22 @@ def display_base_template_selection(current_base: str) -> str:
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
def display_agent_directory_selection(
|
|
97
|
-
current_dir: pathlib.Path, detected_directory: str
|
|
97
|
+
current_dir: pathlib.Path, detected_directory: str, base_template: str | None = None
|
|
98
98
|
) -> str:
|
|
99
99
|
"""Display available directories and prompt for agent directory selection."""
|
|
100
|
+
# Determine the required object name based on base template
|
|
101
|
+
is_adk = base_template and "adk" in base_template.lower()
|
|
102
|
+
required_object = "root_agent" if is_adk else "agent"
|
|
103
|
+
|
|
100
104
|
while True:
|
|
101
105
|
console.print()
|
|
102
106
|
console.print("📁 [bold]Agent Directory Selection[/bold]")
|
|
103
107
|
console.print()
|
|
104
108
|
console.print("Your project needs an agent directory containing:")
|
|
105
109
|
console.print(" • [cyan]agent.py[/cyan] file with your agent logic")
|
|
106
|
-
console.print(
|
|
110
|
+
console.print(
|
|
111
|
+
f" • [cyan]{required_object}[/cyan] variable defined in agent.py"
|
|
112
|
+
)
|
|
107
113
|
console.print()
|
|
108
114
|
console.print("Choose where your agent code is located:")
|
|
109
115
|
|
|
@@ -323,7 +329,10 @@ def enhance(
|
|
|
323
329
|
console.print()
|
|
324
330
|
|
|
325
331
|
# Determine agent specification based on template_path
|
|
326
|
-
|
|
332
|
+
# If base_template is specified, use it as the agent spec
|
|
333
|
+
if base_template:
|
|
334
|
+
agent_spec = base_template
|
|
335
|
+
elif template_path == pathlib.Path("."):
|
|
327
336
|
# Current directory - use local@ syntax
|
|
328
337
|
agent_spec = "local@."
|
|
329
338
|
elif template_path.is_dir():
|
|
@@ -421,7 +430,7 @@ def enhance(
|
|
|
421
430
|
# Interactive agent directory selection if not provided via CLI and not auto-approved
|
|
422
431
|
if not agent_directory and not auto_approve:
|
|
423
432
|
selected_agent_directory = display_agent_directory_selection(
|
|
424
|
-
current_dir, detected_agent_directory
|
|
433
|
+
current_dir, detected_agent_directory, base_template
|
|
425
434
|
)
|
|
426
435
|
final_agent_directory = selected_agent_directory
|
|
427
436
|
console.print(
|
|
@@ -70,7 +70,7 @@ agent_starter_pack/base_template/{{cookiecutter.agent_directory}}/utils/tracing.
|
|
|
70
70
|
agent_starter_pack/base_template/{{cookiecutter.agent_directory}}/utils/typing.py,sha256=cfirFUBZQOwfQjEs9EYYP2nubv6BEpVzFHPj85PTMmg,4221
|
|
71
71
|
agent_starter_pack/cli/main.py,sha256=eKi-Oi6pv2-LNiN3RYdrmvDiLXInWHkNMn8lGlkmVP4,1982
|
|
72
72
|
agent_starter_pack/cli/commands/create.py,sha256=wuRL9lX6_AL6EucRSlixP91iIo5ROeDlLUAOIGOoCbA,47322
|
|
73
|
-
agent_starter_pack/cli/commands/enhance.py,sha256=
|
|
73
|
+
agent_starter_pack/cli/commands/enhance.py,sha256=zFnxuQbEVTUtkRS3XuuuHlZ7wKIrpaNzggYN2100oYM,24622
|
|
74
74
|
agent_starter_pack/cli/commands/list.py,sha256=ZGol9eYB9Yon7JysMUCtpEOwdXzrApdTHzErx6KvT04,6856
|
|
75
75
|
agent_starter_pack/cli/commands/setup_cicd.py,sha256=UnhU8p9emfBV-7_6uKYdUfTQBnsbSIFQbJoMHMq8pik,32507
|
|
76
76
|
agent_starter_pack/cli/utils/__init__.py,sha256=_cTmsXGPqOtK0q8UW5164QTltbJRJFR_Efxq_BRL1-o,1311
|
|
@@ -172,8 +172,8 @@ agent_starter_pack/utils/generate_locks.py,sha256=LwR46w25CV0_ySF_MS9W2vp7S1Nf17
|
|
|
172
172
|
agent_starter_pack/utils/lock_utils.py,sha256=vqFHTN7lju9to74MKOmLvz80BA47G0CVkxrd1MyLWYQ,2309
|
|
173
173
|
agent_starter_pack/utils/watch_and_rebuild.py,sha256=1hMn29eLpVblfvixV9FEo46u8efmnLuRIn-bPrfdW3g,6694
|
|
174
174
|
llm.txt,sha256=z9FTkAnj3cErCzHj3IES9eB35wW3JGaVsd8a0wA7IMs,15380
|
|
175
|
-
agent_starter_pack-0.17.
|
|
176
|
-
agent_starter_pack-0.17.
|
|
177
|
-
agent_starter_pack-0.17.
|
|
178
|
-
agent_starter_pack-0.17.
|
|
179
|
-
agent_starter_pack-0.17.
|
|
175
|
+
agent_starter_pack-0.17.2.dist-info/METADATA,sha256=yJSYoXd9l5G7IlDuSfpUOv28GDC3B8jyswf1j6hIqZo,11195
|
|
176
|
+
agent_starter_pack-0.17.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
177
|
+
agent_starter_pack-0.17.2.dist-info/entry_points.txt,sha256=QLSX_97UynG0vLpoZ3ePfyCQkaR-g0qglp2b26G4KHQ,71
|
|
178
|
+
agent_starter_pack-0.17.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
179
|
+
agent_starter_pack-0.17.2.dist-info/RECORD,,
|
|
File without changes
|
{agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{agent_starter_pack-0.17.1.dist-info → agent_starter_pack-0.17.2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|