Skip to main content
Glama
decisions.ts733 B
/** * Hook Decision Constants * * DESIGN PATTERNS: * - Strongly-typed constant exports for compile-time safety * - Immutable by default (const exports) * * CODING STANDARDS: * - Primitive constants: UPPER_SNAKE_CASE * - Always include JSDoc with purpose and usage * * AVOID: * - Mutable exports (let, var) * - Magic strings without explanation */ import type { Decision } from '../types'; /** * Normalized hook decision types used across all adapters * Adapters convert platform-specific formats to these normalized values */ export const DECISION_ALLOW: Decision = 'allow'; export const DECISION_DENY: Decision = 'deny'; export const DECISION_SKIP: Decision = 'skip'; export const DECISION_ASK: Decision = 'ask';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgiFlow/aicode-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server