@bpmsoftwaresolutions/ai-engine-client 1.1.105 → 1.1.107

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.105",
3
+ "version": "1.1.107",
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
@@ -6,16 +6,13 @@ 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
9
  import { createImplementationTasksDomain } from './domains/implementation-tasks.js';
11
10
  import { createCurrentProjectDomain } from './domains/operator/current-project.js';
12
11
  import { createGatewayDomain } from './domains/gateway.js';
13
12
  import { createHealthDomain } from './domains/health.js';
14
13
  import { createNotesLabDomain } from './domains/notes-lab.js';
15
- import { createCommunicationTicketsDomain } from './domains/communication-tickets.js';
16
14
  import { createPortfolioDomain } from './domains/portfolio.js';
17
15
  import { createGovernedImplementationDomain } from './domains/governed-implementation.js';
18
- import { createReportsDomain } from './domains/reports.js';
19
16
  import { createPerformanceDomain } from './domains/performance.js';
20
17
  import { createImplementationArtifactsDomain } from './domains/implementation-artifacts.js';
21
18
  import { createImplementationChecksDomain } from './domains/implementation-checks.js';
@@ -23,9 +20,6 @@ import { createImplementationEvidenceDomain } from './domains/implementation-evi
23
20
  import { createImplementationGatesDomain } from './domains/implementation-gates.js';
24
21
  import { createImplementationPacketsDomain } from './domains/implementation-packets.js';
25
22
  import { createImplementationItemsDomain } from './domains/implementation-items.js';
26
- import { createRepoDomain } from './domains/repo.js';
27
- import { createRefactoringTransfersDomain } from './domains/refactoring-transfers.js';
28
- import { createOperatorStatusDomain } from './domains/operator-status.js';
29
23
  import { createScriptDiscoveryDomain } from './domains/script-discovery.js';
30
24
  import { createScriptsDomain } from './domains/scripts.js';
31
25
  import { createSelfLearningDomain } from './domains/self-learning.js';
@@ -36,7 +30,6 @@ import { createSearchContactsDomain } from './domains/search-contacts.js';
36
30
  import { createExternalProjectsDomain } from './domains/external-projects.js';
37
31
  import { createExternalAudioDomain } from './domains/external-audio.js';
38
32
  import { createExternalWorkflowArtifactsDomain } from './domains/external-workflow-artifacts.js';
39
- import { createAgentCommunicationsFacade, createCollaborationFacade } from './compat/facades.js';
40
33
  import { createClaimsDomain } from './domains/claims.js';
41
34
  import { createSessionGovernanceDomain } from './domains/session-governance.js';
42
35
  import { createContextSessionsDomain } from './domains/context-sessions.js';
@@ -48,18 +41,11 @@ import { createVerifiedMutationsDomain } from './domains/verified-mutations.js';
48
41
  import { createWorkflowTurnsDomain } from './domains/workflow-turns.js';
49
42
  import { createChartersDomain } from './domains/charters.js';
50
43
  import { createWorkStartDomain } from './domains/work-start.js';
51
- import { createCollaborationDomain } from './domains/collaboration.js';
52
- import { createAgentCommunicationsDomain } from './domains/agent-communications.js';
53
- import { createMessageWatchDomain } from './domains/message-watch.js';
54
- import { createPingPongDomain } from './domains/ping-pong.js';
55
- import { createPresenceDomain } from './domains/presence.js';
56
- import { createTransferBundlesDomain } from './domains/transfer-bundles.js';
57
- import { createTransferChannelsDomain } from './domains/transfer-channels.js';
58
44
  import { createToolRegistryDomain } from './domains/tool-registry.js';
59
- import { createWorkflowCompositionDomain } from './domains/workflow-composition.js';
60
45
  import { createWorkflowsDomain } from './domains/workflows.js';
61
46
  import { createWarehouseDomain } from './domains/warehouse.js';
