@lucern/sdk 0.2.0-alpha.10 → 0.2.0-alpha.12

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.
Files changed (57) hide show
  1. package/dist/audience/index.d.ts +38 -0
  2. package/dist/audience/index.js +110 -0
  3. package/dist/audience/index.js.map +1 -0
  4. package/dist/beliefs/index.d.ts +465 -0
  5. package/dist/beliefs/index.js +6433 -0
  6. package/dist/beliefs/index.js.map +1 -0
  7. package/dist/beliefs/lifecycle.d.ts +24 -0
  8. package/dist/beliefs/lifecycle.js +98 -0
  9. package/dist/beliefs/lifecycle.js.map +1 -0
  10. package/dist/beliefsClient.d.ts +2 -3
  11. package/dist/beliefsClient.js +40 -10
  12. package/dist/beliefsClient.js.map +1 -1
  13. package/dist/client.d.ts +3 -3
  14. package/dist/client.js +42 -9
  15. package/dist/client.js.map +1 -1
  16. package/dist/contradictions/index.d.ts +158 -0
  17. package/dist/contradictions/index.js +6427 -0
  18. package/dist/contradictions/index.js.map +1 -0
  19. package/dist/decisions/index.d.ts +68 -0
  20. package/dist/decisions/index.js +6429 -0
  21. package/dist/decisions/index.js.map +1 -0
  22. package/dist/edges/index.d.ts +204 -0
  23. package/dist/edges/index.js +6428 -0
  24. package/dist/edges/index.js.map +1 -0
  25. package/dist/events.js +7 -5
  26. package/dist/events.js.map +1 -1
  27. package/dist/evidence/index.d.ts +295 -0
  28. package/dist/evidence/index.js +6428 -0
  29. package/dist/evidence/index.js.map +1 -0
  30. package/dist/gatewayFacades.d.ts +1 -1
  31. package/dist/gatewayFacades.js +32 -2
  32. package/dist/gatewayFacades.js.map +1 -1
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +55 -23
  35. package/dist/index.js.map +1 -1
  36. package/dist/lenses/index.d.ts +194 -0
  37. package/dist/lenses/index.js +6427 -0
  38. package/dist/lenses/index.js.map +1 -0
  39. package/dist/nodes/index.d.ts +62 -0
  40. package/dist/nodes/index.js +6429 -0
  41. package/dist/nodes/index.js.map +1 -0
  42. package/dist/ontologies/index.d.ts +178 -0
  43. package/dist/ontologies/index.js +6430 -0
  44. package/dist/ontologies/index.js.map +1 -0
  45. package/dist/opinion.d.ts +11 -0
  46. package/dist/opinion.js +35 -0
  47. package/dist/opinion.js.map +1 -0
  48. package/dist/questions/index.d.ts +297 -0
  49. package/dist/questions/index.js +6430 -0
  50. package/dist/questions/index.js.map +1 -0
  51. package/dist/topics/index.d.ts +68 -0
  52. package/dist/topics/index.js +6428 -0
  53. package/dist/topics/index.js.map +1 -0
  54. package/dist/worktrees/index.d.ts +210 -0
  55. package/dist/worktrees/index.js +6430 -0
  56. package/dist/worktrees/index.js.map +1 -0
  57. package/package.json +53 -2
@@ -0,0 +1,62 @@
1
+ import { PlatformGatewaySuccess } from '../coreClient.js';
2
+ import { PlatformGraphNode, ListResult } from '../types.js';
3
+ import { CreateNodeInput, GetNodeInput, ListNodesInput, UpdateNodeInput, BatchCreateNodesInput, SupersedeNodeInput, VerifyNodeInput, HardDeleteNodeInput } from '../graphClient.js';
4
+ import { LucernClientConfig } from '../client.js';
5
+ import * as v1 from '@lucern/contracts/graph/v1';
6
+ export { v1 as graphContracts };
7
+ import * as sdkMethods_contract from '@lucern/contracts/sdk-methods.contract';
8
+ export { sdkMethods_contract as methodSchemas };
9
+ import '../contracts/workflow-runtime.contract.js';
10
+ import '../contracts/lens-workflow.contract.js';
11
+ import '../contracts/lens-filter.contract.js';
12
+ import '../audiencesClient.js';
13
+ import '../schemaClient.js';
14
+ import '../harnessClient.js';
15
+ import '../identityClient.js';
16
+ import '../adminClient.js';
17
+ import '../controlObjectOwnership.js';
18
+ import '../beliefsClient.js';
19
+ import '../opinion.js';
20
+ import '../packsClient.js';
21
+ import '../customTools.js';
22
+ import 'zod';
23
+ import '../mcpTools-DPZxowDX.js';
24
+ import '../policyClient.js';
25
+ import '../ontologyClient.js';
26
+ import '../contextTypes.js';
27
+ import '../topicsClient.js';
28
+ import '../answersClient.js';
29
+ import '../auditClient.js';
30
+ import '../contextClient.js';
31
+ import '../decisionsClient.js';
32
+ import '../evidenceClient.js';
33
+ import '../learningClient.js';
34
+ import '../mcpParityClient.js';
35
+ import '../reportsClient.js';
36
+ import '../sourcesClient.js';
37
+ import '../workflowClient.js';
38
+
39
+ type NodesClientConfig = LucernClientConfig;
40
+ type NodesClient = ReturnType<typeof createNodesClient>;
41
+ declare function createNodesClient(config?: NodesClientConfig): {
42
+ createNode: (input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
43
+ getNode: (input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
44
+ listNodes: (query: Parameters<(query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>>[0]) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
45
+ updateNode: (input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
46
+ batchCreateNodes: (input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
47
+ supersedeNode: (input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
48
+ verifyNode: (input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
49
+ hardDeleteNode: (input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
50
+ raw: {
51
+ list(query: Parameters<(query: ListNodesInput) => Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<PlatformGraphNode, "nodes">>>;
52
+ get(input: string | Parameters<(query: GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
53
+ create(input: Parameters<(input: CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
54
+ update(input: Parameters<(input: UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
55
+ batchCreate(input: Parameters<(input: BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
56
+ supersede(input: Parameters<(input: SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
57
+ verify(input: Parameters<(input: VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
58
+ hardDelete(input: Parameters<(input: HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
59
+ };
60
+ };
61
+
62
+ export { type NodesClient, type NodesClientConfig, createNodesClient };