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/agent.py +33 -17
- cowork_dash/app.py +1056 -160
- cowork_dash/assets/app.js +34 -0
- cowork_dash/assets/styles.css +804 -693
- cowork_dash/cli.py +9 -0
- cowork_dash/components.py +573 -59
- cowork_dash/config.py +12 -1
- cowork_dash/file_utils.py +43 -4
- cowork_dash/layout.py +43 -2
- cowork_dash/sandbox.py +361 -0
- cowork_dash/tools.py +656 -69
- {cowork_dash-0.1.9.dist-info → cowork_dash-0.2.1.dist-info}/METADATA +1 -1
- cowork_dash-0.2.1.dist-info/RECORD +23 -0
- cowork_dash-0.1.9.dist-info/RECORD +0 -22
- {cowork_dash-0.1.9.dist-info → cowork_dash-0.2.1.dist-info}/WHEEL +0 -0
- {cowork_dash-0.1.9.dist-info → cowork_dash-0.2.1.dist-info}/entry_points.txt +0 -0
- {cowork_dash-0.1.9.dist-info → cowork_dash-0.2.1.dist-info}/licenses/LICENSE +0 -0
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,
|