@lucern/sdk 0.2.0-alpha.4 → 0.2.0-alpha.6
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/README.md +31 -0
- package/dist/.generated +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -8894
- package/dist/lib/platform/auth/credentials.d.ts +5 -0
- package/dist/lib/platform/auth/credentials.js +40 -0
- package/dist/lib/platform/sdk/adminClient.d.ts +404 -0
- package/dist/lib/platform/sdk/adminClient.js +384 -0
- package/dist/lib/platform/sdk/answersClient.d.ts +16 -0
- package/dist/lib/platform/sdk/answersClient.js +21 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/audiencesClient.d.ts +6 -0
- package/dist/lib/platform/sdk/audiencesClient.js +111 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/auditClient.d.ts +3 -0
- package/dist/lib/platform/sdk/auditClient.js +21 -0
- package/dist/lib/platform/sdk/beliefsClient.d.ts +157 -0
- package/dist/lib/platform/sdk/beliefsClient.js +124 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/client.d.ts +957 -146
- package/dist/lib/platform/sdk/client.js +1831 -0
- package/dist/lib/platform/sdk/contextClient.d.ts +21 -0
- package/dist/lib/platform/sdk/contextClient.js +86 -0
- package/dist/lib/platform/sdk/contextFacade.d.ts +10 -0
- package/dist/lib/platform/sdk/contextFacade.js +10 -0
- package/dist/{lucern/packages/domain-context/src/context-pack-compiler.d.ts → lib/platform/sdk/contextPackCompiler.d.ts} +2 -3
- package/dist/lib/platform/sdk/contextPackCompiler.js +534 -0
- package/dist/lib/platform/sdk/contextTypes.d.ts +133 -0
- package/dist/lib/platform/sdk/contextTypes.js +1 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/controlObjectOwnership.d.ts +15 -0
- package/dist/lib/platform/sdk/controlObjectOwnership.js +220 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/coreClient.d.ts +19 -0
- package/dist/lib/platform/sdk/coreClient.js +366 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/customTools.d.ts +21 -3
- package/dist/lib/platform/sdk/customTools.js +247 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/decisionsClient.d.ts +9 -0
- package/dist/lib/platform/sdk/decisionsClient.js +129 -0
- package/dist/lib/platform/sdk/domainContext.d.ts +1 -0
- package/dist/lib/platform/sdk/domainContext.js +1 -0
- package/dist/lib/platform/sdk/events.d.ts +176 -0
- package/dist/lib/platform/sdk/events.js +261 -0
- package/dist/lib/platform/sdk/eventsCore.d.ts +13 -0
- package/dist/lib/platform/sdk/eventsCore.js +13 -0
- package/dist/lib/platform/sdk/gatewayFacades.d.ts +586 -0
- package/dist/lib/platform/sdk/gatewayFacades.js +845 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/graphClient.d.ts +75 -0
- package/dist/lib/platform/sdk/graphClient.js +235 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/harnessClient.d.ts +90 -1
- package/dist/lib/platform/sdk/harnessClient.js +219 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/identityClient.d.ts +45 -15
- package/dist/lib/platform/sdk/identityClient.js +131 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/index.d.ts +24 -3
- package/dist/lib/platform/sdk/index.js +49 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/learningClient.d.ts +3 -0
- package/dist/lib/platform/sdk/learningClient.js +53 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/mcpParityClient.d.ts +1 -0
- package/dist/lib/platform/sdk/mcpParityClient.js +196 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/mcpParitySurface.d.ts +2 -0
- package/dist/lib/platform/sdk/mcpParitySurface.js +57 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/ontologyClient.d.ts +16 -0
- package/dist/lib/platform/sdk/ontologyClient.js +161 -0
- package/dist/lib/platform/sdk/packRuntime.d.ts +1 -0
- package/dist/lib/platform/sdk/packRuntime.js +1 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/packsClient.d.ts +25 -0
- package/dist/lib/platform/sdk/packsClient.js +157 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/policyClient.d.ts +90 -1
- package/dist/lib/platform/sdk/policyClient.js +277 -0
- package/dist/lib/platform/sdk/promptCatalog.d.ts +1 -0
- package/dist/lib/platform/sdk/promptCatalog.js +1 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/reportsClient.d.ts +3 -0
- package/dist/lib/platform/sdk/reportsClient.js +64 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/schemaClient.d.ts +5 -0
- package/dist/lib/platform/sdk/schemaClient.js +71 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/sdkSurface.d.ts +1 -0
- package/dist/lib/platform/sdk/sdkSurface.js +140 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/topicsClient.d.ts +33 -0
- package/dist/lib/platform/sdk/topicsClient.js +118 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/types.d.ts +224 -2
- package/dist/lib/platform/sdk/types.js +1 -0
- package/dist/lib/platform/sdk/version.js +2 -0
- package/dist/{packages/sdk/src → lib/platform/sdk}/workflowClient.d.ts +63 -2
- package/dist/lib/platform/sdk/workflowClient.js +366 -0
- package/dist/lucern/contracts/src/api-enums.contract.d.ts +58 -0
- package/dist/lucern/contracts/src/api-enums.contract.js +147 -0
- package/dist/lucern/contracts/src/auth-context.contract.d.ts +8 -0
- package/dist/lucern/contracts/src/auth-context.contract.js +8 -0
- package/dist/lucern/contracts/src/auth-session.contract.d.ts +5 -50
- package/dist/lucern/contracts/src/auth-session.contract.js +8 -0
- package/dist/lucern/contracts/src/auth.contract.d.ts +88 -0
- package/dist/lucern/contracts/src/auth.contract.js +57 -0
- package/dist/lucern/contracts/src/context-pack.contract.js +169 -0
- package/dist/lucern/contracts/src/convex-admin.contract.d.ts +5 -0
- package/dist/lucern/contracts/src/convex-admin.contract.js +1 -0
- package/dist/lucern/contracts/src/events-types.contract.d.ts +8 -0
- package/dist/lucern/contracts/src/events-types.contract.js +8 -0
- package/dist/lucern/{packages/events/src/types.d.ts → contracts/src/events.contract.d.ts} +25 -0
- package/dist/lucern/contracts/src/events.contract.js +159 -0
- package/dist/lucern/contracts/src/gateway.contract.d.ts +74 -0
- package/dist/lucern/contracts/src/gateway.contract.js +19 -0
- package/dist/lucern/contracts/src/ids.contract.js +24 -0
- package/dist/lucern/contracts/src/index.d.ts +29 -0
- package/dist/lucern/contracts/src/index.js +29 -0
- package/dist/lucern/contracts/src/lens-filter.contract.js +95 -0
- package/dist/lucern/contracts/src/lens-workflow.contract.js +54 -0
- package/dist/lucern/contracts/src/mcp-tools.contract.js +3281 -0
- package/dist/lucern/contracts/src/ontology-matching.contract.d.ts +8 -0
- package/dist/lucern/contracts/src/ontology-matching.contract.js +8 -0
- package/dist/lucern/contracts/src/prompt.contract.d.ts +24 -0
- package/dist/lucern/contracts/src/prompt.contract.js +24 -0
- package/dist/lucern/contracts/src/sdk-methods.contract.d.ts +358 -0
- package/dist/lucern/contracts/src/sdk-methods.contract.js +19 -0
- package/dist/lucern/contracts/src/sdk-tools.contract.d.ts +92 -0
- package/dist/lucern/contracts/src/sdk-tools.contract.js +1398 -0
- package/dist/lucern/contracts/src/text-matching.contract.js +277 -0
- package/dist/lucern/contracts/src/topic-scope.contract.d.ts +8 -0
- package/dist/lucern/contracts/src/topic-scope.contract.js +8 -0
- package/dist/lucern/contracts/src/workflow-runtime.contract.js +257 -0
- package/dist/realtime-refs.d.ts +1 -0
- package/dist/realtime-refs.js +1 -0
- package/dist/realtime.d.ts +1 -0
- package/dist/realtime.js +1 -0
- package/package.json +18 -5
- package/dist/index.js.map +0 -1
- package/dist/lucern/mcp-server/src/context-pack-policy.d.ts +0 -119
- package/dist/lucern/mcp-server/src/context-pack-schema.d.ts +0 -18
- package/dist/lucern/modules/graph-primitives/src/ontology-matching.d.ts +0 -78
- package/dist/lucern/packages/client-core/src/beliefs.d.ts +0 -30
- package/dist/lucern/packages/client-core/src/context.d.ts +0 -29
- package/dist/lucern/packages/client-core/src/contradictions.d.ts +0 -11
- package/dist/lucern/packages/client-core/src/edges.d.ts +0 -11
- package/dist/lucern/packages/client-core/src/events.d.ts +0 -9
- package/dist/lucern/packages/client-core/src/evidence.d.ts +0 -21
- package/dist/lucern/packages/client-core/src/graph.d.ts +0 -17
- package/dist/lucern/packages/client-core/src/identity.d.ts +0 -7
- package/dist/lucern/packages/client-core/src/ontologies.d.ts +0 -13
- package/dist/lucern/packages/client-core/src/questions.d.ts +0 -39
- package/dist/lucern/packages/client-core/src/search.d.ts +0 -7
- package/dist/lucern/packages/client-core/src/tasks.d.ts +0 -13
- package/dist/lucern/packages/client-core/src/topics.d.ts +0 -17
- package/dist/lucern/packages/client-core/src/webhooks.d.ts +0 -35
- package/dist/lucern/packages/client-core/src/worktrees.d.ts +0 -17
- package/dist/lucern/packages/domain-beliefs/src/beliefs.d.ts +0 -283
- package/dist/lucern/packages/domain-beliefs/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-context/src/compile.d.ts +0 -11
- package/dist/lucern/packages/domain-context/src/index.d.ts +0 -4
- package/dist/lucern/packages/domain-context/src/ports.d.ts +0 -58
- package/dist/lucern/packages/domain-context/src/public-types.d.ts +0 -1
- package/dist/lucern/packages/domain-edges/src/contradictions.d.ts +0 -59
- package/dist/lucern/packages/domain-edges/src/edges.d.ts +0 -91
- package/dist/lucern/packages/domain-edges/src/index.d.ts +0 -2
- package/dist/lucern/packages/domain-evidence/src/evidence.d.ts +0 -115
- package/dist/lucern/packages/domain-evidence/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-graph/src/graph.d.ts +0 -150
- package/dist/lucern/packages/domain-identity/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-identity/src/whoami.d.ts +0 -13
- package/dist/lucern/packages/domain-ontologies/src/ontologies.d.ts +0 -123
- package/dist/lucern/packages/domain-questions/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-questions/src/questions.d.ts +0 -147
- package/dist/lucern/packages/domain-search/src/search.d.ts +0 -97
- package/dist/lucern/packages/domain-tasks/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-tasks/src/tasks.d.ts +0 -102
- package/dist/lucern/packages/domain-topics/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-topics/src/topics.d.ts +0 -147
- package/dist/lucern/packages/domain-worktrees/src/index.d.ts +0 -1
- package/dist/lucern/packages/domain-worktrees/src/worktrees.d.ts +0 -185
- package/dist/lucern/packages/events/src/index.d.ts +0 -4
- package/dist/lucern/packages/events/src/matching.d.ts +0 -3
- package/dist/lucern/packages/events/src/outbox.d.ts +0 -15
- package/dist/lucern/packages/events/src/webhooks.d.ts +0 -9
- package/dist/lucern/packages/sdk-typescript/src/facade/beliefs.d.ts +0 -15
- package/dist/lucern/packages/sdk-typescript/src/facade/context.d.ts +0 -12
- package/dist/lucern/packages/sdk-typescript/src/facade/contradictions.d.ts +0 -7
- package/dist/lucern/packages/sdk-typescript/src/facade/edges.d.ts +0 -7
- package/dist/lucern/packages/sdk-typescript/src/facade/events.d.ts +0 -6
- package/dist/lucern/packages/sdk-typescript/src/facade/evidence.d.ts +0 -21
- package/dist/lucern/packages/sdk-typescript/src/facade/graph.d.ts +0 -10
- package/dist/lucern/packages/sdk-typescript/src/facade/identity.d.ts +0 -5
- package/dist/lucern/packages/sdk-typescript/src/facade/ontologies.d.ts +0 -8
- package/dist/lucern/packages/sdk-typescript/src/facade/questions.d.ts +0 -39
- package/dist/lucern/packages/sdk-typescript/src/facade/search.d.ts +0 -5
- package/dist/lucern/packages/sdk-typescript/src/facade/tasks.d.ts +0 -8
- package/dist/lucern/packages/sdk-typescript/src/facade/topics.d.ts +0 -10
- package/dist/lucern/packages/sdk-typescript/src/facade/webhooks.d.ts +0 -16
- package/dist/lucern/packages/sdk-typescript/src/facade/worktrees.d.ts +0 -10
- package/dist/lucern/packages/sdk-typescript/src/index.d.ts +0 -28
- package/dist/packages/sdk/src/adminClient.d.ts +0 -89
- package/dist/packages/sdk/src/answersClient.d.ts +0 -5
- package/dist/packages/sdk/src/beliefsClient.d.ts +0 -52
- package/dist/packages/sdk/src/contextClient.d.ts +0 -9
- package/dist/packages/sdk/src/contracts/api-enums.contract.d.ts +0 -79
- /package/dist/{packages/sdk/src → lib/platform/sdk}/version.d.ts +0 -0
- /package/dist/lucern/{packages/client-core/src/ids.d.ts → contracts/src/ids.contract.d.ts} +0 -0
- /package/dist/lucern/{modules/graph-primitives/src/text-matching.d.ts → contracts/src/text-matching.contract.d.ts} +0 -0
|
@@ -49,12 +49,19 @@ type BeliefsCompatForkInput = {
|
|
|
49
49
|
};
|
|
50
50
|
type BeliefsCompatUpdateConfidenceInput = {
|
|
51
51
|
confidence: number;
|
|
52
|
-
trigger?: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "manual" | "decay" | "agent_assessment" | "merge_outcome" | "
|
|
52
|
+
trigger?: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "manual" | "decay" | "agent_assessment" | "merge_outcome" | "worktree_outcome" | "worktree_completed";
|
|
53
53
|
rationale: string;
|
|
54
54
|
certainty?: number;
|
|
55
55
|
maxInlinePropagationTargets?: number;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* Configuration for the high-level Lucern SDK client.
|
|
59
|
+
*
|
|
60
|
+
* At minimum, provide `apiKey` and `baseUrl`. The SDK handles
|
|
61
|
+
* authentication, retries, and idempotency automatically.
|
|
62
|
+
*/
|
|
57
63
|
export type LucernClientConfig = ClientConfig & {
|
|
64
|
+
/** API key for authenticating with the Lucern platform. */
|
|
58
65
|
apiKey?: string;
|
|
59
66
|
/**
|
|
60
67
|
* Optional Clerk JWT for per-user identity and RBAC.
|
|
@@ -68,10 +75,14 @@ export type LucernClientConfig = ClientConfig & {
|
|
|
68
75
|
* to ensure the pack is available in the workspace.
|
|
69
76
|
*/
|
|
70
77
|
packKey?: string;
|
|
78
|
+
/** Target environment. Defaults to production if not specified. */
|
|
71
79
|
environment?: "sandbox" | "production";
|
|
72
80
|
};
|
|
73
81
|
/**
|
|
74
|
-
* Create the high-level Lucern SDK
|
|
82
|
+
* Create the high-level Lucern SDK client with all domain namespaces.
|
|
83
|
+
*
|
|
84
|
+
* @param config - Client configuration with API key, base URL, and optional settings.
|
|
85
|
+
* @returns The Lucern client with namespaced methods for beliefs, topics, evidence, decisions, and more.
|
|
75
86
|
*/
|
|
76
87
|
export declare function createLucernClient(config?: LucernClientConfig): {
|
|
77
88
|
config: LucernClientConfig;
|
|
@@ -83,28 +94,169 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
83
94
|
minConfidence?: number;
|
|
84
95
|
limit?: number;
|
|
85
96
|
cursor?: string;
|
|
86
|
-
}): Promise<GatewayDataEnvelope<
|
|
97
|
+
}): Promise<GatewayDataEnvelope<{
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
} & {
|
|
100
|
+
cursor?: string;
|
|
101
|
+
total?: number;
|
|
102
|
+
} & {
|
|
103
|
+
beliefs?: {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}[];
|
|
106
|
+
results?: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
}[];
|
|
109
|
+
}>>;
|
|
87
110
|
events: {
|
|
88
|
-
list(query?: Parameters<(query
|
|
89
|
-
|
|
111
|
+
list(query?: Parameters<(query?: {
|
|
112
|
+
topicId?: string;
|
|
113
|
+
after?: string;
|
|
114
|
+
types?: string[];
|
|
115
|
+
startTime?: number;
|
|
116
|
+
endTime?: number;
|
|
117
|
+
limit?: number;
|
|
118
|
+
}) => Promise<PlatformGatewaySuccess<{
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
} & {
|
|
121
|
+
cursor?: string;
|
|
122
|
+
total?: number;
|
|
123
|
+
} & {
|
|
124
|
+
events?: {
|
|
125
|
+
[x: string]: unknown;
|
|
126
|
+
}[];
|
|
127
|
+
}>>>[0]): Promise<GatewayDataEnvelope<{
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
} & {
|
|
130
|
+
cursor?: string;
|
|
131
|
+
total?: number;
|
|
132
|
+
} & {
|
|
133
|
+
events?: {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}[];
|
|
136
|
+
}>>;
|
|
137
|
+
replay(input: Parameters<(input: {
|
|
138
|
+
[x: string]: unknown;
|
|
139
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
140
|
+
[x: string]: unknown;
|
|
141
|
+
}>>>[0]): Promise<GatewayDataEnvelope<{
|
|
142
|
+
[x: string]: unknown;
|
|
143
|
+
}>>;
|
|
90
144
|
};
|
|
91
145
|
beliefs: {
|
|
92
|
-
create(input: BeliefsCompatCreateInput): Promise<GatewayDataEnvelope<
|
|
93
|
-
|
|
146
|
+
create(input: BeliefsCompatCreateInput): Promise<GatewayDataEnvelope<{
|
|
147
|
+
[x: string]: unknown;
|
|
148
|
+
} & {
|
|
149
|
+
id?: string;
|
|
150
|
+
beliefId?: string;
|
|
151
|
+
nodeId?: string;
|
|
152
|
+
}>>;
|
|
153
|
+
get(nodeId: string): Promise<GatewayDataEnvelope<{
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
} & {
|
|
156
|
+
id?: string;
|
|
157
|
+
beliefId?: string;
|
|
158
|
+
nodeId?: string;
|
|
159
|
+
}>>;
|
|
94
160
|
refine(nodeId: string, textOrInput: string | {
|
|
95
161
|
text: string;
|
|
96
162
|
rationale?: string;
|
|
97
|
-
}, rationale?: string): Promise<GatewayDataEnvelope<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
163
|
+
}, rationale?: string): Promise<GatewayDataEnvelope<{
|
|
164
|
+
[x: string]: unknown;
|
|
165
|
+
} & {
|
|
166
|
+
id?: string;
|
|
167
|
+
beliefId?: string;
|
|
168
|
+
nodeId?: string;
|
|
169
|
+
}>>;
|
|
170
|
+
updateConfidence(nodeId: string, input: BeliefsCompatUpdateConfidenceInput): Promise<GatewayDataEnvelope<{
|
|
171
|
+
[x: string]: unknown;
|
|
172
|
+
}>>;
|
|
173
|
+
modulateConfidence(nodeId: string, input: BeliefsCompatUpdateConfidenceInput): Promise<GatewayDataEnvelope<{
|
|
174
|
+
[x: string]: unknown;
|
|
175
|
+
}>>;
|
|
176
|
+
updateStatus(input: Parameters<(input: {
|
|
177
|
+
id?: string;
|
|
178
|
+
nodeId?: string;
|
|
179
|
+
beliefId?: string;
|
|
180
|
+
status: "active" | "superseded" | "archived";
|
|
181
|
+
reason?: string;
|
|
182
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
183
|
+
[x: string]: unknown;
|
|
184
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
185
|
+
[x: string]: unknown;
|
|
186
|
+
}>>;
|
|
187
|
+
updateRationale(input: Parameters<(input: {
|
|
188
|
+
id?: string;
|
|
189
|
+
nodeId?: string;
|
|
190
|
+
beliefId?: string;
|
|
191
|
+
rationale?: string;
|
|
192
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
193
|
+
[x: string]: unknown;
|
|
194
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
195
|
+
[x: string]: unknown;
|
|
196
|
+
}>>;
|
|
197
|
+
linkBeliefs(input: Parameters<(input: {
|
|
198
|
+
fromNodeId: string;
|
|
199
|
+
toNodeId: string;
|
|
200
|
+
edgeType: string;
|
|
201
|
+
weight?: number;
|
|
202
|
+
context?: string;
|
|
203
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
204
|
+
[x: string]: unknown;
|
|
205
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
206
|
+
[x: string]: unknown;
|
|
207
|
+
}>>;
|
|
208
|
+
unlinkEvidence(input: Parameters<(input: {
|
|
209
|
+
beliefNodeId?: string;
|
|
210
|
+
beliefId?: string;
|
|
211
|
+
insightId?: string;
|
|
212
|
+
evidenceId?: string;
|
|
213
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
214
|
+
[x: string]: unknown;
|
|
215
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
216
|
+
[x: string]: unknown;
|
|
217
|
+
}>>;
|
|
218
|
+
updateCriticality(input: Parameters<(input: {
|
|
219
|
+
id?: string;
|
|
220
|
+
nodeId?: string;
|
|
221
|
+
beliefId?: string;
|
|
222
|
+
criticality: string;
|
|
223
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
224
|
+
[x: string]: unknown;
|
|
225
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
226
|
+
[x: string]: unknown;
|
|
227
|
+
}>>;
|
|
228
|
+
batchUpdateCriticality(input: Parameters<(input: {
|
|
229
|
+
updates: {
|
|
230
|
+
[x: string]: unknown;
|
|
231
|
+
}[];
|
|
232
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
233
|
+
[x: string]: unknown;
|
|
234
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
235
|
+
[x: string]: unknown;
|
|
236
|
+
}>>;
|
|
237
|
+
reassignTopic(input: Parameters<(input: {
|
|
238
|
+
beliefNodeIds?: string[];
|
|
239
|
+
beliefIds?: string[];
|
|
240
|
+
targetTopicId: string;
|
|
241
|
+
reason?: string;
|
|
242
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
243
|
+
[x: string]: unknown;
|
|
244
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
245
|
+
[x: string]: unknown;
|
|
246
|
+
}>>;
|
|
247
|
+
fork(nodeId: string, input: BeliefsCompatForkInput): Promise<GatewayDataEnvelope<{
|
|
248
|
+
[x: string]: unknown;
|
|
249
|
+
} & {
|
|
250
|
+
id?: string;
|
|
251
|
+
beliefId?: string;
|
|
252
|
+
nodeId?: string;
|
|
103
253
|
}>>;
|
|
104
254
|
archive(nodeId: string, input?: string | {
|
|
105
255
|
reason?: string;
|
|
106
256
|
rationale?: string;
|
|
107
|
-
}): Promise<GatewayDataEnvelope<
|
|
257
|
+
}): Promise<GatewayDataEnvelope<{
|
|
258
|
+
[x: string]: unknown;
|
|
259
|
+
}>>;
|
|
108
260
|
list(args: {
|
|
109
261
|
topicId?: string;
|
|
110
262
|
worktreeId?: string;
|
|
@@ -112,7 +264,20 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
112
264
|
minConfidence?: number;
|
|
113
265
|
limit?: number;
|
|
114
266
|
cursor?: string;
|
|
115
|
-
}): Promise<GatewayDataEnvelope<
|
|
267
|
+
}): Promise<GatewayDataEnvelope<{
|
|
268
|
+
[x: string]: unknown;
|
|
269
|
+
} & {
|
|
270
|
+
cursor?: string;
|
|
271
|
+
total?: number;
|
|
272
|
+
} & {
|
|
273
|
+
beliefs?: ({
|
|
274
|
+
[x: string]: unknown;
|
|
275
|
+
} & {
|
|
276
|
+
id?: string;
|
|
277
|
+
beliefId?: string;
|
|
278
|
+
nodeId?: string;
|
|
279
|
+
})[];
|
|
280
|
+
}>>;
|
|
116
281
|
search: (args: {
|
|
117
282
|
query: string;
|
|
118
283
|
topicId?: string;
|
|
@@ -122,26 +287,95 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
122
287
|
}) => Promise<{
|
|
123
288
|
results: Record<string, unknown>[];
|
|
124
289
|
}>;
|
|
125
|
-
lineage(nodeId: string): Promise<GatewayDataEnvelope<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
290
|
+
lineage(nodeId: string): Promise<GatewayDataEnvelope<{
|
|
291
|
+
[x: string]: unknown;
|
|
292
|
+
} & {
|
|
293
|
+
beliefId?: string;
|
|
294
|
+
lineage?: {
|
|
295
|
+
[x: string]: unknown;
|
|
296
|
+
}[];
|
|
297
|
+
}>>;
|
|
298
|
+
confidenceHistory(nodeId: string): Promise<GatewayDataEnvelope<{
|
|
299
|
+
[x: string]: unknown;
|
|
300
|
+
}>>;
|
|
301
|
+
createContract(nodeId: string, input: Parameters<(id: string, input: {
|
|
302
|
+
[x: string]: unknown;
|
|
303
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
304
|
+
[x: string]: unknown;
|
|
305
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
306
|
+
[x: string]: unknown;
|
|
307
|
+
}>>;
|
|
308
|
+
bisect(nodeId: string, input: Parameters<(id: string, input: {
|
|
309
|
+
expectedDirection: "overconfident" | "underconfident";
|
|
310
|
+
timeRange?: {
|
|
311
|
+
start: number;
|
|
312
|
+
end: number;
|
|
313
|
+
};
|
|
314
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
315
|
+
[x: string]: unknown;
|
|
316
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
317
|
+
[x: string]: unknown;
|
|
318
|
+
}>>;
|
|
129
319
|
};
|
|
130
320
|
webhooks: {
|
|
131
|
-
create(input: Parameters<(input:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
321
|
+
create(input: Parameters<(input: {
|
|
322
|
+
[x: string]: unknown;
|
|
323
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
324
|
+
[x: string]: unknown;
|
|
325
|
+
}>>>[0]): Promise<GatewayDataEnvelope<{
|
|
326
|
+
[x: string]: unknown;
|
|
327
|
+
}>>;
|
|
328
|
+
list(query?: Parameters<(query?: {
|
|
139
329
|
topicId?: string;
|
|
140
|
-
}
|
|
330
|
+
}) => Promise<PlatformGatewaySuccess<{
|
|
331
|
+
[x: string]: unknown;
|
|
332
|
+
} & {
|
|
333
|
+
cursor?: string;
|
|
334
|
+
total?: number;
|
|
335
|
+
} & {
|
|
336
|
+
webhooks?: {
|
|
337
|
+
[x: string]: unknown;
|
|
338
|
+
}[];
|
|
339
|
+
}>>>[0]): Promise<GatewayDataEnvelope<{
|
|
340
|
+
[x: string]: unknown;
|
|
341
|
+
} & {
|
|
342
|
+
cursor?: string;
|
|
343
|
+
total?: number;
|
|
344
|
+
} & {
|
|
345
|
+
webhooks?: {
|
|
346
|
+
[x: string]: unknown;
|
|
347
|
+
}[];
|
|
348
|
+
}>>;
|
|
349
|
+
get(id: string): Promise<GatewayDataEnvelope<{
|
|
350
|
+
[x: string]: unknown;
|
|
351
|
+
}>>;
|
|
352
|
+
update(id: string, input: Parameters<(id: string, input: {
|
|
353
|
+
[x: string]: unknown;
|
|
354
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
355
|
+
[x: string]: unknown;
|
|
356
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
357
|
+
[x: string]: unknown;
|
|
358
|
+
}>>;
|
|
359
|
+
delete(id: string): Promise<GatewayDataEnvelope<{
|
|
360
|
+
[x: string]: unknown;
|
|
361
|
+
}>>;
|
|
362
|
+
test(id: string, input?: Parameters<(id: string, input?: {
|
|
141
363
|
topicId?: string;
|
|
142
|
-
}, idempotencyKey?: string) => Promise<
|
|
143
|
-
|
|
144
|
-
|
|
364
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
365
|
+
[x: string]: unknown;
|
|
366
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
367
|
+
[x: string]: unknown;
|
|
368
|
+
}>>;
|
|
369
|
+
deliveries(id: string, query?: Parameters<(id: string, query?: {
|
|
370
|
+
limit?: number;
|
|
371
|
+
}) => Promise<PlatformGatewaySuccess<{
|
|
372
|
+
[x: string]: unknown;
|
|
373
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
374
|
+
[x: string]: unknown;
|
|
375
|
+
}>>;
|
|
376
|
+
health(id: string): Promise<GatewayDataEnvelope<{
|
|
377
|
+
[x: string]: unknown;
|
|
378
|
+
}>>;
|
|
145
379
|
};
|
|
146
380
|
edges: {
|
|
147
381
|
create(args: {
|
|
@@ -153,19 +387,72 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
153
387
|
weight?: number;
|
|
154
388
|
context?: string;
|
|
155
389
|
reasoning?: string;
|
|
156
|
-
}): Promise<GatewayDataEnvelope<
|
|
390
|
+
}): Promise<GatewayDataEnvelope<{
|
|
391
|
+
[x: string]: unknown;
|
|
392
|
+
}>>;
|
|
393
|
+
update(input: Parameters<(input: {
|
|
394
|
+
edgeId: string;
|
|
395
|
+
weight?: number;
|
|
396
|
+
confidence?: number;
|
|
397
|
+
context?: string;
|
|
398
|
+
derivationType?: string;
|
|
399
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
400
|
+
[x: string]: unknown;
|
|
401
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
402
|
+
[x: string]: unknown;
|
|
403
|
+
}>>;
|
|
404
|
+
remove(input: Parameters<(input: {
|
|
405
|
+
edgeId: string;
|
|
406
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
407
|
+
[x: string]: unknown;
|
|
408
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
409
|
+
[x: string]: unknown;
|
|
410
|
+
}>>;
|
|
411
|
+
removeBetween(input: Parameters<(input: {
|
|
412
|
+
fromNodeId: string;
|
|
413
|
+
toNodeId: string;
|
|
414
|
+
edgeType?: string;
|
|
415
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
416
|
+
[x: string]: unknown;
|
|
417
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
418
|
+
[x: string]: unknown;
|
|
419
|
+
}>>;
|
|
420
|
+
batchCreate(input: Parameters<(input: {
|
|
421
|
+
edges: {
|
|
422
|
+
[x: string]: unknown;
|
|
423
|
+
}[];
|
|
424
|
+
skipLayerValidation?: boolean;
|
|
425
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
426
|
+
[x: string]: unknown;
|
|
427
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
428
|
+
[x: string]: unknown;
|
|
429
|
+
}>>;
|
|
430
|
+
delete(input: Parameters<(input: {
|
|
431
|
+
edgeIds: string[];
|
|
432
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
433
|
+
[x: string]: unknown;
|
|
434
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
435
|
+
[x: string]: unknown;
|
|
436
|
+
}>>;
|
|
157
437
|
list(args: {
|
|
158
438
|
sourceId: string;
|
|
159
439
|
edgeType?: string;
|
|
160
440
|
limit?: number;
|
|
161
441
|
cursor?: string;
|
|
162
|
-
}): Promise<GatewayDataEnvelope<
|
|
442
|
+
}): Promise<GatewayDataEnvelope<{
|
|
443
|
+
[x: string]: unknown;
|
|
444
|
+
} & {
|
|
445
|
+
cursor?: string;
|
|
446
|
+
total?: number;
|
|
447
|
+
}>>;
|
|
163
448
|
traverse(args: {
|
|
164
449
|
startNode: string;
|
|
165
450
|
direction?: string;
|
|
166
451
|
maxDepth?: number;
|
|
167
452
|
topicId?: string;
|
|
168
|
-
}): Promise<GatewayDataEnvelope<
|
|
453
|
+
}): Promise<GatewayDataEnvelope<{
|
|
454
|
+
[x: string]: unknown;
|
|
455
|
+
}>>;
|
|
169
456
|
};
|
|
170
457
|
evidence: {
|
|
171
458
|
create(args: {
|
|
@@ -186,7 +473,11 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
186
473
|
weight: number;
|
|
187
474
|
reasoning?: string;
|
|
188
475
|
};
|
|
189
|
-
}): Promise<GatewayDataEnvelope<
|
|
476
|
+
}): Promise<GatewayDataEnvelope<{
|
|
477
|
+
[x: string]: unknown;
|
|
478
|
+
} & {
|
|
479
|
+
id?: string;
|
|
480
|
+
}>>;
|
|
190
481
|
add: (args: {
|
|
191
482
|
text?: string;
|
|
192
483
|
canonicalText?: string;
|
|
@@ -205,35 +496,25 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
205
496
|
weight: number;
|
|
206
497
|
reasoning?: string;
|
|
207
498
|
};
|
|
208
|
-
}) => Promise<
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
evidenceId: string;
|
|
213
|
-
globalId?: string;
|
|
214
|
-
topicId?: string;
|
|
215
|
-
text: string;
|
|
216
|
-
title?: string;
|
|
217
|
-
kind?: string;
|
|
218
|
-
source?: string;
|
|
219
|
-
sourceType?: string;
|
|
220
|
-
externalSourceType?: string;
|
|
221
|
-
status?: string;
|
|
222
|
-
relation?: "supports" | "contradicts" | "neutral";
|
|
223
|
-
confidence?: number;
|
|
224
|
-
linkedBeliefId?: string;
|
|
225
|
-
linkedQuestionId?: string;
|
|
226
|
-
createdAt?: number;
|
|
227
|
-
updatedAt?: number;
|
|
228
|
-
metadata?: Record<string, unknown>;
|
|
499
|
+
}) => Promise<{
|
|
500
|
+
[x: string]: unknown;
|
|
501
|
+
} & {
|
|
502
|
+
id?: string;
|
|
229
503
|
}>;
|
|
230
|
-
get(evidenceId: string): Promise<GatewayDataEnvelope<
|
|
504
|
+
get(evidenceId: string): Promise<GatewayDataEnvelope<{
|
|
505
|
+
[x: string]: unknown;
|
|
506
|
+
}>>;
|
|
231
507
|
list(args: {
|
|
232
508
|
topicId?: string;
|
|
233
509
|
targetId?: string;
|
|
234
510
|
limit?: number;
|
|
235
511
|
cursor?: string;
|
|
236
|
-
}): Promise<GatewayDataEnvelope<
|
|
512
|
+
}): Promise<GatewayDataEnvelope<{
|
|
513
|
+
[x: string]: unknown;
|
|
514
|
+
} & {
|
|
515
|
+
cursor?: string;
|
|
516
|
+
total?: number;
|
|
517
|
+
}>>;
|
|
237
518
|
search(args: {
|
|
238
519
|
q?: string;
|
|
239
520
|
query?: string;
|
|
@@ -242,7 +523,12 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
242
523
|
methodology?: string;
|
|
243
524
|
limit?: number;
|
|
244
525
|
cursor?: string;
|
|
245
|
-
}): Promise<GatewayDataEnvelope<
|
|
526
|
+
}): Promise<GatewayDataEnvelope<{
|
|
527
|
+
[x: string]: unknown;
|
|
528
|
+
} & {
|
|
529
|
+
cursor?: string;
|
|
530
|
+
total?: number;
|
|
531
|
+
}>>;
|
|
246
532
|
link(args: {
|
|
247
533
|
evidenceId: string;
|
|
248
534
|
targetId?: string;
|
|
@@ -251,7 +537,11 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
251
537
|
targetType?: "belief" | "question" | string;
|
|
252
538
|
weight?: number;
|
|
253
539
|
rationale?: string;
|
|
254
|
-
}): Promise<GatewayDataEnvelope<
|
|
540
|
+
}): Promise<GatewayDataEnvelope<{
|
|
541
|
+
[x: string]: unknown;
|
|
542
|
+
} & {
|
|
543
|
+
edgeId?: string;
|
|
544
|
+
}>>;
|
|
255
545
|
linkToBelief(args: {
|
|
256
546
|
evidenceId: string;
|
|
257
547
|
beliefId: string;
|
|
@@ -259,13 +549,43 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
259
549
|
rationale?: string;
|
|
260
550
|
}): Promise<{
|
|
261
551
|
beliefId: string;
|
|
262
|
-
edgeId
|
|
263
|
-
evidenceId: string;
|
|
264
|
-
targetId: string;
|
|
265
|
-
targetType: import("@/lucern/packages/domain-evidence/src/evidence").EvidenceTargetType;
|
|
266
|
-
weight: number;
|
|
267
|
-
questionId?: string;
|
|
552
|
+
edgeId?: string;
|
|
268
553
|
}>;
|
|
554
|
+
updateStatus(input: Parameters<(input: {
|
|
555
|
+
[x: string]: unknown;
|
|
556
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
557
|
+
[x: string]: unknown;
|
|
558
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
559
|
+
[x: string]: unknown;
|
|
560
|
+
}>>;
|
|
561
|
+
update(input: Parameters<(input: {
|
|
562
|
+
[x: string]: unknown;
|
|
563
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
564
|
+
[x: string]: unknown;
|
|
565
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
566
|
+
[x: string]: unknown;
|
|
567
|
+
}>>;
|
|
568
|
+
flagIncorrect(input: Parameters<(input: {
|
|
569
|
+
[x: string]: unknown;
|
|
570
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
571
|
+
[x: string]: unknown;
|
|
572
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
573
|
+
[x: string]: unknown;
|
|
574
|
+
}>>;
|
|
575
|
+
remove(input: Parameters<(input: {
|
|
576
|
+
[x: string]: unknown;
|
|
577
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
578
|
+
[x: string]: unknown;
|
|
579
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
580
|
+
[x: string]: unknown;
|
|
581
|
+
}>>;
|
|
582
|
+
updateVerificationStatus(input: Parameters<(input: {
|
|
583
|
+
[x: string]: unknown;
|
|
584
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
585
|
+
[x: string]: unknown;
|
|
586
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
587
|
+
[x: string]: unknown;
|
|
588
|
+
}>>;
|
|
269
589
|
};
|
|
270
590
|
questions: {
|
|
271
591
|
create(args: {
|
|
@@ -274,11 +594,14 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
274
594
|
priority?: string;
|
|
275
595
|
linkedBeliefId?: string;
|
|
276
596
|
metadata?: JsonObject;
|
|
277
|
-
}): Promise<GatewayDataEnvelope<
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
597
|
+
}): Promise<GatewayDataEnvelope<{
|
|
598
|
+
[x: string]: unknown;
|
|
599
|
+
}>>;
|
|
600
|
+
get(questionId: string): Promise<GatewayDataEnvelope<{
|
|
601
|
+
[x: string]: unknown;
|
|
602
|
+
}>>;
|
|
603
|
+
refine(questionId: string, text: string, refinementReason?: string): Promise<GatewayDataEnvelope<{
|
|
604
|
+
[x: string]: unknown;
|
|
282
605
|
}>>;
|
|
283
606
|
list(args: {
|
|
284
607
|
topicId?: string;
|
|
@@ -287,18 +610,88 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
287
610
|
worktreeId?: string;
|
|
288
611
|
limit?: number;
|
|
289
612
|
cursor?: string;
|
|
290
|
-
}): Promise<GatewayDataEnvelope<
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
613
|
+
}): Promise<GatewayDataEnvelope<{
|
|
614
|
+
[x: string]: unknown;
|
|
615
|
+
} & {
|
|
616
|
+
cursor?: string;
|
|
617
|
+
total?: number;
|
|
618
|
+
} & {
|
|
619
|
+
questions?: Array<{
|
|
620
|
+
[x: string]: unknown;
|
|
621
|
+
} & {
|
|
622
|
+
priority?: string;
|
|
623
|
+
}>;
|
|
624
|
+
}>>;
|
|
625
|
+
updateStatus(questionId: string, status: string, rationale?: string): Promise<GatewayDataEnvelope<{
|
|
626
|
+
[x: string]: unknown;
|
|
627
|
+
}>>;
|
|
628
|
+
batchCreate(input: Parameters<(input: {
|
|
629
|
+
[x: string]: unknown;
|
|
630
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
631
|
+
[x: string]: unknown;
|
|
632
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
633
|
+
[x: string]: unknown;
|
|
634
|
+
}>>;
|
|
635
|
+
add(input: Parameters<(input: {
|
|
636
|
+
[x: string]: unknown;
|
|
637
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
638
|
+
[x: string]: unknown;
|
|
639
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
640
|
+
[x: string]: unknown;
|
|
641
|
+
}>>;
|
|
642
|
+
updatePriority(input: Parameters<(input: {
|
|
643
|
+
[x: string]: unknown;
|
|
644
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
645
|
+
[x: string]: unknown;
|
|
646
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
647
|
+
[x: string]: unknown;
|
|
648
|
+
}>>;
|
|
649
|
+
advanceToConviction(input: Parameters<(input: {
|
|
650
|
+
[x: string]: unknown;
|
|
651
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
652
|
+
[x: string]: unknown;
|
|
653
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
654
|
+
[x: string]: unknown;
|
|
655
|
+
}>>;
|
|
656
|
+
updateConviction(input: Parameters<(input: {
|
|
657
|
+
[x: string]: unknown;
|
|
658
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
659
|
+
[x: string]: unknown;
|
|
660
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
661
|
+
[x: string]: unknown;
|
|
662
|
+
}>>;
|
|
663
|
+
finalizeConviction(input: Parameters<(input: {
|
|
664
|
+
[x: string]: unknown;
|
|
665
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
666
|
+
[x: string]: unknown;
|
|
667
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
668
|
+
[x: string]: unknown;
|
|
669
|
+
}>>;
|
|
670
|
+
update(input: Parameters<(input: {
|
|
671
|
+
[x: string]: unknown;
|
|
672
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
673
|
+
[x: string]: unknown;
|
|
674
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
675
|
+
[x: string]: unknown;
|
|
676
|
+
}>>;
|
|
677
|
+
delete(input: Parameters<(input: {
|
|
678
|
+
[x: string]: unknown;
|
|
679
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
680
|
+
[x: string]: unknown;
|
|
681
|
+
}>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
|
|
682
|
+
[x: string]: unknown;
|
|
294
683
|
}>>;
|
|
295
684
|
answer(questionId: string, input: {
|
|
296
685
|
text: string;
|
|
297
686
|
confidence?: string;
|
|
298
687
|
evidenceIds?: string[];
|
|
299
688
|
rationale?: string;
|
|
300
|
-
}): Promise<GatewayDataEnvelope<
|
|
301
|
-
|
|
689
|
+
}): Promise<GatewayDataEnvelope<{
|
|
690
|
+
[x: string]: unknown;
|
|
691
|
+
}>>;
|
|
692
|
+
archive(questionId: string, reason?: string): Promise<GatewayDataEnvelope<{
|
|
693
|
+
[x: string]: unknown;
|
|
694
|
+
}>>;
|
|
302
695
|
linkEvidence(args: {
|
|
303
696
|
evidenceId: string;
|
|
304
697
|
questionId: string;
|
|
@@ -308,31 +701,38 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
308
701
|
}): Promise<{
|
|
309
702
|
questionId: string;
|
|
310
703
|
relevance: number | undefined;
|
|
311
|
-
edgeId
|
|
312
|
-
evidenceId: string;
|
|
313
|
-
targetId: string;
|
|
314
|
-
targetType: import("@/lucern/packages/domain-evidence/src/evidence").EvidenceTargetType;
|
|
315
|
-
weight: number;
|
|
316
|
-
beliefId?: string;
|
|
704
|
+
edgeId?: string;
|
|
317
705
|
}>;
|
|
318
706
|
getHighPriority(args: {
|
|
319
707
|
topicId?: string;
|
|
320
708
|
limit?: number;
|
|
321
709
|
includeAnswered?: boolean;
|
|
322
710
|
}): Promise<{
|
|
323
|
-
questions:
|
|
711
|
+
questions: ({
|
|
712
|
+
priority?: string;
|
|
713
|
+
} & Record<string, unknown>)[];
|
|
324
714
|
}>;
|
|
325
715
|
findMissing(args: {
|
|
326
716
|
topicId?: string;
|
|
327
717
|
minConfidence?: number;
|
|
328
|
-
}): Promise<GatewayDataEnvelope<
|
|
718
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
329
719
|
};
|
|
330
720
|
graph: {
|
|
721
|
+
nodes: {
|
|
722
|
+
list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
|
|
723
|
+
get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
724
|
+
create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
725
|
+
update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
726
|
+
batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
727
|
+
supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
728
|
+
verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
729
|
+
hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
730
|
+
};
|
|
331
731
|
createEdge(input: Parameters<(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
|
|
332
|
-
neighborhood(args: Parameters<(query: import("./graphClient").NeighborhoodInput) => Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>>[0]): Promise<GatewayDataEnvelope<import("
|
|
732
|
+
neighborhood(args: Parameters<(query: import("./graphClient").NeighborhoodInput) => Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>>[0]): Promise<GatewayDataEnvelope<import("./types").GraphNeighborhoodResponse>>;
|
|
333
733
|
queryLineage: (nodeId: string, depth?: number) => Promise<{
|
|
334
734
|
chain: {
|
|
335
|
-
nodeId:
|
|
735
|
+
nodeId: {};
|
|
336
736
|
relation: string;
|
|
337
737
|
}[];
|
|
338
738
|
forkTree: {
|
|
@@ -342,10 +742,14 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
342
742
|
children: never[];
|
|
343
743
|
};
|
|
344
744
|
depth: number;
|
|
345
|
-
beliefId: string;
|
|
346
|
-
lineage:
|
|
745
|
+
beliefId: string | undefined;
|
|
746
|
+
lineage: {
|
|
747
|
+
[x: string]: unknown;
|
|
748
|
+
}[];
|
|
347
749
|
}>;
|
|
348
|
-
getConfidenceHistory: (nodeId: string) => Promise<GatewayDataEnvelope<
|
|
750
|
+
getConfidenceHistory: (nodeId: string) => Promise<GatewayDataEnvelope<{
|
|
751
|
+
[x: string]: unknown;
|
|
752
|
+
}>>;
|
|
349
753
|
getAuditTrail: (nodeId: string, limit?: number) => Promise<{
|
|
350
754
|
entries: {
|
|
351
755
|
action: string;
|
|
@@ -361,27 +765,29 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
361
765
|
direction?: string;
|
|
362
766
|
maxDepth?: number;
|
|
363
767
|
topicId?: string;
|
|
364
|
-
}): Promise<GatewayDataEnvelope<
|
|
768
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
365
769
|
analyze(args: {
|
|
366
770
|
topicId?: string;
|
|
367
771
|
limit?: number;
|
|
368
772
|
metric?: string;
|
|
369
|
-
}): Promise<GatewayDataEnvelope<
|
|
773
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
370
774
|
bias(args: {
|
|
371
775
|
topicId?: string;
|
|
372
776
|
threshold?: number;
|
|
373
777
|
limit?: number;
|
|
374
|
-
}): Promise<GatewayDataEnvelope<
|
|
778
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
375
779
|
gaps(args: {
|
|
376
780
|
topicId?: string;
|
|
377
781
|
minConfidence?: number;
|
|
378
|
-
}): Promise<GatewayDataEnvelope<
|
|
782
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
379
783
|
falsify(args: {
|
|
380
784
|
topicId?: string;
|
|
381
785
|
beliefId?: string;
|
|
382
786
|
beliefIds?: string[];
|
|
383
787
|
minConfidence?: number;
|
|
384
|
-
}): Promise<GatewayDataEnvelope<
|
|
788
|
+
}): Promise<GatewayDataEnvelope<{
|
|
789
|
+
[x: string]: unknown;
|
|
790
|
+
}>>;
|
|
385
791
|
traceEntityImpact(args: {
|
|
386
792
|
nodeId: string;
|
|
387
793
|
topicId?: string;
|
|
@@ -411,7 +817,9 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
411
817
|
}>;
|
|
412
818
|
bisectConfidence: (nodeId: string, args: {
|
|
413
819
|
expectedDirection: "overconfident" | "underconfident";
|
|
414
|
-
}) => Promise<GatewayDataEnvelope<
|
|
820
|
+
}) => Promise<GatewayDataEnvelope<{
|
|
821
|
+
[x: string]: unknown;
|
|
822
|
+
}>>;
|
|
415
823
|
listBeliefs: (args: {
|
|
416
824
|
topicId?: string;
|
|
417
825
|
worktreeId?: string;
|
|
@@ -419,32 +827,33 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
419
827
|
minConfidence?: number;
|
|
420
828
|
limit?: number;
|
|
421
829
|
cursor?: string;
|
|
422
|
-
}) => Promise<
|
|
830
|
+
}) => Promise<({
|
|
831
|
+
[x: string]: unknown;
|
|
832
|
+
} & {
|
|
833
|
+
id?: string;
|
|
834
|
+
beliefId?: string;
|
|
835
|
+
nodeId?: string;
|
|
836
|
+
})[]>;
|
|
423
837
|
detectConfirmationBias(topicId: string, threshold?: number): Promise<{
|
|
424
838
|
topicId: string;
|
|
425
839
|
threshold: number;
|
|
426
840
|
success: true;
|
|
427
|
-
data:
|
|
841
|
+
data: Record<string, unknown>;
|
|
428
842
|
correlationId: string;
|
|
429
843
|
policyTraceId: string | null;
|
|
430
844
|
idempotentReplay: boolean;
|
|
431
|
-
metric: "confirmation_bias";
|
|
432
|
-
beliefs: import("@/lucern/packages/domain-graph/src/graph").GraphBiasBelief[];
|
|
433
|
-
payload: Record<string, unknown>;
|
|
434
845
|
}>;
|
|
435
846
|
getStructureAnalysis(topicId: string): Promise<{
|
|
436
847
|
topicId: string;
|
|
437
848
|
success: true;
|
|
438
|
-
data:
|
|
849
|
+
data: Record<string, unknown>;
|
|
439
850
|
correlationId: string;
|
|
440
851
|
policyTraceId: string | null;
|
|
441
852
|
idempotentReplay: boolean;
|
|
442
|
-
metric: string;
|
|
443
|
-
payload: Record<string, unknown>;
|
|
444
853
|
}>;
|
|
445
854
|
getFalsificationQuestions(topicId: string, beliefIds?: string[]): Promise<{
|
|
446
855
|
topicId: string;
|
|
447
|
-
questions:
|
|
856
|
+
questions: unknown;
|
|
448
857
|
}>;
|
|
449
858
|
};
|
|
450
859
|
judgments: {
|
|
@@ -476,9 +885,9 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
476
885
|
topicId?: string;
|
|
477
886
|
description?: string;
|
|
478
887
|
perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
|
|
479
|
-
promptTemplates?: import("
|
|
480
|
-
workflowTemplates?: import("
|
|
481
|
-
taskTemplates?: import("
|
|
888
|
+
promptTemplates?: import(".").LensPromptTemplateReference[];
|
|
889
|
+
workflowTemplates?: import(".").LensWorkflowTemplate[];
|
|
890
|
+
taskTemplates?: import(".").LensTaskTemplate[];
|
|
482
891
|
filterCriteria?: JsonObject;
|
|
483
892
|
} & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
|
|
484
893
|
listLenses(query: Parameters<(query: {
|
|
@@ -496,8 +905,12 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
496
905
|
lensId: string;
|
|
497
906
|
topicId?: string;
|
|
498
907
|
} & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
|
|
499
|
-
create(input: AddWorktreeInput): Promise<
|
|
500
|
-
|
|
908
|
+
create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
909
|
+
[x: string]: unknown;
|
|
910
|
+
}>>;
|
|
911
|
+
add(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
|
|
912
|
+
[x: string]: unknown;
|
|
913
|
+
}>>;
|
|
501
914
|
list(query: Parameters<(query: {
|
|
502
915
|
topicId?: string;
|
|
503
916
|
branchId?: string;
|
|
@@ -505,18 +918,37 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
505
918
|
track?: string;
|
|
506
919
|
executionBand?: number;
|
|
507
920
|
limit?: number;
|
|
508
|
-
} & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
921
|
+
} & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
922
|
+
[x: string]: unknown;
|
|
923
|
+
} & {
|
|
924
|
+
cursor?: string;
|
|
925
|
+
total?: number;
|
|
926
|
+
} & {
|
|
927
|
+
worktrees?: {
|
|
928
|
+
[x: string]: unknown;
|
|
929
|
+
}[];
|
|
930
|
+
}>>;
|
|
931
|
+
activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
|
|
932
|
+
[x: string]: unknown;
|
|
933
|
+
}>>;
|
|
934
|
+
updateMetadata(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
935
|
+
[x: string]: unknown;
|
|
936
|
+
}>>;
|
|
937
|
+
update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
938
|
+
[x: string]: unknown;
|
|
939
|
+
}>>;
|
|
940
|
+
updateTargets(input: Parameters<(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
941
|
+
[x: string]: unknown;
|
|
942
|
+
}>>;
|
|
513
943
|
listAll(query?: Parameters<(query?: {
|
|
514
944
|
status?: import("./workflowClient").WorkflowWorktreeStatus;
|
|
515
945
|
track?: string;
|
|
516
946
|
executionBand?: number;
|
|
517
947
|
limit?: number;
|
|
518
948
|
}) => Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
|
|
519
|
-
merge(worktreeId: string, input: MergeInput): Promise<
|
|
949
|
+
merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
|
|
950
|
+
[x: string]: unknown;
|
|
951
|
+
}>>;
|
|
520
952
|
push(worktreeId: string, input: Parameters<(worktreeId: string, input: {
|
|
521
953
|
targetContext: string;
|
|
522
954
|
beliefIds?: string[];
|
|
@@ -528,40 +960,94 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
528
960
|
status?: "pending_review" | "changes_requested" | "approved" | "blocked";
|
|
529
961
|
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
|
|
530
962
|
pipelineSnapshot(topicId: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
963
|
+
complete(input: Parameters<(input: {
|
|
964
|
+
worktreeId: string;
|
|
965
|
+
keyFindings?: string[];
|
|
966
|
+
decisionsReached?: string[];
|
|
967
|
+
nextSteps?: string[];
|
|
968
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
969
|
+
[x: string]: unknown;
|
|
970
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
971
|
+
[x: string]: unknown;
|
|
972
|
+
}>>;
|
|
973
|
+
advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
974
|
+
[x: string]: unknown;
|
|
975
|
+
}>>;
|
|
976
|
+
setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
977
|
+
[x: string]: unknown;
|
|
978
|
+
}>>;
|
|
979
|
+
patchState(input: Parameters<(input: {
|
|
980
|
+
worktreeId: string;
|
|
981
|
+
patch: {
|
|
982
|
+
[x: string]: unknown;
|
|
983
|
+
};
|
|
984
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
985
|
+
[x: string]: unknown;
|
|
986
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
987
|
+
[x: string]: unknown;
|
|
988
|
+
}>>;
|
|
989
|
+
bulkCreate(input: Parameters<(input: {
|
|
990
|
+
worktrees: unknown[];
|
|
991
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
992
|
+
[x: string]: unknown;
|
|
993
|
+
}>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
|
|
994
|
+
[x: string]: unknown;
|
|
995
|
+
}>>;
|
|
531
996
|
};
|
|
532
997
|
context: {
|
|
533
|
-
listTopics(query?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<import("
|
|
534
|
-
compile(topicId: string, input?: Parameters<(topicId: string, input?: import("
|
|
998
|
+
listTopics(query?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
|
|
999
|
+
compile(topicId: string, input?: Parameters<(topicId: string, input?: import("./contextTypes").CompileContextInput) => Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>>[1]): Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>;
|
|
535
1000
|
recordScopeLearning(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
536
1001
|
discover(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
537
1002
|
analyzeTopicDensity(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
538
1003
|
applyAutoBranching(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
539
1004
|
seedBeliefLattice(input?: Parameters<(args?: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
540
1005
|
getLatticeCoverage(input?: Parameters<(args?: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
541
|
-
matchEntityType(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<
|
|
1006
|
+
matchEntityType(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<{
|
|
1007
|
+
[x: string]: unknown;
|
|
1008
|
+
}>>;
|
|
542
1009
|
discoverEntityConnections(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
543
1010
|
triggerBeliefReview(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
544
1011
|
};
|
|
545
1012
|
tasks: {
|
|
546
|
-
create(input: CreateTaskInput): Promise<
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
1013
|
+
create(input: CreateTaskInput): Promise<PlatformGatewaySuccess<{
|
|
1014
|
+
[x: string]: unknown;
|
|
1015
|
+
}>>;
|
|
1016
|
+
complete(taskId: string, input: CompleteTaskInput): Promise<PlatformGatewaySuccess<{
|
|
1017
|
+
[x: string]: unknown;
|
|
1018
|
+
}>>;
|
|
1019
|
+
update(taskId: string, input: UpdateTaskInput): Promise<PlatformGatewaySuccess<{
|
|
1020
|
+
[x: string]: unknown;
|
|
1021
|
+
}>>;
|
|
1022
|
+
list(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
1023
|
+
[x: string]: unknown;
|
|
1024
|
+
} & {
|
|
1025
|
+
cursor?: string;
|
|
1026
|
+
total?: number;
|
|
1027
|
+
} & {
|
|
1028
|
+
tasks?: {
|
|
1029
|
+
[x: string]: unknown;
|
|
1030
|
+
}[];
|
|
1031
|
+
}>>;
|
|
550
1032
|
};
|
|
551
1033
|
topics: {
|
|
552
|
-
list(input?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<import("
|
|
553
|
-
get(topicId: string): Promise<import("
|
|
554
|
-
create(input: Parameters<(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[0]): Promise<import("
|
|
555
|
-
update(topicId: string, input: Parameters<(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[1]): Promise<import("
|
|
556
|
-
tree(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicTreeQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>>[1]): Promise<import("
|
|
1034
|
+
list(input?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
|
|
1035
|
+
get(topicId: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
1036
|
+
create(input: Parameters<(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
1037
|
+
update(topicId: string, input: Parameters<(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
1038
|
+
tree(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicTreeQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
|
|
557
1039
|
getTree(input: {
|
|
558
1040
|
rootId: string;
|
|
559
1041
|
maxDepth?: number;
|
|
560
|
-
}): Promise<import("
|
|
561
|
-
coverage(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicCoverageQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>>[1]): Promise<import("
|
|
1042
|
+
}): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
|
|
1043
|
+
coverage(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicCoverageQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
|
|
1044
|
+
remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1045
|
+
bulkCreate(input: Parameters<(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
562
1046
|
};
|
|
563
1047
|
answers: {
|
|
564
|
-
create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<
|
|
1048
|
+
create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
|
|
1049
|
+
[x: string]: unknown;
|
|
1050
|
+
}>>;
|
|
565
1051
|
get(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
566
1052
|
};
|
|
567
1053
|
contradictions: {
|
|
@@ -572,14 +1058,27 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
572
1058
|
topicId?: string;
|
|
573
1059
|
severity?: string;
|
|
574
1060
|
defeatType?: string;
|
|
575
|
-
}): Promise<GatewayDataEnvelope<
|
|
1061
|
+
}): Promise<GatewayDataEnvelope<{
|
|
1062
|
+
[x: string]: unknown;
|
|
1063
|
+
}>>;
|
|
576
1064
|
list(args: {
|
|
577
1065
|
topicId?: string;
|
|
578
1066
|
status?: string;
|
|
579
1067
|
limit?: number;
|
|
580
1068
|
cursor?: string;
|
|
581
|
-
}): Promise<GatewayDataEnvelope<
|
|
582
|
-
|
|
1069
|
+
}): Promise<GatewayDataEnvelope<{
|
|
1070
|
+
[x: string]: unknown;
|
|
1071
|
+
} & {
|
|
1072
|
+
cursor?: string;
|
|
1073
|
+
total?: number;
|
|
1074
|
+
} & {
|
|
1075
|
+
contradictions?: {
|
|
1076
|
+
[x: string]: unknown;
|
|
1077
|
+
}[];
|
|
1078
|
+
}>>;
|
|
1079
|
+
get(contradictionId: string): Promise<GatewayDataEnvelope<{
|
|
1080
|
+
[x: string]: unknown;
|
|
1081
|
+
}>>;
|
|
583
1082
|
find: (args: {
|
|
584
1083
|
topicId?: string;
|
|
585
1084
|
nodeId?: string;
|
|
@@ -600,10 +1099,33 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
600
1099
|
tenantId?: string;
|
|
601
1100
|
tier?: string;
|
|
602
1101
|
status?: string;
|
|
603
|
-
}): Promise<GatewayDataEnvelope<
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
1102
|
+
}): Promise<GatewayDataEnvelope<{
|
|
1103
|
+
ontologies: any[];
|
|
1104
|
+
total: number;
|
|
1105
|
+
items: any[];
|
|
1106
|
+
definitions: any[];
|
|
1107
|
+
}>>;
|
|
1108
|
+
get(ontologyId: string): Promise<GatewayDataEnvelope<{
|
|
1109
|
+
[x: string]: unknown;
|
|
1110
|
+
}>>;
|
|
1111
|
+
bind(input: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
1112
|
+
[x: string]: unknown;
|
|
1113
|
+
}>>>[0], idempotencyKey?: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
1114
|
+
[x: string]: unknown;
|
|
1115
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
1116
|
+
[x: string]: unknown;
|
|
1117
|
+
}>>;
|
|
1118
|
+
match(input: Parameters<(input: {
|
|
1119
|
+
[x: string]: unknown;
|
|
1120
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
1121
|
+
[x: string]: unknown;
|
|
1122
|
+
}>>>[0], idempotencyKey?: Parameters<(input: {
|
|
1123
|
+
[x: string]: unknown;
|
|
1124
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
1125
|
+
[x: string]: unknown;
|
|
1126
|
+
}>>>[1]): Promise<GatewayDataEnvelope<{
|
|
1127
|
+
[x: string]: unknown;
|
|
1128
|
+
}>>;
|
|
607
1129
|
create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
608
1130
|
update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
609
1131
|
archive(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
@@ -785,6 +1307,44 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
785
1307
|
id?: string;
|
|
786
1308
|
deleted?: boolean;
|
|
787
1309
|
}>>;
|
|
1310
|
+
listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
|
|
1311
|
+
data: {
|
|
1312
|
+
policies: import("./policyClient").TenantPolicyRecord[];
|
|
1313
|
+
};
|
|
1314
|
+
success: true;
|
|
1315
|
+
correlationId: string;
|
|
1316
|
+
policyTraceId: string | null;
|
|
1317
|
+
idempotentReplay: boolean;
|
|
1318
|
+
}>;
|
|
1319
|
+
createRolePolicy(input: import("./coreClient").GatewayScope & {
|
|
1320
|
+
roleName: string;
|
|
1321
|
+
description?: string;
|
|
1322
|
+
permissions: import("./policyClient").TenantPolicyPermission[];
|
|
1323
|
+
groupBindings?: string[];
|
|
1324
|
+
}, idempotencyKey?: string): Promise<{
|
|
1325
|
+
data: {
|
|
1326
|
+
policy: import("./policyClient").TenantPolicyRecord | null;
|
|
1327
|
+
};
|
|
1328
|
+
success: true;
|
|
1329
|
+
correlationId: string;
|
|
1330
|
+
policyTraceId: string | null;
|
|
1331
|
+
idempotentReplay: boolean;
|
|
1332
|
+
}>;
|
|
1333
|
+
updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
|
|
1334
|
+
roleName: string;
|
|
1335
|
+
description?: string;
|
|
1336
|
+
permissions: import("./policyClient").TenantPolicyPermission[];
|
|
1337
|
+
groupBindings?: string[];
|
|
1338
|
+
}, idempotencyKey?: string): Promise<{
|
|
1339
|
+
data: {
|
|
1340
|
+
policy: import("./policyClient").TenantPolicyRecord | null;
|
|
1341
|
+
};
|
|
1342
|
+
success: true;
|
|
1343
|
+
correlationId: string;
|
|
1344
|
+
policyTraceId: string | null;
|
|
1345
|
+
idempotentReplay: boolean;
|
|
1346
|
+
}>;
|
|
1347
|
+
deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
788
1348
|
checkPermission(query: import("./coreClient").GatewayScope & {
|
|
789
1349
|
topicId?: string;
|
|
790
1350
|
permission?: import("./policyClient").PermissionKind;
|
|
@@ -850,6 +1410,11 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
850
1410
|
};
|
|
851
1411
|
contracts: {
|
|
852
1412
|
create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
1413
|
+
list(input?: {
|
|
1414
|
+
beliefNodeId?: string;
|
|
1415
|
+
contractId?: string;
|
|
1416
|
+
status?: string;
|
|
1417
|
+
}): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
853
1418
|
evaluate(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
854
1419
|
getStatus(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
|
|
855
1420
|
};
|
|
@@ -918,8 +1483,46 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
918
1483
|
enable(input: Parameters<(input: import("./packsClient").PackEnableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
919
1484
|
disable(input: Parameters<(input: import("./packsClient").PackDisableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
|
|
920
1485
|
};
|
|
1486
|
+
nodes: {
|
|
1487
|
+
list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
|
|
1488
|
+
get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1489
|
+
create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1490
|
+
update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1491
|
+
batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1492
|
+
supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1493
|
+
verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1494
|
+
hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1495
|
+
};
|
|
921
1496
|
identity: {
|
|
922
|
-
whoami(): Promise<
|
|
1497
|
+
whoami(): Promise<PlatformGatewaySuccess<{
|
|
1498
|
+
principalId: string;
|
|
1499
|
+
principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
|
|
1500
|
+
tenantId: string | null;
|
|
1501
|
+
workspaceId: string | null;
|
|
1502
|
+
scopes: string[];
|
|
1503
|
+
roles: string[];
|
|
1504
|
+
isPlatformAdmin: boolean;
|
|
1505
|
+
isTenantAdmin: boolean;
|
|
1506
|
+
isWorkspaceAdmin: boolean;
|
|
1507
|
+
authMode: string | undefined;
|
|
1508
|
+
sessionId: string | undefined;
|
|
1509
|
+
delegatedBy: string | undefined;
|
|
1510
|
+
expiresAt: number | undefined;
|
|
1511
|
+
}> & {
|
|
1512
|
+
principalId: string;
|
|
1513
|
+
principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
|
|
1514
|
+
tenantId: string | null;
|
|
1515
|
+
workspaceId: string | null;
|
|
1516
|
+
scopes: string[];
|
|
1517
|
+
roles: string[];
|
|
1518
|
+
isPlatformAdmin: boolean;
|
|
1519
|
+
isTenantAdmin: boolean;
|
|
1520
|
+
isWorkspaceAdmin: boolean;
|
|
1521
|
+
authMode: string | undefined;
|
|
1522
|
+
sessionId: string | undefined;
|
|
1523
|
+
delegatedBy: string | undefined;
|
|
1524
|
+
expiresAt: number | undefined;
|
|
1525
|
+
}>;
|
|
923
1526
|
};
|
|
924
1527
|
custom: CustomToolNamespace;
|
|
925
1528
|
extensions: Record<string, CustomToolNamespace>;
|
|
@@ -928,12 +1531,24 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
928
1531
|
createBelief(input: import("./beliefsClient").CreateBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PlatformBeliefRecord>>;
|
|
929
1532
|
modulateConfidence(beliefId: string, input: import("./beliefsClient").ModulateConfidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ModulateConfidenceResponse>>;
|
|
930
1533
|
forkBelief(beliefId: string, input: import("./beliefsClient").ForkBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ForkBeliefResponse>>;
|
|
1534
|
+
updateBeliefStatus(input: import("./beliefsClient").UpdateBeliefStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1535
|
+
updateBeliefRationale(input: import("./beliefsClient").UpdateBeliefRationaleInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1536
|
+
linkBeliefs(input: import("./beliefsClient").LinkBeliefsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1537
|
+
unlinkBeliefEvidence(input: import("./beliefsClient").UnlinkBeliefEvidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1538
|
+
updateBeliefCriticality(input: import("./beliefsClient").UpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1539
|
+
batchUpdateBeliefCriticality(input: import("./beliefsClient").BatchUpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1540
|
+
reassignBeliefsTopic(input: import("./beliefsClient").ReassignBeliefsTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
931
1541
|
};
|
|
932
1542
|
graph: {
|
|
933
1543
|
listNodes(query: import("./graphClient").ListNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
|
|
934
1544
|
queryNodes(query: import("./graphClient").QueryNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
|
|
1545
|
+
getNode(query: import("./graphClient").GetNodeInput): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
935
1546
|
createNode(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
936
1547
|
updateNode(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
|
|
1548
|
+
batchCreateNodes(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1549
|
+
supersedeNode(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1550
|
+
verifyNode(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1551
|
+
hardDeleteNode(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
937
1552
|
listEdges(query: import("./graphClient").ListEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
|
|
938
1553
|
queryEdges(query: import("./graphClient").QueryEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
|
|
939
1554
|
createEdge(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
|
|
@@ -987,9 +1602,9 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
987
1602
|
topicId?: string;
|
|
988
1603
|
description?: string;
|
|
989
1604
|
perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
|
|
990
|
-
promptTemplates?: import("
|
|
991
|
-
workflowTemplates?: import("
|
|
992
|
-
taskTemplates?: import("
|
|
1605
|
+
promptTemplates?: import(".").LensPromptTemplateReference[];
|
|
1606
|
+
workflowTemplates?: import(".").LensWorkflowTemplate[];
|
|
1607
|
+
taskTemplates?: import(".").LensTaskTemplate[];
|
|
993
1608
|
filterCriteria?: JsonObject;
|
|
994
1609
|
} & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
|
|
995
1610
|
applyLensToTopic(input: {
|
|
@@ -1020,6 +1635,11 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1020
1635
|
merge(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
|
|
1021
1636
|
activateWorktree(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
|
|
1022
1637
|
updateWorktreeTargets(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
|
|
1638
|
+
completeWorktree(input: import("./workflowClient").CompleteWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1639
|
+
advanceWorktreePhase(input: import("./workflowClient").AdvanceWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1640
|
+
setWorktreePhase(input: import("./workflowClient").SetWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1641
|
+
patchWorktreeState(input: import("./workflowClient").PatchWorktreeStateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1642
|
+
bulkCreateWorktrees(input: import("./workflowClient").BulkCreateWorktreesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1023
1643
|
openPullRequest(worktreeId: string, input: {
|
|
1024
1644
|
summary: string;
|
|
1025
1645
|
reviewers?: string[];
|
|
@@ -1089,11 +1709,13 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1089
1709
|
limit?: number;
|
|
1090
1710
|
}): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "workspaces">>>;
|
|
1091
1711
|
createWorkspace(input: import("./coreClient").GatewayScope & {
|
|
1092
|
-
|
|
1712
|
+
workspaceId?: string;
|
|
1713
|
+
key?: string;
|
|
1093
1714
|
slug?: string;
|
|
1094
|
-
name
|
|
1715
|
+
name?: string;
|
|
1095
1716
|
status?: "active" | "archived";
|
|
1096
|
-
defaultProjectVisibility?: "private" | "firm" | "public";
|
|
1717
|
+
defaultProjectVisibility?: "private" | "team" | "firm" | "external" | "public";
|
|
1718
|
+
restore?: boolean;
|
|
1097
1719
|
metadata?: JsonObject;
|
|
1098
1720
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1099
1721
|
listMemberships(query?: import("./coreClient").GatewayScope & {
|
|
@@ -1102,26 +1724,169 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1102
1724
|
limit?: number;
|
|
1103
1725
|
}): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "memberships">>>;
|
|
1104
1726
|
createMembership(input: import("./coreClient").GatewayScope & {
|
|
1727
|
+
membershipId?: string;
|
|
1105
1728
|
principalId: string;
|
|
1106
1729
|
role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
|
|
1107
1730
|
status?: "active" | "revoked" | "expired";
|
|
1108
1731
|
source?: "bootstrap" | "manual" | "sync" | "invitation";
|
|
1109
1732
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1110
1733
|
updateMembership(input: import("./coreClient").GatewayScope & {
|
|
1734
|
+
membershipId?: string;
|
|
1111
1735
|
principalId: string;
|
|
1112
1736
|
role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
|
|
1113
1737
|
status?: "active" | "revoked" | "expired";
|
|
1114
1738
|
source?: "bootstrap" | "manual" | "sync" | "invitation";
|
|
1115
1739
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1116
1740
|
upsertMembership(input: import("./coreClient").GatewayScope & {
|
|
1741
|
+
membershipId?: string;
|
|
1117
1742
|
principalId: string;
|
|
1118
1743
|
role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
|
|
1119
1744
|
status?: "active" | "revoked" | "expired";
|
|
1120
1745
|
source?: "bootstrap" | "manual" | "sync" | "invitation";
|
|
1121
1746
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1747
|
+
listTenantApiKeys(scope: import("./coreClient").GatewayScope & {
|
|
1748
|
+
status?: "active" | "revoked" | "expired";
|
|
1749
|
+
}): Promise<{
|
|
1750
|
+
data: {
|
|
1751
|
+
keys: import("./adminClient").TenantApiKeyRecord[];
|
|
1752
|
+
};
|
|
1753
|
+
success: true;
|
|
1754
|
+
correlationId: string;
|
|
1755
|
+
policyTraceId: string | null;
|
|
1756
|
+
idempotentReplay: boolean;
|
|
1757
|
+
}>;
|
|
1758
|
+
createTenantApiKey(input: import("./coreClient").GatewayScope & {
|
|
1759
|
+
label?: string;
|
|
1760
|
+
scopes: string[];
|
|
1761
|
+
expiresAt?: number;
|
|
1762
|
+
}, idempotencyKey?: string): Promise<{
|
|
1763
|
+
data: {
|
|
1764
|
+
key: import("./adminClient").TenantApiKeyRecord | null;
|
|
1765
|
+
plaintextKey: string | undefined;
|
|
1766
|
+
};
|
|
1767
|
+
success: true;
|
|
1768
|
+
correlationId: string;
|
|
1769
|
+
policyTraceId: string | null;
|
|
1770
|
+
idempotentReplay: boolean;
|
|
1771
|
+
}>;
|
|
1772
|
+
revokeTenantApiKey(keyId: string, input?: import("./coreClient").GatewayScope & {
|
|
1773
|
+
reason?: string;
|
|
1774
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1775
|
+
listTenantVaultSecrets(scope: import("./coreClient").GatewayScope): Promise<{
|
|
1776
|
+
data: {
|
|
1777
|
+
secrets: import("./adminClient").TenantVaultSecretRecord[];
|
|
1778
|
+
};
|
|
1779
|
+
success: true;
|
|
1780
|
+
correlationId: string;
|
|
1781
|
+
policyTraceId: string | null;
|
|
1782
|
+
idempotentReplay: boolean;
|
|
1783
|
+
}>;
|
|
1784
|
+
createTenantVaultSecret(input: import("./coreClient").GatewayScope & {
|
|
1785
|
+
name: string;
|
|
1786
|
+
description?: string;
|
|
1787
|
+
value: string;
|
|
1788
|
+
}, idempotencyKey?: string): Promise<{
|
|
1789
|
+
data: {
|
|
1790
|
+
secret: import("./adminClient").TenantVaultSecretRecord | null;
|
|
1791
|
+
};
|
|
1792
|
+
success: true;
|
|
1793
|
+
correlationId: string;
|
|
1794
|
+
policyTraceId: string | null;
|
|
1795
|
+
idempotentReplay: boolean;
|
|
1796
|
+
}>;
|
|
1797
|
+
updateTenantVaultSecret(secretId: string, input: import("./coreClient").GatewayScope & {
|
|
1798
|
+
name: string;
|
|
1799
|
+
description?: string;
|
|
1800
|
+
value?: string;
|
|
1801
|
+
}, idempotencyKey?: string): Promise<{
|
|
1802
|
+
data: {
|
|
1803
|
+
secret: import("./adminClient").TenantVaultSecretRecord | null;
|
|
1804
|
+
};
|
|
1805
|
+
success: true;
|
|
1806
|
+
correlationId: string;
|
|
1807
|
+
policyTraceId: string | null;
|
|
1808
|
+
idempotentReplay: boolean;
|
|
1809
|
+
}>;
|
|
1810
|
+
deleteTenantVaultSecret(secretId: string, scope: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1811
|
+
listTenantSecrets(scope: import("./coreClient").GatewayScope & {
|
|
1812
|
+
providerId?: string;
|
|
1813
|
+
status?: "active" | "revoked";
|
|
1814
|
+
}): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1815
|
+
upsertTenantSecret(input: import("./coreClient").GatewayScope & {
|
|
1816
|
+
providerId: string;
|
|
1817
|
+
apiKey: string;
|
|
1818
|
+
label?: string;
|
|
1819
|
+
modelSlotIds?: string[];
|
|
1820
|
+
passThroughOnly?: boolean;
|
|
1821
|
+
metadata?: JsonObject;
|
|
1822
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1823
|
+
revokeTenantSecret(secretRef: string, input: import("./coreClient").GatewayScope & {
|
|
1824
|
+
reason?: string;
|
|
1825
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1826
|
+
getTenantConfig(scope: import("./coreClient").GatewayScope & {
|
|
1827
|
+
tenantId: string;
|
|
1828
|
+
}): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
|
|
1829
|
+
getTenantModelRouting(scope: import("./coreClient").GatewayScope & {
|
|
1830
|
+
tenantId: string;
|
|
1831
|
+
}): Promise<PlatformGatewaySuccess<import("./adminClient").TenantModelRoutingSnapshot>>;
|
|
1832
|
+
upsertTenantConfig(input: import("./coreClient").GatewayScope & Omit<import("./adminClient").TenantConfigRecord, "updatedAt" | "updatedBy">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
|
|
1833
|
+
listGroups(scope?: import("./coreClient").GatewayScope & {
|
|
1834
|
+
limit?: number;
|
|
1835
|
+
}): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1836
|
+
createGroup(input: import("./coreClient").GatewayScope & {
|
|
1837
|
+
name: string;
|
|
1838
|
+
groupKey?: string;
|
|
1839
|
+
groupType?: string;
|
|
1840
|
+
description?: string;
|
|
1841
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1842
|
+
updateGroup(groupId: string, input: import("./coreClient").GatewayScope & {
|
|
1843
|
+
name?: string;
|
|
1844
|
+
description?: string;
|
|
1845
|
+
workspaceId?: string;
|
|
1846
|
+
clearWorkspaceId?: boolean;
|
|
1847
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1848
|
+
deleteGroup(groupId: string, input?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1849
|
+
listGroupMembers(query: import("./coreClient").GatewayScope & {
|
|
1850
|
+
groupId: string;
|
|
1851
|
+
}): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1852
|
+
addGroupMember(input: import("./coreClient").GatewayScope & {
|
|
1853
|
+
groupId: string;
|
|
1854
|
+
principalId: string;
|
|
1855
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1856
|
+
removeGroupMember(input: import("./coreClient").GatewayScope & {
|
|
1857
|
+
groupId: string;
|
|
1858
|
+
principalId: string;
|
|
1859
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1860
|
+
listPackGroupAssignments(query?: import("./coreClient").GatewayScope & {
|
|
1861
|
+
groupId?: string;
|
|
1862
|
+
status?: string;
|
|
1863
|
+
}): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1864
|
+
assignPackToGroup(input: import("./coreClient").GatewayScope & {
|
|
1865
|
+
groupId: string;
|
|
1866
|
+
packKey: string;
|
|
1867
|
+
packVersion?: string;
|
|
1868
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1869
|
+
removePackFromGroup(input: import("./coreClient").GatewayScope & {
|
|
1870
|
+
groupId: string;
|
|
1871
|
+
packKey: string;
|
|
1872
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1122
1873
|
};
|
|
1123
1874
|
identity: {
|
|
1124
|
-
whoami(): Promise<
|
|
1875
|
+
whoami(): Promise<PlatformGatewaySuccess<{
|
|
1876
|
+
principalId: string;
|
|
1877
|
+
principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
|
|
1878
|
+
tenantId: string | null;
|
|
1879
|
+
workspaceId: string | null;
|
|
1880
|
+
scopes: string[];
|
|
1881
|
+
roles: string[];
|
|
1882
|
+
isPlatformAdmin: boolean;
|
|
1883
|
+
isTenantAdmin: boolean;
|
|
1884
|
+
isWorkspaceAdmin: boolean;
|
|
1885
|
+
authMode: string | undefined;
|
|
1886
|
+
sessionId: string | undefined;
|
|
1887
|
+
delegatedBy: string | undefined;
|
|
1888
|
+
expiresAt: number | undefined;
|
|
1889
|
+
}>>;
|
|
1125
1890
|
listPrincipals(query?: import("./coreClient").GatewayScope & {
|
|
1126
1891
|
status?: string;
|
|
1127
1892
|
principalType?: string;
|
|
@@ -1182,6 +1947,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1182
1947
|
revokeKey(keyId: string, input?: {
|
|
1183
1948
|
reason?: string;
|
|
1184
1949
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1950
|
+
searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<import("./identityClient").ClerkUserSearchResult[]>>;
|
|
1185
1951
|
};
|
|
1186
1952
|
policy: {
|
|
1187
1953
|
listDecisions(query?: import("./coreClient").GatewayScope & {
|
|
@@ -1248,6 +2014,44 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1248
2014
|
id?: string;
|
|
1249
2015
|
deleted?: boolean;
|
|
1250
2016
|
}>>;
|
|
2017
|
+
listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
|
|
2018
|
+
data: {
|
|
2019
|
+
policies: import("./policyClient").TenantPolicyRecord[];
|
|
2020
|
+
};
|
|
2021
|
+
success: true;
|
|
2022
|
+
correlationId: string;
|
|
2023
|
+
policyTraceId: string | null;
|
|
2024
|
+
idempotentReplay: boolean;
|
|
2025
|
+
}>;
|
|
2026
|
+
createRolePolicy(input: import("./coreClient").GatewayScope & {
|
|
2027
|
+
roleName: string;
|
|
2028
|
+
description?: string;
|
|
2029
|
+
permissions: import("./policyClient").TenantPolicyPermission[];
|
|
2030
|
+
groupBindings?: string[];
|
|
2031
|
+
}, idempotencyKey?: string): Promise<{
|
|
2032
|
+
data: {
|
|
2033
|
+
policy: import("./policyClient").TenantPolicyRecord | null;
|
|
2034
|
+
};
|
|
2035
|
+
success: true;
|
|
2036
|
+
correlationId: string;
|
|
2037
|
+
policyTraceId: string | null;
|
|
2038
|
+
idempotentReplay: boolean;
|
|
2039
|
+
}>;
|
|
2040
|
+
updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
|
|
2041
|
+
roleName: string;
|
|
2042
|
+
description?: string;
|
|
2043
|
+
permissions: import("./policyClient").TenantPolicyPermission[];
|
|
2044
|
+
groupBindings?: string[];
|
|
2045
|
+
}, idempotencyKey?: string): Promise<{
|
|
2046
|
+
data: {
|
|
2047
|
+
policy: import("./policyClient").TenantPolicyRecord | null;
|
|
2048
|
+
};
|
|
2049
|
+
success: true;
|
|
2050
|
+
correlationId: string;
|
|
2051
|
+
policyTraceId: string | null;
|
|
2052
|
+
idempotentReplay: boolean;
|
|
2053
|
+
}>;
|
|
2054
|
+
deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1251
2055
|
checkPermission(query: import("./coreClient").GatewayScope & {
|
|
1252
2056
|
topicId?: string;
|
|
1253
2057
|
permission?: import("./policyClient").PermissionKind;
|
|
@@ -1398,6 +2202,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1398
2202
|
packs: {
|
|
1399
2203
|
listCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
|
|
1400
2204
|
getCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
|
|
2205
|
+
getDiscoveryCatalog(): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2206
|
+
getDiscoveryDetail(packKey: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1401
2207
|
listStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
|
|
1402
2208
|
getStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
|
|
1403
2209
|
getHealth(packKey: string, query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
|
|
@@ -1415,6 +2221,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1415
2221
|
install(input: import("./packsClient").PackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1416
2222
|
enable(input: import("./packsClient").PackEnableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1417
2223
|
disable(input: import("./packsClient").PackDisableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2224
|
+
uninstall(input: import("./packsClient").PackUninstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1418
2225
|
upgrade(input: import("./packsClient").PackUpgradeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1419
2226
|
};
|
|
1420
2227
|
reports: {
|
|
@@ -1461,6 +2268,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1461
2268
|
createAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1462
2269
|
registerAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1463
2270
|
updateAgentDefinition(agentId: string, input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2271
|
+
invokeManagedAgentDefinition(agentId: string, input: Omit<import("./harnessClient").HarnessInvokeManagedAgentInput, "agentDefinitionId">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1464
2272
|
listAgentRuns(agentId: string, scope?: import("./coreClient").GatewayScope & {
|
|
1465
2273
|
status?: string;
|
|
1466
2274
|
limit?: number;
|
|
@@ -1481,6 +2289,7 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1481
2289
|
createToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1482
2290
|
registerToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
1483
2291
|
updateToolDefinition(toolId: string, input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
2292
|
+
executeToolDefinition(toolId: string, input?: import("./harnessClient").HarnessExecuteToolInput): Promise<PlatformGatewaySuccess<import("./harnessClient").HarnessExecuteToolResult>>;
|
|
1484
2293
|
listRunEntries(scope?: import("./coreClient").GatewayScope & {
|
|
1485
2294
|
status?: string;
|
|
1486
2295
|
limit?: number;
|
|
@@ -1552,6 +2361,8 @@ export declare function createLucernClient(config?: LucernClientConfig): {
|
|
|
1552
2361
|
update(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
1553
2362
|
getTree(topicId: string, query?: import("./topicsClient").TopicTreeQuery): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
|
|
1554
2363
|
getCoverage(topicId: string, query?: import("./topicsClient").TopicCoverageQuery): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
|
|
2364
|
+
remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
2365
|
+
bulkCreate(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
1555
2366
|
};
|
|
1556
2367
|
};
|
|
1557
2368
|
};
|