@lucern/sdk 1.0.31 → 1.0.33

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 CHANGED
@@ -5,6 +5,17 @@ All notable changes to `@lucern/sdk` will be documented in this file.
5
5
  ## [Unreleased]
6
6
  - No unreleased changes yet.
7
7
 
8
+ ## [1.0.33] - 2026-06-25
9
+ - Coherent SDK release for the Graph V2 UUIDv7 hard-cut proof line. Consumers
10
+ should pair this SDK with the matching deployed `@lucern/reasoning-kernel`
11
+ `1.0.33` component before rerunning resolver-backed `context compile` and
12
+ topic-tree CLI smokes against UUIDv7-native data.
13
+
14
+ ## [1.0.32] - 2026-06-25
15
+ - Coherent 1.0.32 bump with the UUIDv7 identity-spine release line. SDK
16
+ consumers should pair this package line with the matching deployed kernel
17
+ component before running UUIDv7 inventory/backfill and CLI smoke checks.
18
+
8
19
  ## [1.0.31] - 2026-06-23
9
20
  - Coherent 1.0.31 bump for lucern-graph tenant adoption after the 1.0.30
10
21
  package line exposed a control-plane Convex module-path failure.
@@ -218,13 +218,13 @@ export declare function createAdminClient(config?: AdminClientConfig): {
218
218
  listTenantApiKeys(scope: GatewayScope & {
219
219
  status?: "active" | "revoked" | "expired";
220
220
  }): Promise<{
221
- data: {
222
- keys: TenantApiKeyRecord[];
223
- };
224
221
  correlationId: string;
225
222
  idempotentReplay: boolean;
226
223
  policyTraceId: string | null;
227
224
  success: true;
225
+ data: {
226
+ keys: TenantApiKeyRecord[];
227
+ };
228
228
  }>;
229
229
  /**
230
230
  * Create a tenant API key.
@@ -234,14 +234,14 @@ export declare function createAdminClient(config?: AdminClientConfig): {
234
234
  scopes: string[];
235
235
  expiresAt?: number;
236
236
  }, idempotencyKey?: string): Promise<{
237
- data: {
238
- key: TenantApiKeyRecord | null;
239
- plaintextKey: string | undefined;
240
- };
241
237
  correlationId: string;
242
238
  idempotentReplay: boolean;
243
239
  policyTraceId: string | null;
244
240
  success: true;
241
+ data: {
242
+ key: TenantApiKeyRecord | null;
243
+ plaintextKey: string | undefined;
244
+ };
245
245
  }>;
246
246
  /**
247
247
  * Revoke a tenant API key.
@@ -253,13 +253,13 @@ export declare function createAdminClient(config?: AdminClientConfig): {
253
253
  * List tenant vault secrets.
254
254
  */
255
255
  listTenantVaultSecrets(scope: GatewayScope): Promise<{
256
- data: {
257
- secrets: TenantVaultSecretRecord[];
258
- };
259
256
  correlationId: string;
260
257
  idempotentReplay: boolean;
261
258
  policyTraceId: string | null;
262
259
  success: true;
260
+ data: {
261
+ secrets: TenantVaultSecretRecord[];
262
+ };
263
263
  }>;
264
264
  /**
265
265
  * Create a tenant vault secret.
@@ -269,13 +269,13 @@ export declare function createAdminClient(config?: AdminClientConfig): {
269
269
  description?: string;
270
270
  value: string;
271
271
  }, idempotencyKey?: string): Promise<{
272
- data: {
273
- secret: TenantVaultSecretRecord | null;
274
- };
275
272
  correlationId: string;
276
273
  idempotentReplay: boolean;
277
274
  policyTraceId: string | null;
278
275
  success: true;
276
+ data: {
277
+ secret: TenantVaultSecretRecord | null;
278
+ };
279
279
  }>;
280
280
  /**
281
281
  * Update a tenant vault secret.
@@ -285,13 +285,13 @@ export declare function createAdminClient(config?: AdminClientConfig): {
285
285
  description?: string;
286
286
  value?: string;
287
287
  }, idempotencyKey?: string): Promise<{
288
- data: {
289
- secret: TenantVaultSecretRecord | null;
290
- };
291
288
  correlationId: string;
292
289
  idempotentReplay: boolean;
293
290
  policyTraceId: string | null;
294
291
  success: true;
292
+ data: {
293
+ secret: TenantVaultSecretRecord | null;
294
+ };
295
295
  }>;
296
296
  /**
297
297
  * Delete a tenant vault secret.
@@ -1,7 +1,5 @@
1
1
  import type { JsonObject, ListResult } from "./types";
2
2
  export interface TopicProjectAliasInput {
3
- /** @deprecated Use topicId. */
4
- projectId?: string;
5
3
  topicId?: string;
6
4
  }
7
5
  export declare function cleanOptionalString(value: string | undefined): string | undefined;
@@ -14,7 +14,7 @@ export function cleanRequiredString(value, label) {
14
14
  return normalized;
15
15
  }
16
16
  export function readTopicId(input) {
17
- return (cleanOptionalString(input.topicId) ?? cleanOptionalString(input.projectId));
17
+ return cleanOptionalString(input.topicId);
18
18
  }
19
19
  export function requireTopicId(input) {
20
20
  const topicId = readTopicId(input);
@@ -39,7 +39,6 @@ export function topicPayload(input, allowed, operation) {
39
39
  return {
40
40
  ...input,
41
41
  topicId: requireTopicId(input),
42
- projectId: undefined,
43
42
  };
44
43
  }
45
44
  export function listResultFromEnvelope(data, legacyKey) {
@@ -9,7 +9,7 @@ export function createEvidenceCompat(evidenceFacade, args) {
9
9
  throw new Error("rationale is required");
10
10
  }
11
11
  const metadata = {
12
- ...(args.metadata ?? {}),
12
+ ...args.metadata,
13
13
  rationale,
14
14
  };
15
15
  return evidenceFacade.create({