lane-sdk 0.2.1 → 0.2.2

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.
@@ -8450,7 +8450,7 @@ function getContainer(db, logLevel) {
8450
8450
  function createAllAgentRoutes({ db, logLevel }) {
8451
8451
  const router = import_express32.default.Router();
8452
8452
  const { container, logger } = getContainer(db, logLevel);
8453
- router.get("/health", async (_req, res) => {
8453
+ const healthHandler = async (_req, res) => {
8454
8454
  const health = await container.healthCheck();
8455
8455
  const statusCode = health.healthy ? 200 : 503;
8456
8456
  res.status(statusCode).json({
@@ -8458,7 +8458,9 @@ function createAllAgentRoutes({ db, logLevel }) {
8458
8458
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
8459
8459
  services: health.services
8460
8460
  });
8461
- });
8461
+ };
8462
+ router.get("/health", healthHandler);
8463
+ router.get("/api/health", healthHandler);
8462
8464
  router.get("/SKILL.md", (_req, res) => {
8463
8465
  try {
8464
8466
  const skillPath = (0, import_node_path.resolve)(process.cwd(), "SKILL.md");