@virsanghavi/axis-server 1.0.3 → 1.0.4

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.
@@ -222,10 +222,13 @@ var NerveCenter = class {
222
222
  const supabaseUrl = options.supabaseUrl || process.env.NEXT_PUBLIC_SUPABASE_URL;
223
223
  const supabaseKey = options.supabaseServiceRoleKey || process.env.SUPABASE_SERVICE_ROLE_KEY;
224
224
  if (!supabaseUrl || !supabaseKey) {
225
- throw new Error("CRITICAL: Supabase URL and Service Role Key are REQUIRED for NerveCenter persistence.");
225
+ logger.warn("Supabase credentials missing. Running in local-only mode (state will be ephemeral or file-based).");
226
+ this.supabase = void 0;
227
+ this.useSupabase = false;
228
+ } else {
229
+ this.supabase = createClient(supabaseUrl, supabaseKey);
230
+ this.useSupabase = true;
226
231
  }
227
- this.supabase = createClient(supabaseUrl, supabaseKey);
228
- this.useSupabase = true;
229
232
  this.state = {
230
233
  locks: {},
231
234
  jobs: {},
@@ -744,8 +747,7 @@ var RagEngine = class {
744
747
  // ../../src/local/mcp-server.ts
745
748
  dotenv2.config({ path: ".env.local" });
746
749
  if (!process.env.NEXT_PUBLIC_SUPABASE_URL || !process.env.SUPABASE_SERVICE_ROLE_KEY) {
747
- logger.error("CRITICAL: Supabase credentials missing. RAG & Persistence disabled.");
748
- process.exit(1);
750
+ logger.warn("Supabase credentials missing. RAG & Persistence disabled. Running in local/ephemeral mode.");
749
751
  }
750
752
  var manager = new ContextManager(
751
753
  process.env.SHARED_CONTEXT_API_URL || "https://aicontext.vercel.app/api/v1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virsanghavi/axis-server",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Axis MCP Server CLI",
5
5
  "main": "dist/index.js",
6
6
  "bin": {