62
- import { createLogaProjectionSurface, createProjectRoadmapSurface, createRetrievalSurface } from './domains/surface-groups.js';
47
+ import { createExecutionStatusSurface, createIntelligenceSurface, createLogaProjectionSurface, createProjectRoadmapSurface, createProjectionReportSurface } from './domains/surface-groups.js';
48
+ import { createCoordinationSurface } from './domains/coordination-surface.js';
63
49
  import { installClientCompatibilityDelegates } from './compat/aliases.js';
64
50
  import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
65
51
  import { cleanText, isPlainObject, trimTrailingSlash } from './utils/text.js';
@@ -82,7 +68,6 @@ export class AIEngineClient {
82
68
  throw new Error('A fetch implementation is required. Use Node 18+ or supply fetchImpl.');
83
69
  }
84
70
  this.health = createHealthDomain(this);
85
- this.operatorStatus = createOperatorStatusDomain(this);
86
71
  this.gateway = createGatewayDomain(this);
87
72
  this.operator = {
88
73
  currentProject: createCurrentProjectDomain(this),
@@ -113,10 +98,7 @@ export class AIEngineClient {
113
98
  this.toolRegistry = createToolRegistryDomain(this);
114
99
  this.contextAssembly = createContextAssemblyDomain(this);
115
100
  this.designIntelligence = createDesignIntelligenceDomain(this);
116
- this.executionTelemetry = createExecutionTelemetryDomain(this);
117
101
  this.performance = createPerformanceDomain(this);
118
- this.repo = createRepoDomain(this);
119
- Object.assign(this, createRetrievalSurface(this));
120
102
  this.workflows = createWorkflowsDomain(this);
121
103
  this.capabilities = createCapabilitiesDomain(this);
122
104
  this.benchmarks = createBenchmarksDomain(this);
@@ -127,26 +109,17 @@ export class AIEngineClient {
127
109
  this.notesLab = createNotesLabDomain(this);
128
110
  this.portfolio = createPortfolioDomain(this);
129
111
  this.scripts = createScriptsDomain(this);
130
- this.reports = createReportsDomain(this);
131
112
  Object.assign(this, createLogaProjectionSurface(this));
132
- this.workflowComposition = createWorkflowCompositionDomain(this);
113
+ Object.assign(this, createProjectionReportSurface(this));
114
+ Object.assign(this, createIntelligenceSurface(this));
115
+ Object.assign(this, createExecutionStatusSurface(this));
116
+ Object.assign(this, createCoordinationSurface(this));
133
117
  this.workflowComposition.searchCodeByIntent = (request) => this.searchCodeByIntent(request);
134
118
  this.warehouse = createWarehouseDomain(this);
135
119
  this.actions = createActionsDomain(this);
136
- this.transferBundles = createTransferBundlesDomain(this);
137
- this.transferChannels = createTransferChannelsDomain(this);
138
- this.messageWatch = createMessageWatchDomain(this);
139
- this.presence = createPresenceDomain(this);
140
- this.pingPong = createPingPongDomain(this);
141
- this.agentCommunications = createAgentCommunicationsDomain(this);
142
- this.communicationTickets = createCommunicationTicketsDomain(this);
143
- this.refactoringTransfers = createRefactoringTransfersDomain(this);
144
120
  this.externalProjects = createExternalProjectsDomain(this);
145
121
  this.externalAudio = createExternalAudioDomain(this);
146
122
  this.externalWorkflowArtifacts = createExternalWorkflowArtifactsDomain(this);
147
- this.collaborationDomain = createCollaborationDomain(this);
148
- this.agentComms = createAgentCommunicationsFacade(this);
149
- this.collaboration = createCollaborationFacade(this);
150
123
  this.collaboration.postCollaborationProposal = (request) => this.postCollaborationProposal(request);
151
124
  }
152
125
 
@@ -0,0 +1,38 @@
1
+ import { createAgentCommunicationsDomain } from './agent-communications.js';
2
+ import { createAgentCommunicationsFacade, createCollaborationFacade } from '../compat/facades.js';
3
+ import { createCommunicationTicketsDomain } from './communication-tickets.js';
4
+ import { createCollaborationDomain } from './collaboration.js';
5
+ import { createMessageWatchDomain } from './message-watch.js';
6
+ import { createPingPongDomain } from './ping-pong.js';
7
+ import { createPresenceDomain } from './presence.js';
8
+ import { createRefactoringTransfersDomain } from './refactoring-transfers.js';
9
+ import { createTransferBundlesDomain } from './transfer-bundles.js';
10
+ import { createTransferChannelsDomain } from './transfer-channels.js';
11
+
12
+ export function createCoordinationSurface(client) {
13
+ const transferBundles = createTransferBundlesDomain(client);
14
+ const transferChannels = createTransferChannelsDomain(client);
15
+ const messageWatch = createMessageWatchDomain(client);
16
+ const presence = createPresenceDomain(client);
17
+ const pingPong = createPingPongDomain(client);
18
+ const agentCommunications = createAgentCommunicationsDomain(client);
19
+ const communicationTickets = createCommunicationTicketsDomain(client);
20
+ const refactoringTransfers = createRefactoringTransfersDomain(client);
21
+ const collaborationDomain = createCollaborationDomain(client);
22
+ const agentComms = createAgentCommunicationsFacade(client);
23
+ const collaboration = createCollaborationFacade(client);
24
+
25
+ return {
26
+ transferBundles,
27
+ transferChannels,
28
+ messageWatch,
29
+ presence,
30
+ pingPong,
31
+ agentCommunications,
32
+ communicationTickets,
33
+ refactoringTransfers,
34
+ collaborationDomain,
35
+ agentComms,
36
+ collaboration,
37
+ };
38
+ }
@@ -4,10 +4,15 @@ import { createProjectReportsDomain } from './project-reports.js';
4
4
  import { createProjectResumeDomain } from './project-resume.js';
5
5
  import { createProjectsDomain } from './projects.js';
6
6
  import { createProjectionsDomain } from './projections.js';
7
- import { createRoadmapReportsDomain } from './roadmap-reports.js';
8
- import { createRoadmapsDomain } from './roadmaps.js';
7
+ import { createExecutionTelemetryDomain } from './execution-telemetry.js';
8
+ import { createOperatorStatusDomain } from './operator-status.js';
9
+ import { createRepoDomain } from './repo.js';
9
10
  import { createRetrievalManagementDomain } from './retrieval-management.js';
10
11
  import { createRetrievalWrapperDomain } from './retrieval-wrapper.js';
12
+ import { createRoadmapReportsDomain } from './roadmap-reports.js';
13
+ import { createRoadmapsDomain } from './roadmaps.js';
14
+ import { createReportsDomain } from './reports.js';
15
+ import { createWorkflowCompositionDomain } from './workflow-composition.js';
11
16
 
12
17
  export function createProjectRoadmapSurface(client) {
13
18
  return {
@@ -27,9 +32,24 @@ export function createLogaProjectionSurface(client) {
27
32
  };
28
33
  }
29
34
 
30
- export function createRetrievalSurface(client) {
35
+ export function createProjectionReportSurface(client) {
36
+ return {
37
+ reports: createReportsDomain(client),
38
+ };
39
+ }
40
+
41
+ export function createIntelligenceSurface(client) {
31
42
  return {
43
+ repo: createRepoDomain(client),
44
+ workflowComposition: createWorkflowCompositionDomain(client),
32
45
  retrievalWrapper: createRetrievalWrapperDomain(client),
33
46
  retrievalManagement: createRetrievalManagementDomain(client),
34
47
  };
35
48
  }
49
+
50
+ export function createExecutionStatusSurface(client) {
51
+ return {
52
+ operatorStatus: createOperatorStatusDomain(client),
53
+ executionTelemetry: createExecutionTelemetryDomain(client),
54
+ };
55
+ }
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.105';
2
+ export const AI_ENGINE_CLIENT_VERSION = '1.1.107';
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,