reasoning-deployment-service 0.3.7__tar.gz → 0.3.9__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.
Potentially problematic release.
This version of reasoning-deployment-service might be problematic. Click here for more details.
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/PKG-INFO +1 -1
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/pyproject.toml +1 -1
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/reasoning_deployment_service.py +5 -6
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/runner.py +3 -4
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/PKG-INFO +1 -1
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/README.md +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/api_client.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/cli_runner.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/config.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/google_deps.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/cli_editor/reasoning_engine_creator.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/agent_checkbox_list.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/main.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/core/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/core/api_client.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/core/config.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/core/google_deps.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/core/reasoning_engine_creator.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/__init__.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/agent_space_view.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/authorization_view.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/reasoning_engine_view.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/reasoning_engines_view.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service/gui_editor/src/ui/ui_components.py +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/SOURCES.txt +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/dependency_links.txt +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/entry_points.txt +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/requires.txt +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/reasoning_deployment_service.egg-info/top_level.txt +0 -0
- {reasoning_deployment_service-0.3.7 → reasoning_deployment_service-0.3.9}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "reasoning-deployment-service"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.9"
|
|
8
8
|
description = "Deployment helper for Vertex AI Reasoning Engines & Agent Spaces"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "Apache-2.0" }
|
|
@@ -26,7 +26,8 @@ class ReasoningEngineDeploymentService:
|
|
|
26
26
|
self.root_agent = root_agent
|
|
27
27
|
self.deployment_env = deployment_environment
|
|
28
28
|
self.attempt_to_use_existing_auth = False
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
self._cicd_deploy = False
|
|
30
31
|
self._staging_bucket = None
|
|
31
32
|
self._project_id = None
|
|
32
33
|
self._project_number = None
|
|
@@ -204,13 +205,11 @@ class ReasoningEngineDeploymentService:
|
|
|
204
205
|
PROD_API_TOKEN=
|
|
205
206
|
PROD_OAUTH_CLIENT_ID=
|
|
206
207
|
PROD_OAUTH_CLIENT_SECRET=
|
|
207
|
-
|
|
208
|
-
REASONING_DEPLOYMENT_VERSION=0.2.4
|
|
209
208
|
#===================== **** DEPLOYMENT PROFILE **** =====================
|
|
210
209
|
|
|
211
210
|
|
|
212
211
|
#===================== **** YOUR APP ENV VARIABLES **** =====================
|
|
213
|
-
DEVELOPER=
|
|
212
|
+
DEVELOPER=dev
|
|
214
213
|
#===================== **** YOUR APP ENV VARIABLES **** =====================
|
|
215
214
|
"""
|
|
216
215
|
|
|
@@ -276,7 +275,6 @@ class ReasoningEngineDeploymentService:
|
|
|
276
275
|
"agent_space_description": "Agent spece description, lets go",
|
|
277
276
|
"agent_space_tool_description": "Agent space tool description",
|
|
278
277
|
},
|
|
279
|
-
"agent_folder": "your_agent_folder",
|
|
280
278
|
"auth": {
|
|
281
279
|
"oauth_authorization_id": "test_auth_three",
|
|
282
280
|
},
|
|
@@ -313,7 +311,7 @@ class ReasoningEngineDeploymentService:
|
|
|
313
311
|
agent_space_tool_description = metadata["agent_space_tool_description"]
|
|
314
312
|
|
|
315
313
|
self._required_scopes = scopes
|
|
316
|
-
self._agent_folder =
|
|
314
|
+
self._agent_folder = "agent"
|
|
317
315
|
self._reasoning_engine_name = reasoning_engine_name
|
|
318
316
|
self._reasoning_engine_description = reasoning_engine_description
|
|
319
317
|
self._agent_space_name = agent_space_name
|
|
@@ -781,6 +779,7 @@ class ReasoningEngineDeploymentService:
|
|
|
781
779
|
self.info("Starting GitHub deployment...")
|
|
782
780
|
|
|
783
781
|
# Ensure Vertex SDK calls have context for list/update
|
|
782
|
+
self._cicd_deploy = True
|
|
784
783
|
vertexai.init(
|
|
785
784
|
project=self._project_id,
|
|
786
785
|
location=self._project_location,
|
|
@@ -13,7 +13,7 @@ class Runner:
|
|
|
13
13
|
parser = argparse.ArgumentParser(description="Reasoning Engine Deployment Runner")
|
|
14
14
|
parser.add_argument(
|
|
15
15
|
"--mode",
|
|
16
|
-
choices=["create", "auth", "cli", "gui", "populate_files"],
|
|
16
|
+
choices=["create", "auth", "cli", "gui", "populate_files", "github_deployment"],
|
|
17
17
|
help="Operation mode to run",
|
|
18
18
|
)
|
|
19
19
|
parser.add_argument(
|
|
@@ -88,8 +88,7 @@ class Runner:
|
|
|
88
88
|
|
|
89
89
|
# Case 3: bootstrap (first run)
|
|
90
90
|
print("No agent path configured. Let's set it up once.")
|
|
91
|
-
agent_dir =
|
|
92
|
-
agent_dir = agent_dir.rstrip("/")
|
|
91
|
+
agent_dir = "agent"
|
|
93
92
|
|
|
94
93
|
if not Path(agent_dir, "agent.py").exists():
|
|
95
94
|
print(f"Error: {agent_dir}/agent.py not found")
|
|
@@ -139,7 +138,7 @@ class Runner:
|
|
|
139
138
|
def _menu(root_agent):
|
|
140
139
|
print("Choose an operation:\n1) Create/Update\n2) Auth only\n3) CLI\n4) GUI\nq) Quit")
|
|
141
140
|
choice = input("Enter choice: ").strip().lower()
|
|
142
|
-
mapping = {"1": "create", "2": "auth", "3": "cli", "4": "gui"}
|
|
141
|
+
mapping = {"1": "create", "2": "auth", "3": "cli", "4": "gui", "5": "github_deployment"}
|
|
143
142
|
if choice == "q":
|
|
144
143
|
sys.exit(0)
|
|
145
144
|
Runner._dispatch(mapping.get(choice, ""), root_agent)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|