Fix Apps Script integration with main server

- Add appscript to --tools CLI choices, tool_imports, and tool_icons
- Add script service to SERVICE_CONFIGS in service_decorator
- Add script scope imports and SCOPE_GROUPS mappings
- Fix variable shadowing in _get_script_project_impl

These changes complete the Apps Script integration by adding the
missing wiring in main.py and service_decorator.py that was needed
to make the feature functional.
This commit is contained in:
sam-ent
2026-01-13 22:01:02 +00:00
parent 800c4340b7
commit 12dca1e750
3 changed files with 15 additions and 2 deletions

View File

@@ -97,13 +97,13 @@ async def _get_script_project_impl(
)
title = project.get("title", "Untitled")
script_id = project.get("scriptId", "Unknown")
project_script_id = project.get("scriptId", "Unknown")
creator = project.get("creator", {}).get("email", "Unknown")
create_time = project.get("createTime", "Unknown")
update_time = project.get("updateTime", "Unknown")
output = [
f"Project: {title} (ID: {script_id})",
f"Project: {title} (ID: {project_script_id})",
f"Creator: {creator}",
f"Created: {create_time}",
f"Modified: {update_time}",