@reqlan/analytical 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.
- package/out/analysis/analyser-registry.d.ts +21 -0
- package/out/analysis/analyser-registry.js +33 -0
- package/out/analysis/analyser-registry.js.map +1 -0
- package/out/analysis/completion-tracking-analyser.d.ts +3 -0
- package/out/analysis/completion-tracking-analyser.js +37 -0
- package/out/analysis/completion-tracking-analyser.js.map +1 -0
- package/out/analysis/deprecation-impact-analyser.d.ts +3 -0
- package/out/analysis/deprecation-impact-analyser.js +21 -0
- package/out/analysis/deprecation-impact-analyser.js.map +1 -0
- package/out/analysis/file-related-analyser.d.ts +5 -0
- package/out/analysis/file-related-analyser.js +41 -0
- package/out/analysis/file-related-analyser.js.map +1 -0
- package/out/analysis/git-dates-analyser.d.ts +9 -0
- package/out/analysis/git-dates-analyser.js +39 -0
- package/out/analysis/git-dates-analyser.js.map +1 -0
- package/out/analysis/list-ideas-analyser.d.ts +3 -0
- package/out/analysis/list-ideas-analyser.js +7 -0
- package/out/analysis/list-ideas-analyser.js.map +1 -0
- package/out/analysis/local-graph-analyser.d.ts +6 -0
- package/out/analysis/local-graph-analyser.js +42 -0
- package/out/analysis/local-graph-analyser.js.map +1 -0
- package/out/analysis/semantic-search-analyser.d.ts +8 -0
- package/out/analysis/semantic-search-analyser.js +51 -0
- package/out/analysis/semantic-search-analyser.js.map +1 -0
- package/out/analysis-api.d.ts +31 -0
- package/out/analysis-api.js +136 -0
- package/out/analysis-api.js.map +1 -0
- package/out/core/analytical-store.d.ts +78 -0
- package/out/core/analytical-store.js +141 -0
- package/out/core/analytical-store.js.map +1 -0
- package/out/core/context-model.d.ts +187 -0
- package/out/core/context-model.js +36 -0
- package/out/core/context-model.js.map +1 -0
- package/out/core/context-signals.d.ts +149 -0
- package/out/core/context-signals.js +397 -0
- package/out/core/context-signals.js.map +1 -0
- package/out/core/file-path-match.d.ts +7 -0
- package/out/core/file-path-match.js +39 -0
- package/out/core/file-path-match.js.map +1 -0
- package/out/core/file-reference-resolve.d.ts +8 -0
- package/out/core/file-reference-resolve.js +28 -0
- package/out/core/file-reference-resolve.js.map +1 -0
- package/out/core/idea-references.d.ts +13 -0
- package/out/core/idea-references.js +25 -0
- package/out/core/idea-references.js.map +1 -0
- package/out/core/index-error.d.ts +23 -0
- package/out/core/index-error.js +33 -0
- package/out/core/index-error.js.map +1 -0
- package/out/core/types.d.ts +172 -0
- package/out/core/types.js +48 -0
- package/out/core/types.js.map +1 -0
- package/out/core/workspace-paths.d.ts +4 -0
- package/out/core/workspace-paths.js +92 -0
- package/out/core/workspace-paths.js.map +1 -0
- package/out/create-runtime.d.ts +21 -0
- package/out/create-runtime.js +39 -0
- package/out/create-runtime.js.map +1 -0
- package/out/export/build-export-snapshot.d.ts +3 -0
- package/out/export/build-export-snapshot.js +573 -0
- package/out/export/build-export-snapshot.js.map +1 -0
- package/out/export/html-export-assets.d.ts +3 -0
- package/out/export/html-export-assets.js +1066 -0
- package/out/export/html-export-assets.js.map +1 -0
- package/out/export/html-export-template.d.ts +17 -0
- package/out/export/html-export-template.js +930 -0
- package/out/export/html-export-template.js.map +1 -0
- package/out/export/html-export-utils.d.ts +45 -0
- package/out/export/html-export-utils.js +262 -0
- package/out/export/html-export-utils.js.map +1 -0
- package/out/export/types.d.ts +187 -0
- package/out/export/types.js +2 -0
- package/out/export/types.js.map +1 -0
- package/out/export/write-html-export.d.ts +2 -0
- package/out/export/write-html-export.js +143 -0
- package/out/export/write-html-export.js.map +1 -0
- package/out/headless-index-service.d.ts +23 -0
- package/out/headless-index-service.js +171 -0
- package/out/headless-index-service.js.map +1 -0
- package/out/index-store/idea-extractor.d.ts +6 -0
- package/out/index-store/idea-extractor.js +271 -0
- package/out/index-store/idea-extractor.js.map +1 -0
- package/out/index-store/schema.d.ts +10 -0
- package/out/index-store/schema.js +54 -0
- package/out/index-store/schema.js.map +1 -0
- package/out/index-store/sqlite-store.d.ts +66 -0
- package/out/index-store/sqlite-store.js +964 -0
- package/out/index-store/sqlite-store.js.map +1 -0
- package/out/index-store/webview-graph-queries.d.ts +62 -0
- package/out/index-store/webview-graph-queries.js +256 -0
- package/out/index-store/webview-graph-queries.js.map +1 -0
- package/out/index-store/webview-table-queries.d.ts +57 -0
- package/out/index-store/webview-table-queries.js +199 -0
- package/out/index-store/webview-table-queries.js.map +1 -0
- package/out/index.d.ts +40 -0
- package/out/index.js +27 -0
- package/out/index.js.map +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webview-table-queries.js","sourceRoot":"","sources":["../../src/index-store/webview-table-queries.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AA0CnD,MAAM,UAAU,iBAAiB,CAAC,GAAW;IACzC,OAAO,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,IAAY;IACjD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,OAAO,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAA8C;IAC/E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,GAAG,CAAC;IACf,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,GAAG,CAAC;IACf,CAAC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IACrD,CAAC;IACD,OAAO,K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,GAAG,SAAS,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC5D,OAAO;YACH,GAAG,EAAE;;;;;cAKH;YACF,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;SACnC,CAAC;IACN,CAAC;IACD,IAAI,SAAS,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,CAAC;QACxC,MAAM,QAAQ,GAAG,SAAS,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QACzD,OAAO;YACH,GAAG,EAAE;;;cAGH;YACF,MAAM,EAAE,CAAC,QAAQ,CAAC;SACrB,CAAC;IACN,CAAC;IACD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AACxC,CAAC"}
|
package/out/index.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export { createAnalyticalStore } from './core/analytical-store.js';
|
|
2
|
+
export type { AnalyticalState, AnalyticalStore, AnalyticalStoreState, AnalysisRun, DocumentUpdate, IndexError, FileIndexIssue, IndexState, WorkspaceChange, WorkspaceFileChange } from './core/analytical-store.js';
|
|
3
|
+
export type { IndexErrorPhase } from './core/analytical-store.js';
|
|
4
|
+
export { toIndexErrorDetail, toFileIndexIssueView, errorCauseMessage } from './core/index-error.js';
|
|
5
|
+
export type { IndexErrorDetail, FileIndexIssueView } from './core/index-error.js';
|
|
6
|
+
export { normalizeIndexedDocument, resolveWorkspaceFileUri, toWorkspaceRelativePath } from './core/workspace-paths.js';
|
|
7
|
+
export { resolveReferencedFilePath } from './core/file-reference-resolve.js';
|
|
8
|
+
export type { Analyser, AnalyserContext } from './analysis/analyser-registry.js';
|
|
9
|
+
export { AnalyserRegistry } from './analysis/analyser-registry.js';
|
|
10
|
+
export { listAllIdeasAnalyser } from './analysis/list-ideas-analyser.js';
|
|
11
|
+
export { fileRelatedAnalyser } from './analysis/file-related-analyser.js';
|
|
12
|
+
export { deprecationImpactAnalyser } from './analysis/deprecation-impact-analyser.js';
|
|
13
|
+
export { gitDatesAnalyser } from './analysis/git-dates-analyser.js';
|
|
14
|
+
export type { GitDateInfo } from './analysis/git-dates-analyser.js';
|
|
15
|
+
export { completionTrackingAnalyser } from './analysis/completion-tracking-analyser.js';
|
|
16
|
+
export { localGraphAnalyser } from './analysis/local-graph-analyser.js';
|
|
17
|
+
export { semanticSearchAnalyser } from './analysis/semantic-search-analyser.js';
|
|
18
|
+
export { extractIndexedDocument } from './index-store/idea-extractor.js';
|
|
19
|
+
export { SqliteIndexStore } from './index-store/sqlite-store.js';
|
|
20
|
+
export type { IdeasTableQuery, IdeasetsTableQuery, ReferencesTableQuery, ReferenceFilter, IdeasSortColumn, IdeasetsSortColumn, ReferencesSortColumn, SortDirection } from './index-store/webview-table-queries.js';
|
|
21
|
+
export { attributeKeyFromChipItem, attributeJsonPath, formatAttributeValue } from './index-store/webview-table-queries.js';
|
|
22
|
+
export type { GraphViewQuery, GraphViewSlice, GraphNodeView, GraphEdgeView, GraphTruncationBasis } from './index-store/webview-graph-queries.js';
|
|
23
|
+
export { GRAPH_MAX_NODES, GRAPH_NODES_HARD_CAP, GRAPH_TRUNCATION_BASIS_OPTIONS, buildGraphFilterWhereClause, buildGraphTruncationOrderClause, buildGraphViewSlice, toGraphNodeView, CONTEXT_MIN_HOP_DEPTH, CONTEXT_MAX_HOP_DEPTH, clampGraphHopDepth } from './index-store/webview-graph-queries.js';
|
|
24
|
+
export { ACTIVITY_BAR_MAX_NODES, BLOCKING_STATUSES } from './core/types.js';
|
|
25
|
+
export type { ActivityBarScope, AncestorChainResult, CurrentFileSlice, IdeaWithRange, OutlineNode, ReferenceListRow, ReqlanContextModel, ContextAnomaly, ContextDimensionContribution, ContextDimensionId, ContextFileEntry, ContextFocus, ContextFootprint, GitAuthorRollup, GitContextSlice, GitFocusStats, GitFocusCommit, GitPeerChangeRate, WorkspaceContextSlice } from './core/types.js';
|
|
26
|
+
export type { ContextFileLensDetail, ContextReferencesSlice, ContextSelection } from './core/context-model.js';
|
|
27
|
+
export { CONTEXT_DIMENSION_LABELS, CONTEXT_DIMENSION_WEIGHTS, CONTEXT_GRAPH_SEARCH_DIMENSIONS, DEFAULT_ENABLED_DIMENSIONS } from './core/context-model.js';
|
|
28
|
+
export { buildAiReadiness, buildContextFingerprint, buildFocusSignals, CONTEXT_FINGERPRINT_AXIS_HELP, CONTEXT_FINGERPRINT_HELP, emptyContextSignals, emptyContextSynthesis, fingerprintAxisTooltip, formatAiReadinessMarkdown, formatFingerprintMarkdown, formatSynthesisMarkdown, hopDistancesFromCenter, hotspotBandFromRisk, hotspotBorderColor, hotspotBorderWidth, impactOpacityForHopDistance, requirementCardCue, synthesizeFocusContext, thinChurnIntensity, timelineMilestones } from './core/context-signals.js';
|
|
29
|
+
export type { AiReadiness, ContextCoverageLevel, ContextFingerprintAxes, ContextHotspotBand, ContextRiskLevel, ContextSignals, ContextSynthesis, DevelopmentHistorySignals, FocusSignalInput, LifecycleSignals, QualitySignals, RelationshipSignals, RiskSignals } from './core/context-signals.js';
|
|
30
|
+
export { resolveBidirectionalIdeaReferences } from './core/idea-references.js';
|
|
31
|
+
export type { IdeaReferenceStore } from './core/idea-references.js';
|
|
32
|
+
export * from './core/types.js';
|
|
33
|
+
export { HeadlessIndexService } from './headless-index-service.js';
|
|
34
|
+
export { activateAnalysisRuntime, createAnalysisRuntime, deactivateAnalysisRuntime } from './create-runtime.js';
|
|
35
|
+
export type { AnalysisRuntime, AnalysisRuntimeOptions } from './create-runtime.js';
|
|
36
|
+
export { AnalysisApi } from './analysis-api.js';
|
|
37
|
+
export type { InteractionDescriptor, RequirementMatch } from './analysis-api.js';
|
|
38
|
+
export { buildExportSnapshot } from './export/build-export-snapshot.js';
|
|
39
|
+
export { writeHtmlExport } from './export/write-html-export.js';
|
|
40
|
+
export type { ExportCounts, ExportFormat, ExportRequest, ExportResult, ExportScope, ExportSnapshot } from './export/types.js';
|
package/out/index.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { createAnalyticalStore } from './core/analytical-store.js';
|
|
2
|
+
export { toIndexErrorDetail, toFileIndexIssueView, errorCauseMessage } from './core/index-error.js';
|
|
3
|
+
export { normalizeIndexedDocument, resolveWorkspaceFileUri, toWorkspaceRelativePath } from './core/workspace-paths.js';
|
|
4
|
+
export { resolveReferencedFilePath } from './core/file-reference-resolve.js';
|
|
5
|
+
export { AnalyserRegistry } from './analysis/analyser-registry.js';
|
|
6
|
+
export { listAllIdeasAnalyser } from './analysis/list-ideas-analyser.js';
|
|
7
|
+
export { fileRelatedAnalyser } from './analysis/file-related-analyser.js';
|
|
8
|
+
export { deprecationImpactAnalyser } from './analysis/deprecation-impact-analyser.js';
|
|
9
|
+
export { gitDatesAnalyser } from './analysis/git-dates-analyser.js';
|
|
10
|
+
export { completionTrackingAnalyser } from './analysis/completion-tracking-analyser.js';
|
|
11
|
+
export { localGraphAnalyser } from './analysis/local-graph-analyser.js';
|
|
12
|
+
export { semanticSearchAnalyser } from './analysis/semantic-search-analyser.js';
|
|
13
|
+
export { extractIndexedDocument } from './index-store/idea-extractor.js';
|
|
14
|
+
export { SqliteIndexStore } from './index-store/sqlite-store.js';
|
|
15
|
+
export { attributeKeyFromChipItem, attributeJsonPath, formatAttributeValue } from './index-store/webview-table-queries.js';
|
|
16
|
+
export { GRAPH_MAX_NODES, GRAPH_NODES_HARD_CAP, GRAPH_TRUNCATION_BASIS_OPTIONS, buildGraphFilterWhereClause, buildGraphTruncationOrderClause, buildGraphViewSlice, toGraphNodeView, CONTEXT_MIN_HOP_DEPTH, CONTEXT_MAX_HOP_DEPTH, clampGraphHopDepth } from './index-store/webview-graph-queries.js';
|
|
17
|
+
export { ACTIVITY_BAR_MAX_NODES, BLOCKING_STATUSES } from './core/types.js';
|
|
18
|
+
export { CONTEXT_DIMENSION_LABELS, CONTEXT_DIMENSION_WEIGHTS, CONTEXT_GRAPH_SEARCH_DIMENSIONS, DEFAULT_ENABLED_DIMENSIONS } from './core/context-model.js';
|
|
19
|
+
export { buildAiReadiness, buildContextFingerprint, buildFocusSignals, CONTEXT_FINGERPRINT_AXIS_HELP, CONTEXT_FINGERPRINT_HELP, emptyContextSignals, emptyContextSynthesis, fingerprintAxisTooltip, formatAiReadinessMarkdown, formatFingerprintMarkdown, formatSynthesisMarkdown, hopDistancesFromCenter, hotspotBandFromRisk, hotspotBorderColor, hotspotBorderWidth, impactOpacityForHopDistance, requirementCardCue, synthesizeFocusContext, thinChurnIntensity, timelineMilestones } from './core/context-signals.js';
|
|
20
|
+
export { resolveBidirectionalIdeaReferences } from './core/idea-references.js';
|
|
21
|
+
export * from './core/types.js';
|
|
22
|
+
export { HeadlessIndexService } from './headless-index-service.js';
|
|
23
|
+
export { activateAnalysisRuntime, createAnalysisRuntime, deactivateAnalysisRuntime } from './create-runtime.js';
|
|
24
|
+
export { AnalysisApi } from './analysis-api.js';
|
|
25
|
+
export { buildExportSnapshot } from './export/build-export-snapshot.js';
|
|
26
|
+
export { writeHtmlExport } from './export/write-html-export.js';
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
package/out/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAcnE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEpG,OAAO,EACH,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,y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AA6B,CAAC;AACnE,OAAO,EACH,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@reqlan/analytical",
|
|
3
|
+
"description": "Shared requirement graph index and analysers for reqlan",
|
|
4
|
+
"version": "0.4.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "AGPL-3.0-only",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/littletuna4/reqlan.git"
|
|
10
|
+
},
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=20.10.0"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"out"
|
|
16
|
+
],
|
|
17
|
+
"main": "./out/index.js",
|
|
18
|
+
"types": "./out/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./out/index.d.ts",
|
|
26
|
+
"default": "./out/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./context-model": {
|
|
29
|
+
"types": "./out/core/context-model.d.ts",
|
|
30
|
+
"default": "./out/core/context-model.js"
|
|
31
|
+
},
|
|
32
|
+
"./context-signals": {
|
|
33
|
+
"types": "./out/core/context-signals.d.ts",
|
|
34
|
+
"default": "./out/core/context-signals.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"vitest": "~3.1.3"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"langium": "~4.3.0",
|
|
42
|
+
"sql.js": "^1.14.1",
|
|
43
|
+
"zustand": "~5.0.8",
|
|
44
|
+
"@reqlan/language": "1.4.0"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"clean": "shx rm -fr *.tsbuildinfo out",
|
|
48
|
+
"build": "tsc -b tsconfig.json",
|
|
49
|
+
"build:clean": "pnpm run clean && pnpm run build",
|
|
50
|
+
"test": "vitest run"
|
|
51
|
+
}
|
|
52
|
+
}
|