@titan-design/code-read 0.1.9 → 0.2.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,24 +1,55 @@
1
1
  import {
2
2
  AGENT_COMMANDS,
3
+ AttentionSignal,
4
+ CHANGES_ROWS_MAX,
3
5
  CODE_READ_API_VERSION,
4
6
  COMMAND_NAMES,
5
7
  CONTRACT,
6
8
  Capabilities,
9
+ Centrality,
10
+ ChurnWindow,
11
+ CoChangePair,
12
+ CoupledPartners,
13
+ CrossEdge,
7
14
  EXCERPT_LINE_CAP,
15
+ ExportRow,
8
16
  FINDINGS_PAGE_MAX,
9
17
  Finding,
18
+ FindingChange,
19
+ FindingDelta,
10
20
  FindingStatus,
11
21
  HIERARCHY_ROW_CAP,
22
+ HOTSPOTS_PAGE_MAX,
23
+ Hotspot,
24
+ HotspotMark,
25
+ ImpactRollup,
26
+ LinkedTests,
27
+ LookFirstRow,
12
28
  MetricDescriptor,
13
29
  MissingReason,
30
+ NewFile,
14
31
  NodeKind,
32
+ NodeLens,
33
+ NodeLenses,
15
34
  NodeRef,
35
+ OVERVIEW_ROWS_MAX,
36
+ PACKAGES_MAX,
37
+ PATHS_IMPACT_MAX,
38
+ PackageLayer,
39
+ PackageStatsRow,
40
+ PathDelta,
41
+ PathHotspot,
42
+ PathImpact,
16
43
  Provenance,
17
44
  ProvenanceKind,
18
45
  QUERIES,
19
46
  RELATED_CAP,
20
47
  ReadError,
48
+ ReadingOrderRow,
49
+ Regression,
21
50
  RuleSummary,
51
+ ScoreBreakdown,
52
+ ScoreChange,
22
53
  Severity,
23
54
  SnapshotInfo,
24
55
  SnapshotRef,
@@ -26,43 +57,81 @@ import {
26
57
  Span,
27
58
  buildReadModel,
28
59
  createQueryResolver,
60
+ declaredTiers,
29
61
  describeApi,
30
62
  excessOf,
31
63
  findingNotFound,
64
+ getChanges,
32
65
  getFinding,
33
66
  getHierarchy,
34
67
  getNeighbors,
35
68
  getNode,
69
+ getOverview,
36
70
  invalidArgs,
37
71
  listFindings,
72
+ listHotspots,
38
73
  listSnapshots,
39
74
  nodeNotFound,
75
+ packagesStats,
76
+ pathsImpact,
77
+ repoRelative,
40
78
  resolveNode,
41
79
  resolveSnapshot,
42
80
  serializeContract,
43
81
  snapshotNotFound
44
- } from "../chunk-VXQFCVGB.js";
82
+ } from "../chunk-7FNTXO7C.js";
45
83
  export {
46
84
  AGENT_COMMANDS,
85
+ AttentionSignal,
86
+ CHANGES_ROWS_MAX,
47
87
  CODE_READ_API_VERSION,
48
88
  COMMAND_NAMES,
49
89
  CONTRACT,
50
90
  Capabilities,
91
+ Centrality,
92
+ ChurnWindow,
93
+ CoChangePair,
94
+ CoupledPartners,
95
+ CrossEdge,
51
96
  EXCERPT_LINE_CAP,
97
+ ExportRow,
52
98
  FINDINGS_PAGE_MAX,
53
99
  Finding,
100
+ FindingChange,
101
+ FindingDelta,
54
102
  FindingStatus,
55
103
  HIERARCHY_ROW_CAP,
104
+ HOTSPOTS_PAGE_MAX,
105
+ Hotspot,
106
+ HotspotMark,
107
+ ImpactRollup,
108
+ LinkedTests,
109
+ LookFirstRow,
56
110
  MetricDescriptor,
57
111
  MissingReason,
112
+ NewFile,
58
113
  NodeKind,
114
+ NodeLens,
115
+ NodeLenses,
59
116
  NodeRef,
117
+ OVERVIEW_ROWS_MAX,
118
+ PACKAGES_MAX,
119
+ PATHS_IMPACT_MAX,
120
+ PackageLayer,
121
+ PackageStatsRow,
122
+ PathDelta,
123
+ PathHotspot,
124
+ PathImpact,
60
125
  Provenance,
61
126
  ProvenanceKind,
62
127
  QUERIES,
63
128
  RELATED_CAP,
64
129
  ReadError,
130
+ ReadingOrderRow,
131
+ Regression,
65
132
  RuleSummary,
133
+ ScoreBreakdown,
134
+ ScoreChange,
66
135
  Severity,
67
136
  SnapshotInfo,
68
137
  SnapshotRef,
@@ -70,17 +139,24 @@ export {
70
139
  Span,
71
140
  buildReadModel,
72
141
  createQueryResolver,
142
+ declaredTiers,
73
143
  describeApi,
74
144
  excessOf,
75
145
  findingNotFound,
146
+ getChanges,
76
147
  getFinding,
77
148
  getHierarchy,
78
149
  getNeighbors,
79
150
  getNode,
151
+ getOverview,
80
152
  invalidArgs,
81
153
  listFindings,
154
+ listHotspots,
82
155
  listSnapshots,
83
156
  nodeNotFound,
157
+ packagesStats,
158
+ pathsImpact,
159
+ repoRelative,
84
160
  resolveNode,
85
161
  resolveSnapshot,
86
162
  serializeContract,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titan-design/code-read",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "description": "Versioned read API over code-graph snapshots: a contract, a per-snapshot ReadModel, browser-safe query functions, and registry commands",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,9 +35,9 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "@titan-design/code-graph": "^0.11.0",
39
- "@titan-design/registry": "^0.3.2",
40
- "@titan-design/rpc-protocol": "^0.2.0"
38
+ "@titan-design/code-graph": "^0.13.0",
39
+ "@titan-design/rpc-protocol": "^0.2.0",
40
+ "@titan-design/registry": "^0.3.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "zod": "^4.0.0"
@@ -46,7 +46,7 @@
46
46
  "@modelcontextprotocol/sdk": "^1.29.0",
47
47
  "esbuild": "^0.27.0",
48
48
  "zod": "^4.4.3",
49
- "@titan-design/daemon": "^0.3.2"
49
+ "@titan-design/daemon": "^0.4.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup",