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

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 (275) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +691 -61
  3. package/dist/adminClient.d.ts +409 -0
  4. package/dist/adminClient.js +755 -0
  5. package/dist/adminClient.js.map +1 -0
  6. package/dist/answersClient.d.ts +23 -0
  7. package/dist/answersClient.js +333 -0
  8. package/dist/answersClient.js.map +1 -0
  9. package/dist/{packages/sdk/src/audiencesClient.d.ts → audiencesClient.d.ts} +30 -18
  10. package/dist/audiencesClient.js +472 -0
  11. package/dist/audiencesClient.js.map +1 -0
  12. package/dist/auditClient.d.ts +29 -0
  13. package/dist/auditClient.js +386 -0
  14. package/dist/auditClient.js.map +1 -0
  15. package/dist/beliefsClient.d.ts +242 -0
  16. package/dist/beliefsClient.js +616 -0
  17. package/dist/beliefsClient.js.map +1 -0
  18. package/dist/client.d.ts +2398 -0
  19. package/dist/client.js +6378 -0
  20. package/dist/client.js.map +1 -0
  21. package/dist/contextClient.d.ts +27 -0
  22. package/dist/contextClient.js +396 -0
  23. package/dist/contextClient.js.map +1 -0
  24. package/dist/contextFacade.d.ts +2 -0
  25. package/dist/contextFacade.js +73 -0
  26. package/dist/contextFacade.js.map +1 -0
  27. package/dist/{lucern/packages/domain-context/src/context-pack-compiler.d.ts → contextPackCompiler.d.ts} +11 -10
  28. package/dist/contextPackCompiler.js +1091 -0
  29. package/dist/contextPackCompiler.js.map +1 -0
  30. package/dist/contextPackPolicy.d.ts +84 -0
  31. package/dist/contextPackPolicy.js +347 -0
  32. package/dist/contextPackPolicy.js.map +1 -0
  33. package/dist/contextPackSchema.d.ts +7 -0
  34. package/dist/contextPackSchema.js +203 -0
  35. package/dist/contextPackSchema.js.map +1 -0
  36. package/dist/contextTypes.d.ts +135 -0
  37. package/dist/contextTypes.js +3 -0
  38. package/dist/contextTypes.js.map +1 -0
  39. package/dist/contracts/api-enums.contract.d.ts +81 -0
  40. package/dist/contracts/api-enums.contract.js +98 -0
  41. package/dist/contracts/api-enums.contract.js.map +1 -0
  42. package/dist/{lucern/contracts/src → contracts}/auth-session.contract.d.ts +14 -12
  43. package/dist/contracts/auth-session.contract.js +48 -0
  44. package/dist/contracts/auth-session.contract.js.map +1 -0
  45. package/dist/{lucern/contracts/src → contracts}/context-pack.contract.d.ts +56 -58
  46. package/dist/contracts/context-pack.contract.js +98 -0
  47. package/dist/contracts/context-pack.contract.js.map +1 -0
  48. package/dist/contracts/contextPack.d.ts +1 -0
  49. package/dist/contracts/contextPack.js +98 -0
  50. package/dist/contracts/contextPack.js.map +1 -0
  51. package/dist/contracts/index.d.ts +9 -0
  52. package/dist/contracts/index.js +4928 -0
  53. package/dist/contracts/index.js.map +1 -0
  54. package/dist/{lucern/contracts/src → contracts}/lens-filter.contract.d.ts +10 -8
  55. package/dist/contracts/lens-filter.contract.js +71 -0
  56. package/dist/contracts/lens-filter.contract.js.map +1 -0
  57. package/dist/contracts/lens-workflow.contract.d.ts +87 -0
  58. package/dist/contracts/lens-workflow.contract.js +123 -0
  59. package/dist/contracts/lens-workflow.contract.js.map +1 -0
  60. package/dist/contracts/lensFilter.d.ts +1 -0
  61. package/dist/contracts/lensFilter.js +71 -0
  62. package/dist/contracts/lensFilter.js.map +1 -0
  63. package/dist/contracts/lensWorkflow.d.ts +2 -0
  64. package/dist/contracts/lensWorkflow.js +123 -0
  65. package/dist/contracts/lensWorkflow.js.map +1 -0
  66. package/dist/contracts/mcp-tools.contract.d.ts +1 -0
  67. package/dist/contracts/mcp-tools.contract.js +3016 -0
  68. package/dist/contracts/mcp-tools.contract.js.map +1 -0
  69. package/dist/contracts/mcpTools.d.ts +1 -0
  70. package/dist/contracts/mcpTools.js +3016 -0
  71. package/dist/contracts/mcpTools.js.map +1 -0
  72. package/dist/contracts/prompt.contract.d.ts +26 -0
  73. package/dist/contracts/prompt.contract.js +12 -0
  74. package/dist/contracts/prompt.contract.js.map +1 -0
  75. package/dist/contracts/prompt.d.ts +1 -0
  76. package/dist/contracts/prompt.js +12 -0
  77. package/dist/contracts/prompt.js.map +1 -0
  78. package/dist/contracts/sdk-tools.contract.d.ts +2 -0
  79. package/dist/contracts/sdk-tools.contract.js +4164 -0
  80. package/dist/contracts/sdk-tools.contract.js.map +1 -0
  81. package/dist/contracts/sdkTools.d.ts +2 -0
  82. package/dist/contracts/sdkTools.js +4164 -0
  83. package/dist/contracts/sdkTools.js.map +1 -0
  84. package/dist/contracts/workflow-runtime.contract.d.ts +163 -0
  85. package/dist/contracts/workflow-runtime.contract.js +245 -0
  86. package/dist/contracts/workflow-runtime.contract.js.map +1 -0
  87. package/dist/contracts/workflowRuntime.d.ts +1 -0
  88. package/dist/contracts/workflowRuntime.js +245 -0
  89. package/dist/contracts/workflowRuntime.js.map +1 -0
  90. package/dist/{packages/sdk/src/controlObjectOwnership.d.ts → controlObjectOwnership.d.ts} +35 -18
  91. package/dist/controlObjectOwnership.js +215 -0
  92. package/dist/controlObjectOwnership.js.map +1 -0
  93. package/dist/{packages/sdk/src/coreClient.d.ts → coreClient.d.ts} +38 -14
  94. package/dist/coreClient.js +339 -0
  95. package/dist/coreClient.js.map +1 -0
  96. package/dist/customTools.d.ts +88 -0
  97. package/dist/customTools.js +248 -0
  98. package/dist/customTools.js.map +1 -0
  99. package/dist/decisionsClient.d.ts +111 -0
  100. package/dist/decisionsClient.js +522 -0
  101. package/dist/decisionsClient.js.map +1 -0
  102. package/dist/domainContext.d.ts +1 -0
  103. package/dist/domainContext.js +3 -0
  104. package/dist/domainContext.js.map +1 -0
  105. package/dist/events.d.ts +178 -0
  106. package/dist/events.js +249 -0
  107. package/dist/events.js.map +1 -0
  108. package/dist/eventsCore.d.ts +49 -0
  109. package/dist/eventsCore.js +429 -0
  110. package/dist/eventsCore.js.map +1 -0
  111. package/dist/evidenceClient.d.ts +119 -0
  112. package/dist/evidenceClient.js +350 -0
  113. package/dist/evidenceClient.js.map +1 -0
  114. package/dist/facade/context.d.ts +18 -0
  115. package/dist/facade/context.js +73 -0
  116. package/dist/facade/context.js.map +1 -0
  117. package/dist/gatewayFacades.d.ts +589 -0
  118. package/dist/gatewayFacades.js +1976 -0
  119. package/dist/gatewayFacades.js.map +1 -0
  120. package/dist/graphClient.d.ts +271 -0
  121. package/dist/graphClient.js +698 -0
  122. package/dist/graphClient.js.map +1 -0
  123. package/dist/{packages/sdk/src/harnessClient.d.ts → harnessClient.d.ts} +127 -35
  124. package/dist/harnessClient.js +607 -0
  125. package/dist/harnessClient.js.map +1 -0
  126. package/dist/identityClient.d.ts +140 -0
  127. package/dist/identityClient.js +497 -0
  128. package/dist/identityClient.js.map +1 -0
  129. package/dist/index.d.ts +45 -0
  130. package/dist/index.js +5263 -2579
  131. package/dist/index.js.map +1 -1
  132. package/dist/learningClient.d.ts +46 -0
  133. package/dist/learningClient.js +409 -0
  134. package/dist/learningClient.js.map +1 -0
  135. package/dist/{packages/sdk/src/mcpParityClient.d.ts → mcpParityClient.d.ts} +11 -5
  136. package/dist/mcpParityClient.js +516 -0
  137. package/dist/mcpParityClient.js.map +1 -0
  138. package/dist/mcpParitySurface.d.ts +12 -0
  139. package/dist/mcpParitySurface.js +65 -0
  140. package/dist/mcpParitySurface.js.map +1 -0
  141. package/dist/mcpTools-DPZxowDX.d.ts +254 -0
  142. package/dist/{packages/sdk/src/ontologyClient.d.ts → ontologyClient.d.ts} +44 -22
  143. package/dist/ontologyClient.js +513 -0
  144. package/dist/ontologyClient.js.map +1 -0
  145. package/dist/packRuntime.d.ts +2 -0
  146. package/dist/packRuntime.js +3 -0
  147. package/dist/packRuntime.js.map +1 -0
  148. package/dist/packsClient.d.ts +131 -0
  149. package/dist/packsClient.js +525 -0
  150. package/dist/packsClient.js.map +1 -0
  151. package/dist/{packages/sdk/src/policyClient.d.ts → policyClient.d.ts} +113 -18
  152. package/dist/policyClient.js +625 -0
  153. package/dist/policyClient.js.map +1 -0
  154. package/dist/realtime/index.d.ts +29 -0
  155. package/dist/realtime/index.js +23 -0
  156. package/dist/realtime/index.js.map +1 -0
  157. package/dist/realtime/refs.d.ts +17 -0
  158. package/dist/realtime/refs.js +9 -0
  159. package/dist/realtime/refs.js.map +1 -0
  160. package/dist/reportsClient.d.ts +41 -0
  161. package/dist/reportsClient.js +418 -0
  162. package/dist/reportsClient.js.map +1 -0
  163. package/dist/schemaClient.d.ts +64 -0
  164. package/dist/schemaClient.js +434 -0
  165. package/dist/schemaClient.js.map +1 -0
  166. package/dist/sdkSurface.d.ts +61 -0
  167. package/dist/sdkSurface.js +112 -0
  168. package/dist/sdkSurface.js.map +1 -0
  169. package/dist/sdkTools-CwXJDACb.d.ts +150 -0
  170. package/dist/sourcesClient.d.ts +24 -0
  171. package/dist/sourcesClient.js +339 -0
  172. package/dist/sourcesClient.js.map +1 -0
  173. package/dist/topicsClient.d.ts +84 -0
  174. package/dist/topicsClient.js +492 -0
  175. package/dist/topicsClient.js.map +1 -0
  176. package/dist/types.d.ts +715 -0
  177. package/dist/types.js +3 -0
  178. package/dist/types.js.map +1 -0
  179. package/dist/version.d.ts +4 -0
  180. package/dist/version.js +6 -0
  181. package/dist/version.js.map +1 -0
  182. package/dist/workflowClient.d.ts +316 -0
  183. package/dist/workflowClient.js +830 -0
  184. package/dist/workflowClient.js.map +1 -0
  185. package/package.json +41 -37
  186. package/dist/lucern/contracts/src/lens-workflow.contract.d.ts +0 -84
  187. package/dist/lucern/contracts/src/mcp-tools.contract.d.ts +0 -151
  188. package/dist/lucern/contracts/src/workflow-runtime.contract.d.ts +0 -161
  189. package/dist/lucern/mcp-server/src/context-pack-policy.d.ts +0 -119
  190. package/dist/lucern/mcp-server/src/context-pack-schema.d.ts +0 -18
  191. package/dist/lucern/modules/graph-primitives/src/ontology-matching.d.ts +0 -78
  192. package/dist/lucern/modules/graph-primitives/src/text-matching.d.ts +0 -53
  193. package/dist/lucern/packages/client-core/src/beliefs.d.ts +0 -30
  194. package/dist/lucern/packages/client-core/src/context.d.ts +0 -29
  195. package/dist/lucern/packages/client-core/src/contradictions.d.ts +0 -11
  196. package/dist/lucern/packages/client-core/src/edges.d.ts +0 -11
  197. package/dist/lucern/packages/client-core/src/events.d.ts +0 -9
  198. package/dist/lucern/packages/client-core/src/evidence.d.ts +0 -21
  199. package/dist/lucern/packages/client-core/src/graph.d.ts +0 -17
  200. package/dist/lucern/packages/client-core/src/identity.d.ts +0 -7
  201. package/dist/lucern/packages/client-core/src/ids.d.ts +0 -7
  202. package/dist/lucern/packages/client-core/src/ontologies.d.ts +0 -13
  203. package/dist/lucern/packages/client-core/src/questions.d.ts +0 -39
  204. package/dist/lucern/packages/client-core/src/search.d.ts +0 -7
  205. package/dist/lucern/packages/client-core/src/tasks.d.ts +0 -13
  206. package/dist/lucern/packages/client-core/src/topics.d.ts +0 -17
  207. package/dist/lucern/packages/client-core/src/webhooks.d.ts +0 -35
  208. package/dist/lucern/packages/client-core/src/worktrees.d.ts +0 -17
  209. package/dist/lucern/packages/domain-beliefs/src/beliefs.d.ts +0 -283
  210. package/dist/lucern/packages/domain-beliefs/src/index.d.ts +0 -1
  211. package/dist/lucern/packages/domain-context/src/compile.d.ts +0 -11
  212. package/dist/lucern/packages/domain-context/src/index.d.ts +0 -4
  213. package/dist/lucern/packages/domain-context/src/ports.d.ts +0 -58
  214. package/dist/lucern/packages/domain-context/src/public-types.d.ts +0 -1
  215. package/dist/lucern/packages/domain-edges/src/contradictions.d.ts +0 -59
  216. package/dist/lucern/packages/domain-edges/src/edges.d.ts +0 -91
  217. package/dist/lucern/packages/domain-edges/src/index.d.ts +0 -2
  218. package/dist/lucern/packages/domain-evidence/src/evidence.d.ts +0 -115
  219. package/dist/lucern/packages/domain-evidence/src/index.d.ts +0 -1
  220. package/dist/lucern/packages/domain-graph/src/graph.d.ts +0 -150
  221. package/dist/lucern/packages/domain-identity/src/index.d.ts +0 -1
  222. package/dist/lucern/packages/domain-identity/src/whoami.d.ts +0 -13
  223. package/dist/lucern/packages/domain-ontologies/src/ontologies.d.ts +0 -123
  224. package/dist/lucern/packages/domain-questions/src/index.d.ts +0 -1
  225. package/dist/lucern/packages/domain-questions/src/questions.d.ts +0 -147
  226. package/dist/lucern/packages/domain-search/src/search.d.ts +0 -97
  227. package/dist/lucern/packages/domain-tasks/src/index.d.ts +0 -1
  228. package/dist/lucern/packages/domain-tasks/src/tasks.d.ts +0 -102
  229. package/dist/lucern/packages/domain-topics/src/index.d.ts +0 -1
  230. package/dist/lucern/packages/domain-topics/src/topics.d.ts +0 -147
  231. package/dist/lucern/packages/domain-worktrees/src/index.d.ts +0 -1
  232. package/dist/lucern/packages/domain-worktrees/src/worktrees.d.ts +0 -185
  233. package/dist/lucern/packages/events/src/index.d.ts +0 -4
  234. package/dist/lucern/packages/events/src/matching.d.ts +0 -3
  235. package/dist/lucern/packages/events/src/outbox.d.ts +0 -15
  236. package/dist/lucern/packages/events/src/types.d.ts +0 -151
  237. package/dist/lucern/packages/events/src/webhooks.d.ts +0 -9
  238. package/dist/lucern/packages/sdk-typescript/src/facade/beliefs.d.ts +0 -15
  239. package/dist/lucern/packages/sdk-typescript/src/facade/context.d.ts +0 -12
  240. package/dist/lucern/packages/sdk-typescript/src/facade/contradictions.d.ts +0 -7
  241. package/dist/lucern/packages/sdk-typescript/src/facade/edges.d.ts +0 -7
  242. package/dist/lucern/packages/sdk-typescript/src/facade/events.d.ts +0 -6
  243. package/dist/lucern/packages/sdk-typescript/src/facade/evidence.d.ts +0 -21
  244. package/dist/lucern/packages/sdk-typescript/src/facade/graph.d.ts +0 -10
  245. package/dist/lucern/packages/sdk-typescript/src/facade/identity.d.ts +0 -5
  246. package/dist/lucern/packages/sdk-typescript/src/facade/ontologies.d.ts +0 -8
  247. package/dist/lucern/packages/sdk-typescript/src/facade/questions.d.ts +0 -39
  248. package/dist/lucern/packages/sdk-typescript/src/facade/search.d.ts +0 -5
  249. package/dist/lucern/packages/sdk-typescript/src/facade/tasks.d.ts +0 -8
  250. package/dist/lucern/packages/sdk-typescript/src/facade/topics.d.ts +0 -10
  251. package/dist/lucern/packages/sdk-typescript/src/facade/webhooks.d.ts +0 -16
  252. package/dist/lucern/packages/sdk-typescript/src/facade/worktrees.d.ts +0 -10
  253. package/dist/lucern/packages/sdk-typescript/src/index.d.ts +0 -28
  254. package/dist/packages/sdk/src/adminClient.d.ts +0 -89
  255. package/dist/packages/sdk/src/answersClient.d.ts +0 -5
  256. package/dist/packages/sdk/src/auditClient.d.ts +0 -23
  257. package/dist/packages/sdk/src/beliefsClient.d.ts +0 -54
  258. package/dist/packages/sdk/src/client.d.ts +0 -1610
  259. package/dist/packages/sdk/src/contextClient.d.ts +0 -9
  260. package/dist/packages/sdk/src/contracts/api-enums.contract.d.ts +0 -58
  261. package/dist/packages/sdk/src/customTools.d.ts +0 -65
  262. package/dist/packages/sdk/src/decisionsClient.d.ts +0 -110
  263. package/dist/packages/sdk/src/graphClient.d.ts +0 -209
  264. package/dist/packages/sdk/src/identityClient.d.ts +0 -104
  265. package/dist/packages/sdk/src/index.d.ts +0 -28
  266. package/dist/packages/sdk/src/learningClient.d.ts +0 -43
  267. package/dist/packages/sdk/src/mcpParitySurface.d.ts +0 -8
  268. package/dist/packages/sdk/src/packsClient.d.ts +0 -101
  269. package/dist/packages/sdk/src/reportsClient.d.ts +0 -31
  270. package/dist/packages/sdk/src/schemaClient.d.ts +0 -54
  271. package/dist/packages/sdk/src/sdkSurface.d.ts +0 -56
  272. package/dist/packages/sdk/src/topicsClient.d.ts +0 -45
  273. package/dist/packages/sdk/src/types.d.ts +0 -489
  274. package/dist/packages/sdk/src/version.d.ts +0 -2
  275. package/dist/packages/sdk/src/workflowClient.d.ts +0 -274
