@lucern/sdk 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/.generated +2 -0
- package/dist/accessControl.d.ts +19 -26
- package/dist/accessControl.js +195 -1423
- package/dist/adminClient.d.ts +52 -59
- package/dist/adminClient.js +364 -1142
- package/dist/answersClient.d.ts +5 -14
- package/dist/answersClient.js +19 -737
- package/dist/audience/index.d.ts +18 -18
- package/dist/audience/index.js +87 -90
- package/dist/audiencesClient.d.ts +19 -27
- package/dist/audiencesClient.js +107 -868
- package/dist/auditClient.d.ts +8 -15
- package/dist/auditClient.js +18 -791
- package/dist/authContext.d.ts +11 -16
- package/dist/authContext.js +122 -154
- package/dist/authDeviceClient.d.ts +8 -17
- package/dist/authDeviceClient.js +113 -102
- package/dist/beliefs/index.d.ts +15 -67
- package/dist/beliefs/index.js +17 -10181
- package/dist/beliefs/lifecycle.d.ts +10 -11
- package/dist/beliefs/lifecycle.js +78 -80
- package/dist/beliefsClient.d.ts +26 -32
- package/dist/beliefsClient.js +250 -990
- package/dist/boundaryClientSurface.d.ts +11 -16
- package/dist/boundaryClientSurface.js +49 -68
- package/dist/client.d.ts +64 -112
- package/dist/client.js +232 -10155
- package/dist/clientAssemblyTypes.d.ts +3 -3
- package/dist/clientAssemblyTypes.js +1 -2
- package/dist/clientConfig.d.ts +45 -59
- package/dist/clientConfig.js +1 -2
- package/dist/clientEvidenceCompat.d.ts +7 -14
- package/dist/clientEvidenceCompat.js +50 -64
- package/dist/clientGraphNamespaces.d.ts +3 -5
- package/dist/clientGraphNamespaces.js +170 -245
- package/dist/clientHelpers.d.ts +20 -25
- package/dist/clientHelpers.js +104 -127
- package/dist/clientKnowledgeNamespaces.d.ts +6 -53
- package/dist/clientKnowledgeNamespaces.js +502 -506
- package/dist/clientLocalHelpers.d.ts +11 -56
- package/dist/clientLocalHelpers.js +503 -732
- package/dist/clientPlatformNamespaces.d.ts +5 -53
- package/dist/clientPlatformNamespaces.js +229 -323
- package/dist/clientRuntime.d.ts +5 -53
- package/dist/clientRuntime.js +26 -30
- package/dist/clientWorkflowNamespaces.d.ts +6 -15
- package/dist/clientWorkflowNamespaces.js +529 -596
- package/dist/contextClient.d.ts +9 -17
- package/dist/contextClient.js +92 -805
- package/dist/contextFacade.d.ts +11 -2
- package/dist/contextFacade.js +10 -81
- package/dist/contextPackCompiler.d.ts +10 -11
- package/dist/contextPackCompiler.js +494 -1040
- package/dist/contextPackPolicy.d.ts +14 -15
- package/dist/contextPackPolicy.js +227 -305
- package/dist/contextPackSchema.d.ts +3 -3
- package/dist/contextPackSchema.js +169 -176
- package/dist/contextTypes.d.ts +14 -15
- package/dist/contextTypes.js +1 -2
- package/dist/contracts/api-enums.contract.d.ts +29 -30
- package/dist/contracts/api-enums.contract.js +162 -88
- package/dist/contracts/auth-session.contract.d.ts +13 -14
- package/dist/contracts/auth-session.contract.js +55 -52
- package/dist/contracts/context-pack.contract.d.ts +54 -55
- package/dist/contracts/context-pack.contract.js +160 -88
- package/dist/contracts/contextPack.d.ts +2 -1
- package/dist/contracts/contextPack.js +1 -97
- package/dist/contracts/index.d.ts +11 -12
- package/dist/contracts/index.js +10 -854
- package/dist/contracts/lens-filter.contract.d.ts +9 -10
- package/dist/contracts/lens-filter.contract.js +82 -58
- package/dist/contracts/lens-workflow.contract.d.ts +21 -23
- package/dist/contracts/lens-workflow.contract.js +48 -117
- package/dist/contracts/lensFilter.d.ts +2 -1
- package/dist/contracts/lensFilter.js +1 -71
- package/dist/contracts/lensWorkflow.d.ts +2 -2
- package/dist/contracts/lensWorkflow.js +1 -123
- package/dist/contracts/mcpTools.d.ts +16 -18
- package/dist/contracts/mcpTools.js +89 -123
- package/dist/contracts/prompt.contract.d.ts +4 -5
- package/dist/contracts/prompt.contract.js +23 -10
- package/dist/contracts/prompt.d.ts +2 -1
- package/dist/contracts/prompt.js +1 -11
- package/dist/contracts/sdk-tools.contract.d.ts +2 -1
- package/dist/contracts/sdk-tools.contract.js +1 -2
- package/dist/contracts/sdkTools.d.ts +2 -1
- package/dist/contracts/sdkTools.js +1 -26
- package/dist/contracts/tool-contracts.d.ts +2 -1
- package/dist/contracts/tool-contracts.js +1 -2
- package/dist/contracts/workflow-runtime.contract.d.ts +45 -46
- package/dist/contracts/workflow-runtime.contract.js +241 -228
- package/dist/contracts/workflowRuntime.d.ts +2 -1
- package/dist/contracts/workflowRuntime.js +1 -244
- package/dist/contradictions/index.d.ts +8 -60
- package/dist/contradictions/index.js +11 -10175
- package/dist/control-plane.d.ts +17 -24
- package/dist/control-plane.js +124 -840
- package/dist/controlObjectOwnership.d.ts +19 -20
- package/dist/controlObjectOwnership.js +207 -201
- package/dist/coreClient.d.ts +23 -28
- package/dist/coreClient.js +567 -692
- package/dist/customTools.d.ts +17 -21
- package/dist/customTools.js +221 -221
- package/dist/decisions/index.d.ts +7 -58
- package/dist/decisions/index.js +14 -10177
- package/dist/decisionsClient.d.ts +25 -32
- package/dist/decisionsClient.js +113 -913
- package/dist/domainContext.d.ts +2 -1
- package/dist/domainContext.js +1 -2
- package/dist/edges/index.d.ts +21 -73
- package/dist/edges/index.js +12 -10176
- package/dist/embeddingsClient.d.ts +22 -30
- package/dist/embeddingsClient.js +73 -922
- package/dist/eventingClient.d.ts +23 -31
- package/dist/eventingClient.js +89 -918
- package/dist/events.d.ts +48 -49
- package/dist/events.js +257 -241
- package/dist/eventsCore.d.ts +20 -29
- package/dist/eventsCore.js +86 -830
- package/dist/evidence/index.d.ts +9 -60
- package/dist/evidence/index.js +13 -10176
- package/dist/evidenceClient.d.ts +13 -22
- package/dist/evidenceClient.js +34 -751
- package/dist/facade/context.d.ts +7 -8
- package/dist/facade/context.js +73 -72
- package/dist/functionSurface.d.ts +2 -156
- package/dist/functionSurface.js +1 -1460
- package/dist/functionSurfaceClient.d.ts +2 -9
- package/dist/functionSurfaceClient.js +1 -1460
- package/dist/gatewayFacades.d.ts +79 -296
- package/dist/gatewayFacades.factories.d.ts +209 -14
- package/dist/gatewayFacades.factories.js +561 -2227
- package/dist/gatewayFacades.js +284 -2627
- package/dist/generated/functionSurface.d.ts +149 -0
- package/dist/generated/functionSurface.js +749 -0
- package/dist/graphAnalysisClient.d.ts +41 -49
- package/dist/graphAnalysisClient.js +185 -974
- package/dist/graphClient.d.ts +53 -60
- package/dist/graphClient.js +219 -1090
- package/dist/graphIntel.d.ts +2 -4
- package/dist/graphIntel.js +1 -2
- package/dist/graphIntelligence.d.ts +4 -2
- package/dist/graphIntelligence.js +2 -46
- package/dist/graphRecommendationsClient.d.ts +15 -23
- package/dist/graphRecommendationsClient.js +70 -849
- package/dist/graphStateClassifierClient.d.ts +17 -25
- package/dist/graphStateClassifierClient.js +67 -908
- package/dist/harnessClient.d.ts +40 -47
- package/dist/harnessClient.js +198 -993
- package/dist/identityClient.d.ts +25 -33
- package/dist/identityClient.js +245 -1186
- package/dist/index.d.ts +73 -69
- package/dist/index.js +72 -13313
- package/dist/infisicalRuntime.d.ts +12 -14
- package/dist/infisicalRuntime.js +290 -297
- package/dist/jobsClient.d.ts +24 -32
- package/dist/jobsClient.js +101 -916
- package/dist/learningClient.d.ts +8 -16
- package/dist/learningClient.js +45 -809
- package/dist/lenses/index.d.ts +13 -65
- package/dist/lenses/index.js +11 -10175
- package/dist/mcpClient.d.ts +14 -23
- package/dist/mcpClient.js +115 -856
- package/dist/modelRuntimeClient.d.ts +18 -26
- package/dist/modelRuntimeClient.js +74 -894
- package/dist/nodes/index.d.ts +7 -58
- package/dist/nodes/index.js +14 -10177
- package/dist/ontologies/index.d.ts +21 -73
- package/dist/ontologies/index.js +14 -10178
- package/dist/ontologyClient.d.ts +23 -31
- package/dist/ontologyClient.js +138 -924
- package/dist/ontologyLinksClient.d.ts +16 -24
- package/dist/ontologyLinksClient.js +76 -886
- package/dist/opinion.d.ts +5 -6
- package/dist/opinion.js +21 -25
- package/dist/orgGraphSearchClient.d.ts +19 -27
- package/dist/orgGraphSearchClient.js +89 -857
- package/dist/packRuntime.d.ts +2 -2
- package/dist/packRuntime.js +1 -2
- package/dist/packsClient.d.ts +30 -37
- package/dist/packsClient.js +131 -906
- package/dist/policyClient.d.ts +21 -29
- package/dist/policyClient.js +267 -1026
- package/dist/proof-attestation.json +1 -1
- package/dist/questions/index.d.ts +9 -60
- package/dist/questions/index.js +15 -10178
- package/dist/realtime/index.d.ts +20 -16
- package/dist/realtime/index.js +30 -19
- package/dist/realtime/refs.d.ts +4 -6
- package/dist/realtime/refs.js +12 -7
- 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/dist/reportsClient.d.ts +10 -19
- package/dist/reportsClient.js +48 -836
- package/dist/schemaClient.d.ts +16 -23
- package/dist/schemaClient.js +62 -832
- package/dist/sdkSurface.d.ts +18 -25
- package/dist/sdkSurface.js +135 -106
- package/dist/secrets.d.ts +2 -1
- package/dist/secrets.js +1 -2
- package/dist/sourcesClient.d.ts +11 -18
- package/dist/sourcesClient.js +18 -741
- package/dist/telemetryClient.d.ts +22 -30
- package/dist/telemetryClient.js +107 -931
- package/dist/toolRegistryClient.d.ts +27 -35
- package/dist/toolRegistryClient.js +116 -954
- package/dist/topics/index.d.ts +13 -64
- package/dist/topics/index.js +15 -10178
- package/dist/topicsClient.d.ts +19 -27
- package/dist/topicsClient.js +106 -894
- package/dist/types.d.ts +84 -87
- package/dist/types.js +1 -2
- package/dist/version.d.ts +2 -3
- package/dist/version.js +2 -5
- package/dist/workflowClient.d.ts +60 -65
- package/dist/workflowClient.js +343 -1219
- package/dist/worktrees/index.d.ts +16 -68
- package/dist/worktrees/index.js +14 -10178
- package/package.json +6 -6
- package/dist/accessControl.js.map +0 -1
- package/dist/adminClient.js.map +0 -1
- package/dist/answersClient.js.map +0 -1
- package/dist/audience/index.js.map +0 -1
- package/dist/audiencesClient.js.map +0 -1
- package/dist/auditClient.js.map +0 -1
- package/dist/authContext.js.map +0 -1
- package/dist/authDeviceClient.js.map +0 -1
- package/dist/beliefs/index.js.map +0 -1
- package/dist/beliefs/lifecycle.js.map +0 -1
- package/dist/beliefsClient.js.map +0 -1
- package/dist/boundaryClientSurface.js.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/clientAssemblyTypes.js.map +0 -1
- package/dist/clientConfig.js.map +0 -1
- package/dist/clientEvidenceCompat.js.map +0 -1
- package/dist/clientGraphNamespaces.js.map +0 -1
- package/dist/clientHelpers.js.map +0 -1
- package/dist/clientKnowledgeNamespaces.js.map +0 -1
- package/dist/clientLocalHelpers.js.map +0 -1
- package/dist/clientPlatformNamespaces.js.map +0 -1
- package/dist/clientRuntime.js.map +0 -1
- package/dist/clientWorkflowNamespaces.js.map +0 -1
- package/dist/contextClient.js.map +0 -1
- package/dist/contextFacade.js.map +0 -1
- package/dist/contextPackCompiler.js.map +0 -1
- package/dist/contextPackPolicy.js.map +0 -1
- package/dist/contextPackSchema.js.map +0 -1
- package/dist/contextTypes.js.map +0 -1
- package/dist/contracts/api-enums.contract.js.map +0 -1
- package/dist/contracts/auth-session.contract.js.map +0 -1
- package/dist/contracts/context-pack.contract.js.map +0 -1
- package/dist/contracts/contextPack.js.map +0 -1
- package/dist/contracts/index.js.map +0 -1
- package/dist/contracts/lens-filter.contract.js.map +0 -1
- package/dist/contracts/lens-workflow.contract.js.map +0 -1
- package/dist/contracts/lensFilter.js.map +0 -1
- package/dist/contracts/lensWorkflow.js.map +0 -1
- package/dist/contracts/mcpTools.js.map +0 -1
- package/dist/contracts/prompt.contract.js.map +0 -1
- package/dist/contracts/prompt.js.map +0 -1
- package/dist/contracts/sdk-tools.contract.js.map +0 -1
- package/dist/contracts/sdkTools.js.map +0 -1
- package/dist/contracts/tool-contracts.js.map +0 -1
- package/dist/contracts/workflow-runtime.contract.js.map +0 -1
- package/dist/contracts/workflowRuntime.js.map +0 -1
- package/dist/contradictions/index.js.map +0 -1
- package/dist/control-plane.js.map +0 -1
- package/dist/controlObjectOwnership.js.map +0 -1
- package/dist/coreClient.js.map +0 -1
- package/dist/customTools.js.map +0 -1
- package/dist/decisions/index.js.map +0 -1
- package/dist/decisionsClient.js.map +0 -1
- package/dist/domainContext.js.map +0 -1
- package/dist/edges/index.js.map +0 -1
- package/dist/embeddingsClient.js.map +0 -1
- package/dist/eventingClient.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/eventsCore.js.map +0 -1
- package/dist/evidence/index.js.map +0 -1
- package/dist/evidenceClient.js.map +0 -1
- package/dist/facade/context.js.map +0 -1
- package/dist/functionSurface.js.map +0 -1
- package/dist/functionSurfaceClient.js.map +0 -1
- package/dist/gatewayFacades.factories.js.map +0 -1
- package/dist/gatewayFacades.js.map +0 -1
- package/dist/graphAnalysisClient.js.map +0 -1
- package/dist/graphClient.js.map +0 -1
- package/dist/graphIntel.js.map +0 -1
- package/dist/graphIntelligence.js.map +0 -1
- package/dist/graphRecommendationsClient.js.map +0 -1
- package/dist/graphStateClassifierClient.js.map +0 -1
- package/dist/harnessClient.js.map +0 -1
- package/dist/identityClient.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/infisicalRuntime.js.map +0 -1
- package/dist/jobsClient.js.map +0 -1
- package/dist/learningClient.js.map +0 -1
- package/dist/lenses/index.js.map +0 -1
- package/dist/mcpClient.js.map +0 -1
- package/dist/modelRuntimeClient.js.map +0 -1
- package/dist/nodes/index.js.map +0 -1
- package/dist/ontologies/index.js.map +0 -1
- package/dist/ontologyClient.js.map +0 -1
- package/dist/ontologyLinksClient.js.map +0 -1
- package/dist/opinion.js.map +0 -1
- package/dist/orgGraphSearchClient.js.map +0 -1
- package/dist/packRuntime.js.map +0 -1
- package/dist/packsClient.js.map +0 -1
- package/dist/policyClient.js.map +0 -1
- package/dist/questions/index.js.map +0 -1
- package/dist/realtime/index.js.map +0 -1
- package/dist/realtime/refs.js.map +0 -1
- package/dist/reportsClient.js.map +0 -1
- package/dist/schemaClient.js.map +0 -1
- package/dist/sdk-tools.contract-B4c1Zr1o.d.ts +0 -22
- package/dist/sdkSurface.js.map +0 -1
- package/dist/secrets.js.map +0 -1
- package/dist/sourcesClient.js.map +0 -1
- package/dist/telemetryClient.js.map +0 -1
- package/dist/tool-contracts-BUiL9P6z.d.ts +0 -22
- package/dist/toolRegistryClient.js.map +0 -1
- package/dist/topics/index.js.map +0 -1
- package/dist/topicsClient.js.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/version.js.map +0 -1
- package/dist/workflowClient.js.map +0 -1
- package/dist/worktrees/index.js.map +0 -1
|
@@ -1,54 +1,7 @@
|
|
|
1
|
-
import { ClientNamespaceContext } from
|
|
2
|
-
import { CustomToolInput } from
|
|
3
|
-
import { FunctionSurfaceInput } from
|
|
4
|
-
|
|
5
|
-
import './types.js';
|
|
6
|
-
import './contracts/workflow-runtime.contract.js';
|
|
7
|
-
import './contracts/lens-workflow.contract.js';
|
|
8
|
-
import './contracts/lens-filter.contract.js';
|
|
9
|
-
import './adminClient.js';
|
|
10
|
-
import './coreClient.js';
|
|
11
|
-
import '@lucern/transport-core';
|
|
12
|
-
import './authContext.js';
|
|
13
|
-
import './contracts/auth-session.contract.js';
|
|
14
|
-
import './controlObjectOwnership.js';
|
|
15
|
-
import './answersClient.js';
|
|
16
|
-
import './audiencesClient.js';
|
|
17
|
-
import './auditClient.js';
|
|
18
|
-
import './beliefsClient.js';
|
|
19
|
-
import './opinion.js';
|
|
20
|
-
import './contextClient.js';
|
|
21
|
-
import './contextTypes.js';
|
|
22
|
-
import './control-plane.js';
|
|
23
|
-
import './decisionsClient.js';
|
|
24
|
-
import './embeddingsClient.js';
|
|
25
|
-
import './boundaryClientSurface.js';
|
|
26
|
-
import './eventingClient.js';
|
|
27
|
-
import './evidenceClient.js';
|
|
28
|
-
import './graphAnalysisClient.js';
|
|
29
|
-
import '@lucern/contracts';
|
|
30
|
-
import './graphClient.js';
|
|
31
|
-
import './graphRecommendationsClient.js';
|
|
32
|
-
import './graphStateClassifierClient.js';
|
|
33
|
-
import './harnessClient.js';
|
|
34
|
-
import './identityClient.js';
|
|
35
|
-
import './jobsClient.js';
|
|
36
|
-
import './learningClient.js';
|
|
37
|
-
import './modelRuntimeClient.js';
|
|
38
|
-
import './ontologyClient.js';
|
|
39
|
-
import './ontologyLinksClient.js';
|
|
40
|
-
import './orgGraphSearchClient.js';
|
|
41
|
-
import './packsClient.js';
|
|
42
|
-
import './policyClient.js';
|
|
43
|
-
import './reportsClient.js';
|
|
44
|
-
import './schemaClient.js';
|
|
45
|
-
import './sourcesClient.js';
|
|
46
|
-
import './telemetryClient.js';
|
|
47
|
-
import './toolRegistryClient.js';
|
|
48
|
-
import './topicsClient.js';
|
|
49
|
-
import './workflowClient.js';
|
|
50
|
-
|
|
51
|
-
declare function createClientPlatformNamespaces(ctx: ClientNamespaceContext): {
|
|
1
|
+
import type { ClientNamespaceContext } from "./clientAssemblyTypes";
|
|
2
|
+
import type { CustomToolInput } from "./clientConfig";
|
|
3
|
+
import type { FunctionSurfaceInput } from "./generated/functionSurface";
|
|
4
|
+
export declare function createClientPlatformNamespaces(ctx: ClientNamespaceContext): {
|
|
52
5
|
coordination: {
|
|
53
6
|
registerSession: any;
|
|
54
7
|
heartbeatSession: any;
|
|
@@ -241,5 +194,4 @@ declare function createClientPlatformNamespaces(ctx: ClientNamespaceContext): {
|
|
|
241
194
|
};
|
|
242
195
|
};
|
|
243
196
|
};
|
|
244
|
-
|
|
245
|
-
export { createClientPlatformNamespaces };
|
|
197
|
+
//# sourceMappingURL=clientPlatformNamespaces.d.ts.map
|
|
@@ -1,325 +1,231 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Ensure the configured packKey is installed.
|
|
232
|
-
* No-op if no packKey was provided or if the pack is already installed.
|
|
233
|
-
* Called automatically on first API use when packKey is set.
|
|
234
|
-
*/
|
|
235
|
-
ensurePack,
|
|
236
|
-
/**
|
|
237
|
-
* Check if the configured pack has been installed in this session.
|
|
238
|
-
*/
|
|
239
|
-
get isInstalled() {
|
|
240
|
-
return getPackInstalled();
|
|
241
|
-
},
|
|
242
|
-
listCatalog: packsClient.listCatalog,
|
|
243
|
-
catalog: packsClient.listCatalog,
|
|
244
|
-
listStates: packsClient.listStates,
|
|
245
|
-
states: packsClient.getStates,
|
|
246
|
-
install: packsClient.install,
|
|
247
|
-
enable: packsClient.enable,
|
|
248
|
-
disable: packsClient.disable
|
|
249
|
-
},
|
|
250
|
-
nodes: nodesNamespace,
|
|
251
|
-
controlPlane: {
|
|
252
|
-
identity: {
|
|
253
|
-
resolveInteractivePrincipal: controlPlaneClient.identity.resolveInteractivePrincipal
|
|
254
|
-
},
|
|
255
|
-
raw: controlPlaneClient
|
|
256
|
-
},
|
|
257
|
-
identity: {
|
|
258
|
-
whoami: identityFacade.whoami,
|
|
259
|
-
...identityFacade,
|
|
260
|
-
access: accessControlClient,
|
|
261
|
-
resolveInteractivePrincipal: identityClient.resolveInteractivePrincipal,
|
|
262
|
-
evaluatePolicy: identityClient.evaluatePolicy,
|
|
263
|
-
recordPolicyDecision: identityClient.recordPolicyDecision,
|
|
264
|
-
putSecretReference: identityClient.putSecretReference,
|
|
265
|
-
createPrincipal: identityClient.createPrincipal,
|
|
266
|
-
updatePrincipal: identityClient.updatePrincipal,
|
|
267
|
-
raw: identityClient
|
|
268
|
-
},
|
|
269
|
-
mcp: {
|
|
270
|
-
bootstrapSession: mcpClient.bootstrapSession,
|
|
271
|
-
checkWritePolicy: mcpClient.checkWritePolicy,
|
|
272
|
-
beginBuildSession: mcpClient.beginBuildSession,
|
|
273
|
-
evaluateEngineeringContract: mcpClient.evaluateEngineeringContract,
|
|
274
|
-
evaluateResearchContract: mcpClient.evaluateResearchContract
|
|
275
|
-
},
|
|
276
|
-
auth: {
|
|
277
|
-
device: {
|
|
278
|
-
createCode: authDeviceClient.createDeviceCode,
|
|
279
|
-
pollToken: authDeviceClient.pollDeviceToken
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
custom: getCustomNamespace("custom"),
|
|
283
|
-
extensions: extensionNamespaces,
|
|
284
|
-
raw: {
|
|
285
|
-
beliefs: beliefsClient,
|
|
286
|
-
sources: sourcesClient,
|
|
287
|
-
evidence: evidenceClient,
|
|
288
|
-
embeddings: embeddingsClient,
|
|
289
|
-
eventing: eventingClient,
|
|
290
|
-
graph: graphClient,
|
|
291
|
-
graphAnalysis: graphAnalysisClient,
|
|
292
|
-
graphRecommendations: graphRecommendationsClient,
|
|
293
|
-
graphStateClassifier: graphStateClassifierClient,
|
|
294
|
-
decisions: decisionsClient,
|
|
295
|
-
workflow: workflowClient,
|
|
296
|
-
audit: auditClient,
|
|
297
|
-
authDevice: authDeviceClient,
|
|
298
|
-
admin: adminClient,
|
|
299
|
-
identity: identityClient,
|
|
300
|
-
policy: policyClient,
|
|
301
|
-
answers: answersClient,
|
|
302
|
-
ontology: ontologyClient,
|
|
303
|
-
ontologyLinks: ontologyLinksClient,
|
|
304
|
-
orgGraphSearch: orgGraphSearchClient,
|
|
305
|
-
functionSurface: functionSurfaceClient,
|
|
306
|
-
controlPlane: controlPlaneClient,
|
|
307
|
-
toolRegistry: toolRegistryClient,
|
|
308
|
-
modelRuntime: modelRuntimeClient,
|
|
309
|
-
packs: packsClient,
|
|
310
|
-
reports: reportsClient,
|
|
311
|
-
learning: learningClient,
|
|
312
|
-
mcp: mcpClient,
|
|
313
|
-
jobs: jobsClient,
|
|
314
|
-
telemetry: telemetryClient,
|
|
315
|
-
harness: harnessClient,
|
|
316
|
-
schema: schemaClient,
|
|
317
|
-
audiences: audiencesClient,
|
|
318
|
-
topics: topicsClient
|
|
319
|
-
}
|
|
320
|
-
};
|
|
1
|
+
export function createClientPlatformNamespaces(ctx) {
|
|
2
|
+
const { accessControlClient, addEvidence, adminClient, answersClient, archiveOntologyCompat, auditClient, authDeviceClient, audiencesClient, beliefsClient, beliefsFacade, bisectConfidence, buildBeliefsArchivePayload, buildBeliefsRefinePayload, clearRegisteredCustomTools, config, contextClient, contradictionsFacade, controlPlaneClient, createContractCompat, createEvidence, createOntologyCompat, createOntologyVersionCompat, decisionsClient, deprecateOntologyVersionCompat, discoverEntityConnections, discoverTopics, edgesFacade, embeddingsClient, ensurePack, evaluateContractCompat, eventingClient, eventsFacade, evidenceClient, evidenceFacade, exposeGatewayData, extensionNamespaces, findContradictions, functionSurfaceClient, gateway, getAuditTrail, getConfidenceHistory, getContractStatusCompat, getCustomNamespace, getOpinionHistory, getPackInstalled, graphAnalysisClient, graphClient, graphFacade, graphRecommendationsClient, graphStateClassifierClient, harnessClient, identityClient, identityFacade, invokeCustomTool, jobsClient, learningClient, listBeliefs, listContractsCompat, listRegisteredCustomTools, mcpClient, modelRuntimeClient, nodesNamespace, ontologiesFacade, ontologyClient, ontologyLinksClient, ontologyLinksNamespace, orgGraphSearchClient, packsClient, policyClient, publicationNamespace, publishOntologyVersionCompat, questionsFacade, queryLineage, randomIdempotencyKey, registerCustomTool, reportsClient, requireBaseRate, requireText, requireTopicId, requireTopicOrProjectId, resolveCustomToolFullName, resolveEffectiveOntologyCompat, resolveTopicId, schemaClient, sdkQueryString, searchBeliefs, sourcesClient, tasksFacade, telemetryClient, toolRegistryClient, topicsClient, topicsFacade, traceEntityImpactCompat, triggerBeliefReview, unregisterCustomTool, updateOntologyCompat, webhooksFacade, workflowClient, worktreesFacade, } = ctx;
|
|
3
|
+
return {
|
|
4
|
+
coordination: {
|
|
5
|
+
registerSession: functionSurfaceClient.registerSession,
|
|
6
|
+
heartbeatSession: functionSurfaceClient.heartbeatSession,
|
|
7
|
+
endSession: functionSurfaceClient.endSession,
|
|
8
|
+
listActiveSessions: functionSurfaceClient.listActiveSessions,
|
|
9
|
+
sendAgentMessage: functionSurfaceClient.sendAgentMessage,
|
|
10
|
+
broadcastMessage: functionSurfaceClient.broadcastMessage,
|
|
11
|
+
getInbox: functionSurfaceClient.getAgentInbox,
|
|
12
|
+
getAgentInbox: functionSurfaceClient.getAgentInbox,
|
|
13
|
+
claimFiles: functionSurfaceClient.claimFiles,
|
|
14
|
+
},
|
|
15
|
+
policy: {
|
|
16
|
+
checkPermission(input) {
|
|
17
|
+
return policyClient.checkPermission({
|
|
18
|
+
topicId: typeof input.topicId === "string" ? input.topicId : undefined,
|
|
19
|
+
permission: typeof input.permission === "string"
|
|
20
|
+
? input.permission
|
|
21
|
+
: undefined,
|
|
22
|
+
principal: typeof input.principal === "string" ? input.principal : undefined,
|
|
23
|
+
principalId: typeof input.principalId === "string" ? input.principalId : undefined,
|
|
24
|
+
beliefClusterId: typeof input.beliefClusterId === "string"
|
|
25
|
+
? input.beliefClusterId
|
|
26
|
+
: undefined,
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
listAccessibleTopics(input = {}) {
|
|
30
|
+
return policyClient.listAccessibleTopics({
|
|
31
|
+
permission: typeof input.permission === "string"
|
|
32
|
+
? input.permission
|
|
33
|
+
: undefined,
|
|
34
|
+
includeShared: typeof input.includeShared === "boolean"
|
|
35
|
+
? input.includeShared
|
|
36
|
+
: undefined,
|
|
37
|
+
principal: typeof input.principal === "string" ? input.principal : undefined,
|
|
38
|
+
principalId: typeof input.principalId === "string" ? input.principalId : undefined,
|
|
39
|
+
limit: typeof input.limit === "number" ? input.limit : undefined,
|
|
40
|
+
});
|
|
41
|
+
},
|
|
42
|
+
filterByPermission(input) {
|
|
43
|
+
return policyClient.filterByPermission({
|
|
44
|
+
topicIds: Array.isArray(input.topicIds)
|
|
45
|
+
? input.topicIds.filter((value) => typeof value === "string")
|
|
46
|
+
: undefined,
|
|
47
|
+
permission: typeof input.permission === "string"
|
|
48
|
+
? input.permission
|
|
49
|
+
: undefined,
|
|
50
|
+
principal: typeof input.principal === "string" ? input.principal : undefined,
|
|
51
|
+
principalId: typeof input.principalId === "string" ? input.principalId : undefined,
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
// Backward compatibility shim: keep the policy namespace exposing the
|
|
55
|
+
// historical manageWritePolicy entry point.
|
|
56
|
+
manageWritePolicy(input, idempotencyKey) {
|
|
57
|
+
return functionSurfaceClient.manageWritePolicy(input, idempotencyKey);
|
|
58
|
+
},
|
|
59
|
+
raw: policyClient,
|
|
60
|
+
},
|
|
61
|
+
observations: {
|
|
62
|
+
ingest: functionSurfaceClient.ingestObservation,
|
|
63
|
+
ingestObservation: functionSurfaceClient.ingestObservation,
|
|
64
|
+
getContext: functionSurfaceClient.getObservationContext,
|
|
65
|
+
getObservationContext: functionSurfaceClient.getObservationContext,
|
|
66
|
+
},
|
|
67
|
+
coding: {
|
|
68
|
+
getCodeContext: functionSurfaceClient.getCodeContext,
|
|
69
|
+
getChangeHistory: functionSurfaceClient.getChangeHistory,
|
|
70
|
+
recordAttempt: functionSurfaceClient.recordAttempt,
|
|
71
|
+
getFailureLog: functionSurfaceClient.getFailureLog,
|
|
72
|
+
},
|
|
73
|
+
contracts: {
|
|
74
|
+
create(input) {
|
|
75
|
+
return createContractCompat(input);
|
|
76
|
+
},
|
|
77
|
+
createEpistemicContract(input) {
|
|
78
|
+
return createContractCompat(input);
|
|
79
|
+
},
|
|
80
|
+
list(input = {}) {
|
|
81
|
+
return listContractsCompat(input);
|
|
82
|
+
},
|
|
83
|
+
evaluate(input) {
|
|
84
|
+
return evaluateContractCompat(input);
|
|
85
|
+
},
|
|
86
|
+
evaluateContract(input) {
|
|
87
|
+
return evaluateContractCompat(input);
|
|
88
|
+
},
|
|
89
|
+
getStatus(input) {
|
|
90
|
+
return getContractStatusCompat(input);
|
|
91
|
+
},
|
|
92
|
+
getContractStatus(input) {
|
|
93
|
+
return getContractStatusCompat(input);
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
bootstrap: {
|
|
97
|
+
generateSessionHandoff: functionSurfaceClient.generateSessionHandoff,
|
|
98
|
+
},
|
|
99
|
+
hybrid: {
|
|
100
|
+
discover: functionSurfaceClient.hybridDiscover,
|
|
101
|
+
hybridDiscover: functionSurfaceClient.hybridDiscover,
|
|
102
|
+
resolveTopicSemantic: functionSurfaceClient.resolveTopicSemantic,
|
|
103
|
+
expandGraphNeighborhood: functionSurfaceClient.expandGraphNeighborhood,
|
|
104
|
+
findRelatedNodes: functionSurfaceClient.findRelatedNodes,
|
|
105
|
+
analyzeGraphImpact: functionSurfaceClient.analyzeGraphImpact,
|
|
106
|
+
detectGraphDrift: functionSurfaceClient.detectGraphDrift,
|
|
107
|
+
},
|
|
108
|
+
embeddings: embeddingsClient,
|
|
109
|
+
graphAnalysis: graphAnalysisClient,
|
|
110
|
+
graphRecommendations: graphRecommendationsClient,
|
|
111
|
+
orgGraphSearch: orgGraphSearchClient,
|
|
112
|
+
ontologyLinks: ontologyLinksNamespace,
|
|
113
|
+
graphStateClassifier: graphStateClassifierClient,
|
|
114
|
+
modelRuntime: modelRuntimeClient,
|
|
115
|
+
jobs: jobsClient,
|
|
116
|
+
telemetry: telemetryClient,
|
|
117
|
+
publication: publicationNamespace,
|
|
118
|
+
contentPublication: publicationNamespace,
|
|
119
|
+
tools: {
|
|
120
|
+
listCatalog: toolRegistryClient.listCatalog,
|
|
121
|
+
listExecutable: toolRegistryClient.listExecutable,
|
|
122
|
+
listEffectiveTools: toolRegistryClient.listEffectiveTools,
|
|
123
|
+
upsertCoreTools: toolRegistryClient.upsertCoreTools,
|
|
124
|
+
setPackToolsStatus: toolRegistryClient.setPackToolsStatus,
|
|
125
|
+
createAcl: toolRegistryClient.createAcl,
|
|
126
|
+
deleteAcl: toolRegistryClient.deleteAcl,
|
|
127
|
+
registerCustomTool: toolRegistryClient.registerCustomTool,
|
|
128
|
+
register: registerCustomTool,
|
|
129
|
+
unregister: unregisterCustomTool,
|
|
130
|
+
list: listRegisteredCustomTools,
|
|
131
|
+
clear: clearRegisteredCustomTools,
|
|
132
|
+
invoke(name, input = {}) {
|
|
133
|
+
const fullName = resolveCustomToolFullName(name);
|
|
134
|
+
return invokeCustomTool(fullName, input);
|
|
135
|
+
},
|
|
136
|
+
namespace: getCustomNamespace,
|
|
137
|
+
},
|
|
138
|
+
packs: {
|
|
139
|
+
/**
|
|
140
|
+
* Ensure the configured packKey is installed.
|
|
141
|
+
* No-op if no packKey was provided or if the pack is already installed.
|
|
142
|
+
* Called automatically on first API use when packKey is set.
|
|
143
|
+
*/
|
|
144
|
+
ensurePack,
|
|
145
|
+
/**
|
|
146
|
+
* Check if the configured pack has been installed in this session.
|
|
147
|
+
*/
|
|
148
|
+
get isInstalled() {
|
|
149
|
+
return getPackInstalled();
|
|
150
|
+
},
|
|
151
|
+
listCatalog: packsClient.listCatalog,
|
|
152
|
+
catalog: packsClient.listCatalog,
|
|
153
|
+
listStates: packsClient.listStates,
|
|
154
|
+
states: packsClient.getStates,
|
|
155
|
+
install: packsClient.install,
|
|
156
|
+
enable: packsClient.enable,
|
|
157
|
+
disable: packsClient.disable,
|
|
158
|
+
},
|
|
159
|
+
nodes: nodesNamespace,
|
|
160
|
+
controlPlane: {
|
|
161
|
+
identity: {
|
|
162
|
+
resolveInteractivePrincipal: controlPlaneClient.identity.resolveInteractivePrincipal,
|
|
163
|
+
},
|
|
164
|
+
raw: controlPlaneClient,
|
|
165
|
+
},
|
|
166
|
+
identity: {
|
|
167
|
+
whoami: identityFacade.whoami,
|
|
168
|
+
...identityFacade,
|
|
169
|
+
access: accessControlClient,
|
|
170
|
+
resolveInteractivePrincipal: identityClient.resolveInteractivePrincipal,
|
|
171
|
+
evaluatePolicy: identityClient.evaluatePolicy,
|
|
172
|
+
recordPolicyDecision: identityClient.recordPolicyDecision,
|
|
173
|
+
putSecretReference: identityClient.putSecretReference,
|
|
174
|
+
createPrincipal: identityClient.createPrincipal,
|
|
175
|
+
updatePrincipal: identityClient.updatePrincipal,
|
|
176
|
+
raw: identityClient,
|
|
177
|
+
},
|
|
178
|
+
mcp: {
|
|
179
|
+
bootstrapSession: mcpClient.bootstrapSession,
|
|
180
|
+
checkWritePolicy: mcpClient.checkWritePolicy,
|
|
181
|
+
beginBuildSession: mcpClient.beginBuildSession,
|
|
182
|
+
evaluateEngineeringContract: mcpClient.evaluateEngineeringContract,
|
|
183
|
+
evaluateResearchContract: mcpClient.evaluateResearchContract,
|
|
184
|
+
},
|
|
185
|
+
auth: {
|
|
186
|
+
device: {
|
|
187
|
+
createCode: authDeviceClient.createDeviceCode,
|
|
188
|
+
pollToken: authDeviceClient.pollDeviceToken,
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
custom: getCustomNamespace("custom"),
|
|
192
|
+
extensions: extensionNamespaces,
|
|
193
|
+
raw: {
|
|
194
|
+
beliefs: beliefsClient,
|
|
195
|
+
sources: sourcesClient,
|
|
196
|
+
evidence: evidenceClient,
|
|
197
|
+
embeddings: embeddingsClient,
|
|
198
|
+
eventing: eventingClient,
|
|
199
|
+
graph: graphClient,
|
|
200
|
+
graphAnalysis: graphAnalysisClient,
|
|
201
|
+
graphRecommendations: graphRecommendationsClient,
|
|
202
|
+
graphStateClassifier: graphStateClassifierClient,
|
|
203
|
+
decisions: decisionsClient,
|
|
204
|
+
workflow: workflowClient,
|
|
205
|
+
audit: auditClient,
|
|
206
|
+
authDevice: authDeviceClient,
|
|
207
|
+
admin: adminClient,
|
|
208
|
+
identity: identityClient,
|
|
209
|
+
policy: policyClient,
|
|
210
|
+
answers: answersClient,
|
|
211
|
+
ontology: ontologyClient,
|
|
212
|
+
ontologyLinks: ontologyLinksClient,
|
|
213
|
+
orgGraphSearch: orgGraphSearchClient,
|
|
214
|
+
functionSurface: functionSurfaceClient,
|
|
215
|
+
controlPlane: controlPlaneClient,
|
|
216
|
+
toolRegistry: toolRegistryClient,
|
|
217
|
+
modelRuntime: modelRuntimeClient,
|
|
218
|
+
packs: packsClient,
|
|
219
|
+
reports: reportsClient,
|
|
220
|
+
learning: learningClient,
|
|
221
|
+
mcp: mcpClient,
|
|
222
|
+
jobs: jobsClient,
|
|
223
|
+
telemetry: telemetryClient,
|
|
224
|
+
harness: harnessClient,
|
|
225
|
+
schema: schemaClient,
|
|
226
|
+
audiences: audiencesClient,
|
|
227
|
+
topics: topicsClient,
|
|
228
|
+
},
|
|
229
|
+
};
|
|
321
230
|
}
|
|
322
|
-
|
|
323
|
-
export { createClientPlatformNamespaces };
|
|
324
|
-
//# sourceMappingURL=clientPlatformNamespaces.js.map
|
|
325
231
|
//# sourceMappingURL=clientPlatformNamespaces.js.map
|