@bpmsoftwaresolutions/ai-engine-client 1.1.77 → 1.1.78

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.77",
3
+ "version": "1.1.78",
4
4
  "description": "Thin npm client for the AI Engine operator and retrieval APIs",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
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,7 @@ 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';
41
43
  import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
42
44
  import { normalizeEnum, trimTrailingSlash } from './utils/text.js';
43
45
 
@@ -401,19 +403,13 @@ export class AIEngineClient {
401
403
  this.scriptDiscovery = createScriptDiscoveryDomain(this);
402
404
  this.searchContacts = createSearchContactsDomain(this);
403
405
  this.notesLab = createNotesLabDomain(this);
406
+ this.portfolio = createPortfolioDomain(this);
404
407
  this.loga = createLogaDomain(this);
405
408
  this.scripts = createScriptsDomain(this);
406
409
  this.reports = createReportsDomain(this);
407
410
  this.projections = createProjectionsDomain(this);
408
- this.warehouse = {
409
- registerModernizationAsset: (request) => this.registerModernizationAsset(request),
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
- };
411
+ this.workflowComposition = createWorkflowCompositionDomain(this);
412
+ this.warehouse = this.workflowComposition;
417
413
  this.actions = createActionsDomain(this);
418
414
  this.agentComms = {
419
415
  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 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.77';
2
+ export const AI_ENGINE_CLIENT_VERSION = '1.1.78';
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 {