@lucern/sdk 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/accessControl.d.ts +31 -31
- package/dist/accessControl.js +1 -0
- package/dist/adminClient.d.ts +74 -74
- package/dist/adminClient.js +38 -30
- package/dist/{answersClient.d.ts → answers-client.d.ts} +1 -1
- package/dist/{answersClient.js → answers-client.js} +2 -2
- package/dist/audience/index.d.ts +12 -12
- package/dist/{audiencesClient.d.ts → audiences-client.d.ts} +1 -1
- package/dist/audiences-client.js +107 -0
- package/dist/{auditClient.d.ts → audit-client.d.ts} +2 -3
- package/dist/{auditClient.js → audit-client.js} +8 -7
- package/dist/authContext.d.ts +26 -26
- package/dist/authDeviceClient.d.ts +11 -11
- package/dist/authDeviceClient.js +4 -6
- package/dist/beliefs/index.d.ts +56 -28
- package/dist/beliefs/index.js +2 -1
- package/dist/beliefsClient.d.ts +71 -63
- package/dist/beliefsClient.js +90 -67
- package/dist/{boundaryClientSurface.d.ts → boundary-client-surface.d.ts} +4 -4
- package/dist/{boundaryClientSurface.js → boundary-client-surface.js} +9 -7
- package/dist/client-assembly-types.d.ts +219 -0
- package/dist/client-assembly-types.js +2 -0
- package/dist/{clientConfig.d.ts → client-config.d.ts} +16 -32
- package/dist/client-config.js +2 -0
- package/dist/{clientEvidenceCompat.d.ts → client-evidence-compat.d.ts} +24 -24
- package/dist/{clientEvidenceCompat.js → client-evidence-compat.js} +2 -2
- package/dist/client.d.ts +1906 -352
- package/dist/client.js +34 -30
- package/dist/clientGraphNamespaces.d.ts +35 -25
- package/dist/clientGraphNamespaces.js +11 -5
- package/dist/clientHelpers.js +8 -5
- package/dist/clientKnowledgeNamespaces.d.ts +124 -84
- package/dist/clientKnowledgeNamespaces.js +35 -34
- package/dist/clientLocalHelpers.d.ts +81 -52
- package/dist/clientLocalHelpers.js +193 -43
- package/dist/clientPlatformNamespaces.d.ts +1541 -150
- package/dist/clientPlatformNamespaces.js +10 -5
- package/dist/clientRuntime.d.ts +1 -1
- package/dist/clientRuntime.js +1 -1
- package/dist/clientWorkflowNamespaces.d.ts +211 -97
- package/dist/clientWorkflowNamespaces.js +22 -19
- package/dist/contextClient.d.ts +2 -2
- package/dist/contextClient.js +79 -50
- package/dist/contextFacade.d.ts +1 -1
- package/dist/contextFacade.js +2 -0
- package/dist/contextPackCompiler.d.ts +52 -52
- package/dist/contextPackCompiler.js +192 -122
- package/dist/contextPackPolicy.d.ts +22 -22
- package/dist/contextPackPolicy.js +21 -9
- package/dist/contextPackSchema.d.ts +3 -3
- package/dist/contextPackSchema.js +1 -0
- package/dist/contextTypes.d.ts +155 -155
- package/dist/contracts/api-enums.contract.js +2 -11
- package/dist/contracts/auth-session.contract.d.ts +16 -16
- package/dist/contracts/auth-session.contract.js +3 -2
- package/dist/contracts/context-pack.contract.d.ts +216 -216
- package/dist/contracts/contextPack.js +2 -0
- package/dist/contracts/index.d.ts +1 -1
- package/dist/contracts/index.js +2 -1
- package/dist/contracts/lens-filter.contract.d.ts +8 -8
- package/dist/contracts/lens-filter.contract.js +10 -10
- package/dist/contracts/lens-workflow.contract.d.ts +32 -32
- package/dist/contracts/lens-workflow.contract.js +2 -1
- package/dist/contracts/lensFilter.js +2 -0
- package/dist/contracts/lensWorkflow.js +2 -0
- package/dist/contracts/mcpTools.d.ts +19 -19
- package/dist/contracts/mcpTools.js +3 -1
- package/dist/contracts/prompt.contract.d.ts +12 -12
- package/dist/contracts/prompt.js +1 -0
- package/dist/contracts/sdk-tools.contract.js +1 -0
- package/dist/contracts/sdkTools.js +2 -0
- package/dist/contracts/tool-contracts.js +1 -0
- package/dist/contracts/workflow-runtime.contract.d.ts +45 -45
- package/dist/contracts/workflow-runtime.contract.js +1 -5
- package/dist/contracts/workflowRuntime.js +2 -0
- package/dist/contradictions/index.d.ts +8 -8
- package/dist/contradictions/index.js +1 -0
- package/dist/control-plane.d.ts +10 -10
- package/dist/control-plane.js +2 -2
- package/dist/controlObjectOwnership.d.ts +11 -11
- package/dist/controlObjectOwnership.js +1 -0
- package/dist/coreClient.d.ts +51 -51
- package/dist/coreClient.js +269 -101
- package/dist/customTools.d.ts +19 -19
- package/dist/customTools.js +4 -2
- package/dist/decisions/index.d.ts +18 -18
- package/dist/decisions/index.js +1 -0
- package/dist/decisionsClient.d.ts +4 -4
- package/dist/decisionsClient.js +36 -27
- package/dist/edges/index.d.ts +20 -18
- package/dist/edges/index.js +1 -0
- package/dist/embeddingsClient.d.ts +29 -29
- package/dist/embeddingsClient.js +15 -8
- package/dist/eventingClient.d.ts +27 -27
- package/dist/eventingClient.js +10 -5
- package/dist/events.d.ts +83 -83
- package/dist/events.js +19 -15
- package/dist/eventsCore.d.ts +7 -7
- package/dist/eventsCore.js +11 -10
- package/dist/evidence/index.d.ts +23 -21
- package/dist/evidence/index.js +1 -0
- package/dist/evidenceClient.d.ts +23 -23
- package/dist/evidenceClient.js +10 -6
- package/dist/facade/context.d.ts +9 -9
- package/dist/facade/context.js +67 -41
- package/dist/functionSurface.js +2 -0
- package/dist/functionSurfaceClient.js +2 -0
- package/dist/gatewayFacades.d.ts +215 -215
- package/dist/gatewayFacades.factories.d.ts +23 -44
- package/dist/gatewayFacades.factories.js +63 -62
- package/dist/gatewayFacades.js +31 -32
- package/dist/graphAnalysisClient.d.ts +60 -60
- package/dist/graphAnalysisClient.js +19 -18
- package/dist/graphClient.d.ts +34 -34
- package/dist/graphClient.js +56 -35
- package/dist/graphIntel.js +2 -0
- package/dist/graphIntelligence.d.ts +2 -2
- package/dist/graphIntelligence.js +1 -1
- package/dist/graphRecommendationsClient.d.ts +24 -24
- package/dist/graphRecommendationsClient.js +12 -7
- package/dist/graphStateClassifierClient.d.ts +13 -13
- package/dist/graphStateClassifierClient.js +10 -5
- package/dist/harnessClient.d.ts +61 -61
- package/dist/harnessClient.js +44 -31
- package/dist/identityClient.d.ts +33 -59
- package/dist/identityClient.js +126 -98
- package/dist/index.d.ts +20 -20
- package/dist/index.js +20 -19
- package/dist/infisicalRuntime.d.ts +11 -11
- package/dist/infisicalRuntime.js +20 -14
- package/dist/jobsClient.d.ts +28 -28
- package/dist/jobsClient.js +6 -3
- package/dist/learningClient.js +13 -8
- package/dist/lenses/index.d.ts +124 -28
- package/dist/lenses/index.js +1 -0
- package/dist/mcpClient.d.ts +1 -1
- package/dist/mcpClient.js +3 -3
- package/dist/modelRuntimeClient.d.ts +27 -27
- package/dist/modelRuntimeClient.js +10 -5
- package/dist/nodes/index.d.ts +9 -9
- package/dist/nodes/index.js +1 -0
- package/dist/ontologies/index.d.ts +68 -22
- package/dist/ontologies/index.js +1 -0
- package/dist/ontologyClient.js +24 -17
- package/dist/ontologyLinksClient.d.ts +35 -35
- package/dist/ontologyLinksClient.js +9 -6
- package/dist/opinion.d.ts +3 -3
- package/dist/opinion.js +12 -5
- package/dist/orgGraphSearchClient.d.ts +39 -39
- package/dist/orgGraphSearchClient.js +22 -13
- package/dist/packsClient.d.ts +1 -1
- package/dist/packsClient.js +28 -19
- package/dist/policyClient.d.ts +79 -68
- package/dist/policyClient.js +18 -12
- package/dist/proof-attestation.json +1 -1
- package/dist/questions/index.d.ts +38 -27
- package/dist/questions/index.js +1 -0
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +1 -0
- package/dist/realtime/refs.d.ts +2 -2
- package/dist/{reportsClient.d.ts → reports-client.d.ts} +2 -2
- package/dist/{reportsClient.js → reports-client.js} +19 -13
- package/dist/{schemaClient.d.ts → schema-client.d.ts} +2 -3
- package/dist/{schemaClient.js → schema-client.js} +14 -11
- package/dist/sdkSurface.d.ts +12 -12
- package/dist/sdkSurface.js +14 -10
- package/dist/secrets.d.ts +1 -1
- package/dist/secrets.js +2 -1
- package/dist/{sourcesClient.d.ts → sources-client.d.ts} +8 -9
- package/dist/{sourcesClient.js → sources-client.js} +4 -5
- package/dist/{telemetryClient.d.ts → telemetry-client.d.ts} +14 -14
- package/dist/{telemetryClient.js → telemetry-client.js} +6 -4
- package/dist/toolRegistryClient.d.ts +46 -46
- package/dist/toolRegistryClient.js +22 -11
- package/dist/topics/index.d.ts +23 -23
- package/dist/topics/index.js +2 -1
- package/dist/topicsClient.d.ts +6 -6
- package/dist/topicsClient.js +29 -18
- package/dist/types.d.ts +356 -355
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/workflowClient.d.ts +36 -35
- package/dist/workflowClient.js +88 -60
- package/dist/worktrees/index.d.ts +118 -32
- package/dist/worktrees/index.js +2 -1
- package/package.json +45 -5
- package/dist/audiencesClient.js +0 -115
- package/dist/clientAssemblyTypes.d.ts +0 -33
- package/dist/clientAssemblyTypes.js +0 -2
- package/dist/clientConfig.js +0 -2
package/dist/evidenceClient.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
// biome-ignore-all lint/style/useFilenamingConvention: This file is an @lucern/sdk public import ABI / package subpath compatibility surface; the camelCase filename is intentional.
|
|
1
2
|
import { createGatewayRequestClient, randomIdempotencyKey, } from "./coreClient.js";
|
|
3
|
+
function deferGatewayRequest(buildRequest) {
|
|
4
|
+
return Promise.resolve().then(buildRequest);
|
|
5
|
+
}
|
|
2
6
|
/**
|
|
3
7
|
* Create the evidence classification client.
|
|
4
8
|
*
|
|
@@ -9,8 +13,8 @@ import { createGatewayRequestClient, randomIdempotencyKey, } from "./coreClient.
|
|
|
9
13
|
export function createEvidenceClient(config = {}) {
|
|
10
14
|
const gateway = createGatewayRequestClient(config);
|
|
11
15
|
return {
|
|
12
|
-
|
|
13
|
-
return gateway.request({
|
|
16
|
+
classifyEvidence(beliefId, evidenceId, classificationConfig, idempotencyKey) {
|
|
17
|
+
return deferGatewayRequest(() => gateway.request({
|
|
14
18
|
path: "/api/platform/v1/evidence/classify",
|
|
15
19
|
method: "POST",
|
|
16
20
|
body: {
|
|
@@ -19,10 +23,10 @@ export function createEvidenceClient(config = {}) {
|
|
|
19
23
|
config: classificationConfig,
|
|
20
24
|
},
|
|
21
25
|
idempotencyKey: idempotencyKey ?? randomIdempotencyKey(),
|
|
22
|
-
});
|
|
26
|
+
}));
|
|
23
27
|
},
|
|
24
|
-
|
|
25
|
-
return gateway.request({
|
|
28
|
+
classifyEvidenceBatch(beliefId, evidence, classificationConfig, idempotencyKey) {
|
|
29
|
+
return deferGatewayRequest(() => gateway.request({
|
|
26
30
|
path: "/api/platform/v1/evidence/classify-batch",
|
|
27
31
|
method: "POST",
|
|
28
32
|
body: {
|
|
@@ -31,7 +35,7 @@ export function createEvidenceClient(config = {}) {
|
|
|
31
35
|
config: classificationConfig,
|
|
32
36
|
},
|
|
33
37
|
idempotencyKey: idempotencyKey ?? randomIdempotencyKey(),
|
|
34
|
-
});
|
|
38
|
+
}));
|
|
35
39
|
},
|
|
36
40
|
};
|
|
37
41
|
}
|
package/dist/facade/context.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { CompileContextInput, GetCampaignContextInput, PublicCampaignContext, PublicCompiledContext } from "../contextTypes";
|
|
2
|
-
export
|
|
3
|
-
path: "/api/platform/v1/context/compile" | "/api/platform/v1/context/campaign";
|
|
4
|
-
method: "POST";
|
|
2
|
+
export interface ContextClientRequest {
|
|
5
3
|
body: Record<string, unknown>;
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
method: "POST";
|
|
5
|
+
path: "/api/platform/v1/context/compile" | "/api/platform/v1/context/campaign";
|
|
6
|
+
}
|
|
7
|
+
export interface ContextFacadeTransport {
|
|
8
8
|
request<T>(request: ContextClientRequest): Promise<T>;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
9
|
+
}
|
|
10
|
+
export interface ContextFacadeConfig {
|
|
11
11
|
transport: ContextFacadeTransport;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
export declare function createContextFacade(config: ContextFacadeConfig): {
|
|
14
14
|
compile(topicIdOrInput?: string | CompileContextInput, input?: CompileContextInput): Promise<PublicCompiledContext>;
|
|
15
15
|
compileByQuery(input?: CompileContextInput): Promise<PublicCompiledContext>;
|
|
16
16
|
getCampaignContext(input: GetCampaignContextInput): Promise<PublicCampaignContext>;
|
|
17
17
|
};
|
|
18
|
-
export type { CampaignContextPurpose, CompileContextInput, ContextHeartbeatIntent, GetCampaignContextInput,
|
|
18
|
+
export type { CampaignContextPurpose, CompileContextInput, ContextHeartbeatIntent, GetCampaignContextInput, PublicCampaignContext, PublicCompiledContext, PublicContextHeartbeatReceipt, } from "../contextTypes";
|
|
19
19
|
//# sourceMappingURL=context.d.ts.map
|
package/dist/facade/context.js
CHANGED
|
@@ -4,14 +4,16 @@ function cleanString(value) {
|
|
|
4
4
|
: undefined;
|
|
5
5
|
}
|
|
6
6
|
function cleanNumber(value) {
|
|
7
|
-
return typeof value === "number" && Number.isFinite(value)
|
|
7
|
+
return typeof value === "number" && Number.isFinite(value)
|
|
8
|
+
? value
|
|
9
|
+
: undefined;
|
|
8
10
|
}
|
|
9
11
|
function cleanBoolean(value) {
|
|
10
12
|
return typeof value === "boolean" ? value : undefined;
|
|
11
13
|
}
|
|
12
14
|
function cleanStringArray(value) {
|
|
13
15
|
if (!Array.isArray(value)) {
|
|
14
|
-
return
|
|
16
|
+
return;
|
|
15
17
|
}
|
|
16
18
|
const cleaned = value
|
|
17
19
|
.map((item) => cleanString(item))
|
|
@@ -30,96 +32,120 @@ function assignNumber(payload, key, value) {
|
|
|
30
32
|
payload[key] = cleaned;
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
function effectiveCompileInput(topicIdOrInput, input) {
|
|
36
|
+
return typeof topicIdOrInput === "string" ? input : topicIdOrInput;
|
|
37
|
+
}
|
|
38
|
+
function assignCompileTopicAndQuery(payload, topicIdOrInput, input) {
|
|
36
39
|
const topicId = typeof topicIdOrInput === "string"
|
|
37
40
|
? cleanString(topicIdOrInput)
|
|
38
|
-
: cleanString(
|
|
41
|
+
: cleanString(input.topicId);
|
|
39
42
|
if (topicId) {
|
|
40
43
|
payload.topicId = topicId;
|
|
41
44
|
}
|
|
42
|
-
const query = cleanString(
|
|
45
|
+
const query = cleanString(input.query);
|
|
43
46
|
if (query) {
|
|
44
47
|
payload.query = query;
|
|
45
48
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
assignString(payload, "
|
|
49
|
-
|
|
49
|
+
}
|
|
50
|
+
function assignCompileStringMetadata(payload, input) {
|
|
51
|
+
assignString(payload, "purpose", input.purpose);
|
|
52
|
+
assignString(payload, "purposePrompt", input.purposePrompt);
|
|
53
|
+
assignString(payload, "topicHint", input.topicHint);
|
|
54
|
+
assignString(payload, "sourceRef", input.sourceRef);
|
|
55
|
+
assignString(payload, "sourceKind", input.sourceKind);
|
|
56
|
+
assignString(payload, "lane", input.lane);
|
|
57
|
+
assignString(payload, "status", input.status);
|
|
58
|
+
assignString(payload, "principalId", input.principalId);
|
|
59
|
+
assignString(payload, "workspaceId", input.workspaceId);
|
|
60
|
+
}
|
|
61
|
+
function assignCompileArrayMetadata(payload, input) {
|
|
62
|
+
const tags = cleanStringArray(input.tags);
|
|
50
63
|
if (tags) {
|
|
51
64
|
payload.tags = tags;
|
|
52
65
|
}
|
|
53
|
-
const touchedPaths = cleanStringArray(
|
|
66
|
+
const touchedPaths = cleanStringArray(input.touchedPaths);
|
|
54
67
|
if (touchedPaths) {
|
|
55
68
|
payload.touchedPaths = touchedPaths;
|
|
56
69
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
assignNumber(payload, "campaign",
|
|
60
|
-
|
|
61
|
-
assignString(payload, "status", effectiveInput.status);
|
|
62
|
-
assignString(payload, "principalId", effectiveInput.principalId);
|
|
63
|
-
assignString(payload, "workspaceId", effectiveInput.workspaceId);
|
|
64
|
-
const budget = cleanNumber(effectiveInput.budget);
|
|
70
|
+
}
|
|
71
|
+
function assignCompileBudgets(payload, input) {
|
|
72
|
+
assignNumber(payload, "campaign", input.campaign);
|
|
73
|
+
const budget = cleanNumber(input.budget);
|
|
65
74
|
if (budget !== undefined) {
|
|
66
75
|
payload.budget = budget;
|
|
67
76
|
}
|
|
68
|
-
const tokenBudget = cleanNumber(
|
|
77
|
+
const tokenBudget = cleanNumber(input.tokenBudget);
|
|
69
78
|
if (tokenBudget !== undefined) {
|
|
70
79
|
payload.tokenBudget = tokenBudget;
|
|
71
80
|
if (budget === undefined) {
|
|
72
81
|
payload.budget = tokenBudget;
|
|
73
82
|
}
|
|
74
83
|
}
|
|
75
|
-
|
|
84
|
+
assignNumber(payload, "contentTopicLimit", input.contentTopicLimit);
|
|
85
|
+
}
|
|
86
|
+
function assignCompileTraversal(payload, input) {
|
|
87
|
+
const ranking = cleanString(input.ranking) ?? cleanString(input.rankingProfile);
|
|
76
88
|
if (ranking) {
|
|
77
89
|
payload.ranking = ranking;
|
|
78
90
|
}
|
|
79
|
-
const limit = cleanNumber(
|
|
91
|
+
const limit = cleanNumber(input.limit);
|
|
80
92
|
if (limit !== undefined) {
|
|
81
93
|
payload.limit = limit;
|
|
82
94
|
}
|
|
83
|
-
|
|
84
|
-
const maxDepth = cleanNumber(effectiveInput.maxDepth);
|
|
95
|
+
const maxDepth = cleanNumber(input.maxDepth);
|
|
85
96
|
if (maxDepth !== undefined) {
|
|
86
97
|
payload.maxDepth = maxDepth;
|
|
87
98
|
}
|
|
88
|
-
const includeEntities = cleanBoolean(
|
|
99
|
+
const includeEntities = cleanBoolean(input.includeEntities);
|
|
89
100
|
if (includeEntities !== undefined) {
|
|
90
101
|
payload.includeEntities = includeEntities;
|
|
91
102
|
}
|
|
92
|
-
const mode = cleanString(
|
|
103
|
+
const mode = cleanString(input.mode);
|
|
93
104
|
if (mode) {
|
|
94
105
|
payload.mode = mode;
|
|
95
106
|
}
|
|
96
|
-
assignString(payload, "traversalMode",
|
|
97
|
-
assignString(payload, "requestedDepth",
|
|
98
|
-
|
|
107
|
+
assignString(payload, "traversalMode", input.traversalMode);
|
|
108
|
+
assignString(payload, "requestedDepth", input.requestedDepth);
|
|
109
|
+
}
|
|
110
|
+
function assignCompileHeartbeat(payload, input) {
|
|
111
|
+
const heartbeat = cleanBoolean(input.heartbeat);
|
|
99
112
|
if (heartbeat !== undefined) {
|
|
100
113
|
payload.heartbeat = heartbeat;
|
|
101
114
|
}
|
|
102
|
-
assignString(payload, "heartbeatIntent",
|
|
103
|
-
assignNumber(payload, "heartbeatBudgetMs",
|
|
104
|
-
assignString(payload, "heartbeatTraceId",
|
|
105
|
-
assignString(payload, "invocationIntent",
|
|
106
|
-
assignString(payload, "receiptIntent",
|
|
107
|
-
|
|
115
|
+
assignString(payload, "heartbeatIntent", input.heartbeatIntent);
|
|
116
|
+
assignNumber(payload, "heartbeatBudgetMs", input.heartbeatBudgetMs);
|
|
117
|
+
assignString(payload, "heartbeatTraceId", input.heartbeatTraceId);
|
|
118
|
+
assignString(payload, "invocationIntent", input.invocationIntent);
|
|
119
|
+
assignString(payload, "receiptIntent", input.receiptIntent);
|
|
120
|
+
}
|
|
121
|
+
function assignCompileOptionalControls(payload, input) {
|
|
122
|
+
const includeFailures = cleanBoolean(input.includeFailures);
|
|
108
123
|
if (includeFailures !== undefined) {
|
|
109
124
|
payload.includeFailures = includeFailures;
|
|
110
125
|
}
|
|
111
|
-
const worktreeId = cleanString(
|
|
126
|
+
const worktreeId = cleanString(input.worktreeId);
|
|
112
127
|
if (worktreeId) {
|
|
113
128
|
payload.worktreeId = worktreeId;
|
|
114
129
|
}
|
|
115
|
-
const sessionId = cleanString(
|
|
130
|
+
const sessionId = cleanString(input.sessionId);
|
|
116
131
|
if (sessionId) {
|
|
117
132
|
payload.sessionId = sessionId;
|
|
118
133
|
}
|
|
119
|
-
if (Array.isArray(
|
|
120
|
-
|
|
121
|
-
payload.packWeightOverrides =
|
|
134
|
+
if (Array.isArray(input.packWeightOverrides) &&
|
|
135
|
+
input.packWeightOverrides.length > 0) {
|
|
136
|
+
payload.packWeightOverrides = input.packWeightOverrides;
|
|
122
137
|
}
|
|
138
|
+
}
|
|
139
|
+
function buildCompileContextRequest(topicIdOrInput = {}, input = {}) {
|
|
140
|
+
const effectiveInput = effectiveCompileInput(topicIdOrInput, input);
|
|
141
|
+
const payload = {};
|
|
142
|
+
assignCompileTopicAndQuery(payload, topicIdOrInput, effectiveInput);
|
|
143
|
+
assignCompileStringMetadata(payload, effectiveInput);
|
|
144
|
+
assignCompileArrayMetadata(payload, effectiveInput);
|
|
145
|
+
assignCompileBudgets(payload, effectiveInput);
|
|
146
|
+
assignCompileTraversal(payload, effectiveInput);
|
|
147
|
+
assignCompileHeartbeat(payload, effectiveInput);
|
|
148
|
+
assignCompileOptionalControls(payload, effectiveInput);
|
|
123
149
|
return {
|
|
124
150
|
path: "/api/platform/v1/context/compile",
|
|
125
151
|
method: "POST",
|
package/dist/functionSurface.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
// biome-ignore-all lint/style/useFilenamingConvention: This file is an @lucern/sdk public import ABI / package subpath compatibility surface; the camelCase filename is intentional.
|
|
2
|
+
// biome-ignore-all lint/performance/noBarrelFile: This file is an @lucern/sdk public import ABI / package subpath compatibility surface; the facade/barrel export is intentional.
|
|
1
3
|
export * from "./generated/functionSurface.js";
|
|
2
4
|
//# sourceMappingURL=functionSurface.js.map
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
// biome-ignore-all lint/style/useFilenamingConvention: This file is an @lucern/sdk public import ABI / package subpath compatibility surface; the camelCase filename is intentional.
|
|
2
|
+
// biome-ignore-all lint/performance/noBarrelFile: This file is an @lucern/sdk public import ABI / package subpath compatibility surface; the facade/barrel export is intentional.
|
|
1
3
|
export * from "./generated/functionSurface.js";
|
|
2
4
|
//# sourceMappingURL=functionSurfaceClient.js.map
|