alpiecode 0.7.0__tar.gz → 0.7.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 (22) hide show
  1. {alpiecode-0.7.0 → alpiecode-0.7.1}/PKG-INFO +1 -1
  2. {alpiecode-0.7.0 → alpiecode-0.7.1}/pyproject.toml +1 -1
  3. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/PKG-INFO +1 -1
  4. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/config.py +1 -1
  5. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/local_model.py +20 -13
  6. {alpiecode-0.7.0 → alpiecode-0.7.1}/README.md +0 -0
  7. {alpiecode-0.7.0 → alpiecode-0.7.1}/setup.cfg +0 -0
  8. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/SOURCES.txt +0 -0
  9. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/dependency_links.txt +0 -0
  10. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/entry_points.txt +0 -0
  11. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/requires.txt +0 -0
  12. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/alpiecode.egg-info/top_level.txt +0 -0
  13. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/__init__.py +0 -0
  14. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/agent.py +0 -0
  15. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/cli.py +0 -0
  16. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/compaction.py +0 -0
  17. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/github.py +0 -0
  18. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/guardian.py +0 -0
  19. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/media.py +0 -0
  20. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/memory.py +0 -0
  21. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/tools.py +0 -0
  22. {alpiecode-0.7.0 → alpiecode-0.7.1}/src/codeagent/updater.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alpiecode
3
- Version: 0.7.0
3
+ Version: 0.7.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 = "0.7.0"
7
+ version = "0.7.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: 0.7.0
3
+ Version: 0.7.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
@@ -75,7 +75,7 @@ def get_shared_http_client():
75
75
  import httpx
76
76
  _SHARED_HTTP_CLIENT = httpx.Client(
77
77
  http2=True,
78
- timeout=httpx.Timeout(30.0, connect=3.0),
78
+ timeout=httpx.Timeout(120.0, connect=5.0),
79
79
  limits=httpx.Limits(max_keepalive_connections=20, max_connections=50),
80
80
  )
81
81
  return _SHARED_HTTP_CLIENT
@@ -242,30 +242,37 @@ def _ensure_llama_cpp():
242
242
  else:
243
243
  wheel_url = "https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.34-vulkan/llama_cpp_python-0.3.34-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
244
244
 
245
+ install_targets = [wheel_url, "llama-cpp-python"]
245
246
  installed = False
246
247
  last_error = ""
247
- for cmd_base in [["uv", "pip", "install", wheel_url], [sys.executable, "-m", "pip", "install", wheel_url]]:
248
- try:
249
- res = subprocess.run(cmd_base, capture_output=True, text=True, timeout=120)
250
- if res.returncode == 0:
251
- installed = True
252
- break
253
- else:
254
- last_error = res.stderr.strip() or res.stdout.strip()
255
- except Exception as e:
256
- last_error = str(e)
257
- continue
248
+ for target in install_targets:
249
+ for cmd_base in [
250
+ ["uv", "pip", "install", target],
251
+ [sys.executable, "-m", "pip", "install", target],
252
+ ]:
253
+ try:
254
+ res = subprocess.run(cmd_base, capture_output=True, text=True, timeout=180)
255
+ if res.returncode == 0:
256
+ installed = True
257
+ break
258
+ else:
259
+ last_error = res.stderr.strip() or res.stdout.strip()
260
+ except Exception as e:
261
+ last_error = str(e)
262
+ continue
263
+ if installed:
264
+ break
258
265
 
259
266
  try:
260
267
  from llama_cpp import Llama
261
268
  print("✅ Pre-compiled local GGUF engine installed successfully!")
262
269
  return Llama
263
270
  except ImportError:
264
- err_detail = f"\n Last error: {last_error[:200]}" if last_error else ""
271
+ err_detail = f"\n Last error: {last_error[:300]}" if last_error else ""
265
272
  raise RuntimeError(
266
273
  "\n╭────────────────────────────────────────────────────────────╮\n"
267
274
  "│ Failed to auto-install local GGUF engine. │\n"
268
- "│ Internet connection required for first-time setup. │\n"
275
+ "│ Please check your internet connection for first setup. │\n"
269
276
  "╰────────────────────────────────────────────────────────────╯"
270
277
  f"{err_detail}"
271
278
  )
File without changes
File without changes