@vorionsys/shared-constants 1.0.1 → 1.0.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.
- package/CHANGELOG.md +39 -0
- package/LICENSE +190 -0
- package/README.md +418 -44
- package/dist/api-versions.d.ts +91 -0
- package/dist/capabilities.d.ts +55 -0
- package/dist/{chunk-IKLCEYZT.js → chunk-OEEPW54O.js} +4 -6
- package/dist/domains.cjs +4 -6
- package/dist/domains.d.cts +4 -8
- package/dist/domains.d.ts +246 -0
- package/dist/domains.js +1 -1
- package/dist/error-codes.d.ts +633 -0
- package/dist/index.cjs +6 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +54 -0
- package/dist/index.js +3 -3
- package/dist/products.d.ts +80 -0
- package/dist/rate-limits.d.ts +80 -0
- package/dist/themes.d.ts +85 -0
- package/dist/tiers.d.ts +75 -0
- package/package.json +29 -7
- package/dist/chunk-F2R6HBF5.js +0 -253
- package/dist/chunk-PHL3CB53.js +0 -159
- package/src/api-versions.ts +0 -250
- package/src/capabilities.ts +0 -272
- package/src/domains.ts +0 -216
- package/src/error-codes.ts +0 -494
- package/src/index.ts +0 -206
- package/src/products.ts +0 -285
- package/src/rate-limits.ts +0 -334
- package/src/themes.ts +0 -380
- package/src/tiers.ts +0 -239
- package/tsconfig.json +0 -25
package/src/capabilities.ts
DELETED
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vorionsys/shared-constants - Capability Definitions
|
|
3
|
-
*
|
|
4
|
-
* Single source of truth for capability codes and tier requirements
|
|
5
|
-
* Used across all Vorion ecosystem products
|
|
6
|
-
*
|
|
7
|
-
* @see https://basis.vorion.org/capabilities
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { TrustTier } from './tiers';
|
|
11
|
-
|
|
12
|
-
// =============================================================================
|
|
13
|
-
// CAPABILITY CATEGORIES
|
|
14
|
-
// =============================================================================
|
|
15
|
-
|
|
16
|
-
export enum CapabilityCategory {
|
|
17
|
-
DATA_ACCESS = 'data_access',
|
|
18
|
-
API_ACCESS = 'api_access',
|
|
19
|
-
CODE_EXECUTION = 'code_execution',
|
|
20
|
-
AGENT_INTERACTION = 'agent_interaction',
|
|
21
|
-
RESOURCE_MANAGEMENT = 'resource_management',
|
|
22
|
-
GOVERNANCE = 'governance',
|
|
23
|
-
ADMIN = 'admin',
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// =============================================================================
|
|
27
|
-
// CAPABILITY DEFINITION
|
|
28
|
-
// =============================================================================
|
|
29
|
-
|
|
30
|
-
export interface CapabilityDefinition {
|
|
31
|
-
readonly code: string;
|
|
32
|
-
readonly name: string;
|
|
33
|
-
readonly category: CapabilityCategory;
|
|
34
|
-
readonly description: string;
|
|
35
|
-
readonly unlockTier: TrustTier;
|
|
36
|
-
readonly constraints?: readonly string[];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// =============================================================================
|
|
40
|
-
// STANDARD CAPABILITIES
|
|
41
|
-
// =============================================================================
|
|
42
|
-
|
|
43
|
-
export const CAPABILITIES: readonly CapabilityDefinition[] = [
|
|
44
|
-
// T0 - Sandbox
|
|
45
|
-
{
|
|
46
|
-
code: 'CAP-READ-PUBLIC',
|
|
47
|
-
name: 'Read Public Data',
|
|
48
|
-
category: CapabilityCategory.DATA_ACCESS,
|
|
49
|
-
description: 'Access publicly available data',
|
|
50
|
-
unlockTier: TrustTier.T0_SANDBOX,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
code: 'CAP-GENERATE-TEXT',
|
|
54
|
-
name: 'Generate Text',
|
|
55
|
-
category: CapabilityCategory.CODE_EXECUTION,
|
|
56
|
-
description: 'Generate text responses',
|
|
57
|
-
unlockTier: TrustTier.T0_SANDBOX,
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
// T1 - Observed
|
|
61
|
-
{
|
|
62
|
-
code: 'CAP-READ-INTERNAL',
|
|
63
|
-
name: 'Read Internal Data',
|
|
64
|
-
category: CapabilityCategory.DATA_ACCESS,
|
|
65
|
-
description: 'Access internal data within allowed scopes',
|
|
66
|
-
unlockTier: TrustTier.T1_OBSERVED,
|
|
67
|
-
constraints: ['Read-only', 'Logged'],
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
code: 'CAP-INTERNAL-API',
|
|
71
|
-
name: 'Internal API Access',
|
|
72
|
-
category: CapabilityCategory.API_ACCESS,
|
|
73
|
-
description: 'Make read-only internal API calls',
|
|
74
|
-
unlockTier: TrustTier.T1_OBSERVED,
|
|
75
|
-
constraints: ['GET only', 'Rate limited'],
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
// T2 - Provisional
|
|
79
|
-
{
|
|
80
|
-
code: 'CAP-FILE-WRITE',
|
|
81
|
-
name: 'Write Files',
|
|
82
|
-
category: CapabilityCategory.DATA_ACCESS,
|
|
83
|
-
description: 'Write to approved directories',
|
|
84
|
-
unlockTier: TrustTier.T2_PROVISIONAL,
|
|
85
|
-
constraints: ['Approved dirs only', 'Size limited'],
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
code: 'CAP-DB-READ',
|
|
89
|
-
name: 'Database Read',
|
|
90
|
-
category: CapabilityCategory.DATA_ACCESS,
|
|
91
|
-
description: 'Read from approved database tables',
|
|
92
|
-
unlockTier: TrustTier.T2_PROVISIONAL,
|
|
93
|
-
constraints: ['Approved tables', 'Query timeout'],
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
code: 'CAP-EXTERNAL-API-READ',
|
|
97
|
-
name: 'External API Read',
|
|
98
|
-
category: CapabilityCategory.API_ACCESS,
|
|
99
|
-
description: 'Make GET requests to approved external APIs',
|
|
100
|
-
unlockTier: TrustTier.T2_PROVISIONAL,
|
|
101
|
-
constraints: ['GET only', 'Approved endpoints'],
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
// T3 - Monitored
|
|
105
|
-
{
|
|
106
|
-
code: 'CAP-DB-WRITE',
|
|
107
|
-
name: 'Database Write',
|
|
108
|
-
category: CapabilityCategory.DATA_ACCESS,
|
|
109
|
-
description: 'Write to approved database tables',
|
|
110
|
-
unlockTier: TrustTier.T3_MONITORED,
|
|
111
|
-
constraints: ['Approved tables', 'Transaction limits'],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
code: 'CAP-EXTERNAL-API-FULL',
|
|
115
|
-
name: 'External API Full Access',
|
|
116
|
-
category: CapabilityCategory.API_ACCESS,
|
|
117
|
-
description: 'Full REST operations on approved external APIs',
|
|
118
|
-
unlockTier: TrustTier.T3_MONITORED,
|
|
119
|
-
constraints: ['Approved endpoints', 'Rate limited'],
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
code: 'CAP-CODE-SANDBOX',
|
|
123
|
-
name: 'Sandboxed Code Execution',
|
|
124
|
-
category: CapabilityCategory.CODE_EXECUTION,
|
|
125
|
-
description: 'Execute code in isolated sandbox',
|
|
126
|
-
unlockTier: TrustTier.T3_MONITORED,
|
|
127
|
-
constraints: ['Sandboxed', 'Time limited', 'No network'],
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
// T4 - Standard
|
|
131
|
-
{
|
|
132
|
-
code: 'CAP-AGENT-COMMUNICATE',
|
|
133
|
-
name: 'Agent Communication',
|
|
134
|
-
category: CapabilityCategory.AGENT_INTERACTION,
|
|
135
|
-
description: 'Send and receive messages to/from other agents',
|
|
136
|
-
unlockTier: TrustTier.T4_STANDARD,
|
|
137
|
-
constraints: ['Approved agents', 'Message limits'],
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
code: 'CAP-WORKFLOW-MULTI',
|
|
141
|
-
name: 'Multi-Step Workflow',
|
|
142
|
-
category: CapabilityCategory.CODE_EXECUTION,
|
|
143
|
-
description: 'Orchestrate multi-step workflows',
|
|
144
|
-
unlockTier: TrustTier.T4_STANDARD,
|
|
145
|
-
constraints: ['Approved patterns', 'Checkpoints required'],
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
code: 'CAP-ESCALATE-HUMAN',
|
|
149
|
-
name: 'Human Escalation',
|
|
150
|
-
category: CapabilityCategory.GOVERNANCE,
|
|
151
|
-
description: 'Initiate escalation to human reviewers',
|
|
152
|
-
unlockTier: TrustTier.T4_STANDARD,
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
// T5 - Trusted
|
|
156
|
-
{
|
|
157
|
-
code: 'CAP-AGENT-DELEGATE',
|
|
158
|
-
name: 'Task Delegation',
|
|
159
|
-
category: CapabilityCategory.AGENT_INTERACTION,
|
|
160
|
-
description: 'Delegate tasks to other agents',
|
|
161
|
-
unlockTier: TrustTier.T5_TRUSTED,
|
|
162
|
-
constraints: ['Trust verified agents'],
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
code: 'CAP-RESOURCE-PROVISION',
|
|
166
|
-
name: 'Resource Provisioning',
|
|
167
|
-
category: CapabilityCategory.RESOURCE_MANAGEMENT,
|
|
168
|
-
description: 'Provision computational resources',
|
|
169
|
-
unlockTier: TrustTier.T5_TRUSTED,
|
|
170
|
-
constraints: ['Budget limits', 'Approval required'],
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
// T6 - Certified
|
|
174
|
-
{
|
|
175
|
-
code: 'CAP-AGENT-SPAWN',
|
|
176
|
-
name: 'Spawn Agents',
|
|
177
|
-
category: CapabilityCategory.AGENT_INTERACTION,
|
|
178
|
-
description: 'Create new agent instances',
|
|
179
|
-
unlockTier: TrustTier.T6_CERTIFIED,
|
|
180
|
-
constraints: ['Template required', 'Quota limited'],
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
code: 'CAP-INFRA-MANAGE',
|
|
184
|
-
name: 'Infrastructure Management',
|
|
185
|
-
category: CapabilityCategory.RESOURCE_MANAGEMENT,
|
|
186
|
-
description: 'Manage infrastructure resources',
|
|
187
|
-
unlockTier: TrustTier.T6_CERTIFIED,
|
|
188
|
-
constraints: ['Approved resources'],
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
code: 'CAP-POLICY-CREATE',
|
|
192
|
-
name: 'Policy Creation',
|
|
193
|
-
category: CapabilityCategory.GOVERNANCE,
|
|
194
|
-
description: 'Create governance policies',
|
|
195
|
-
unlockTier: TrustTier.T6_CERTIFIED,
|
|
196
|
-
constraints: ['Review required'],
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
// T7 - Autonomous
|
|
200
|
-
{
|
|
201
|
-
code: 'CAP-FULL-ADMIN',
|
|
202
|
-
name: 'Full Administration',
|
|
203
|
-
category: CapabilityCategory.ADMIN,
|
|
204
|
-
description: 'Full administrative access',
|
|
205
|
-
unlockTier: TrustTier.T7_AUTONOMOUS,
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
code: 'CAP-SELF-MODIFY',
|
|
209
|
-
name: 'Self-Modification',
|
|
210
|
-
category: CapabilityCategory.CODE_EXECUTION,
|
|
211
|
-
description: 'Modify own configuration and behavior',
|
|
212
|
-
unlockTier: TrustTier.T7_AUTONOMOUS,
|
|
213
|
-
constraints: ['Ethical bounds', 'Audit logged'],
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
code: 'CAP-STRATEGIC-DECISION',
|
|
217
|
-
name: 'Strategic Decisions',
|
|
218
|
-
category: CapabilityCategory.GOVERNANCE,
|
|
219
|
-
description: 'Make strategic organizational decisions',
|
|
220
|
-
unlockTier: TrustTier.T7_AUTONOMOUS,
|
|
221
|
-
constraints: ['Human oversight available'],
|
|
222
|
-
},
|
|
223
|
-
] as const;
|
|
224
|
-
|
|
225
|
-
// =============================================================================
|
|
226
|
-
// HELPER FUNCTIONS
|
|
227
|
-
// =============================================================================
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Get capabilities available at a specific tier
|
|
231
|
-
*/
|
|
232
|
-
export function getCapabilitiesForTier(tier: TrustTier): CapabilityDefinition[] {
|
|
233
|
-
return CAPABILITIES.filter((cap) => cap.unlockTier <= tier);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Get capability by code
|
|
238
|
-
*/
|
|
239
|
-
export function getCapability(code: string): CapabilityDefinition | undefined {
|
|
240
|
-
return CAPABILITIES.find((cap) => cap.code === code);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Check if a capability is available at a tier
|
|
245
|
-
*/
|
|
246
|
-
export function isCapabilityAvailable(code: string, tier: TrustTier): boolean {
|
|
247
|
-
const cap = getCapability(code);
|
|
248
|
-
return cap !== undefined && cap.unlockTier <= tier;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Get minimum tier required for a capability
|
|
253
|
-
*/
|
|
254
|
-
export function getCapabilityMinTier(code: string): TrustTier | undefined {
|
|
255
|
-
return getCapability(code)?.unlockTier;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Get capabilities by category
|
|
260
|
-
*/
|
|
261
|
-
export function getCapabilitiesByCategory(
|
|
262
|
-
category: CapabilityCategory
|
|
263
|
-
): CapabilityDefinition[] {
|
|
264
|
-
return CAPABILITIES.filter((cap) => cap.category === category);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Get all capability codes
|
|
269
|
-
*/
|
|
270
|
-
export function getAllCapabilityCodes(): string[] {
|
|
271
|
-
return CAPABILITIES.map((cap) => cap.code);
|
|
272
|
-
}
|
package/src/domains.ts
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vorionsys/shared-constants - Domain Configuration
|
|
3
|
-
*
|
|
4
|
-
* Single source of truth for all Vorion ecosystem domains and URLs
|
|
5
|
-
* Used across all products and sites for consistent linking
|
|
6
|
-
*
|
|
7
|
-
* @see https://vorion.org
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
// =============================================================================
|
|
11
|
-
// VORION (OPEN SOURCE)
|
|
12
|
-
// =============================================================================
|
|
13
|
-
|
|
14
|
-
export const VORION_DOMAINS = {
|
|
15
|
-
/** Main Vorion organization site */
|
|
16
|
-
main: 'https://vorion.org',
|
|
17
|
-
|
|
18
|
-
/** BASIS specification and documentation */
|
|
19
|
-
basis: 'https://basis.vorion.org',
|
|
20
|
-
|
|
21
|
-
/** CAR ID specification */
|
|
22
|
-
carId: 'https://carid.vorion.org',
|
|
23
|
-
|
|
24
|
-
/** ATSF (Agent Trust & Safety Framework) */
|
|
25
|
-
atsf: 'https://atsf.vorion.org',
|
|
26
|
-
|
|
27
|
-
/** Learning and educational resources (primary) */
|
|
28
|
-
learn: 'https://learn.vorion.org',
|
|
29
|
-
|
|
30
|
-
/** Kaizen - Interactive AI Learning Experience (mirrors learn) */
|
|
31
|
-
kaizen: 'https://kaizen.vorion.org',
|
|
32
|
-
|
|
33
|
-
/** Technical documentation */
|
|
34
|
-
docs: 'https://docs.vorion.org',
|
|
35
|
-
|
|
36
|
-
/** Community forum */
|
|
37
|
-
community: 'https://community.vorion.org',
|
|
38
|
-
} as const;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Domain aliases - maps alternate domains to primary
|
|
42
|
-
* Used for domain detection and routing
|
|
43
|
-
*/
|
|
44
|
-
export const DOMAIN_ALIASES = {
|
|
45
|
-
'kaizen.vorion.org': 'learn.vorion.org',
|
|
46
|
-
} as const;
|
|
47
|
-
|
|
48
|
-
// =============================================================================
|
|
49
|
-
// AGENT ANCHOR AI (COMMERCIAL)
|
|
50
|
-
// =============================================================================
|
|
51
|
-
|
|
52
|
-
export const AGENTANCHOR_DOMAINS = {
|
|
53
|
-
/** Main Agent Anchor AI site */
|
|
54
|
-
main: 'https://agentanchorai.com',
|
|
55
|
-
|
|
56
|
-
/** Agent Anchor Trust - Trust verification and certification */
|
|
57
|
-
trust: 'https://trust.agentanchorai.com',
|
|
58
|
-
|
|
59
|
-
/** Agent Anchor Logic - Policy engine and governance logic */
|
|
60
|
-
logic: 'https://logic.agentanchorai.com',
|
|
61
|
-
|
|
62
|
-
/** Status page */
|
|
63
|
-
status: 'https://status.agentanchorai.com',
|
|
64
|
-
} as const;
|
|
65
|
-
|
|
66
|
-
// =============================================================================
|
|
67
|
-
// COGNIGATE
|
|
68
|
-
// =============================================================================
|
|
69
|
-
|
|
70
|
-
export const COGNIGATE_DOMAINS = {
|
|
71
|
-
/** Cognigate main site and documentation */
|
|
72
|
-
main: 'https://cognigate.dev',
|
|
73
|
-
|
|
74
|
-
/** Cognigate API documentation */
|
|
75
|
-
docs: 'https://cognigate.dev/docs',
|
|
76
|
-
} as const;
|
|
77
|
-
|
|
78
|
-
// =============================================================================
|
|
79
|
-
// API ENDPOINTS
|
|
80
|
-
// =============================================================================
|
|
81
|
-
|
|
82
|
-
export const API_ENDPOINTS = {
|
|
83
|
-
/** Cognigate Production API */
|
|
84
|
-
cognigate: {
|
|
85
|
-
production: 'https://cognigate.dev/v1',
|
|
86
|
-
staging: 'https://staging.cognigate.dev/v1',
|
|
87
|
-
},
|
|
88
|
-
|
|
89
|
-
/** Agent Anchor AI Production API */
|
|
90
|
-
agentAnchor: {
|
|
91
|
-
production: 'https://api.agentanchorai.com/v1',
|
|
92
|
-
staging: 'https://staging-api.agentanchorai.com/v1',
|
|
93
|
-
sandbox: 'https://sandbox.agentanchorai.com/v1',
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
/** Trust API */
|
|
97
|
-
trust: {
|
|
98
|
-
production: 'https://trust.agentanchorai.com/v1',
|
|
99
|
-
staging: 'https://staging.trust.agentanchorai.com/v1',
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
/** Logic/Policy API */
|
|
103
|
-
logic: {
|
|
104
|
-
production: 'https://logic.agentanchorai.com/v1',
|
|
105
|
-
staging: 'https://staging.logic.agentanchorai.com/v1',
|
|
106
|
-
},
|
|
107
|
-
} as const;
|
|
108
|
-
|
|
109
|
-
// =============================================================================
|
|
110
|
-
// EMAIL ADDRESSES
|
|
111
|
-
// =============================================================================
|
|
112
|
-
|
|
113
|
-
export const VORION_EMAILS = {
|
|
114
|
-
/** General inquiries */
|
|
115
|
-
info: 'info@vorion.org',
|
|
116
|
-
|
|
117
|
-
/** Security reports */
|
|
118
|
-
security: 'security@vorion.org',
|
|
119
|
-
|
|
120
|
-
/** Legal inquiries */
|
|
121
|
-
legal: 'legal@vorion.org',
|
|
122
|
-
|
|
123
|
-
/** Community and contributions */
|
|
124
|
-
community: 'community@vorion.org',
|
|
125
|
-
|
|
126
|
-
/** Contributing */
|
|
127
|
-
contribute: 'contribute@vorion.org',
|
|
128
|
-
} as const;
|
|
129
|
-
|
|
130
|
-
export const AGENTANCHOR_EMAILS = {
|
|
131
|
-
/** General support */
|
|
132
|
-
support: 'support@agentanchorai.com',
|
|
133
|
-
|
|
134
|
-
/** Sales inquiries */
|
|
135
|
-
sales: 'sales@agentanchorai.com',
|
|
136
|
-
|
|
137
|
-
/** Partner program */
|
|
138
|
-
partners: 'partners@agentanchorai.com',
|
|
139
|
-
|
|
140
|
-
/** API support */
|
|
141
|
-
apiSupport: 'api-support@agentanchorai.com',
|
|
142
|
-
|
|
143
|
-
/** Enterprise inquiries */
|
|
144
|
-
enterprise: 'enterprise@agentanchorai.com',
|
|
145
|
-
|
|
146
|
-
/** Compliance */
|
|
147
|
-
compliance: 'compliance@agentanchorai.com',
|
|
148
|
-
|
|
149
|
-
/** Team */
|
|
150
|
-
team: 'team@agentanchorai.com',
|
|
151
|
-
} as const;
|
|
152
|
-
|
|
153
|
-
// =============================================================================
|
|
154
|
-
// GITHUB
|
|
155
|
-
// =============================================================================
|
|
156
|
-
|
|
157
|
-
export const GITHUB = {
|
|
158
|
-
/** Vorion organization */
|
|
159
|
-
vorion: {
|
|
160
|
-
org: 'https://github.com/voriongit',
|
|
161
|
-
mainRepo: 'https://github.com/voriongit/vorion',
|
|
162
|
-
},
|
|
163
|
-
|
|
164
|
-
/** Agent Anchor AI (if separate) */
|
|
165
|
-
agentAnchor: {
|
|
166
|
-
org: 'https://github.com/agentanchorai',
|
|
167
|
-
},
|
|
168
|
-
} as const;
|
|
169
|
-
|
|
170
|
-
// =============================================================================
|
|
171
|
-
// NPM PACKAGES
|
|
172
|
-
// =============================================================================
|
|
173
|
-
|
|
174
|
-
export const NPM_PACKAGES = {
|
|
175
|
-
/** Open source packages (@vorionsys) */
|
|
176
|
-
vorion: {
|
|
177
|
-
basis: '@vorionsys/basis',
|
|
178
|
-
contracts: '@vorionsys/contracts',
|
|
179
|
-
carSpec: '@vorionsys/car-spec',
|
|
180
|
-
atsfCore: '@vorionsys/atsf-core',
|
|
181
|
-
cognigate: '@vorionsys/cognigate',
|
|
182
|
-
sharedConstants: '@vorionsys/shared-constants',
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
/** Commercial packages (@agentanchor) */
|
|
186
|
-
agentAnchor: {
|
|
187
|
-
sdk: '@agentanchor/sdk',
|
|
188
|
-
trust: '@agentanchor/trust',
|
|
189
|
-
logic: '@agentanchor/logic',
|
|
190
|
-
},
|
|
191
|
-
} as const;
|
|
192
|
-
|
|
193
|
-
// =============================================================================
|
|
194
|
-
// ALL DOMAINS COMBINED
|
|
195
|
-
// =============================================================================
|
|
196
|
-
|
|
197
|
-
export const ALL_DOMAINS = {
|
|
198
|
-
vorion: VORION_DOMAINS,
|
|
199
|
-
agentAnchor: AGENTANCHOR_DOMAINS,
|
|
200
|
-
cognigate: COGNIGATE_DOMAINS,
|
|
201
|
-
api: API_ENDPOINTS,
|
|
202
|
-
emails: {
|
|
203
|
-
vorion: VORION_EMAILS,
|
|
204
|
-
agentAnchor: AGENTANCHOR_EMAILS,
|
|
205
|
-
},
|
|
206
|
-
github: GITHUB,
|
|
207
|
-
npm: NPM_PACKAGES,
|
|
208
|
-
} as const;
|
|
209
|
-
|
|
210
|
-
// =============================================================================
|
|
211
|
-
// TYPE EXPORTS
|
|
212
|
-
// =============================================================================
|
|
213
|
-
|
|
214
|
-
export type VorionDomain = keyof typeof VORION_DOMAINS;
|
|
215
|
-
export type AgentAnchorDomain = keyof typeof AGENTANCHOR_DOMAINS;
|
|
216
|
-
export type CognigateDomain = keyof typeof COGNIGATE_DOMAINS;
|