@vorionsys/shared-constants 1.0.0

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 (46) hide show
  1. package/dist/api-versions.cjs +183 -0
  2. package/dist/api-versions.d.cts +91 -0
  3. package/dist/api-versions.js +46 -0
  4. package/dist/capabilities.cjs +246 -0
  5. package/dist/capabilities.d.cts +55 -0
  6. package/dist/capabilities.js +21 -0
  7. package/dist/chunk-F2R6HBF5.js +253 -0
  8. package/dist/chunk-IKLCEYZT.js +142 -0
  9. package/dist/chunk-JZJPDGG7.js +215 -0
  10. package/dist/chunk-P3VPMVF3.js +223 -0
  11. package/dist/chunk-PHL3CB53.js +159 -0
  12. package/dist/chunk-RZQZEF6Q.js +176 -0
  13. package/dist/chunk-TYCMBQGU.js +353 -0
  14. package/dist/chunk-UDCZKJSQ.js +139 -0
  15. package/dist/domains.cjs +175 -0
  16. package/dist/domains.d.cts +250 -0
  17. package/dist/domains.js +24 -0
  18. package/dist/error-codes.cjs +390 -0
  19. package/dist/error-codes.d.cts +633 -0
  20. package/dist/error-codes.js +32 -0
  21. package/dist/index.cjs +1762 -0
  22. package/dist/index.d.cts +54 -0
  23. package/dist/index.js +198 -0
  24. package/dist/products.cjs +208 -0
  25. package/dist/products.d.cts +80 -0
  26. package/dist/products.js +22 -0
  27. package/dist/rate-limits.cjs +295 -0
  28. package/dist/rate-limits.d.cts +80 -0
  29. package/dist/rate-limits.js +21 -0
  30. package/dist/themes.cjs +251 -0
  31. package/dist/themes.d.cts +85 -0
  32. package/dist/themes.js +14 -0
  33. package/dist/tiers.cjs +194 -0
  34. package/dist/tiers.d.cts +75 -0
  35. package/dist/tiers.js +28 -0
  36. package/package.json +71 -0
  37. package/src/api-versions.ts +250 -0
  38. package/src/capabilities.ts +272 -0
  39. package/src/domains.ts +216 -0
  40. package/src/error-codes.ts +494 -0
  41. package/src/index.ts +206 -0
  42. package/src/products.ts +285 -0
  43. package/src/rate-limits.ts +334 -0
  44. package/src/themes.ts +380 -0
  45. package/src/tiers.ts +239 -0
  46. package/tsconfig.json +25 -0
