@lexq/cli 0.1.33 → 0.1.34

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.
@@ -1,30 +1,5 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
 
3
- declare const ValueType: readonly ["STRING", "NUMBER", "BOOLEAN", "LIST_STRING", "LIST_NUMBER"];
4
- type ValueType = (typeof ValueType)[number];
5
- declare const Confidence: readonly ["EXACT", "AMBIGUOUS"];
6
- type Confidence = (typeof Confidence)[number];
7
- declare const SourceKind: readonly ["CONDITION", "ACTION"];
8
- type SourceKind = (typeof SourceKind)[number];
9
-
10
- interface ResponseMeta {
11
- unregisteredFacts?: UnregisteredFact[];
12
- }
13
- interface UnregisteredFact {
14
- key: string;
15
- inferredType: ValueType | null;
16
- confidence: Confidence;
17
- conflict: boolean;
18
- candidateTypes: ValueType[] | null;
19
- suggestedName: string;
20
- sources: UnregisteredFactSource[];
21
- }
22
- interface UnregisteredFactSource {
23
- kind: SourceKind;
24
- field: string;
25
- operator?: string;
26
- }
27
-
28
3
  interface McpToolResult {
29
4
  [key: string]: unknown;
30
5
  content: Array<{
@@ -58,7 +33,7 @@ declare function paginationParams(page?: number, size?: number): Record<string,
58
33
  * so the agent-facing text is identical on every surface. The backend only populates
59
34
  * meta.unregisteredFacts on rule create/update, so this only ever fires there.
60
35
  */
61
- declare function formatUnregisteredFactWarning(meta: ResponseMeta | null | undefined): string | null;
36
+ declare function formatUnregisteredFactWarning(meta: unknown): string | null;
62
37
 
63
38
  /**
64
39
  * Registers all MCP tools on the given server.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexq/cli",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "LexQ CLI — manage policies, simulate rules, and deploy from the terminal. Built for humans and AI agents.",
5
5
  "type": "module",
6
6
  "bin": {