@bpmsoftwaresolutions/ai-engine-client 1.1.77 → 1.1.79
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 +17 -0
- package/package.json +1 -1
- package/src/client.js +6 -9
- package/src/domains/portfolio.js +11 -0
- package/src/domains/warehouse.js +11 -0
- package/src/domains/workflow-composition.js +11 -0
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -79,6 +79,23 @@ const generatedUsability = await client.getGeneratedExecutionUsability();
|
|
|
79
79
|
const logaUsability = await client.getLogaGeneratedExecutionUsabilityProjection();
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
+
## Namespaces
|
|
83
|
+
|
|
84
|
+
The client keeps the top-level compatibility methods, but the extracted domain namespaces are the preferred way to navigate the SDK:
|
|
85
|
+
|
|
86
|
+
- `client.portfolio` for portfolio status and closure-readiness views
|
|
87
|
+
- `client.workflowComposition` for modernization and workflow-composition helpers
|
|
88
|
+
- `client.warehouse` as a legacy compatibility alias for the workflow-composition helpers
|
|
89
|
+
- `client.projects`, `client.roadmaps`, `client.projectChartering`, and other domain namespaces for the thinner wrapper surfaces
|
|
90
|
+
|
|
91
|
+
The legacy top-level methods still work, so existing callers can move gradually:
|
|
92
|
+
|
|
93
|
+
```js
|
|
94
|
+
await client.getPortfolioClosureReadiness();
|
|
95
|
+
await client.workflowComposition.decideModernizationGate();
|
|
96
|
+
await client.warehouse.requestModernizationWrapperExecution();
|
|
97
|
+
```
|
|
98
|
+
|
|
82
99
|
## Project Continuation Runtime
|
|
83
100
|
|
|
84
101
|
Once you know the project identity, use `resumeProjectWork()` as the canonical startup and hydration call for project work.
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -15,6 +15,7 @@ import { createGatewayDomain } from './domains/gateway.js';
|
|
|
15
15
|
import { createHealthDomain } from './domains/health.js';
|
|
16
16
|
import { createLogaDomain } from './domains/loga.js';
|
|
17
17
|
import { createNotesLabDomain } from './domains/notes-lab.js';
|
|
18
|
+
import { createPortfolioDomain } from './domains/portfolio.js';
|
|
18
19
|
import { createProjectionsDomain } from './domains/projections.js';
|
|
19
20
|
import { createReportsDomain } from './domains/reports.js';
|
|
20
21
|
import { createPerformanceDomain } from './domains/performance.js';
|
|
@@ -38,6 +39,8 @@ import { createSkillGovernanceDomain } from './domains/skill-governance.js';
|
|
|
38
39
|
import { createSkillsDomain } from './domains/skills.js';
|
|
39
40
|
import { createSearchContactsDomain } from './domains/search-contacts.js';
|
|
40
41
|
import { createToolRegistryDomain } from './domains/tool-registry.js';
|
|
42
|
+
import { createWorkflowCompositionDomain } from './domains/workflow-composition.js';
|
|
43
|
+
import { createWarehouseDomain } from './domains/warehouse.js';
|
|
41
44
|
import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
|
|
42
45
|
import { normalizeEnum, trimTrailingSlash } from './utils/text.js';
|
|
43
46
|
|
|
@@ -401,19 +404,13 @@ export class AIEngineClient {
|
|
|
401
404
|
this.scriptDiscovery = createScriptDiscoveryDomain(this);
|
|
402
405
|
this.searchContacts = createSearchContactsDomain(this);
|
|
403
406
|
this.notesLab = createNotesLabDomain(this);
|
|
407
|
+
this.portfolio = createPortfolioDomain(this);
|
|
404
408
|
this.loga = createLogaDomain(this);
|
|
405
409
|
this.scripts = createScriptsDomain(this);
|
|
406
410
|
this.reports = createReportsDomain(this);
|
|
407
411
|
this.projections = createProjectionsDomain(this);
|
|
408
|
-
this.
|
|
409
|
-
|
|
410
|
-
classifyModernizationAsset: (request) => this.classifyModernizationAsset(request),
|
|
411
|
-
discoverSalvageCandidates: (request) => this.discoverSalvageCandidates(request),
|
|
412
|
-
createModernizationWorkPacket: (request) => this.createModernizationWorkPacket(request),
|
|
413
|
-
requestModernizationWrapperExecution: (request) => this.requestModernizationWrapperExecution(request),
|
|
414
|
-
getModernizationWrapperEvidence: (request) => this.getModernizationWrapperEvidence(request),
|
|
415
|
-
decideModernizationGate: (request) => this.decideModernizationGate(request),
|
|
416
|
-
};
|
|
412
|
+
this.workflowComposition = createWorkflowCompositionDomain(this);
|
|
413
|
+
this.warehouse = createWarehouseDomain(this);
|
|
417
414
|
this.actions = createActionsDomain(this);
|
|
418
415
|
this.agentComms = {
|
|
419
416
|
openThread: (request) => this.openCommunicationThread(request),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function createPortfolioDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
getPortfolioStatus: (request) => client.getPortfolioStatus(request),
|
|
4
|
+
getPortfolioSummary: () => client.getPortfolioSummary(),
|
|
5
|
+
getPortfolioExceptions: () => client.getPortfolioExceptions(),
|
|
6
|
+
getPortfolioProject: (projectId) => client.getPortfolioProject(projectId),
|
|
7
|
+
getPortfolioReport: () => client.getPortfolioReport(),
|
|
8
|
+
getPortfolioBundle: () => client.getPortfolioBundle(),
|
|
9
|
+
getPortfolioClosureReadiness: (request) => client.getPortfolioClosureReadiness(request),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function createWarehouseDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
registerModernizationAsset: (request) => client.registerModernizationAsset(request),
|
|
4
|
+
classifyModernizationAsset: (request) => client.classifyModernizationAsset(request),
|
|
5
|
+
discoverSalvageCandidates: (request) => client.discoverSalvageCandidates(request),
|
|
6
|
+
createModernizationWorkPacket: (request) => client.createModernizationWorkPacket(request),
|
|
7
|
+
requestModernizationWrapperExecution: (request) => client.requestModernizationWrapperExecution(request),
|
|
8
|
+
getModernizationWrapperEvidence: (request) => client.getModernizationWrapperEvidence(request),
|
|
9
|
+
decideModernizationGate: (request) => client.decideModernizationGate(request),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function createWorkflowCompositionDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
registerModernizationAsset: (request) => client.registerModernizationAsset(request),
|
|
4
|
+
classifyModernizationAsset: (request) => client.classifyModernizationAsset(request),
|
|
5
|
+
discoverSalvageCandidates: (request) => client.discoverSalvageCandidates(request),
|
|
6
|
+
createModernizationWorkPacket: (request) => client.createModernizationWorkPacket(request),
|
|
7
|
+
requestModernizationWrapperExecution: (request) => client.requestModernizationWrapperExecution(request),
|
|
8
|
+
getModernizationWrapperEvidence: (request) => client.getModernizationWrapperEvidence(request),
|
|
9
|
+
decideModernizationGate: (request) => client.decideModernizationGate(request),
|
|
10
|
+
};
|
|
11
|
+
}
|
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.79';
|
|
3
3
|
export { GOVERNED_MUTATION_REQUIRED_CAPABILITIES, AI_ENGINE_CLIENT_CAPABILITIES, TASK_BOUND_SUBSTRATE_EXECUTION_POLICY } from './constants/governance.js';
|
|
4
4
|
export { LOGA_CONTRACT, LOGA_INTERACTION_CONTRACT, LOGA_NAVIGATION_CONTRACT, LOGA_PROJECTION_WORKFLOW } from './constants/loga.js';
|
|
5
5
|
export {
|