rlmgrep 0.1.30__py3-none-any.whl → 0.1.32__py3-none-any.whl
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.
- rlmgrep/__init__.py +1 -1
- rlmgrep/cli.py +2 -2
- rlmgrep/config.py +2 -2
- {rlmgrep-0.1.30.dist-info → rlmgrep-0.1.32.dist-info}/METADATA +6 -6
- rlmgrep-0.1.32.dist-info/RECORD +14 -0
- rlmgrep-0.1.30.dist-info/RECORD +0 -14
- {rlmgrep-0.1.30.dist-info → rlmgrep-0.1.32.dist-info}/WHEEL +0 -0
- {rlmgrep-0.1.30.dist-info → rlmgrep-0.1.32.dist-info}/entry_points.txt +0 -0
- {rlmgrep-0.1.30.dist-info → rlmgrep-0.1.32.dist-info}/top_level.txt +0 -0
rlmgrep/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.32"
|
rlmgrep/cli.py
CHANGED
|
@@ -570,9 +570,9 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
570
570
|
warnings: list[str] = []
|
|
571
571
|
else:
|
|
572
572
|
warn_threshold = _parse_num(
|
|
573
|
-
_pick(None, config, "file_warn_threshold",
|
|
573
|
+
_pick(None, config, "file_warn_threshold", 1000), int
|
|
574
574
|
)
|
|
575
|
-
hard_max = _parse_num(_pick(None, config, "file_hard_max",
|
|
575
|
+
hard_max = _parse_num(_pick(None, config, "file_hard_max", 5000), int)
|
|
576
576
|
if warn_threshold is not None and warn_threshold <= 0:
|
|
577
577
|
warn_threshold = None
|
|
578
578
|
if hard_max is not None and hard_max <= 0:
|
rlmgrep/config.py
CHANGED
|
@@ -16,8 +16,8 @@ DEFAULT_CONFIG_TEXT = "\n".join(
|
|
|
16
16
|
"max_tokens = 64000",
|
|
17
17
|
"max_iterations = 10",
|
|
18
18
|
"max_llm_calls = 20",
|
|
19
|
-
"file_warn_threshold =
|
|
20
|
-
"file_hard_max =
|
|
19
|
+
"file_warn_threshold = 1000",
|
|
20
|
+
"file_hard_max = 5000",
|
|
21
21
|
"# markitdown_enable_images = false",
|
|
22
22
|
"# markitdown_image_llm_model = \"gpt-5-mini\"",
|
|
23
23
|
"# markitdown_image_llm_provider = \"openai\"",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rlmgrep
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.32
|
|
4
4
|
Summary: Grep-shaped CLI search powered by DSPy RLM
|
|
5
5
|
Author: rlmgrep
|
|
6
6
|
License: MIT
|
|
@@ -100,7 +100,7 @@ Common options:
|
|
|
100
100
|
- `--no-recursive` do not recurse directories
|
|
101
101
|
- `-a`, `--text` treat binary files as text
|
|
102
102
|
- `-y`, `--yes` skip file count confirmation
|
|
103
|
-
- `--paths-from-stdin` treat stdin as newline-delimited file paths (e.g., `rg -l`)
|
|
103
|
+
- `--paths-from-stdin` treat stdin as newline-delimited file paths (e.g., `rg -l`). Without this flag, piped stdin is treated as content.
|
|
104
104
|
- `--model`, `--sub-model` override model names
|
|
105
105
|
- `--api-key`, `--api-base`, `--model-type` override provider settings
|
|
106
106
|
- `--max-iterations`, `--max-llm-calls` cap RLM search effort
|
|
@@ -118,7 +118,7 @@ rlmgrep "Where do we parse JWTs and enforce expiration?" --type py .
|
|
|
118
118
|
# Glob filters (repeatable or comma-separated)
|
|
119
119
|
rlmgrep "How do we map external API errors into internal error codes?" -g "**/*.py" -g "**/*.ts" .
|
|
120
120
|
|
|
121
|
-
#
|
|
121
|
+
# Read file content from stdin
|
|
122
122
|
cat README.md | rlmgrep --answer "What is this tool for and how is it used?"
|
|
123
123
|
|
|
124
124
|
# Use rg/grep to find candidate files, then rlmgrep over that list
|
|
@@ -133,7 +133,7 @@ rg -l "token" . | rlmgrep --paths-from-stdin --answer "What does this token cont
|
|
|
133
133
|
- `-g/--glob` matches path globs against normalized paths (forward slashes).
|
|
134
134
|
- Paths are printed relative to the current working directory when possible.
|
|
135
135
|
- If no paths are provided and stdin is a TTY, rlmgrep defaults to `.`. If stdin is piped, it reads from stdin and uses the synthetic path `<stdin>`.
|
|
136
|
-
- rlmgrep asks for confirmation when more than
|
|
136
|
+
- rlmgrep asks for confirmation when more than 1000 files would be loaded (use `-y/--yes` to skip), and aborts when more than 5000 files would be loaded.
|
|
137
137
|
|
|
138
138
|
## Output contract (stable for agents)
|
|
139
139
|
|
|
@@ -178,8 +178,8 @@ temperature = 1.0
|
|
|
178
178
|
max_tokens = 64000
|
|
179
179
|
max_iterations = 10
|
|
180
180
|
max_llm_calls = 20
|
|
181
|
-
file_warn_threshold =
|
|
182
|
-
file_hard_max =
|
|
181
|
+
file_warn_threshold = 1000
|
|
182
|
+
file_hard_max = 5000
|
|
183
183
|
# markitdown_enable_images = false
|
|
184
184
|
# markitdown_image_llm_model = "gpt-5-mini"
|
|
185
185
|
# markitdown_image_llm_provider = "openai"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
rlmgrep/__init__.py,sha256=SN54ONawdFNi85bUxaUZv1tPhg91YoZpcfGWegyVPS8,49
|
|
2
|
+
rlmgrep/__main__.py,sha256=MHKZ_ae3fSLGTLUUMOx15fWdeOnJSHhq-zslRP5F5Lc,79
|
|
3
|
+
rlmgrep/cli.py,sha256=eGXiOxBx_y5QKmK1_6SBtquK19czLD78zbV2bOg2D98,29052
|
|
4
|
+
rlmgrep/config.py,sha256=-AztmCsoeO2PySVWbdGZykxP6uwNDUQXp-biUQcgS2c,2400
|
|
5
|
+
rlmgrep/file_map.py,sha256=x2Ri1wzK8_87GUorsAV01K_nYLZcv30yIquDeTCcdEw,876
|
|
6
|
+
rlmgrep/ingest.py,sha256=906JUwWRC0XDoYRXs4-XdV3fay8mQc324l0suQLyS-k,13738
|
|
7
|
+
rlmgrep/interpreter.py,sha256=s_nMRxLlAU9C0JmUzUBW5NbVbuH67doVWF54K54STlA,2478
|
|
8
|
+
rlmgrep/render.py,sha256=mCTT6yuKNv7HJ46LzOyLkCbyBedCWSNd7UeubyLXcyM,3356
|
|
9
|
+
rlmgrep/rlm.py,sha256=i3rCTp8OABByF60Un5gO7265gaW4spwU0OFKIz4surg,5750
|
|
10
|
+
rlmgrep-0.1.32.dist-info/METADATA,sha256=M_fctO7qgSudwpB816qQt_mGirTxVFTYeIrIvKlBnI4,8014
|
|
11
|
+
rlmgrep-0.1.32.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
12
|
+
rlmgrep-0.1.32.dist-info/entry_points.txt,sha256=UV6QkEbkwBO1JJ53mm84_n35tVyOczPvOQ14ga7vrCI,45
|
|
13
|
+
rlmgrep-0.1.32.dist-info/top_level.txt,sha256=gTujSRsO58c80eN7aRH2cfe51FHxx8LJ1w1Y2YlHti0,8
|
|
14
|
+
rlmgrep-0.1.32.dist-info/RECORD,,
|
rlmgrep-0.1.30.dist-info/RECORD
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
rlmgrep/__init__.py,sha256=HuwGwIG1DkY-OENgjJ7MbTB3dGioPvkO4WYyRlMN0ro,49
|
|
2
|
-
rlmgrep/__main__.py,sha256=MHKZ_ae3fSLGTLUUMOx15fWdeOnJSHhq-zslRP5F5Lc,79
|
|
3
|
-
rlmgrep/cli.py,sha256=YXVZLx7QKbrweiKhPW85jcZIEm0cgQxP9ZXV0lm7hCI,29051
|
|
4
|
-
rlmgrep/config.py,sha256=u1iz-nI8dj-dZETbpIki3RQefHJEyi5oE5zE4_IR8kg,2399
|
|
5
|
-
rlmgrep/file_map.py,sha256=x2Ri1wzK8_87GUorsAV01K_nYLZcv30yIquDeTCcdEw,876
|
|
6
|
-
rlmgrep/ingest.py,sha256=906JUwWRC0XDoYRXs4-XdV3fay8mQc324l0suQLyS-k,13738
|
|
7
|
-
rlmgrep/interpreter.py,sha256=s_nMRxLlAU9C0JmUzUBW5NbVbuH67doVWF54K54STlA,2478
|
|
8
|
-
rlmgrep/render.py,sha256=mCTT6yuKNv7HJ46LzOyLkCbyBedCWSNd7UeubyLXcyM,3356
|
|
9
|
-
rlmgrep/rlm.py,sha256=i3rCTp8OABByF60Un5gO7265gaW4spwU0OFKIz4surg,5750
|
|
10
|
-
rlmgrep-0.1.30.dist-info/METADATA,sha256=i4MW0xzfnp4lLK8FFSVPFhVtYuYEn6Coq0P6jhSkAtY,7991
|
|
11
|
-
rlmgrep-0.1.30.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
12
|
-
rlmgrep-0.1.30.dist-info/entry_points.txt,sha256=UV6QkEbkwBO1JJ53mm84_n35tVyOczPvOQ14ga7vrCI,45
|
|
13
|
-
rlmgrep-0.1.30.dist-info/top_level.txt,sha256=gTujSRsO58c80eN7aRH2cfe51FHxx8LJ1w1Y2YlHti0,8
|
|
14
|
-
rlmgrep-0.1.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|