@lucern/sdk 0.3.0-alpha.16 → 0.3.0-alpha.17
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/CHANGELOG.md +4 -0
- package/dist/accessControl.js +1 -1
- package/dist/accessControl.js.map +1 -1
- package/dist/beliefs/index.js +2 -2
- package/dist/beliefs/index.js.map +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/contracts/auth-session.contract.js +1 -1
- package/dist/contracts/auth-session.contract.js.map +1 -1
- package/dist/contracts/index.js +1 -1
- package/dist/contracts/index.js.map +1 -1
- package/dist/contradictions/index.js +2 -2
- package/dist/contradictions/index.js.map +1 -1
- package/dist/decisions/index.js +2 -2
- package/dist/decisions/index.js.map +1 -1
- package/dist/edges/index.js +2 -2
- package/dist/edges/index.js.map +1 -1
- package/dist/evidence/index.js +2 -2
- package/dist/evidence/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.js +2 -2
- package/dist/lenses/index.js.map +1 -1
- package/dist/nodes/index.js +2 -2
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.js +2 -2
- package/dist/ontologies/index.js.map +1 -1
- package/dist/questions/index.js +2 -2
- package/dist/questions/index.js.map +1 -1
- package/dist/topics/index.js +2 -2
- package/dist/topics/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/worktrees/index.js +2 -2
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1935,7 +1935,7 @@ function normalizeCanonicalPrincipalIdentity(input, options = {}) {
|
|
|
1935
1935
|
})) {
|
|
1936
1936
|
throw new LucernAccessControlError(
|
|
1937
1937
|
"clerk_alias_unrecognized",
|
|
1938
|
-
"Observed Clerk user id
|
|
1938
|
+
"Observed Clerk user id does not match the canonical human principal id."
|
|
1939
1939
|
);
|
|
1940
1940
|
}
|
|
1941
1941
|
return {
|
|
@@ -7528,7 +7528,7 @@ function createToolRegistryClient(config = {}) {
|
|
|
7528
7528
|
}
|
|
7529
7529
|
|
|
7530
7530
|
// src/version.ts
|
|
7531
|
-
var LUCERN_SDK_VERSION = "0.3.0-alpha.
|
|
7531
|
+
var LUCERN_SDK_VERSION = "0.3.0-alpha.17";
|
|
7532
7532
|
|
|
7533
7533
|
// src/workflowClient.ts
|
|
7534
7534
|
function normalizeLensQuery(value) {
|
|
@@ -11222,7 +11222,7 @@ var SESSION_LIFECYCLE_STATUSES = [
|
|
|
11222
11222
|
"revoked"
|
|
11223
11223
|
];
|
|
11224
11224
|
function inferSessionPrincipalType(principalId) {
|
|
11225
|
-
if (principalId
|
|
11225
|
+
if (/^user_[A-Za-z0-9]+$/.test(principalId)) {
|
|
11226
11226
|
return "human";
|
|
11227
11227
|
}
|
|
11228
11228
|
if (principalId.startsWith("agent:")) {
|