@lucern/sdk 0.3.0-alpha.6 → 0.3.0-alpha.7
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 +3 -0
- package/dist/adminClient.d.ts +8 -8
- package/dist/adminClient.js +47 -36
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.js +26 -8
- package/dist/answersClient.js.map +1 -1
- package/dist/audience/index.d.ts +2 -1
- package/dist/audience/index.js +1 -3
- package/dist/audience/index.js.map +1 -1
- package/dist/audiencesClient.d.ts +16 -16
- package/dist/audiencesClient.js +102 -87
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.js +30 -10
- package/dist/auditClient.js.map +1 -1
- package/dist/authDeviceClient.js +16 -3
- package/dist/authDeviceClient.js.map +1 -1
- package/dist/beliefs/index.d.ts +3 -3
- package/dist/beliefs/index.js +513 -758
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +2 -2
- package/dist/beliefsClient.js +31 -19
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.js +10 -3
- package/dist/boundaryClientSurface.js.map +1 -1
- package/dist/client.d.ts +247 -270
- package/dist/client.js +513 -758
- package/dist/client.js.map +1 -1
- package/dist/clientHelpers.d.ts +29 -0
- package/dist/clientHelpers.js +122 -0
- package/dist/clientHelpers.js.map +1 -0
- package/dist/contextClient.js +26 -8
- package/dist/contextClient.js.map +1 -1
- package/dist/contextPackCompiler.js +19 -30
- package/dist/contextPackCompiler.js.map +1 -1
- package/dist/contextPackPolicy.js +7 -17
- package/dist/contextPackPolicy.js.map +1 -1
- package/dist/contracts/index.js +4 -3
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lens-filter.contract.js +4 -3
- package/dist/contracts/lens-filter.contract.js.map +1 -1
- package/dist/contracts/lens-workflow.contract.js +4 -3
- package/dist/contracts/lens-workflow.contract.js.map +1 -1
- package/dist/contracts/lensFilter.js +4 -3
- package/dist/contracts/lensFilter.js.map +1 -1
- package/dist/contracts/lensWorkflow.js +4 -3
- package/dist/contracts/lensWorkflow.js.map +1 -1
- package/dist/contradictions/index.d.ts +2 -2
- package/dist/contradictions/index.js +513 -758
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +2 -1
- package/dist/coreClient.js +27 -11
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +12 -12
- package/dist/decisions/index.js +513 -758
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +4 -12
- package/dist/decisionsClient.js +37 -31
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +2 -2
- package/dist/edges/index.js +513 -758
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.js +37 -14
- package/dist/embeddingsClient.js.map +1 -1
- package/dist/eventingClient.js +37 -14
- package/dist/eventingClient.js.map +1 -1
- package/dist/events.js +6 -3
- package/dist/events.js.map +1 -1
- package/dist/eventsCore.d.ts +1 -1
- package/dist/eventsCore.js +27 -11
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +2 -2
- package/dist/evidence/index.js +513 -758
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.js +27 -11
- package/dist/evidenceClient.js.map +1 -1
- package/dist/functionSurface.js +27 -11
- package/dist/functionSurface.js.map +1 -1
- package/dist/functionSurfaceClient.js +27 -11
- package/dist/functionSurfaceClient.js.map +1 -1
- package/dist/gatewayFacades.d.ts +27 -45
- package/dist/gatewayFacades.js +92 -118
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.js +31 -12
- package/dist/graphAnalysisClient.js.map +1 -1
- package/dist/graphClient.d.ts +5 -13
- package/dist/graphClient.js +42 -35
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.js +31 -13
- package/dist/graphRecommendationsClient.js.map +1 -1
- package/dist/graphStateClassifierClient.js +37 -15
- package/dist/graphStateClassifierClient.js.map +1 -1
- package/dist/harnessClient.d.ts +13 -24
- package/dist/harnessClient.js +38 -37
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +8 -8
- package/dist/identityClient.js +48 -31
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +592 -819
- package/dist/index.js.map +1 -1
- package/dist/infisicalRuntime.js +47 -24
- package/dist/infisicalRuntime.js.map +1 -1
- package/dist/jobsClient.js +37 -15
- package/dist/jobsClient.js.map +1 -1
- package/dist/learningClient.d.ts +6 -6
- package/dist/learningClient.js +55 -39
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +29 -35
- package/dist/lenses/index.js +513 -758
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.js +26 -8
- package/dist/mcpClient.js.map +1 -1
- package/dist/modelRuntimeClient.js +37 -14
- package/dist/modelRuntimeClient.js.map +1 -1
- package/dist/nodes/index.d.ts +17 -17
- package/dist/nodes/index.js +513 -758
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +31 -30
- package/dist/ontologies/index.js +513 -758
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +17 -25
- package/dist/ontologyClient.js +63 -37
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.js +37 -15
- package/dist/ontologyLinksClient.js.map +1 -1
- package/dist/orgGraphSearchClient.js +30 -10
- package/dist/orgGraphSearchClient.js.map +1 -1
- package/dist/packsClient.d.ts +9 -23
- package/dist/packsClient.js +39 -43
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +11 -10
- package/dist/policyClient.js +48 -22
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +2 -2
- package/dist/questions/index.js +513 -758
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/reportsClient.d.ts +7 -7
- package/dist/reportsClient.js +84 -48
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +3 -3
- package/dist/schemaClient.js +40 -26
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +6 -3
- package/dist/sdkSurface.js +10 -6
- package/dist/sdkSurface.js.map +1 -1
- package/dist/sourcesClient.js +27 -11
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.js +37 -15
- package/dist/telemetryClient.js.map +1 -1
- package/dist/toolRegistryClient.d.ts +10 -2
- package/dist/toolRegistryClient.js +50 -16
- package/dist/toolRegistryClient.js.map +1 -1
- package/dist/topics/index.d.ts +5 -5
- package/dist/topics/index.js +513 -758
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.js +37 -16
- package/dist/topicsClient.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/workflowClient.d.ts +15 -33
- package/dist/workflowClient.js +43 -50
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +22 -30
- package/dist/worktrees/index.js +513 -758
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -26,8 +26,6 @@ import '../mcpClient.js';
|
|
|
26
26
|
import '@lucern/contracts/mcp-gateway-boundary.contract';
|
|
27
27
|
import '../identityClient.js';
|
|
28
28
|
import '../packsClient.js';
|
|
29
|
-
import '../customTools.js';
|
|
30
|
-
import 'zod';
|
|
31
29
|
import '../toolRegistryClient.js';
|
|
32
30
|
import '../telemetryClient.js';
|
|
33
31
|
import '../jobsClient.js';
|
|
@@ -47,6 +45,8 @@ import '../topicsClient.js';
|
|
|
47
45
|
import '../answersClient.js';
|
|
48
46
|
import '../auditClient.js';
|
|
49
47
|
import '../contextClient.js';
|
|
48
|
+
import '../customTools.js';
|
|
49
|
+
import 'zod';
|
|
50
50
|
import '../decisionsClient.js';
|
|
51
51
|
import '../evidenceClient.js';
|
|
52
52
|
import '../eventingClient.js';
|
|
@@ -91,24 +91,22 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
91
91
|
mergeWorktree: (worktreeId: string, input: MergeInput) => Promise<PlatformGatewaySuccess<{
|
|
92
92
|
[x: string]: unknown;
|
|
93
93
|
}>>;
|
|
94
|
-
completeWorktree: (input:
|
|
94
|
+
completeWorktree: (input: {
|
|
95
95
|
worktreeId: string;
|
|
96
96
|
keyFindings?: string[];
|
|
97
97
|
decisionsReached?: string[];
|
|
98
98
|
nextSteps?: string[];
|
|
99
99
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
100
100
|
[x: string]: unknown;
|
|
101
|
-
}>>>[0], idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
102
|
-
[x: string]: unknown;
|
|
103
101
|
}>>;
|
|
104
102
|
raw: {
|
|
105
|
-
createBranch
|
|
103
|
+
createBranch: (input: {
|
|
106
104
|
name: string;
|
|
107
105
|
topicId?: string;
|
|
108
106
|
description?: string;
|
|
109
107
|
metadata?: JsonObject;
|
|
110
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord
|
|
111
|
-
createLens
|
|
108
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
|
|
109
|
+
createLens: (input: {
|
|
112
110
|
name: string;
|
|
113
111
|
workspaceId?: string;
|
|
114
112
|
topicId?: string;
|
|
@@ -118,22 +116,22 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
118
116
|
workflowTemplates?: LensWorkflowTemplate[];
|
|
119
117
|
taskTemplates?: LensTaskTemplate[];
|
|
120
118
|
filterCriteria?: JsonObject;
|
|
121
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord
|
|
122
|
-
listLenses
|
|
119
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
|
|
120
|
+
listLenses: (query: {
|
|
123
121
|
workspaceId?: string;
|
|
124
122
|
topicId?: string;
|
|
125
123
|
status?: WorkflowLensStatus;
|
|
126
124
|
perspectiveType?: WorkflowLensPerspectiveType;
|
|
127
|
-
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses"
|
|
128
|
-
applyLensToTopic
|
|
125
|
+
} & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
|
|
126
|
+
applyLensToTopic: (input: {
|
|
129
127
|
lensId: string;
|
|
130
128
|
topicId?: string;
|
|
131
129
|
metadata?: JsonObject;
|
|
132
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord
|
|
133
|
-
removeLensFromTopic
|
|
130
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
131
|
+
removeLensFromTopic: (input: {
|
|
134
132
|
lensId: string;
|
|
135
133
|
topicId?: string;
|
|
136
|
-
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord
|
|
134
|
+
} & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
|
|
137
135
|
create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
138
136
|
[x: string]: unknown;
|
|
139
137
|
}>>;
|
|
@@ -194,36 +192,34 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
194
192
|
updateTargets(input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
195
193
|
[x: string]: unknown;
|
|
196
194
|
}>>;
|
|
197
|
-
listAll
|
|
195
|
+
listAll: (query?: {
|
|
198
196
|
status?: WorkflowWorktreeStatus;
|
|
199
197
|
groupBy?: "campaign" | "lane" | "flat";
|
|
200
198
|
lane?: string;
|
|
201
199
|
campaign?: number;
|
|
202
200
|
limit?: number;
|
|
203
|
-
}) => Promise<PlatformGatewaySuccess<ListWorktreesResponse
|
|
201
|
+
}) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
|
|
204
202
|
merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
|
|
205
203
|
[x: string]: unknown;
|
|
206
204
|
}>>;
|
|
207
|
-
push
|
|
205
|
+
push: (worktreeId: string, input: {
|
|
208
206
|
targetContext: string;
|
|
209
207
|
beliefIds?: string[];
|
|
210
208
|
metadata?: JsonObject;
|
|
211
|
-
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse
|
|
212
|
-
openPullRequest
|
|
209
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
|
|
210
|
+
openPullRequest: (worktreeId: string, input: {
|
|
213
211
|
summary: string;
|
|
214
212
|
reviewers?: string[];
|
|
215
213
|
status?: "pending_review" | "changes_requested" | "approved" | "blocked";
|
|
216
|
-
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse
|
|
214
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
|
|
217
215
|
pipelineSnapshot(topicId: string): FunctionSurfaceResult<unknown>;
|
|
218
|
-
complete
|
|
216
|
+
complete: (input: {
|
|
219
217
|
worktreeId: string;
|
|
220
218
|
keyFindings?: string[];
|
|
221
219
|
decisionsReached?: string[];
|
|
222
220
|
nextSteps?: string[];
|
|
223
221
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
224
222
|
[x: string]: unknown;
|
|
225
|
-
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
226
|
-
[x: string]: unknown;
|
|
227
223
|
}>>;
|
|
228
224
|
advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
229
225
|
[x: string]: unknown;
|
|
@@ -231,22 +227,18 @@ declare function createWorktreesClient(config?: WorktreesClientConfig): {
|
|
|
231
227
|
setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
232
228
|
[x: string]: unknown;
|
|
233
229
|
}>>;
|
|
234
|
-
patchState
|
|
230
|
+
patchState: (input: {
|
|
235
231
|
worktreeId: string;
|
|
236
232
|
patch: {
|
|
237
233
|
[x: string]: unknown;
|
|
238
234
|
};
|
|
239
235
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
240
236
|
[x: string]: unknown;
|
|
241
|
-
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
242
|
-
[x: string]: unknown;
|
|
243
237
|
}>>;
|
|
244
|
-
bulkCreate
|
|
238
|
+
bulkCreate: (input: {
|
|
245
239
|
worktrees: unknown[];
|
|
246
240
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
247
241
|
[x: string]: unknown;
|
|
248
|
-
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
249
|
-
[x: string]: unknown;
|
|
250
242
|
}>>;
|
|
251
243
|
};
|
|
252
244
|
};
|