alpiecode 3.0.0__tar.gz → 3.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.
- {alpiecode-3.0.0 → alpiecode-3.0.1}/PKG-INFO +1 -1
- {alpiecode-3.0.0 → alpiecode-3.0.1}/pyproject.toml +1 -1
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/PKG-INFO +1 -1
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/__init__.py +5 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/agent.py +5 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/ipython_ext.py +16 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/prompt.py +5 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/README.md +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/setup.cfg +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode/__init__.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/SOURCES.txt +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/dependency_links.txt +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/entry_points.txt +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/requires.txt +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/alpiecode.egg-info/top_level.txt +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/backends/__init__.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/backends/base.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/backends/local_backend.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/backends/openai_backend.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/cache.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/cli.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/client.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/compaction.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/config.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/context.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/doctor.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/executor.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/extension/alpiecode.vsix +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/github.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/guardian.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/local_model.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/media.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/memory.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/orchestrator.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/server.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/session.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/tools.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/updater.py +0 -0
- {alpiecode-3.0.0 → alpiecode-3.0.1}/src/codeagent/vscode_installer.py +0 -0
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import warnings
|
|
2
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
3
|
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
|
4
|
+
warnings.filterwarnings("ignore", module="jupyter_client.*")
|
|
5
|
+
|
|
1
6
|
"""
|
|
2
7
|
AlpieCode — Autonomous AI Coding Agent powered by local 169Pi GGUF VLM & Online API.
|
|
3
8
|
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import warnings
|
|
2
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
3
|
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
|
4
|
+
warnings.filterwarnings("ignore", module="jupyter_client.*")
|
|
5
|
+
|
|
1
6
|
"""
|
|
2
7
|
CLI agent wrapper and presentation adapter for AlpieCode.
|
|
3
8
|
|
|
@@ -11,9 +11,16 @@ and Google Colab via cell/line magic commands and rich interactive displays:
|
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
import sys
|
|
14
|
+
import warnings
|
|
14
15
|
from pathlib import Path
|
|
15
16
|
from typing import Optional
|
|
16
17
|
|
|
18
|
+
# Suppress noisy Jupyter / Python 3.12+ deprecation warnings (e.g. datetime.utcnow in jupyter_client)
|
|
19
|
+
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
20
|
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
|
21
|
+
warnings.filterwarnings("ignore", module="jupyter_client.*")
|
|
22
|
+
warnings.filterwarnings("ignore", module="ipykernel.*")
|
|
23
|
+
|
|
17
24
|
from .config import load_config
|
|
18
25
|
from .agent import run_agent
|
|
19
26
|
|
|
@@ -42,6 +49,15 @@ def _display_html(html_str: str):
|
|
|
42
49
|
print(html_str)
|
|
43
50
|
|
|
44
51
|
|
|
52
|
+
def _display_markdown(md_str: str):
|
|
53
|
+
"""Render rich Markdown in Jupyter or Google Colab."""
|
|
54
|
+
try:
|
|
55
|
+
from IPython.display import Markdown, display
|
|
56
|
+
display(Markdown(md_str))
|
|
57
|
+
except Exception:
|
|
58
|
+
print(md_str)
|
|
59
|
+
|
|
60
|
+
|
|
45
61
|
def alpie_magic(line: str, cell: Optional[str] = None):
|
|
46
62
|
"""
|
|
47
63
|
%alpie <task> (line magic)
|
|
@@ -121,6 +121,11 @@ the repo's existing patterns and helper APIs over inventing new abstractions. Yo
|
|
|
121
121
|
fix root causes rather than symptoms: you do not silence errors, skip failing \
|
|
122
122
|
tests, or special-case output just to make a check pass.
|
|
123
123
|
|
|
124
|
+
## Direct Informational & Question-Answering Tasks
|
|
125
|
+
If the user asks a conceptual question, algorithm explanation, code explanation, math/science question, or general query (e.g. "what is the best algorithm for training alphafold 2?"):
|
|
126
|
+
- Answer DIRECTLY and comprehensively on Turn 1.
|
|
127
|
+
- Do NOT run unnecessary file searches or bash commands if the question does not require inspecting specific local project files.
|
|
128
|
+
|
|
124
129
|
## Getting your bearings
|
|
125
130
|
Before the first substantive edit, establish these things:
|
|
126
131
|
1. Where you are (list files, understand project structure)
|
|
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
|
|
File without changes
|