agent-contracts 0.11.1 → 0.11.2
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/dist/cli.js +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +12 -9
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -50498,17 +50498,18 @@ import { z as z3 } from "zod";
|
|
|
50498
50498
|
var CommandRegexMatcherSchema = z3.object({
|
|
50499
50499
|
type: z3.literal("command_regex"),
|
|
50500
50500
|
pattern: z3.string()
|
|
50501
|
-
});
|
|
50501
|
+
}).passthrough();
|
|
50502
50502
|
var ContentRegexMatcherSchema = z3.object({
|
|
50503
50503
|
type: z3.literal("content_regex"),
|
|
50504
50504
|
pattern: z3.string(),
|
|
50505
50505
|
file_glob: z3.string().optional(),
|
|
50506
50506
|
exclude_glob: z3.string().optional()
|
|
50507
|
-
});
|
|
50507
|
+
}).passthrough();
|
|
50508
50508
|
var FileGlobMatcherSchema = z3.object({
|
|
50509
50509
|
type: z3.literal("file_glob"),
|
|
50510
|
-
pattern: z3.string()
|
|
50511
|
-
|
|
50510
|
+
pattern: z3.string(),
|
|
50511
|
+
exclude_glob: z3.string().optional()
|
|
50512
|
+
}).passthrough();
|
|
50512
50513
|
var MatcherSchema = z3.discriminatedUnion("type", [
|
|
50513
50514
|
CommandRegexMatcherSchema,
|
|
50514
50515
|
ContentRegexMatcherSchema,
|