ai-spector 0.3.9 → 0.4.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/visualize/html.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,iBAAiB,CAAC;IACzB,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;CAChC;AAMD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/visualize/html.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,iBAAiB,CAAC;IACzB,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;CAChC;AAMD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CA0vBxE"}
|
package/dist/visualize/html.js
CHANGED
|
@@ -296,6 +296,23 @@ export function buildVisualizationHtml(payload) {
|
|
|
296
296
|
document.getElementById("header-meta").textContent =
|
|
297
297
|
P.projectRoot + " · " + new Date(P.generatedAt).toLocaleString();
|
|
298
298
|
|
|
299
|
+
const EDGE_MEANINGS = {
|
|
300
|
+
partOf: "section belongs to document",
|
|
301
|
+
contains: "document/section contains another",
|
|
302
|
+
follows: "section ordering",
|
|
303
|
+
references: "cross-reference",
|
|
304
|
+
listedIn: "domain node listed in section",
|
|
305
|
+
definedIn: "domain node detailed in section",
|
|
306
|
+
describedIn: "domain node described by section",
|
|
307
|
+
satisfies: "feature satisfies use case",
|
|
308
|
+
dependsOn: "document depends on another document",
|
|
309
|
+
requires: "domain node requires another",
|
|
310
|
+
tracesTo: "requirement traces to document",
|
|
311
|
+
derivedFrom: "node derived from source file",
|
|
312
|
+
rendersTo: "graph node renders to markdown path",
|
|
313
|
+
relatesTo: "semantic link (evidence)",
|
|
314
|
+
};
|
|
315
|
+
|
|
299
316
|
// ---- OVERVIEW ----
|
|
300
317
|
const ov = document.getElementById("panel-overview");
|
|
301
318
|
const gs = P.graphStats;
|
|
@@ -331,22 +348,6 @@ export function buildVisualizationHtml(payload) {
|
|
|
331
348
|
'</tbody></table>';
|
|
332
349
|
}
|
|
333
350
|
|
|
334
|
-
const EDGE_MEANINGS = {
|
|
335
|
-
partOf: "section belongs to document",
|
|
336
|
-
contains: "document/section contains another",
|
|
337
|
-
follows: "section ordering",
|
|
338
|
-
references: "cross-reference",
|
|
339
|
-
listedIn: "domain node listed in section",
|
|
340
|
-
definedIn: "domain node detailed in section",
|
|
341
|
-
describedIn: "domain node described by section",
|
|
342
|
-
satisfies: "feature satisfies use case",
|
|
343
|
-
dependsOn: "document depends on another document",
|
|
344
|
-
tracesTo: "requirement traces to document",
|
|
345
|
-
derivedFrom: "node derived from source file",
|
|
346
|
-
rendersTo: "graph node renders to markdown path",
|
|
347
|
-
relatesTo: "semantic link (evidence)",
|
|
348
|
-
};
|
|
349
|
-
|
|
350
351
|
// ---- EDGE FILTER CHIPS ----
|
|
351
352
|
const efBar = document.getElementById("edge-filter-bar");
|
|
352
353
|
for (const et of allEdgeTypes) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/visualize/html.ts"],"names":[],"mappings":"AAaA,SAAS,mBAAmB,CAAC,IAAa;IACxC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAyB;IAC9D,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE9C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAqPwC,QAAQ
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/visualize/html.ts"],"names":[],"mappings":"AAaA,SAAS,mBAAmB,CAAC,IAAa;IACxC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAyB;IAC9D,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAE9C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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