@bpmsoftwaresolutions/ai-engine-client 1.1.7 → 1.1.8

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/README.md CHANGED
@@ -645,6 +645,11 @@ Engine returns the required gate and next action.
645
645
  | `getSelfOptimizationBacklogPosture({ snapshotKey })` | Backlog posture. |
646
646
  | `getSelfOptimizationPendingHandoffs({ downstreamLane })` | Pending handoffs. |
647
647
 
648
+ ### Governance
649
+ | Method | Description |
650
+ |---|---|
651
+ | `getAntiPatternRules()` | SQL-backed governance anti-pattern rules. |
652
+
648
653
  ### Design Intelligence
649
654
  | Method | Description |
650
655
  |---|---|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
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/index.js CHANGED
@@ -156,6 +156,10 @@ export class AIEngineClient {
156
156
  });
157
157
  }
158
158
 
159
+ async getAntiPatternRules() {
160
+ return this._request('/api/governance/anti-pattern-rules');
161
+ }
162
+
159
163
  async currentCodebaseShapeStatus() {
160
164
  return this._request('/api/operator/current-codebase-shape-status');
161
165
  }