coreloop 0.1.0__tar.gz → 0.1.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.
- {coreloop-0.1.0 → coreloop-0.1.2}/PKG-INFO +1 -1
- {coreloop-0.1.0 → coreloop-0.1.2}/pyproject.toml +1 -1
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/__init__.py +5 -5
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/_run.py +1 -1
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/profiles.py +1 -1
- {coreloop-0.1.0 → coreloop-0.1.2}/LICENSE +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/README.md +0 -0
- /coreloop-0.1.0/src/coreloop/coreloop.toml → /coreloop-0.1.2/src/coreloop/.coreloop.toml +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/__init__.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/__main__.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_api_client.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_cache.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_logging.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_tool_execution.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/agent.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/_tools.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/config.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/hooks.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/py.typed +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tool_registry.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/__init__.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/_shared.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/bash.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/edit.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/grep.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/ls.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/read.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/types.py +0 -0
- {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/web_tools.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: coreloop
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A lightweight async tool-calling agent for any OpenAI-compatible API, usable as a library or CLI
|
|
5
5
|
Keywords: llm,agent,tool-calling,openai,ollama,cli,async,streaming,hooks,httpx,local-models
|
|
6
6
|
Author: Chris Kilner
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""coreloop"""
|
|
2
2
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import json
|
|
@@ -17,7 +17,7 @@ from ._run import once, print_http_error, repl
|
|
|
17
17
|
from ._tools import _ALL_TOOL_NAMES, build_tools
|
|
18
18
|
|
|
19
19
|
app = typer.Typer(
|
|
20
|
-
name="
|
|
20
|
+
name="core",
|
|
21
21
|
invoke_without_command=True,
|
|
22
22
|
rich_markup_mode="rich",
|
|
23
23
|
no_args_is_help=False,
|
|
@@ -36,7 +36,7 @@ def _version_callback(value: bool) -> None:
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def _ensure_home_config() -> None:
|
|
39
|
-
dst = Path.home() / "coreloop.toml"
|
|
39
|
+
dst = Path.home() / ".coreloop.toml"
|
|
40
40
|
if dst.exists():
|
|
41
41
|
return
|
|
42
42
|
src = config_path()
|
|
@@ -69,7 +69,7 @@ def main(
|
|
|
69
69
|
),
|
|
70
70
|
# -- provider ------------------------------------------------------------------
|
|
71
71
|
profile: str = typer.Option(
|
|
72
|
-
"default", "--profile", help="Named profile from
|
|
72
|
+
"default", "--profile", help="Named profile from ~/.coreloop.toml", rich_help_panel=_P
|
|
73
73
|
),
|
|
74
74
|
model: str | None = typer.Option(
|
|
75
75
|
None,
|
|
@@ -158,7 +158,7 @@ def main(
|
|
|
158
158
|
) -> None:
|
|
159
159
|
"""A minimal LLM agent -- interactive REPL or one-shot with [bold]-p PROMPT[/bold].
|
|
160
160
|
|
|
161
|
-
On first run, [cyan]
|
|
161
|
+
On first run, [cyan]~/.coreloop.toml[/cyan] is created from the bundled default.
|
|
162
162
|
Edit it to set your provider credentials and default tools.
|
|
163
163
|
|
|
164
164
|
[bold]Examples[/bold]
|
|
@@ -68,7 +68,7 @@ async def repl(
|
|
|
68
68
|
) -> None:
|
|
69
69
|
"""Run the interactive REPL until the user quits."""
|
|
70
70
|
cwd_display = Path(agent_cfg.root or os.getcwd()).resolve()
|
|
71
|
-
header = f"
|
|
71
|
+
header = f"profile={profile} model={agent_cfg.model}"
|
|
72
72
|
if tools_opt:
|
|
73
73
|
header += f" tools={tools_opt} root={cwd_display}"
|
|
74
74
|
_console.print(header, style="cyan")
|
|
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
|