@bpmsoftwaresolutions/ai-engine-client 1.0.0-beta.3 → 1.0.0-beta.5

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.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/package.json +27 -27
  3. package/src/index.js +18 -0
package/README.md CHANGED
@@ -76,6 +76,7 @@ const client = AIEngineClient.fromEnv();
76
76
  | `currentSecurityGovernanceStatus({ environment, topN })` | Security governance findings. |
77
77
  | `currentCodebaseShapeStatus()` | Codebase shape analysis. |
78
78
  | `getLatestMemoryProjection()` | Current SQL memory projection (startup hydration source). |
79
+ | `currentProjectStatus({ projectId })` | Current project status projection from SQL memory. |
79
80
  | `getDashboard()` | Operator dashboard payload. |
80
81
 
81
82
  ### Retrieval Wrapper
@@ -172,6 +173,8 @@ const client = AIEngineClient.fromEnv();
172
173
  | `createProjectCharter({ projectName, objective, businessContext, successCriteria, priority, constraints, inScope, outOfScope, assumptions, linkedWorkflows, testingStrategy, initialContext, requestedBy })` | Charter a project (writes to durable SQL memory). |
173
174
  | `listProjects({ limit, includeInactive, processStatus, charterStatus })` | List projects. |
174
175
  | `getProject(projectId)` | Get project detail. |
176
+ | `getProjectCharterReport(projectId)` | Get the SQL-backed charter report payload for a project. |
177
+ | `getProjectBundle(projectId)` | Get current status, charter report, and roadmap report in one payload. |
175
178
 
176
179
  ### Roadmaps
177
180
  | Method | Description |
@@ -180,6 +183,7 @@ const client = AIEngineClient.fromEnv();
180
183
  | `getProjectRoadmap(projectId)` | Get full roadmap for a project. |
181
184
  | `getProjectRoadmapSummary(projectId)` | Roadmap summary. |
182
185
  | `getProjectRoadmapActiveItem(projectId)` | Current active roadmap item. |
186
+ | `getProjectImplementationRoadmapReport(projectId)` | Get the SQL-backed implementation roadmap report payload. |
183
187
  | `ensureProjectRoadmapTaskSurface(projectId, { requestedBy, assignedTo, createAcceptanceSubtasks })` | Materialize the active roadmap item's parent task and acceptance subtasks. |
184
188
  | `listProjectOpenTasks(projectId)` | Open tasks for a project. |
185
189
  | `getProjectPerformanceMetrics(projectId, { workflowId, workflowRunId, sinceUtc })` | Performance metrics. |
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.0.0-beta.3",
4
- "description": "Thin npm client for the AI Engine operator and retrieval APIs",
5
- "type": "module",
6
- "main": "./src/index.js",
7
- "exports": {
8
- ".": "./src/index.js"
9
- },
10
- "files": [
11
- "src",
12
- "README.md"
13
- ],
14
- "engines": {
15
- "node": ">=18"
16
- },
17
- "keywords": [
18
- "ai-engine",
19
- "sdk",
20
- "client",
21
- "retrieval",
22
- "workflow"
23
- ],
24
- "license": "UNLICENSED",
25
- "publishConfig": {
26
- "access": "public"
27
- }
1
+ {
2
+ "name": "@bpmsoftwaresolutions/ai-engine-client",
3
+ "version": "1.0.0-beta.5",
4
+ "description": "Thin npm client for the AI Engine operator and retrieval APIs",
5
+ "type": "module",
6
+ "main": "./src/index.js",
7
+ "exports": {
8
+ ".": "./src/index.js"
9
+ },
10
+ "files": [
11
+ "src",
12
+ "README.md"
13
+ ],
14
+ "engines": {
15
+ "node": ">=18"
16
+ },
17
+ "keywords": [
18
+ "ai-engine",
19
+ "sdk",
20
+ "client",
21
+ "retrieval",
22
+ "workflow"
23
+ ],
24
+ "license": "UNLICENSED",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ }
28
28
  }
package/src/index.js CHANGED
@@ -80,6 +80,12 @@ export class AIEngineClient {
80
80
  return this._request('/api/operator/latest-memory-projection');
81
81
  }
82
82
 
83
+ async currentProjectStatus({ projectId } = {}) {
84
+ return this._request('/api/operator/current-project-status', {
85
+ query: { project_id: projectId },
86
+ });
87
+ }
88
+
83
89
  async getDashboard() {
84
90
  return this._request('/api/dashboard');
85
91
  }
@@ -472,6 +478,14 @@ export class AIEngineClient {
472
478
  return this._request(`/api/operator/projects/${projectId}`);
473
479
  }
474
480
 
481
+ async getProjectCharterReport(projectId) {
482
+ return this._request(`/api/operator/projects/${projectId}/charter/report`);
483
+ }
484
+
485
+ async getProjectBundle(projectId) {
486
+ return this._request(`/api/operator/projects/${projectId}/bundle`);
487
+ }
488
+
475
489
  // ─── Roadmaps ──────────────────────────────────────────────────────────────
476
490
 
477
491
  async listProjectRoadmaps({ includeInactive } = {}) {
@@ -492,6 +506,10 @@ export class AIEngineClient {
492
506
  return this._request(`/api/operator/projects/${projectId}/implementation-roadmap/active-item`);
493
507
  }
494
508
 
509
+ async getProjectImplementationRoadmapReport(projectId) {
510
+ return this._request(`/api/operator/projects/${projectId}/implementation-roadmap/report`);
511
+ }
512
+
495
513
  async ensureProjectRoadmapTaskSurface(projectId, {
496
514
  requestedBy,
497
515
  assignedTo,