@@ -1,102 +0,0 @@
1
- type TaskStatus = "todo" | "in_progress" | "blocked" | "done";
2
- type TaskPriority = "low" | "medium" | "high" | "urgent";
3
- type TaskType = "research" | "interview" | "analysis" | "data_collection" | "general";
4
- export type TaskRecord = {
5
- id: string;
6
- taskId: string;
7
- topicId?: string;
8
- title: string;
9
- description?: string;
10
- status: TaskStatus;
11
- priority: TaskPriority;
12
- taskType: TaskType;
13
- linkedBeliefId?: string;
14
- linkedQuestionId?: string;
15
- linkedWorktreeId?: string;
16
- outputSummary?: string;
17
- createdAt?: number;
18
- updatedAt?: number;
19
- completedAt?: number;
20
- metadata?: Record<string, unknown>;
21
- };
22
- export type TaskListResult = {
23
- tasks: TaskRecord[];
24
- count: number;
25
- };
26
- export type CreateTaskInput = {
27
- topicId: string;
28
- title: string;
29
- description?: string;
30
- taskType?: string;
31
- priority?: string;
32
- linkedBeliefId?: string;
33
- linkedQuestionId?: string;
34
- linkedWorktreeId?: string;
35
- metadata?: Record<string, unknown>;
36
- };
37
- export type UpdateTaskInput = {
38
- id: string;
39
- title?: string;
40
- description?: string;
41
- priority?: string;
42
- status?: string;
43
- linkedBeliefId?: string;
44
- linkedQuestionId?: string;
45
- linkedWorktreeId?: string;
46
- metadata?: Record<string, unknown>;
47
- };
48
- export type CompleteTaskInput = {
49
- id: string;
50
- outputSummary?: string;
51
- };
52
- export type ListTasksQuery = {
53
- topicId?: string;
54
- worktreeId?: string;
55
- status?: string;
56
- limit?: number;
57
- };
58
- type TaskCreatePortInput = {
59
- topicId: string;
60
- title: string;
61
- description?: string;
62
- taskType: TaskType;
63
- priority: TaskPriority;
64
- linkedBeliefId?: string;
65
- linkedQuestionId?: string;
66
- linkedWorktreeId?: string;
67
- metadata?: Record<string, unknown>;
68
- };
69
- type TaskUpdatePortInput = {
70
- taskRawId: string;
71
- title?: string;
72
- description?: string;
73
- priority?: TaskPriority;
74
- status?: TaskStatus;
75
- linkedBeliefId?: string;
76
- linkedQuestionId?: string;
77
- linkedWorktreeId?: string;
78
- metadata?: Record<string, unknown>;
79
- };
80
- type TaskCompletePortInput = {
81
- taskRawId: string;
82
- outputSummary?: string;
83
- };
84
- export type TasksPort = {
85
- fetchTask: (rawId: string) => Promise<unknown | null>;
86
- listTasksByTopic: (args: {
87
- topicId: string;
88
- status?: TaskStatus;
89
- limit?: number;
90
- }) => Promise<unknown[]>;
91
- listTasksByWorktree: (args: {
92
- worktreeId: string;
93
- }) => Promise<unknown[]>;
94
- createTask: (input: TaskCreatePortInput) => Promise<unknown>;
95
- updateTask: (input: TaskUpdatePortInput) => Promise<unknown>;
96
- completeTask: (input: TaskCompletePortInput) => Promise<unknown>;
97
- };
98
- export declare function createTask(deps: TasksPort, input: CreateTaskInput): Promise<TaskRecord>;
99
- export declare function updateTask(deps: TasksPort, input: UpdateTaskInput): Promise<TaskRecord>;
100
- export declare function completeTask(deps: TasksPort, input: CompleteTaskInput): Promise<TaskRecord>;
101
- export declare function listTasks(deps: TasksPort, query: ListTasksQuery): Promise<TaskListResult>;
102
- export {};
@@ -1 +0,0 @@
1
- export * from "./topics";
@@ -1,147 +0,0 @@
1
- type TopicStatus = "active" | "archived" | "watching";
2
- type TopicVisibility = "private" | "team" | "firm" | "external" | "public";
3
- type TopicCoverageState = "full" | "partial" | "empty";
4
- export type TopicRecord = {
5
- id: string;
6
- topicId: string;
7
- globalId?: string;
8
- name: string;
9
- description?: string;
10
- type: string;
11
- depth?: number;
12
- status?: TopicStatus;
13
- parentTopicId?: string | null;
14
- tenantId?: string;
15
- workspaceId?: string;
16
- visibility?: TopicVisibility;
17
- createdAt?: number;
18
- updatedAt?: number;
19
- };
20
- export type TopicListResult = {
21
- topics: TopicRecord[];
22
- total: number;
23
- };
24
- export type TopicTreeNode = TopicRecord & {
25
- path?: string[];
26
- };
27
- export type TopicTreeResult = {
28
- tree: TopicTreeNode[];
29
- };
30
- export type TopicCoverageRecord = {
31
- topicId: string;
32
- name: string;
33
- type: string;
34
- depth: number;
35
- beliefs: number;
36
- questions: number;
37
- evidence: number;
38
- coverage: TopicCoverageState;
39
- };
40
- export type TopicCoverageSummary = {
41
- totalTopics: number;
42
- coveredTopics: number;
43
- emptyTopics: number;
44
- coveragePercent: number;
45
- totalBeliefs: number;
46
- totalQuestions: number;
47
- totalEvidence: number;
48
- };
49
- export type TopicCoverageResult = {
50
- topics: TopicCoverageRecord[];
51
- summary: TopicCoverageSummary;
52
- scopeTopicId?: string | null;
53
- };
54
- export type CreateTopicInput = {
55
- name: string;
56
- description?: string;
57
- type?: string;
58
- parentTopicId?: string;
59
- ontologyId?: string;
60
- tenantId?: string;
61
- workspaceId?: string;
62
- visibility?: TopicVisibility;
63
- createdBy?: string;
64
- };
65
- export type UpdateTopicInput = {
66
- id: string;
67
- name?: string;
68
- description?: string;
69
- type?: string;
70
- ontologyId?: string;
71
- clearOntologyId?: boolean;
72
- status?: TopicStatus;
73
- visibility?: TopicVisibility;
74
- };
75
- export type GetTopicInput = {
76
- id: string;
77
- };
78
- export type ListTopicsQuery = {
79
- ontologyId?: string;
80
- parentTopicId?: string;
81
- status?: TopicStatus | string;
82
- type?: string;
83
- };
84
- export type GetTopicTreeInput = {
85
- id: string;
86
- maxDepth?: number;
87
- };
88
- export type GetTopicCoverageInput = {
89
- id: string;
90
- includeDescendants?: boolean;
91
- maxDepth?: number;
92
- };
93
- type CreateTopicPortInput = {
94
- name: string;
95
- description?: string;
96
- type: string;
97
- parentTopicRawId?: string;
98
- ontologyId?: string;
99
- tenantId?: string;
100
- workspaceId?: string;
101
- visibility?: TopicVisibility;
102
- createdBy?: string;
103
- };
104
- type UpdateTopicPortInput = {
105
- topicRawId: string;
106
- name?: string;
107
- description?: string;
108
- type?: string;
109
- ontologyId?: string;
110
- clearOntologyId?: boolean;
111
- status?: TopicStatus;
112
- visibility?: TopicVisibility;
113
- };
114
- export type TopicsPort = {
115
- fetchTopic: (rawId: string) => Promise<unknown | null>;
116
- listTopics: (query: {
117
- ontologyId?: string;
118
- parentTopicRawId?: string;
119
- status?: string;
120
- type?: string;
121
- }) => Promise<unknown[]>;
122
- createTopic: (input: CreateTopicPortInput) => Promise<unknown>;
123
- updateTopic?: (input: UpdateTopicPortInput) => Promise<unknown>;
124
- fetchTopicTree: (args: {
125
- rootRawId: string;
126
- maxDepth?: number;
127
- }) => Promise<unknown>;
128
- listBeliefsByTopic: (args: {
129
- topicId: string;
130
- limit?: number;
131
- }) => Promise<unknown[]>;
132
- listQuestionsByTopic: (args: {
133
- topicId: string;
134
- limit?: number;
135
- }) => Promise<unknown[]>;
136
- listEvidenceByTopic: (args: {
137
- topicId: string;
138
- limit?: number;
139
- }) => Promise<unknown[]>;
140
- };
141
- export declare function createTopic(deps: TopicsPort, input: CreateTopicInput): Promise<TopicRecord>;
142
- export declare function updateTopic(deps: TopicsPort, input: UpdateTopicInput): Promise<TopicRecord>;
143
- export declare function getTopic(deps: TopicsPort, input: GetTopicInput): Promise<TopicRecord>;
144
- export declare function listTopics(deps: TopicsPort, query?: ListTopicsQuery): Promise<TopicListResult>;
145
- export declare function getTopicTree(deps: TopicsPort, input: GetTopicTreeInput): Promise<TopicTreeResult>;
146
- export declare function getTopicCoverage(deps: TopicsPort, input: GetTopicCoverageInput): Promise<TopicCoverageResult>;
147
- export {};
@@ -1 +0,0 @@
1
- export * from "./worktrees";
@@ -1,185 +0,0 @@
1
- type WorktreeStatus = "planning" | "active" | "paused" | "completed" | "merged" | "failed" | "archived";
2
- export type WorktreeRecord = {
3
- worktreeId: string;
4
- id: string;
5
- topicId?: string;
6
- title: string;
7
- status?: WorktreeStatus | string;
8
- branchId?: string | null;
9
- objective?: string;
10
- hypothesis?: string;
11
- gate?: string;
12
- track?: string;
13
- trackPosition?: number;
14
- executionBand?: number;
15
- executionOrder?: number;
16
- dependsOn?: string[];
17
- blocks?: string[];
18
- targetBeliefIds?: string[];
19
- targetQuestionIds?: string[];
20
- questionCount?: number;
21
- taskCount?: number;
22
- frameworkSuggestions?: unknown[];
23
- dependencySuggestions?: unknown[];
24
- autoShapeApplied?: boolean;
25
- proofArtifacts?: unknown[] | null;
26
- staffingHint?: string | null;
27
- lastReconciledAt?: number | null;
28
- autoFixPolicy?: Record<string, unknown> | null;
29
- lensId?: string | null;
30
- createdAt?: number;
31
- updatedAt?: number;
32
- };
33
- export type WorktreeListResult = {
34
- worktrees: WorktreeRecord[];
35
- total: number;
36
- };
37
- export type CreateWorktreeInput = {
38
- title: string;
39
- topicId: string;
40
- objective?: string;
41
- hypothesis?: string;
42
- beliefIds?: string[];
43
- autoShape?: boolean;
44
- domainPackId?: string;
45
- executionOrder?: number;
46
- dependsOn?: string[];
47
- blocks?: string[];
48
- gate?: string;
49
- proofArtifacts?: unknown[];
50
- staffingHint?: string;
51
- lastReconciledAt?: number;
52
- autoFixPolicy?: Record<string, unknown>;
53
- lensId?: string;
54
- };
55
- export type ListWorktreesQuery = {
56
- topicId: string;
57
- status?: string;
58
- limit?: number;
59
- };
60
- export type ActivateWorktreeInput = {
61
- id: string;
62
- };
63
- export type MergeWorktreeInput = {
64
- id: string;
65
- summary?: string;
66
- outcomes: Array<{
67
- beliefId: string;
68
- confidence: number;
69
- rationale: string;
70
- }>;
71
- };
72
- export type MergeWorktreeResult = {
73
- worktreeId: string;
74
- status: "merged";
75
- beliefsScored: number;
76
- failedBeliefs: Array<{
77
- beliefId: string;
78
- reason: string;
79
- }>;
80
- summary?: string;
81
- mergedAt: number;
82
- };
83
- export type UpdateWorktreeTargetsInput = {
84
- id: string;
85
- addBeliefIds?: string[];
86
- addQuestionIds?: string[];
87
- removeBeliefIds?: string[];
88
- removeQuestionIds?: string[];
89
- };
90
- export type UpdateWorktreeInput = {
91
- id: string;
92
- objective?: string;
93
- hypothesis?: string;
94
- rationale?: string;
95
- track?: string;
96
- trackPosition?: number;
97
- executionBand?: number;
98
- executionOrder?: number;
99
- dependsOn?: string[];
100
- blocks?: string[];
101
- gate?: string;
102
- status?: string;
103
- topicId?: string;
104
- additionalTopicIds?: string[];
105
- proofArtifacts?: unknown[];
106
- staffingHint?: string;
107
- lastReconciledAt?: number;
108
- autoFixPolicy?: unknown;
109
- lensId?: string;
110
- };
111
- type CreateWorktreePortInput = {
112
- title: string;
113
- topicRawId: string;
114
- objective?: string;
115
- hypothesis?: string;
116
- beliefRawIds?: string[];
117
- autoShape?: boolean;
118
- domainPackId?: string;
119
- executionOrder?: number;
120
- dependsOn?: string[];
121
- blocks?: string[];
122
- gate?: string;
123
- proofArtifacts?: unknown[];
124
- staffingHint?: string;
125
- lastReconciledAt?: number;
126
- autoFixPolicy?: Record<string, unknown>;
127
- lensId?: string;
128
- };
129
- type UpdateWorktreeTargetsPortInput = {
130
- worktreeRawId: string;
131
- addBeliefRawIds?: string[];
132
- addQuestionRawIds?: string[];
133
- removeBeliefRawIds?: string[];
134
- removeQuestionRawIds?: string[];
135
- };
136
- type UpdateWorktreeMetadataPortInput = {
137
- worktreeRawId: string;
138
- objective?: string;
139
- hypothesis?: string;
140
- rationale?: string;
141
- track?: string;
142
- trackPosition?: number;
143
- executionBand?: number;
144
- executionOrder?: number;
145
- dependsOn?: string[];
146
- blocks?: string[];
147
- gate?: string;
148
- status?: string;
149
- topicId?: string;
150
- additionalTopicIds?: string[];
151
- proofArtifacts?: unknown[];
152
- staffingHint?: string;
153
- lastReconciledAt?: number;
154
- autoFixPolicy?: unknown;
155
- lensId?: string;
156
- };
157
- export type WorktreesPort = {
158
- fetchWorktree: (rawId: string) => Promise<unknown | null>;
159
- listWorktreesByTopic: (args: {
160
- topicId: string;
161
- limit?: number;
162
- }) => Promise<unknown[]>;
163
- createWorktree: (input: CreateWorktreePortInput) => Promise<unknown>;
164
- activateWorktree: (args: {
165
- worktreeRawId: string;
166
- }) => Promise<unknown>;
167
- completeWorktree: (args: {
168
- worktreeRawId: string;
169
- summary: string;
170
- }) => Promise<unknown>;
171
- scoreBeliefOutcome: (args: {
172
- beliefRawId: string;
173
- confidence: number;
174
- rationale: string;
175
- }) => Promise<unknown>;
176
- updateWorktreeMetadata: (input: UpdateWorktreeMetadataPortInput) => Promise<unknown>;
177
- updateWorktreeTargets: (input: UpdateWorktreeTargetsPortInput) => Promise<unknown>;
178
- };
179
- export declare function createWorktree(deps: WorktreesPort, input: CreateWorktreeInput): Promise<WorktreeRecord>;
180
- export declare function listWorktrees(deps: WorktreesPort, query: ListWorktreesQuery): Promise<WorktreeListResult>;
181
- export declare function activateWorktree(deps: WorktreesPort, input: ActivateWorktreeInput): Promise<WorktreeRecord>;
182
- export declare function updateWorktree(deps: WorktreesPort, input: UpdateWorktreeInput): Promise<WorktreeRecord>;
183
- export declare function updateWorktreeTargets(deps: WorktreesPort, input: UpdateWorktreeTargetsInput): Promise<WorktreeRecord>;
184
- export declare function mergeWorktree(deps: WorktreesPort, input: MergeWorktreeInput): Promise<MergeWorktreeResult>;
185
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./matching";
2
- export * from "./outbox";
3
- export * from "./types";
4
- export * from "./webhooks";
@@ -1,3 +0,0 @@
1
- export declare function eventPatternToRegExp(pattern: string): RegExp;
2
- export declare function matchesEventPattern(eventType: string, pattern: string): boolean;
3
- export declare function matchesAnyEventPattern(eventType: string, patterns: readonly string[]): boolean;
@@ -1,15 +0,0 @@
1
- import { type CreateDomainEventInput, type DomainActorType, type DomainEvent, type EventCursor } from "./types";
2
- export declare function createEventId(): string;
3
- export declare function normalizeRetentionDays(value: number | undefined): number;
4
- export declare function buildDomainEvent(input: CreateDomainEventInput): DomainEvent;
5
- export declare function compareEventCursor(left: EventCursor, right: EventCursor): number;
6
- export declare function encodeEventCursor(cursor: EventCursor): string;
7
- export declare function decodeEventCursor(cursor: string | undefined): EventCursor | null;
8
- export declare function isAfterCursor(event: Pick<DomainEvent, "timestamp" | "eventId">, cursor: EventCursor | null): boolean;
9
- export declare function sortEventsByCursor<T extends Pick<DomainEvent, "timestamp" | "eventId">>(events: readonly T[]): T[];
10
- export declare function inferActorType(args: {
11
- sessionType?: "agent" | "user";
12
- authMode?: string;
13
- principalType?: string;
14
- }): DomainActorType;
15
- export declare function emitDomainEvent(invokeMutation: (reference: any, args: CreateDomainEventInput) => Promise<unknown>, input: CreateDomainEventInput): Promise<unknown>;
@@ -1,151 +0,0 @@
1
- export declare const DOMAIN_EVENT_VERSION: "1.0";
2
- export declare const EVENT_RETENTION_DEFAULT_DAYS = 30;
3
- export declare const WEBHOOK_MAX_ATTEMPTS = 5;
4
- export declare const WEBHOOK_RETRY_DELAYS_MS: readonly [1000, 5000, 30000, 300000];
5
- export declare const DOMAIN_EVENT_TYPES: readonly ["belief.created", "belief.forked", "belief.confidence_updated", "belief.archived", "belief.refined", "belief.contract_created", "belief.contract_evaluated", "belief.lineage_queried", "evidence.created", "evidence.linked", "evidence.search_executed", "question.created", "question.answered", "question.refined", "question.status_updated", "question.archived", "edge.created", "contradiction.flagged", "worktree.created", "worktree.activated", "worktree.merged", "worktree.targets_updated", "worktree.metadata_updated", "topic.created", "topic.updated", "topic.archived", "task.created", "task.completed", "task.updated", "ontology.bound", "context.compiled", "identity.key_created", "identity.key_rotated", "identity.key_revoked", "webhook.test"];
6
- export type DomainEventType = (typeof DOMAIN_EVENT_TYPES)[number];
7
- export type DomainResourceType = "belief" | "evidence" | "question" | "edge" | "contradiction" | "worktree" | "topic" | "task" | "ontology" | "context" | "identity" | "webhook";
8
- export type DomainActorType = "human" | "agent" | "service";
9
- export type DomainEventData = Record<string, unknown>;
10
- export type DomainEvent = {
11
- eventId: string;
12
- type: DomainEventType | string;
13
- version: typeof DOMAIN_EVENT_VERSION;
14
- timestamp: number;
15
- tenantId?: string;
16
- workspaceId?: string;
17
- topicId: string;
18
- resourceId: string;
19
- resourceType: DomainResourceType | string;
20
- actorId: string;
21
- actorType: DomainActorType;
22
- data: DomainEventData;
23
- correlationId?: string;
24
- expiresAt: number;
25
- };
26
- export type CreateDomainEventInput = {
27
- eventId?: string;
28
- timestamp?: number;
29
- tenantId?: string;
30
- workspaceId?: string;
31
- topicId: string;
32
- type: DomainEventType | string;
33
- resourceId: string;
34
- resourceType: DomainResourceType | string;
35
- actorId: string;
36
- actorType: DomainActorType;
37
- data?: DomainEventData;
38
- correlationId?: string;
39
- retentionDays?: number;
40
- };
41
- export type EventCursor = {
42
- timestamp: number;
43
- eventId: string;
44
- };
45
- export type EventListQuery = {
46
- topicId?: string;
47
- after?: string;
48
- types?: string[];
49
- startTime?: number;
50
- endTime?: number;
51
- limit?: number;
52
- };
53
- export type EventListResult = {
54
- events: DomainEvent[];
55
- nextCursor: string | null;
56
- };
57
- export type WebhookSecretMode = "configured";
58
- export type WebhookRecord = {
59
- id: string;
60
- webhookId: string;
61
- tenantId?: string;
62
- workspaceId?: string;
63
- topicId?: string;
64
- url: string;
65
- events: string[];
66
- active: boolean;
67
- secretConfigured: boolean;
68
- createdAt: number;
69
- updatedAt: number;
70
- createdBy: string;
71
- updatedBy: string;
72
- lastDeliveryAt?: number;
73
- lastSuccessfulDeliveryAt?: number;
74
- };
75
- export type WebhookCreateInput = {
76
- url: string;
77
- events: string[];
78
- secret: string;
79
- topicId?: string;
80
- active?: boolean;
81
- };
82
- export type WebhookUpdateInput = {
83
- url?: string;
84
- events?: string[];
85
- secret?: string;
86
- topicId?: string | null;
87
- active?: boolean;
88
- };
89
- export type WebhookDeliveryStatus = "pending" | "delivering" | "succeeded" | "failed" | "dead_letter";
90
- export type WebhookDeliveryRecord = {
91
- id: string;
92
- deliveryId: string;
93
- webhookId: string;
94
- eventId: string;
95
- eventType: string;
96
- topicId: string;
97
- status: WebhookDeliveryStatus;
98
- attemptCount: number;
99
- maxAttempts: number;
100
- nextAttemptAt?: number;
101
- lastAttemptAt?: number;
102
- lastStatusCode?: number;
103
- lastError?: string;
104
- deliveredAt?: number;
105
- createdAt: number;
106
- updatedAt: number;
107
- };
108
- export type WebhookDeliveryAttemptRecord = {
109
- id: string;
110
- attemptId: string;
111
- deliveryId: string;
112
- webhookId: string;
113
- eventId: string;
114
- eventType: string;
115
- attemptNumber: number;
116
- status: "succeeded" | "failed";
117
- statusCode?: number;
118
- error?: string;
119
- responseBody?: string;
120
- durationMs?: number;
121
- createdAt: number;
122
- };
123
- export type WebhookDeliveriesResult = {
124
- deliveries: Array<WebhookDeliveryRecord & {
125
- attempts?: WebhookDeliveryAttemptRecord[];
126
- }>;
127
- };
128
- export type WebhookHealthResult = {
129
- webhookId: string;
130
- totalAttempts: number;
131
- successfulAttempts: number;
132
- failedAttempts: number;
133
- successRate: number;
134
- pendingDeliveries: number;
135
- deadLetterDeliveries: number;
136
- lastDeliveryAt?: number;
137
- lastSuccessfulDeliveryAt?: number;
138
- };
139
- export type WebhookTestResult = {
140
- webhookId: string;
141
- deliveryId: string;
142
- status: WebhookDeliveryStatus;
143
- attempts: number;
144
- };
145
- export type ReplayEventsInput = EventListQuery & {
146
- webhookId?: string;
147
- };
148
- export type ReplayEventsResult = EventListResult & {
149
- replayedDeliveries?: number;
150
- replayedWebhookId?: string;
151
- };
@@ -1,9 +0,0 @@
1
- import { type WebhookDeliveryStatus, type WebhookRecord } from "./types";
2
- export declare function assertValidWebhookUrl(url: string): string;
3
- export declare function normalizeWebhookPatterns(patterns: readonly string[]): string[];
4
- export declare function assertValidWebhookSecret(secret: string): string;
5
- export declare function computeWebhookSignature(payload: string, secret: string): Promise<string>;
6
- export declare function nextDeliveryAttemptAt(currentAttemptCount: number, now?: number): number | undefined;
7
- export declare function resolveDeliveryFailureStatus(attemptCount: number): WebhookDeliveryStatus;
8
- export declare function sanitizeWebhookRecord(value: Record<string, unknown>): WebhookRecord;
9
- export declare function truncateWebhookResponseBody(responseBody: string | undefined, maxLength?: number): string | undefined;
@@ -1,15 +0,0 @@
1
- import { type BeliefsClientCoreConfig } from "@/lucern/packages/client-core/src/beliefs";
2
- export type BeliefsFacadeConfig = BeliefsClientCoreConfig;
3
- export declare function createBeliefsFacade(config?: BeliefsFacadeConfig): {
4
- create(input: Parameters<(input: import("..").CreateBeliefInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateResponse>>[0], idempotencyKey?: Parameters<(input: import("..").CreateBeliefInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateResponse>>[1]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateResponse>;
5
- get(id: string): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsGetResponse>;
6
- list(query: Parameters<(query: import("..").ListBeliefsQuery) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsListResponse>>[0]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsListResponse>;
7
- refine(id: string, input: Parameters<(id: string, input: Omit<import("..").BeliefRefineInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsRefineResponse>>[1], idempotencyKey?: Parameters<(id: string, input: Omit<import("..").BeliefRefineInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsRefineResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsRefineResponse>;
8
- fork(id: string, input: Parameters<(id: string, input: Omit<import("..").ForkBeliefInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsForkResponse>>[1], idempotencyKey?: Parameters<(id: string, input: Omit<import("..").ForkBeliefInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsForkResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsForkResponse>;
9
- updateConfidence(id: string, input: Parameters<(id: string, input: Omit<import("..").UpdateBeliefConfidenceInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsUpdateConfidenceResponse>>[1], idempotencyKey?: Parameters<(id: string, input: Omit<import("..").UpdateBeliefConfidenceInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsUpdateConfidenceResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsUpdateConfidenceResponse>;
10
- archive(id: string, input?: Parameters<(id: string, input?: Omit<import("..").ArchiveBeliefInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsArchiveResponse>>[1], idempotencyKey?: Parameters<(id: string, input?: Omit<import("..").ArchiveBeliefInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsArchiveResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsArchiveResponse>;
11
- lineage(id: string): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsLineageResponse>;
12
- confidenceHistory(id: string): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsConfidenceHistoryResponse>;
13
- createContract(id: string, input: Parameters<(id: string, input: import("..").BeliefContractCreateInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateContractResponse>>[1], idempotencyKey?: Parameters<(id: string, input: import("..").BeliefContractCreateInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateContractResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsCreateContractResponse>;
14
- bisect(id: string, input: Parameters<(id: string, input: Omit<import("..").BisectBeliefConfidenceInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsBisectResponse>>[1], idempotencyKey?: Parameters<(id: string, input: Omit<import("..").BisectBeliefConfidenceInput, "id">, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsBisectResponse>>[2]): Promise<import("@/lucern/packages/client-core/src/beliefs").BeliefsBisectResponse>;
15
- };
@@ -1,12 +0,0 @@
1
- import { type CompileContextInput, type ContextClientRequest } from "../../../client-core/src/context";
2
- import type { PublicCompiledContext } from "../../../domain-context/src";
3
- export type ContextFacadeTransport = {
4
- request<T>(request: ContextClientRequest): Promise<T>;
5
- };
6
- export type ContextFacadeConfig = {
7
- transport: ContextFacadeTransport;
8
- };
9
- export declare function createContextFacade(config: ContextFacadeConfig): {
10
- compile(topicId: string, input?: CompileContextInput): Promise<PublicCompiledContext>;
11
- };
12
- export type { CompileContextInput, PublicCompiledContext };
@@ -1,7 +0,0 @@
1
- import { type ContradictionsClientCoreConfig } from "@/lucern/packages/client-core/src/contradictions";
2
- export type ContradictionsFacadeConfig = ContradictionsClientCoreConfig;
3
- export declare function createContradictionsFacade(config?: ContradictionsFacadeConfig): {
4
- flag(input: Parameters<(input: import("..").FlagContradictionInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsFlagResponse>>[0], idempotencyKey?: Parameters<(input: import("..").FlagContradictionInput, idempotencyKey?: string) => Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsFlagResponse>>[1]): Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsFlagResponse>;
5
- list(query: Parameters<(query: import("..").ListContradictionsQuery) => Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsListResponse>>[0]): Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsListResponse>;
6
- get(id: string): Promise<import("@/lucern/packages/client-core/src/contradictions").ContradictionsGetResponse>;
7
- };