cowork-dash 0.1.9__py3-none-any.whl → 0.2.1__py3-none-any.whl

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.
cowork_dash/cli.py CHANGED
@@ -148,6 +148,8 @@ cowork-dash run --help
148
148
 
149
149
  def run_app_cli(args):
150
150
  """Run the application with CLI arguments."""
151
+ import platform
152
+
151
153
  # Import here to avoid loading Dash when just running init
152
154
  from .app import run_app
153
155
 
@@ -155,6 +157,13 @@ def run_app_cli(args):
155
157
  # Otherwise pass None to let env var / config take precedence
156
158
  virtual_fs = True if args.virtual_fs else None
157
159
 
160
+ # Warn if --virtual-fs requested on non-Linux
161
+ if args.virtual_fs and platform.system() != "Linux":
162
+ print("⚠️ Warning: --virtual-fs is only supported on Linux")
163
+ print(" Virtual filesystem mode requires Linux for secure bash sandboxing (bubblewrap).")
164
+ print(" Running in physical filesystem mode instead.\n")
165
+ virtual_fs = None # Let config handle it (will be False)
166
+
158
167
  return run_app(
159
168
  workspace=args.workspace,
160
169
  agent_spec=args.agent,