mneme-ai 3.147.0 → 3.148.0
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme compare` (v3.148.0) — honest head-to-head: Mneme vs a typical baseline
|
|
3
|
+
* approach, measured live from the real engines. No competitor names — "baseline" is a
|
|
4
|
+
* faithful model of the common approach (keyword filter, single-tool review, unverified
|
|
5
|
+
* claims). Each number is reproducible.
|
|
6
|
+
*
|
|
7
|
+
* mneme compare
|
|
8
|
+
*/
|
|
9
|
+
import type { Command } from "commander";
|
|
10
|
+
export declare function registerCompareCommands(program: Command): void;
|
|
11
|
+
//# sourceMappingURL=compare.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../src/commands/compare.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAc9D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme compare` (v3.148.0) — honest head-to-head: Mneme vs a typical baseline
|
|
3
|
+
* approach, measured live from the real engines. No competitor names — "baseline" is a
|
|
4
|
+
* faithful model of the common approach (keyword filter, single-tool review, unverified
|
|
5
|
+
* claims). Each number is reproducible.
|
|
6
|
+
*
|
|
7
|
+
* mneme compare
|
|
8
|
+
*/
|
|
9
|
+
import { compare } from "@mneme-ai/core";
|
|
10
|
+
function out(s) { process.stdout.write(s + "\n"); }
|
|
11
|
+
export function registerCompareCommands(program) {
|
|
12
|
+
program.command("compare")
|
|
13
|
+
.description("📊 HEAD-TO-HEAD — measured comparison of Mneme's approach vs a typical baseline (keyword filter / single-tool review / unverified claims), computed live from the real engines. ★HONEST: 'baseline' models the common approach, not a named product (Mneme can't run a third party's private engine).")
|
|
14
|
+
.option("--json", "JSON")
|
|
15
|
+
.action((o) => {
|
|
16
|
+
const r = compare.compareSecurity();
|
|
17
|
+
if (o.json) {
|
|
18
|
+
out(JSON.stringify(r, null, 2));
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
out(`📊 Mneme vs a typical baseline — Mneme wins all: ${r.mnemeWinsAll ? "YES" : "no"} (avg +${r.avgDelta})`);
|
|
22
|
+
for (const x of r.rows) {
|
|
23
|
+
out(` • ${x.axis}: Mneme ${x.mneme} vs baseline ${x.baseline} (Δ +${x.delta})`);
|
|
24
|
+
out(` ${x.metric} — ${x.note}`);
|
|
25
|
+
}
|
|
26
|
+
out(` honest: 'baseline' = a faithful model of the common approach, not a named competitor.`);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=compare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.js","sourceRoot":"","sources":["../../src/commands/compare.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,SAAS,GAAG,CAAC,CAAS,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAEjE,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACtD,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;SACvB,WAAW,CAAC,uSAAuS,CAAC;SACpT,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC;SACxB,MAAM,CAAC,CAAC,CAAqB,EAAE,EAAE;QAChC,MAAM,CAAC,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;QACpC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;YAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;YAAC,OAAO;QAAC,CAAC;QACxD,GAAG,CAAC,oDAAoD,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;QAC9G,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;YACvB,GAAG,CAAC,QAAQ,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,KAAK,gBAAgB,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;YACnF,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QACtC,CAAC;QACD,GAAG,CAAC,0FAA0F,CAAC,CAAC;IAClG,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsNA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAynNvD"}
|
package/dist/index.js
CHANGED
|
@@ -144,6 +144,7 @@ import { registerLedgerCommands } from "./commands/honesty_ledger.js";
|
|
|
144
144
|
import { registerMutagenCommands } from "./commands/mutagen.js";
|
|
145
145
|
import { registerEscalonCommands } from "./commands/escalon.js";
|
|
146
146
|
import { registerPostureCommands } from "./commands/posture.js";
|
|
147
|
+
import { registerCompareCommands } from "./commands/compare.js";
|
|
147
148
|
import { registerMoatCommands } from "./commands/moat.js";
|
|
148
149
|
import { attachRegretOracle } from "./commands/regret.js";
|
|
149
150
|
import { registerTrustCommands } from "./commands/trust.js";
|
|
@@ -4845,6 +4846,7 @@ export async function run(argv) {
|
|
|
4845
4846
|
registerMutagenCommands(program);
|
|
4846
4847
|
registerEscalonCommands(program);
|
|
4847
4848
|
registerPostureCommands(program);
|
|
4849
|
+
registerCompareCommands(program);
|
|
4848
4850
|
registerMoatCommands(program);
|
|
4849
4851
|
// ─── Trust calibrator (v1.31.0) -- per-subsystem precision/recall/band
|
|
4850
4852
|
registerTrustCommands(program);
|