embed workspace-mcp as direct dependency, simplify google credential loading
- Add workspace-mcp >= 1.20.0 to pyproject.toml (pulls google-api-python-client etc. transitively) - Remove redundant google-api-python-client/google-auth/google-auth-httplib2 direct deps - Rewrite google_workspace.py: single Secrets Manager call per tool (client_id/client_secret are already in the credentials secret stored by oauth-handler, no separate oauth-client secret needed) - Mirror workspace-mcp output format for list_calendars and get_calendar_events - Add body_format param to get_gmail_message (text/html/raw) matching workspace-mcp API - Update uv.lock
This commit is contained in:
@@ -14,9 +14,7 @@ dependencies = [
|
||||
"botocore[crt] >= 1.35.0",
|
||||
"strands-agents-tools >= 0.5.0",
|
||||
"strands-agents >= 1.13.0",
|
||||
"google-api-python-client >= 2.0.0",
|
||||
"google-auth >= 2.0.0",
|
||||
"google-auth-httplib2 >= 0.2.0",
|
||||
"workspace-mcp >= 1.20.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
|
||||
Reference in New Issue
Block a user