@lucern/sdk 0.2.0-alpha.9 → 0.3.0-alpha.0
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 +6 -0
- package/dist/adminClient.d.ts +15 -9
- package/dist/adminClient.js.map +1 -1
- package/dist/audience/index.d.ts +38 -0
- package/dist/audience/index.js +110 -0
- package/dist/audience/index.js.map +1 -0
- package/dist/beliefs/index.d.ts +463 -0
- package/dist/beliefs/index.js +6694 -0
- package/dist/beliefs/index.js.map +1 -0
- package/dist/beliefs/lifecycle.d.ts +24 -0
- package/dist/beliefs/lifecycle.js +98 -0
- package/dist/beliefs/lifecycle.js.map +1 -0
- package/dist/beliefsClient.d.ts +91 -12
- package/dist/beliefsClient.js +176 -7
- package/dist/beliefsClient.js.map +1 -1
- package/dist/client-DAuKnDlx.d.ts +2547 -0
- package/dist/client.d.ts +31 -2377
- package/dist/client.js +783 -245
- package/dist/client.js.map +1 -1
- package/dist/contracts/api-enums.contract.d.ts +1 -1
- package/dist/contracts/api-enums.contract.js +8 -2
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +4 -2
- package/dist/contracts/index.js +118 -4282
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/mcpTools.d.ts +2 -1
- package/dist/contracts/mcpTools.js +22 -2981
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contracts/sdk-tools.contract.d.ts +1 -2
- package/dist/contracts/sdk-tools.contract.js +1 -4132
- package/dist/contracts/sdk-tools.contract.js.map +1 -1
- package/dist/contracts/sdkTools.d.ts +1 -2
- package/dist/contracts/sdkTools.js +20 -4127
- package/dist/contracts/sdkTools.js.map +1 -1
- package/dist/contracts/tool-contracts.d.ts +1 -0
- package/dist/contracts/tool-contracts.js +3 -0
- package/dist/contracts/tool-contracts.js.map +1 -0
- package/dist/contradictions/index.d.ts +156 -0
- package/dist/contradictions/index.js +6688 -0
- package/dist/contradictions/index.js.map +1 -0
- package/dist/customTools.d.ts +1 -1
- package/dist/decisions/index.d.ts +66 -0
- package/dist/decisions/index.js +6690 -0
- package/dist/decisions/index.js.map +1 -0
- package/dist/edges/index.d.ts +202 -0
- package/dist/edges/index.js +6689 -0
- package/dist/edges/index.js.map +1 -0
- package/dist/events.js +7 -5
- package/dist/events.js.map +1 -1
- package/dist/evidence/index.d.ts +293 -0
- package/dist/evidence/index.js +6689 -0
- package/dist/evidence/index.js.map +1 -0
- package/dist/evidenceClient.d.ts +119 -0
- package/dist/evidenceClient.js +350 -0
- package/dist/evidenceClient.js.map +1 -0
- package/dist/gatewayFacades.d.ts +8 -10
- package/dist/gatewayFacades.js +54 -1
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/identityClient.d.ts +3 -3
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1092 -3294
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.d.ts +192 -0
- package/dist/lenses/index.js +6688 -0
- package/dist/lenses/index.js.map +1 -0
- package/dist/nodes/index.d.ts +61 -0
- package/dist/nodes/index.js +6690 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/ontologies/index.d.ts +179 -0
- package/dist/ontologies/index.js +6691 -0
- package/dist/ontologies/index.js.map +1 -0
- package/dist/opinion.d.ts +11 -0
- package/dist/opinion.js +35 -0
- package/dist/opinion.js.map +1 -0
- package/dist/questions/index.d.ts +295 -0
- package/dist/questions/index.js +6691 -0
- package/dist/questions/index.js.map +1 -0
- package/dist/sdk-tools.contract-B4c1Zr1o.d.ts +22 -0
- package/dist/sourcesClient.d.ts +24 -0
- package/dist/{mcpParityClient.js → sourcesClient.js} +15 -192
- package/dist/sourcesClient.js.map +1 -0
- package/dist/tool-contracts-BUiL9P6z.d.ts +22 -0
- package/dist/topics/index.d.ts +66 -0
- package/dist/topics/index.js +6689 -0
- package/dist/topics/index.js.map +1 -0
- package/dist/types.d.ts +20 -1
- package/dist/worktrees/index.d.ts +208 -0
- package/dist/worktrees/index.js +6691 -0
- package/dist/worktrees/index.js.map +1 -0
- package/package.json +55 -3
- package/dist/contracts/mcp-tools.contract.d.ts +0 -1
- package/dist/contracts/mcp-tools.contract.js +0 -2986
- package/dist/contracts/mcp-tools.contract.js.map +0 -1
- package/dist/mcpParityClient.d.ts +0 -74
- package/dist/mcpParityClient.js.map +0 -1
- package/dist/mcpParitySurface.d.ts +0 -12
- package/dist/mcpParitySurface.js +0 -65
- package/dist/mcpParitySurface.js.map +0 -1
- package/dist/mcpTools-DPZxowDX.d.ts +0 -254
- package/dist/sdkTools-CwXJDACb.d.ts +0 -150
package/dist/customTools.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { McpToolContract } from '@lucern/contracts/tool-contracts';
|
|
3
3
|
import { JsonObject } from './types.js';
|
|
4
4
|
import './contracts/workflow-runtime.contract.js';
|
|
5
5
|
import './contracts/lens-workflow.contract.js';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PlatformGatewaySuccess } from '../coreClient.js';
|
|
2
|
+
import { RecordJudgmentResponse, GetJudgmentResponse, ListJudgmentsResponse, RecordJudgmentOutcomeResponse, JudgmentReadinessResponse, JudgmentCalibrationResponse, ListResult, PendingJudgmentOutcomeRecord, JudgmentTransitionAuditIntegrityResponse } from '../types.js';
|
|
3
|
+
import { RecordJudgmentInput, ListJudgmentsInput, RecordJudgmentOutcomeInput } from '../decisionsClient.js';
|
|
4
|
+
import { L as LucernClientConfig } from '../client-DAuKnDlx.js';
|
|
5
|
+
import * as sdkMethods_contract from '@lucern/contracts/sdk-methods.contract';
|
|
6
|
+
export { sdkMethods_contract as methodSchemas };
|
|
7
|
+
import * as toolContracts from '@lucern/contracts/tool-contracts';
|
|
8
|
+
export { toolContracts as toolSchemas };
|
|
9
|
+
import '../contracts/workflow-runtime.contract.js';
|
|
10
|
+
import '../contracts/lens-workflow.contract.js';
|
|
11
|
+
import '../contracts/lens-filter.contract.js';
|
|
12
|
+
import '../audiencesClient.js';
|
|
13
|
+
import '../schemaClient.js';
|
|
14
|
+
import '../harnessClient.js';
|
|
15
|
+
import '../identityClient.js';
|
|
16
|
+
import '../adminClient.js';
|
|
17
|
+
import '../controlObjectOwnership.js';
|
|
18
|
+
import '../beliefsClient.js';
|
|
19
|
+
import '../opinion.js';
|
|
20
|
+
import '../packsClient.js';
|
|
21
|
+
import '../customTools.js';
|
|
22
|
+
import 'zod';
|
|
23
|
+
import '../policyClient.js';
|
|
24
|
+
import '../ontologyClient.js';
|
|
25
|
+
import '../contextTypes.js';
|
|
26
|
+
import '../topicsClient.js';
|
|
27
|
+
import '../answersClient.js';
|
|
28
|
+
import '../auditClient.js';
|
|
29
|
+
import '../contextClient.js';
|
|
30
|
+
import '../evidenceClient.js';
|
|
31
|
+
import '../graphClient.js';
|
|
32
|
+
import '../learningClient.js';
|
|
33
|
+
import '../reportsClient.js';
|
|
34
|
+
import '../sourcesClient.js';
|
|
35
|
+
import '../workflowClient.js';
|
|
36
|
+
|
|
37
|
+
type DecisionsClientConfig = LucernClientConfig;
|
|
38
|
+
type DecisionsClient = ReturnType<typeof createDecisionsClient>;
|
|
39
|
+
declare function createDecisionsClient(config?: DecisionsClientConfig): {
|
|
40
|
+
createDecision: (input: RecordJudgmentInput) => Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
41
|
+
getDecision: (judgmentId: string) => Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
|
|
42
|
+
listDecisions: (query: Parameters<(query: ListJudgmentsInput) => Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>>[0]) => Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
|
|
43
|
+
recordDecisionOutcome: (judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
|
|
44
|
+
updateDecisionOutcome: (judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
|
|
45
|
+
getDecisionReadiness: (topicId: string) => Promise<PlatformGatewaySuccess<JudgmentReadinessResponse>>;
|
|
46
|
+
getDecisionCalibration: (topicId: string) => Promise<PlatformGatewaySuccess<JudgmentCalibrationResponse>>;
|
|
47
|
+
listPendingDecisionOutcomeReviews: (topicId: string) => Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
|
|
48
|
+
raw: {
|
|
49
|
+
create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
50
|
+
record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<RecordJudgmentResponse>>;
|
|
51
|
+
list(query: Parameters<(query: ListJudgmentsInput) => Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>>[0]): Promise<PlatformGatewaySuccess<ListJudgmentsResponse>>;
|
|
52
|
+
get(judgmentId: string): Promise<PlatformGatewaySuccess<GetJudgmentResponse>>;
|
|
53
|
+
recordOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
|
|
54
|
+
updateOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<RecordJudgmentOutcomeResponse>>;
|
|
55
|
+
readiness(topicId: string): Promise<PlatformGatewaySuccess<JudgmentReadinessResponse>>;
|
|
56
|
+
calibration(topicId: string): Promise<PlatformGatewaySuccess<JudgmentCalibrationResponse>>;
|
|
57
|
+
pendingOutcomeReview(topicId: string): Promise<PlatformGatewaySuccess<ListResult<PendingJudgmentOutcomeRecord, "reviews">>>;
|
|
58
|
+
transitionAuditIntegrity(args: {
|
|
59
|
+
topicId?: string;
|
|
60
|
+
judgmentId?: string;
|
|
61
|
+
includePassing?: boolean;
|
|
62
|
+
}): Promise<PlatformGatewaySuccess<JudgmentTransitionAuditIntegrityResponse>>;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export { type DecisionsClient, type DecisionsClientConfig, createDecisionsClient };
|