@principal-ai/subsystems-react 0.56.31 → 0.56.33

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.
Files changed (59) hide show
  1. package/dist/graphify/anchor.d.ts +1 -44
  2. package/dist/graphify/anchor.d.ts.map +1 -1
  3. package/dist/graphify/anchor.js +1 -172
  4. package/dist/graphify/anchor.js.map +1 -1
  5. package/dist/graphify/consolidated.d.ts +1 -258
  6. package/dist/graphify/consolidated.d.ts.map +1 -1
  7. package/dist/graphify/consolidated.js +1 -10
  8. package/dist/graphify/consolidated.js.map +1 -1
  9. package/dist/graphify/construct.d.ts +1 -40
  10. package/dist/graphify/construct.d.ts.map +1 -1
  11. package/dist/graphify/construct.js +1 -99
  12. package/dist/graphify/construct.js.map +1 -1
  13. package/dist/graphify/ids.d.ts +1 -18
  14. package/dist/graphify/ids.d.ts.map +1 -1
  15. package/dist/graphify/ids.js +1 -45
  16. package/dist/graphify/ids.js.map +1 -1
  17. package/dist/graphify/resolve.d.ts +1 -47
  18. package/dist/graphify/resolve.d.ts.map +1 -1
  19. package/dist/graphify/resolve.js +1 -82
  20. package/dist/graphify/resolve.js.map +1 -1
  21. package/dist/graphify/signature.d.ts +1 -86
  22. package/dist/graphify/signature.d.ts.map +1 -1
  23. package/dist/graphify/signature.js +1 -275
  24. package/dist/graphify/signature.js.map +1 -1
  25. package/dist/graphify/types.d.ts +1 -140
  26. package/dist/graphify/types.d.ts.map +1 -1
  27. package/dist/graphify/types.js +1 -7
  28. package/dist/graphify/types.js.map +1 -1
  29. package/dist/subsystem/IssueList.d.ts.map +1 -1
  30. package/dist/subsystem/IssueList.js +5 -2
  31. package/dist/subsystem/IssueList.js.map +1 -1
  32. package/dist/subsystem/SubsystemComponentGraph.d.ts.map +1 -1
  33. package/dist/subsystem/SubsystemComponentGraph.js +33 -19
  34. package/dist/subsystem/SubsystemComponentGraph.js.map +1 -1
  35. package/dist/subsystem/containerCard.d.ts +6 -0
  36. package/dist/subsystem/containerCard.d.ts.map +1 -1
  37. package/dist/subsystem/containerCard.js +16 -1
  38. package/dist/subsystem/containerCard.js.map +1 -1
  39. package/dist/utils/elkLayout.d.ts +22 -0
  40. package/dist/utils/elkLayout.d.ts.map +1 -1
  41. package/dist/utils/elkLayout.js +55 -0
  42. package/dist/utils/elkLayout.js.map +1 -1
  43. package/package.json +3 -3
  44. package/src/graphify/anchor.ts +1 -206
  45. package/src/graphify/consolidated.ts +1 -298
  46. package/src/graphify/construct.ts +1 -153
  47. package/src/graphify/ids.ts +1 -48
  48. package/src/graphify/resolve.ts +1 -115
  49. package/src/graphify/signature.ts +1 -354
  50. package/src/graphify/types.ts +1 -164
  51. package/src/stories/Canvases/Subsystem/FocusReset.stories.tsx +55 -0
  52. package/src/stories/Canvases/Subsystem/fixtures/focus-reset-case.json +479 -0
  53. package/src/subsystem/IssueList.category.test.ts +11 -0
  54. package/src/subsystem/IssueList.tsx +5 -2
  55. package/src/subsystem/SubsystemComponentGraph.tsx +47 -19
  56. package/src/subsystem/containerCard.test.ts +30 -0
  57. package/src/subsystem/containerCard.tsx +34 -1
  58. package/src/utils/elkLayout.test.ts +33 -0
  59. package/src/utils/elkLayout.ts +75 -0
