@h-rig/core 0.0.6-alpha.155 → 0.0.6-alpha.156

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/core",
3
- "version": "0.0.6-alpha.155",
3
+ "version": "0.0.6-alpha.156",
4
4
  "type": "module",
5
5
  "description": "Config and plugin composition library for Rig's OMP extension ecosystem; not a product host/runtime.",
6
6
  "license": "UNLICENSED",
@@ -21,25 +21,13 @@
21
21
  "types": "./dist/src/config.d.ts",
22
22
  "import": "./dist/src/config.js"
23
23
  },
24
- "./task-graph": {
25
- "types": "./dist/src/taskGraph.d.ts",
26
- "import": "./dist/src/taskGraph.js"
24
+ "./project-plugins": {
25
+ "types": "./dist/src/project-plugins.d.ts",
26
+ "import": "./dist/src/project-plugins.js"
27
27
  },
28
- "./stage-resolve": {
29
- "types": "./dist/src/stageResolve.d.ts",
30
- "import": "./dist/src/stageResolve.js"
31
- },
32
- "./task-score": {
33
- "types": "./dist/src/taskScore.d.ts",
34
- "import": "./dist/src/taskScore.js"
35
- },
36
- "./dependency-graph": {
37
- "types": "./dist/src/dependencyGraph.d.ts",
38
- "import": "./dist/src/dependencyGraph.js"
39
- },
40
- "./rollups": {
41
- "types": "./dist/src/rollups.d.ts",
42
- "import": "./dist/src/rollups.js"
28
+ "./task-io": {
29
+ "types": "./dist/src/task-io.d.ts",
30
+ "import": "./dist/src/task-io.js"
43
31
  }
44
32
  },
45
33
  "engines": {
@@ -49,7 +37,7 @@
49
37
  "module": "./dist/src/index.js",
50
38
  "types": "./dist/src/index.d.ts",
51
39
  "dependencies": {
52
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.155",
40
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.156",
53
41
  "effect": "4.0.0-beta.90"
54
42
  }
55
43
  }
@@ -1,43 +0,0 @@
1
- import type { DependencyEdge as ContractDependencyEdge, DependencyNode as ContractDependencyNode, EngineReadModel, TaskSummary } from "@rig/contracts";
2
- import { type TaskGraphLayout } from "./taskGraphLayout";
3
- export type DependencyEdgeType = ContractDependencyEdge["type"];
4
- export interface DependencyEdge {
5
- readonly fromTaskId: string;
6
- readonly toTaskId: string;
7
- readonly type: DependencyEdgeType;
8
- }
9
- export interface DependencyNode {
10
- readonly taskId: string;
11
- readonly title: string;
12
- readonly status: ContractDependencyNode["status"];
13
- readonly priority: ContractDependencyNode["priority"];
14
- readonly assignee: string | null;
15
- readonly blockedBy: readonly string[];
16
- readonly blocks: readonly string[];
17
- readonly blockingDepth: number;
18
- readonly blockerClass: null;
19
- readonly actionRiskTier: null;
20
- readonly epicKey: string | null;
21
- readonly groupKey?: string | null;
22
- readonly externalId?: string | null;
23
- readonly sourceIssueId?: string | null;
24
- readonly scope?: readonly string[];
25
- readonly validationKeys?: readonly string[];
26
- }
27
- export interface DependencyGraphModel {
28
- readonly graphId: string;
29
- readonly nodes: readonly DependencyNode[];
30
- readonly edges: readonly DependencyEdge[];
31
- readonly layout: TaskGraphLayout;
32
- readonly cycles: readonly (readonly string[])[];
33
- readonly unresolvedRefs: readonly string[];
34
- readonly degraded: boolean;
35
- readonly generatedAt: string;
36
- }
37
- export interface BuildDependencyGraphModelOptions {
38
- readonly snapshot?: EngineReadModel | null;
39
- readonly generatedAt?: string;
40
- readonly graphId?: string;
41
- readonly showParentChild?: boolean;
42
- }
43
- export declare function buildDependencyGraphModel(tasks: readonly TaskSummary[], options?: BuildDependencyGraphModelOptions): DependencyGraphModel;