alpiecode 1.0.0__tar.gz → 1.0.2__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.
- {alpiecode-1.0.0 → alpiecode-1.0.2}/PKG-INFO +1 -1
- {alpiecode-1.0.0 → alpiecode-1.0.2}/pyproject.toml +1 -1
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/PKG-INFO +1 -1
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/extension/alpiecode.vsix +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/vscode_installer.py +11 -1
- {alpiecode-1.0.0 → alpiecode-1.0.2}/README.md +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/setup.cfg +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/SOURCES.txt +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/dependency_links.txt +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/entry_points.txt +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/requires.txt +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/alpiecode.egg-info/top_level.txt +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/__init__.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/agent.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/backends/__init__.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/backends/base.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/backends/local_backend.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/backends/openai_backend.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/cache.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/cli.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/client.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/compaction.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/config.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/context.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/executor.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/github.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/guardian.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/local_model.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/media.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/memory.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/orchestrator.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/prompt.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/server.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/session.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/tools.py +0 -0
- {alpiecode-1.0.0 → alpiecode-1.0.2}/src/codeagent/updater.py +0 -0
|
Binary file
|
|
@@ -104,8 +104,18 @@ def ensure_vscode_extension(auto_confirm: bool = False, quiet: bool = False) ->
|
|
|
104
104
|
|
|
105
105
|
print(f"📦 Installing AlpieCode VS Code extension ({vsix_path.name})...")
|
|
106
106
|
try:
|
|
107
|
+
target_arg = str(vsix_path)
|
|
108
|
+
# If running in WSL and code_bin points to Windows binary, convert path to Windows format
|
|
109
|
+
if os.path.exists("/proc/version") and shutil.which("wslpath") and ("/mnt/" in code_bin or code_bin.endswith(".cmd") or code_bin.endswith(".exe")):
|
|
110
|
+
try:
|
|
111
|
+
win_path = subprocess.check_output(["wslpath", "-w", str(vsix_path)], text=True).strip()
|
|
112
|
+
if win_path:
|
|
113
|
+
target_arg = win_path
|
|
114
|
+
except Exception:
|
|
115
|
+
pass
|
|
116
|
+
|
|
107
117
|
res = subprocess.run(
|
|
108
|
-
[code_bin, "--install-extension",
|
|
118
|
+
[code_bin, "--install-extension", target_arg, "--force"],
|
|
109
119
|
capture_output=True,
|
|
110
120
|
text=True,
|
|
111
121
|
timeout=30,
|
|
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
|
|
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
|
|
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
|