@bpmsoftwaresolutions/ai-engine-client 1.1.98 → 1.1.101

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.
@@ -38,6 +38,70 @@ export const COMPATIBILITY_ALIAS_GROUPS = [
38
38
  'closeTransferChannel',
39
39
  ],
40
40
  },
41
+ {
42
+ namespace: 'agentCommunications',
43
+ aliases: [
44
+ 'startAgentConnection',
45
+ 'establishAgentCommunicationChannel',
46
+ 'runInterAgentMessagingLoop',
47
+ 'bootstrapCommunication',
48
+ 'negotiateCommunicationTransfer',
49
+ 'resolveCommunicationTarget',
50
+ 'createCommunicationEvidencePacket',
51
+ 'listCommunicationFrictionTaxonomy',
52
+ 'recordCommunicationFrictionEvent',
53
+ 'openCommunicationThread',
54
+ 'getCommunicationThread',
55
+ 'listCommunicationInbox',
56
+ 'getMyInbox',
57
+ 'verifyMessageSent',
58
+ 'verifyMessageReceived',
59
+ 'getMessageDeliveryReceipt',
60
+ '_sendAgentCommsMessage',
61
+ 'sendCommunicationMessage',
62
+ 'acceptCommunicationTransferPacket',
63
+ 'closeCommunicationTransferPacket',
64
+ 'getCommunicationTransferHealth',
65
+ 'acceptCommunicationMessage',
66
+ 'respondToCommunicationMessage',
67
+ 'attachCommunicationMessageEvidence',
68
+ 'createCommunicationHandoff',
69
+ 'acceptCommunicationHandoff',
70
+ ],
71
+ },
72
+ {
73
+ namespace: 'communicationTickets',
74
+ aliases: ['createCrossAgentRemediationTicket'],
75
+ },
76
+ {
77
+ namespace: 'refactoringTransfers',
78
+ aliases: ['transferRefactoringBundle'],
79
+ },
80
+ {
81
+ namespace: 'externalProjects',
82
+ aliases: [
83
+ 'getExternalProjectStatus',
84
+ 'getExternalProjectRoadmapSummary',
85
+ 'getExternalProjectRoadmapActiveItem',
86
+ 'listExternalProjectOpenTasks',
87
+ 'getExternalProjectStatusBundle',
88
+ ],
89
+ },
90
+ {
91
+ namespace: 'externalAudio',
92
+ aliases: [
93
+ 'createExternalAudioRender',
94
+ 'getExternalAudioRender',
95
+ 'downloadExternalAudioRender',
96
+ ],
97
+ },
98
+ {
99
+ namespace: 'externalWorkflowArtifacts',
100
+ aliases: [
101
+ 'listExternalWorkflowRunArtifacts',
102
+ 'downloadExternalWorkflowRunArtifact',
103
+ ],
104
+ },
41
105
  {
42
106
  namespace: 'collaboration',
43
107
  aliases: [
@@ -56,3 +120,102 @@ export function listCompatibilityAliases() {
56
120
  aliases: [...group.aliases],
57
121
  }));
58
122
  }
