ctxmedic 0.2.3 → 0.2.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.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -380,7 +380,7 @@ var PATTERNS = [
|
|
|
380
380
|
["Google API key", /\bAIza[0-9A-Za-z_-]{35}\b/g],
|
|
381
381
|
["Stripe key", /\b(?:sk|rk)_live_[A-Za-z0-9]{20,}/g]
|
|
382
382
|
];
|
|
383
|
-
var GENERIC = /["']?([A-Za-z0-9_-]*(?:api[_-]?key|token|secret|password|passwd))["']?\s*[:=]\s*["']([^"'\s$]{16,})["']/gi;
|
|
383
|
+
var GENERIC = /(?<![A-Za-z0-9_-])["']?([A-Za-z0-9_-]*(?:api[_-]?key|token|secret|password|passwd))["']?\s*[:=]\s*["']([^"'\s$]{16,})["']/gi;
|
|
384
384
|
var mask = (s) => s.length <= 8 ? "****" : `${s.slice(0, 6)}\u2026${s.slice(-2)} (${s.length} chars)`;
|
|
385
385
|
function entropy(s) {
|
|
386
386
|
const freq = /* @__PURE__ */ new Map();
|
|
@@ -1517,7 +1517,7 @@ var harnesses = [
|
|
|
1517
1517
|
];
|
|
1518
1518
|
|
|
1519
1519
|
// ../clinical/src/engine.ts
|
|
1520
|
-
var VERSION = true ? "0.2.
|
|
1520
|
+
var VERSION = true ? "0.2.4" : "0.0.0-dev";
|
|
1521
1521
|
var TRIAGE = { critical: "resuscitation", warning: "therapy", info: "preventive" };
|
|
1522
1522
|
var ORDER = ["resuscitation", "therapy", "preventive"];
|
|
1523
1523
|
var human = (k) => k.replace(/([A-Z])/g, " $1").replace(/^./, (c) => c.toUpperCase());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ctxmedic",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "The context medic for your AI coding setup: checkup, treat, savings for Claude Code, Cursor, Windsurf, Codex CLI, OpenCode, Cline and Copilot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-MIT",
|