@kaddo/cli 3.69.2 → 3.69.3

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.
@@ -186,6 +186,8 @@ async function createAdminServer(opts) {
186
186
  const sessionId = sessionManager.createSession();
187
187
  app.addHook("onRequest", async (request, reply) => {
188
188
  if (!request.url.startsWith("/api/")) return;
189
+ if (request.url.startsWith("/api/v1/admin/session")) return;
190
+ if (request.url.startsWith("/api/v1/admin/health")) return;
189
191
  const cookieSession = request.cookies["kaddo-session"];
190
192
  if (!sessionManager.validateSession(cookieSession)) {
191
193
  reply.code(401).send({ error: { code: "SESSION_INVALID", message: "Invalid or expired session." } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaddo/cli",
3
- "version": "3.69.2",
3
+ "version": "3.69.3",
4
4
  "description": "Knowledge Driven Development toolkit",
5
5
  "license": "MIT",
6
6
  "repository": {