Updated ggsrun to v530
ggsrun was updated to v5.3.0.
- v5.3.0 (June 2026) - Responsive TUI Filer (FD Mode) Enhancements, Focus Persistence, and Platform Compatibility Fixes
Refactored TUI Filer (FD Mode) popup layouts using
tview.Flexto center dialogs (errors, sorting, details, help) and prevent text clipping. Implemented focus locking to preserve active panel focus post-action. Added wrap-around to lists and mapped theykey to yank (copy) selected file paths or File IDs to the clipboard. Resolved compilation errors on 32-bit Linux platforms (e.g.linux/arm) by explicitly castingsyscall.Stat_tCtimfields toint64inside build-tagged files, and adapted the mock simulation test suite (fd_test.go) to match the new responsive structures. - v5.2.4 (June 2026) - Latest MIME Type Formats, CLI Option Help Details, Concurrent Conversion Overhaul, and Destination Directory Support
Updated internal MIME type mapping definitions (
googlemimetypes.go) to synchronize with the latest Google Drive APIimportFormats/exportFormats. Revamped the CLI options help display for--extension(download/revision) and--convertto(upload) to explicitly list all supported formats. Overhauled the concurrent upload/download engines to handle--convertto/--noconvertdirectly in parallel streams without falling back to the legacy single-threaded uploader, adding validation capability checks and graceful error warning feedback. Added--destination(-d) option to thedownloadandrevisioncommands to allow specifying the target local directory for saving downloaded files. - v5.2.3 (June 2026) - Directory Reuse Conflict Resolution, Output Control, and CLI/MCP Alignment
Upgraded the directory upload conflict resolution mechanism to silently and recursively reuse existing remote folders without prompting. Aligned the
--conflict-modebehavior for-j/--jsonparserCLI runs to match the automated MCP mode (defaulting toOverwriteIfNewer, overridable via--cm). Muted TUI output and progress bars (mpb) when running with the-joption to return clean JSON. Supported--cmas a shorthand alias for--conflict-modein file transfers. - v5.2.2 (June 2026) - MCP Help Display Expansion, Safety Review Prompt, Dual-Mode Conflict Engine, and File-Level Error Feedback
Expanded
ggsrun mcp -h(and--help) to display all exposed MCP tool names and their detailed description outputs directly. Implemented strict programmatic safety review prompts inside theexe1MCP tool description, instructing LLMs to statically analyze Apps Script payloads for API mutations (write/update/delete) and obtain user Y/N confirmations before running, while allowing read-only scripts to run automatically. Re-designed the conflict resolution engine into a dual-mode system: automated and non-interactive for MCP server sessions (defaulting toOverwriteIfNewer, with options forIgnoreandRename), and preserving legacy interactive CLI prompts for raw executions. Refactored parallel transfer loops to capture and return detailed file-level error feedback instead of crashing. - v5.2.1 (June 2026) - Dynamic CLI Help Customization, Beacon Script Integration, and Namespace Binding
Updated the CLI help systems for
e1,e2, andwto integrate comprehensive execution command examples (including stateless beacon checks) dynamically within both the--helpflag screens and optionless execution error overlays. Fixed a namespace bug where evaluated scripts executingggsrunif.Beacon()inside the library threw aggsrunif is not definedReferenceError, by bindingggsrunifto the library’s global execution context. - v5.2.0 (June 2026) - Go standard layout, WSL2 browser integration, Web Apps URL registration, CLI UX hardening, and MCP Server Schema Improvements
Reorganized the codebase to follow the standard Go project structure (
main.go,/internal/app/,/internal/utl/). Expandedggsrun authto request Web Apps URL registration and dynamically persist it inggsrun.cfg, allowingggsrun wto run without the-uoption. Integrated WSL 2 environment detection to prompt the user to choose between the Windows host browser, WSL/Ubuntu native browser, or manual URL copy-pasting. Upgradedggsrun e1,ggsrun e2, andggsrun wcommands to dynamically print full CLI flag helps alongside custom usage examples. Improved the MCP server (ggsrun mcp) tools schema, adding rich parameter descriptions, Drive API query examples, newscriptfile/stringscriptparameters to theexe1schema,searchbyidparameter to thefilelistschema, and makingscriptidoptional by resolving automatically fromggsrun.cfg(viaGGSRUN_CFG_PATHor the local directory). Refinedtools/callbackend handling to safely strip null/empty values. - v5.1.1 (May 2026) - Modular Handlers & Enhanced MCP Server Core
Refactored the codebase to modularize legacy single-file command handlers into dedicated, organized handler files (
handler_download.go,handler_upload.go,handler_transfer.go,handler_mcp.go,handler_execute.go). Strengthened the MCP server core (ggsrun mcp) by capturing stdout and stderr execution logs for comprehensive error recovery. Embedded full support for--conflict-modeinside the MCP JSON-RPC schemas and standardized file transfer outputs intoTransferResultto support interactive multi-turn collision resolution in LLM conversations. Fully updated pre-built binaries for all major architectures. - v5.1.0 (May 2026) - Advanced Conflict Resolution Engine
Introduced a robust pre-computation conflict resolution matrix for both
downloadanduploadcommands via the new--conflict-mode(-cm) flag. Users can now choose fromskip,overwrite,rename(appends timestamp_YYYYMMDD_HHMMSSto avoid collisions), orupdate(syncs only if the source file is newer than the target). Includes interactive fallback CLI prompts if no mode is specified. Deprecated the legacy--overwrite(-o) and--skip(-s) options in favor of--conflict-mode. To avoid Drive API rate limits during massive concurrent uploads, metadata query is pre-fetched in bulk. - v5.0.3 (May 2026) - CLI UX Overhaul & Dynamic TUI Integration
Introduced a highly visual, modern Terminal UI (TUI) powered by
ptermforexe1,exe2, andwebappscommands. Added interactive loading spinners with anti-ghosting fixed-width padding (%-70s) and beautifully structured execution reports. Maintained strict backward compatibility by preserving pure JSON output streams via the-jflag for CI/CD pipeline automation. - v5.0.2 (May 2026) - Secure Web Apps Protocol Upgrade
Upgraded the
webappscommand to natively support “Only myself” execution deployments by bridging OAuth tokens (drivescope) across Google’s HTTP 302 Auth Redirects. Ported the IIFE/JSON-literal double-eval protections fromexe2towebapps. - v5.0.1 (May 2026) - Execution Engine Hardening & Double-Eval Eradication
Eliminated the V8 engine double-eval 500 server crash during dynamic script execution by enforcing IIFE and JSON-literal payload encoding. Redefined
-fflag mapping for proper API gateway resolution inexe2. Added precision deployment documentation for stateful and stateless execution modes.
You can check ggsrun at https://github.com/tanaikech/ggsrun.