@bpmsoftwaresolutions/ai-engine-client 1.1.105 → 1.1.106
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 +2 -21
- package/src/domains/coordination-surface.js +38 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -12,7 +12,6 @@ import { createCurrentProjectDomain } from './domains/operator/current-project.j
|
|
|
12
12
|
import { createGatewayDomain } from './domains/gateway.js';
|
|
13
13
|
import { createHealthDomain } from './domains/health.js';
|
|
14
14
|
import { createNotesLabDomain } from './domains/notes-lab.js';
|
|
15
|
-
import { createCommunicationTicketsDomain } from './domains/communication-tickets.js';
|
|
16
15
|
import { createPortfolioDomain } from './domains/portfolio.js';
|
|
17
16
|
import { createGovernedImplementationDomain } from './domains/governed-implementation.js';
|
|
18
17
|
import { createReportsDomain } from './domains/reports.js';
|
|
@@ -24,7 +23,6 @@ import { createImplementationGatesDomain } from './domains/implementation-gates.
|
|
|
24
23
|
import { createImplementationPacketsDomain } from './domains/implementation-packets.js';
|
|
25
24
|
import { createImplementationItemsDomain } from './domains/implementation-items.js';
|
|
26
25
|
import { createRepoDomain } from './domains/repo.js';
|
|
27
|
-
import { createRefactoringTransfersDomain } from './domains/refactoring-transfers.js';
|
|
28
26
|
import { createOperatorStatusDomain } from './domains/operator-status.js';
|
|
29
27
|
import { createScriptDiscoveryDomain } from './domains/script-discovery.js';
|
|
30
28
|
import { createScriptsDomain } from './domains/scripts.js';
|
|
@@ -36,7 +34,6 @@ import { createSearchContactsDomain } from './domains/search-contacts.js';
|
|
|
36
34
|
import { createExternalProjectsDomain } from './domains/external-projects.js';
|
|
37
35
|
import { createExternalAudioDomain } from './domains/external-audio.js';
|
|
38
36
|
import { createExternalWorkflowArtifactsDomain } from './domains/external-workflow-artifacts.js';
|
|
39
|
-
import { createAgentCommunicationsFacade, createCollaborationFacade } from './compat/facades.js';
|
|
40
37
|
import { createClaimsDomain } from './domains/claims.js';
|
|
41
38
|
import { createSessionGovernanceDomain } from './domains/session-governance.js';
|
|
42
39
|
import { createContextSessionsDomain } from './domains/context-sessions.js';
|
|
@@ -48,18 +45,12 @@ import { createVerifiedMutationsDomain } from './domains/verified-mutations.js';
|
|
|
48
45
|
import { createWorkflowTurnsDomain } from './domains/workflow-turns.js';
|
|
49
46
|
import { createChartersDomain } from './domains/charters.js';
|
|
50
47
|
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
48
|
import { createToolRegistryDomain } from './domains/tool-registry.js';
|
|
59
49
|
import { createWorkflowCompositionDomain } from './domains/workflow-composition.js';
|
|
60
50
|
import { createWorkflowsDomain } from './domains/workflows.js';
|
|
61
51
|
import { createWarehouseDomain } from './domains/warehouse.js';
|
|
62
52
|
import { createLogaProjectionSurface, createProjectRoadmapSurface, createRetrievalSurface } from './domains/surface-groups.js';
|
|
53
|
+
import { createCoordinationSurface } from './domains/coordination-surface.js';
|
|
63
54
|
import { installClientCompatibilityDelegates } from './compat/aliases.js';
|
|
64
55
|
import { buildHeaders, requestBinary, requestJson, requestLogaProjection, requestText, resolveAccessToken } from './transport/index.js';
|
|
65
56
|
import { cleanText, isPlainObject, trimTrailingSlash } from './utils/text.js';
|
|
@@ -129,24 +120,14 @@ export class AIEngineClient {
|
|
|
129
120
|
this.scripts = createScriptsDomain(this);
|
|
130
121
|
this.reports = createReportsDomain(this);
|
|
131
122
|
Object.assign(this, createLogaProjectionSurface(this));
|
|
123
|
+
Object.assign(this, createCoordinationSurface(this));
|
|
132
124
|
this.workflowComposition = createWorkflowCompositionDomain(this);
|
|
133
125
|
this.workflowComposition.searchCodeByIntent = (request) => this.searchCodeByIntent(request);
|
|
134
126
|
this.warehouse = createWarehouseDomain(this);
|
|
135
127
|
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
128
|
this.externalProjects = createExternalProjectsDomain(this);
|
|
145
129
|
this.externalAudio = createExternalAudioDomain(this);
|
|
146
130
|
this.externalWorkflowArtifacts = createExternalWorkflowArtifactsDomain(this);
|
|
147
|
-
this.collaborationDomain = createCollaborationDomain(this);
|
|
148
|
-
this.agentComms = createAgentCommunicationsFacade(this);
|
|
149
|
-
this.collaboration = createCollaborationFacade(this);
|
|
150
131
|
this.collaboration.postCollaborationProposal = (request) => this.postCollaborationProposal(request);
|
|
151
132
|
}
|
|
152
133
|
|
|
@@ -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
|
+
}
|
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.106';
|
|
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,
|