@kortexya/reasoninglayer 1.7.0 → 1.7.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/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -109,7 +109,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
109
109
|
* This is the single source of truth for the version constant.
|
|
110
110
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
111
111
|
*/
|
|
112
|
-
declare const SDK_VERSION = "1.7.
|
|
112
|
+
declare const SDK_VERSION = "1.7.1";
|
|
113
113
|
/**
|
|
114
114
|
* Authentication mode for the SDK.
|
|
115
115
|
*
|
|
@@ -13754,6 +13754,10 @@ interface ProofDto$1 {
|
|
|
13754
13754
|
certainty: number;
|
|
13755
13755
|
/** @format uuid */
|
|
13756
13756
|
goal_term_id: string;
|
|
13757
|
+
/** Human-readable rendering of the proven goal (the conclusion). */
|
|
13758
|
+
goal_display?: string;
|
|
13759
|
+
/** Human-readable rendering of the rule applied (None for a fact). */
|
|
13760
|
+
rule_label?: string;
|
|
13757
13761
|
/** @format uuid */
|
|
13758
13762
|
rule_term_id?: string;
|
|
13759
13763
|
/** Child proof nodes (recursive) */
|
|
@@ -22636,6 +22640,17 @@ interface ProofDto {
|
|
|
22636
22640
|
goalTermId: string;
|
|
22637
22641
|
/** The rule term ID used to prove this goal. */
|
|
22638
22642
|
ruleTermId?: string;
|
|
22643
|
+
/**
|
|
22644
|
+
* Human-readable rendering of the goal proven at this step — the conclusion,
|
|
22645
|
+
* e.g. `iam_permission(action: "view_file", object: "design.pdf", subject: "alice")`.
|
|
22646
|
+
* Lets a client render a readable proof tree without resolving term IDs.
|
|
22647
|
+
*/
|
|
22648
|
+
goalDisplay?: string;
|
|
22649
|
+
/**
|
|
22650
|
+
* Human-readable rendering of the rule applied at this step (its head Ψ-term).
|
|
22651
|
+
* Absent for a stored fact / axiom (no rule was applied).
|
|
22652
|
+
*/
|
|
22653
|
+
ruleLabel?: string;
|
|
22639
22654
|
/** The substitution applied at this proof step. */
|
|
22640
22655
|
substitution: HomoiconicSubstitutionDto;
|
|
22641
22656
|
/** Sub-proofs for intermediate goals. */
|
package/dist/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
109
109
|
* This is the single source of truth for the version constant.
|
|
110
110
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
111
111
|
*/
|
|
112
|
-
declare const SDK_VERSION = "1.7.
|
|
112
|
+
declare const SDK_VERSION = "1.7.1";
|
|
113
113
|
/**
|
|
114
114
|
* Authentication mode for the SDK.
|
|
115
115
|
*
|
|
@@ -13754,6 +13754,10 @@ interface ProofDto$1 {
|
|
|
13754
13754
|
certainty: number;
|
|
13755
13755
|
/** @format uuid */
|
|
13756
13756
|
goal_term_id: string;
|
|
13757
|
+
/** Human-readable rendering of the proven goal (the conclusion). */
|
|
13758
|
+
goal_display?: string;
|
|
13759
|
+
/** Human-readable rendering of the rule applied (None for a fact). */
|
|
13760
|
+
rule_label?: string;
|
|
13757
13761
|
/** @format uuid */
|
|
13758
13762
|
rule_term_id?: string;
|
|
13759
13763
|
/** Child proof nodes (recursive) */
|
|
@@ -22636,6 +22640,17 @@ interface ProofDto {
|
|
|
22636
22640
|
goalTermId: string;
|
|
22637
22641
|
/** The rule term ID used to prove this goal. */
|
|
22638
22642
|
ruleTermId?: string;
|
|
22643
|
+
/**
|
|
22644
|
+
* Human-readable rendering of the goal proven at this step — the conclusion,
|
|
22645
|
+
* e.g. `iam_permission(action: "view_file", object: "design.pdf", subject: "alice")`.
|
|
22646
|
+
* Lets a client render a readable proof tree without resolving term IDs.
|
|
22647
|
+
*/
|
|
22648
|
+
goalDisplay?: string;
|
|
22649
|
+
/**
|
|
22650
|
+
* Human-readable rendering of the rule applied at this step (its head Ψ-term).
|
|
22651
|
+
* Absent for a stored fact / axiom (no rule was applied).
|
|
22652
|
+
*/
|
|
22653
|
+
ruleLabel?: string;
|
|
22639
22654
|
/** The substitution applied at this proof step. */
|
|
22640
22655
|
substitution: HomoiconicSubstitutionDto;
|
|
22641
22656
|
/** Sub-proofs for intermediate goals. */
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
// src/config.ts
|
|
8
|
-
var SDK_VERSION = "1.7.
|
|
8
|
+
var SDK_VERSION = "1.7.1";
|
|
9
9
|
function resolveConfig(config) {
|
|
10
10
|
if (!config.baseUrl) {
|
|
11
11
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -10245,6 +10245,8 @@ function ProofDtoFromApiToFront(dto) {
|
|
|
10245
10245
|
return {
|
|
10246
10246
|
goalTermId: dto.goal_term_id,
|
|
10247
10247
|
ruleTermId: dto.rule_term_id,
|
|
10248
|
+
goalDisplay: dto.goal_display,
|
|
10249
|
+
ruleLabel: dto.rule_label,
|
|
10248
10250
|
substitution: HomoiconicSubstitutionDtoFromApiToFront(dto.substitution),
|
|
10249
10251
|
subproofs: dto.subproofs?.map(ProofDtoFromApiToFront),
|
|
10250
10252
|
certainty: dto.certainty
|