@bpmsoftwaresolutions/ai-engine-client 1.1.73 → 1.1.74
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 +16 -44
- package/src/domains/actions.js +5 -0
- package/src/domains/database.js +14 -0
- package/src/domains/design-intelligence.js +16 -0
- package/src/domains/execution-telemetry.js +8 -0
- package/src/domains/loga.js +13 -0
- package/src/domains/projections.js +13 -0
- package/src/domains/reports.js +5 -0
- package/src/domains/scripts.js +8 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -2,19 +2,26 @@ import { AI_ENGINE_CLIENT_CAPABILITIES, GOVERNED_MUTATION_REQUIRED_CAPABILITIES,
|
|
|
2
2
|
import { AGENT_COMMUNICATION_CONTRACT_VERSION, AGENT_COMMUNICATION_MESSAGE_KINDS, AGENT_COMMUNICATION_RECIPIENT_MODES, AGENT_COMMUNICATION_THREAD_TYPES, AGENT_COMMUNICATION_TRANSFER_KINDS, AGENT_COMMUNICATION_TRANSFER_LIFECYCLE_STATES, AGENT_COMMUNICATION_TRANSFER_MODES, AGENT_COMMUNICATION_TRANSFER_RECEIPT_TYPES } from './constants/agent-communications.js';
|
|
3
3
|
import { AI_ENGINE_CLIENT_VERSION, DEFAULT_TIMEOUT_MS } from './constants/client.js';
|
|
4
4
|
import { LOGA_CONTRACT, LOGA_INTERACTION_CONTRACT, LOGA_NAVIGATION_CONTRACT, LOGA_PROJECTION_WORKFLOW } from './constants/loga.js';
|
|
5
|
+
import { createActionsDomain } from './domains/actions.js';
|
|
5
6
|
import { createBenchmarksDomain } from './domains/benchmarks.js';
|
|
6
7
|
import { createCapabilitiesDomain } from './domains/capabilities.js';
|
|
8
|
+
import { createDatabaseDomain } from './domains/database.js';
|
|
7
9
|
import { createContextAssemblyDomain } from './domains/context-assembly.js';
|
|
10
|
+
import { createDesignIntelligenceDomain } from './domains/design-intelligence.js';
|
|
11
|
+
import { createExecutionTelemetryDomain } from './domains/execution-telemetry.js';
|
|
8
12
|
import { createImplementationTasksDomain } from './domains/implementation-tasks.js';
|
|
9
13
|
import { createCurrentProjectDomain } from './domains/operator/current-project.js';
|
|
10
|
-
import { createDatabaseBackupsDomain } from './domains/database/backups.js';
|
|
11
14
|
import { createGatewayDomain } from './domains/gateway.js';
|
|
12
15
|
import { createHealthDomain } from './domains/health.js';
|
|
16
|
+
import { createLogaDomain } from './domains/loga.js';
|
|
13
17
|
import { createNotesLabDomain } from './domains/notes-lab.js';
|
|
18
|
+
import { createProjectionsDomain } from './domains/projections.js';
|
|
19
|
+
import { createReportsDomain } from './domains/reports.js';
|
|
14
20
|
import { createPerformanceDomain } from './domains/performance.js';
|
|
15
21
|
import { createRepoDomain } from './domains/repo.js';
|
|
16
22
|
import { createOperatorStatusDomain } from './domains/operator-status.js';
|
|
17
23
|
import { createScriptDiscoveryDomain } from './domains/script-discovery.js';
|
|
24
|
+
import { createScriptsDomain } from './domains/scripts.js';
|
|
18
25
|
import { createRetrievalManagementDomain } from './domains/retrieval-management.js';
|
|
19
26
|
import { createRetrievalWrapperDomain } from './domains/retrieval-wrapper.js';
|
|
20
27
|
import { createSelfLearningDomain } from './domains/self-learning.js';
|
|
@@ -359,14 +366,14 @@ export class AIEngineClient {
|
|
|
359
366
|
this.operator = {
|
|
360
367
|
currentProject: createCurrentProjectDomain(this),
|
|
361
368
|
};
|
|
362
|
-
this.database =
|
|
363
|
-
backups: createDatabaseBackupsDomain(this),
|
|
364
|
-
};
|
|
369
|
+
this.database = createDatabaseDomain(this);
|
|
365
370
|
this.implementationTasks = createImplementationTasksDomain(this);
|
|
366
371
|
this.skills = createSkillsDomain(this);
|
|
367
372
|
this.skillGovernance = createSkillGovernanceDomain(this);
|
|
368
373
|
this.toolRegistry = createToolRegistryDomain(this);
|
|
369
374
|
this.contextAssembly = createContextAssemblyDomain(this);
|
|
375
|
+
this.designIntelligence = createDesignIntelligenceDomain(this);
|
|
376
|
+
this.executionTelemetry = createExecutionTelemetryDomain(this);
|
|
370
377
|
this.performance = createPerformanceDomain(this);
|
|
371
378
|
this.retrievalWrapper = createRetrievalWrapperDomain(this);
|
|
372
379
|
this.repo = createRepoDomain(this);
|
|
@@ -378,43 +385,10 @@ export class AIEngineClient {
|
|
|
378
385
|
this.scriptDiscovery = createScriptDiscoveryDomain(this);
|
|
379
386
|
this.searchContacts = createSearchContactsDomain(this);
|
|
380
387
|
this.notesLab = createNotesLabDomain(this);
|
|
381
|
-
this.loga =
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
appendUxRemediationTicketNote: (remediationId, payload) => this.appendUxRemediationTicketNote(remediationId, payload),
|
|
386
|
-
listUxRemediationTicketNotes: (remediationId) => this.listUxRemediationTicketNotes(remediationId),
|
|
387
|
-
promoteUxGateRemediationImplementationCandidate: (remediationId, payload) =>
|
|
388
|
-
this.promoteUxGateRemediationImplementationCandidate(remediationId, payload),
|
|
389
|
-
getUxGateRemediationProjection: (remediationId) => this.getLogaUxGateRemediationProjection(remediationId),
|
|
390
|
-
getGeneratedExecutionUsabilityProjection: (query) => this.getLogaGeneratedExecutionUsabilityProjection(query),
|
|
391
|
-
};
|
|
392
|
-
this.executionTelemetry = {
|
|
393
|
-
getCurrent: () => this.getExecutionTelemetryCurrent(),
|
|
394
|
-
listProcessRuns: (query) => this.listExecutionProcessRuns(query),
|
|
395
|
-
getProcessRun: (processRunId) => this.getExecutionProcessRun(processRunId),
|
|
396
|
-
getGeneratedExecutionUsability: (query) => this.getGeneratedExecutionUsability(query),
|
|
397
|
-
};
|
|
398
|
-
this.scripts = {
|
|
399
|
-
generate: (payload) => this.generateScript(payload),
|
|
400
|
-
render: (scriptId) => this.renderScript(scriptId),
|
|
401
|
-
submitArtifact: (scriptId, payload) => this.submitScriptArtifact(scriptId, payload),
|
|
402
|
-
getRunEvidence: (query) => this.getScriptRunEvidence(query),
|
|
403
|
-
};
|
|
404
|
-
this.reports = {
|
|
405
|
-
run: (request) => this.runReportDefinition(request),
|
|
406
|
-
};
|
|
407
|
-
this.projections = {
|
|
408
|
-
render: (request) => this.renderProjection(request),
|
|
409
|
-
getTransferHomeProjection: () => this.getLogaTransferHomeProjection(),
|
|
410
|
-
getTransferInboxProjection: (query) => this.getLogaTransferInboxProjection(query),
|
|
411
|
-
getTransferPacketProjection: (workTransferPacketId) => this.getLogaTransferPacketProjection(workTransferPacketId),
|
|
412
|
-
getTransferChannelProjection: (transferChannelId) => this.getTransferChannelProjection(transferChannelId),
|
|
413
|
-
getTransferNegotiationEventsProjection: (query) => this.getLogaTransferNegotiationEventsProjection(query),
|
|
414
|
-
getTransferFrictionLaneProjection: (query) => this.getLogaTransferFrictionLaneProjection(query),
|
|
415
|
-
getTransferReceiptsProjection: (query) => this.getLogaTransferReceiptsProjection(query),
|
|
416
|
-
getTransferClosureReviewProjection: (workTransferPacketId) => this.getLogaTransferClosureReviewProjection(workTransferPacketId),
|
|
417
|
-
};
|
|
388
|
+
this.loga = createLogaDomain(this);
|
|
389
|
+
this.scripts = createScriptsDomain(this);
|
|
390
|
+
this.reports = createReportsDomain(this);
|
|
391
|
+
this.projections = createProjectionsDomain(this);
|
|
418
392
|
this.warehouse = {
|
|
419
393
|
registerModernizationAsset: (request) => this.registerModernizationAsset(request),
|
|
420
394
|
classifyModernizationAsset: (request) => this.classifyModernizationAsset(request),
|
|
@@ -424,9 +398,7 @@ export class AIEngineClient {
|
|
|
424
398
|
getModernizationWrapperEvidence: (request) => this.getModernizationWrapperEvidence(request),
|
|
425
399
|
decideModernizationGate: (request) => this.decideModernizationGate(request),
|
|
426
400
|
};
|
|
427
|
-
this.actions =
|
|
428
|
-
submit: (request) => this.submitActionIntent(request),
|
|
429
|
-
};
|
|
401
|
+
this.actions = createActionsDomain(this);
|
|
430
402
|
this.agentComms = {
|
|
431
403
|
openThread: (request) => this.openCommunicationThread(request),
|
|
432
404
|
getThread: (threadId) => this.getCommunicationThread(threadId),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createDatabaseBackupsDomain } from './database/backups.js';
|
|
2
|
+
|
|
3
|
+
export function createDatabaseDomain(client) {
|
|
4
|
+
return {
|
|
5
|
+
createDatabaseBackup: (request) => client.createDatabaseBackup(request),
|
|
6
|
+
listDatabaseBackups: (request) => client.listDatabaseBackups(request),
|
|
7
|
+
getDatabaseBackup: (request) => client.getDatabaseBackup(request),
|
|
8
|
+
listDatabaseBackupOperations: (request) => client.listDatabaseBackupOperations(request),
|
|
9
|
+
runAzureSqlBacpacBackup: (request) => client.runAzureSqlBacpacBackup(request),
|
|
10
|
+
listAzureSqlBacpacBackups: (request) => client.listAzureSqlBacpacBackups(request),
|
|
11
|
+
listAzureSqlBacpacBackupOperations: (request) => client.listAzureSqlBacpacBackupOperations(request),
|
|
12
|
+
backups: createDatabaseBackupsDomain(client),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function createDesignIntelligenceDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
getDesignIntelligenceDashboard: () => client.getDesignIntelligenceDashboard(),
|
|
4
|
+
listDesignDecisions: () => client.listDesignDecisions(),
|
|
5
|
+
getDesignDecision: (decisionId) => client.getDesignDecision(decisionId),
|
|
6
|
+
getDesignDecisionVariants: (decisionId) => client.getDesignDecisionVariants(decisionId),
|
|
7
|
+
getDesignDecisionCritique: (decisionId) => client.getDesignDecisionCritique(decisionId),
|
|
8
|
+
getDesignDecisionLineage: (decisionId) => client.getDesignDecisionLineage(decisionId),
|
|
9
|
+
listDesignPatterns: () => client.listDesignPatterns(),
|
|
10
|
+
getDecisionLabCanvas: () => client.getDecisionLabCanvas(),
|
|
11
|
+
getDesignRecommendations: () => client.getDesignRecommendations(),
|
|
12
|
+
getDesignPromotions: () => client.getDesignPromotions(),
|
|
13
|
+
previewDesignPromotion: (body) => client.previewDesignPromotion(body),
|
|
14
|
+
getDesignIntelligenceMetrics: () => client.getDesignIntelligenceMetrics(),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function createExecutionTelemetryDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
getCurrent: () => client.getExecutionTelemetryCurrent(),
|
|
4
|
+
listProcessRuns: (request) => client.listExecutionProcessRuns(request),
|
|
5
|
+
getProcessRun: (processRunId) => client.getExecutionProcessRun(processRunId),
|
|
6
|
+
getGeneratedExecutionUsability: (request) => client.getGeneratedExecutionUsability(request),
|
|
7
|
+
};
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function createLogaDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
submitUxGateRemediation: (payload) => client.submitUxGateRemediation(payload),
|
|
4
|
+
listUxGateRemediations: (query) => client.listUxGateRemediations(query),
|
|
5
|
+
getUxGateRemediation: (remediationId) => client.getUxGateRemediation(remediationId),
|
|
6
|
+
appendUxRemediationTicketNote: (remediationId, payload) => client.appendUxRemediationTicketNote(remediationId, payload),
|
|
7
|
+
listUxRemediationTicketNotes: (remediationId) => client.listUxRemediationTicketNotes(remediationId),
|
|
8
|
+
promoteUxGateRemediationImplementationCandidate: (remediationId, payload) =>
|
|
9
|
+
client.promoteUxGateRemediationImplementationCandidate(remediationId, payload),
|
|
10
|
+
getUxGateRemediationProjection: (remediationId) => client.getLogaUxGateRemediationProjection(remediationId),
|
|
11
|
+
getGeneratedExecutionUsabilityProjection: (query) => client.getLogaGeneratedExecutionUsabilityProjection(query),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function createProjectionsDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
render: (request) => client.renderProjection(request),
|
|
4
|
+
getTransferHomeProjection: () => client.getLogaTransferHomeProjection(),
|
|
5
|
+
getTransferInboxProjection: (query) => client.getLogaTransferInboxProjection(query),
|
|
6
|
+
getTransferPacketProjection: (workTransferPacketId) => client.getLogaTransferPacketProjection(workTransferPacketId),
|
|
7
|
+
getTransferChannelProjection: (transferChannelId) => client.getTransferChannelProjection(transferChannelId),
|
|
8
|
+
getTransferNegotiationEventsProjection: (query) => client.getLogaTransferNegotiationEventsProjection(query),
|
|
9
|
+
getTransferFrictionLaneProjection: (query) => client.getLogaTransferFrictionLaneProjection(query),
|
|
10
|
+
getTransferReceiptsProjection: (query) => client.getLogaTransferReceiptsProjection(query),
|
|
11
|
+
getTransferClosureReviewProjection: (workTransferPacketId) => client.getLogaTransferClosureReviewProjection(workTransferPacketId),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function createScriptsDomain(client) {
|
|
2
|
+
return {
|
|
3
|
+
generate: (payload) => client.generateScript(payload),
|
|
4
|
+
render: (scriptId) => client.renderScript(scriptId),
|
|
5
|
+
submitArtifact: (scriptId, payload) => client.submitScriptArtifact(scriptId, payload),
|
|
6
|
+
getRunEvidence: (query) => client.getScriptRunEvidence(query),
|
|
7
|
+
};
|
|
8
|
+
}
|
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.74';
|
|
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 {
|