@okfit/core 0.12.0 → 0.12.1
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/Bundle.js +3 -3
- package/Concept.js +1 -1
- package/Validate.js +1 -1
- package/index.js +9 -9
- package/internal/conceptDecode.js +2 -2
- package/internal/frontmatter.js +1 -1
- package/internal/lintRules.js +1 -1
- package/package.json +11 -11
- package/tsdoc-metadata.json +1 -1
package/Bundle.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Concept } from "./Concept.js";
|
|
2
|
-
import { basename, dirname } from "./internal/posixPath.js";
|
|
3
2
|
import { ConceptId } from "./ConceptId.js";
|
|
4
|
-
import { toFileOffset } from "./internal/position.js";
|
|
5
3
|
import { Diagnostic, DiagnosticRange } from "./Diagnostic.js";
|
|
6
4
|
import { IndexDocument } from "./IndexDocument.js";
|
|
7
5
|
import { detectFence } from "./internal/fence.js";
|
|
8
6
|
import { decodeConcept } from "./internal/frontmatter.js";
|
|
9
|
-
import {
|
|
7
|
+
import { toFileOffset } from "./internal/position.js";
|
|
8
|
+
import { basename, dirname } from "./internal/posixPath.js";
|
|
10
9
|
import { OPTIONS, parseIndex, parseLog } from "./internal/reserved.js";
|
|
11
10
|
import { DEFAULT_PRUNE, walk } from "./internal/walk.js";
|
|
11
|
+
import { LogDocument } from "./LogDocument.js";
|
|
12
12
|
import { Effect, FileSystem, Option, Path, Result, Schema } from "effect";
|
|
13
13
|
import { FrontmatterDecodeError, MarkdownDocument, YamlFrontmatter } from "@effected/markdown";
|
|
14
14
|
import { DescendError } from "@effected/walker";
|
package/Concept.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AttestedComputation } from "./AttestedComputation.js";
|
|
2
|
-
import { Timestamp } from "./Timestamp.js";
|
|
3
2
|
import { Generated } from "./Generated.js";
|
|
4
3
|
import { Integrity } from "./Integrity.js";
|
|
5
4
|
import { Source, UsageWindow } from "./Source.js";
|
|
6
5
|
import { Status } from "./Status.js";
|
|
6
|
+
import { Timestamp } from "./Timestamp.js";
|
|
7
7
|
import { Verification } from "./Verification.js";
|
|
8
8
|
import { Schema } from "effect";
|
|
9
9
|
|
package/Validate.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Diagnostic, LintCode } from "./Diagnostic.js";
|
|
2
2
|
import { Graph as Graph$1 } from "./Graph.js";
|
|
3
|
-
import { OkfitConfig } from "./OkfitConfig.js";
|
|
4
3
|
import { LINT_RULES } from "./internal/lintRules.js";
|
|
4
|
+
import { OkfitConfig } from "./OkfitConfig.js";
|
|
5
5
|
import { Schema } from "effect";
|
|
6
6
|
|
|
7
7
|
// src/Validate.ts
|
package/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Actor, ActorPattern } from "./Actor.js";
|
|
2
2
|
import { AttestedComputation, ComputationAttester, ComputationExecutor, ComputationParameter } from "./AttestedComputation.js";
|
|
3
|
-
import {
|
|
4
|
-
import { Generated } from "./Generated.js";
|
|
5
|
-
import { Digest, Integrity, IntegrityGenerated, IntegrityVerified } from "./Integrity.js";
|
|
6
|
-
import { Source, UsageWindow } from "./Source.js";
|
|
7
|
-
import { Status } from "./Status.js";
|
|
8
|
-
import { Verification } from "./Verification.js";
|
|
3
|
+
import { Bundle, BundleDepthExceededError, BundleReadError, BundleRootNotFoundError, LoadedBundle, LoadedConcept } from "./Bundle.js";
|
|
9
4
|
import { ATTESTED_COMPUTATION_TYPE, Concept } from "./Concept.js";
|
|
10
5
|
import { ConceptId } from "./ConceptId.js";
|
|
6
|
+
import { Derive, Staleness, TrustTier } from "./Derive.js";
|
|
11
7
|
import { ConformanceCode, Diagnostic, DiagnosticCode, DiagnosticRange, DiagnosticSeverity, LintCode } from "./Diagnostic.js";
|
|
8
|
+
import { Generated } from "./Generated.js";
|
|
9
|
+
import { Graph, GraphNodeKind, LinkGraph } from "./Graph.js";
|
|
12
10
|
import { IndexDocument, IndexEntry, IndexSection } from "./IndexDocument.js";
|
|
11
|
+
import { Digest, Integrity, IntegrityGenerated, IntegrityVerified } from "./Integrity.js";
|
|
13
12
|
import { LogDocument, LogGroup, LogItem } from "./LogDocument.js";
|
|
14
|
-
import { Bundle, BundleDepthExceededError, BundleReadError, BundleRootNotFoundError, LoadedBundle, LoadedConcept } from "./Bundle.js";
|
|
15
|
-
import { Derive, Staleness, TrustTier } from "./Derive.js";
|
|
16
|
-
import { Graph, GraphNodeKind, LinkGraph } from "./Graph.js";
|
|
17
13
|
import { CONFIG_SCHEMA_VERSION, FieldDeclaration, LintLevel, LintTable, OkfitConfig, OkfitConfigFile, SCHEMA_DIRECTIVE, StaleAfterDuration, TagDeclaration, TypeDeclaration, okfitConfigDocumentFields, okfitConfigSchemaHost } from "./OkfitConfig.js";
|
|
14
|
+
import { Source, UsageWindow } from "./Source.js";
|
|
15
|
+
import { Status } from "./Status.js";
|
|
16
|
+
import { Timestamp } from "./Timestamp.js";
|
|
18
17
|
import { Validate } from "./Validate.js";
|
|
18
|
+
import { Verification } from "./Verification.js";
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AttestedComputation } from "../AttestedComputation.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ATTESTED_COMPUTATION_TYPE, Concept } from "../Concept.js";
|
|
3
3
|
import { Generated } from "../Generated.js";
|
|
4
4
|
import { Integrity } from "../Integrity.js";
|
|
5
5
|
import { Source, UsageWindow } from "../Source.js";
|
|
6
6
|
import { Status } from "../Status.js";
|
|
7
|
+
import { Timestamp } from "../Timestamp.js";
|
|
7
8
|
import { Verification } from "../Verification.js";
|
|
8
|
-
import { ATTESTED_COMPUTATION_TYPE, Concept } from "../Concept.js";
|
|
9
9
|
import { Result, Schema, SchemaIssue } from "effect";
|
|
10
10
|
|
|
11
11
|
// src/internal/conceptDecode.ts
|
package/internal/frontmatter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { frontmatterPathSpan } from "./yamlPathSpan.js";
|
|
2
1
|
import { Diagnostic, DiagnosticRange } from "../Diagnostic.js";
|
|
3
2
|
import { decodeConcept as decodeConcept$1 } from "./conceptDecode.js";
|
|
3
|
+
import { frontmatterPathSpan } from "./yamlPathSpan.js";
|
|
4
4
|
import { Option } from "effect";
|
|
5
5
|
|
|
6
6
|
// src/internal/frontmatter.ts
|
package/internal/lintRules.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Actor } from "../Actor.js";
|
|
2
|
+
import { Derive } from "../Derive.js";
|
|
2
3
|
import { Diagnostic, DiagnosticRange } from "../Diagnostic.js";
|
|
3
4
|
import { frontmatterPathRange } from "./frontmatter.js";
|
|
4
|
-
import { Derive } from "../Derive.js";
|
|
5
5
|
import { DateTime, Option } from "effect";
|
|
6
6
|
|
|
7
7
|
// src/internal/lintRules.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/core",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Spec-level Open Knowledge Format (OKF) v0.2 schemas, bundle loading, graph, derivation, and validation for Effect.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@effected/config-file": "^0.
|
|
41
|
-
"@effected/glob": "^0.
|
|
42
|
-
"@effected/jsonc": "^0.
|
|
43
|
-
"@effected/markdown": "^0.
|
|
44
|
-
"@effected/schemastore": "^0.
|
|
45
|
-
"@effected/source": "^0.
|
|
46
|
-
"@effected/toml": "^0.
|
|
47
|
-
"@effected/walker": "^0.
|
|
48
|
-
"@effected/yaml": "^0.
|
|
49
|
-
"effect": "~4.1.
|
|
40
|
+
"@effected/config-file": "^0.24.0",
|
|
41
|
+
"@effected/glob": "^0.18.0",
|
|
42
|
+
"@effected/jsonc": "^0.23.0",
|
|
43
|
+
"@effected/markdown": "^0.26.0",
|
|
44
|
+
"@effected/schemastore": "^0.29.0",
|
|
45
|
+
"@effected/source": "^0.3.0",
|
|
46
|
+
"@effected/toml": "^0.19.0",
|
|
47
|
+
"@effected/walker": "^0.25.0",
|
|
48
|
+
"@effected/yaml": "^0.28.0",
|
|
49
|
+
"effect": "~4.1.2"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=24.11.0"
|