artifact-contracts 0.34.8 → 0.34.10
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 +2 -2
- package/cli-contract.yaml +1 -1
- package/dist/artifact-contracts.bundle.mjs +459 -462
- package/dist/artifact-contracts.bundle.mjs.map +4 -4
- package/dist/cli/discover.js +2 -25
- package/dist/cli/discover.js.map +1 -1
- package/dist/core/files.d.ts +10 -0
- package/dist/core/files.d.ts.map +1 -0
- package/dist/core/files.js +43 -0
- package/dist/core/files.js.map +1 -0
- package/dist/core/glob.d.ts +26 -0
- package/dist/core/glob.d.ts.map +1 -0
- package/dist/core/glob.js +515 -0
- package/dist/core/glob.js.map +1 -0
- package/dist/core/matcher.d.ts +7 -2
- package/dist/core/matcher.d.ts.map +1 -1
- package/dist/core/matcher.js +16 -3
- package/dist/core/matcher.js.map +1 -1
- package/dist/core/validator.d.ts.map +1 -1
- package/dist/core/validator.js +2 -23
- package/dist/core/validator.js.map +1 -1
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2 -2
- package/dist/generated/contract.js.map +1 -1
- package/docs/cli-reference.md +1 -1
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ IDs are YAML keys used as stable identifiers across `agent-contracts` and `cli-c
|
|
|
121
121
|
|
|
122
122
|
### Path Resolution
|
|
123
123
|
|
|
124
|
-
A file matches an artifact if it matches any `path_patterns` glob AND does not match any `exclude_patterns` glob.
|
|
124
|
+
A file matches an artifact if it matches any `path_patterns` glob AND does not match any `exclude_patterns` glob. Globs also match dotfiles, and a pattern ending in `/` matches every file below that directory (`src/` is `src/**`). Globs support `*`, `**`, `?`, character classes (`[a-z]`, `[!a]`, `[[:alpha:]]`), braces (`{a,b}`, nested sets, `{1..9}`, `{a..f}`), `\` escapes, a leading `!` (negation) and a leading `#` (matches nothing), as in minimatch. Extglobs (`+(a|b)`, `@(a)`, `!(a)`, ...), malformed brace sets (unbalanced, `{a}`, `${...}`), expansions to more than 10,000 patterns, an unclosed `[` together with braces that expand to more than one pattern, and Windows drive or UNC roots are rejected with an error.
|
|
125
125
|
|
|
126
126
|
```yaml
|
|
127
127
|
application-code:
|
|
@@ -319,7 +319,7 @@ Agent and task definitions for LLM commands are in [dsl/](dsl/) using the [agent
|
|
|
319
319
|
|-----------|-----------|
|
|
320
320
|
| Language | TypeScript (Node.js) |
|
|
321
321
|
| Schema validation | [zod](https://github.com/colinhacks/zod) |
|
|
322
|
-
| Glob matching | [minimatch](https://github.com/isaacs/minimatch) |
|
|
322
|
+
| Glob matching | Built in, with the semantics of [minimatch](https://github.com/isaacs/minimatch) `{ dot: true }` (no runtime dependency) |
|
|
323
323
|
| CLI framework | [commander](https://github.com/tj/commander.js) |
|
|
324
324
|
| CLI contract | [cli-contracts](https://www.npmjs.com/package/cli-contracts) |
|
|
325
325
|
| Agent DSL | [agent-contracts](https://www.npmjs.com/package/agent-contracts) |
|
package/cli-contract.yaml
CHANGED