@lucern/sdk 1.0.31 → 1.0.32

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.
@@ -12,9 +12,9 @@ export declare function createOntologiesClient(config?: OntologiesClientConfig):
12
12
  tier?: string;
13
13
  status?: string;
14
14
  }) => Promise<import("../client-config").GatewayDataEnvelope<{
15
+ items: unknown[];
15
16
  ontologies: unknown[];
16
17
  total: number;
17
- items: unknown[];
18
18
  definitions: unknown[];
19
19
  }>>;
20
20
  bindOntology: (input: Parameters<(input: import("..").OntologyBindingInput, idempotencyKey?: string) => Promise<import("..").PlatformGatewaySuccess<import("../gatewayFacades").GatewayRecord>>>[0], idempotencyKey?: Parameters<(input: import("..").OntologyBindingInput, idempotencyKey?: string) => Promise<import("..").PlatformGatewaySuccess<import("../gatewayFacades").GatewayRecord>>>[1]) => Promise<import("../client-config").GatewayDataEnvelope<import("../gatewayFacades").GatewayRecord>>;
@@ -27,9 +27,9 @@ export declare function createOntologiesClient(config?: OntologiesClientConfig):
27
27
  tier?: string;
28
28
  status?: string;
29
29
  }): Promise<import("../client-config").GatewayDataEnvelope<{
30
+ items: unknown[];
30
31
  ontologies: unknown[];
31
32
  total: number;
32
- items: unknown[];
33
33
  definitions: unknown[];
34
34
  }>>;
35
35
  get(ontologyId: string): Promise<import("../client-config").GatewayDataEnvelope<import("../gatewayFacades").GatewayRecord>>;
@@ -51,9 +51,9 @@ export declare function createOntologiesClient(config?: OntologiesClientConfig):
51
51
  tier?: string;
52
52
  status?: string;
53
53
  }): Promise<import("..").PlatformGatewaySuccess<{
54
+ items: unknown[];
54
55
  ontologies: unknown[];
55
56
  total: number;
56
- items: unknown[];
57
57
  definitions: unknown[];
58
58
  }>>;
59
59
  get(id: string): Promise<import("..").PlatformGatewaySuccess<unknown>>;
@@ -74,9 +74,9 @@ export declare function createOntologiesClient(config?: OntologiesClientConfig):
74
74
  tier?: string;
75
75
  status?: string;
76
76
  }) => Promise<import("..").PlatformGatewaySuccess<{
77
+ items: unknown[];
77
78
  ontologies: unknown[];
78
79
  total: number;
79
- items: unknown[];
80
80
  definitions: unknown[];
81
81
  }>>;
82
82
  getDefinition: (id: string) => Promise<import("..").PlatformGatewaySuccess<unknown>>;
@@ -59,9 +59,9 @@ export declare function createOntologyClient(config?: OntologyClientConfig): {
59
59
  tier?: string;
60
60
  status?: string;
61
61
  }): Promise<import("./coreClient").PlatformGatewaySuccess<{
62
+ items: unknown[];
62
63
  ontologies: unknown[];
63
64
  total: number;
64
- items: unknown[];
65
65
  definitions: unknown[];
66
66
  }>>;
67
67
  /**
@@ -113,9 +113,9 @@ export declare function createOntologyClient(config?: OntologyClientConfig): {
113
113
  tier?: string;
114
114
  status?: string;
115
115
  }) => Promise<import("./coreClient").PlatformGatewaySuccess<{
116
+ items: unknown[];
116
117
  ontologies: unknown[];
117
118
  total: number;
118
- items: unknown[];
119
119
  definitions: unknown[];
120
120
  }>>;
121
121
  getDefinition: (id: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
@@ -187,41 +187,41 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
187
187
  toolCategory?: string;
188
188
  enabled?: boolean;
189
189
  }): Promise<{
190
- data: {
191
- policies: WritePolicyRecord[];
192
- };
193
190
  correlationId: string;
194
191
  idempotentReplay: boolean;
195
192
  policyTraceId: string | null;
196
193
  success: true;
194
+ data: {
195
+ policies: WritePolicyRecord[];
196
+ };
197
197
  }>;
198
198
  /**
199
199
  * Create a write policy rule.
200
200
  */
201
201
  createWritePolicy(input: WritePolicyCreateInput, idempotencyKey?: string): Promise<{
202
+ correlationId: string;
203
+ idempotentReplay: boolean;
204
+ policyTraceId: string | null;
205
+ success: true;
202
206
  data: {
203
207
  id: string | undefined;
204
208
  created: boolean;
205
209
  policy: WritePolicyRecord | null;
206
210
  };
207
- correlationId: string;
208
- idempotentReplay: boolean;
209
- policyTraceId: string | null;
210
- success: true;
211
211
  }>;
212
212
  /**
213
213
  * Update an existing write policy rule by identifier.
214
214
  */
