Repository navigation
Colab Shell v1.1.0
Colab Shell: Notebook & TTY (v1.1.0) is a major release bringing full real-time interactive terminal emulation, robust multi-platform storage normalization, enhanced remote file management, and polished action workflows.
🔥 Major New Features & Architectural Upgrades
1. Interactive PTY Terminal & Tabbed Workspace
- Real-Time Web-Based Terminal (TTY) — Integrated live interactive terminal sessions directly into the session workspace via Google Colab's
/api/terminalsWebSocket endpoints. - Tabbed Session Interface — Seamlessly toggle between Notebook cell execution and Terminal shell tabs within an active cloud instance.
- WebSocket Header & Protocol Engineering — Resolved remote connection rejections by injecting
Origin: https://colab.research.google.comand properly formatting subprotocols (['colab-ws-token']) acrosstornadoproxy tunnels.
2. Unified Storage & History Logging Infrastructure
- Universal Storage Patching (
storage_patch.py) — Intercepted and wrappedHistoryLogger.__init__,StateStore, andSettingsStoreto ensure all execution logs and session histories persist reliably insidestorage/history/on both Android mobile devices and Linux desktop environments. - Full Backend Audit Logging — Added automatic
HistoryLogger().log_event()hooks across all core operations:new_session,stop_session,exec_code,ls,upload,download, andrm. - Instant Log Visibility — Fixed previous issues where session history views displayed empty lists by eliminating split configuration directory paths.
3. Interactive File Manager Improvements
- Parent Directory Navigation — Upgraded directory traversal using
posixpath.dirnameandposixpath.normpathto allow seamless browsing from subdirectories up to/contentand root (/). - Instant UI Repainting — Uploading (
upload) or deleting (rm) files now automatically refreshes directory listings (_load_files) and forces immediate UI repainting (page.update()) so changes appear instantly. - Native OS File Picker & Folder Downloading — Integrated
ft.FilePickerso users can choose exact save destinations on their device without Android storage permission conflicts. Added comprehensive Zip-and-Download support for archiving and downloading entire remote directories. - Animated Progress Bars & Payload Sizes — Replaced indeterminate loading spinners with sweeping
ft.ProgressBarcontrols that accurately report total payload sizes during uploads and downloads. - Path Normalization — Standardized POSIX path joining (
posixpath.normpath) across all file operations to eliminate path double-slashes and clean up file transfers.
4. Action Bar & Home Dashboard Refinements
- Home Quick Actions Redesign — Replaced ambiguous dashboard buttons with clear, action-oriented controls: New Notebook, Quick Terminal, and Cloud Files.
- Intelligent New Session Routing — Launching a new instance directly from the Terminal, Files, or Notebooks dashboard actions now preserves the user's intent, routing straight into that feature view as soon as provisioning completes.
- Robust Modal & Dialog Management — Eliminated UI freezing and unresponsive barriers across the app by replacing deprecated
page.pop_dialog()calls with explicitdialog.open = Falsestate management. - Live Output for Drive & GCP Auth — Wired live execution streaming (
on_output=_action_output) to Mount Drive and Auth GCP buttons, showing immediate authorization prompts and progress updates directly in the snackbar. - Clearer Labeling — Updated the
Browseraction chip label toColab Webfor improved user clarity. - Google Play Title Compliance — Updated official app branding to
Colab Shell: Notebook & TTY(28 characters, adhering to Google Play's 30-character limit).