@miadi/relational-git-repository-mapper 0.3.0 → 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/dist/types.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import type { FeatureFacet, LifecycleReading, RelationRow, RepositoryFacet } from "@medicine-wheel/developer-repository-mapping";
2
2
  import type { HubStatus } from "@medicine-wheel/developer-repository-mapping/node";
3
+ import type { CapabilityFacet } from "@medicine-wheel/capabilities";
4
+ import type { CapabilityKind } from "./capabilities";
3
5
  import type { RepositoryLineage } from "./lineage";
4
6
  /** One session that worked in a repository, as its inventory record says it, by title. */
5
7
  export interface RepositorySession {
@@ -58,6 +60,10 @@ export interface RepositoryView {
58
60
  sessions: RepositorySession[];
59
61
  /** what it learned from, and who learned from it */
60
62
  lineage: RepositoryLineage;
63
+ /** what it provides: its packages, CLIs and skills */
64
+ capabilities: (CapabilityFacet & {
65
+ kind?: CapabilityKind;
66
+ })[];
61
67
  }
62
68
  export interface RepositorySummary {
63
69
  nodeId: string;
@@ -67,6 +73,8 @@ export interface RepositorySummary {
67
73
  lifecycle?: string;
68
74
  drift?: string;
69
75
  sessions: number;
76
+ /** how many capabilities it provides */
77
+ capabilities: number;
70
78
  /** the newest session's date */
71
79
  last_session?: string;
72
80
  /** distinct teams of its sessions, sorted */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@miadi/relational-git-repository-mapper",
3
- "version": "0.3.0",
4
- "description": "A git repository as Miadi sees it (git, never a database Repository or Data Mapper): the rows its owner hub holds (@medicine-wheel/developer-repository-mapping) beside the agent sessions that worked in it (the witness team's session inventory), joined by owner/name; and which git repository learned from which (a lineage, never a dependency).",
3
+ "version": "0.4.0",
4
+ "description": "A git repository as Miadi sees it (git, never a database Repository or Data Mapper): the rows its owner hub holds (@medicine-wheel/developer-repository-mapping) beside the agent sessions that worked in it (the witness team's session inventory), joined by owner/name; which git repository learned from which (a lineage, never a dependency); and what each provides, its packages, CLIs and skills as capability nodes.",
5
5
  "license": "MIT",
6
6
  "author": "Miadi",
7
7
  "homepage": "https://github.com/jgwill/Miadi/tree/main/packages/relational-git-repository-mapper",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@medicine-wheel/capabilities": "^0.25.0",
32
32
  "@medicine-wheel/developer-repository-mapping": "^0.25.0",
33
- "@miadi/hooks-interpreter": "^0.7.0",
33
+ "@miadi/hooks-interpreter": "^0.8.0",
34
34
  "zod": "^3.23.0"
35
35
  },
36
36
  "devDependencies": {
@@ -47,6 +47,7 @@
47
47
  "miadi",
48
48
  "git-repository",
49
49
  "lineage",
50
+ "capabilities",
50
51
  "repository-mapping",
51
52
  "session-inventory",
52
53
  "medicine-wheel",