215
215
  updateWritePolicy(id: string, input: WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
216
+ correlationId: string;
217
+ idempotentReplay: boolean;
218
+ policyTraceId: string | null;
219
+ success: true;
216
220
  data: {
217
221
  id: string | undefined;
218
222
  updated: boolean;
219
223
  policy: WritePolicyRecord | null;
220
224
  };
221
- correlationId: string;
222
- idempotentReplay: boolean;
223
- policyTraceId: string | null;
224
- success: true;
225
225
  }>;
226
226
  /**
227
227
  * Delete a write policy rule by identifier.
@@ -234,13 +234,13 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
234
234
  * List tenant role policies for the current scope.
235
235
  */
236
236
  listRolePolicies(query?: GatewayScope): Promise<{
237
- data: {
238
- policies: TenantPolicyRecord[];
239
- };
240
237
  correlationId: string;
241
238
  idempotentReplay: boolean;
242
239
  policyTraceId: string | null;
243
240
  success: true;
241
+ data: {
242
+ policies: TenantPolicyRecord[];
243
+ };
244
244
  }>;
245
245
  /**
246
246
  * Create a tenant role policy.
@@ -251,13 +251,13 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
251
251
  permissions: TenantPolicyPermission[];
252
252
  groupBindings?: string[];
253
253
  }, idempotencyKey?: string): Promise<{
254
- data: {
255
- policy: TenantPolicyRecord | null;
256
- };
257
254
  correlationId: string;
258
255
  idempotentReplay: boolean;
259
256
  policyTraceId: string | null;
260
257
  success: true;
258
+ data: {
259
+ policy: TenantPolicyRecord | null;
260
+ };
261
261
  }>;
262
262
  /**
263
263
  * Update a tenant role policy by identifier.
@@ -268,13 +268,13 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
268
268
  permissions: TenantPolicyPermission[];
269
269
  groupBindings?: string[];
270
270
  }, idempotencyKey?: string): Promise<{
271
- data: {
272
- policy: TenantPolicyRecord | null;
273
- };
274
271
  correlationId: string;
275
272
  idempotentReplay: boolean;
276
273
  policyTraceId: string | null;
277
274
  success: true;
275
+ data: {
276
+ policy: TenantPolicyRecord | null;
277
+ };
278
278
  }>;
279
279
  /**
280
280
  * Delete a tenant role policy by identifier.
@@ -300,6 +300,10 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
300
300
  principalId?: string;
301
301
  limit?: number;
302
302
  }): Promise<{
303
+ correlationId: string;
304
+ idempotentReplay: boolean;
305
+ policyTraceId: string | null;
306
+ success: true;
303
307
  data: {
304
308
  permission: PermissionKind;
305
309
  topics: PolicyTopicRecord[];
@@ -309,10 +313,6 @@ export declare function createPolicyClient(config?: PolicyClientConfig): {
309
313
  reasonCode: string;
310
314
  }[];
311
315
  };
312
- correlationId: string;
313
- idempotentReplay: boolean;
314
- policyTraceId: string | null;
315
- success: true;
316
316
  }>;
317
317
  /**
318
318
  * Filter topic identifiers by permission.
@@ -41,5 +41,5 @@
41
41
  "convex-validators",
42
42
  "proof-attestation"
43
43
  ],
44
- "signedAt": 1782203883571
44
+ "signedAt": 1782351761306
45
45
  }
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Current SDK package version. */
2
- export declare const LUCERN_SDK_VERSION = "1.0.31";
2
+ export declare const LUCERN_SDK_VERSION = "1.0.32";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Current SDK package version. */
2
- export const LUCERN_SDK_VERSION = "1.0.31";
2
+ export const LUCERN_SDK_VERSION = "1.0.32";
3
3
  //# sourceMappingURL=version.js.map
@@ -82,7 +82,6 @@ export declare function createWorktreesClient(config?: WorktreesClientConfig): {
82
82
  findByPairedSprint(input: {
83
83
  sprintId: string;
84
84
  topicId?: string;
85
- projectId?: string;
86
85
  limit?: number;
87
86
  }): Promise<import("../client-config").GatewayDataEnvelope<Record<string, unknown>>>;
88
87
  activate(worktreeId: string): Promise<import("..").PlatformGatewaySuccess<import("../gatewayFacades").GatewayRecord>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucern/sdk",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -153,10 +153,10 @@
153
153
  "typecheck": "tsc --project tsconfig.typecheck.json --noEmit"
154
154
  },
155
155
  "dependencies": {
156
- "@lucern/contracts": "1.0.31",
157
- "@lucern/reasoning-kernel": "1.0.31",
158
- "@lucern/secrets": "1.0.31",
159
- "@lucern/transport-core": "1.0.31",
156
+ "@lucern/contracts": "1.0.32",
157
+ "@lucern/reasoning-kernel": "1.0.32",
158
+ "@lucern/secrets": "1.0.32",
159
+ "@lucern/transport-core": "1.0.32",
160
160
  "effect": "^3.21.2",
161
161
  "zod": "^3.25.76"
162
162
  },