@prom.codes/memory-mcp 0.7.0 → 0.7.1
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.
- package/dist/bin.js +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -1057,7 +1057,7 @@ var OpenAICompatRerankProvider = class {
|
|
|
1057
1057
|
};
|
|
1058
1058
|
|
|
1059
1059
|
// dist/api-key.js
|
|
1060
|
-
var KEY_PATTERN = /^prom_(live|test)_[A-Za-z0-9]{
|
|
1060
|
+
var KEY_PATTERN = /^prom_(live|test)_[A-Za-z0-9]{6,}(?:_[A-Za-z0-9]{6,})?$/;
|
|
1061
1061
|
var API_KEY_ENV = "PROMETHEUS_API_KEY";
|
|
1062
1062
|
var MISSING_KEY_ERROR = `${API_KEY_ENV} is required. Get a key at https://prom.codes and set it in the MCP server's env block (format: prom_live_\u2026).`;
|
|
1063
1063
|
var MALFORMED_KEY_ERROR = `${API_KEY_ENV} is malformed: expected prom_live_\u2026 or prom_test_\u2026 followed by at least 10 alphanumeric characters.`;
|