alpiecode 7.0.0__tar.gz → 7.0.1__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.
Files changed (42) hide show
  1. {alpiecode-7.0.0 → alpiecode-7.0.1}/PKG-INFO +1 -1
  2. {alpiecode-7.0.0 → alpiecode-7.0.1}/pyproject.toml +1 -1
  3. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/PKG-INFO +1 -1
  4. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/__init__.py +1 -1
  5. alpiecode-7.0.1/src/codeagent/extension/alpiecode.vsix +0 -0
  6. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/ipython_ext.py +4 -2
  7. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/vscode_installer.py +12 -1
  8. alpiecode-7.0.0/src/codeagent/extension/alpiecode.vsix +0 -0
  9. {alpiecode-7.0.0 → alpiecode-7.0.1}/README.md +0 -0
  10. {alpiecode-7.0.0 → alpiecode-7.0.1}/setup.cfg +0 -0
  11. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode/__init__.py +0 -0
  12. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/SOURCES.txt +0 -0
  13. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/dependency_links.txt +0 -0
  14. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/entry_points.txt +0 -0
  15. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/requires.txt +0 -0
  16. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/alpiecode.egg-info/top_level.txt +0 -0
  17. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/agent.py +0 -0
  18. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/backends/__init__.py +0 -0
  19. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/backends/base.py +0 -0
  20. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/backends/local_backend.py +0 -0
  21. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/backends/openai_backend.py +0 -0
  22. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/cache.py +0 -0
  23. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/cli.py +0 -0
  24. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/client.py +0 -0
  25. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/compaction.py +0 -0
  26. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/config.py +0 -0
  27. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/context.py +0 -0
  28. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/discovery.py +0 -0
  29. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/doctor.py +0 -0
  30. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/executor.py +0 -0
  31. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/github.py +0 -0
  32. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/guardian.py +0 -0
  33. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/local_model.py +0 -0
  34. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/media.py +0 -0
  35. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/memory.py +0 -0
  36. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/orchestrator.py +0 -0
  37. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/progress.py +0 -0
  38. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/prompt.py +0 -0
  39. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/server.py +0 -0
  40. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/session.py +0 -0
  41. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/tools.py +0 -0
  42. {alpiecode-7.0.0 → alpiecode-7.0.1}/src/codeagent/updater.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alpiecode
3
- Version: 7.0.0
3
+ Version: 7.0.1
4
4
  Summary: AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM
5
5
  Requires-Python: >=3.9
6
6
  Requires-Dist: huggingface_hub>=0.20.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "alpiecode"
7
- version = "7.0.0"
7
+ version = "7.0.1"
8
8
  description = "AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM"
9
9
  requires-python = ">=3.9"
10
10
  dependencies = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alpiecode
3
- Version: 7.0.0
3
+ Version: 7.0.1
4
4
  Summary: AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM
5
5
  Requires-Python: >=3.9
6
6
  Requires-Dist: huggingface_hub>=0.20.0
@@ -16,7 +16,7 @@ Supports:
16
16
  from pathlib import Path
17
17
  from typing import Optional, Any, Dict
18
18
 
19
- __version__ = "6.1.0"
19
+ __version__ = "7.0.0"
20
20
 
21
21
 
22
22
  def run(task: str, workdir: str = ".", reasoning_level: str = "medium", **kwargs):
@@ -30,14 +30,16 @@ from .agent import run_agent
30
30
 
31
31
 
32
32
  def _is_notebook() -> bool:
33
- """Check if code is running inside a Jupyter notebook or Google Colab."""
33
+ """Check if code is running inside a web browser notebook (Jupyter, Colab, VS Code Notebook)."""
34
34
  try:
35
35
  from IPython import get_ipython
36
36
  shell = get_ipython()
37
37
  if shell is None:
38
38
  return False
39
39
  shell_name = shell.__class__.__name__
40
- if "ZMQInteractiveShell" in shell_name or "Shell" in shell_name:
40
+ if "TerminalInteractiveShell" in shell_name:
41
+ return False
42
+ if "ZMQInteractiveShell" in shell_name or hasattr(shell, "kernel") or "google.colab" in sys.modules:
41
43
  return True
42
44
  return False
43
45
  except Exception:
@@ -110,7 +110,18 @@ def ensure_vscode_extension(auto_confirm: bool = False, quiet: bool = False) ->
110
110
  try:
111
111
  win_path = subprocess.check_output(["wslpath", "-w", str(vsix_path)], text=True).strip()
112
112
  if win_path:
113
- target_arg = win_path
113
+ # VS Code CLI on Windows disallows UNC paths (\wsl.localhost\...). Copy to Windows temp.
114
+ if win_path.startswith("\\"):
115
+ try:
116
+ win_temp = subprocess.check_output(["cmd.exe", "/c", "echo %TEMP%"], text=True).strip()
117
+ if win_temp and not win_temp.startswith("%"):
118
+ dest = f"{win_temp}\\alpiecode.vsix"
119
+ subprocess.run(["cmd.exe", "/c", f'copy /y "{win_path}" "{dest}"'], capture_output=True)
120
+ target_arg = dest
121
+ except Exception:
122
+ target_arg = win_path
123
+ else:
124
+ target_arg = win_path
114
125
  except Exception:
115
126
  pass
116
127
 
File without changes
File without changes