scios-cli 0.1.8__tar.gz → 0.1.9__tar.gz
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.
- {scios_cli-0.1.8/scios_cli.egg-info → scios_cli-0.1.9}/PKG-INFO +1 -1
- {scios_cli-0.1.8 → scios_cli-0.1.9}/pyproject.toml +1 -1
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli/main.py +17 -1
- {scios_cli-0.1.8 → scios_cli-0.1.9/scios_cli.egg-info}/PKG-INFO +1 -1
- {scios_cli-0.1.8 → scios_cli-0.1.9}/setup.py +1 -1
- {scios_cli-0.1.8 → scios_cli-0.1.9}/LICENSE +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/README.md +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli/__init__.py +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli/__main__.py +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli/install.py +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli.egg-info/SOURCES.txt +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli.egg-info/dependency_links.txt +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli.egg-info/entry_points.txt +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli.egg-info/requires.txt +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/scios_cli.egg-info/top_level.txt +0 -0
- {scios_cli-0.1.8 → scios_cli-0.1.9}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scios-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.9"
|
|
8
8
|
description = "Scios Local Agent Workspace Sync CLI — bridge your terminal to the Scios Cloud backend"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "Apache-2.0"}
|
|
@@ -241,7 +241,23 @@ def cli_entry():
|
|
|
241
241
|
sys.exit(1)
|
|
242
242
|
|
|
243
243
|
data = res.json()
|
|
244
|
-
|
|
244
|
+
# Use a writable base directory for the sync workspace.
|
|
245
|
+
# On Windows, protocol handlers start in C:\windows\system32 which is
|
|
246
|
+
# read-only. Use ~/scios/ as the base directory on all platforms when
|
|
247
|
+
# launched from a deep link, or CWD when run manually from a terminal.
|
|
248
|
+
base_dir = Path.cwd()
|
|
249
|
+
if sys.platform == "win32":
|
|
250
|
+
# Always use ~/scios on Windows to avoid permission issues
|
|
251
|
+
base_dir = Path.home() / "scios"
|
|
252
|
+
elif not base_dir.name.startswith("sync_"):
|
|
253
|
+
# On macOS/Linux, if CWD looks like a system dir, use ~/scios
|
|
254
|
+
try:
|
|
255
|
+
(base_dir / ".scios_test").touch()
|
|
256
|
+
(base_dir / ".scios_test").unlink()
|
|
257
|
+
except (PermissionError, OSError):
|
|
258
|
+
base_dir = Path.home() / "scios"
|
|
259
|
+
base_dir.mkdir(parents=True, exist_ok=True)
|
|
260
|
+
workspace_dir = base_dir / f"sync_{args.idea_id}"
|
|
245
261
|
agents_dir = workspace_dir / "agents"
|
|
246
262
|
exec_dir = workspace_dir / "execution"
|
|
247
263
|
wf_dir = workspace_dir / "workflows"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|