agentv 0.2.8 → 0.2.11
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.
- package/README.md +1 -18
- package/dist/chunk-7MGIZBZG.js +15238 -0
- package/dist/chunk-7MGIZBZG.js.map +1 -0
- package/dist/{chunk-RLBRJX7V.js → chunk-JT3E7T7V.js} +68 -49
- package/dist/{chunk-RLBRJX7V.js.map → chunk-JT3E7T7V.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ You are now ready to start development. The monorepo contains:
|
|
|
76
76
|
|
|
77
77
|
### Configuring Guideline Patterns
|
|
78
78
|
|
|
79
|
-
AgentV automatically detects guideline files
|
|
79
|
+
AgentV automatically detects guideline files and treats them differently from regular file content. You can customize which files are considered guidelines using an optional `.agentv/config.yaml` configuration file.
|
|
80
80
|
|
|
81
81
|
**Config file discovery:**
|
|
82
82
|
- AgentV searches for `.agentv/config.yaml` starting from the eval file's directory
|
|
@@ -84,16 +84,6 @@ AgentV automatically detects guideline files (instructions, prompts) and treats
|
|
|
84
84
|
- Uses the first config file found (similar to how `targets.yaml` is discovered)
|
|
85
85
|
- This allows you to place one config file at the project root for all evals
|
|
86
86
|
|
|
87
|
-
**Default patterns** (used when `.agentv/config.yaml` is absent):
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
guideline_patterns:
|
|
91
|
-
- "**/*.instructions.md"
|
|
92
|
-
- "**/instructions/**"
|
|
93
|
-
- "**/*.prompt.md"
|
|
94
|
-
- "**/prompts/**"
|
|
95
|
-
```
|
|
96
|
-
|
|
97
87
|
**Custom patterns** (create `.agentv/config.yaml` in same directory as your eval file):
|
|
98
88
|
|
|
99
89
|
```yaml
|
|
@@ -105,13 +95,6 @@ guideline_patterns:
|
|
|
105
95
|
- "**/*.rules.md" # Match by naming convention
|
|
106
96
|
```
|
|
107
97
|
|
|
108
|
-
**How it works:**
|
|
109
|
-
|
|
110
|
-
- Files matching guideline patterns are loaded as separate guideline context
|
|
111
|
-
- Files NOT matching are treated as regular file content in user messages
|
|
112
|
-
- Patterns use standard glob syntax (via [micromatch](https://github.com/micromatch/micromatch))
|
|
113
|
-
- Paths are normalized to forward slashes for cross-platform compatibility
|
|
114
|
-
|
|
115
98
|
See [config.yaml example](docs/examples/simple/.agentv/config.yaml) for more pattern examples.
|
|
116
99
|
|
|
117
100
|
### Validating Eval Files
|