@@ -1,100 +1,2 @@
1
- /**
2
- * Infer a subsystem-style construct from a graphify node + edges.
3
- *
4
- * Graphify does not store construct on nodes (everything is `file_type: "code"`).
5
- * Class vs function vs type is derived from structure — same rules as
6
- * `GraphifyComponentDetail` in consolidated.ts.
7
- */
8
- const FILE_LABEL_RE = /\.(py|js|jsx|ts|tsx|mjs|cjs|java|go|rs|rb|php|cs|cpp|cc|c|h|hpp|pas|pp|dpr|swift|kt|scala|dart|lua|pl|pm|ex|exs|zig|vue|svelte)$/i;
9
- function isMethodStyleLabel(label) {
10
- return label.trim().startsWith('.');
11
- }
12
- function isCallStyleLabel(label) {
13
- return label.trim().endsWith('()');
14
- }
15
- function isFilenameLabel(label, sourceFile) {
16
- const trimmed = label.trim();
17
- if (FILE_LABEL_RE.test(trimmed))
18
- return true;
19
- if (!sourceFile)
20
- return false;
21
- const base = sourceFile.replace(/\\/g, '/').split('/').pop() ?? '';
22
- return !!base && trimmed === base;
23
- }
24
- /**
25
- * Infer construct for a definition node from its label and incident edges.
26
- *
27
- * Priority: class → method → function → type → module → unknown.
28
- */
29
- export function inferConstructFromGraphify(node, edges) {
30
- const id = String(node.id);
31
- const label = String(node.label ?? '').trim();
32
- const sourceFile = typeof node.source_file === 'string' ? node.source_file : '';
33
- const evidence = [];
34
- const outgoingMethod = edges.filter((e) => String(e.source) === id && e.relation === 'method');
35
- if (outgoingMethod.length > 0) {
36
- evidence.push(`${outgoingMethod.length} outgoing method edge(s)`);
37
- return { construct: 'class', evidence };
38
- }
39
- const incomingMethod = edges.filter((e) => String(e.target) === id && e.relation === 'method');
40
- if (incomingMethod.length > 0 && isMethodStyleLabel(label)) {
41
- evidence.push(`incoming method edge from ${String(incomingMethod[0].source)}`, `label ${label}`);
42
- return { construct: 'method', evidence };
43
- }
44
- if (isCallStyleLabel(label)) {
45
- evidence.push(`call-style label ${label}`);
46
- return { construct: 'function', evidence };
47
- }
48
- const incomingImplements = edges.filter((e) => String(e.target) === id && e.relation === 'implements');
49
- if (incomingImplements.length > 0) {
50
- evidence.push(`${incomingImplements.length} incoming implements edge(s)`);
51
- return { construct: 'type', evidence };
52
- }
53
- if (node.type === 'module' || isFilenameLabel(label, sourceFile)) {
54
- evidence.push(node.type === 'module'
55
- ? 'node.type=module'
56
- : `filename label ${label}`);
57
- return { construct: 'module', evidence };
58
- }
59
- if (label)
60
- evidence.push(`unclassified label ${label}`);
61
- else
62
- evidence.push('no classifying signals');
63
- return { construct: 'unknown', evidence };
64
- }
65
- /** Type-family constructs all infer as the coarse 'type' — graph structure
66
- * (implements/references edges) cannot sub-classify interface vs alias vs
67
- * enum vs variable; only the source declaration can. */
68
- const TYPE_FAMILY = new Set(['interface', 'type_alias', 'enum']);
69
- /** Strict claimed-vs-inferred check, with type-family compatibility. */
70
- export function constructsMatch(claimed, inferred) {
71
- if (!claimed || claimed === 'external')
72
- return true;
73
- if (TYPE_FAMILY.has(claimed))
74
- return inferred === 'type';
75
- return claimed === inferred;
76
- }
77
- /**
78
- * Resolve a claimed construct against Graphify's inferred construct, allowing an
79
- * accepted, agent-confirmed augmentation to stand in for Graphify when it is
80
- * silent (`unknown`) or when it disagrees.
81
- *
82
- * Graphify's inferred construct is a *structural hint*, never ground truth: its
83
- * vocabulary (`class | function | method | type | module | unknown`) has no
84
- * `store` or `custom_entity`, and a call-style accessor label biases it to
85
- * `function`. When source-reading confirms the model's claim, that confirmation
86
- * (recorded as an accepted augmentation) wins over the hint.
87
- */
88
- export function resolveConstructMatch(claimed, inferred, augmentedConstruct) {
89
- const aug = augmentedConstruct?.trim();
90
- if (!claimed || claimed === 'external')
91
- return { match: true };
92
- const augConfirms = !!aug && aug === claimed;
93
- if (inferred === 'unknown') {
94
- return augConfirms ? { match: true, augmentedBy: aug } : { match: null };
95
- }
96
- if (constructsMatch(claimed, inferred))
97
- return { match: true };
98
- return augConfirms ? { match: true, augmentedBy: aug } : { match: false };
99
- }
1
+ export * from '@principal-ai/subsystems-core/graphify/construct';
100
2
  //# sourceMappingURL=construct.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"construct.js","sourceRoot":"","sources":["../../src/graphify/construct.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkBH,MAAM,aAAa,GAClB,mIAAmI,CAAC;AAErI,SAAS,kBAAkB,CAAC,KAAa;IACxC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa;IACtC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,eAAe,CAAC,KAAa,EAAE,UAAkB;IACzD,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B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CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC3E,CAAC"}
