@highflame/policy 2.2.37 → 2.2.39

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.
Files changed (38) hide show
  1. package/_schemas/agent_ops/templates/templates.json +16 -8
  2. package/_schemas/ai_gateway/templates/templates.json +12 -6
  3. package/_schemas/guardrails/templates/templates.json +16 -8
  4. package/_schemas/sentry/templates/templates.json +12 -6
  5. package/dist/agent_ops-defaults.gen.d.ts +3 -0
  6. package/dist/agent_ops-defaults.gen.js +24 -16
  7. package/dist/ai_gateway-defaults.gen.d.ts +3 -0
  8. package/dist/ai_gateway-defaults.gen.js +18 -12
  9. package/dist/category-layers.gen.d.ts +22 -0
  10. package/dist/category-layers.gen.js +69 -0
  11. package/dist/engine.d.ts +10 -0
  12. package/dist/engine.js +25 -1
  13. package/dist/guardrails-defaults.gen.d.ts +3 -0
  14. package/dist/guardrails-defaults.gen.js +24 -16
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +1 -0
  17. package/dist/overwatch-defaults.gen.d.ts +3 -0
  18. package/dist/overwatch-defaults.gen.js +24 -16
  19. package/dist/sentry-defaults.gen.d.ts +3 -0
  20. package/dist/sentry-defaults.gen.js +18 -12
  21. package/dist/types.d.ts +1 -0
  22. package/dist/types.js +1 -0
  23. package/package.json +1 -1
  24. package/_schemas/mcp_gateway/context.json +0 -655
  25. package/_schemas/mcp_gateway/schema.cedarschema +0 -342
  26. package/_schemas/mcp_gateway/templates/defaults/agent_security.cedar +0 -140
  27. package/_schemas/mcp_gateway/templates/defaults/baseline.cedar +0 -23
  28. package/_schemas/mcp_gateway/templates/defaults/semantic.cedar +0 -105
  29. package/_schemas/mcp_gateway/templates/defaults/tools.cedar +0 -92
  30. package/_schemas/mcp_gateway/templates/mcp_server_allowlist.cedar +0 -33
  31. package/_schemas/mcp_gateway/templates/mcp_tool_permissions.cedar +0 -77
  32. package/_schemas/mcp_gateway/templates/templates.json +0 -89
  33. package/dist/mcp_gateway-context.gen.d.ts +0 -51
  34. package/dist/mcp_gateway-context.gen.js +0 -52
  35. package/dist/mcp_gateway-defaults.gen.d.ts +0 -61
  36. package/dist/mcp_gateway-defaults.gen.js +0 -668
  37. package/dist/mcp_gateway-entities.gen.d.ts +0 -11
  38. package/dist/mcp_gateway-entities.gen.js +0 -37
@@ -1,37 +0,0 @@
1
- // Code generated by highflame-policy-codegen. DO NOT EDIT.
2
- // Source: schemas/mcp_gateway/schema.cedarschema
3
- /**
4
- * McpGateway entity metadata for UI components.
5
- * Extracted from Cedar schema appliesTo blocks.
6
- */
7
- export const MCP_GATEWAY_ENTITIES = {
8
- principals: ['MCP_Client', 'User'],
9
- resources: ['FilePath', 'LlmPrompt', 'Server', 'Tool'],
10
- actions: ['call_tool', 'connect_server', 'process_prompt', 'read_file', 'write_file'],
11
- };
12
- /**
13
- * Per-action entity mapping for McpGateway.
14
- * Maps action names to their valid principals and resources.
15
- */
16
- export const MCP_GATEWAY_ACTION_ENTITIES = {
17
- 'call_tool': {
18
- principals: ['MCP_Client', 'User'],
19
- resources: ['Tool'],
20
- },
21
- 'connect_server': {
22
- principals: ['MCP_Client', 'User'],
23
- resources: ['Server'],
24
- },
25
- 'process_prompt': {
26
- principals: ['MCP_Client', 'User'],
27
- resources: ['LlmPrompt'],
28
- },
29
- 'read_file': {
30
- principals: ['MCP_Client', 'User'],
31
- resources: ['FilePath'],
32
- },
33
- 'write_file': {
34
- principals: ['MCP_Client', 'User'],
35
- resources: ['FilePath'],
36
- },
37
- };