@connexum/agent-standards 0.0.0-stage → 0.1.0-beta.2

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.
@@ -0,0 +1,92 @@
1
+ export type FrameworkKind = 'always' | 'pack' | 'practice';
2
+ export interface Fit {
3
+ industries?: string[];
4
+ dataClasses?: string[];
5
+ dataClassesAbsent?: string[];
6
+ regions?: string[];
7
+ mcp?: boolean;
8
+ }
9
+ export interface Control {
10
+ id: string;
11
+ control: string;
12
+ writesTo: string;
13
+ evidence: string;
14
+ onlyWith?: {
15
+ dataClasses?: string[];
16
+ };
17
+ }
18
+ export interface Framework {
19
+ id: string;
20
+ name: string;
21
+ authority: string;
22
+ kind: FrameworkKind;
23
+ packIds: string[];
24
+ fits?: Fit;
25
+ why?: string;
26
+ notFit?: string;
27
+ controls: Control[];
28
+ }
29
+ export interface Catalogue {
30
+ version: string;
31
+ note: string;
32
+ evidence: Record<string, string>;
33
+ frameworks: Framework[];
34
+ }
35
+ /** What the scanner knows about the agent. Industry, data classes and regions use the catalogue's lower-case keys. */
36
+ export interface AgentProfile {
37
+ agentId?: string;
38
+ industry?: string;
39
+ dataClasses: string[];
40
+ regions: string[];
41
+ tools: string[];
42
+ boundPacks: string[];
43
+ mcp?: boolean;
44
+ }
45
+ /** Facts the runtime supplies, by evidence key: true, false, or unknown (missing or null). */
46
+ export type Evidence = Record<string, boolean | null | undefined>;
47
+ export type Applicability = 'always' | 'installed' | 'recommended' | 'not_applicable';
48
+ export interface FrameworkApplicability {
49
+ framework: string;
50
+ name: string;
51
+ status: Applicability;
52
+ why: string;
53
+ packIds: string[];
54
+ boundPack: string | null;
55
+ }
56
+ export type CheckResult = 'pass' | 'fail' | 'not_checked' | 'not_scored';
57
+ export interface CheckReport {
58
+ id: string;
59
+ framework: string;
60
+ frameworkName: string;
61
+ control: string;
62
+ writesTo: string;
63
+ evidence: string;
64
+ result: CheckResult;
65
+ detail: string;
66
+ }
67
+ export interface FrameworkReport {
68
+ framework: string;
69
+ name: string;
70
+ authority: string;
71
+ status: Applicability;
72
+ scored: boolean;
73
+ why: string;
74
+ pass: number;
75
+ total: number;
76
+ notChecked: number;
77
+ checks: CheckReport[];
78
+ }
79
+ export interface StandardsReport {
80
+ catalogueVersion: string;
81
+ agentId: string | null;
82
+ score: number;
83
+ scoredFrameworks: number;
84
+ frameworks: FrameworkReport[];
85
+ omitted: Array<{
86
+ framework: string;
87
+ name: string;
88
+ why: string;
89
+ }>;
90
+ evidenceMissing: string[];
91
+ }
92
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAA;AAC1D,MAAM,WAAW,GAAG;IAAG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE;AACvI,MAAM,WAAW,OAAO;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE;AACnI,MAAM,WAAW,SAAS;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,C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,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AAC/K,MAAM,WAAW,eAAe;IAAG,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,aAAa,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE;AACpN,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,OAAO,EAAE,KAAK,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAChE,eAAe,EAAE,MAAM,EAAE,CAAA;CAC1B"}
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@connexum/agent-standards",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0-beta.2",
4
+ "private": false,
5
+ "description": "Standards coverage for any agent on any stack: on the first scan and every scan after, score the agent against OWASP LLM, OWASP Agentic and the My-CC runtime always, and against the frameworks whose My-CC pack is bound to it (HIPAA, PCI DSS, GDPR, EU AI Act, Colorado AI Act, SOC 2, ISO/IEC 42001, NIST AI RMF); frameworks that fit the agent's industry, data or regions but are not bound are documented as recommended, not scored; frameworks that do not fit are omitted with the reason. One catalogue JSON drives this package and its Python twin (connexum-agent-standards); a missing fact is 'not checked', never a pass.",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.js" } },
9
+ "scripts": { "build": "tsc", "typecheck": "tsc --noEmit", "test": "npx tsx --test --test-force-exit --test-timeout=120000 tests/*.test.mts" },
10
+ "dependencies": {},
11
+ "devDependencies": { "@types/node": "^20.0.0", "tsx": "^4.19.0", "typescript": "^5.4.0" },
12
+ "engines": { "node": ">=24.0.0" },
13
+ "license": "SEE LICENSE IN ../../LICENSE.md",
14
+ "files": ["dist", "catalogue", "README.md"],
15
+ "publishConfig": { "access": "public" },
16
+ "repository": { "type": "git", "url": "https://github.com/Glasgowlad1/AI-Agents-GS.git", "directory": "packages/agent-standards" }
17
+ }