spawnllm 0.6.2__tar.gz → 0.7.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.
- {spawnllm-0.6.2 → spawnllm-0.7.0}/PKG-INFO +1 -1
- {spawnllm-0.6.2 → spawnllm-0.7.0}/pyproject.toml +2 -2
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/claude.py +1 -1
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/spec.py +5 -2
- {spawnllm-0.6.2 → spawnllm-0.7.0}/LICENSE +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/README.md +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/__init__.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/__main__.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/__init__.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/base.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/codex.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/gemini.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/mlx.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/openai_endpoint.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/backends/registry.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/call.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/cli.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/extract.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/mlx/__init__.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/mlx/codec.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/mlx/engine.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/mlx/fuse.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/mlx/patches.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/proc.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/py.typed +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/response.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/run.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/structured.py +0 -0
- {spawnllm-0.6.2 → spawnllm-0.7.0}/spawnllm/types.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "spawnllm"
|
|
3
3
|
# Inert sentinel: the real version is set from the release tag (uv version --frozen).
|
|
4
|
-
version = "0.
|
|
4
|
+
version = "0.7.0"
|
|
5
5
|
description = "Delete your subprocess wrappers around claude, codex, and gemini."
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
license = "MIT"
|
|
@@ -127,5 +127,5 @@ docs = [
|
|
|
127
127
|
# griffe (2.x) distribution, overriding the legacy griffe<2 pin great-docs
|
|
128
128
|
# itself still declares.
|
|
129
129
|
"griffelib>=2.0",
|
|
130
|
-
"great-docs>=0.
|
|
130
|
+
"great-docs>=0.15,<0.16",
|
|
131
131
|
]
|
|
@@ -130,7 +130,7 @@ class ClaudeCliBackend(CliBackend):
|
|
|
130
130
|
),
|
|
131
131
|
*(["--system-prompt", cfg.system_prompt] if cfg.system_prompt is not None else []),
|
|
132
132
|
*(["--max-turns", str(cfg.max_turns)] if cfg.max_turns is not None else []),
|
|
133
|
-
*(["--tools", cfg.tools] if cfg.tools is not None else []),
|
|
133
|
+
*(["--tools", *cfg.tools] if cfg.tools else ["--tools", ""] if cfg.tools is not None else []),
|
|
134
134
|
*(["--disable-slash-commands"] if cfg.disable_slash_commands else []),
|
|
135
135
|
*(
|
|
136
136
|
["--json-schema", schema, "--output-format", "json"]
|
|
@@ -19,10 +19,13 @@ class ClaudeConfig:
|
|
|
19
19
|
(`permission_mode`, `mcp_config`, `strict_mcp`, `append_system_prompt`,
|
|
20
20
|
`system_prompt`, `settings`, `disallowed_tools`) and orthogonal extras
|
|
21
21
|
(`max_turns`, `max_budget_usd`, `tools`, `disable_slash_commands`,
|
|
22
|
-
`output_format`, `verbose`).
|
|
22
|
+
`output_format`, `verbose`). `tools` selects the built-in toolset: `None`
|
|
23
|
+
keeps the CLI default, `()` disables every built-in tool, and names
|
|
24
|
+
restrict the session to those tools.
|
|
23
25
|
|
|
24
26
|
Example:
|
|
25
27
|
>>> ClaudeConfig(permission_mode="bypassPermissions", strict_mcp=True)
|
|
28
|
+
>>> ClaudeConfig(tools=()) # bare session: no built-in tools
|
|
26
29
|
"""
|
|
27
30
|
|
|
28
31
|
permission_mode: str | None = None
|
|
@@ -34,7 +37,7 @@ class ClaudeConfig:
|
|
|
34
37
|
disallowed_tools: tuple[str, ...] = ()
|
|
35
38
|
max_turns: int | None = None
|
|
36
39
|
max_budget_usd: float | None = None
|
|
37
|
-
tools: str | None = None
|
|
40
|
+
tools: tuple[str, ...] | None = None
|
|
38
41
|
disable_slash_commands: bool = False
|
|
39
42
|
output_format: str | None = None
|
|
40
43
|
verbose: bool = False
|
|
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
|