agent-brain-cli 10.1.2__tar.gz → 10.2.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.
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/PKG-INFO +3 -3
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/__init__.py +1 -1
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/client/api_client.py +1 -3
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/index.py +0 -7
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/inject.py +11 -7
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/pyproject.toml +3 -3
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/README.md +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/cli.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/client/__init__.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/client/transport.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/__init__.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/cache.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/config.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/doctor.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/folders.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/init.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/install_agent.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/jobs.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/list_cmd.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/query.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/reset.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/start.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/status.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/stop.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/types.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/commands/uninstall.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/config.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/config_migrate.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/config_schema.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/diagnostics.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/migration.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/__init__.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/claude_converter.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/codex_converter.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/converter_base.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/gemini_converter.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/opencode_converter.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/parser.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/skill_runtime_converter.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/tool_maps.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/types.py +0 -0
- {agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/xdg_paths.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: agent-brain-cli
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.2.0
|
|
4
4
|
Summary: Agent Brain CLI - Command-line interface for managing AI agent memory and knowledge retrieval
|
|
5
5
|
Home-page: https://github.com/SpillwaveSolutions/agent-brain
|
|
6
6
|
License: MIT
|
|
@@ -15,8 +15,8 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
Requires-Dist: agent-brain-rag (>=10.
|
|
19
|
-
Requires-Dist: agent-brain-uds (>=10.
|
|
18
|
+
Requires-Dist: agent-brain-rag (>=10.2.0,<11.0.0)
|
|
19
|
+
Requires-Dist: agent-brain-uds (>=10.2.0,<11.0.0)
|
|
20
20
|
Requires-Dist: click (>=8.1.0,<9.0.0)
|
|
21
21
|
Requires-Dist: httpx (>=0.28.0,<0.29.0)
|
|
22
22
|
Requires-Dist: pydantic (>=2.10.0,<3.0.0)
|
|
@@ -370,7 +370,6 @@ class DocServeClient:
|
|
|
370
370
|
include_types: list[str] | None = None,
|
|
371
371
|
generate_summaries: bool = False,
|
|
372
372
|
force: bool = False,
|
|
373
|
-
allow_external: bool = False,
|
|
374
373
|
injector_script: str | None = None,
|
|
375
374
|
folder_metadata_file: str | None = None,
|
|
376
375
|
dry_run: bool = False,
|
|
@@ -393,7 +392,6 @@ class DocServeClient:
|
|
|
393
392
|
include_types: File type preset names (e.g., ["python", "docs"]).
|
|
394
393
|
generate_summaries: Generate LLM summaries for code chunks.
|
|
395
394
|
force: Bypass deduplication and force a new job.
|
|
396
|
-
allow_external: Allow paths outside the project directory.
|
|
397
395
|
injector_script: Path to Python script exporting process_chunk().
|
|
398
396
|
folder_metadata_file: Path to JSON file with static metadata.
|
|
399
397
|
dry_run: Validate injector against sample chunks without indexing.
|
|
@@ -433,7 +431,7 @@ class DocServeClient:
|
|
|
433
431
|
"POST",
|
|
434
432
|
"/index/",
|
|
435
433
|
json=body,
|
|
436
|
-
params={"force": force
|
|
434
|
+
params={"force": force},
|
|
437
435
|
)
|
|
438
436
|
|
|
439
437
|
return IndexResponse(
|
|
@@ -79,11 +79,6 @@ console = Console()
|
|
|
79
79
|
is_flag=True,
|
|
80
80
|
help="Force re-indexing even if embedding provider has changed",
|
|
81
81
|
)
|
|
82
|
-
@click.option(
|
|
83
|
-
"--allow-external",
|
|
84
|
-
is_flag=True,
|
|
85
|
-
help="Allow indexing paths outside the project directory",
|
|
86
|
-
)
|
|
87
82
|
@click.option("--json", "json_output", is_flag=True, help="Output as JSON")
|
|
88
83
|
@click.pass_context
|
|
89
84
|
def index_command(
|
|
@@ -101,7 +96,6 @@ def index_command(
|
|
|
101
96
|
exclude_patterns: str | None,
|
|
102
97
|
generate_summaries: bool,
|
|
103
98
|
force: bool,
|
|
104
|
-
allow_external: bool,
|
|
105
99
|
json_output: bool,
|
|
106
100
|
) -> None:
|
|
107
101
|
"""Index documents from a folder.
|
|
@@ -149,7 +143,6 @@ def index_command(
|
|
|
149
143
|
exclude_patterns=exclude_patterns_list,
|
|
150
144
|
generate_summaries=generate_summaries,
|
|
151
145
|
force=force,
|
|
152
|
-
allow_external=allow_external,
|
|
153
146
|
)
|
|
154
147
|
|
|
155
148
|
if json_output:
|
|
@@ -98,11 +98,6 @@ console = Console()
|
|
|
98
98
|
is_flag=True,
|
|
99
99
|
help="Force re-indexing even if embedding provider has changed",
|
|
100
100
|
)
|
|
101
|
-
@click.option(
|
|
102
|
-
"--allow-external",
|
|
103
|
-
is_flag=True,
|
|
104
|
-
help="Allow indexing paths outside the project directory",
|
|
105
|
-
)
|
|
106
101
|
@click.option("--json", "json_output", is_flag=True, help="Output as JSON")
|
|
107
102
|
@click.pass_context
|
|
108
103
|
def inject_command(
|
|
@@ -123,7 +118,6 @@ def inject_command(
|
|
|
123
118
|
exclude_patterns: str | None,
|
|
124
119
|
generate_summaries: bool,
|
|
125
120
|
force: bool,
|
|
126
|
-
allow_external: bool,
|
|
127
121
|
json_output: bool,
|
|
128
122
|
) -> None:
|
|
129
123
|
"""Index documents from a folder with content injection.
|
|
@@ -199,7 +193,6 @@ def inject_command(
|
|
|
199
193
|
exclude_patterns=exclude_patterns_list,
|
|
200
194
|
generate_summaries=generate_summaries,
|
|
201
195
|
force=force,
|
|
202
|
-
allow_external=allow_external,
|
|
203
196
|
injector_script=resolved_script,
|
|
204
197
|
folder_metadata_file=resolved_metadata,
|
|
205
198
|
dry_run=dry_run,
|
|
@@ -272,4 +265,15 @@ def inject_command(
|
|
|
272
265
|
"\n[dim]A conflict occurred. "
|
|
273
266
|
"Check 'agent-brain jobs' for queue status.[/]"
|
|
274
267
|
)
|
|
268
|
+
elif e.status_code == 403:
|
|
269
|
+
# Injector allowlist rejected the script (issue #181).
|
|
270
|
+
console.print(
|
|
271
|
+
"\n[dim]Injector scripts must be allowlisted in "
|
|
272
|
+
"[bold].agent-brain/config.yaml[/] before they can run on "
|
|
273
|
+
"the server. Add an entry under [bold]injector_scripts:[/] "
|
|
274
|
+
"with the script's path and the sha256 of its contents "
|
|
275
|
+
"(run [bold]sha256sum <script>[/] to get the hash). "
|
|
276
|
+
"See docs/USER_GUIDE.md 'Content Injection' for the full "
|
|
277
|
+
"schema.[/]"
|
|
278
|
+
)
|
|
275
279
|
raise SystemExit(1) from e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "agent-brain-cli"
|
|
3
|
-
version = "10.
|
|
3
|
+
version = "10.2.0"
|
|
4
4
|
description = "Agent Brain CLI - Command-line interface for managing AI agent memory and knowledge retrieval"
|
|
5
5
|
authors = ["Spillwave Solutions"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -27,8 +27,8 @@ httpx = "^0.28.0"
|
|
|
27
27
|
rich = "^13.9.0"
|
|
28
28
|
pyyaml = "^6.0.0"
|
|
29
29
|
pydantic = "^2.10.0"
|
|
30
|
-
agent-brain-rag = "^10.
|
|
31
|
-
agent-brain-uds = "^10.
|
|
30
|
+
agent-brain-rag = "^10.2.0"
|
|
31
|
+
agent-brain-uds = "^10.2.0"
|
|
32
32
|
|
|
33
33
|
[tool.poetry.group.dev.dependencies]
|
|
34
34
|
pytest = "^8.3.0"
|
|
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
|
{agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/claude_converter.py
RENAMED
|
File without changes
|
{agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/codex_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/gemini_converter.py
RENAMED
|
File without changes
|
{agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/opencode_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
{agent_brain_cli-10.1.2 → agent_brain_cli-10.2.0}/agent_brain_cli/runtime/skill_runtime_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|