@agenttrail/guardrails 0.2.5 → 0.2.7
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 +11 -2
- package/dist/{chunk-SLJLCAZK.js → chunk-3BH4CH3D.js} +3 -3
- package/dist/{chunk-SLJLCAZK.js.map → chunk-3BH4CH3D.js.map} +1 -1
- package/dist/{chunk-U7KZ447W.js → chunk-GBV64XPP.js} +13 -2
- package/dist/chunk-GBV64XPP.js.map +1 -0
- package/dist/guardrails.cjs +2 -2
- package/dist/guardrails.cjs.map +1 -1
- package/dist/guardrails.d.cts +4 -4
- package/dist/guardrails.d.ts +4 -4
- package/dist/guardrails.js +1 -1
- package/dist/index.cjs +14 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -2
- package/dist/{schema-B2pYoi9Z.d.cts → schema-DmT-Vm1T.d.cts} +110 -23
- package/dist/{schema-B2pYoi9Z.d.ts → schema-DmT-Vm1T.d.ts} +110 -23
- package/dist/schema.cjs +12 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +5 -1
- package/package.json +29 -37
- package/dist/chunk-U7KZ447W.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { CATALOG_PUBLISHED_AT, CATALOG_VERSION, GIT_TEXT_MENTION, HTTP_BODY_MENTION, LEADING_FLAGS, PACKS, PRINT_MENTION, Pack, QUOTED_MENTION, RULES, RULES_BY_PACK, SEARCH_MENTION, SHELL_AND_MCP, bash, file, getRule, isPack, mcp, mentionInCommit, mentionInEcho, mentionInPost, mentionInSearch, mentions, pwsh, rulesForPack } from './guardrails.cjs';
|
|
2
|
-
export { l as ACTIONS, A as Action, m as ActionSchema, D as DETAIL_MATCHES_MAX_PATTERNS,
|
|
2
|
+
export { l as ACTIONS, A as Action, m as ActionSchema, C as CHANNELS, n as Channel, p as ChannelSchema, D as DETAIL_MATCHES_MAX_PATTERNS, q as DETAIL_MATCHES_MAX_PATTERN_LENGTH, F as Fixture, a as FixtureInput, r as FixtureSchema, b as Fixtures, s as FixturesSchema, c as Match, M as MatchCondition, t as MatchConditionSchema, u as MatchSchema, O as OWASP_AGENTIC, d as OWASP_IDS, e as OWASP_LLM, f as OWASP_SOURCES, g as OwaspId, v as OwaspIdsSchema, h as OwaspRisk, R as Rule, i as RuleInput, w as RuleSchema, x as SEVERITIES, S as Severity, y as SeveritySchema, z as defineRule, B as hasNestedUnboundedQuantifier, j as isOwaspId, o as owaspIndex, k as owaspTitle, E as parseRule, G as parseRuleOrThrow } from './schema-DmT-Vm1T.cjs';
|
|
3
3
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { CATALOG_PUBLISHED_AT, CATALOG_VERSION, GIT_TEXT_MENTION, HTTP_BODY_MENTION, LEADING_FLAGS, PACKS, PRINT_MENTION, Pack, QUOTED_MENTION, RULES, RULES_BY_PACK, SEARCH_MENTION, SHELL_AND_MCP, bash, file, getRule, isPack, mcp, mentionInCommit, mentionInEcho, mentionInPost, mentionInSearch, mentions, pwsh, rulesForPack } from './guardrails.js';
|
|
2
|
-
export { l as ACTIONS, A as Action, m as ActionSchema, D as DETAIL_MATCHES_MAX_PATTERNS,
|
|
2
|
+
export { l as ACTIONS, A as Action, m as ActionSchema, C as CHANNELS, n as Channel, p as ChannelSchema, D as DETAIL_MATCHES_MAX_PATTERNS, q as DETAIL_MATCHES_MAX_PATTERN_LENGTH, F as Fixture, a as FixtureInput, r as FixtureSchema, b as Fixtures, s as FixturesSchema, c as Match, M as MatchCondition, t as MatchConditionSchema, u as MatchSchema, O as OWASP_AGENTIC, d as OWASP_IDS, e as OWASP_LLM, f as OWASP_SOURCES, g as OwaspId, v as OwaspIdsSchema, h as OwaspRisk, R as Rule, i as RuleInput, w as RuleSchema, x as SEVERITIES, S as Severity, y as SeveritySchema, z as defineRule, B as hasNestedUnboundedQuantifier, j as isOwaspId, o as owaspIndex, k as owaspTitle, E as parseRule, G as parseRuleOrThrow } from './schema-DmT-Vm1T.js';
|
|
3
3
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -23,10 +23,12 @@ import {
|
|
|
23
23
|
mentions,
|
|
24
24
|
pwsh,
|
|
25
25
|
rulesForPack
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3BH4CH3D.js";
|
|
27
27
|
import {
|
|
28
28
|
ACTIONS,
|
|
29
29
|
ActionSchema,
|
|
30
|
+
CHANNELS,
|
|
31
|
+
ChannelSchema,
|
|
30
32
|
DETAIL_MATCHES_MAX_PATTERNS,
|
|
31
33
|
DETAIL_MATCHES_MAX_PATTERN_LENGTH,
|
|
32
34
|
FixtureSchema,
|
|
@@ -41,7 +43,7 @@ import {
|
|
|
41
43
|
hasNestedUnboundedQuantifier,
|
|
42
44
|
parseRule,
|
|
43
45
|
parseRuleOrThrow
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GBV64XPP.js";
|
|
45
47
|
import {
|
|
46
48
|
OWASP_AGENTIC,
|
|
47
49
|
OWASP_IDS,
|
|
@@ -56,6 +58,8 @@ export {
|
|
|
56
58
|
ActionSchema,
|
|
57
59
|
CATALOG_PUBLISHED_AT,
|
|
58
60
|
CATALOG_VERSION,
|
|
61
|
+
CHANNELS,
|
|
62
|
+
ChannelSchema,
|
|
59
63
|
DETAIL_MATCHES_MAX_PATTERNS,
|
|
60
64
|
DETAIL_MATCHES_MAX_PATTERN_LENGTH,
|
|
61
65
|
FixtureSchema,
|