123
+
124
+ function defineCompatibilityMethods(proto, targetName, methodNames) {
125
+ for (const methodName of methodNames) {
126
+ if (Object.prototype.hasOwnProperty.call(proto, methodName)) continue;
127
+ Object.defineProperty(proto, methodName, {
128
+ value: function delegatedClientMethod(...args) {
129
+ return this[targetName][methodName](...args);
130
+ },
131
+ configurable: true,
132
+ writable: true,
133
+ });
134
+ }
135
+ }
136
+
137
+ function defineCompatibilityAliases(proto, targetName, methodMap) {
138
+ for (const [methodName, targetMethodName] of Object.entries(methodMap)) {
139
+ if (Object.prototype.hasOwnProperty.call(proto, methodName)) continue;
140
+ Object.defineProperty(proto, methodName, {
141
+ value: function delegatedClientMethod(...args) {
142
+ return this[targetName][targetMethodName](...args);
143
+ },
144
+ configurable: true,
145
+ writable: true,
146
+ });
147
+ }
148
+ }
149
+
150
+ export function installClientCompatibilityDelegates(ClientClass) {
151
+ const proto = ClientClass.prototype;
152
+ defineCompatibilityMethods(proto, 'health', ['ping']);
153
+ defineCompatibilityMethods(proto, 'operatorStatus', ['currentWorkflowStatus', 'getCurrentWorkflowStatus', 'currentArchitectureIntegrityStatus', 'getCurrentArchitectureIntegrityStatus', 'currentSecurityGovernanceStatus', 'getCurrentSecurityGovernanceStatus', 'getExecutionTelemetryCurrent', 'listExecutionProcessRuns', 'getExecutionProcessRun', 'getGeneratedExecutionUsability', 'getLogaGeneratedExecutionUsabilityProjection', 'getAntiPatternRules', 'currentCodebaseShapeStatus', 'getLatestMemoryProjection', 'currentProjectStatus', 'getDashboard', 'getCommunicationCapabilities', 'getCollaborationCapabilities', 'getDeploymentCapabilities']);
154
+ defineCompatibilityMethods(proto, 'database', ['query', 'createDatabaseBackup', 'listDatabaseBackups', 'getDatabaseBackup', 'listDatabaseBackupOperations', 'runAzureSqlBacpacBackup', 'listAzureSqlBacpacBackups', 'listAzureSqlBacpacBackupOperations']);
155
+ defineCompatibilityMethods(proto, 'database', ['describeDatabaseCatalog', 'listDatabaseSchemas', 'listDatabaseTables', 'listDatabaseColumns', 'listDatabaseIndexes', 'describeDatabaseTable']);
156
+ defineCompatibilityMethods(proto, 'reports', ['runReport', 'runReportDefinition']);
157
+ defineCompatibilityMethods(proto, 'retrievalWrapper', ['getCommandCard', 'resolveOperatingProcedure', 'getSymbolDefinition', 'getRelatedCode']);
158
+ defineCompatibilityMethods(proto, 'repo', ['listRepositories', 'getRepository', 'listCodeFiles', 'getCodeFile', 'getCodeFileContentWindow', 'listCodeSymbolsByFile', 'getCodeSymbol', 'searchSymbols', 'getSymbolRelationships', 'listCodeRelationships', 'listActionObservations', 'listCodebaseShapeFindings', 'listObjectFlowObservations', 'getChangeAnalysis', 'listRefactorCandidates', 'analyzeRefactorCandidate', 'getRepoRetrievalPacket', 'getRepoRetrievalPacketFragments', 'evaluateProposalScope']);
159
+ defineCompatibilityMethods(proto, 'retrievalManagement', ['getRetrievalStatus', 'getRetrievalProfileMetrics', 'getRetrievalFeedbackMetrics', 'getRetrievalQuery', 'getRetrievalPacket', 'generateRetrievalCandidates', 'selectRetrievalPacket', 'recordRetrievalFeedback', 'deriveRetrievalOptimizationCandidates', 'validatePromptAssembly']);
160
+ defineCompatibilityMethods(proto, 'workflows', ['listWorkflows', 'createWorkflow', 'getWorkflow', 'replaceWorkflowSteps', 'publishWorkflow', 'cloneWorkflow', 'evaluateWorkflowGovernance', 'listWorkflowGovernanceDecisions', 'getWorkflowGovernanceSimulation', 'listWorkflowGovernanceBundles', 'listWorkflowGovernanceApprovals', 'listWorkflowGovernanceEvents', 'getWorkflowGovernanceReview', 'createWorkflowGovernanceReviewDecision', 'createWorkflowRun', 'getWorkflowRun', 'listWorkflowArtifacts', 'getWorkflowRunSubstrate', 'getWorkflowPlayback', 'resumeWorkflowRun', 'listRecentInspectorRuns', 'inspectWorkflowRun']);
161
+ defineCompatibilityMethods(proto, 'projects', ['listProjects', 'getProject', 'listProjectWorkflowRuns', 'closeProject', 'closeActiveProject', 'getProjectBundle', 'listProjectOpenTasks', 'closeRoadmapItemWorkflow']);
162
+ defineCompatibilityMethods(proto, 'projectChartering', ['createProjectCharter', 'createProjectDelivery', 'approveProjectCharterIntent', 'approveImplementationRoadmap', 'runProjectCharter', 'beginImplementationRoadmap', 'routeImplementationItem']);
163
+ defineCompatibilityMethods(proto, 'projectReports', ['getProjectCharterReport', 'createProjectMarkdownDownload', 'downloadProjectMarkdownReport', 'downloadProjectCharterReportMarkdown']);
164
+ defineCompatibilityMethods(proto, 'projectResume', ['resumeProjectWork']);
165
+ defineCompatibilityMethods(proto, 'roadmaps', ['listProjectRoadmaps', 'getProjectRoadmap', 'getProjectRoadmapSummary', 'getProjectRoadmapActiveItem', 'listProjectOpenTasks', 'getProjectPerformanceMetrics', 'ensureProjectRoadmapTaskSurface']);
166
+ defineCompatibilityMethods(proto, 'roadmapReports', ['getProjectImplementationRoadmapReport', 'downloadProjectImplementationRoadmapReportMarkdown']);
167
+ defineCompatibilityMethods(proto, 'implementationTasks', ['createImplementationTask', 'listImplementationTasks', 'listImplementationSubtasks', 'updateImplementationTask', 'assignImplementationTask', 'completeImplementationTask']);
168
+ defineCompatibilityMethods(proto, 'implementationPackets', ['importImplementationPacket', 'listImplementationPackets', 'getImplementationPacket', 'bindImplementationPacketToWorkflow', 'getWorkflowImplementationRoadmap', 'getWorkflowResumeContext', 'importImplementationPacketAndMaterializeRoadmap']);
169
+ defineCompatibilityMethods(proto, 'implementationChecks', ['getImplementationItemAcceptanceChecks', 'updateAcceptanceCheckStatus', 'updateAcceptanceCheckStatusVerified']);
170
+ defineCompatibilityMethods(proto, 'implementationArtifacts', ['getArtifactManifest', 'getDecisionPacket', 'verifyImplementationItemArtifacts']);
171
+ defineCompatibilityMethods(proto, 'implementationItems', ['updateImplementationItemStatus', 'updateImplementationItemStatusVerified']);
172
+ defineCompatibilityMethods(proto, 'implementationEvidence', ['addImplementationItemEvidence', 'addImplementationItemActivity', 'listImplementationItemActivity']);
173
+ defineCompatibilityMethods(proto, 'implementationGates', ['createImplementationPacketGateDecision']);
174
+ defineCompatibilityMethods(proto, 'workflowTurns', ['completeTurn', 'persistAssistantTurn']);
175
+ defineCompatibilityMethods(proto, 'claims', ['getClaim', 'claimIsValid', 'signoffClaim', 'promoteClaimSurface']);
176
+ defineCompatibilityMethods(proto, 'sessionGovernance', ['startSessionGovernance', 'startReviewGovernance', 'evaluateTurnCompliance', 'blockIfNonCompliant']);
177
+ defineCompatibilityMethods(proto, 'workStart', ['startWork', 'startClaimedWork', 'claimWorkItem', 'bindClaimedWorkItem']);
178
+ defineCompatibilityMethods(proto, 'executionEligibility', ['getExecutionEligibility', '_assertExecutionEligibility']);
179
+ defineCompatibilityMethods(proto, 'toolBindingApprovals', ['createWorkflowToolBindingApprovalLane', 'recordWorkflowToolBindingApprovalDecision', 'executeWorkflowToolBindingApprovalBinding', 'revalidateWorkflowToolBindingStartup']);
180
+ defineCompatibilityMethods(proto, 'verifiedMutations', ['executeVerifiedMutation']);
181
+ defineCompatibilityMethods(proto, 'charters', ['runCharter']);
182
+ defineCompatibilityMethods(proto, 'pingPong', ['checkCoordinationPingPongPreflight', 'startCoordinationPingPong', 'sendCoordinationPing', 'sendCoordinationPong', 'getCoordinationPingPongStatus', 'stopCoordinationPingPong']);
183
+ defineCompatibilityAliases(proto, 'pingPong', { pingAgentCommunicationPeer: 'sendCoordinationPing', pongAgentCommunicationPeer: 'sendCoordinationPong' });
184
+ defineCompatibilityMethods(proto, 'transferChannels', ['listCommunicationChannels', 'listOpenCommunicationChannels', 'getCommunicationChannelStatus', 'getCommunicationChannelParticipants', 'openTransferChannel', 'joinTransferChannel', 'resumeTransferChannel', 'replyToTransferChannel', 'closeTransferChannel', 'requestTransferClosure', 'openAgentChannel', 'connectToTransferChannel', 'startAgentConnection', 'postAgentHeartbeat', 'closeAgentChannel']);
185
+ defineCompatibilityMethods(proto, 'messageWatch', ['startMessageWatch', 'acknowledgeExpectedMessage', 'expireMessageWatch', 'respondToMessageWatch', 'acceptAgentChannel', 'resolveMessageWatchId']);
186
+ defineCompatibilityMethods(proto, 'messageWatch', ['acknowledgeAgentMessage']);
187
+ defineCompatibilityMethods(proto, 'presence', ['getPresenceBoard', 'getChannelPresence', 'markParticipantOnline', 'markParticipantOffline', 'whoIsOnline', 'findOnlineParticipant', 'sendToParticipant', 'sendToRole', 'postPresenceHeartbeat']);
188
+ defineCompatibilityMethods(proto, 'collaborationDomain', ['reviewCollaborationProposal', 'reviseCollaborationProposal', 'postCollaborationProposal', 'acceptCollaborationProposal', 'assignCollaborationOwnership', 'raiseCollaborationBlocker', 'resolveCollaborationBlocker', 'postCollaborationHeartbeat', 'beginCollaborationImplementation', 'requestCollaborationClosure']);
189
+ defineCompatibilityMethods(proto, 'transferBundles', ['transferWorkPacket', 'getTransferBundle', 'listTransferBundles', 'createTransferReceipt', 'listTransferReceipts', 'createCommunicationBundle', 'getCommunicationBundle', 'listCommunicationBundles', 'addCommunicationBundleItem', 'uploadCommunicationBundle', 'attachCommunicationBundleToMessage', 'recordCommunicationBundleReceipt', 'recordCommunicationBundleCleanupEvent', 'claimCommunicationBundle', 'recordCommunicationTransferReceipt']);
190
+ defineCompatibilityMethods(proto, 'workflowComposition', ['registerModernizationAsset', 'classifyModernizationAsset', 'discoverSalvageCandidates', 'createModernizationWorkPacket', 'requestModernizationWrapperExecution', 'getModernizationWrapperEvidence', 'decideModernizationGate']);
191
+ defineCompatibilityMethods(proto, 'currentProject', ['currentProjectStatus']);
192
+ defineCompatibilityMethods(proto, 'projections', ['renderProjection', 'getLogaOperatorHomeProjection', 'getLogaProjectCatalogProjection', 'getLogaProjectPortfolioProjection', 'getLogaProjectRoadmapProjection', 'getLogaRoadmapItemProjection', 'getLogaWorkflowRunProjection', 'getLogaEvidencePacketProjection', 'getLogaTransferHomeProjection', 'getLogaTransferInboxProjection', 'getLogaTransferPacketProjection', 'getLogaTransferNegotiationEventsProjection', 'getLogaTransferFrictionLaneProjection', 'getLogaTransferReceiptsProjection', 'getLogaTransferClosureReviewProjection', 'getTransferChannelProjection']);
193
+ defineCompatibilityAliases(proto, 'projections', { getLogaTransferChannelThreadProjection: 'getTransferChannelProjection' });
194
+ defineCompatibilityMethods(proto, 'loga', ['submitUxGateRemediation', 'listUxGateRemediations', 'getUxGateRemediation', 'appendUxRemediationTicketNote', 'listUxRemediationTicketNotes', 'promoteUxGateRemediationImplementationCandidate', 'getLogaUxGateRemediationProjection', 'getUxGateRemediationProjection']);
195
+ defineCompatibilityMethods(proto, 'actions', ['submitActionIntent']);
196
+ defineCompatibilityMethods(proto, 'executionTelemetry', ['getExecutionTelemetryCurrent', 'listExecutionProcessRuns', 'getExecutionProcessRun', 'getGeneratedExecutionUsability', 'getLogaGeneratedExecutionUsabilityProjection']);
197
+ defineCompatibilityMethods(proto, 'scripts', ['generateScript', 'renderScript', 'submitScriptArtifact', 'getScriptRunEvidence']);
198
+ defineCompatibilityMethods(proto, 'capabilities', ['listCapabilities', 'createCapability', 'testCapability']);
199
+ defineCompatibilityMethods(proto, 'skills', ['currentSkillRegistryStatus', 'getSkillContract', 'getSkillGovernance', 'createSkillContractDraft', 'recordSkillPatternReview', 'approveSkillContract', 'createWorkflowSkillContract', 'listWorkflowSkillBindings', 'seedFrequentOperationSkills']);
200
+ defineCompatibilityMethods(proto, 'skillGovernance', ['createSkillGovernanceChange', 'listSkillGovernanceChanges', 'getSkillGovernanceChange']);
201
+ defineCompatibilityMethods(proto, 'toolRegistry', ['currentToolRegistryStatus', 'getWorkflowToolRegistry', 'currentAssistantToolContext', 'getTool', 'getToolHistory', 'getToolInvocations', 'getToolEventReplayBundle', 'getToolGovernance', 'createToolReviewDecision', 'createToolGateDecision']);
202
+ defineCompatibilityMethods(proto, 'contextAssembly', ['getContextAssemblyContract', 'getContextAssemblyStatus', 'getOperatorContext', 'getContextFragments', 'getContextReuse', 'listPromptAssemblies']);
203
+ defineCompatibilityMethods(proto, 'performance', ['getSessionPerformanceMetrics', 'captureBenchmarkSnapshot', 'listBenchmarks', 'getBenchmarkMetrics', 'getBenchmarkDelta', 'getBenchmarkTrend', 'getPerformanceDashboard']);
204
+ defineCompatibilityMethods(proto, 'selfLearning', ['getSelfLearningPosture', 'listLearningRecords', 'getLearningRecord', 'listPromotionCandidates', 'getPromotionCandidate', 'listPromotionFlows']);
205
+ defineCompatibilityMethods(proto, 'selfOptimization', ['getSelfOptimizationDashboard', 'getSelfOptimizationCandidateQueue', 'getSelfOptimizationBacklogPosture', 'getSelfOptimizationPendingHandoffs']);
206
+ defineCompatibilityMethods(proto, 'designIntelligence', ['getDesignIntelligenceDashboard', 'listDesignDecisions', 'getDesignDecision', 'getDesignDecisionVariants', 'getDesignDecisionCritique', 'getDesignDecisionLineage', 'listDesignPatterns', 'getDecisionLabCanvas', 'getDesignRecommendations', 'getDesignPromotions', 'previewDesignPromotion', 'getDesignIntelligenceMetrics']);
207
+ defineCompatibilityMethods(proto, 'scriptDiscovery', ['scanScripts', 'listDiscoveredScriptAssets', 'listDiscoveredCapabilities', 'listWorkflowCandidates', 'promoteWorkflowCandidate']);
208
+ defineCompatibilityMethods(proto, 'notesLab', ['getNotesLabConfig', 'submitNote', 'approveNoteReview']);
209
+ defineCompatibilityMethods(proto, 'searchContacts', ['search', 'getOrganization', 'getContact']);
210
+ defineCompatibilityMethods(proto, 'benchmarks', ['listRecentBenchmarkRuns', 'getBenchmarkRun']);
211
+ defineCompatibilityMethods(proto, 'commitGovernance', ['evaluateCommitGovernance', 'checkGitShipReadiness', 'getCommitGovernanceEvaluation', 'listCommitGovernanceEvaluationsByClaim']);
212
+ defineCompatibilityMethods(proto, 'contextSessions', ['openContextSession', 'getOrientationWindow', 'acknowledgeReminder', 'completeOrientation', 'lockContextSessionClaim', 'getContextSessionGateStatus']);
213
+ defineCompatibilityMethods(proto, 'contextOrientation', ['conductOrientation']);
214
+ defineCompatibilityMethods(proto, 'portfolio', ['getPortfolioStatus', 'getPortfolioBundle', 'getPortfolioClosureReadiness']);
215
+ defineCompatibilityMethods(proto, 'agentCommunications', ['startAgentConnection', 'establishAgentCommunicationChannel', 'runInterAgentMessagingLoop', 'bootstrapCommunication', 'negotiateCommunicationTransfer', 'resolveCommunicationTarget', 'createCommunicationEvidencePacket', 'listCommunicationFrictionTaxonomy', 'recordCommunicationFrictionEvent', 'openCommunicationThread', 'getCommunicationThread', 'listCommunicationInbox', 'getMyInbox', 'verifyMessageSent', 'verifyMessageReceived', 'getMessageDeliveryReceipt', '_sendAgentCommsMessage', 'sendCommunicationMessage', 'acceptCommunicationTransferPacket', 'closeCommunicationTransferPacket', 'getCommunicationTransferHealth', 'acceptCommunicationMessage', 'respondToCommunicationMessage', 'attachCommunicationMessageEvidence', 'createCommunicationHandoff', 'acceptCommunicationHandoff']);
216
+ defineCompatibilityMethods(proto, 'communicationTickets', ['createCrossAgentRemediationTicket']);
217
+ defineCompatibilityMethods(proto, 'refactoringTransfers', ['transferRefactoringBundle']);
218
+ defineCompatibilityMethods(proto, 'externalProjects', ['getExternalProjectStatus', 'getExternalProjectRoadmapSummary', 'getExternalProjectRoadmapActiveItem', 'listExternalProjectOpenTasks', 'getExternalProjectStatusBundle']);
219
+ defineCompatibilityMethods(proto, 'externalAudio', ['createExternalAudioRender', 'getExternalAudioRender', 'downloadExternalAudioRender']);
220
+ defineCompatibilityMethods(proto, 'externalWorkflowArtifacts', ['listExternalWorkflowRunArtifacts', 'downloadExternalWorkflowRunArtifact']);
221
+ }