agentevo-local 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,348 @@
1
+ """Agentevo local runtime (TZ-2)."""
2
+
3
+ from agentevo_local.adapters import (
4
+ Adapter as Adapter,
5
+ AdapterError as AdapterError,
6
+ ClaudeCodeJSONLAdapter as ClaudeCodeJSONLAdapter,
7
+ RawRecord as RawRecord,
8
+ )
9
+ from agentevo_local.canonicalize import (
10
+ CAPTURE_CLASSIFICATION as CAPTURE_CLASSIFICATION,
11
+ canonicalize as canonicalize,
12
+ )
13
+ from agentevo_local.capture import (
14
+ CaptureService as CaptureService,
15
+ IngestReport as IngestReport,
16
+ RowError as RowError,
17
+ assert_safe_for_egress as assert_safe_for_egress,
18
+ )
19
+ from agentevo_local.classify import (
20
+ JudgeVerdict as JudgeVerdict,
21
+ ModelJudge as ModelJudge,
22
+ Outcome as Outcome,
23
+ OutcomeClassification as OutcomeClassification,
24
+ OutcomeClassifier as OutcomeClassifier,
25
+ OutcomeSignals as OutcomeSignals,
26
+ collect_signals as collect_signals,
27
+ )
28
+ from agentevo_local.compile import (
29
+ FINGERPRINT_SCHEME as FINGERPRINT_SCHEME,
30
+ ExperienceCompiler as ExperienceCompiler,
31
+ fingerprint_events as fingerprint_events,
32
+ match_signature as match_signature,
33
+ normalize_failure_key as normalize_failure_key,
34
+ session_failure_keys as session_failure_keys,
35
+ tool_risk as tool_risk,
36
+ )
37
+ from agentevo_local.devices import (
38
+ DEFAULT_KEY_OVERLAP as DEFAULT_KEY_OVERLAP,
39
+ ED25519_SEED_BYTES as ED25519_SEED_BYTES,
40
+ DeviceKeys as DeviceKeys,
41
+ SealedPayload as SealedPayload,
42
+ )
43
+ from agentevo_local.dlp import (
44
+ DETECTORS as DETECTORS,
45
+ Detector as Detector,
46
+ Finding as Finding,
47
+ RedactedPayload as RedactedPayload,
48
+ RedactionResult as RedactionResult,
49
+ SecretStore as SecretStore,
50
+ assert_no_secrets as assert_no_secrets,
51
+ redact_payload as redact_payload,
52
+ redact_text as redact_text,
53
+ scan_payload as scan_payload,
54
+ scan_text as scan_text,
55
+ shannon_entropy as shannon_entropy,
56
+ )
57
+ from agentevo_local.guard import (
58
+ DEFAULT_APPROVAL_TTL as DEFAULT_APPROVAL_TTL,
59
+ ApprovalToken as ApprovalToken,
60
+ GuardContext as GuardContext,
61
+ GuardEngine as GuardEngine,
62
+ GuardResult as GuardResult,
63
+ may_auto_execute as may_auto_execute,
64
+ )
65
+ from agentevo_local.keys import (
66
+ KEYRING_SERVICE as KEYRING_SERVICE,
67
+ VAULT_KEY_BYTES as VAULT_KEY_BYTES,
68
+ KeyProvider as KeyProvider,
69
+ KeyringKeyProvider as KeyringKeyProvider,
70
+ MemoryKeyProvider as MemoryKeyProvider,
71
+ generate_key as generate_key,
72
+ )
73
+ from agentevo_local.policy import (
74
+ PolicyAssessment as PolicyAssessment,
75
+ WorkspacePolicy as WorkspacePolicy,
76
+ risk_at_or_below as risk_at_or_below,
77
+ risk_severity as risk_severity,
78
+ scope_matches as scope_matches,
79
+ )
80
+ from agentevo_local.promote import (
81
+ TRUSTED_MIN_REPORTS_FLOOR as TRUSTED_MIN_REPORTS_FLOOR,
82
+ PromotionPolicy as PromotionPolicy,
83
+ PromotionService as PromotionService,
84
+ RiskThreshold as RiskThreshold,
85
+ default_policy as default_policy,
86
+ )
87
+ from agentevo_local.recall import (
88
+ DEFAULT_RECALL_TYPES as DEFAULT_RECALL_TYPES,
89
+ RECALLABLE_STATES as RECALLABLE_STATES,
90
+ RankedObject as RankedObject,
91
+ RecallQuery as RecallQuery,
92
+ RecallResult as RecallResult,
93
+ RecallRouter as RecallRouter,
94
+ estimate_tokens as estimate_tokens,
95
+ )
96
+ from agentevo_local.registry import (
97
+ ObjectRegistry as ObjectRegistry,
98
+ VerificationTally as VerificationTally,
99
+ content_hash as content_hash,
100
+ )
101
+ from agentevo_local.revoke import (
102
+ QUARANTINABLE_STATES as QUARANTINABLE_STATES,
103
+ REVOCABLE_STATES as REVOCABLE_STATES,
104
+ RevocationReason as RevocationReason,
105
+ RevocationService as RevocationService,
106
+ )
107
+ from agentevo_local.secrets import (
108
+ VAULT_REF_PREFIX as VAULT_REF_PREFIX,
109
+ SecretResolver as SecretResolver,
110
+ StaticSecretResolver as StaticSecretResolver,
111
+ collect_vault_refs as collect_vault_refs,
112
+ is_vault_ref as is_vault_ref,
113
+ resolve_arguments as resolve_arguments,
114
+ )
115
+ from agentevo_local.signing import (
116
+ SIGNING_KEY_BYTES as SIGNING_KEY_BYTES,
117
+ HmacSigner as HmacSigner,
118
+ Signer as Signer,
119
+ canonical_json as canonical_json,
120
+ object_signature_payload as object_signature_payload,
121
+ )
122
+ from agentevo_local.staleness import (
123
+ FINGERPRINT_V1_PREFIX as FINGERPRINT_V1_PREFIX,
124
+ SCAN_STATES as SCAN_STATES,
125
+ EnvironmentDescriptor as EnvironmentDescriptor,
126
+ RevalidationFinding as RevalidationFinding,
127
+ RevalidationService as RevalidationService,
128
+ RevalidationTrigger as RevalidationTrigger,
129
+ assess_layers as assess_layers,
130
+ classify_compat as classify_compat,
131
+ fingerprint_environment as fingerprint_environment,
132
+ parse_fingerprint as parse_fingerprint,
133
+ validity_expired as validity_expired,
134
+ )
135
+ from agentevo_local.sync import (
136
+ DEFAULT_QUEUE_MAX_BYTES as DEFAULT_QUEUE_MAX_BYTES,
137
+ DEFAULT_QUEUE_MAX_ENTRIES as DEFAULT_QUEUE_MAX_ENTRIES,
138
+ DEK_BYTES as DEK_BYTES,
139
+ MAX_REVOCATION_REASON_LENGTH as MAX_REVOCATION_REASON_LENGTH,
140
+ PRIORITY_OBJECT as PRIORITY_OBJECT,
141
+ PRIORITY_TOMBSTONE as PRIORITY_TOMBSTONE,
142
+ DrainOutcome as DrainOutcome,
143
+ LoopbackTransport as LoopbackTransport,
144
+ MinimizedBody as MinimizedBody,
145
+ PullOutcome as PullOutcome,
146
+ PushOutcome as PushOutcome,
147
+ RevocationSelection as RevocationSelection,
148
+ SkippedDelta as SkippedDelta,
149
+ SyncClient as SyncClient,
150
+ SyncPolicy as SyncPolicy,
151
+ SyncSelection as SyncSelection,
152
+ SyncTransport as SyncTransport,
153
+ minimize as minimize,
154
+ minimize_tombstone as minimize_tombstone,
155
+ open_body as open_body,
156
+ seal_body as seal_body,
157
+ select_for_sync as select_for_sync,
158
+ verify_envelope_signature as verify_envelope_signature,
159
+ workspace_dek as workspace_dek,
160
+ )
161
+ from agentevo_local.vault import (
162
+ AuditEntry as AuditEntry,
163
+ DeviceKeyRow as DeviceKeyRow,
164
+ LocalVault as LocalVault,
165
+ QueuedEnvelope as QueuedEnvelope,
166
+ StoredVerification as StoredVerification,
167
+ StoreOutcome as StoreOutcome,
168
+ SyncDeviceRow as SyncDeviceRow,
169
+ )
170
+ from agentevo_local.verify import (
171
+ REPLAYABLE_COMMAND_RE as REPLAYABLE_COMMAND_RE,
172
+ CommandReplayVerifier as CommandReplayVerifier,
173
+ DeterministicVerifier as DeterministicVerifier,
174
+ DifferentialVerifier as DifferentialVerifier,
175
+ EvidenceBundle as EvidenceBundle,
176
+ ModelEvaluator as ModelEvaluator,
177
+ StubModelEvaluator as StubModelEvaluator,
178
+ Verdict as Verdict,
179
+ VerificationReport as VerificationReport,
180
+ VerificationResult as VerificationResult,
181
+ Verifier as Verifier,
182
+ VerifierRunner as VerifierRunner,
183
+ default_verifiers as default_verifiers,
184
+ replayable_command as replayable_command,
185
+ )
186
+ from agentevo_local.workflows import (
187
+ ActionBinding as ActionBinding,
188
+ FallbackReason as FallbackReason,
189
+ StepContract as StepContract,
190
+ WorkflowCompiler as WorkflowCompiler,
191
+ WorkflowSpec as WorkflowSpec,
192
+ requires_canary_check as requires_canary_check,
193
+ resolve_fallback as resolve_fallback,
194
+ workflow_spec as workflow_spec,
195
+ )
196
+
197
+ __all__ = [
198
+ "CAPTURE_CLASSIFICATION",
199
+ "DEFAULT_APPROVAL_TTL",
200
+ "DEFAULT_KEY_OVERLAP",
201
+ "DEFAULT_QUEUE_MAX_BYTES",
202
+ "DEFAULT_QUEUE_MAX_ENTRIES",
203
+ "DEFAULT_RECALL_TYPES",
204
+ "DEK_BYTES",
205
+ "DETECTORS",
206
+ "ED25519_SEED_BYTES",
207
+ "FINGERPRINT_SCHEME",
208
+ "FINGERPRINT_V1_PREFIX",
209
+ "KEYRING_SERVICE",
210
+ "MAX_REVOCATION_REASON_LENGTH",
211
+ "PRIORITY_OBJECT",
212
+ "PRIORITY_TOMBSTONE",
213
+ "QUARANTINABLE_STATES",
214
+ "RECALLABLE_STATES",
215
+ "REPLAYABLE_COMMAND_RE",
216
+ "REVOCABLE_STATES",
217
+ "SCAN_STATES",
218
+ "SIGNING_KEY_BYTES",
219
+ "TRUSTED_MIN_REPORTS_FLOOR",
220
+ "VAULT_KEY_BYTES",
221
+ "VAULT_REF_PREFIX",
222
+ "ActionBinding",
223
+ "Adapter",
224
+ "AdapterError",
225
+ "ApprovalToken",
226
+ "AuditEntry",
227
+ "CaptureService",
228
+ "ClaudeCodeJSONLAdapter",
229
+ "CommandReplayVerifier",
230
+ "Detector",
231
+ "DeterministicVerifier",
232
+ "DeviceKeyRow",
233
+ "DeviceKeys",
234
+ "DifferentialVerifier",
235
+ "DrainOutcome",
236
+ "EnvironmentDescriptor",
237
+ "EvidenceBundle",
238
+ "ExperienceCompiler",
239
+ "FallbackReason",
240
+ "Finding",
241
+ "GuardContext",
242
+ "GuardEngine",
243
+ "GuardResult",
244
+ "HmacSigner",
245
+ "IngestReport",
246
+ "JudgeVerdict",
247
+ "KeyProvider",
248
+ "KeyringKeyProvider",
249
+ "LocalVault",
250
+ "LoopbackTransport",
251
+ "MemoryKeyProvider",
252
+ "MinimizedBody",
253
+ "ModelEvaluator",
254
+ "ModelJudge",
255
+ "ObjectRegistry",
256
+ "Outcome",
257
+ "OutcomeClassification",
258
+ "OutcomeClassifier",
259
+ "OutcomeSignals",
260
+ "PolicyAssessment",
261
+ "PromotionPolicy",
262
+ "PromotionService",
263
+ "PullOutcome",
264
+ "PushOutcome",
265
+ "QueuedEnvelope",
266
+ "RankedObject",
267
+ "RawRecord",
268
+ "RecallQuery",
269
+ "RecallResult",
270
+ "RecallRouter",
271
+ "RedactedPayload",
272
+ "RedactionResult",
273
+ "RevalidationFinding",
274
+ "RevalidationService",
275
+ "RevalidationTrigger",
276
+ "RevocationReason",
277
+ "RevocationSelection",
278
+ "RevocationService",
279
+ "RiskThreshold",
280
+ "RowError",
281
+ "SealedPayload",
282
+ "SecretResolver",
283
+ "SecretStore",
284
+ "Signer",
285
+ "SkippedDelta",
286
+ "StaticSecretResolver",
287
+ "StepContract",
288
+ "StoreOutcome",
289
+ "StoredVerification",
290
+ "StubModelEvaluator",
291
+ "SyncClient",
292
+ "SyncDeviceRow",
293
+ "SyncPolicy",
294
+ "SyncSelection",
295
+ "SyncTransport",
296
+ "VerificationReport",
297
+ "VerificationResult",
298
+ "VerificationTally",
299
+ "Verifier",
300
+ "VerifierRunner",
301
+ "WorkflowCompiler",
302
+ "WorkflowSpec",
303
+ "WorkspacePolicy",
304
+ "assert_no_secrets",
305
+ "assert_safe_for_egress",
306
+ "assess_layers",
307
+ "canonical_json",
308
+ "canonicalize",
309
+ "classify_compat",
310
+ "collect_signals",
311
+ "collect_vault_refs",
312
+ "content_hash",
313
+ "default_policy",
314
+ "default_verifiers",
315
+ "estimate_tokens",
316
+ "fingerprint_environment",
317
+ "fingerprint_events",
318
+ "generate_key",
319
+ "is_vault_ref",
320
+ "match_signature",
321
+ "may_auto_execute",
322
+ "minimize",
323
+ "minimize_tombstone",
324
+ "normalize_failure_key",
325
+ "object_signature_payload",
326
+ "open_body",
327
+ "parse_fingerprint",
328
+ "redact_payload",
329
+ "redact_text",
330
+ "replayable_command",
331
+ "requires_canary_check",
332
+ "resolve_arguments",
333
+ "resolve_fallback",
334
+ "risk_at_or_below",
335
+ "risk_severity",
336
+ "scan_payload",
337
+ "scan_text",
338
+ "scope_matches",
339
+ "seal_body",
340
+ "select_for_sync",
341
+ "session_failure_keys",
342
+ "shannon_entropy",
343
+ "tool_risk",
344
+ "validity_expired",
345
+ "verify_envelope_signature",
346
+ "workflow_spec",
347
+ "workspace_dek",
348
+ ]