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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scios-cli
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Scios Local Agent Workspace Sync CLI — bridge your terminal to the Scios Cloud backend
5
5
  Author: Scios Team
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "scios-cli"
7
- version = "0.1.8"
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
- workspace_dir = Path.cwd() / f"sync_{args.idea_id}"
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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scios-cli
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Scios Local Agent Workspace Sync CLI — bridge your terminal to the Scios Cloud backend
5
5
  Author: Scios Team
6
6
  License: Apache-2.0
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="scios-cli",
5
- version="0.1.8",
5
+ version="0.1.9",
6
6
  description="Scios Local Agent Workspace Sync CLI",
7
7
  author="Scios",
8
8
  packages=find_packages(),
File without changes
File without changes
File without changes