const DEFAULT_WEIGHTS = {
  base: 0.4,
  impact: 0.3,
  persistence: 0.2,
  reference: 0.1
};
const DEFAULT_TOOL_SCORES = {
  search: 0.95,
  task_creation: 0.9,
  decision_recording: 0.9,
  context_retrieval: 0.85,
  write: 0.75,
  edit: 0.5,
  test: 0.45,
  bash: 0.4,
  read: 0.25,
  grep: 0.15
};
const PRESET_PROFILES = {
  default: {
    name: "default",
    description: "Balanced configuration for general use",
    scoring: {
      weights: DEFAULT_WEIGHTS,
      tool_scores: DEFAULT_TOOL_SCORES
    }
  },
  "security-focused": {
    name: "security-focused",
    description: "Prioritizes security decisions and audit trails",
    scoring: {
      weights: {
        base: 0.2,
        impact: 0.5,
        persistence: 0.2,
        reference: 0.1
      },
      tool_scores: {
        decision_recording: 0.95,
        bash: 0.8,
        // Security-critical commands
        test: 0.7
        // Security tests important
      }
    },
    retention: {
      local: {
        young: "7d",
        mature: "30d",
        old: "90d",
        // Keep security decisions longer
        max_size: "100MB"
      }
    }
  },
  "exploration-heavy": {
    name: "exploration-heavy",
    description: "Optimized for codebase exploration and learning",
    scoring: {
      weights: {
        base: 0.3,
        impact: 0.1,
        persistence: 0.1,
        reference: 0.5
        // Discovery paths matter most
      },
      tool_scores: {
        search: 0.99,
        grep: 0.3,
        // Grep more valuable during exploration
        read: 0.4
      }
    },
    performance: {
      retrieval_timeout_ms: 1e3
      // Allow deeper searches
    }
  },
  "production-system": {
    name: "production-system",
    description: "For production environments with stability focus",
    scoring: {
      weights: {
        base: 0.2,
        impact: 0.4,
        persistence: 0.3,
        // Permanent changes critical
        reference: 0.1
      },
      tool_scores: {
        write: 0.9,
        // File changes very important
        edit: 0.85,
        test: 0.8,
        // Testing critical
        bash: 0.7
        // Deploy commands
      }
    }
  }
};
const DEFAULT_CONFIG = {
  version: "1.0",
  scoring: {
    weights: DEFAULT_WEIGHTS,
    tool_scores: DEFAULT_TOOL_SCORES
  },
  retention: {
    local: {
      young: "1d",
      mature: "7d",
      old: "30d",
      max_size: "2GB"
    },
    remote: {
      enabled: true,
      endpoint: "api.stackmemory.io",
      retention: "infinite"
    },
    generational_gc: {
      young_strategy: "keep_all",
      mature_strategy: "digest_only",
      old_strategy: "anchors_only"
    }
  },
  performance: {
    max_stack_depth: 1e4,
    max_frame_events: 5e3,
    retrieval_timeout_ms: 500,
    batch_upload_size: 100
  },
  profiles: PRESET_PROFILES
};
export {
  DEFAULT_CONFIG,
  DEFAULT_TOOL_SCORES,
  DEFAULT_WEIGHTS,
  PRESET_PROFILES
};
//# sourceMappingURL=types.js.map
