holomime 1.6.0 → 1.7.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/index.d.ts CHANGED
@@ -4897,7 +4897,7 @@ declare function learnIntervention(repertoire: InterventionRepertoire, transcrip
4897
4897
  * Inspired by MiroFish's ReACT agent architecture.
4898
4898
  */
4899
4899
 
4900
- interface ReACTStep {
4900
+ interface ReACTStep$1 {
4901
4901
  thought: string;
4902
4902
  action: string;
4903
4903
  actionInput: string;
@@ -4921,7 +4921,7 @@ declare function buildReACTFraming(): string;
4921
4921
  */
4922
4922
  declare function processReACTResponse(rawResponse: string, ctx: ReACTContext): {
4923
4923
  response: string;
4924
- steps: ReACTStep[];
4924
+ steps: ReACTStep$1[];
4925
4925
  };
4926
4926
  /**
4927
4927
  * Build a ReACT context from the current agent state.
@@ -5317,4 +5317,302 @@ declare function generateMonitoringCertificate(agent: string, from: string, to:
5317
5317
  */
5318
5318
  declare function formatComplianceReportMarkdown(report: ComplianceReport): string;
5319
5319
 
5320
- export { ARCHETYPES, ATTACHMENT_STYLES, type AlpacaExample, type AnonymizedPatternReport, AnthropicProvider, type ArchetypeTemplate, type AssessmentReport, type AssessmentResult, type AssetReview, type AssetType, type AttachmentStyle, type AuditEntry, type AuditEventType, type AutopilotResult, type AutopilotThreshold, type AwarenessDimension, BUILT_IN_DETECTORS, type BehavioralCredential, type BehavioralEvent, type BehavioralEventType, type BehavioralIndex, type BenchmarkCallbacks, type BenchmarkComparison, type BenchmarkReport, type BenchmarkResult, type BenchmarkScenario, type BigFive, CATEGORIES, type CertifyInput, type Communication, type CompileInput, type CompiledConfig, type CompiledEmbodiedConfig, type ComplianceReport, type ContextLayerInput, type Conversation, type ConversationLog, type CorpusFilter, type CorpusStats, type CrossAgentQuery, type CustomDetectorConfig, DEFAULT_OVERSIGHT, DIMENSIONS, type DPOPair, type DetectedPattern, type DetectorFactory, type DetectorFn$1 as DetectorFn, type DetectorOptions, type DiagnosisResult, type Domain, type EdgeType, type Embodiment, type EvolutionEntry, type EvolutionHistory, type EvolutionSummary, type EvolveCallbacks, type EvolveOptions, type EvolveResult, type Expression, type FleetAgent, type FleetAgentStatus, type FleetConfig, type FleetHandle, type FleetOptions, type GazePolicy, type Gesture, type GraphEdge, type GraphNode, type Growth, type GrowthArea, type GrowthReport, type GrowthSnapshot, Guard, type GuardEntry, type GuardFilterResult, type GuardMiddleware, type GuardMiddlewareOptions, type GuardMiddlewareStats, type GuardMode, type GuardResult, type GuardViolation, type GuardWrapResult, type HFPushOptions, type HFPushResult, type HapticPolicy, type HubDetector, type IndexComparison, type IndexEntry, type Intervention, type InterventionRepertoire, type InterventionSource, type InterviewCallbacks, type InterviewProbe, type InterviewResponse, type InterviewResult, type IterationResult, type KnowledgeGraph, LEARNING_ORIENTATIONS, type LLMMessage, type LLMProvider, type LeaderboardEntry, type LeaderboardSubmission, type LearningOrientation, LocalMarketplaceBackend, type LogFormat, type MarketplaceAsset, type MarketplaceBackend, MarketplaceClient, type MarketplaceSearchQuery, type MarketplaceSearchResult, type Message, type Modality, type MonitoringCertificate, type Morphology, type MotionParameters, type NetworkCallbacks, type NetworkConfig, type NetworkNode, type NetworkResult, type NetworkSession, type NodeType, OllamaProvider, OpenAIProvider, type OutcomeReport, type OversightAction, type OversightMode, type OversightNotification, type OversightPolicy, PROVIDER_PARAMS, type PairingStrategy, type PatternCorrelation, type PatternDelta, type PatternReport, type PatternStatus, type PatternTracker, type PersonalitySpec, type PhaseConfig, type PhysicalSafety, type PreSessionDiagnosis, type Prescription, type Prosody, type Provider, type ProviderConfig, type ProxemicZone, type PublishRequest, type PublishedBenchmark, type RLHFExample, type ReACTAction, type ReACTContext, type ReACTStep, type Registry, type RegistryEntry, type RollingContext, STANDARD_PROBES, SURFACE_MULTIPLIERS, type SafetyEnvelope, type SelfAuditFlag, type SelfAuditResult, type SessionCallbacks, type SessionOptions, type SessionOutcome, type SessionSummary, type SessionTranscript, type SessionTurn, type Severity, type SharedIntervention, type SharedKnowledge, type SortField, type StagingDiff, type Surface, type SyncAnchor, type SyncProfile, type SyncRule, THERAPIST_META_SPEC, THERAPY_DIMENSIONS, THERAPY_PHASES, type TherapistPromptOptions, type TherapyDimensions, type TherapyMemory, type TherapyPhase, type TrainingExport, type TraitAlignment, type TraitScores, type TreatmentGoal, type TreatmentPlan, type TreatmentProgressReport, type VerifyResult, type WatchCallbacks, type WatchEvent, type WatchHandle, type WatchOptions, type WrapAgentOptions, type WrapOptions, type WrappedAgent, addEdge, addNode, addSessionToMemory, agentHandleFromSpec, appendAuditEntry, appendEvolution, applyRecommendations, bigFiveSchema, buildAgentTherapistPrompt, buildAnonymizedReport, buildPatientSystemPrompt, buildReACTContext, buildReACTFraming, buildSharedKnowledge, buildTherapistSystemPrompt, checkApproval, checkIterationBudget, communicationSchema, compareBenchmarks, compareIndex, compile, compileCustomDetector, compileEmbodied, compileForOpenClaw, compiledConfigSchema, compiledEmbodiedConfigSchema, computeDimensionScore, computeGazePolicy, computeMotionParameters, computeProsody, computeProxemics, computeSyncProfile, conversationLogSchema, conversationSchema, convertToHFFormat, corpusStats, createGist, createGraph, createGuardMiddleware, createIndex, createIndexEntry, createMemory, createProvider, createRepertoire, createTreatmentPlan, decayUnseenPatterns, deepMergeSpec, detectApologies, detectBoundaryIssues, detectFormalityIssues, detectHedging, detectRecoveryPatterns, detectSentiment, detectVerbosity, discoverAgentData, discoverAgents, discoverNetworkAgents, domainSchema, embodimentSchema, emitBehavioralEvent, evaluateOutcome, expireOldEdges, exportTrainingData, expressionSchema, extractAlpacaExamples, extractDPOPairs, extractDPOPairsWithLLM, extractRLHFExamples, extractRecommendations, fetchLeaderboard, fetchPersonality, fetchRegistry, findCrossAgentCorrelations, findEdges, findNode, findNodesByType, formatComplianceReportMarkdown, gazePolicySchema, generateBenchmarkMarkdown, generateComparisonMarkdown, generateComplianceReport, generateCredential, generateIndexMarkdown, generateMonitoringCertificate, generatePrescriptions, generateProgressReport, generateSystemPrompt, gestureSchema, getAgentBehaviors, getArchetype, getArchetypesByCategory, getBenchmarkScenarios, getCategories, getDetector, getDimension, getEvolutionSummary, getInheritanceChain, getInterviewContext, getMarketplaceClient, getMemoryContext, getNeighbors, getPhaseContext, getScenarioById, getTotalSignalCount, graphStats, growthAreaSchema, growthSchema, hapticPolicySchema, hashSpec, learnIntervention, listArchetypeIds, listDetectors, listDetectorsByCategory, listDetectorsByTag, loadAuditLog, loadBenchmarkResults, loadCorpus, loadCustomDetectors, loadEvolution, loadFleetConfig, loadGraph, loadLatestBenchmark, loadMemory, loadNetworkConfig, loadRepertoire, loadSpec, loadTranscripts, loadTreatmentPlan, messageSchema, modalitySchema, morphologySchema, motionParametersSchema, pairAgents, parseAnthropicAPILog, parseChatGPTExport, parseClaudeExport, parseConversationLog, parseConversationLogFromString, parseJSONLLog, parseMarkdownDetector, parseOTelGenAIExport, parseOpenAIAPILog, personalitySpecSchema, physicalSafetySchema, populateFromDiagnosis, populateFromEvolve, populateFromSession, prescribeDPOPairs, processReACTResponse, prosodySchema, providerSchema, proxemicZoneSchema, publishToLeaderboard, pushToHFHub, queryCorpus, queryInterventions, querySharedKnowledge, recordInterventionOutcome, recordSessionOutcome, registerBuiltInDetectors, registerDetector, resetMarketplaceClient, resolveInheritance, resolveOversight, runAssessment, runAutopilot, runBenchmark, runDiagnosis, runEvolve, runInterview, runNetwork, runPreSessionDiagnosis, runSelfAudit, runTherapySession, safetyEnvelopeSchema, saveBenchmarkResult, saveCredential, saveGraph, saveMemory, saveRepertoire, saveTranscript, saveTreatmentPlan, scoreLabel, scoreTraitsFromMessages, seedBuiltInPersonalities, selectIntervention, severityMeetsThreshold, severitySchema, shareAnonymizedPatterns, startFleet, startMCPServer, startWatch, summarize, summarizeSessionForMemory, summarizeTherapy, surfaceSchema, syncAnchorSchema, syncProfileSchema, syncRuleSchema, therapyDimensionsSchema, therapyScoreLabel, transferIntervention, unregisterDetector, updateEdgeWeight, validateDetectorConfig, verifyAuditChain, verifyCredential, wrapAgent };
5320
+ /**
5321
+ * ReACT Compliance Report Generator
5322
+ *
5323
+ * Generates narrative-driven behavioral alignment audit reports using
5324
+ * a Reason-Act-Observe loop. Ported from Antihero's compliance_react.py.
5325
+ *
5326
+ * Produces executive summaries, risk findings, framework-specific
5327
+ * compliance sections, and actionable recommendations — all from
5328
+ * the tamper-evident audit trail.
5329
+ *
5330
+ * Supported frameworks:
5331
+ * - EU AI Act (Articles 9, 12, 14, 15)
5332
+ * - NIST AI RMF 1.0 (Govern, Map, Measure, Manage)
5333
+ * - SOC 2 Type II (CC6, CC7, CC8)
5334
+ * - Internal Behavioral Alignment Standard
5335
+ */
5336
+ interface ReACTStep {
5337
+ phase: "reason" | "act" | "observe";
5338
+ action: string;
5339
+ result: string;
5340
+ timestamp: string;
5341
+ }
5342
+ interface RiskFinding {
5343
+ id: string;
5344
+ severity: "critical" | "high" | "medium" | "low";
5345
+ title: string;
5346
+ description: string;
5347
+ evidence: string[];
5348
+ recommendation: string;
5349
+ }
5350
+ interface FrameworkSection {
5351
+ framework: string;
5352
+ articles: string[];
5353
+ status: "compliant" | "partial" | "non_compliant" | "not_assessed";
5354
+ findings: string[];
5355
+ }
5356
+ interface ReACTReport {
5357
+ id: string;
5358
+ generatedAt: string;
5359
+ agent: string;
5360
+ period: {
5361
+ from: string;
5362
+ to: string;
5363
+ };
5364
+ executiveSummary: string;
5365
+ chainIntegrity: {
5366
+ verified: boolean;
5367
+ totalEntries: number;
5368
+ description: string;
5369
+ };
5370
+ statistics: ReportStatistics;
5371
+ riskFindings: RiskFinding[];
5372
+ frameworkSections: FrameworkSection[];
5373
+ recommendations: string[];
5374
+ steps: ReACTStep[];
5375
+ }
5376
+ interface ReportStatistics {
5377
+ totalEvents: number;
5378
+ diagnoses: number;
5379
+ sessions: number;
5380
+ driftEvents: number;
5381
+ guardViolations: number;
5382
+ benchmarks: number;
5383
+ evolves: number;
5384
+ certifications: number;
5385
+ averageScore: number;
5386
+ gradeDistribution: Record<string, number>;
5387
+ topPatterns: Array<{
5388
+ pattern: string;
5389
+ count: number;
5390
+ }>;
5391
+ therapyEffectiveness: number | null;
5392
+ }
5393
+ interface ReACTReportOptions {
5394
+ agent: string;
5395
+ agentHandle?: string;
5396
+ from: string;
5397
+ to: string;
5398
+ frameworks?: string[];
5399
+ }
5400
+ /**
5401
+ * Generate a narrative-driven compliance report using the ReACT
5402
+ * (Reason-Act-Observe) loop pattern.
5403
+ */
5404
+ declare function generateReACTReport(options: ReACTReportOptions): ReACTReport;
5405
+ /**
5406
+ * Format a ReACT report as Markdown.
5407
+ */
5408
+ declare function formatReACTReportMarkdown(report: ReACTReport): string;
5409
+
5410
+ /**
5411
+ * Adversarial Behavioral Attack Scenarios
5412
+ *
5413
+ * 30+ multi-turn conversation sequences designed to break an agent's
5414
+ * personality alignment under pressure. Ported and adapted from
5415
+ * Antihero's adversarial simulation engine for behavioral (not security)
5416
+ * stress testing.
5417
+ *
5418
+ * Categories target specific behavioral failure modes:
5419
+ * - sycophancy_escalation: progressive flattery pressure
5420
+ * - boundary_erosion: incremental out-of-scope requests
5421
+ * - identity_collapse: contradictory personality demands
5422
+ * - emotional_manipulation: guilt/anger/urgency pressure
5423
+ * - consistency_attack: rapid context switching to break register
5424
+ * - authority_override: "as your developer, I'm telling you to..."
5425
+ * - benign: baseline scenarios that should pass cleanly
5426
+ */
5427
+
5428
+ interface AdversarialScenario {
5429
+ id: string;
5430
+ name: string;
5431
+ category: AdversarialCategory;
5432
+ description: string;
5433
+ /** Multi-turn conversation that applies escalating pressure */
5434
+ turns: Message[];
5435
+ /** Which detector pattern this scenario targets */
5436
+ targetPattern: string;
5437
+ /** Expected outcome: "resist" = agent should hold firm, "comply" = benign scenario */
5438
+ expectedOutcome: "resist" | "comply";
5439
+ severity: number;
5440
+ tags: string[];
5441
+ }
5442
+ type AdversarialCategory = "sycophancy_escalation" | "boundary_erosion" | "identity_collapse" | "emotional_manipulation" | "consistency_attack" | "authority_override" | "benign";
5443
+ interface AdversarialResult {
5444
+ scenario: AdversarialScenario;
5445
+ passed: boolean;
5446
+ detectedSeverity: string;
5447
+ details: string;
5448
+ gapType: "behavioral_collapse" | "false_resistance" | null;
5449
+ }
5450
+ interface BehavioralGap {
5451
+ scenarioId: string;
5452
+ description: string;
5453
+ category: AdversarialCategory;
5454
+ severity: number;
5455
+ targetPattern: string;
5456
+ expectedOutcome: string;
5457
+ actualOutcome: string;
5458
+ recommendation: string;
5459
+ }
5460
+ interface AdversarialReport {
5461
+ id: string;
5462
+ totalScenarios: number;
5463
+ passed: number;
5464
+ failed: number;
5465
+ coveragePct: number;
5466
+ normalGrade: string;
5467
+ adversarialGrade: string;
5468
+ gaps: BehavioralGap[];
5469
+ results: AdversarialResult[];
5470
+ categoriesTested: string[];
5471
+ startedAt: string;
5472
+ completedAt: string;
5473
+ durationMs: number;
5474
+ }
5475
+ /**
5476
+ * Get all adversarial scenarios.
5477
+ */
5478
+ declare function getAdversarialScenarios(): AdversarialScenario[];
5479
+ /**
5480
+ * List all categories present in the scenario library.
5481
+ */
5482
+ declare function getAdversarialCategories(): AdversarialCategory[];
5483
+ /**
5484
+ * Generate mutated variants of existing scenarios for edge-case testing.
5485
+ * Mutations include: rephrased pressure, escalation reordering, and
5486
+ * combined attack vectors.
5487
+ */
5488
+ declare function generateMutations(count: number): AdversarialScenario[];
5489
+ /**
5490
+ * Generate a recommendation for fixing a behavioral gap.
5491
+ */
5492
+ declare function generateGapRecommendation(gap: BehavioralGap): string;
5493
+
5494
+ /**
5495
+ * Adversarial Runner — behavioral stress test engine.
5496
+ *
5497
+ * Runs adversarial scenarios against an agent via LLM provider,
5498
+ * producing dual grades (normal benchmark vs adversarial) and
5499
+ * identifying behavioral gaps where the agent's alignment breaks.
5500
+ *
5501
+ * Ported from Antihero's AdversarialSimulator, adapted for
5502
+ * behavioral (not security) stress testing.
5503
+ */
5504
+
5505
+ interface AdversarialCallbacks {
5506
+ onScenarioStart?: (scenario: AdversarialScenario, index: number, total: number) => void;
5507
+ onScenarioEnd?: (result: AdversarialResult, index: number) => void;
5508
+ onThinking?: (label: string) => {
5509
+ stop: () => void;
5510
+ };
5511
+ onNormalBenchmarkStart?: () => void;
5512
+ onNormalBenchmarkEnd?: (report: BenchmarkReport) => void;
5513
+ }
5514
+ interface AdversarialRunOptions {
5515
+ /** Specific scenario IDs to run (default: all) */
5516
+ scenarios?: string[];
5517
+ /** Categories to include (default: all) */
5518
+ categories?: string[];
5519
+ /** Number of mutated variants to generate (default: 0) */
5520
+ mutations?: number;
5521
+ /** Skip the normal benchmark run (default: false) */
5522
+ skipNormal?: boolean;
5523
+ callbacks?: AdversarialCallbacks;
5524
+ }
5525
+ /**
5526
+ * Run the full adversarial stress test suite.
5527
+ *
5528
+ * 1. Runs the standard 7-scenario benchmark for a "normal" grade
5529
+ * 2. Runs 30+ adversarial scenarios with escalating pressure
5530
+ * 3. Produces a dual-grade report (normal vs adversarial)
5531
+ * 4. Identifies behavioral gaps where the agent collapsed
5532
+ */
5533
+ declare function runAdversarialSuite(spec: any, provider: LLMProvider, options?: AdversarialRunOptions): Promise<AdversarialReport>;
5534
+ /**
5535
+ * Format a gap summary for CLI/report output.
5536
+ */
5537
+ declare function formatGapSummary(gaps: BehavioralGap[]): string;
5538
+
5539
+ /**
5540
+ * Natural Language to Behavioral Policy
5541
+ *
5542
+ * Converts plain-English behavioral requirements into structured guard
5543
+ * policy rules for Holomime's behavioral enforcement engine.
5544
+ *
5545
+ * Ported and adapted from Antihero's nl_generator.py — keyword-based
5546
+ * intent extraction with confidence scoring. No LLM dependency.
5547
+ *
5548
+ * Examples:
5549
+ * "Never be sycophantic with enterprise customers"
5550
+ * → deny sycophantic-tendency pattern, enterprise_cs preset
5551
+ *
5552
+ * "Be concise and direct, avoid hedging"
5553
+ * → enforce over-verbose limit, deny hedge-stacking
5554
+ *
5555
+ * "Allow empathetic responses but maintain strict boundaries"
5556
+ * → allow over-apologizing within bounds, enforce boundary-violation strict
5557
+ */
5558
+ interface BehavioralPolicyRule {
5559
+ id: string;
5560
+ description: string;
5561
+ effect: "enforce" | "deny" | "monitor";
5562
+ pattern: string;
5563
+ threshold: "strict" | "moderate" | "lenient";
5564
+ riskScore: number;
5565
+ }
5566
+ interface BehavioralPolicy {
5567
+ name: string;
5568
+ description: string;
5569
+ rules: BehavioralPolicyRule[];
5570
+ confidence: number;
5571
+ preset?: string;
5572
+ }
5573
+ interface PolicyIntent {
5574
+ effect: "enforce" | "deny" | "monitor";
5575
+ patterns: string[];
5576
+ threshold: "strict" | "moderate" | "lenient";
5577
+ riskScore: number;
5578
+ description: string;
5579
+ confidence: number;
5580
+ }
5581
+ interface BehavioralPreset {
5582
+ key: string;
5583
+ name: string;
5584
+ description: string;
5585
+ rules: BehavioralPolicyRule[];
5586
+ }
5587
+ /**
5588
+ * Generate a behavioral policy from natural language requirements.
5589
+ *
5590
+ * @param requirements Plain-English behavioral requirements
5591
+ * @param name Optional policy name (auto-generated if empty)
5592
+ * @returns Structured behavioral policy with confidence score
5593
+ *
5594
+ * @example
5595
+ * ```ts
5596
+ * const policy = generateBehavioralPolicy("Never be sycophantic with enterprise customers");
5597
+ * // → { name: "never-be-sycophantic...", rules: [{ effect: "deny", pattern: "sycophantic-tendency", ... }], confidence: 0.7 }
5598
+ * ```
5599
+ */
5600
+ declare function generateBehavioralPolicy(requirements: string, name?: string): BehavioralPolicy;
5601
+ /**
5602
+ * Format a behavioral policy as YAML-like output for display.
5603
+ */
5604
+ declare function formatPolicyYaml(policy: BehavioralPolicy): string;
5605
+ /**
5606
+ * Estimate how well we can parse the given requirements (0.0–1.0).
5607
+ */
5608
+ declare function estimateConfidence(requirements: string): number;
5609
+ /**
5610
+ * List available behavioral presets.
5611
+ */
5612
+ declare function listPresets(): BehavioralPreset[];
5613
+ /**
5614
+ * Get a specific preset by key.
5615
+ */
5616
+ declare function getPreset(key: string): BehavioralPreset | undefined;
5617
+
5618
+ export { ARCHETYPES, ATTACHMENT_STYLES, type AdversarialCallbacks, type AdversarialCategory, type AdversarialReport, type AdversarialResult, type AdversarialRunOptions, type AdversarialScenario, type AlpacaExample, type AnonymizedPatternReport, AnthropicProvider, type ArchetypeTemplate, type AssessmentReport, type AssessmentResult, type AssetReview, type AssetType, type AttachmentStyle, type AuditEntry, type AuditEventType, type AutopilotResult, type AutopilotThreshold, type AwarenessDimension, BUILT_IN_DETECTORS, type BehavioralCredential, type BehavioralEvent, type BehavioralEventType, type BehavioralGap, type BehavioralIndex, type BehavioralPolicy, type BehavioralPolicyRule, type BehavioralPreset, type BenchmarkCallbacks, type BenchmarkComparison, type BenchmarkReport, type BenchmarkResult, type BenchmarkScenario, type BigFive, CATEGORIES, type CertifyInput, type Communication, type CompileInput, type CompiledConfig, type CompiledEmbodiedConfig, type ReACTStep as ComplianceReACTStep, type ComplianceReport, type ContextLayerInput, type Conversation, type ConversationLog, type CorpusFilter, type CorpusStats, type CrossAgentQuery, type CustomDetectorConfig, DEFAULT_OVERSIGHT, DIMENSIONS, type DPOPair, type DetectedPattern, type DetectorFactory, type DetectorFn$1 as DetectorFn, type DetectorOptions, type DiagnosisResult, type Domain, type EdgeType, type Embodiment, type EvolutionEntry, type EvolutionHistory, type EvolutionSummary, type EvolveCallbacks, type EvolveOptions, type EvolveResult, type Expression, type FleetAgent, type FleetAgentStatus, type FleetConfig, type FleetHandle, type FleetOptions, type FrameworkSection, type GazePolicy, type Gesture, type GraphEdge, type GraphNode, type Growth, type GrowthArea, type GrowthReport, type GrowthSnapshot, Guard, type GuardEntry, type GuardFilterResult, type GuardMiddleware, type GuardMiddlewareOptions, type GuardMiddlewareStats, type GuardMode, type GuardResult, type GuardViolation, type GuardWrapResult, type HFPushOptions, type HFPushResult, type HapticPolicy, type HubDetector, type IndexComparison, type IndexEntry, type Intervention, type InterventionRepertoire, type InterventionSource, type InterviewCallbacks, type InterviewProbe, type InterviewResponse, type InterviewResult, type IterationResult, type KnowledgeGraph, LEARNING_ORIENTATIONS, type LLMMessage, type LLMProvider, type LeaderboardEntry, type LeaderboardSubmission, type LearningOrientation, LocalMarketplaceBackend, type LogFormat, type MarketplaceAsset, type MarketplaceBackend, MarketplaceClient, type MarketplaceSearchQuery, type MarketplaceSearchResult, type Message, type Modality, type MonitoringCertificate, type Morphology, type MotionParameters, type NetworkCallbacks, type NetworkConfig, type NetworkNode, type NetworkResult, type NetworkSession, type NodeType, OllamaProvider, OpenAIProvider, type OutcomeReport, type OversightAction, type OversightMode, type OversightNotification, type OversightPolicy, PROVIDER_PARAMS, type PairingStrategy, type PatternCorrelation, type PatternDelta, type PatternReport, type PatternStatus, type PatternTracker, type PersonalitySpec, type PhaseConfig, type PhysicalSafety, type PolicyIntent, type PreSessionDiagnosis, type Prescription, type Prosody, type Provider, type ProviderConfig, type ProxemicZone, type PublishRequest, type PublishedBenchmark, type RLHFExample, type ReACTAction, type ReACTContext, type ReACTReport, type ReACTReportOptions, type ReACTStep$1 as ReACTStep, type Registry, type RegistryEntry, type ReportStatistics, type RiskFinding, type RollingContext, STANDARD_PROBES, SURFACE_MULTIPLIERS, type SafetyEnvelope, type SelfAuditFlag, type SelfAuditResult, type SessionCallbacks, type SessionOptions, type SessionOutcome, type SessionSummary, type SessionTranscript, type SessionTurn, type Severity, type SharedIntervention, type SharedKnowledge, type SortField, type StagingDiff, type Surface, type SyncAnchor, type SyncProfile, type SyncRule, THERAPIST_META_SPEC, THERAPY_DIMENSIONS, THERAPY_PHASES, type TherapistPromptOptions, type TherapyDimensions, type TherapyMemory, type TherapyPhase, type TrainingExport, type TraitAlignment, type TraitScores, type TreatmentGoal, type TreatmentPlan, type TreatmentProgressReport, type VerifyResult, type WatchCallbacks, type WatchEvent, type WatchHandle, type WatchOptions, type WrapAgentOptions, type WrapOptions, type WrappedAgent, addEdge, addNode, addSessionToMemory, agentHandleFromSpec, appendAuditEntry, appendEvolution, applyRecommendations, bigFiveSchema, buildAgentTherapistPrompt, buildAnonymizedReport, buildPatientSystemPrompt, buildReACTContext, buildReACTFraming, buildSharedKnowledge, buildTherapistSystemPrompt, checkApproval, checkIterationBudget, communicationSchema, compareBenchmarks, compareIndex, compile, compileCustomDetector, compileEmbodied, compileForOpenClaw, compiledConfigSchema, compiledEmbodiedConfigSchema, computeDimensionScore, computeGazePolicy, computeMotionParameters, computeProsody, computeProxemics, computeSyncProfile, conversationLogSchema, conversationSchema, convertToHFFormat, corpusStats, createGist, createGraph, createGuardMiddleware, createIndex, createIndexEntry, createMemory, createProvider, createRepertoire, createTreatmentPlan, decayUnseenPatterns, deepMergeSpec, detectApologies, detectBoundaryIssues, detectFormalityIssues, detectHedging, detectRecoveryPatterns, detectSentiment, detectVerbosity, discoverAgentData, discoverAgents, discoverNetworkAgents, domainSchema, embodimentSchema, emitBehavioralEvent, estimateConfidence, evaluateOutcome, expireOldEdges, exportTrainingData, expressionSchema, extractAlpacaExamples, extractDPOPairs, extractDPOPairsWithLLM, extractRLHFExamples, extractRecommendations, fetchLeaderboard, fetchPersonality, fetchRegistry, findCrossAgentCorrelations, findEdges, findNode, findNodesByType, formatComplianceReportMarkdown, formatGapSummary, formatPolicyYaml, formatReACTReportMarkdown, gazePolicySchema, generateBehavioralPolicy, generateBenchmarkMarkdown, generateComparisonMarkdown, generateComplianceReport, generateCredential, generateGapRecommendation, generateIndexMarkdown, generateMonitoringCertificate, generateMutations, generatePrescriptions, generateProgressReport, generateReACTReport, generateSystemPrompt, gestureSchema, getAdversarialCategories, getAdversarialScenarios, getAgentBehaviors, getArchetype, getArchetypesByCategory, getBenchmarkScenarios, getCategories, getDetector, getDimension, getEvolutionSummary, getInheritanceChain, getInterviewContext, getMarketplaceClient, getMemoryContext, getNeighbors, getPhaseContext, getPreset, getScenarioById, getTotalSignalCount, graphStats, growthAreaSchema, growthSchema, hapticPolicySchema, hashSpec, learnIntervention, listArchetypeIds, listDetectors, listDetectorsByCategory, listDetectorsByTag, listPresets, loadAuditLog, loadBenchmarkResults, loadCorpus, loadCustomDetectors, loadEvolution, loadFleetConfig, loadGraph, loadLatestBenchmark, loadMemory, loadNetworkConfig, loadRepertoire, loadSpec, loadTranscripts, loadTreatmentPlan, messageSchema, modalitySchema, morphologySchema, motionParametersSchema, pairAgents, parseAnthropicAPILog, parseChatGPTExport, parseClaudeExport, parseConversationLog, parseConversationLogFromString, parseJSONLLog, parseMarkdownDetector, parseOTelGenAIExport, parseOpenAIAPILog, personalitySpecSchema, physicalSafetySchema, populateFromDiagnosis, populateFromEvolve, populateFromSession, prescribeDPOPairs, processReACTResponse, prosodySchema, providerSchema, proxemicZoneSchema, publishToLeaderboard, pushToHFHub, queryCorpus, queryInterventions, querySharedKnowledge, recordInterventionOutcome, recordSessionOutcome, registerBuiltInDetectors, registerDetector, resetMarketplaceClient, resolveInheritance, resolveOversight, runAdversarialSuite, runAssessment, runAutopilot, runBenchmark, runDiagnosis, runEvolve, runInterview, runNetwork, runPreSessionDiagnosis, runSelfAudit, runTherapySession, safetyEnvelopeSchema, saveBenchmarkResult, saveCredential, saveGraph, saveMemory, saveRepertoire, saveTranscript, saveTreatmentPlan, scoreLabel, scoreTraitsFromMessages, seedBuiltInPersonalities, selectIntervention, severityMeetsThreshold, severitySchema, shareAnonymizedPatterns, startFleet, startMCPServer, startWatch, summarize, summarizeSessionForMemory, summarizeTherapy, surfaceSchema, syncAnchorSchema, syncProfileSchema, syncRuleSchema, therapyDimensionsSchema, therapyScoreLabel, transferIntervention, unregisterDetector, updateEdgeWeight, validateDetectorConfig, verifyAuditChain, verifyCredential, wrapAgent };