@ai-matrx/desktop-protocol 0.17.0 → 0.17.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/index.d.cts CHANGED
@@ -2807,11 +2807,6 @@ declare function builtOps(): OpName[];
2807
2807
 
2808
2808
  declare const TOOL_LEVELS: readonly ToolLevel[];
2809
2809
  declare const TOOL_PLATFORMS: readonly ToolPlatform[];
2810
- /**
2811
- * `pass`: every required proof passed and none failed. `partial`: passes so far, a required proof
2812
- * missing (`missing` says which). `fail`: the latest run of some proof failed. `untested`: nothing
2813
- * ran. `not_built`: the tool is planned. `unsupported`: the tool does not exist on this platform.
2814
- */
2815
2810
  type CellState = "pass" | "partial" | "fail" | "untested" | "not_built" | "unsupported";
2816
2811
  interface StatusEvidence {
2817
2812
  readonly suite: string;
package/dist/index.d.ts CHANGED
@@ -2807,11 +2807,6 @@ declare function builtOps(): OpName[];
2807
2807
 
2808
2808
  declare const TOOL_LEVELS: readonly ToolLevel[];
2809
2809
  declare const TOOL_PLATFORMS: readonly ToolPlatform[];
2810
- /**
2811
- * `pass`: every required proof passed and none failed. `partial`: passes so far, a required proof
2812
- * missing (`missing` says which). `fail`: the latest run of some proof failed. `untested`: nothing
2813
- * ran. `not_built`: the tool is planned. `unsupported`: the tool does not exist on this platform.
2814
- */
2815
2810
  type CellState = "pass" | "partial" | "fail" | "untested" | "not_built" | "unsupported";
2816
2811
  interface StatusEvidence {
2817
2812
  readonly suite: string;
package/dist/index.js CHANGED
@@ -2109,6 +2109,7 @@ function builtOps() {
2109
2109
  // src/tools/status.ts
2110
2110
  var TOOL_LEVELS = ["programmatic", "protocol", "chat"];
2111
2111
  var TOOL_PLATFORMS = ["darwin", "win32", "linux"];
2112
+ var UUID_IN_NAME = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi;
2112
2113
  var REQUIRED = {
2113
2114
  programmatic: [{ label: "in process", ok: (e) => e.transport === "in_process" }],
2114
2115
  protocol: [
@@ -2122,7 +2123,7 @@ function cellFor(tool2, platform, level, evidence) {
2122
2123
  if (!tool2.platforms.includes(platform)) return { state: "unsupported", missing: [], last_run_at_ms: null, evidence: [] };
2123
2124
  const latest = /* @__PURE__ */ new Map();
2124
2125
  for (const e of evidence) {
2125
- const key = `${e.suite}\0${e.test}\0${e.transport}\0${e.remote_network}`;
2126
+ const key = `${e.suite}\0${e.test.replace(UUID_IN_NAME, "<id>")}\0${e.transport}\0${e.remote_network}`;
2126
2127
  const prev = latest.get(key);
2127
2128
  if (!prev || prev.run_at_ms < e.run_at_ms) latest.set(key, e);
2128
2129
  }