@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,54 @@
1
+ export { ALL_TIERS, TIER_THRESHOLDS, TierThreshold, TrustTier, TrustTierCode, TrustTierName, getTierCode, getTierColor, getTierMaxScore, getTierMinScore, getTierName, getTierThreshold, meetsTierRequirement, parseTier, scoreToTier } from './tiers.cjs';
2
+ export { AGENTANCHOR_DOMAINS, AGENTANCHOR_EMAILS, ALL_DOMAINS, API_ENDPOINTS, AgentAnchorDomain, COGNIGATE_DOMAINS, CognigateDomain, DOMAIN_ALIASES, GITHUB, NPM_PACKAGES, VORION_DOMAINS, VORION_EMAILS, VorionDomain } from './domains.cjs';
3
+ export { CAPABILITIES, CapabilityCategory, CapabilityDefinition, getAllCapabilityCodes, getCapabilitiesByCategory, getCapabilitiesForTier, getCapability, getCapabilityMinTier, isCapabilityAvailable } from './capabilities.cjs';
4
+ export { AGENTANCHOR_PRODUCTS, ALL_PRODUCTS, ProductCategory, ProductDefinition, ProductStatus, VORION_PRODUCTS, getProduct, getProductsByCategory, getProductsByOrganization, getProductsByStatus } from './products.cjs';
5
+ export { QuotaConfig, RATE_LIMITS, RateLimitConfig, TIER_QUOTAS, formatRateLimit, getMinTierForLimits, getQuota, getRateLimits, isUnlimited, wouldExceedLimit } from './rate-limits.cjs';
6
+ export { AUTH_ERRORS, ERROR_CODES, EXTERNAL_ERRORS, ErrorCategory, ErrorCode, ErrorDefinition, NOT_FOUND_ERRORS, RATE_LIMIT_ERRORS, SERVER_ERRORS, TRUST_ERRORS, VALIDATION_ERRORS, createErrorResponse, formatErrorMessage, getErrorByCode, getErrorsByCategory, getRetryableErrors } from './error-codes.cjs';
7
+ export { API_VERSIONS, ApiVersionDefinition, BASIS_CURRENT_VERSION, BASIS_SPEC_VERSION, BASIS_VERSIONS, CAR_SPEC_CURRENT_VERSION, CAR_SPEC_VERSIONS, COGNIGATE_CURRENT_VERSION, COGNIGATE_DEFAULT_VERSION, COGNIGATE_VERSIONS, LOGIC_API_VERSIONS, LOGIC_CURRENT_VERSION, TRUST_API_VERSIONS, TRUST_CURRENT_VERSION, VERSION_HEADERS, VersionStatus, buildApiUrl, getCurrentVersion, getStableVersions, getVersionDefinition, isVersionDeprecated, isVersionSupported } from './api-versions.cjs';
8
+ export { ACTIVE_THEME, THEMES, ThemeId, ThemeTokens, getActiveTheme, getAllThemeIds, themeToCssVars } from './themes.cjs';
9
+
10
+ /**
11
+ * @vorionsys/shared-constants
12
+ *
13
+ * Single source of truth for the Vorion ecosystem
14
+ *
15
+ * This package provides shared constants, types, and helper functions
16
+ * that ensure consistency across all Vorion products and sites:
17
+ *
18
+ * - Trust tiers and thresholds (T0-T7)
19
+ * - Domain and URL configuration
20
+ * - Capability definitions
21
+ *
22
+ * @example
23
+ * ```typescript
24
+ * import {
25
+ * TrustTier,
26
+ * TIER_THRESHOLDS,
27
+ * scoreToTier,
28
+ * API_ENDPOINTS,
29
+ * CAPABILITIES,
30
+ * } from '@vorionsys/shared-constants';
31
+ *
32
+ * // Get tier from score
33
+ * const tier = scoreToTier(750); // TrustTier.T4_STANDARD
34
+ *
35
+ * // Get tier info
36
+ * const info = TIER_THRESHOLDS[TrustTier.T4_STANDARD];
37
+ * console.log(info.name); // "Standard"
38
+ * console.log(info.min, info.max); // 650, 799
39
+ *
40
+ * // Get API endpoint
41
+ * const apiUrl = API_ENDPOINTS.cognigate.production;
42
+ * // "https://cognigate.dev/v1"
43
+ * ```
44
+ *
45
+ * @see https://basis.vorion.org
46
+ * @see https://vorion.org
47
+ */
48
+
49
+ /** Package version */
50
+ declare const VERSION = "1.0.0";
51
+ /** Last updated date */
52
+ declare const LAST_UPDATED = "2026-02-04";
53
+
54
+ export { LAST_UPDATED, VERSION };
package/dist/index.js ADDED
@@ -0,0 +1,198 @@
1
+ import {
2
+ API_VERSIONS,
3
+ BASIS_CURRENT_VERSION,
4
+ BASIS_SPEC_VERSION,
5
+ BASIS_VERSIONS,
6
+ CAR_SPEC_CURRENT_VERSION,
7
+ CAR_SPEC_VERSIONS,
8
+ COGNIGATE_CURRENT_VERSION,
9
+ COGNIGATE_DEFAULT_VERSION,
10
+ COGNIGATE_VERSIONS,
11
+ LOGIC_API_VERSIONS,
12
+ LOGIC_CURRENT_VERSION,
13
+ TRUST_API_VERSIONS,
14
+ TRUST_CURRENT_VERSION,
15
+ VERSION_HEADERS,
16
+ VersionStatus,
17
+ buildApiUrl,
18
+ getCurrentVersion,
19
+ getStableVersions,
20
+ getVersionDefinition,
21
+ isVersionDeprecated,
22
+ isVersionSupported
23
+ } from "./chunk-UDCZKJSQ.js";
24
+ import {
25
+ CAPABILITIES,
26
+ CapabilityCategory,
27
+ getAllCapabilityCodes,
28
+ getCapabilitiesByCategory,
29
+ getCapabilitiesForTier,
30
+ getCapability,
31
+ getCapabilityMinTier,
32
+ isCapabilityAvailable
33
+ } from "./chunk-JZJPDGG7.js";
34
+ import {
35
+ AGENTANCHOR_DOMAINS,
36
+ AGENTANCHOR_EMAILS,
37
+ ALL_DOMAINS,
38
+ API_ENDPOINTS,
39
+ COGNIGATE_DOMAINS,
40
+ DOMAIN_ALIASES,
41
+ GITHUB,
42
+ NPM_PACKAGES,
43
+ VORION_DOMAINS,
44
+ VORION_EMAILS
45
+ } from "./chunk-IKLCEYZT.js";
46
+ import {
47
+ AUTH_ERRORS,
48
+ ERROR_CODES,
49
+ EXTERNAL_ERRORS,
50
+ ErrorCategory,
51
+ NOT_FOUND_ERRORS,
52
+ RATE_LIMIT_ERRORS,
53
+ SERVER_ERRORS,
54
+ TRUST_ERRORS,
55
+ VALIDATION_ERRORS,
56
+ createErrorResponse,
57
+ formatErrorMessage,
58
+ getErrorByCode,
59
+ getErrorsByCategory,
60
+ getRetryableErrors
61
+ } from "./chunk-TYCMBQGU.js";
62
+ import {
63
+ AGENTANCHOR_PRODUCTS,
64
+ ALL_PRODUCTS,
65
+ ProductCategory,
66
+ ProductStatus,
67
+ VORION_PRODUCTS,
68
+ getProduct,
69
+ getProductsByCategory,
70
+ getProductsByOrganization,
71
+ getProductsByStatus
72
+ } from "./chunk-RZQZEF6Q.js";
73
+ import {
74
+ RATE_LIMITS,
75
+ TIER_QUOTAS,
76
+ formatRateLimit,
77
+ getMinTierForLimits,
78
+ getQuota,
79
+ getRateLimits,
80
+ isUnlimited,
81
+ wouldExceedLimit
82
+ } from "./chunk-F2R6HBF5.js";
83
+ import {
84
+ ALL_TIERS,
85
+ TIER_THRESHOLDS,
86
+ TrustTier,
87
+ getTierCode,
88
+ getTierColor,
89
+ getTierMaxScore,
90
+ getTierMinScore,
91
+ getTierName,
92
+ getTierThreshold,
93
+ meetsTierRequirement,
94
+ parseTier,
95
+ scoreToTier
96
+ } from "./chunk-PHL3CB53.js";
97
+ import {
98
+ ACTIVE_THEME,
99
+ THEMES,
100
+ getActiveTheme,
101
+ getAllThemeIds,
102
+ themeToCssVars
103
+ } from "./chunk-P3VPMVF3.js";
104
+
105
+ // src/index.ts
106
+ var VERSION = "1.0.0";
107
+ var LAST_UPDATED = "2026-02-04";
108
+ export {
109
+ ACTIVE_THEME,
110
+ AGENTANCHOR_DOMAINS,
111
+ AGENTANCHOR_EMAILS,
112
+ AGENTANCHOR_PRODUCTS,
113
+ ALL_DOMAINS,
114
+ ALL_PRODUCTS,
115
+ ALL_TIERS,
116
+ API_ENDPOINTS,
117
+ API_VERSIONS,
118
+ AUTH_ERRORS,
119
+ BASIS_CURRENT_VERSION,
120
+ BASIS_SPEC_VERSION,
121
+ BASIS_VERSIONS,
122
+ CAPABILITIES,
123
+ CAR_SPEC_CURRENT_VERSION,
124
+ CAR_SPEC_VERSIONS,
125
+ COGNIGATE_CURRENT_VERSION,
126
+ COGNIGATE_DEFAULT_VERSION,
127
+ COGNIGATE_DOMAINS,
128
+ COGNIGATE_VERSIONS,
129
+ CapabilityCategory,
130
+ DOMAIN_ALIASES,
131
+ ERROR_CODES,
132
+ EXTERNAL_ERRORS,
133
+ ErrorCategory,
134
+ GITHUB,
135
+ LAST_UPDATED,
136
+ LOGIC_API_VERSIONS,
137
+ LOGIC_CURRENT_VERSION,
138
+ NOT_FOUND_ERRORS,
139
+ NPM_PACKAGES,
140
+ ProductCategory,
141
+ ProductStatus,
142
+ RATE_LIMITS,
143
+ RATE_LIMIT_ERRORS,
144
+ SERVER_ERRORS,
145
+ THEMES,
146
+ TIER_QUOTAS,
147
+ TIER_THRESHOLDS,
148
+ TRUST_API_VERSIONS,
149
+ TRUST_CURRENT_VERSION,
150
+ TRUST_ERRORS,
151
+ TrustTier,
152
+ VALIDATION_ERRORS,
153
+ VERSION,
154
+ VERSION_HEADERS,
155
+ VORION_DOMAINS,
156
+ VORION_EMAILS,
157
+ VORION_PRODUCTS,
158
+ VersionStatus,
159
+ buildApiUrl,
160
+ createErrorResponse,
161
+ formatErrorMessage,
162
+ formatRateLimit,
163
+ getActiveTheme,
164
+ getAllCapabilityCodes,
165
+ getAllThemeIds,
166
+ getCapabilitiesByCategory,
167
+ getCapabilitiesForTier,
168
+ getCapability,
169
+ getCapabilityMinTier,
170
+ getCurrentVersion,
171
+ getErrorByCode,
172
+ getErrorsByCategory,
173
+ getMinTierForLimits,
174
+ getProduct,
175
+ getProductsByCategory,
176
+ getProductsByOrganization,
177
+ getProductsByStatus,
178
+ getQuota,
179
+ getRateLimits,
180
+ getRetryableErrors,
181
+ getStableVersions,
182
+ getTierCode,
183
+ getTierColor,
184
+ getTierMaxScore,
185
+ getTierMinScore,
186
+ getTierName,
187
+ getTierThreshold,
188
+ getVersionDefinition,
189
+ isCapabilityAvailable,
190
+ isUnlimited,
191
+ isVersionDeprecated,
192
+ isVersionSupported,
193
+ meetsTierRequirement,
194
+ parseTier,
195
+ scoreToTier,
196
+ themeToCssVars,
197
+ wouldExceedLimit
198
+ };
@@ -0,0 +1,208 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/products.ts
21
+ var products_exports = {};
22
+ __export(products_exports, {
23
+ AGENTANCHOR_PRODUCTS: () => AGENTANCHOR_PRODUCTS,
24
+ ALL_PRODUCTS: () => ALL_PRODUCTS,
25
+ ProductCategory: () => ProductCategory,
26
+ ProductStatus: () => ProductStatus,
27
+ VORION_PRODUCTS: () => VORION_PRODUCTS,
28
+ getProduct: () => getProduct,
29
+ getProductsByCategory: () => getProductsByCategory,
30
+ getProductsByOrganization: () => getProductsByOrganization,
31
+ getProductsByStatus: () => getProductsByStatus
32
+ });
33
+ module.exports = __toCommonJS(products_exports);
34
+ var ProductCategory = /* @__PURE__ */ ((ProductCategory2) => {
35
+ ProductCategory2["OPEN_SOURCE"] = "open_source";
36
+ ProductCategory2["COMMERCIAL"] = "commercial";
37
+ ProductCategory2["DEVELOPER_TOOLS"] = "developer_tools";
38
+ ProductCategory2["EDUCATION"] = "education";
39
+ return ProductCategory2;
40
+ })(ProductCategory || {});
41
+ var ProductStatus = /* @__PURE__ */ ((ProductStatus2) => {
42
+ ProductStatus2["DEVELOPMENT"] = "development";
43
+ ProductStatus2["ALPHA"] = "alpha";
44
+ ProductStatus2["BETA"] = "beta";
45
+ ProductStatus2["GA"] = "ga";
46
+ ProductStatus2["DEPRECATED"] = "deprecated";
47
+ ProductStatus2["EOL"] = "eol";
48
+ return ProductStatus2;
49
+ })(ProductStatus || {});
50
+ var VORION_PRODUCTS = {
51
+ basis: {
52
+ id: "basis",
53
+ name: "BASIS",
54
+ description: "Blockchain Agent Safety & Identity Standard - Open framework for AI agent governance",
55
+ category: "open_source" /* OPEN_SOURCE */,
56
+ status: "ga" /* GA */,
57
+ url: "https://basis.vorion.org",
58
+ docsUrl: "https://basis.vorion.org/docs",
59
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/basis",
60
+ npmPackage: "@vorionsys/basis",
61
+ organization: "vorion",
62
+ version: "1.0.0"
63
+ },
64
+ carId: {
65
+ id: "car-id",
66
+ name: "CAR ID",
67
+ description: "Categorical Agent Registry - Universal agent identification system",
68
+ category: "open_source" /* OPEN_SOURCE */,
69
+ status: "ga" /* GA */,
70
+ url: "https://carid.vorion.org",
71
+ docsUrl: "https://carid.vorion.org/docs",
72
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/car-spec",
73
+ npmPackage: "@vorionsys/car-spec",
74
+ organization: "vorion",
75
+ version: "1.0.0"
76
+ },
77
+ atsf: {
78
+ id: "atsf",
79
+ name: "ATSF",
80
+ description: "Agent Trust & Safety Framework - Comprehensive safety evaluation system",
81
+ category: "open_source" /* OPEN_SOURCE */,
82
+ status: "beta" /* BETA */,
83
+ url: "https://atsf.vorion.org",
84
+ docsUrl: "https://atsf.vorion.org/docs",
85
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/atsf-core",
86
+ npmPackage: "@vorionsys/atsf-core",
87
+ organization: "vorion",
88
+ version: "0.9.0"
89
+ },
90
+ kaizen: {
91
+ id: "kaizen",
92
+ name: "Kaizen",
93
+ description: "Interactive AI Learning Experience - Educational platform for agentic AI",
94
+ category: "education" /* EDUCATION */,
95
+ status: "beta" /* BETA */,
96
+ url: "https://learn.vorion.org",
97
+ docsUrl: "https://learn.vorion.org/docs",
98
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/kaizen",
99
+ organization: "vorion"
100
+ },
101
+ kaizenStudio: {
102
+ id: "kaizen-studio",
103
+ name: "Kaizen Studio",
104
+ description: "Interactive AI learning studio - hands-on agentic AI experiments",
105
+ category: "education" /* EDUCATION */,
106
+ status: "beta" /* BETA */,
107
+ url: "https://kaizen.vorion.org",
108
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/kaizen",
109
+ organization: "vorion"
110
+ },
111
+ proofPlane: {
112
+ id: "proof-plane",
113
+ name: "Proof Plane",
114
+ description: "Cryptographic proof layer for agent attestations and verifiable execution",
115
+ category: "open_source" /* OPEN_SOURCE */,
116
+ status: "beta" /* BETA */,
117
+ url: "https://vorion.org/proof-plane",
118
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/proof-plane",
119
+ npmPackage: "@vorionsys/proof-plane",
120
+ organization: "vorion",
121
+ version: "0.5.0"
122
+ },
123
+ contracts: {
124
+ id: "contracts",
125
+ name: "Vorion Contracts",
126
+ description: "Smart contracts for on-chain agent governance and attestations",
127
+ category: "open_source" /* OPEN_SOURCE */,
128
+ status: "beta" /* BETA */,
129
+ url: "https://vorion.org/contracts",
130
+ repoUrl: "https://github.com/voriongit/vorion/tree/master/packages/contracts",
131
+ npmPackage: "@vorionsys/contracts",
132
+ organization: "vorion"
133
+ }
134
+ };
135
+ var AGENTANCHOR_PRODUCTS = {
136
+ cognigate: {
137
+ id: "cognigate",
138
+ name: "Cognigate",
139
+ description: "AI Governance API - Reference implementation of BASIS runtime",
140
+ category: "commercial" /* COMMERCIAL */,
141
+ status: "ga" /* GA */,
142
+ url: "https://cognigate.dev",
143
+ docsUrl: "https://cognigate.dev/docs",
144
+ npmPackage: "@vorionsys/cognigate",
145
+ organization: "agentanchor",
146
+ version: "1.0.0"
147
+ },
148
+ trust: {
149
+ id: "trust",
150
+ name: "Agent Anchor Trust",
151
+ description: "Trust verification and certification platform for AI agents",
152
+ category: "commercial" /* COMMERCIAL */,
153
+ status: "ga" /* GA */,
154
+ url: "https://trust.agentanchorai.com",
155
+ docsUrl: "https://trust.agentanchorai.com/docs",
156
+ organization: "agentanchor"
157
+ },
158
+ logic: {
159
+ id: "logic",
160
+ name: "Agent Anchor Logic",
161
+ description: "Policy engine and governance logic for enterprise AI",
162
+ category: "commercial" /* COMMERCIAL */,
163
+ status: "beta" /* BETA */,
164
+ url: "https://logic.agentanchorai.com",
165
+ docsUrl: "https://logic.agentanchorai.com/docs",
166
+ organization: "agentanchor"
167
+ },
168
+ platform: {
169
+ id: "platform",
170
+ name: "Agent Anchor Platform",
171
+ description: "Enterprise AI governance dashboard and management console",
172
+ category: "commercial" /* COMMERCIAL */,
173
+ status: "ga" /* GA */,
174
+ url: "https://agentanchorai.com",
175
+ docsUrl: "https://agentanchorai.com/docs",
176
+ organization: "agentanchor"
177
+ }
178
+ };
179
+ var ALL_PRODUCTS = {
180
+ vorion: VORION_PRODUCTS,
181
+ agentAnchor: AGENTANCHOR_PRODUCTS
182
+ };
183
+ function getProduct(productId) {
184
+ return VORION_PRODUCTS[productId] || AGENTANCHOR_PRODUCTS[productId];
185
+ }
186
+ function getProductsByCategory(category) {
187
+ const allProducts = [...Object.values(VORION_PRODUCTS), ...Object.values(AGENTANCHOR_PRODUCTS)];
188
+ return allProducts.filter((p) => p.category === category);
189
+ }
190
+ function getProductsByStatus(status) {
191
+ const allProducts = [...Object.values(VORION_PRODUCTS), ...Object.values(AGENTANCHOR_PRODUCTS)];
192
+ return allProducts.filter((p) => p.status === status);
193
+ }
194
+ function getProductsByOrganization(org) {
195
+ return org === "vorion" ? Object.values(VORION_PRODUCTS) : Object.values(AGENTANCHOR_PRODUCTS);
196
+ }
197
+ // Annotate the CommonJS export names for ESM import in node:
198
+ 0 && (module.exports = {
199
+ AGENTANCHOR_PRODUCTS,
200
+ ALL_PRODUCTS,
201
+ ProductCategory,
202
+ ProductStatus,
203
+ VORION_PRODUCTS,
204
+ getProduct,
205
+ getProductsByCategory,
206
+ getProductsByOrganization,
207
+ getProductsByStatus
208
+ });
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @vorionsys/shared-constants - Product Definitions
3
+ *
4
+ * Single source of truth for all Vorion ecosystem products
5
+ * Used for consistent product references across all sites
6
+ *
7
+ * @see https://vorion.org
8
+ */
9
+ declare enum ProductCategory {
10
+ /** Open source standards and specifications */
11
+ OPEN_SOURCE = "open_source",
12
+ /** Commercial SaaS products */
13
+ COMMERCIAL = "commercial",
14
+ /** Developer tools and SDKs */
15
+ DEVELOPER_TOOLS = "developer_tools",
16
+ /** Educational platforms */
17
+ EDUCATION = "education"
18
+ }
19
+ declare enum ProductStatus {
20
+ /** In active development, not yet released */
21
+ DEVELOPMENT = "development",
22
+ /** Released as alpha/preview */
23
+ ALPHA = "alpha",
24
+ /** Released as beta */
25
+ BETA = "beta",
26
+ /** Generally available */
27
+ GA = "ga",
28
+ /** Deprecated, still supported */
29
+ DEPRECATED = "deprecated",
30
+ /** End of life, no longer supported */
31
+ EOL = "eol"
32
+ }
33
+ interface ProductDefinition {
34
+ /** Unique product identifier */
35
+ id: string;
36
+ /** Human-readable name */
37
+ name: string;
38
+ /** Short description */
39
+ description: string;
40
+ /** Product category */
41
+ category: ProductCategory;
42
+ /** Current status */
43
+ status: ProductStatus;
44
+ /** Primary website URL */
45
+ url: string;
46
+ /** Documentation URL */
47
+ docsUrl?: string;
48
+ /** GitHub repository URL */
49
+ repoUrl?: string;
50
+ /** NPM package name */
51
+ npmPackage?: string;
52
+ /** Parent organization */
53
+ organization: 'vorion' | 'agentanchor';
54
+ /** Version (semver) */
55
+ version?: string;
56
+ }
57
+ declare const VORION_PRODUCTS: Record<string, ProductDefinition>;
58
+ declare const AGENTANCHOR_PRODUCTS: Record<string, ProductDefinition>;
59
+ declare const ALL_PRODUCTS: {
60
+ readonly vorion: Record<string, ProductDefinition>;
61
+ readonly agentAnchor: Record<string, ProductDefinition>;
62
+ };
63
+ /**
64
+ * Get a product by its ID
65
+ */
66
+ declare function getProduct(productId: string): ProductDefinition | undefined;
67
+ /**
68
+ * Get all products by category
69
+ */
70
+ declare function getProductsByCategory(category: ProductCategory): ProductDefinition[];
71
+ /**
72
+ * Get all products by status
73
+ */
74
+ declare function getProductsByStatus(status: ProductStatus): ProductDefinition[];
75
+ /**
76
+ * Get all products by organization
77
+ */
78
+ declare function getProductsByOrganization(org: 'vorion' | 'agentanchor'): ProductDefinition[];
79
+
80
+ export { AGENTANCHOR_PRODUCTS, ALL_PRODUCTS, ProductCategory, type ProductDefinition, ProductStatus, VORION_PRODUCTS, getProduct, getProductsByCategory, getProductsByOrganization, getProductsByStatus };
@@ -0,0 +1,22 @@
1
+ import {
2
+ AGENTANCHOR_PRODUCTS,
3
+ ALL_PRODUCTS,
4
+ ProductCategory,
5
+ ProductStatus,
6
+ VORION_PRODUCTS,
7
+ getProduct,
8
+ getProductsByCategory,
9
+ getProductsByOrganization,
10
+ getProductsByStatus
11
+ } from "./chunk-RZQZEF6Q.js";
12
+ export {
13
+ AGENTANCHOR_PRODUCTS,
14
+ ALL_PRODUCTS,
15
+ ProductCategory,
16
+ ProductStatus,
17
+ VORION_PRODUCTS,
18
+ getProduct,
19
+ getProductsByCategory,
20
+ getProductsByOrganization,
21
+ getProductsByStatus
22
+ };