@@ -0,0 +1,223 @@
1
+ // src/themes.ts
2
+ var ACTIVE_THEME = "midnight_cyan";
3
+ var THEMES = {
4
+ // ═══════════════════════════════════════════════════════════════
5
+ // OPTION 1: MIDNIGHT CYAN — Current look, standardized
6
+ // ═══════════════════════════════════════════════════════════════
7
+ midnight_cyan: {
8
+ name: "Midnight Cyan",
9
+ description: "Developer-native. Terminal-adjacent. The current look, unified.",
10
+ bgPrimary: "#0a0a0f",
11
+ bgSurface: "#111118",
12
+ bgInput: "#0d0d14",
13
+ bgNav: "#111118",
14
+ bgCode: "#0d0d14",
15
+ accent: "#06b6d4",
16
+ accentHover: "#22d3ee",
17
+ accentMuted: "rgba(6, 182, 212, 0.1)",
18
+ accentSubtle: "rgba(6, 182, 212, 0.03)",
19
+ textPrimary: "#e0e0e6",
20
+ textHeading: "#ffffff",
21
+ textSecondary: "#888888",
22
+ textTertiary: "#666666",
23
+ border: "#1e1e2e",
24
+ borderInput: "#2a2a3a",
25
+ borderHover: "rgba(6, 182, 212, 0.4)",
26
+ borderDivider: "rgba(255, 255, 255, 0.05)",
27
+ gradientFrom: "#06b6d4",
28
+ gradientTo: "#2dd4bf",
29
+ scrollTrack: "#0a0a0f",
30
+ scrollThumb: "#333340",
31
+ scrollThumbHover: "#06b6d4",
32
+ selectionBg: "rgba(6, 182, 212, 0.3)",
33
+ success: "#22c55e",
34
+ error: "#ef4444",
35
+ warning: "#f97316",
36
+ info: "#3b82f6",
37
+ layerBasis: "#fbbf24",
38
+ layerIntent: "#60a5fa",
39
+ layerEnforce: "#818cf8",
40
+ layerProof: "#34d399",
41
+ fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
42
+ fontImport: "Inter",
43
+ cardBlur: false,
44
+ buttonText: "#000000"
45
+ },
46
+ // ═══════════════════════════════════════════════════════════════
47
+ // OPTION 2: INDIGO AUTHORITY — Governance-forward, institutional
48
+ // ═══════════════════════════════════════════════════════════════
49
+ indigo_authority: {
50
+ name: "Indigo Authority",
51
+ description: "Institutional. Authoritative. Governance-forward.",
52
+ bgPrimary: "#07070d",
53
+ bgSurface: "#12121f",
54
+ bgInput: "#0c0c18",
55
+ bgNav: "#12121f",
56
+ bgCode: "#0c0c18",
57
+ accent: "#818cf8",
58
+ accentHover: "#a5b4fc",
59
+ accentMuted: "rgba(129, 140, 248, 0.1)",
60
+ accentSubtle: "rgba(129, 140, 248, 0.03)",
61
+ textPrimary: "#dcdce6",
62
+ textHeading: "#ffffff",
63
+ textSecondary: "#8888a0",
64
+ textTertiary: "#666680",
65
+ border: "#1e1e30",
66
+ borderInput: "#2a2a40",
67
+ borderHover: "rgba(129, 140, 248, 0.4)",
68
+ borderDivider: "rgba(255, 255, 255, 0.05)",
69
+ gradientFrom: "#818cf8",
70
+ gradientTo: "#c084fc",
71
+ scrollTrack: "#07070d",
72
+ scrollThumb: "#2a2a40",
73
+ scrollThumbHover: "#818cf8",
74
+ selectionBg: "rgba(129, 140, 248, 0.3)",
75
+ success: "#22c55e",
76
+ error: "#ef4444",
77
+ warning: "#f97316",
78
+ info: "#3b82f6",
79
+ layerBasis: "#fbbf24",
80
+ layerIntent: "#60a5fa",
81
+ layerEnforce: "#818cf8",
82
+ layerProof: "#34d399",
83
+ fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
84
+ fontImport: "Inter",
85
+ cardBlur: false,
86
+ buttonText: "#000000"
87
+ },
88
+ // ═══════════════════════════════════════════════════════════════
89
+ // OPTION 3: OBSIDIAN AMBER — Warm, premium, "gold standard"
90
+ // ═══════════════════════════════════════════════════════════════
91
+ obsidian_amber: {
92
+ name: "Obsidian Amber",
93
+ description: "Premium. Warm. The gold standard of AI governance.",
94
+ bgPrimary: "#0a0a08",
95
+ bgSurface: "#141410",
96
+ bgInput: "#0d0d0a",
97
+ bgNav: "#141410",
98
+ bgCode: "#0d0d0a",
99
+ accent: "#f59e0b",
100
+ accentHover: "#fbbf24",
101
+ accentMuted: "rgba(245, 158, 11, 0.1)",
102
+ accentSubtle: "rgba(245, 158, 11, 0.03)",
103
+ textPrimary: "#e6e0d6",
104
+ textHeading: "#ffffff",
105
+ textSecondary: "#8a8478",
106
+ textTertiary: "#666058",
107
+ border: "#2a2820",
108
+ borderInput: "#3a3830",
109
+ borderHover: "rgba(245, 158, 11, 0.4)",
110
+ borderDivider: "rgba(255, 255, 255, 0.05)",
111
+ gradientFrom: "#f59e0b",
112
+ gradientTo: "#f97316",
113
+ scrollTrack: "#0a0a08",
114
+ scrollThumb: "#3a3830",
115
+ scrollThumbHover: "#f59e0b",
116
+ selectionBg: "rgba(245, 158, 11, 0.3)",
117
+ success: "#22c55e",
118
+ error: "#ef4444",
119
+ warning: "#f97316",
120
+ info: "#3b82f6",
121
+ layerBasis: "#fbbf24",
122
+ layerIntent: "#60a5fa",
123
+ layerEnforce: "#818cf8",
124
+ layerProof: "#34d399",
125
+ fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
126
+ fontImport: "Inter",
127
+ cardBlur: false,
128
+ buttonText: "#000000"
129
+ },
130
+ // ═══════════════════════════════════════════════════════════════
131
+ // OPTION 4: ARCTIC GLASS — Modern SaaS, frosted glass
132
+ // ═══════════════════════════════════════════════════════════════
133
+ arctic_glass: {
134
+ name: "Arctic Glass",
135
+ description: "Modern SaaS. Clean. Frosted glass depth.",
136
+ bgPrimary: "#0c0c14",
137
+ bgSurface: "rgba(255, 255, 255, 0.04)",
138
+ bgInput: "rgba(0, 0, 0, 0.3)",
139
+ bgNav: "rgba(12, 12, 20, 0.8)",
140
+ bgCode: "rgba(0, 0, 0, 0.3)",
141
+ accent: "#38bdf8",
142
+ accentHover: "#7dd3fc",
143
+ accentMuted: "rgba(56, 189, 248, 0.1)",
144
+ accentSubtle: "rgba(56, 189, 248, 0.03)",
145
+ textPrimary: "#e2e8f0",
146
+ textHeading: "#f8fafc",
147
+ textSecondary: "#94a3b8",
148
+ textTertiary: "#64748b",
149
+ border: "rgba(255, 255, 255, 0.08)",
150
+ borderInput: "rgba(255, 255, 255, 0.12)",
151
+ borderHover: "rgba(56, 189, 248, 0.4)",
152
+ borderDivider: "rgba(255, 255, 255, 0.05)",
153
+ gradientFrom: "#38bdf8",
154
+ gradientTo: "#06b6d4",
155
+ scrollTrack: "#0c0c14",
156
+ scrollThumb: "rgba(255, 255, 255, 0.1)",
157
+ scrollThumbHover: "#38bdf8",
158
+ selectionBg: "rgba(56, 189, 248, 0.3)",
159
+ success: "#22c55e",
160
+ error: "#ef4444",
161
+ warning: "#f97316",
162
+ info: "#3b82f6",
163
+ layerBasis: "#fbbf24",
164
+ layerIntent: "#60a5fa",
165
+ layerEnforce: "#818cf8",
166
+ layerProof: "#34d399",
167
+ fontFamily: "'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
168
+ fontImport: "Geist",
169
+ cardBlur: true,
170
+ buttonText: "#000000"
171
+ }
172
+ };
173
+ function getActiveTheme() {
174
+ return THEMES[ACTIVE_THEME];
175
+ }
176
+ function getAllThemeIds() {
177
+ return Object.keys(THEMES);
178
+ }
179
+ function themeToCssVars(themeId = ACTIVE_THEME) {
180
+ const t = THEMES[themeId];
181
+ return `
182
+ --bg-primary: ${t.bgPrimary};
183
+ --bg-surface: ${t.bgSurface};
184
+ --bg-input: ${t.bgInput};
185
+ --bg-nav: ${t.bgNav};
186
+ --bg-code: ${t.bgCode};
187
+ --accent: ${t.accent};
188
+ --accent-hover: ${t.accentHover};
189
+ --accent-muted: ${t.accentMuted};
190
+ --accent-subtle: ${t.accentSubtle};
191
+ --text-primary: ${t.textPrimary};
192
+ --text-heading: ${t.textHeading};
193
+ --text-secondary: ${t.textSecondary};
194
+ --text-tertiary: ${t.textTertiary};
195
+ --border: ${t.border};
196
+ --border-input: ${t.borderInput};
197
+ --border-hover: ${t.borderHover};
198
+ --border-divider: ${t.borderDivider};
199
+ --gradient-from: ${t.gradientFrom};
200
+ --gradient-to: ${t.gradientTo};
201
+ --scroll-track: ${t.scrollTrack};
202
+ --scroll-thumb: ${t.scrollThumb};
203
+ --scroll-thumb-hover: ${t.scrollThumbHover};
204
+ --selection-bg: ${t.selectionBg};
205
+ --success: ${t.success};
206
+ --error: ${t.error};
207
+ --warning: ${t.warning};
208
+ --info: ${t.info};
209
+ --layer-basis: ${t.layerBasis};
210
+ --layer-intent: ${t.layerIntent};
211
+ --layer-enforce: ${t.layerEnforce};
212
+ --layer-proof: ${t.layerProof};
213
+ --btn-text: ${t.buttonText};
214
+ `.trim();
215
+ }
216
+
217
+ export {
218
+ ACTIVE_THEME,
219
+ THEMES,
220
+ getActiveTheme,
221
+ getAllThemeIds,
222
+ themeToCssVars
223
+ };
@@ -0,0 +1,159 @@
1
+ // src/tiers.ts
2
+ var TrustTier = /* @__PURE__ */ ((TrustTier2) => {
3
+ TrustTier2[TrustTier2["T0_SANDBOX"] = 0] = "T0_SANDBOX";
4
+ TrustTier2[TrustTier2["T1_OBSERVED"] = 1] = "T1_OBSERVED";
5
+ TrustTier2[TrustTier2["T2_PROVISIONAL"] = 2] = "T2_PROVISIONAL";
6
+ TrustTier2[TrustTier2["T3_MONITORED"] = 3] = "T3_MONITORED";
7
+ TrustTier2[TrustTier2["T4_STANDARD"] = 4] = "T4_STANDARD";
8
+ TrustTier2[TrustTier2["T5_TRUSTED"] = 5] = "T5_TRUSTED";
9
+ TrustTier2[TrustTier2["T6_CERTIFIED"] = 6] = "T6_CERTIFIED";
10
+ TrustTier2[TrustTier2["T7_AUTONOMOUS"] = 7] = "T7_AUTONOMOUS";
11
+ return TrustTier2;
12
+ })(TrustTier || {});
13
+ var TIER_THRESHOLDS = {
14
+ [0 /* T0_SANDBOX */]: {
15
+ min: 0,
16
+ max: 199,
17
+ name: "Sandbox",
18
+ description: "Isolated, no external access, observation only",
19
+ color: "#78716c",
20
+ textColor: "#ffffff"
21
+ },
22
+ [1 /* T1_OBSERVED */]: {
23
+ min: 200,
24
+ max: 349,
25
+ name: "Observed",
26
+ description: "Read-only, sandboxed execution, monitored",
27
+ color: "#ef4444",
28
+ textColor: "#ffffff"
29
+ },
30
+ [2 /* T2_PROVISIONAL */]: {
31
+ min: 350,
32
+ max: 500,
33
+ name: "Provisional",
34
+ description: "Basic operations, heavy supervision",
35
+ color: "#f97316",
36
+ textColor: "#ffffff"
37
+ },
38
+ [3 /* T3_MONITORED */]: {
39
+ min: 501,
40
+ max: 649,
41
+ name: "Monitored",
42
+ description: "Standard operations with continuous monitoring",
43
+ color: "#eab308",
44
+ textColor: "#000000"
45
+ },
46
+ [4 /* T4_STANDARD */]: {
47
+ min: 650,
48
+ max: 799,
49
+ name: "Standard",
50
+ description: "External API access, policy-governed",
51
+ color: "#22c55e",
52
+ textColor: "#ffffff"
53
+ },
54
+ [5 /* T5_TRUSTED */]: {
55
+ min: 800,
56
+ max: 875,
57
+ name: "Trusted",
58
+ description: "Cross-agent communication, delegated tasks",
59
+ color: "#3b82f6",
60
+ textColor: "#ffffff"
61
+ },
62
+ [6 /* T6_CERTIFIED */]: {
63
+ min: 876,
64
+ max: 950,
65
+ name: "Certified",
66
+ description: "Admin tasks, agent spawning, minimal oversight",
67
+ color: "#8b5cf6",
68
+ textColor: "#ffffff"
69
+ },
70
+ [7 /* T7_AUTONOMOUS */]: {
71
+ min: 951,
72
+ max: 1e3,
73
+ name: "Autonomous",
74
+ description: "Full autonomy, self-governance, strategic only",
75
+ color: "#06b6d4",
76
+ textColor: "#ffffff"
77
+ }
78
+ };
79
+ function scoreToTier(score) {
80
+ if (score < 0 || score > 1e3) {
81
+ throw new Error(`Trust score must be between 0 and 1000, got ${score}`);
82
+ }
83
+ if (score >= 951) return 7 /* T7_AUTONOMOUS */;
84
+ if (score >= 876) return 6 /* T6_CERTIFIED */;
85
+ if (score >= 800) return 5 /* T5_TRUSTED */;
86
+ if (score >= 650) return 4 /* T4_STANDARD */;
87
+ if (score >= 501) return 3 /* T3_MONITORED */;
88
+ if (score >= 350) return 2 /* T2_PROVISIONAL */;
89
+ if (score >= 200) return 1 /* T1_OBSERVED */;
90
+ return 0 /* T0_SANDBOX */;
91
+ }
92
+ function getTierThreshold(tier) {
93
+ return TIER_THRESHOLDS[tier];
94
+ }
95
+ function getTierName(tier) {
96
+ return TIER_THRESHOLDS[tier].name;
97
+ }
98
+ function getTierColor(tier) {
99
+ return TIER_THRESHOLDS[tier].color;
100
+ }
101
+ function getTierMinScore(tier) {
102
+ return TIER_THRESHOLDS[tier].min;
103
+ }
104
+ function getTierMaxScore(tier) {
105
+ return TIER_THRESHOLDS[tier].max;
106
+ }
107
+ function meetsTierRequirement(score, minTier) {
108
+ const actualTier = scoreToTier(score);
109
+ return actualTier >= minTier;
110
+ }
111
+ function getTierCode(tier) {
112
+ return `T${tier}`;
113
+ }
114
+ function parseTier(input) {
115
+ const normalized = input.toUpperCase().trim();
116
+ const tMatch = normalized.match(/^T?(\d)$/);
117
+ if (tMatch) {
118
+ const num = parseInt(tMatch[1], 10);
119
+ if (num >= 0 && num <= 7) {
120
+ return num;
121
+ }
122
+ }
123
+ const nameMap = {
124
+ SANDBOX: 0 /* T0_SANDBOX */,
125
+ OBSERVED: 1 /* T1_OBSERVED */,
126
+ PROVISIONAL: 2 /* T2_PROVISIONAL */,
127
+ MONITORED: 3 /* T3_MONITORED */,
128
+ STANDARD: 4 /* T4_STANDARD */,
129
+ TRUSTED: 5 /* T5_TRUSTED */,
130
+ CERTIFIED: 6 /* T6_CERTIFIED */,
131
+ AUTONOMOUS: 7 /* T7_AUTONOMOUS */
132
+ };
133
+ return nameMap[normalized] ?? null;
134
+ }
135
+ var ALL_TIERS = [
136
+ 0 /* T0_SANDBOX */,
137
+ 1 /* T1_OBSERVED */,
138
+ 2 /* T2_PROVISIONAL */,
139
+ 3 /* T3_MONITORED */,
140
+ 4 /* T4_STANDARD */,
141
+ 5 /* T5_TRUSTED */,
142
+ 6 /* T6_CERTIFIED */,
143
+ 7 /* T7_AUTONOMOUS */
144
+ ];
145
+
146
+ export {
147
+ TrustTier,
148
+ TIER_THRESHOLDS,
149
+ scoreToTier,
150
+ getTierThreshold,
151
+ getTierName,
152
+ getTierColor,
153
+ getTierMinScore,
154
+ getTierMaxScore,
155
+ meetsTierRequirement,
156
+ getTierCode,
157
+ parseTier,
158
+ ALL_TIERS
159
+ };
@@ -0,0 +1,176 @@
1
+ // src/products.ts
2
+ var ProductCategory = /* @__PURE__ */ ((ProductCategory2) => {
3
+ ProductCategory2["OPEN_SOURCE"] = "open_source";
4
+ ProductCategory2["COMMERCIAL"] = "commercial";
5
+ ProductCategory2["DEVELOPER_TOOLS"] = "developer_tools";
6
+ ProductCategory2["EDUCATION"] = "education";
7
+ return ProductCategory2;
8
+ })(ProductCategory || {});
9
+ var ProductStatus = /* @__PURE__ */ ((ProductStatus2) => {
10
+ ProductStatus2["DEVELOPMENT"] = "development";
11
+ ProductStatus2["ALPHA"] = "alpha";
12
+ ProductStatus2["BETA"] = "beta";
13
+ ProductStatus2["GA"] = "ga";
14
+ ProductStatus2["DEPRECATED"] = "deprecated";
15
+ ProductStatus2["EOL"] = "eol";
16
+ return ProductStatus2;
17
+ })(ProductStatus || {});
18
+ var VORION_PRODUCTS = {
19
+ basis: {
20
+ id: "basis",
21
+ name: "BASIS",
22
+ description: "Blockchain Agent Safety & Identity Standard - Open framework for AI agent governance",
23
+ category: "open_source" /* OPEN_SOURCE */,
24
+ status: "ga" /* GA */,
25
+ url: "https://basis.vorion.org",
26
+ docsUrl: "https://basis.vorion.org/docs",
27
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/basis",
28
+ npmPackage: "@vorionsys/basis",
29
+ organization: "vorion",
30
+ version: "1.0.0"
31
+ },
32
+ carId: {
33
+ id: "car-id",
34
+ name: "CAR ID",
35
+ description: "Categorical Agent Registry - Universal agent identification system",
36
+ category: "open_source" /* OPEN_SOURCE */,
37
+ status: "ga" /* GA */,
38
+ url: "https://carid.vorion.org",
39
+ docsUrl: "https://carid.vorion.org/docs",
40
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/car-spec",
41
+ npmPackage: "@vorionsys/car-spec",
42
+ organization: "vorion",
43
+ version: "1.0.0"
44
+ },
45
+ atsf: {
46
+ id: "atsf",
47
+ name: "ATSF",
48
+ description: "Agent Trust & Safety Framework - Comprehensive safety evaluation system",
49
+ category: "open_source" /* OPEN_SOURCE */,
50
+ status: "beta" /* BETA */,
51
+ url: "https://atsf.vorion.org",
52
+ docsUrl: "https://atsf.vorion.org/docs",
53
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/atsf-core",
54
+ npmPackage: "@vorionsys/atsf-core",
55
+ organization: "vorion",
56
+ version: "0.9.0"
57
+ },
58
+ kaizen: {
59
+ id: "kaizen",
60
+ name: "Kaizen",
61
+ description: "Interactive AI Learning Experience - Educational platform for agentic AI",
62
+ category: "education" /* EDUCATION */,
63
+ status: "beta" /* BETA */,
64
+ url: "https://learn.vorion.org",
65
+ docsUrl: "https://learn.vorion.org/docs",
66
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/kaizen",
67
+ organization: "vorion"
68
+ },
69
+ kaizenStudio: {
70
+ id: "kaizen-studio",
71
+ name: "Kaizen Studio",
72
+ description: "Interactive AI learning studio - hands-on agentic AI experiments",
73
+ category: "education" /* EDUCATION */,
74
+ status: "beta" /* BETA */,
75
+ url: "https://kaizen.vorion.org",
76
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/kaizen",
77
+ organization: "vorion"
78
+ },
79
+ proofPlane: {
80
+ id: "proof-plane",
81
+ name: "Proof Plane",
82
+ description: "Cryptographic proof layer for agent attestations and verifiable execution",
83
+ category: "open_source" /* OPEN_SOURCE */,
84
+ status: "beta" /* BETA */,
85
+ url: "https://vorion.org/proof-plane",
86
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/proof-plane",
87
+ npmPackage: "@vorionsys/proof-plane",
88
+ organization: "vorion",
89
+ version: "0.5.0"
90
+ },
91
+ contracts: {
92
+ id: "contracts",
93
+ name: "Vorion Contracts",
94
+ description: "Smart contracts for on-chain agent governance and attestations",
95
+ category: "open_source" /* OPEN_SOURCE */,
96
+ status: "beta" /* BETA */,
97
+ url: "https://vorion.org/contracts",
98
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/contracts",
99
+ npmPackage: "@vorionsys/contracts",
100
+ organization: "vorion"
101
+ }
102
+ };
103
+ var AGENTANCHOR_PRODUCTS = {
104
+ cognigate: {
105
+ id: "cognigate",
106
+ name: "Cognigate",
107
+ description: "AI Governance API - Reference implementation of BASIS runtime",
108
+ category: "commercial" /* COMMERCIAL */,
109
+ status: "ga" /* GA */,
110
+ url: "https://cognigate.dev",
111
+ docsUrl: "https://cognigate.dev/docs",
112
+ npmPackage: "@vorionsys/cognigate",
113
+ organization: "agentanchor",
114
+ version: "1.0.0"
115
+ },
116
+ trust: {
117
+ id: "trust",
118
+ name: "Agent Anchor Trust",
119
+ description: "Trust verification and certification platform for AI agents",
120
+ category: "commercial" /* COMMERCIAL */,
121
+ status: "ga" /* GA */,
122
+ url: "https://trust.agentanchorai.com",
123
+ docsUrl: "https://trust.agentanchorai.com/docs",
124
+ organization: "agentanchor"
125
+ },
126
+ logic: {
127
+ id: "logic",
128
+ name: "Agent Anchor Logic",
129
+ description: "Policy engine and governance logic for enterprise AI",
130
+ category: "commercial" /* COMMERCIAL */,
131
+ status: "beta" /* BETA */,
132
+ url: "https://logic.agentanchorai.com",
133
+ docsUrl: "https://logic.agentanchorai.com/docs",
134
+ organization: "agentanchor"
135
+ },
136
+ platform: {
137
+ id: "platform",
138
+ name: "Agent Anchor Platform",
139
+ description: "Enterprise AI governance dashboard and management console",
140
+ category: "commercial" /* COMMERCIAL */,
141
+ status: "ga" /* GA */,
142
+ url: "https://agentanchorai.com",
143
+ docsUrl: "https://agentanchorai.com/docs",
144
+ organization: "agentanchor"
145
+ }
146
+ };
147
+ var ALL_PRODUCTS = {
148
+ vorion: VORION_PRODUCTS,
149
+ agentAnchor: AGENTANCHOR_PRODUCTS
150
+ };
151
+ function getProduct(productId) {
152
+ return VORION_PRODUCTS[productId] || AGENTANCHOR_PRODUCTS[productId];
153
+ }
154
+ function getProductsByCategory(category) {
155
+ const allProducts = [...Object.values(VORION_PRODUCTS), ...Object.values(AGENTANCHOR_PRODUCTS)];
156
+ return allProducts.filter((p) => p.category === category);
157
+ }
158
+ function getProductsByStatus(status) {
159
+ const allProducts = [...Object.values(VORION_PRODUCTS), ...Object.values(AGENTANCHOR_PRODUCTS)];
160
+ return allProducts.filter((p) => p.status === status);
161
+ }
162
+ function getProductsByOrganization(org) {
163
+ return org === "vorion" ? Object.values(VORION_PRODUCTS) : Object.values(AGENTANCHOR_PRODUCTS);
164
+ }
165
+
166
+ export {
167
+ ProductCategory,
168
+ ProductStatus,
169
+ VORION_PRODUCTS,
170
+ AGENTANCHOR_PRODUCTS,
171
+ ALL_PRODUCTS,
172
+ getProduct,
173
+ getProductsByCategory,
174
+ getProductsByStatus,
175
+ getProductsByOrganization
176
+ };