@vorionsys/runtime 0.1.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.
- package/dist/common/logger.d.ts +12 -0
- package/dist/common/logger.d.ts.map +1 -0
- package/dist/common/logger.js +23 -0
- package/dist/common/logger.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/intent-pipeline/index.d.ts +65 -0
- package/dist/intent-pipeline/index.d.ts.map +1 -0
- package/dist/intent-pipeline/index.js +244 -0
- package/dist/intent-pipeline/index.js.map +1 -0
- package/dist/intent-pipeline/types.d.ts +78 -0
- package/dist/intent-pipeline/types.d.ts.map +1 -0
- package/dist/intent-pipeline/types.js +17 -0
- package/dist/intent-pipeline/types.js.map +1 -0
- package/dist/proof-committer/index.d.ts +86 -0
- package/dist/proof-committer/index.d.ts.map +1 -0
- package/dist/proof-committer/index.js +252 -0
- package/dist/proof-committer/index.js.map +1 -0
- package/dist/proof-committer/types.d.ts +107 -0
- package/dist/proof-committer/types.d.ts.map +1 -0
- package/dist/proof-committer/types.js +58 -0
- package/dist/proof-committer/types.js.map +1 -0
- package/dist/stores/index.d.ts +10 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +10 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/sqlite-proof-store.d.ts +61 -0
- package/dist/stores/sqlite-proof-store.d.ts.map +1 -0
- package/dist/stores/sqlite-proof-store.js +239 -0
- package/dist/stores/sqlite-proof-store.js.map +1 -0
- package/dist/stores/sqlite-trust-store.d.ts +124 -0
- package/dist/stores/sqlite-trust-store.d.ts.map +1 -0
- package/dist/stores/sqlite-trust-store.js +297 -0
- package/dist/stores/sqlite-trust-store.js.map +1 -0
- package/dist/trust-facade/index.d.ts +72 -0
- package/dist/trust-facade/index.d.ts.map +1 -0
- package/dist/trust-facade/index.js +410 -0
- package/dist/trust-facade/index.js.map +1 -0
- package/dist/trust-facade/types.d.ts +211 -0
- package/dist/trust-facade/types.d.ts.map +1 -0
- package/dist/trust-facade/types.js +45 -0
- package/dist/trust-facade/types.js.map +1 -0
- package/package.json +84 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TrustFacade Types
|
|
3
|
+
*
|
|
4
|
+
* Defines the unified trust interface combining Gate Trust (the door)
|
|
5
|
+
* and Dynamic Trust (the handshake).
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Trust tier levels (T0-T7)
|
|
11
|
+
*/
|
|
12
|
+
export type TrustTier = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
13
|
+
/**
|
|
14
|
+
* Trust tier names for display
|
|
15
|
+
*/
|
|
16
|
+
export declare const TRUST_TIER_NAMES: Record<TrustTier, string>;
|
|
17
|
+
/**
|
|
18
|
+
* Trust score ranges for each tier
|
|
19
|
+
*/
|
|
20
|
+
export declare const TRUST_TIER_RANGES: Record<TrustTier, {
|
|
21
|
+
min: number;
|
|
22
|
+
max: number;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Decision tier for intent processing
|
|
26
|
+
*/
|
|
27
|
+
export type DecisionTier = 'GREEN' | 'YELLOW' | 'RED';
|
|
28
|
+
/**
|
|
29
|
+
* Observation tier for agent visibility
|
|
30
|
+
*/
|
|
31
|
+
export type ObservationTier = 'BLACK_BOX' | 'GRAY_BOX' | 'WHITE_BOX';
|
|
32
|
+
/**
|
|
33
|
+
* Agent credentials for admission
|
|
34
|
+
*/
|
|
35
|
+
export interface AgentCredentials {
|
|
36
|
+
/** Unique agent identifier */
|
|
37
|
+
agentId: string;
|
|
38
|
+
/** Agent name for display */
|
|
39
|
+
name: string;
|
|
40
|
+
/** Claimed capabilities */
|
|
41
|
+
capabilities: string[];
|
|
42
|
+
/** Observation tier - how visible is the agent's internals */
|
|
43
|
+
observationTier: ObservationTier;
|
|
44
|
+
/** Optional metadata */
|
|
45
|
+
metadata?: Record<string, unknown>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Result of agent admission (Gate Trust)
|
|
49
|
+
*/
|
|
50
|
+
export interface AdmissionResult {
|
|
51
|
+
/** Whether the agent was admitted */
|
|
52
|
+
admitted: boolean;
|
|
53
|
+
/** Initial trust tier assigned */
|
|
54
|
+
initialTier: TrustTier;
|
|
55
|
+
/** Initial trust score */
|
|
56
|
+
initialScore: number;
|
|
57
|
+
/** Maximum trust score based on observation tier */
|
|
58
|
+
observationCeiling: number;
|
|
59
|
+
/** Validated capabilities */
|
|
60
|
+
capabilities: string[];
|
|
61
|
+
/** When admission expires (requires re-verification) */
|
|
62
|
+
expiresAt: Date;
|
|
63
|
+
/** Reason for denial if not admitted */
|
|
64
|
+
reason?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Action to be authorized
|
|
68
|
+
*/
|
|
69
|
+
export interface Action {
|
|
70
|
+
/** Action type (e.g., 'read', 'write', 'execute', 'delete') */
|
|
71
|
+
type: string;
|
|
72
|
+
/** Resource being acted upon */
|
|
73
|
+
resource: string;
|
|
74
|
+
/** Additional action context */
|
|
75
|
+
context?: Record<string, unknown>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Constraints applied to authorized actions
|
|
79
|
+
*/
|
|
80
|
+
export interface Constraints {
|
|
81
|
+
/** Maximum number of operations */
|
|
82
|
+
maxOperations?: number;
|
|
83
|
+
/** Time limit in milliseconds */
|
|
84
|
+
timeoutMs?: number;
|
|
85
|
+
/** Resource limits */
|
|
86
|
+
resourceLimits?: {
|
|
87
|
+
maxMemoryMb?: number;
|
|
88
|
+
maxCpuPercent?: number;
|
|
89
|
+
maxNetworkRequests?: number;
|
|
90
|
+
};
|
|
91
|
+
/** Allowed resources (allowlist) */
|
|
92
|
+
allowedResources?: string[];
|
|
93
|
+
/** Blocked resources (blocklist) */
|
|
94
|
+
blockedResources?: string[];
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Refinement option for YELLOW decisions
|
|
98
|
+
*/
|
|
99
|
+
export interface Refinement {
|
|
100
|
+
/** Refinement ID */
|
|
101
|
+
id: string;
|
|
102
|
+
/** Human-readable description */
|
|
103
|
+
description: string;
|
|
104
|
+
/** Modified action if this refinement is chosen */
|
|
105
|
+
modifiedAction: Action;
|
|
106
|
+
/** Constraints that would apply */
|
|
107
|
+
constraints: Constraints;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Result of action authorization (Dynamic Trust)
|
|
111
|
+
*/
|
|
112
|
+
export interface AuthorizationResult {
|
|
113
|
+
/** Whether the action is allowed */
|
|
114
|
+
allowed: boolean;
|
|
115
|
+
/** Decision tier */
|
|
116
|
+
tier: DecisionTier;
|
|
117
|
+
/** Current trust score */
|
|
118
|
+
currentScore: number;
|
|
119
|
+
/** Current trust tier */
|
|
120
|
+
currentTier: TrustTier;
|
|
121
|
+
/** Constraints if allowed */
|
|
122
|
+
constraints?: Constraints;
|
|
123
|
+
/** Refinement options if YELLOW */
|
|
124
|
+
refinements?: Refinement[];
|
|
125
|
+
/** Human-readable reason */
|
|
126
|
+
reason: string;
|
|
127
|
+
/** How long authorization took */
|
|
128
|
+
latencyMs: number;
|
|
129
|
+
/** Proof commitment ID */
|
|
130
|
+
proofCommitmentId?: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Combined result for full check (admission + authorization)
|
|
134
|
+
*/
|
|
135
|
+
export interface FullCheckResult {
|
|
136
|
+
/** Admission result */
|
|
137
|
+
admission: AdmissionResult;
|
|
138
|
+
/** Authorization result (if admitted) */
|
|
139
|
+
authorization?: AuthorizationResult;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Trust signal for updating dynamic trust
|
|
143
|
+
*/
|
|
144
|
+
export interface TrustSignal {
|
|
145
|
+
/** Agent ID */
|
|
146
|
+
agentId: string;
|
|
147
|
+
/** Signal type */
|
|
148
|
+
type: 'success' | 'failure' | 'violation' | 'neutral';
|
|
149
|
+
/** Signal weight (0-1) */
|
|
150
|
+
weight: number;
|
|
151
|
+
/** Signal source */
|
|
152
|
+
source: string;
|
|
153
|
+
/** Additional context */
|
|
154
|
+
context?: Record<string, unknown>;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Configuration for TrustFacade
|
|
158
|
+
*/
|
|
159
|
+
export interface TrustFacadeConfig {
|
|
160
|
+
/** Use atsf-core for persistence */
|
|
161
|
+
useAtsfForPersistence: boolean;
|
|
162
|
+
/** Use a3i for trust dynamics (asymmetric updates) */
|
|
163
|
+
useA3iForDynamics: boolean;
|
|
164
|
+
/** Primary source for trust scores */
|
|
165
|
+
primaryScoreSource: 'atsf' | 'a3i';
|
|
166
|
+
/** Cache TTL for gate trust results (ms) */
|
|
167
|
+
gateTrustCacheTtlMs: number;
|
|
168
|
+
/** Maximum authorization latency target (ms) */
|
|
169
|
+
maxAuthorizationLatencyMs: number;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Default configuration
|
|
173
|
+
*/
|
|
174
|
+
export declare const DEFAULT_TRUST_FACADE_CONFIG: TrustFacadeConfig;
|
|
175
|
+
/**
|
|
176
|
+
* TrustGate interface - The unified trust API
|
|
177
|
+
*/
|
|
178
|
+
export interface TrustGate {
|
|
179
|
+
/**
|
|
180
|
+
* THE DOOR - Called once at agent registration
|
|
181
|
+
* Can be slow, result is cached
|
|
182
|
+
*/
|
|
183
|
+
admit(agent: AgentCredentials): Promise<AdmissionResult>;
|
|
184
|
+
/**
|
|
185
|
+
* THE HANDSHAKE - Called every action
|
|
186
|
+
* Must be fast (<50ms), uses cached gate trust
|
|
187
|
+
*/
|
|
188
|
+
authorize(agentId: string, action: Action): Promise<AuthorizationResult>;
|
|
189
|
+
/**
|
|
190
|
+
* Combined check - door + handshake in one call
|
|
191
|
+
* For new/unknown agents
|
|
192
|
+
*/
|
|
193
|
+
fullCheck(agent: AgentCredentials, action: Action): Promise<FullCheckResult>;
|
|
194
|
+
/**
|
|
195
|
+
* Record a trust signal (positive or negative)
|
|
196
|
+
*/
|
|
197
|
+
recordSignal(signal: TrustSignal): Promise<void>;
|
|
198
|
+
/**
|
|
199
|
+
* Get current trust score for an agent
|
|
200
|
+
*/
|
|
201
|
+
getScore(agentId: string): Promise<number | null>;
|
|
202
|
+
/**
|
|
203
|
+
* Get current trust tier for an agent
|
|
204
|
+
*/
|
|
205
|
+
getTier(agentId: string): Promise<TrustTier | null>;
|
|
206
|
+
/**
|
|
207
|
+
* Revoke agent admission
|
|
208
|
+
*/
|
|
209
|
+
revoke(agentId: string, reason: string): Promise<void>;
|
|
210
|
+
}
|
|
211
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/trust-facade/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAStD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAS7E,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC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ocumentation
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Trust tier names for display
|
|
11
|
+
*/
|
|
12
|
+
export const TRUST_TIER_NAMES = {
|
|
13
|
+
0: 'Sandbox',
|
|
14
|
+
1: 'Observed',
|
|
15
|
+
2: 'Provisional',
|
|
16
|
+
3: 'Monitored',
|
|
17
|
+
4: 'Standard',
|
|
18
|
+
5: 'Trusted',
|
|
19
|
+
6: 'Certified',
|
|
20
|
+
7: 'Autonomous',
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Trust score ranges for each tier
|
|
24
|
+
*/
|
|
25
|
+
export const TRUST_TIER_RANGES = {
|
|
26
|
+
0: { min: 0, max: 199 },
|
|
27
|
+
1: { min: 200, max: 349 },
|
|
28
|
+
2: { min: 350, max: 499 },
|
|
29
|
+
3: { min: 500, max: 649 },
|
|
30
|
+
4: { min: 650, max: 799 },
|
|
31
|
+
5: { min: 800, max: 875 },
|
|
32
|
+
6: { min: 876, max: 950 },
|
|
33
|
+
7: { min: 951, max: 1000 },
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Default configuration
|
|
37
|
+
*/
|
|
38
|
+
export const DEFAULT_TRUST_FACADE_CONFIG = {
|
|
39
|
+
useAtsfForPersistence: true,
|
|
40
|
+
useA3iForDynamics: true,
|
|
41
|
+
primaryScoreSource: 'atsf',
|
|
42
|
+
gateTrustCacheTtlMs: 3600000, // 1 hour
|
|
43
|
+
maxAuthorizationLatencyMs: 50,
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/trust-facade/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA8B;IACzD,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,WAAW;IACd,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,WAAW;IACd,CAAC,EAAE,YAAY;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAoD;IAChF,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE;IACvB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;IACzB,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE;CAC3B,CAAC;AAgKF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsB;IAC5D,qBAAqB,EAAE,IAAI;IAC3B,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,MAAM;IAC1B,mBAAmB,EAAE,OAAO,EAAE,SAAS;IACvC,yBAAyB,EAAE,EAAE;CAC9B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vorionsys/runtime",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Vorion Runtime - Orchestration layer for AI agent governance",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./trust-facade": {
|
|
17
|
+
"types": "./dist/trust-facade/index.d.ts",
|
|
18
|
+
"import": "./dist/trust-facade/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./intent-pipeline": {
|
|
21
|
+
"types": "./dist/intent-pipeline/index.d.ts",
|
|
22
|
+
"import": "./dist/intent-pipeline/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./proof-committer": {
|
|
25
|
+
"types": "./dist/proof-committer/index.d.ts",
|
|
26
|
+
"import": "./dist/proof-committer/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./stores": {
|
|
29
|
+
"types": "./dist/stores/index.d.ts",
|
|
30
|
+
"import": "./dist/stores/index.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "tsc",
|
|
38
|
+
"dev": "tsc --watch",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"test:watch": "vitest",
|
|
41
|
+
"typecheck": "tsc --noEmit",
|
|
42
|
+
"lint": "eslint src",
|
|
43
|
+
"clean": "rm -rf dist"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"better-sqlite3": "^11.0.0",
|
|
47
|
+
"pino": "^9.0.0",
|
|
48
|
+
"pino-pretty": "^11.0.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/better-sqlite3": "^7.6.11",
|
|
52
|
+
"@types/node": "^22.10.5",
|
|
53
|
+
"typescript": "^5.7.2",
|
|
54
|
+
"vitest": "^2.1.8"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@vorionsys/atsf-core": ">=0.1.0",
|
|
58
|
+
"@vorionsys/contracts": ">=0.1.0",
|
|
59
|
+
"typescript": "^5.0.0"
|
|
60
|
+
},
|
|
61
|
+
"peerDependenciesMeta": {
|
|
62
|
+
"@vorionsys/atsf-core": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@vorionsys/contracts": {
|
|
66
|
+
"optional": true
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"keywords": [
|
|
70
|
+
"ai",
|
|
71
|
+
"agent",
|
|
72
|
+
"trust",
|
|
73
|
+
"governance",
|
|
74
|
+
"runtime",
|
|
75
|
+
"vorion"
|
|
76
|
+
],
|
|
77
|
+
"author": "Vorion",
|
|
78
|
+
"license": "MIT",
|
|
79
|
+
"repository": {
|
|
80
|
+
"type": "git",
|
|
81
|
+
"url": "https://github.com/voriongit/vorion.git",
|
|
82
|
+
"directory": "packages/runtime"
|
|
83
|
+
}
|
|
84
|
+
}
|