@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,353 @@
1
+ // src/error-codes.ts
2
+ var ErrorCategory = /* @__PURE__ */ ((ErrorCategory2) => {
3
+ ErrorCategory2["AUTH"] = "auth";
4
+ ErrorCategory2["VALIDATION"] = "validation";
5
+ ErrorCategory2["RATE_LIMIT"] = "rate_limit";
6
+ ErrorCategory2["NOT_FOUND"] = "not_found";
7
+ ErrorCategory2["TRUST"] = "trust";
8
+ ErrorCategory2["SERVER"] = "server";
9
+ ErrorCategory2["EXTERNAL"] = "external";
10
+ ErrorCategory2["CONFIG"] = "config";
11
+ return ErrorCategory2;
12
+ })(ErrorCategory || {});
13
+ var AUTH_ERRORS = {
14
+ MISSING_API_KEY: {
15
+ code: "E1001",
16
+ httpStatus: 401,
17
+ category: "auth" /* AUTH */,
18
+ message: "API key is missing. Include it in the Authorization header.",
19
+ retryable: false,
20
+ docsUrl: "https://cognigate.dev/docs/authentication"
21
+ },
22
+ INVALID_API_KEY: {
23
+ code: "E1002",
24
+ httpStatus: 401,
25
+ category: "auth" /* AUTH */,
26
+ message: "API key is invalid or has been revoked.",
27
+ retryable: false,
28
+ docsUrl: "https://cognigate.dev/docs/authentication"
29
+ },
30
+ EXPIRED_API_KEY: {
31
+ code: "E1003",
32
+ httpStatus: 401,
33
+ category: "auth" /* AUTH */,
34
+ message: "API key has expired. Generate a new key.",
35
+ retryable: false,
36
+ docsUrl: "https://cognigate.dev/docs/authentication"
37
+ },
38
+ INSUFFICIENT_PERMISSIONS: {
39
+ code: "E1004",
40
+ httpStatus: 403,
41
+ category: "auth" /* AUTH */,
42
+ message: "Insufficient permissions for this operation.",
43
+ retryable: false
44
+ },
45
+ AGENT_NOT_AUTHORIZED: {
46
+ code: "E1005",
47
+ httpStatus: 403,
48
+ category: "auth" /* AUTH */,
49
+ message: "Agent is not authorized for this action.",
50
+ retryable: false
51
+ },
52
+ TOKEN_EXPIRED: {
53
+ code: "E1006",
54
+ httpStatus: 401,
55
+ category: "auth" /* AUTH */,
56
+ message: "Authentication token has expired.",
57
+ retryable: false
58
+ },
59
+ MFA_REQUIRED: {
60
+ code: "E1007",
61
+ httpStatus: 403,
62
+ category: "auth" /* AUTH */,
63
+ message: "Multi-factor authentication is required for this operation.",
64
+ retryable: false
65
+ }
66
+ };
67
+ var VALIDATION_ERRORS = {
68
+ INVALID_REQUEST: {
69
+ code: "E2001",
70
+ httpStatus: 400,
71
+ category: "validation" /* VALIDATION */,
72
+ message: "Request body is invalid or malformed.",
73
+ retryable: false
74
+ },
75
+ MISSING_REQUIRED_FIELD: {
76
+ code: "E2002",
77
+ httpStatus: 400,
78
+ category: "validation" /* VALIDATION */,
79
+ message: "Required field is missing: {field}",
80
+ retryable: false
81
+ },
82
+ INVALID_FIELD_TYPE: {
83
+ code: "E2003",
84
+ httpStatus: 400,
85
+ category: "validation" /* VALIDATION */,
86
+ message: "Field {field} has invalid type. Expected {expected}.",
87
+ retryable: false
88
+ },
89
+ INVALID_FIELD_VALUE: {
90
+ code: "E2004",
91
+ httpStatus: 400,
92
+ category: "validation" /* VALIDATION */,
93
+ message: "Field {field} has invalid value.",
94
+ retryable: false
95
+ },
96
+ PAYLOAD_TOO_LARGE: {
97
+ code: "E2005",
98
+ httpStatus: 413,
99
+ category: "validation" /* VALIDATION */,
100
+ message: "Request payload exceeds maximum size of {maxSize}.",
101
+ retryable: false
102
+ },
103
+ INVALID_JSON: {
104
+ code: "E2006",
105
+ httpStatus: 400,
106
+ category: "validation" /* VALIDATION */,
107
+ message: "Request body is not valid JSON.",
108
+ retryable: false
109
+ },
110
+ INVALID_CAR_ID: {
111
+ code: "E2007",
112
+ httpStatus: 400,
113
+ category: "validation" /* VALIDATION */,
114
+ message: "Invalid CAR ID format. Expected: car:domain/category/name:version",
115
+ retryable: false,
116
+ docsUrl: "https://carid.vorion.org/format"
117
+ },
118
+ INVALID_TRUST_SCORE: {
119
+ code: "E2008",
120
+ httpStatus: 400,
121
+ category: "validation" /* VALIDATION */,
122
+ message: "Trust score must be between 0 and 1000.",
123
+ retryable: false
124
+ }
125
+ };
126
+ var RATE_LIMIT_ERRORS = {
127
+ RATE_LIMIT_EXCEEDED: {
128
+ code: "E3001",
129
+ httpStatus: 429,
130
+ category: "rate_limit" /* RATE_LIMIT */,
131
+ message: "Rate limit exceeded. Retry after {retryAfter} seconds.",
132
+ retryable: true
133
+ },
134
+ QUOTA_EXCEEDED: {
135
+ code: "E3002",
136
+ httpStatus: 429,
137
+ category: "rate_limit" /* RATE_LIMIT */,
138
+ message: "Monthly quota exceeded. Upgrade your tier or wait for reset.",
139
+ retryable: false
140
+ },
141
+ CONCURRENT_LIMIT: {
142
+ code: "E3003",
143
+ httpStatus: 429,
144
+ category: "rate_limit" /* RATE_LIMIT */,
145
+ message: "Too many concurrent requests. Max burst: {burstLimit}.",
146
+ retryable: true
147
+ },
148
+ DAILY_LIMIT_EXCEEDED: {
149
+ code: "E3004",
150
+ httpStatus: 429,
151
+ category: "rate_limit" /* RATE_LIMIT */,
152
+ message: "Daily request limit exceeded. Resets at midnight UTC.",
153
+ retryable: true
154
+ }
155
+ };
156
+ var NOT_FOUND_ERRORS = {
157
+ RESOURCE_NOT_FOUND: {
158
+ code: "E4001",
159
+ httpStatus: 404,
160
+ category: "not_found" /* NOT_FOUND */,
161
+ message: "Resource not found: {resourceType}/{resourceId}",
162
+ retryable: false
163
+ },
164
+ AGENT_NOT_FOUND: {
165
+ code: "E4002",
166
+ httpStatus: 404,
167
+ category: "not_found" /* NOT_FOUND */,
168
+ message: "Agent not found: {agentId}",
169
+ retryable: false
170
+ },
171
+ PROOF_NOT_FOUND: {
172
+ code: "E4003",
173
+ httpStatus: 404,
174
+ category: "not_found" /* NOT_FOUND */,
175
+ message: "Proof not found: {proofId}",
176
+ retryable: false
177
+ },
178
+ ENDPOINT_NOT_FOUND: {
179
+ code: "E4004",
180
+ httpStatus: 404,
181
+ category: "not_found" /* NOT_FOUND */,
182
+ message: "API endpoint not found.",
183
+ retryable: false
184
+ },
185
+ ATTESTATION_NOT_FOUND: {
186
+ code: "E4005",
187
+ httpStatus: 404,
188
+ category: "not_found" /* NOT_FOUND */,
189
+ message: "Attestation not found: {attestationId}",
190
+ retryable: false
191
+ }
192
+ };
193
+ var TRUST_ERRORS = {
194
+ TRUST_TIER_INSUFFICIENT: {
195
+ code: "E5001",
196
+ httpStatus: 403,
197
+ category: "trust" /* TRUST */,
198
+ message: "Trust tier {currentTier} insufficient. Required: {requiredTier}.",
199
+ retryable: false,
200
+ docsUrl: "https://basis.vorion.org/tiers"
201
+ },
202
+ CAPABILITY_NOT_AVAILABLE: {
203
+ code: "E5002",
204
+ httpStatus: 403,
205
+ category: "trust" /* TRUST */,
206
+ message: "Capability {capability} not available at tier {tier}.",
207
+ retryable: false,
208
+ docsUrl: "https://cognigate.dev/docs/capabilities"
209
+ },
210
+ GOVERNANCE_DENIED: {
211
+ code: "E5003",
212
+ httpStatus: 403,
213
+ category: "trust" /* TRUST */,
214
+ message: "Action denied by governance policy: {reason}.",
215
+ retryable: false
216
+ },
217
+ AGENT_SUSPENDED: {
218
+ code: "E5004",
219
+ httpStatus: 403,
220
+ category: "trust" /* TRUST */,
221
+ message: "Agent is suspended. Contact support for reinstatement.",
222
+ retryable: false
223
+ },
224
+ PROOF_VERIFICATION_FAILED: {
225
+ code: "E5005",
226
+ httpStatus: 400,
227
+ category: "trust" /* TRUST */,
228
+ message: "Proof verification failed: {reason}.",
229
+ retryable: false
230
+ },
231
+ ATTESTATION_INVALID: {
232
+ code: "E5006",
233
+ httpStatus: 400,
234
+ category: "trust" /* TRUST */,
235
+ message: "Attestation is invalid or has expired.",
236
+ retryable: false
237
+ },
238
+ ESCALATION_REQUIRED: {
239
+ code: "E5007",
240
+ httpStatus: 403,
241
+ category: "trust" /* TRUST */,
242
+ message: "Action requires human approval. Escalation ID: {escalationId}.",
243
+ retryable: false
244
+ }
245
+ };
246
+ var SERVER_ERRORS = {
247
+ INTERNAL_ERROR: {
248
+ code: "E6001",
249
+ httpStatus: 500,
250
+ category: "server" /* SERVER */,
251
+ message: "An internal error occurred. Please try again later.",
252
+ retryable: true
253
+ },
254
+ SERVICE_UNAVAILABLE: {
255
+ code: "E6002",
256
+ httpStatus: 503,
257
+ category: "server" /* SERVER */,
258
+ message: "Service is temporarily unavailable. Please try again later.",
259
+ retryable: true
260
+ },
261
+ DATABASE_ERROR: {
262
+ code: "E6003",
263
+ httpStatus: 500,
264
+ category: "server" /* SERVER */,
265
+ message: "Database operation failed. Please try again later.",
266
+ retryable: true
267
+ },
268
+ MAINTENANCE_MODE: {
269
+ code: "E6004",
270
+ httpStatus: 503,
271
+ category: "server" /* SERVER */,
272
+ message: "Service is under maintenance. Expected completion: {eta}.",
273
+ retryable: true
274
+ }
275
+ };
276
+ var EXTERNAL_ERRORS = {
277
+ BLOCKCHAIN_ERROR: {
278
+ code: "E7001",
279
+ httpStatus: 502,
280
+ category: "external" /* EXTERNAL */,
281
+ message: "Blockchain network error. Please try again later.",
282
+ retryable: true
283
+ },
284
+ UPSTREAM_TIMEOUT: {
285
+ code: "E7002",
286
+ httpStatus: 504,
287
+ category: "external" /* EXTERNAL */,
288
+ message: "Upstream service timed out.",
289
+ retryable: true
290
+ },
291
+ EXTERNAL_SERVICE_ERROR: {
292
+ code: "E7003",
293
+ httpStatus: 502,
294
+ category: "external" /* EXTERNAL */,
295
+ message: "External service error: {service}.",
296
+ retryable: true
297
+ }
298
+ };
299
+ var ERROR_CODES = {
300
+ ...AUTH_ERRORS,
301
+ ...VALIDATION_ERRORS,
302
+ ...RATE_LIMIT_ERRORS,
303
+ ...NOT_FOUND_ERRORS,
304
+ ...TRUST_ERRORS,
305
+ ...SERVER_ERRORS,
306
+ ...EXTERNAL_ERRORS
307
+ };
308
+ function getErrorByCode(code) {
309
+ return Object.values(ERROR_CODES).find((e) => e.code === code);
310
+ }
311
+ function getErrorsByCategory(category) {
312
+ return Object.values(ERROR_CODES).filter((e) => e.category === category);
313
+ }
314
+ function getRetryableErrors() {
315
+ return Object.values(ERROR_CODES).filter((e) => e.retryable);
316
+ }
317
+ function formatErrorMessage(error, params) {
318
+ let message = error.message;
319
+ for (const [key, value] of Object.entries(params)) {
320
+ message = message.replace(`{${key}}`, String(value));
321
+ }
322
+ return message;
323
+ }
324
+ function createErrorResponse(error, params, requestId) {
325
+ return {
326
+ error: {
327
+ code: error.code,
328
+ message: params ? formatErrorMessage(error, params) : error.message,
329
+ category: error.category,
330
+ retryable: error.retryable,
331
+ ...error.docsUrl && { docsUrl: error.docsUrl },
332
+ ...requestId && { requestId }
333
+ },
334
+ status: error.httpStatus
335
+ };
336
+ }
337
+
338
+ export {
339
+ ErrorCategory,
340
+ AUTH_ERRORS,
341
+ VALIDATION_ERRORS,
342
+ RATE_LIMIT_ERRORS,
343
+ NOT_FOUND_ERRORS,
344
+ TRUST_ERRORS,
345
+ SERVER_ERRORS,
346
+ EXTERNAL_ERRORS,
347
+ ERROR_CODES,
348
+ getErrorByCode,
349
+ getErrorsByCategory,
350
+ getRetryableErrors,
351
+ formatErrorMessage,
352
+ createErrorResponse
353
+ };
@@ -0,0 +1,139 @@
1
+ // src/api-versions.ts
2
+ var VersionStatus = /* @__PURE__ */ ((VersionStatus2) => {
3
+ VersionStatus2["DEVELOPMENT"] = "development";
4
+ VersionStatus2["PREVIEW"] = "preview";
5
+ VersionStatus2["STABLE"] = "stable";
6
+ VersionStatus2["DEPRECATED"] = "deprecated";
7
+ VersionStatus2["RETIRED"] = "retired";
8
+ return VersionStatus2;
9
+ })(VersionStatus || {});
10
+ var COGNIGATE_VERSIONS = {
11
+ v1: {
12
+ version: "v1",
13
+ fullVersion: "1.0.0",
14
+ releaseDate: "2026-02-01",
15
+ status: "stable" /* STABLE */,
16
+ changelogUrl: "https://cognigate.dev/changelog/v1"
17
+ }
18
+ };
19
+ var COGNIGATE_CURRENT_VERSION = "v1";
20
+ var COGNIGATE_DEFAULT_VERSION = "v1";
21
+ var TRUST_API_VERSIONS = {
22
+ v1: {
23
+ version: "v1",
24
+ fullVersion: "1.0.0",
25
+ releaseDate: "2026-02-01",
26
+ status: "stable" /* STABLE */,
27
+ changelogUrl: "https://trust.agentanchorai.com/changelog/v1"
28
+ }
29
+ };
30
+ var TRUST_CURRENT_VERSION = "v1";
31
+ var LOGIC_API_VERSIONS = {
32
+ v1: {
33
+ version: "v1",
34
+ fullVersion: "1.0.0",
35
+ releaseDate: "2026-02-01",
36
+ status: "preview" /* PREVIEW */,
37
+ changelogUrl: "https://logic.agentanchorai.com/changelog/v1"
38
+ }
39
+ };
40
+ var LOGIC_CURRENT_VERSION = "v1";
41
+ var BASIS_VERSIONS = {
42
+ v1: {
43
+ version: "v1",
44
+ fullVersion: "1.0.0",
45
+ releaseDate: "2026-02-01",
46
+ status: "stable" /* STABLE */,
47
+ changelogUrl: "https://basis.vorion.org/changelog"
48
+ }
49
+ };
50
+ var BASIS_CURRENT_VERSION = "v1";
51
+ var BASIS_SPEC_VERSION = "1.0.0";
52
+ var CAR_SPEC_VERSIONS = {
53
+ v1: {
54
+ version: "v1",
55
+ fullVersion: "1.0.0",
56
+ releaseDate: "2026-02-01",
57
+ status: "stable" /* STABLE */,
58
+ changelogUrl: "https://carid.vorion.org/changelog"
59
+ }
60
+ };
61
+ var CAR_SPEC_CURRENT_VERSION = "v1";
62
+ var API_VERSIONS = {
63
+ cognigate: COGNIGATE_VERSIONS,
64
+ trust: TRUST_API_VERSIONS,
65
+ logic: LOGIC_API_VERSIONS,
66
+ basis: BASIS_VERSIONS,
67
+ carSpec: CAR_SPEC_VERSIONS
68
+ };
69
+ function getCurrentVersion(service) {
70
+ switch (service) {
71
+ case "cognigate":
72
+ return COGNIGATE_CURRENT_VERSION;
73
+ case "trust":
74
+ return TRUST_CURRENT_VERSION;
75
+ case "logic":
76
+ return LOGIC_CURRENT_VERSION;
77
+ case "basis":
78
+ return BASIS_CURRENT_VERSION;
79
+ case "carSpec":
80
+ return CAR_SPEC_CURRENT_VERSION;
81
+ }
82
+ }
83
+ function getVersionDefinition(service, version) {
84
+ return API_VERSIONS[service][version];
85
+ }
86
+ function isVersionSupported(service, version) {
87
+ const def = getVersionDefinition(service, version);
88
+ if (!def) return false;
89
+ return def.status !== "retired" /* RETIRED */;
90
+ }
91
+ function isVersionDeprecated(service, version) {
92
+ const def = getVersionDefinition(service, version);
93
+ if (!def) return false;
94
+ return def.status === "deprecated" /* DEPRECATED */;
95
+ }
96
+ function getStableVersions(service) {
97
+ return Object.values(API_VERSIONS[service]).filter(
98
+ (v) => v.status === "stable" /* STABLE */
99
+ );
100
+ }
101
+ function buildApiUrl(baseUrl, version, path) {
102
+ const cleanBase = baseUrl.replace(/\/$/, "");
103
+ const cleanPath = path.replace(/^\//, "");
104
+ return `${cleanBase}/${version}/${cleanPath}`;
105
+ }
106
+ var VERSION_HEADERS = {
107
+ /** Header to request specific API version */
108
+ REQUEST_VERSION: "X-API-Version",
109
+ /** Header indicating actual API version used */
110
+ RESPONSE_VERSION: "X-API-Version",
111
+ /** Header warning about deprecation */
112
+ DEPRECATION_WARNING: "X-Deprecation-Warning",
113
+ /** Header with sunset date */
114
+ SUNSET: "Sunset"
115
+ };
116
+
117
+ export {
118
+ VersionStatus,
119
+ COGNIGATE_VERSIONS,
120
+ COGNIGATE_CURRENT_VERSION,
121
+ COGNIGATE_DEFAULT_VERSION,
122
+ TRUST_API_VERSIONS,
123
+ TRUST_CURRENT_VERSION,
124
+ LOGIC_API_VERSIONS,
125
+ LOGIC_CURRENT_VERSION,
126
+ BASIS_VERSIONS,
127
+ BASIS_CURRENT_VERSION,
128
+ BASIS_SPEC_VERSION,
129
+ CAR_SPEC_VERSIONS,
130
+ CAR_SPEC_CURRENT_VERSION,
131
+ API_VERSIONS,
132
+ getCurrentVersion,
133
+ getVersionDefinition,
134
+ isVersionSupported,
135
+ isVersionDeprecated,
136
+ getStableVersions,
137
+ buildApiUrl,
138
+ VERSION_HEADERS
139
+ };
@@ -0,0 +1,175 @@
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/domains.ts
21
+ var domains_exports = {};
22
+ __export(domains_exports, {
23
+ AGENTANCHOR_DOMAINS: () => AGENTANCHOR_DOMAINS,
24
+ AGENTANCHOR_EMAILS: () => AGENTANCHOR_EMAILS,
25
+ ALL_DOMAINS: () => ALL_DOMAINS,
26
+ API_ENDPOINTS: () => API_ENDPOINTS,
27
+ COGNIGATE_DOMAINS: () => COGNIGATE_DOMAINS,
28
+ DOMAIN_ALIASES: () => DOMAIN_ALIASES,
29
+ GITHUB: () => GITHUB,
30
+ NPM_PACKAGES: () => NPM_PACKAGES,
31
+ VORION_DOMAINS: () => VORION_DOMAINS,
32
+ VORION_EMAILS: () => VORION_EMAILS
33
+ });
34
+ module.exports = __toCommonJS(domains_exports);
35
+ var VORION_DOMAINS = {
36
+ /** Main Vorion organization site */
37
+ main: "https://vorion.org",
38
+ /** BASIS specification and documentation */
39
+ basis: "https://basis.vorion.org",
40
+ /** CAR ID specification */
41
+ carId: "https://carid.vorion.org",
42
+ /** ATSF (Agent Trust & Safety Framework) */
43
+ atsf: "https://atsf.vorion.org",
44
+ /** Learning and educational resources (primary) */
45
+ learn: "https://learn.vorion.org",
46
+ /** Kaizen - Interactive AI Learning Experience (mirrors learn) */
47
+ kaizen: "https://kaizen.vorion.org",
48
+ /** Technical documentation */
49
+ docs: "https://docs.vorion.org",
50
+ /** Community forum */
51
+ community: "https://community.vorion.org"
52
+ };
53
+ var DOMAIN_ALIASES = {
54
+ "kaizen.vorion.org": "learn.vorion.org"
55
+ };
56
+ var AGENTANCHOR_DOMAINS = {
57
+ /** Main Agent Anchor AI site */
58
+ main: "https://agentanchorai.com",
59
+ /** Agent Anchor Trust - Trust verification and certification */
60
+ trust: "https://trust.agentanchorai.com",
61
+ /** Agent Anchor Logic - Policy engine and governance logic */
62
+ logic: "https://logic.agentanchorai.com",
63
+ /** Status page */
64
+ status: "https://status.agentanchorai.com"
65
+ };
66
+ var COGNIGATE_DOMAINS = {
67
+ /** Cognigate main site and documentation */
68
+ main: "https://cognigate.dev",
69
+ /** Cognigate API documentation */
70
+ docs: "https://cognigate.dev/docs"
71
+ };
72
+ var API_ENDPOINTS = {
73
+ /** Cognigate Production API */
74
+ cognigate: {
75
+ production: "https://cognigate.dev/v1",
76
+ staging: "https://staging.cognigate.dev/v1"
77
+ },
78
+ /** Agent Anchor AI Production API */
79
+ agentAnchor: {
80
+ production: "https://api.agentanchorai.com/v1",
81
+ staging: "https://staging-api.agentanchorai.com/v1",
82
+ sandbox: "https://sandbox.agentanchorai.com/v1"
83
+ },
84
+ /** Trust API */
85
+ trust: {
86
+ production: "https://trust.agentanchorai.com/v1",
87
+ staging: "https://staging.trust.agentanchorai.com/v1"
88
+ },
89
+ /** Logic/Policy API */
90
+ logic: {
91
+ production: "https://logic.agentanchorai.com/v1",
92
+ staging: "https://staging.logic.agentanchorai.com/v1"
93
+ }
94
+ };
95
+ var VORION_EMAILS = {
96
+ /** General inquiries */
97
+ info: "info@vorion.org",
98
+ /** Security reports */
99
+ security: "security@vorion.org",
100
+ /** Legal inquiries */
101
+ legal: "legal@vorion.org",
102
+ /** Community and contributions */
103
+ community: "community@vorion.org",
104
+ /** Contributing */
105
+ contribute: "contribute@vorion.org"
106
+ };
107
+ var AGENTANCHOR_EMAILS = {
108
+ /** General support */
109
+ support: "support@agentanchorai.com",
110
+ /** Sales inquiries */
111
+ sales: "sales@agentanchorai.com",
112
+ /** Partner program */
113
+ partners: "partners@agentanchorai.com",
114
+ /** API support */
115
+ apiSupport: "api-support@agentanchorai.com",
116
+ /** Enterprise inquiries */
117
+ enterprise: "enterprise@agentanchorai.com",
118
+ /** Compliance */
119
+ compliance: "compliance@agentanchorai.com",
120
+ /** Team */
121
+ team: "team@agentanchorai.com"
122
+ };
123
+ var GITHUB = {
124
+ /** Vorion organization */
125
+ vorion: {
126
+ org: "https://github.com/voriongit",
127
+ mainRepo: "https://github.com/voriongit/vorion"
128
+ },
129
+ /** Agent Anchor AI (if separate) */
130
+ agentAnchor: {
131
+ org: "https://github.com/agentanchorai"
132
+ }
133
+ };
134
+ var NPM_PACKAGES = {
135
+ /** Open source packages (@vorionsys) */
136
+ vorion: {
137
+ basis: "@vorionsys/basis",
138
+ contracts: "@vorionsys/contracts",
139
+ carSpec: "@vorionsys/car-spec",
140
+ atsfCore: "@vorionsys/atsf-core",
141
+ cognigate: "@vorionsys/cognigate",
142
+ sharedConstants: "@vorionsys/shared-constants"
143
+ },
144
+ /** Commercial packages (@agentanchor) */
145
+ agentAnchor: {
146
+ sdk: "@agentanchor/sdk",
147
+ trust: "@agentanchor/trust",
148
+ logic: "@agentanchor/logic"
149
+ }
150
+ };
151
+ var ALL_DOMAINS = {
152
+ vorion: VORION_DOMAINS,
153
+ agentAnchor: AGENTANCHOR_DOMAINS,
154
+ cognigate: COGNIGATE_DOMAINS,
155
+ api: API_ENDPOINTS,
156
+ emails: {
157
+ vorion: VORION_EMAILS,
158
+ agentAnchor: AGENTANCHOR_EMAILS
159
+ },
160
+ github: GITHUB,
161
+ npm: NPM_PACKAGES
162
+ };
163
+ // Annotate the CommonJS export names for ESM import in node:
164
+ 0 && (module.exports = {
165
+ AGENTANCHOR_DOMAINS,
166
+ AGENTANCHOR_EMAILS,
167
+ ALL_DOMAINS,
168
+ API_ENDPOINTS,
169
+ COGNIGATE_DOMAINS,
170
+ DOMAIN_ALIASES,
171
+ GITHUB,
172
+ NPM_PACKAGES,
173
+ VORION_DOMAINS,
174
+ VORION_EMAILS
175
+ });