@bpmsoftwaresolutions/ai-engine-client 1.1.106 → 1.1.108
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/package.json +1 -1
- package/src/client.js +6 -50
- package/src/domains/surface-groups.js +71 -3
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -6,24 +6,12 @@ import { createCapabilitiesDomain } from './domains/capabilities.js';
|
|
|
6
6
|
import { createDatabaseDomain } from './domains/database.js';
|
|
7
7
|
import { createContextAssemblyDomain } from './domains/context-assembly.js';
|
|
8
8
|
import { createDesignIntelligenceDomain } from './domains/design-intelligence.js';
|
|
9
|
-
import { createExecutionTelemetryDomain } from './domains/execution-telemetry.js';
|
|
10
|
-
import { createImplementationTasksDomain } from './domains/implementation-tasks.js';
|
|
11
9
|
import { createCurrentProjectDomain } from './domains/operator/current-project.js';
|
|
12
10
|
import { createGatewayDomain } from './domains/gateway.js';
|
|
13
11
|
import { createHealthDomain } from './domains/health.js';
|
|
14
12
|
import { createNotesLabDomain } from './domains/notes-lab.js';
|
|
15
13
|
import { createPortfolioDomain } from './domains/portfolio.js';
|
|
16
|
-
import { createGovernedImplementationDomain } from './domains/governed-implementation.js';
|
|
17
|
-
import { createReportsDomain } from './domains/reports.js';
|
|
18
14
|
import { createPerformanceDomain } from './domains/performance.js';
|
|
19
|
-
import { createImplementationArtifactsDomain } from './domains/implementation-artifacts.js';
|
|
20
|
-
import { createImplementationChecksDomain } from './domains/implementation-checks.js';
|
|
21
|
-
import { createImplementationEvidenceDomain } from './domains/implementation-evidence.js';
|
|
22
|
-
import { createImplementationGatesDomain } from './domains/implementation-gates.js';
|
|
23
|
-
import { createImplementationPacketsDomain } from './domains/implementation-packets.js';
|
|
24
|
-
import { createImplementationItemsDomain } from './domains/implementation-items.js';
|
|
25
|
-
import { createRepoDomain } from './domains/repo.js';
|
|
26
|
-
import { createOperatorStatusDomain } from './domains/operator-status.js';
|
|
27
15
|
import { createScriptDiscoveryDomain } from './domains/script-discovery.js';
|
|
28
16
|
import { createScriptsDomain } from './domains/scripts.js';
|
|
29
17
|
import { createSelfLearningDomain } from './domains/self-learning.js';
|
|
@@ -34,22 +22,10 @@ import { createSearchContactsDomain } from './domains/search-contacts.js';
|
|
|
34
22
|
import { createExternalProjectsDomain } from './domains/external-projects.js';
|
|
35
23
|
import { createExternalAudioDomain } from './domains/external-audio.js';
|
|
36
24
|
import { createExternalWorkflowArtifactsDomain } from './domains/external-workflow-artifacts.js';
|
|
37
|
-
import { createClaimsDomain } from './domains/claims.js';
|
|
38
|
-
import { createSessionGovernanceDomain } from './domains/session-governance.js';
|
|
39
|
-
import { createContextSessionsDomain } from './domains/context-sessions.js';
|
|
40
|
-
import { createContextOrientationDomain } from './domains/context-orientation.js';
|
|
41
|
-
import { createCommitGovernanceDomain } from './domains/commit-governance.js';
|
|
42
|
-
import { createExecutionEligibilityDomain } from './domains/execution-eligibility.js';
|
|
43
|
-
import { createToolBindingApprovalsDomain } from './domains/tool-binding-approvals.js';
|
|
44
|
-
import { createVerifiedMutationsDomain } from './domains/verified-mutations.js';
|
|
45
|
-
import { createWorkflowTurnsDomain } from './domains/workflow-turns.js';
|
|
46
|
-
import { createChartersDomain } from './domains/charters.js';
|
|
47
|
-
import { createWorkStartDomain } from './domains/work-start.js';
|
|
48
25
|
import { createToolRegistryDomain } from './domains/tool-registry.js';
|
|
49
|
-
import { createWorkflowCompositionDomain } from './domains/workflow-composition.js';
|
|
50
26
|
import { createWorkflowsDomain } from './domains/workflows.js';
|
|
51
27
|
import { createWarehouseDomain } from './domains/warehouse.js';
|
|
52
|
-
import { createLogaProjectionSurface, createProjectRoadmapSurface,
|
|
28
|
+
import { createExecutionStatusSurface, createGovernanceSurface, createImplementationSurface, createIntelligenceSurface, createLogaProjectionSurface, createProjectRoadmapSurface, createProjectionReportSurface } from './domains/surface-groups.js';
|
|
53
29
|
import { createCoordinationSurface } from './domains/coordination-surface.js';
|
|
54
30
|
import { installClientCompatibilityDelegates } from './compat/aliases.js';
|
|
55
31
|
import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
|
|
@@ -73,41 +49,20 @@ export class AIEngineClient {
|
|
|
73
49
|
throw new Error('A fetch implementation is required. Use Node 18+ or supply fetchImpl.');
|
|
74
50
|
}
|
|
75
51
|
this.health = createHealthDomain(this);
|
|
76
|
-
this.operatorStatus = createOperatorStatusDomain(this);
|
|
77
52
|
this.gateway = createGatewayDomain(this);
|
|
78
53
|
this.operator = {
|
|
79
54
|
currentProject: createCurrentProjectDomain(this),
|
|
80
55
|
};
|
|
81
56
|
this.database = createDatabaseDomain(this);
|
|
82
57
|
Object.assign(this, createProjectRoadmapSurface(this));
|
|
83
|
-
this
|
|
84
|
-
this
|
|
85
|
-
this.executionEligibility = createExecutionEligibilityDomain(this);
|
|
86
|
-
this.toolBindingApprovals = createToolBindingApprovalsDomain(this);
|
|
87
|
-
this.workflowTurns = createWorkflowTurnsDomain(this);
|
|
88
|
-
this.contextSessions = createContextSessionsDomain(this);
|
|
89
|
-
this.contextOrientation = createContextOrientationDomain(this);
|
|
90
|
-
this.commitGovernance = createCommitGovernanceDomain(this);
|
|
91
|
-
this.verifiedMutations = createVerifiedMutationsDomain(this);
|
|
92
|
-
this.charters = createChartersDomain(this);
|
|
93
|
-
this.workStart = createWorkStartDomain(this);
|
|
94
|
-
this.governedImplementation = createGovernedImplementationDomain(this);
|
|
95
|
-
this.implementationPackets = createImplementationPacketsDomain(this);
|
|
96
|
-
this.implementationItems = createImplementationItemsDomain(this);
|
|
97
|
-
this.implementationArtifacts = createImplementationArtifactsDomain(this);
|
|
98
|
-
this.implementationChecks = createImplementationChecksDomain(this);
|
|
99
|
-
this.implementationEvidence = createImplementationEvidenceDomain(this);
|
|
100
|
-
this.implementationGates = createImplementationGatesDomain(this);
|
|
101
|
-
this.implementationTasks = createImplementationTasksDomain(this);
|
|
58
|
+
Object.assign(this, createGovernanceSurface(this));
|
|
59
|
+
Object.assign(this, createImplementationSurface(this));
|
|
102
60
|
this.skills = createSkillsDomain(this);
|
|
103
61
|
this.skillGovernance = createSkillGovernanceDomain(this);
|
|
104
62
|
this.toolRegistry = createToolRegistryDomain(this);
|
|
105
63
|
this.contextAssembly = createContextAssemblyDomain(this);
|
|
106
64
|
this.designIntelligence = createDesignIntelligenceDomain(this);
|
|
107
|
-
this.executionTelemetry = createExecutionTelemetryDomain(this);
|
|
108
65
|
this.performance = createPerformanceDomain(this);
|
|
109
|
-
this.repo = createRepoDomain(this);
|
|
110
|
-
Object.assign(this, createRetrievalSurface(this));
|
|
111
66
|
this.workflows = createWorkflowsDomain(this);
|
|
112
67
|
this.capabilities = createCapabilitiesDomain(this);
|
|
113
68
|
this.benchmarks = createBenchmarksDomain(this);
|
|
@@ -118,10 +73,11 @@ export class AIEngineClient {
|
|
|
118
73
|
this.notesLab = createNotesLabDomain(this);
|
|
119
74
|
this.portfolio = createPortfolioDomain(this);
|
|
120
75
|
this.scripts = createScriptsDomain(this);
|
|
121
|
-
this.reports = createReportsDomain(this);
|
|
122
76
|
Object.assign(this, createLogaProjectionSurface(this));
|
|
77
|
+
Object.assign(this, createProjectionReportSurface(this));
|
|
78
|
+
Object.assign(this, createIntelligenceSurface(this));
|
|
79
|
+
Object.assign(this, createExecutionStatusSurface(this));
|
|
123
80
|
Object.assign(this, createCoordinationSurface(this));
|
|
124
|
-
this.workflowComposition = createWorkflowCompositionDomain(this);
|
|
125
81
|
this.workflowComposition.searchCodeByIntent = (request) => this.searchCodeByIntent(request);
|
|
126
82
|
this.warehouse = createWarehouseDomain(this);
|
|
127
83
|
this.actions = createActionsDomain(this);
|
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
import { createLogaDomain } from './loga.js';
|
|
2
|
+
import { createClaimsDomain } from './claims.js';
|
|
2
3
|
import { createProjectCharteringDomain } from './project-chartering.js';
|
|
3
4
|
import { createProjectReportsDomain } from './project-reports.js';
|
|
4
5
|
import { createProjectResumeDomain } from './project-resume.js';
|
|
5
6
|
import { createProjectsDomain } from './projects.js';
|
|
6
7
|
import { createProjectionsDomain } from './projections.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
8
|
+
import { createExecutionTelemetryDomain } from './execution-telemetry.js';
|
|
9
|
+
import { createOperatorStatusDomain } from './operator-status.js';
|
|
10
|
+
import { createRepoDomain } from './repo.js';
|
|
9
11
|
import { createRetrievalManagementDomain } from './retrieval-management.js';
|
|
10
12
|
import { createRetrievalWrapperDomain } from './retrieval-wrapper.js';
|
|
13
|
+
import { createRoadmapReportsDomain } from './roadmap-reports.js';
|
|
14
|
+
import { createRoadmapsDomain } from './roadmaps.js';
|
|
15
|
+
import { createReportsDomain } from './reports.js';
|
|
16
|
+
import { createSessionGovernanceDomain } from './session-governance.js';
|
|
17
|
+
import { createContextSessionsDomain } from './context-sessions.js';
|
|
18
|
+
import { createContextOrientationDomain } from './context-orientation.js';
|
|
19
|
+
import { createCommitGovernanceDomain } from './commit-governance.js';
|
|
20
|
+
import { createExecutionEligibilityDomain } from './execution-eligibility.js';
|
|
21
|
+
import { createToolBindingApprovalsDomain } from './tool-binding-approvals.js';
|
|
22
|
+
import { createVerifiedMutationsDomain } from './verified-mutations.js';
|
|
23
|
+
import { createWorkflowTurnsDomain } from './workflow-turns.js';
|
|
24
|
+
import { createChartersDomain } from './charters.js';
|
|
25
|
+
import { createWorkStartDomain } from './work-start.js';
|
|
26
|
+
import { createWorkflowCompositionDomain } from './workflow-composition.js';
|
|
27
|
+
import { createGovernedImplementationDomain } from './governed-implementation.js';
|
|
28
|
+
import { createImplementationPacketsDomain } from './implementation-packets.js';
|
|
29
|
+
import { createImplementationItemsDomain } from './implementation-items.js';
|
|
30
|
+
import { createImplementationArtifactsDomain } from './implementation-artifacts.js';
|
|
31
|
+
import { createImplementationChecksDomain } from './implementation-checks.js';
|
|
32
|
+
import { createImplementationEvidenceDomain } from './implementation-evidence.js';
|
|
33
|
+
import { createImplementationGatesDomain } from './implementation-gates.js';
|
|
34
|
+
import { createImplementationTasksDomain } from './implementation-tasks.js';
|
|
11
35
|
|
|
12
36
|
export function createProjectRoadmapSurface(client) {
|
|
13
37
|
return {
|
|
@@ -27,9 +51,53 @@ export function createLogaProjectionSurface(client) {
|
|
|
27
51
|
};
|
|
28
52
|
}
|
|
29
53
|
|
|
30
|
-
export function
|
|
54
|
+
export function createProjectionReportSurface(client) {
|
|
55
|
+
return {
|
|
56
|
+
reports: createReportsDomain(client),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function createGovernanceSurface(client) {
|
|
61
|
+
return {
|
|
62
|
+
claims: createClaimsDomain(client),
|
|
63
|
+
sessionGovernance: createSessionGovernanceDomain(client),
|
|
64
|
+
executionEligibility: createExecutionEligibilityDomain(client),
|
|
65
|
+
toolBindingApprovals: createToolBindingApprovalsDomain(client),
|
|
66
|
+
workflowTurns: createWorkflowTurnsDomain(client),
|
|
67
|
+
contextSessions: createContextSessionsDomain(client),
|
|
68
|
+
contextOrientation: createContextOrientationDomain(client),
|
|
69
|
+
commitGovernance: createCommitGovernanceDomain(client),
|
|
70
|
+
verifiedMutations: createVerifiedMutationsDomain(client),
|
|
71
|
+
charters: createChartersDomain(client),
|
|
72
|
+
workStart: createWorkStartDomain(client),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function createImplementationSurface(client) {
|
|
77
|
+
return {
|
|
78
|
+
governedImplementation: createGovernedImplementationDomain(client),
|
|
79
|
+
implementationPackets: createImplementationPacketsDomain(client),
|
|
80
|
+
implementationItems: createImplementationItemsDomain(client),
|
|
81
|
+
implementationArtifacts: createImplementationArtifactsDomain(client),
|
|
82
|
+
implementationChecks: createImplementationChecksDomain(client),
|
|
83
|
+
implementationEvidence: createImplementationEvidenceDomain(client),
|
|
84
|
+
implementationGates: createImplementationGatesDomain(client),
|
|
85
|
+
implementationTasks: createImplementationTasksDomain(client),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function createIntelligenceSurface(client) {
|
|
31
90
|
return {
|
|
91
|
+
repo: createRepoDomain(client),
|
|
92
|
+
workflowComposition: createWorkflowCompositionDomain(client),
|
|
32
93
|
retrievalWrapper: createRetrievalWrapperDomain(client),
|
|
33
94
|
retrievalManagement: createRetrievalManagementDomain(client),
|
|
34
95
|
};
|
|
35
96
|
}
|
|
97
|
+
|
|
98
|
+
export function createExecutionStatusSurface(client) {
|
|
99
|
+
return {
|
|
100
|
+
operatorStatus: createOperatorStatusDomain(client),
|
|
101
|
+
executionTelemetry: createExecutionTelemetryDomain(client),
|
|
102
|
+
};
|
|
103
|
+
}
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AIEngineClient, createAIEngineClient } from './client.js';
|
|
2
|
-
export const AI_ENGINE_CLIENT_VERSION = '1.1.
|
|
2
|
+
export const AI_ENGINE_CLIENT_VERSION = '1.1.108';
|
|
3
3
|
export { GOVERNED_MUTATION_REQUIRED_CAPABILITIES, AI_ENGINE_CLIENT_CAPABILITIES, TASK_BOUND_SUBSTRATE_EXECUTION_POLICY } from './constants/governance.js';
|
|
4
4
|
export {
|
|
5
5
|
TASK_ACTION_VERB_REGISTRY,
|