@0xsarwagya/ontoly-core 0.1.0-alpha.2 → 1.0.0-rc.3
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/README.md +24 -3
- package/dist/index.js +849 -54
- package/dist/index.js.map +1 -1
- package/dist/semantic-index.d.ts +1 -1
- package/dist/semantic-index.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# @0xsarwagya/ontoly-core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Responsibility
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
`@0xsarwagya/ontoly-core` is the innermost package. It owns Software Graph
|
|
6
|
+
contracts, stable IDs, graph helpers, graph validation primitives, and shared
|
|
7
|
+
graph/index data structures. It does not discover repositories, parse source,
|
|
8
|
+
run the compiler pipeline, expose transport, or render artifacts.
|
|
9
|
+
|
|
10
|
+
See the repository [architecture map](../../ARCHITECTURE.md) for package
|
|
11
|
+
boundaries.
|
|
6
12
|
|
|
7
13
|
## Installation
|
|
8
14
|
|
|
@@ -10,9 +16,24 @@ This package is part of [Ontoly](https://github.com/0xsarwagya/ontoly), a TypeSc
|
|
|
10
16
|
pnpm add @0xsarwagya/ontoly-core
|
|
11
17
|
```
|
|
12
18
|
|
|
19
|
+
## API
|
|
20
|
+
|
|
21
|
+
- Software Graph node, edge, diagnostic, metadata, and index types.
|
|
22
|
+
- Stable ID helpers and graph utility functions.
|
|
23
|
+
- Semantic Index primitives shared by CLI, capabilities, and validation.
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import { createNodeId, createSemanticIndex } from "@0xsarwagya/ontoly-core";
|
|
29
|
+
|
|
30
|
+
const id = createNodeId("Function", "src/auth.ts", "login");
|
|
31
|
+
const index = createSemanticIndex(graph);
|
|
32
|
+
```
|
|
33
|
+
|
|
13
34
|
## Status
|
|
14
35
|
|
|
15
|
-
|
|
36
|
+
Release Candidate package for Ontoly v1.0.0-rc.3. Public contracts are governed by the Software Graph specification and RFC process.
|
|
16
37
|
|
|
17
38
|
## Links
|
|
18
39
|
|