@semiont/core 0.5.21 → 0.5.22
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/config/node-config-loader.d.ts +22 -3
- package/dist/config/node-config-loader.js +62 -15
- package/dist/config/node-config-loader.js.map +1 -1
- package/dist/index.d.ts +32 -8
- package/dist/index.js +26 -16
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +4 -2
- package/package.json +1 -1
package/dist/testing.d.ts
CHANGED
|
@@ -671,8 +671,8 @@ interface components {
|
|
|
671
671
|
placement: "local" | "codespace";
|
|
672
672
|
/** @description owner/name GitHub slug — present for codespace placements, where the repo is the stack's identity */
|
|
673
673
|
repo?: string;
|
|
674
|
-
/** @description The KB's did:web identifier
|
|
675
|
-
did
|
|
674
|
+
/** @description The KB's did:web identifier, from its committed .semiont/config — "did:web:" + the [site] domain, verbatim. REQUIRED: a KB that declares no domain has no identity to publish, and the launcher refuses to start it rather than inventing or defaulting one. NOT unique within a document: a did names the knowledge base, not a running copy of it, so a local clone and a codespace of the same repo legitimately share one and both are published. host:port is the unique field (at most one entry per address), so consumers look up by ADDRESS and use the did to VERIFY that the copy they reached is the KB they meant — an address alone cannot say which KB is which, and an identity alone cannot say which copy. */
|
|
675
|
+
did: string;
|
|
676
676
|
/** @description Human-readable site name from the KB's .semiont/config, for display */
|
|
677
677
|
siteName?: string;
|
|
678
678
|
/** @description The agent that owns this entry's lifecycle (the launcher writes "semiont-launcher"). Consumers treat managed entries as authoritative for themselves — upsert on appearance, remove on disappearance — and never touch entries they did not write. */
|
|
@@ -1679,6 +1679,8 @@ interface components {
|
|
|
1679
1679
|
projectName?: string;
|
|
1680
1680
|
/** @description Current git branch of the knowledge base repository */
|
|
1681
1681
|
gitBranch?: string;
|
|
1682
|
+
/** @description The knowledge base's did:web identity — 'did:web:' + the committed [site] domain, byte-identical to the string the launcher publishes in its discovery document. REQUIRED: a KB that declares no domain does not run (the launcher refuses to start it, and the backend refuses to boot), so a response without this field means the caller reached something that bypassed both. Identifies WHICH knowledge base this is; it does NOT identify which running copy — one KB reachable at two addresses (a local clone and a codespace of one repo) reports the same did at both. Use it to verify what you connected to, not to select among discovered entries. */
|
|
1683
|
+
did: string;
|
|
1682
1684
|
};
|
|
1683
1685
|
/** @description A persisted domain event with metadata. Flat shape — event fields and metadata are peers. */
|
|
1684
1686
|
StoredEventResponse: {
|