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.
Files changed (29) hide show
  1. {coreloop-0.1.0 → coreloop-0.1.2}/PKG-INFO +1 -1
  2. {coreloop-0.1.0 → coreloop-0.1.2}/pyproject.toml +1 -1
  3. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/__init__.py +5 -5
  4. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/_run.py +1 -1
  5. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/profiles.py +1 -1
  6. {coreloop-0.1.0 → coreloop-0.1.2}/LICENSE +0 -0
  7. {coreloop-0.1.0 → coreloop-0.1.2}/README.md +0 -0
  8. /coreloop-0.1.0/src/coreloop/coreloop.toml → /coreloop-0.1.2/src/coreloop/.coreloop.toml +0 -0
  9. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/__init__.py +0 -0
  10. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/__main__.py +0 -0
  11. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_api_client.py +0 -0
  12. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_cache.py +0 -0
  13. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_logging.py +0 -0
  14. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/_tool_execution.py +0 -0
  15. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/agent.py +0 -0
  16. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/cli/_tools.py +0 -0
  17. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/config.py +0 -0
  18. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/hooks.py +0 -0
  19. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/py.typed +0 -0
  20. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tool_registry.py +0 -0
  21. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/__init__.py +0 -0
  22. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/_shared.py +0 -0
  23. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/bash.py +0 -0
  24. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/edit.py +0 -0
  25. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/grep.py +0 -0
  26. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/ls.py +0 -0
  27. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/tools/read.py +0 -0
  28. {coreloop-0.1.0 → coreloop-0.1.2}/src/coreloop/types.py +0 -0
  29. {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.0
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,6 +1,6 @@
1
1
  [project]
2
2
  name = "coreloop"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "A lightweight async tool-calling agent for any OpenAI-compatible API, usable as a library or CLI"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -1,4 +1,4 @@
1
- """ma: minimal LLM agent CLI."""
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="ma",
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 ~/coreloop.toml", rich_help_panel=_P
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]~/coreloop.toml[/cyan] is created from the bundled default.
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"ma profile={profile} model={agent_cfg.model}"
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")
@@ -23,7 +23,7 @@ if TYPE_CHECKING:
23
23
 
24
24
  from dotenv import load_dotenv
25
25
 
26
- _CONFIG_FILENAME = "coreloop.toml"
26
+ _CONFIG_FILENAME = ".coreloop.toml"
27
27
  _TEMPLATE_RE = re.compile(r"\{\{(\w+)\}\}")
28
28
 
29
29
  load_dotenv()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes