alpiecode 2.0.9__tar.gz → 3.0.0__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 (39) hide show
  1. {alpiecode-2.0.9 → alpiecode-3.0.0}/PKG-INFO +1 -1
  2. {alpiecode-2.0.9 → alpiecode-3.0.0}/pyproject.toml +1 -1
  3. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/PKG-INFO +1 -1
  4. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/agent.py +9 -10
  5. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/cli.py +5 -2
  6. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/config.py +8 -7
  7. {alpiecode-2.0.9 → alpiecode-3.0.0}/README.md +0 -0
  8. {alpiecode-2.0.9 → alpiecode-3.0.0}/setup.cfg +0 -0
  9. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode/__init__.py +0 -0
  10. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/SOURCES.txt +0 -0
  11. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/dependency_links.txt +0 -0
  12. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/entry_points.txt +0 -0
  13. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/requires.txt +0 -0
  14. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/alpiecode.egg-info/top_level.txt +0 -0
  15. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/__init__.py +0 -0
  16. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/backends/__init__.py +0 -0
  17. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/backends/base.py +0 -0
  18. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/backends/local_backend.py +0 -0
  19. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/backends/openai_backend.py +0 -0
  20. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/cache.py +0 -0
  21. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/client.py +0 -0
  22. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/compaction.py +0 -0
  23. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/context.py +0 -0
  24. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/doctor.py +0 -0
  25. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/executor.py +0 -0
  26. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/extension/alpiecode.vsix +0 -0
  27. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/github.py +0 -0
  28. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/guardian.py +0 -0
  29. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/ipython_ext.py +0 -0
  30. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/local_model.py +0 -0
  31. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/media.py +0 -0
  32. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/memory.py +0 -0
  33. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/orchestrator.py +0 -0
  34. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/prompt.py +0 -0
  35. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/server.py +0 -0
  36. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/session.py +0 -0
  37. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/tools.py +0 -0
  38. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/updater.py +0 -0
  39. {alpiecode-2.0.9 → alpiecode-3.0.0}/src/codeagent/vscode_installer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alpiecode
