@highflame/policy 2.1.13 → 2.1.14
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/_schemas/mcp_gateway/context.json +655 -0
- package/_schemas/mcp_gateway/schema.cedarschema +272 -0
- package/_schemas/mcp_gateway/templates/defaults/agent_security.cedar +140 -0
- package/_schemas/mcp_gateway/templates/defaults/baseline.cedar +23 -0
- package/_schemas/mcp_gateway/templates/defaults/semantic.cedar +105 -0
- package/_schemas/mcp_gateway/templates/defaults/tools.cedar +92 -0
- package/_schemas/mcp_gateway/templates/mcp_server_allowlist.cedar +33 -0
- package/_schemas/mcp_gateway/templates/mcp_tool_permissions.cedar +77 -0
- package/_schemas/mcp_gateway/templates/templates.json +89 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -1
- package/dist/mcp_gateway-context.gen.d.ts +51 -0
- package/dist/mcp_gateway-context.gen.js +52 -0
- package/dist/mcp_gateway-defaults.gen.d.ts +61 -0
- package/dist/mcp_gateway-defaults.gen.js +668 -0
- package/dist/mcp_gateway-entities.gen.d.ts +11 -0
- package/dist/mcp_gateway-entities.gen.js +37 -0
- package/dist/service-schemas.gen.d.ts +10 -0
- package/dist/service-schemas.gen.js +423 -1
- package/dist/types.d.ts +5 -1
- package/dist/types.js +4 -1
- package/package.json +1 -1
package/dist/types.js
CHANGED
|
@@ -20,18 +20,21 @@ export * from './explain.js';
|
|
|
20
20
|
// Condition groups - works in browser (no WASM dependency)
|
|
21
21
|
export * from './condition-groups.js';
|
|
22
22
|
// Service-specific schemas and context (inlined, browser-safe)
|
|
23
|
-
export { GUARDRAILS_SCHEMA, GUARDRAILS_CONTEXT, OVERWATCH_SCHEMA, OVERWATCH_CONTEXT, PALISADE_SCHEMA, PALISADE_CONTEXT, SENTRY_SCHEMA, SENTRY_CONTEXT, } from './service-schemas.gen.js';
|
|
23
|
+
export { GUARDRAILS_SCHEMA, GUARDRAILS_CONTEXT, MCP_GATEWAY_SCHEMA, MCP_GATEWAY_CONTEXT, OVERWATCH_SCHEMA, OVERWATCH_CONTEXT, PALISADE_SCHEMA, PALISADE_CONTEXT, SENTRY_SCHEMA, SENTRY_CONTEXT, } from './service-schemas.gen.js';
|
|
24
24
|
// Service-specific context key enums
|
|
25
25
|
export { GuardrailsContextKey } from './guardrails-context.gen.js';
|
|
26
|
+
export { McpGatewayContextKey } from './mcp_gateway-context.gen.js';
|
|
26
27
|
export { OverwatchContextKey } from './overwatch-context.gen.js';
|
|
27
28
|
export { PalisadeContextKey } from './palisade-context.gen.js';
|
|
28
29
|
export { SentryContextKey } from './sentry-context.gen.js';
|
|
29
30
|
// Service-specific entity metadata (for UI - principals, resources, actions)
|
|
30
31
|
export { GUARDRAILS_ENTITIES, GUARDRAILS_ACTION_ENTITIES, } from './guardrails-entities.gen.js';
|
|
32
|
+
export { MCP_GATEWAY_ENTITIES, MCP_GATEWAY_ACTION_ENTITIES, } from './mcp_gateway-entities.gen.js';
|
|
31
33
|
export { OVERWATCH_ENTITIES, OVERWATCH_ACTION_ENTITIES, } from './overwatch-entities.gen.js';
|
|
32
34
|
export { PALISADE_ENTITIES, PALISADE_ACTION_ENTITIES, } from './palisade-entities.gen.js';
|
|
33
35
|
export { SENTRY_ENTITIES, SENTRY_ACTION_ENTITIES, } from './sentry-entities.gen.js';
|
|
34
36
|
// Service-specific default policies, templates, and categories
|
|
35
37
|
export { GUARDRAILS_DEFAULTS, GUARDRAILS_TEMPLATES, GUARDRAILS_CATEGORIES, GUARDRAILS_TEMPLATES_JSON, getGuardrailsDefaultsByCategory, getGuardrailsTemplatesByCategory, getGuardrailsTemplateById, } from './guardrails-defaults.gen.js';
|
|
38
|
+
export { MCP_GATEWAY_DEFAULTS, MCP_GATEWAY_TEMPLATES, MCP_GATEWAY_CATEGORIES, MCP_GATEWAY_TEMPLATES_JSON, getMcpGatewayDefaultsByCategory, getMcpGatewayTemplatesByCategory, getMcpGatewayTemplateById, } from './mcp_gateway-defaults.gen.js';
|
|
36
39
|
export { OVERWATCH_DEFAULTS, OVERWATCH_TEMPLATES, OVERWATCH_CATEGORIES, OVERWATCH_TEMPLATES_JSON, getOverwatchDefaultsByCategory, getOverwatchTemplatesByCategory, getOverwatchTemplateById, } from './overwatch-defaults.gen.js';
|
|
37
40
|
export { SENTRY_DEFAULTS, SENTRY_TEMPLATES, SENTRY_CATEGORIES, SENTRY_TEMPLATES_JSON, getSentryDefaultsByCategory, getSentryTemplatesByCategory, getSentryTemplateById, } from './sentry-defaults.gen.js';
|