1
+ {"version":3,"file":"construct.js","sourceRoot":"","sources":["../../src/graphify/construct.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC"}
@@ -1,19 +1,2 @@
1
- /**
2
- * Mirror of graphify/ids.py — NFKC + casefold-ish + non-word → `_`.
3
- *
4
- * Definition node ids are `makeId(fileStem, ...symbolParts)`. Stub ids are
5
- * intentionally different (name-only / `ref_…`); this module is for the
6
- * definition path used by component anchoring.
7
- */
8
- /** Normalize one id string to graphify's canonical form. */
9
- export declare function normalizeGraphifyId(s: string): string;
10
- /** Build a canonical node id from path/symbol parts (graphify `make_id`). */
11
- export declare function makeGraphifyId(...parts: string[]): string;
12
- /**
13
- * File stem used as the node-id prefix (graphify `_file_stem`):
14
- * full path with extension dropped, posix separators.
15
- */
16
- export declare function graphifyFileStem(file: string): string;
17
- /** Normalize a repo-relative path for source_file comparison. */
18
- export declare function normalizeSourcePath(file: string): string;
1
+ export * from '@principal-ai/subsystems-core/graphify/ids';
19
2
  //# sourceMappingURL=ids.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/graphify/ids.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4DAA4D;AAC5D,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAQrD;AAED,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAOzD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CASrD;AAED,iEAAiE;AACjE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD"}
1
+ {"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/graphify/ids.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"}
@@ -1,46 +1,2 @@
1
- /**
2
- * Mirror of graphify/ids.py — NFKC + casefold-ish + non-word → `_`.
3
- *
4
- * Definition node ids are `makeId(fileStem, ...symbolParts)`. Stub ids are
5
- * intentionally different (name-only / `ref_…`); this module is for the
6
- * definition path used by component anchoring.
7
- */
8
- /** Normalize one id string to graphify's canonical form. */
9
- export function normalizeGraphifyId(s) {
10
- let out = s.normalize("NFKC");
11
- // JS has no Unicode casefold; lowercasing + second NFKC is close enough
12
- // for the Latin/ASCII identifiers we resolve in practice.
13
- out = out.toLowerCase().normalize("NFKC");
14
- out = out.replace(/[^\w]+/gu, "_");
15
- out = out.replace(/_+/g, "_");
16
- return out.replace(/^_|_$/g, "");
17
- }
18
- /** Build a canonical node id from path/symbol parts (graphify `make_id`). */
19
- export function makeGraphifyId(...parts) {
20
- const joined = parts
21
- .filter((p) => typeof p === "string" && p.length > 0)
22
- .map((p) => p.replace(/^[_.]+|[_.]+$/g, ""))
23
- .filter(Boolean)
24
- .join("_");
25
- return normalizeGraphifyId(joined);
26
- }
27
- /**
28
- * File stem used as the node-id prefix (graphify `_file_stem`):
29
- * full path with extension dropped, posix separators.
30
- */
31
- export function graphifyFileStem(file) {
32
- const posix = file.replace(/\\/g, "/").replace(/^\.\//, "");
33
- const lastSlash = posix.lastIndexOf("/");
34
- const base = lastSlash >= 0 ? posix.slice(lastSlash + 1) : posix;
35
- const dir = lastSlash >= 0 ? posix.slice(0, lastSlash + 1) : "";
36
- if (!base || base === ".")
37
- return "";
38
- const dot = base.lastIndexOf(".");
39
- const stemBase = dot > 0 ? base.slice(0, dot) : base;
40
- return `${dir}${stemBase}`;
41
- }
42
- /** Normalize a repo-relative path for source_file comparison. */
43
- export function normalizeSourcePath(file) {
44
- return file.replace(/\\/g, "/").replace(/^\.\//, "").replace(/\/+/g, "/");
45
- }
1
+ export * from '@principal-ai/subsystems-core/graphify/ids';
46
2
  //# sourceMappingURL=ids.js.map
@@ -1 +1 @@
1
- {"version":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S,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACjE,MAAM,GAAG,GAAG,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChE,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,EAAE,CAAC;IACrC,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAClC,MAAM,QAAQ,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,OAAO,GAAG,GAAG,GAAG,QAAQ,EAAE,CAAC;AAC5B,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC3E,CAAC"}
1
+ {"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/graphify/ids.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC"}
@@ -1,48 +1,2 @@
1
- /**
2
- * Resolve graphify type-name references to their defining nodes.
3
- *
4
- * A `references` edge (`parameter_type`, `return_type`, `field`,
5
- * `generic_arg`) targets either the type's real definition node or a
6
- * *sourceless stub* graphify left behind when the name could not be uniquely
7
- * resolved at extraction time (mirrors `_rewire_unique_stub_nodes` there:
8
- * ambiguous same-label definitions and never-defined names stay stubs).
9
- *
10
- * This module applies the same conservative matching from the consumer side so
11
- * UI click targets can distinguish "jump to definition" from "N candidates"
12
- * from "not in this corpus".
13
- */
14
- import type { GraphifyNode } from './types';
15
- import type { GraphifyReferenceInfo } from './consolidated';
16
- /** Outcome of resolving one type reference. */
17
- export type GraphifyTypeRefStatus =
18
- /** Target node is a real definition — jump to its `source_file`. */
19
- 'resolved'
20
- /** Target was a stub and multiple same-label definitions exist. */
21
- | 'ambiguous'
22
- /** Target was a stub and nothing in the corpus defines the name. */
23
- | 'unresolved'
24
- /** No nodeId on the ref, or the id is not in the graph. */
25
- | 'missing';
26
- export interface GraphifyTypeRefResolution {
27
- status: GraphifyTypeRefStatus;
28
- /** The definition node when resolved; the stub itself otherwise. */
29
- node: GraphifyNode | null;
30
- /** Same-label definitions when the target was an unresolved stub. */
31
- candidates: GraphifyNode[];
32
- }
33
- /**
34
- * Mirror graphify's `normalise_callable_label`: trim, strip surrounding
35
- * parens/leading dots, lowercase. `SessionReader()` and `sessionreader`
36
- * collapse to the same key.
37
- */
38
- export declare function normalizeGraphifyLabel(label: string): string;
39
- /** Prebuilt lookup state — build once per graph, resolve many refs. */
40
- export interface GraphifyTypeResolver {
41
- resolve(nodeId: string | undefined, fallbackLabel?: string): GraphifyTypeRefResolution;
42
- }
43
- export declare function createGraphifyTypeResolver(nodes: readonly GraphifyNode[]): GraphifyTypeResolver;
44
- /** One-shot convenience over {@link createGraphifyTypeResolver}. */
45
- export declare function resolveGraphifyTypeRef(nodes: readonly GraphifyNode[], ref: Pick<GraphifyReferenceInfo, 'nodeId'> | {
46
- nodeId?: string;
47
- } | undefined, fallbackLabel?: string): GraphifyTypeRefResolution;
1
+ export * from '@principal-ai/subsystems-core/graphify/resolve';
48
2
  //# sourceMappingURL=resolve.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../src/graphify/resolve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,+CAA+C;AAC/C,MAAM,MAAM,qBAAqB;AAC/B,oEAAoE;AAClE,UAAU;AACZ,mEAAmE;GACjE,WAAW;AACb,oEAAoE;GAClE,YAAY;AACd,2DAA2D;GACzD,SAAS,CAAC;AAEd,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,oEAAoE;IACpE,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1B,qEAAqE;IACrE,UAAU,EAAE,YAAY,EAAE,CAAC;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAM5D;AAaD,uEAAuE;AACvE,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,yBAAyB,CAAC;CACxF;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,oBAAoB,CAwC/F;AAED,oEAAoE;AACpE,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,YAAY,EAAE,EAC9B,GAAG,EAAE,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,EAC5E,aAAa,CAAC,EAAE,MAAM,GACrB,yBAAyB,CAE3B"}
1
+ {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../src/graphify/resolve.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -1,83 +1,2 @@
1
- /**
2
- * Resolve graphify type-name references to their defining nodes.
3
- *
4
- * A `references` edge (`parameter_type`, `return_type`, `field`,
5
- * `generic_arg`) targets either the type's real definition node or a
6
- * *sourceless stub* graphify left behind when the name could not be uniquely
7
- * resolved at extraction time (mirrors `_rewire_unique_stub_nodes` there:
8
- * ambiguous same-label definitions and never-defined names stay stubs).
9
- *
10
- * This module applies the same conservative matching from the consumer side so
11
- * UI click targets can distinguish "jump to definition" from "N candidates"
12
- * from "not in this corpus".
13
- */
14
- /**
15
- * Mirror graphify's `normalise_callable_label`: trim, strip surrounding
16
- * parens/leading dots, lowercase. `SessionReader()` and `sessionreader`
17
- * collapse to the same key.
18
- */
19
- export function normalizeGraphifyLabel(label) {
20
- return label
21
- .trim()
22
- .replace(/^[()]+|[()]+$/g, '')
23
- .replace(/^\.+/, '')
24
- .toLowerCase();
25
- }
26
- const FILE_SUFFIX_RE = /\.(py|js|jsx|ts|tsx|mjs|cjs|java|go|rs|rb|php|cs|cpp|cc|c|h|hpp|pas|pp|dpr|swift|kt|scala|dart|lua|pl|pm|ex|exs|zig|vue|svelte)$/i;
27
- function isDefinition(node) {
28
- if (node.file_type !== 'code')
29
- return false;
30
- const file = typeof node.source_file === 'string' ? node.source_file : '';
31
- if (!file)
32
- return false;
33
- const label = typeof node.label === 'string' ? node.label.trim() : '';
34
- return !!label && !FILE_SUFFIX_RE.test(label);
35
- }
36
- export function createGraphifyTypeResolver(nodes) {
37
- const byId = new Map();
38
- const defsByExactLabel = new Map();
39
- const defsByFoldedLabel = new Map();
40
- for (const node of nodes) {
41
- byId.set(String(node.id), node);
42
- if (!isDefinition(node))
43
- continue;
44
- const label = String(node.label).trim();
45
- (defsByExactLabel.get(label) ?? defsByExactLabel.set(label, []).get(label)).push(node);
46
- const folded = normalizeGraphifyLabel(label);
47
- if (!folded)
48
- continue;
49
- (defsByFoldedLabel.get(folded) ?? defsByFoldedLabel.set(folded, []).get(folded)).push(node);
50
- }
51
- function resolve(nodeId, fallbackLabel) {
52
- if (!nodeId)
53
- return { status: 'missing', node: null, candidates: [] };
54
- const target = byId.get(nodeId);
55
- if (!target)
56
- return { status: 'missing', node: null, candidates: [] };
57
- // Real definition (graphify rewired the reference onto it, or it lived in
58
- // the referencing file all along).
59
- if (isDefinition(target))
60
- return { status: 'resolved', node: target, candidates: [] };
61
- // Sourceless stub — try the rewire tiers: exact label, then folded.
62
- const label = typeof target.label === 'string' && target.label.trim() ? target.label.trim() : (fallbackLabel ?? '');
63
- let candidates = defsByExactLabel.get(label) ?? [];
64
- if (candidates.length !== 1) {
65
- const folded = normalizeGraphifyLabel(label);
66
- candidates = folded ? (defsByFoldedLabel.get(folded) ?? []) : [];
67
- }
68
- if (candidates.length === 1) {
69
- // Unique match — same fold `_rewire_unique_stub_nodes` performs at
70
- // extraction time; graphs built before that pass land here instead.
71
- return { status: 'resolved', node: candidates[0], candidates };
72
- }
73
- if (candidates.length > 1)
74
- return { status: 'ambiguous', node: target, candidates };
75
- return { status: 'unresolved', node: target, candidates: [] };
76
- }
77
- return { resolve };
78
- }
79
- /** One-shot convenience over {@link createGraphifyTypeResolver}. */
80
- export function resolveGraphifyTypeRef(nodes, ref, fallbackLabel) {
81
- return createGraphifyTypeResolver(nodes).resolve(ref?.nodeId, fallbackLabel);
82
- }
1
+ export * from '@principal-ai/subsystems-core/graphify/resolve';
83
2
  //# sourceMappingURL=resolve.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../src/graphify/resolve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAwBH;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAa;IAClD,OAAO,KAAK;SACT,IAAI,EAAE;SACN,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC;SAC7B,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;SACnB,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,MAAM,cAAc,GAClB,mIAAmI,CAAC;AAEtI,SAAS,YAAY,CAAC,IAAkB;IACtC,IAAI,IAAI,CAAC,SAAS,KAAK,MAAM;QAAE,OAAO,KAAK,CAAC;IAC5C,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAA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AU,EAAE,CAAC;SACjE;QACD,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;QACpF,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,sBAAsB,CACpC,KAA8B,EAC9B,GAA4E,EAC5E,aAAsB;IAEtB,OAAO,0BAA0B,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;AAC/E,CAAC"}
1
+ {"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../src/graphify/resolve.ts"],"names":[],"mappings":"AAAA,cAAc,gDAAgD,CAAC"}
@@ -1,87 +1,2 @@
1
- /**
2
- * Signature / params verification against graphify `references` edges.
3
- *
4
- * Graphify does not store arity or parameter names — only `parameter_type` /
5
- * `return_type` edges to type nodes (unions become multiple edges). Comparison
6
- * is therefore **named type bags**, not positional arity.
7
- *
8
- * Many TS/JS functions have no such edges yet. When graphify has no signature
9
- * signal, the check is skipped (not a hard fail) so Verify can still gate on
10
- * kind. When graphify *does* emit types, claimed detail must match.
11
- */
12
- import type { GraphifyEdge, GraphifyNode } from './types';
13
- /** Inferred signature from graphify edges (no param names). */
14
- export interface GraphifyInferredSignature {
15
- parameters: Array<{
16
- type: string;
17
- nodeId: string;
18
- }>;
19
- returnType?: string;
20
- returnTypeNodeId?: string;
21
- /**
22
- * Types reachable only via `generic_arg` edges (Promise<X>, Array<X>,
23
- * Omit<X,…>, Map<…>). Kept out of `parameters`/`returnType` — not read
24
- * by the bag comparison — so skipped cases can be told apart.
25
- */
26
- genericArgs?: Array<{
27
- type: string;
28
- nodeId: string;
29
- }>;
30
- /**
31
- * Count of `inline_parameter` self-edges (anonymous object-literal params).
32
- * Graphify emits one per anon param only with its `--inline-params` flag.
33
- */
34
- inlineParameters?: number;
35
- /** True when at least one parameter_type or return_type edge exists. */
36
- hasSignal: boolean;
37
- }
38
- export interface ClaimedSignature {
39
- parameters?: Array<{
40
- name?: string;
41
- type: string;
42
- }>;
43
- returnType?: string;
44
- }
45
- /**
46
- * Granular skip classification. `signature_skipped` means "graphify has no
47
- * parameter_type/return_type edges to compare", but *why* matters for future
48
- * work:
49
- * - `no_claimed_types`: authored detail has no named types (primitives/inline).
50
- * - `generic_arg_only`: claimed types resolve, but only as `generic_arg`
51
- * (Promise/Omit/Map/Array wrappers) — this extractor does not read them.
52
- * - `partially_generic_arg`: some, not all, claimed types resolve as generic_arg.
53
- * - `unresolved_claimed_types`: claimed names have no edges at all
54
- * (global/npm types, or a dropped same-file label collision).
55
- */
56
- export type SignatureSkipCode = 'no_claimed_types' | 'generic_arg_only' | 'partially_generic_arg' | 'unresolved_claimed_types';
57
- export interface SignatureCompareResult {
58
- match: boolean;
59
- /** Skipped because graphify had no parameter/return type edges. */
60
- skipped: boolean;
61
- reason?: string;
62
- /** Granular skip classification when `skipped` is true. */
63
- skipCode?: SignatureSkipCode;
64
- claimed: {
65
- parameterTypes: string[];
66
- returnTypes: string[];
67
- };
68
- inferred: {
69
- parameterTypes: string[];
70
- returnTypes: string[];
71
- };
72
- }
73
- /**
74
- * Pull comparable named type identifiers out of an authored / graphify type
75
- * string. Skips primitives, inline object types, and known wrappers.
76
- */
77
- export declare function extractNamedTypes(typeStr: string): string[];
78
- /** Collect parameter_type / return_type edges for a callable node. */
79
- export declare function extractGraphifySignature(nodeId: string, edges: readonly GraphifyEdge[], nodesById: ReadonlyMap<string, GraphifyNode>): GraphifyInferredSignature;
80
- /**
81
- * Compare authored function/method detail signature to graphify edges.
82
- *
83
- * - No graphify signal → skipped (match=true).
84
- * - Otherwise named-type bags for params and return must match exactly.
85
- */
86
- export declare function compareSignatures(claimed: ClaimedSignature | undefined, inferred: GraphifyInferredSignature): SignatureCompareResult;
1
+ export * from '@principal-ai/subsystems-core/graphify/signature';
87
2
  //# sourceMappingURL=signature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../src/graphify/signature.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D,+DAA+D;AAC/D,MAAM,WAAW,yBAAyB;IACzC,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,SAAS,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,iBAAiB,GAC1B,kBAAkB,GAClB,kBAAkB,GAClB,uBAAuB,GACvB,0BAA0B,CAAC;AAE9B,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,mEAAmE;IACnE,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,iBAA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