3
- Version: 2.0.9
3
+ Version: 3.0.0
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 = "2.0.9"
7
+ version = "3.0.0"
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: 2.0.9
3
+ Version: 3.0.0
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
@@ -208,14 +208,13 @@ def run_agent(
208
208
  console.print(f"📺 URL: {url}", style="cyan")
209
209
  console.print(f"📂 Workdir: {workdir}", style="dim")
210
210
  if not data["is_offline"]:
211
- console.print(f"🌐 Mode: [bold green]ONLINE[/bold green] (Server: {cfg.base_url})", style="dim")
212
- console.print(f"🤖 Model: {cfg.model}", style="dim")
211
+ console.print(f"🌐 Mode: [bold green]ONLINE[/bold green]", style="dim")
212
+ console.print(f"🤖 Model: [bold cyan]alpie_9b[/bold cyan]", style="dim")
213
213
  else:
214
- console.print(f"🧠 Mode: [bold yellow]OFFLINE[/bold yellow] (Local GGUF GPU Engine)", style="dim")
215
- console.print(f"🧠 Local Model: {cfg.model_repo}", style="dim")
216
- console.print(f"⚡ Context Window: {cfg.n_ctx} tokens", style="dim")
217
- console.print(f"🧠 Reasoning: {'ON' if cfg.enable_thinking else 'OFF'}", style="dim")
218
- console.print(f"🔧 Tools: {data['tool_count']} available", style="dim")
214
+ console.print(f"🧠 Mode: [bold yellow]OFFLINE[/bold yellow]", style="dim")
215
+ console.print(f"🤖 Model: [bold cyan]alpie_9b (Local GGUF)[/bold cyan]", style="dim")
216
+ if cfg.enable_thinking:
217
+ console.print(f"🧠 Reasoning: [bold green]ON[/bold green]", style="dim")
219
218
  else:
220
219
  console.rule("Agent Started")
221
220
  console.print(f"📋 Task: {task.splitlines()[0]}")
@@ -294,12 +293,12 @@ def run_chat(workdir: Path, cfg: Config, verbose: bool = True) -> None:
294
293
 
295
294
  if HAS_RICH:
296
295
  console.print()
296
+ mode_line = "🌐 Mode: [bold green]ONLINE[/bold green]\n🤖 Model: [bold cyan]alpie_9b[/bold cyan]" if not is_offline else "🧠 Mode: [bold yellow]OFFLINE[/bold yellow]\n🤖 Model: [bold cyan]alpie_9b (Local GGUF)[/bold cyan]"
297
297
  console.print(
298
298
  Panel(
299
- "[bold cyan]AlpieCode[/bold cyan] interactive mode\n"
299
+ f"[bold cyan]AlpieCode[/bold cyan] interactive mode\n"
300
300
  f"📂 Working in: [cyan]{workdir}[/cyan]\n"
301
- + (f"🌐 Mode: [bold green]ONLINE[/bold green] (Server: {cfg.base_url})\n" if not is_offline else "🧠 Mode: [bold yellow]OFFLINE[/bold yellow] (Local GGUF Engine)\n")
302
- + f"🔧 Tools: [cyan]{len(active_tools)} available[/cyan]\n\n"
301
+ f"{mode_line}\n\n"
303
302
  "Type your request, or [bold red]exit[/bold red] / [bold red]quit[/bold red] to stop.",
304
303
  title="💬 Chat Mode",
305
304
  border_style="blue",
@@ -74,7 +74,8 @@ def main():
74
74
  common.add_argument("--url", default=None, help="YouTube URL for video analysis")
75
75
  common.add_argument("--github", default=None, help="GitHub repository (e.g. owner/repo or URL) for open-source analysis")
76
76
  common.add_argument("--max-turns", type=int, default=None, help="Override max turns")
77
- common.add_argument("--no-thinking", "--non-thinking", dest="no_thinking", action="store_true", help="Disable VLM reasoning/thinking mode")
77
+ common.add_argument("--thinking", "--reasoning", dest="thinking", action="store_true", help="Enable VLM reasoning mode")
78
+ common.add_argument("--no-thinking", "--non-thinking", dest="no_thinking", action="store_true", help="Disable VLM reasoning mode")
78
79
  common.add_argument("--no-update", action="store_true", help="Skip automatic update check")
79
80
  common.add_argument("--quiet", action="store_true", help="Suppress per-turn logging")
80
81
 
@@ -149,7 +150,9 @@ def main():
149
150
 
150
151
  cfg = load_config()
151
152
 
152
- if getattr(args, "no_thinking", False):
153
+ if getattr(args, "thinking", False):
154
+ cfg.enable_thinking = True
155
+ elif getattr(args, "no_thinking", False):
153
156
  cfg.enable_thinking = False
154
157
 
155
158
  if args.command == "run":
@@ -18,18 +18,18 @@ CONFIG_DIR = Path.home() / ".alpiecode"
18
18
  CONFIG_PATH = CONFIG_DIR / "config.json"
19
19
 
20
20
  # Config version — bump this when defaults change to trigger auto-migration
21
- CONFIG_VERSION = 4 # v4: Primary 20.245.200.125, smart model auto-discovery
21
+ CONFIG_VERSION = 5 # v5: model alpie_9b, reasoning OFF by default, clean display
22
22
 
23
23
  DEFAULTS = {
24
24
  "base_url": "http://20.245.200.125:8000/v1", # Primary endpoint
25
- "model": "169Pi/grpo_phase_2_merged",
25
+ "model": "alpie_9b",
26
26
  "model_repo": "169Pi/Alpie_learn_prototype_GGUF_NEW",
27
27
  "api_key": "not-needed",
28
28
  "hf_token": None,
29
29
  "max_turns": 50,
30
30
  "temperature": 0.1,
31
31
  "max_tokens": 8192,
32
- "enable_thinking": True,
32
+ "enable_thinking": False, # Reasoning OFF by default
33
33
  "n_ctx": 32768, # 32k context window
34
34
  "n_gpu_layers": None, # None = auto-detect GPU
35
35
  "config_version": CONFIG_VERSION,
@@ -84,14 +84,14 @@ def get_shared_http_client():
84
84
  @dataclass
85
85
  class Config:
86
86
  base_url: Optional[str] = None
87
- model: str = "169Pi/grpo_phase_2_merged" # Server API model name (vLLM)
87
+ model: str = "alpie_9b" # Server API model name (vLLM)
88
88
  model_repo: str = "169Pi/Alpie_learn_prototype_GGUF_NEW" # HuggingFace repo for offline GGUF
89
89
  api_key: str = "not-needed"
90
90
  hf_token: Optional[str] = None
91
91
  max_turns: int = 50
92
92
  temperature: float = 0.1
93
93
  max_tokens: int = 8192
94
- enable_thinking: bool = True
94
+ enable_thinking: bool = False
95
95
  n_ctx: int = 32768
96
96
  n_gpu_layers: Optional[int] = None
97
97
 
@@ -111,9 +111,10 @@ def load_config() -> Config:
111
111
  # v1 → v2: n_ctx was 16384, upgrade to 32768
112
112
  if saved_data.get("n_ctx") == 16384:
113
113
  data["n_ctx"] = 32768
114
- # v3v4: Primary 20.245.200.125, smart model auto-discovery
114
+ # v4v5: model alpie_9b, reasoning OFF default
115
115
  data["base_url"] = "http://20.245.200.125:8000/v1"
116
- data["model"] = "169Pi/grpo_phase_2_merged"
116
+ data["model"] = "alpie_9b"
117
+ data["enable_thinking"] = False
117
118
  data["temperature"] = 0.1
118
119
  data["max_tokens"] = 8192
119
120
  data["config_version"] = CONFIG_VERSION
File without changes
File without changes