@company-semantics/contracts 0.18.0 → 0.19.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/package.json +2 -1
- package/src/system/diagram.ts +14 -0
- package/src/system/index.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@company-semantics/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"guard:version-tag:json": "npx tsx scripts/ci/version-tag-guard.ts --json",
|
|
47
47
|
"guard:test": "vitest run scripts/ci/__tests__",
|
|
48
48
|
"release": "npx tsx scripts/release.ts",
|
|
49
|
+
"prepublishOnly": "pnpm guard:version-tag",
|
|
49
50
|
"test": "vitest run scripts/ci/__tests__"
|
|
50
51
|
},
|
|
51
52
|
"packageManager": "pnpm@10.25.0",
|
package/src/system/diagram.ts
CHANGED
|
@@ -88,6 +88,20 @@ export type FlowStage =
|
|
|
88
88
|
| 'evaluation' // EVALUATION, GUIDANCE, & AGENTS (MCP)
|
|
89
89
|
| 'governance' // CI / GOVERNANCE
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* Data lifecycle phase for coloring/filtering.
|
|
93
|
+
* Secondary annotation — does not affect layout.
|
|
94
|
+
*
|
|
95
|
+
* v0.19.0: New type for pipeline visualization
|
|
96
|
+
*/
|
|
97
|
+
export type PipelinePhase =
|
|
98
|
+
| 'source' // External data origin
|
|
99
|
+
| 'ingest' // Data collection and intake
|
|
100
|
+
| 'normalize' // Schema alignment and transformation
|
|
101
|
+
| 'evaluate' // Analysis and decision-making
|
|
102
|
+
| 'store' // Persistence and retrieval
|
|
103
|
+
| 'surface' // Presentation and delivery
|
|
104
|
+
|
|
91
105
|
/**
|
|
92
106
|
* Diagram projection modes.
|
|
93
107
|
* One graph, filtered by mode.
|
package/src/system/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* System Diagram Types (v0.
|
|
2
|
+
* System Diagram Types (v0.19.0)
|
|
3
3
|
*
|
|
4
4
|
* Schema for the system diagram feature.
|
|
5
5
|
* These types define the contract between:
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* - Site displays interactive React Flow diagram
|
|
12
12
|
* - Snapshots pushed via CI automation
|
|
13
13
|
*
|
|
14
|
+
* v0.19.0: PipelinePhase annotation for data lifecycle visualization
|
|
14
15
|
* v0.18.0: Semantic architecture diagram transformation
|
|
15
16
|
* - Edge semantics (invokes, emits, authorizes, reads)
|
|
16
17
|
* - FlowStage for architecture layers
|
|
@@ -72,6 +73,7 @@ export type {
|
|
|
72
73
|
DiagramEdgeRelation,
|
|
73
74
|
EdgeDirection,
|
|
74
75
|
FlowStage,
|
|
76
|
+
PipelinePhase,
|
|
75
77
|
DiagramMode,
|
|
76
78
|
DiagramNode,
|
|
77
79
|
DiagramEdge,
|