@0xsarwagya/ontoly-core 0.1.0-alpha.19 → 1.0.0-rc.2
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 +17 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# @0xsarwagya/ontoly-core
|
|
2
2
|
|
|
3
|
-
Software Graph schema, stable IDs, indexes, and graph helpers for Ontoly.
|
|
4
|
-
|
|
5
|
-
This package is part of [Ontoly](https://github.com/0xsarwagya/ontoly), a TypeScript-native software intelligence engine that builds a deterministic Software Graph.
|
|
6
|
-
|
|
7
3
|
## Responsibility
|
|
8
4
|
|
|
9
5
|
`@0xsarwagya/ontoly-core` is the innermost package. It owns Software Graph
|
|
@@ -20,12 +16,27 @@ boundaries.
|
|
|
20
16
|
pnpm add @0xsarwagya/ontoly-core
|
|
21
17
|
```
|
|
22
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
|
+
|
|
23
34
|
## Status
|
|
24
35
|
|
|
25
|
-
|
|
36
|
+
Release Candidate package for Ontoly v1.0.0-rc.2. Public contracts are governed by the Software Graph specification and RFC process.
|
|
26
37
|
|
|
27
38
|
## Links
|
|
28
39
|
|
|
29
40
|
- [Repository](https://github.com/0xsarwagya/ontoly)
|
|
30
|
-
- [Documentation](https://
|
|
41
|
+
- [Documentation](https://oss.sarwagya.wtf/ontoly)
|
|
31
42
|
- [Issues](https://github.com/0xsarwagya/ontoly/issues)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsarwagya/ontoly-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0-rc.2",
|
|
4
4
|
"description": "Software Graph schema, stable IDs, indexes, and graph helpers for Ontoly.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/0xsarwagya/ontoly.git",
|
|
10
10
|
"directory": "packages/core"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://oss.sarwagya.wtf/ontoly",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"url": "https://github.com/sponsors/0xsarwagya"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
43
|
-
"pnpm": ">=
|
|
42
|
+
"node": ">=20.0.0",
|
|
43
|
+
"pnpm": ">=10.0.0"
|
|
44
44
|
},
|
|
45
45
|
"main": "./dist/index.js",
|
|
46
46
|
"types": "./dist/index.d.ts",
|