@bpmsoftwaresolutions/ai-engine-client 1.1.78 → 1.1.81

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 CHANGED
@@ -79,6 +79,35 @@ 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
+
99
+ ### Compatibility Map
100
+
101
+ The post-split client intentionally keeps the legacy call styles available while exposing the normalized namespace paths:
102
+
103
+ - `client.ping()` and `client.health.ping()` remain available.
104
+ - `client.query()` and `client.gateway.query()` remain available.
105
+ - `client.getPortfolioClosureReadiness()` and `client.portfolio.getPortfolioClosureReadiness()` remain available.
106
+ - `client.registerModernizationAsset()` and `client.warehouse.registerModernizationAsset()` remain available.
107
+ - `client.workflowComposition.*` is the normalized modernization namespace, with `client.warehouse.*` preserved as the compatibility alias.
108
+ - Auth behavior remains unchanged: bearer token auth wins when `accessToken` or `tokenProvider` is configured, otherwise the client falls back to the compatibility API key headers.
109
+ - Download helpers still return the same markdown and binary payload metadata through the top-level methods.
110
+
82
111
  ## Project Continuation Runtime
83
112
 
84
113
  Once you know the project identity, use `resumeProjectWork()` as the canonical startup and hydration call for project work.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.78",
3
+ "version": "1.1.81",
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
@@ -40,6 +40,7 @@ import { createSkillsDomain } from './domains/skills.js';
40
40
  import { createSearchContactsDomain } from './domains/search-contacts.js';
41
41
  import { createToolRegistryDomain } from './domains/tool-registry.js';
42
42
  import { createWorkflowCompositionDomain } from './domains/workflow-composition.js';
43
+ import { createWarehouseDomain } from './domains/warehouse.js';
43
44
  import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
44
45
  import { normalizeEnum, trimTrailingSlash } from './utils/text.js';
45
46
 
@@ -409,7 +410,7 @@ export class AIEngineClient {
409
410
  this.reports = createReportsDomain(this);
410
411
  this.projections = createProjectionsDomain(this);
411
412
  this.workflowComposition = createWorkflowCompositionDomain(this);
412
- this.warehouse = this.workflowComposition;
413
+ this.warehouse = createWarehouseDomain(this);
413
414
  this.actions = createActionsDomain(this);
414
415
  this.agentComms = {
415
416
  openThread: (request) => this.openCommunicationThread(request),
@@ -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
+ }
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.78';
2
+ export const AI_ENGINE_CLIENT_VERSION = '1.1.81';
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 {