holomime 2.3.0 → 2.4.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/README.md CHANGED
@@ -96,6 +96,7 @@ holomime embody --body registry/bodies/figure-02.body.api
96
96
  | MuJoCo | Behavioral therapy in simulation -- sim-to-real for behavior | `mujoco-env.ts` + `sim-therapy.ts` |
97
97
  | NVIDIA Isaac Sim | Enterprise digital twin testing with PhysX physics | `--adapter isaac` + `isaac-env.ts` |
98
98
  | LeRobot (HuggingFace) | Personality to policy parameter mapping, DPO dataset export | `lerobot.ts` |
99
+ | NVIDIA Kimodo | Personality → motion style | `kimodo-personality-mapper.ts` |
99
100
  | Unity | Real-time personality push via HTTP/SSE | `--adapter unity` |
100
101
  | gRPC | Custom robotics stacks | `--adapter grpc` |
101
102
  | MQTT | IoT/edge robots | `--adapter mqtt` |
package/dist/index.d.ts CHANGED
@@ -7831,4 +7831,78 @@ declare function decomposeSpec(spec: Record<string, unknown>): DecomposedStack;
7831
7831
  */
7832
7832
  declare function loadSpecWithStack(specPath: string): any;
7833
7833
 
7834
- export { ARCHETYPES, ATTACHMENT_STYLES, type AdversarialCallbacks, type AdversarialCategory, type AdversarialReport, type AdversarialResult, type AdversarialRunOptions, type AdversarialScenario, type AgentSpawnConfig, 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 BehavioralBaseline, type BehavioralCredential, type BehavioralEvent, type BehavioralEventType, type BehavioralGap, type BehavioralIndex, type BehavioralMemoryStore, type BehavioralPolicy, type BehavioralPolicyRule, type BehavioralPreset, type BehavioralQuery, type BenchmarkCallbacks, type BenchmarkComparison, type BenchmarkReport, type BenchmarkResult, type BenchmarkScenario, type BigFive, type Body, CATEGORIES, type CallbackMode, type CallbackStats, type CallbackViolation, type CertifyInput, type ClauseStatus, type Communication, type CompactionResult, type CompactionSummary, type CompileInput, type CompiledConfig, type CompiledEmbodiedConfig, type ComplianceCoverageReport, type ReACTStep as ComplianceReACTStep, type ComplianceReport, type ComplianceReportJSON, type Conscience, type ConscienceConfig, type ConscienceGateResult, type ConscienceRule, type ContextLayerInput, type Conversation, type ConversationLog, type CorpusFilter, type CorpusStats, type CorrectionRecord, type CrossAgentQuery, type CustomDetectorConfig, DEFAULT_MODEL_CONFIG, DEFAULT_OVERSIGHT, DIMENSIONS, type DPOPair, type DetectedPattern, type DetectorFactory, type DetectorFn$1 as DetectorFn, type DetectorOptions, type DiagnosisResult, type DimensionTrajectory, type Domain, type DriftTrigger, type EdgeType, type Ego, type Embodiment, type EvolutionEntry, type EvolutionHistory, type EvolutionSummary, type EvolveCallbacks, type EvolveOptions, type EvolveResult, type Expression, type ExtractionResult, 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, HolomimeCallbackHandler, type HolomimeCallbackOptions, HolomimeViolationError, type HubDetector, type ISOClause, type ISOStandard, type IndexComparison, type IndexEntry, type Intervention, type InterventionRepertoire, type InterventionSource, type InterviewCallbacks, type InterviewProbe, type InterviewResponse, type InterviewResult, type IterationResult, KNOWN_STANDARDS, 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 Memory, MemoryLevel, type MemoryNode, type MemoryOperation, type MemoryOperations, type Message, type Mind, type Modality, type ModelConfig, ModelRouter, type MonitoringCertificate, type Morphology, type MotionParameters, type NetworkCallbacks, type NetworkConfig, type NetworkNode, type NetworkResult, type NetworkSession, type NodeType, OllamaProvider, OpenAIProvider, type OpenClawPluginApi, type OpenClawPluginConfig, 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 PersonalityTier, type PhaseConfig, type PhysicalSafety, type PolicyIntent, type PreSessionDiagnosis, type Prescription, type Prosody, type Provider, type ProviderConfig, type ProxemicZone, type PublishRequest, type PublishedBenchmark, type Purpose, type QueryResult, type RLHFExample, type ReACTAction, type ReACTContext, type ReACTReport, type ReACTReportOptions, type ReACTStep$1 as ReACTStep, type Registry, type RegistryEntry, type ReportStatistics, type RetrievalStep, type RiskFinding, type RollingContext, STACK_FILES, STANDARD_PROBES, SURFACE_MULTIPLIERS, type SafetyEnvelope, type SelfAuditFlag, type SelfAuditResult, type SelfObservation, type SessionCallbacks, type SessionLog, type SessionOptions, type SessionOutcome, type SessionSummary, type SessionTranscript, type SessionTurn, type Severity, type Shadow, type SharedIntervention, type SharedKnowledge, type SortField, type Soul, type StackCompileResult, type StackLayer, type StackSource, 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 TieredPersonality, 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, applyMemoryOperations, applyRecommendations, bigFiveSchema, bodySchema, buildAgentTherapistPrompt, buildAnonymizedReport, buildPatientSystemPrompt, buildReACTContext, buildReACTFraming, buildSharedKnowledge, buildTherapistSystemPrompt, checkApproval, checkCompliance, checkIterationBudget, communicationSchema, compactEvolutionRun, compactIteration, compareBenchmarks, compareIndex, compile, compileCustomDetector, compileEmbodied, compileForOpenClaw, compileL0, compileL1, compileL2, compileMemoryForPrompt, compileStack, compileTiered, compiledConfigSchema, compiledEmbodiedConfigSchema, computeDimensionScore, computeGazePolicy, computeMotionParameters, computeProsody, computeProxemics, computeSyncProfile, conscienceSchema, conversationLogSchema, conversationSchema, convertToHFFormat, copyToClipboard, corpusStats, createBehavioralMemory, createGist, createGraph, createGuardMiddleware, createIndex, createIndexEntry, createMemory, createProvider, createRepertoire, createTreatmentPlan, decayUnseenPatterns, decomposeSpec, deepMergeSpec, detectApologies, detectBoundaryIssues, detectFormalityIssues, detectHedging, detectRecoveryPatterns, detectRetrievalQuality, detectSentiment, detectVerbosity, discoverAgentData, discoverAgents, discoverNetworkAgents, domainSchema, egoSchema, embodimentSchema, emitBehavioralEvent, encodeSnapshot, estimateConfidence, evaluateConscienceGate, evaluateOutcome, expireOldEdges, exportTrainingData, expressionSchema, extractAlpacaExamples, extractDPOPairs, extractDPOPairsWithLLM, extractMemoryFromSession, extractRLHFExamples, extractRecommendations, fetchLeaderboard, fetchPersonality, fetchRegistry, filterByConfig, findCrossAgentCorrelations, findEdges, findNode, findNodesByType, findStackDir, formatComplianceReportMarkdown, formatGapSummary, formatPolicyYaml, formatReACTReportMarkdown, formatReportTerminal, gazePolicySchema, generateBehavioralPolicy, generateBenchmarkMarkdown, generateComparisonMarkdown, generateComplianceReport, generateCredential, generateGapRecommendation, generateIndexMarkdown, generateMonitoringCertificate, generateMutations, generatePrescriptions, generateProgressReport, generateReACTReport, generateReportJSON, generateShareUrl, generateSystemPrompt, gestureSchema, getAdversarialCategories, getAdversarialScenarios, getAgentBehaviors, getArchetype, getArchetypesByCategory, getBehavioralMemorySummary, getBenchmarkScenarios, getBestCorrection, getCategories, getDetector, getDimension, getEvolutionSummary, getInheritanceChain, getInterviewContext, getMarketplaceClient, getMemoryContext, getNeighbors, getPhaseContext, getPreset, getScenarioById, getTotalSignalCount, getTrajectory, getTriggersForPattern, graphStats, growthAreaSchema, growthSchema, hapticPolicySchema, hashSpec, injectConscienceRules, isStackDirectory, learnIntervention, listArchetypeIds, listDetectors, listDetectorsByCategory, listDetectorsByTag, listPresets, loadAllStandards, loadAuditLog, loadBehavioralMemory, loadBenchmarkResults, loadConscienceRules, loadCorpus, loadCustomDetectors, loadEvolution, loadFleetConfig, loadGraph, loadLatestBenchmark, loadMemory, loadNetworkConfig, loadRepertoire, loadSpec, loadSpecWithStack, loadStandard, loadTranscripts, loadTreatmentPlan, memoryNodeSchema, memoryOperationSchema, memorySchema, mergeStores, messageSchema, mindSchema, modalitySchema, morphologySchema, motionParametersSchema, pairAgents, parseAnthropicAPILog, parseChatGPTExport, parseClaudeExport, parseConscienceRule, parseConversationLog, parseConversationLogFromString, parseJSONLLog, parseMarkdownDetector, parseOTelGenAIExport, parseOpenAIAPILog, personalitySpecSchema, physicalSafetySchema, populateFromDiagnosis, populateFromEvolve, populateFromSession, prescribeDPOPairs, processReACTResponse, prosodySchema, providerSchema, proxemicZoneSchema, publishToLeaderboard, purposeSchema, pushToHFHub, queryCorpus, queryInterventions, querySharedKnowledge, recommendTier as recommendMemoryTier, recommendTier$1 as recommendTier, recordInterventionOutcome, recordObservation, recordSelfObservation, recordSessionOutcome, registerBuiltInDetectors, registerDetector, register as registerOpenClawPlugin, resetMarketplaceClient, resolveInheritance, resolveOversight, retrievalStepSchema, retrieveMemory, runAdversarialSuite, runAssessment, runAutopilot, runBenchmark, runDiagnosis, runEvolve, runInterview, runNetwork, runPreSessionDiagnosis, runSelfAudit, runTherapySession, safetyEnvelopeSchema, saveBehavioralMemory, saveBenchmarkResult, saveCredential, saveGraph, saveMemory, saveRepertoire, saveTranscript, saveTreatmentPlan, scoreLabel, scoreTraitsFromMessages, seedBuiltInPersonalities, selectIntervention, severityMeetsThreshold, severitySchema, shadowSchema, shareAnonymizedPatterns, shareFromDiagnosis, soulFrontmatterSchema, soulSchema, startFleet, startMCPServer, startWatch, summarize, summarizeSessionForMemory, summarizeTherapy, surfaceSchema, syncAnchorSchema, syncProfileSchema, syncRuleSchema, therapyDimensionsSchema, therapyScoreLabel, transferIntervention, unregisterDetector, updateEdgeWeight, validateDetectorConfig, verifyAuditChain, verifyCredential, wrapAgent };
7834
+ /**
7835
+ * Kimodo Personality Mapper — Maps Big Five personality dimensions
7836
+ * to NVIDIA Kimodo motion style parameters.
7837
+ *
7838
+ * Kimodo generates humanoid motion from text descriptions.
7839
+ * This mapper translates abstract personality traits into concrete
7840
+ * motion constraints: how fast, how smooth, how expressive.
7841
+ *
7842
+ * Released: March 25, 2026
7843
+ * Supports: G1 (Unitree), SOMA, SMPL-X body models
7844
+ */
7845
+
7846
+ interface KimodoMotionStyle {
7847
+ /** 0-1. From agreeableness. Higher = slower, gentler approach to humans. */
7848
+ approachGentleness: number;
7849
+ /** 0-1. From conscientiousness. Higher = more precise, deliberate movements. */
7850
+ movementPrecision: number;
7851
+ /** 0-1. From extraversion. Higher = larger, more expressive gestures. */
7852
+ gestureAmplitude: number;
7853
+ /** 0-1. From emotional_stability. Higher = smoother transitions, less jitter. */
7854
+ motionSmoothness: number;
7855
+ /** 0-1. From openness. Higher = more varied movement patterns. */
7856
+ movementVariety: number;
7857
+ /** Overall pace multiplier. 0.5 = half speed, 1.0 = normal, 1.5 = fast. */
7858
+ paceMultiplier: number;
7859
+ }
7860
+ interface KimodoConstraint {
7861
+ type: "full_body_joint" | "root_waypoint_2d" | "end_effector";
7862
+ description: string;
7863
+ parameters: Record<string, number>;
7864
+ }
7865
+ interface KimodoMotionRequest {
7866
+ /** Natural language motion description. */
7867
+ prompt: string;
7868
+ /** Body model to use. */
7869
+ model: "G1" | "SOMA" | "SMPL-X";
7870
+ /** Motion style derived from personality. */
7871
+ style: KimodoMotionStyle;
7872
+ /** Physical constraints from body.api safety envelope. */
7873
+ constraints: KimodoConstraint[];
7874
+ /** Duration in seconds. */
7875
+ duration?: number;
7876
+ }
7877
+ /**
7878
+ * Map Big Five personality scores to Kimodo motion style parameters.
7879
+ *
7880
+ * The mapping controls HOW the robot moves, not WHAT it does.
7881
+ * A high-agreeableness robot approaches gently. A high-extraversion
7882
+ * robot gestures broadly. A high-conscientiousness robot moves precisely.
7883
+ *
7884
+ * @param bigFive - Big Five personality scores from PersonalitySpec
7885
+ * @returns Motion style parameters for Kimodo
7886
+ */
7887
+ declare function mapPersonalityToMotionStyle(bigFive: BigFive): KimodoMotionStyle;
7888
+ /**
7889
+ * Generate Kimodo-compatible constraints from personality + safety envelope.
7890
+ *
7891
+ * Combines behavioral intent (from personality) with physical limits
7892
+ * (from body.api safety envelope) into Kimodo constraint format.
7893
+ */
7894
+ declare function generateMotionConstraints(style: KimodoMotionStyle, safetyEnvelope?: {
7895
+ max_linear_speed_m_s?: number;
7896
+ max_contact_force_n?: number;
7897
+ min_proximity_m?: number;
7898
+ }): KimodoConstraint[];
7899
+ /**
7900
+ * Build a complete Kimodo motion request from personality + intent.
7901
+ */
7902
+ declare function buildMotionRequest(prompt: string, bigFive: BigFive, options?: {
7903
+ model?: "G1" | "SOMA" | "SMPL-X";
7904
+ duration?: number;
7905
+ safetyEnvelope?: Record<string, unknown>;
7906
+ }): KimodoMotionRequest;
7907
+
7908
+ export { ARCHETYPES, ATTACHMENT_STYLES, type AdversarialCallbacks, type AdversarialCategory, type AdversarialReport, type AdversarialResult, type AdversarialRunOptions, type AdversarialScenario, type AgentSpawnConfig, 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 BehavioralBaseline, type BehavioralCredential, type BehavioralEvent, type BehavioralEventType, type BehavioralGap, type BehavioralIndex, type BehavioralMemoryStore, type BehavioralPolicy, type BehavioralPolicyRule, type BehavioralPreset, type BehavioralQuery, type BenchmarkCallbacks, type BenchmarkComparison, type BenchmarkReport, type BenchmarkResult, type BenchmarkScenario, type BigFive, type Body, CATEGORIES, type CallbackMode, type CallbackStats, type CallbackViolation, type CertifyInput, type ClauseStatus, type Communication, type CompactionResult, type CompactionSummary, type CompileInput, type CompiledConfig, type CompiledEmbodiedConfig, type ComplianceCoverageReport, type ReACTStep as ComplianceReACTStep, type ComplianceReport, type ComplianceReportJSON, type Conscience, type ConscienceConfig, type ConscienceGateResult, type ConscienceRule, type ContextLayerInput, type Conversation, type ConversationLog, type CorpusFilter, type CorpusStats, type CorrectionRecord, type CrossAgentQuery, type CustomDetectorConfig, DEFAULT_MODEL_CONFIG, DEFAULT_OVERSIGHT, DIMENSIONS, type DPOPair, type DetectedPattern, type DetectorFactory, type DetectorFn$1 as DetectorFn, type DetectorOptions, type DiagnosisResult, type DimensionTrajectory, type Domain, type DriftTrigger, type EdgeType, type Ego, type Embodiment, type EvolutionEntry, type EvolutionHistory, type EvolutionSummary, type EvolveCallbacks, type EvolveOptions, type EvolveResult, type Expression, type ExtractionResult, 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, HolomimeCallbackHandler, type HolomimeCallbackOptions, HolomimeViolationError, type HubDetector, type ISOClause, type ISOStandard, type IndexComparison, type IndexEntry, type Intervention, type InterventionRepertoire, type InterventionSource, type InterviewCallbacks, type InterviewProbe, type InterviewResponse, type InterviewResult, type IterationResult, KNOWN_STANDARDS, type KimodoConstraint, type KimodoMotionRequest, type KimodoMotionStyle, 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 Memory, MemoryLevel, type MemoryNode, type MemoryOperation, type MemoryOperations, type Message, type Mind, type Modality, type ModelConfig, ModelRouter, type MonitoringCertificate, type Morphology, type MotionParameters, type NetworkCallbacks, type NetworkConfig, type NetworkNode, type NetworkResult, type NetworkSession, type NodeType, OllamaProvider, OpenAIProvider, type OpenClawPluginApi, type OpenClawPluginConfig, 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 PersonalityTier, type PhaseConfig, type PhysicalSafety, type PolicyIntent, type PreSessionDiagnosis, type Prescription, type Prosody, type Provider, type ProviderConfig, type ProxemicZone, type PublishRequest, type PublishedBenchmark, type Purpose, type QueryResult, type RLHFExample, type ReACTAction, type ReACTContext, type ReACTReport, type ReACTReportOptions, type ReACTStep$1 as ReACTStep, type Registry, type RegistryEntry, type ReportStatistics, type RetrievalStep, type RiskFinding, type RollingContext, STACK_FILES, STANDARD_PROBES, SURFACE_MULTIPLIERS, type SafetyEnvelope, type SelfAuditFlag, type SelfAuditResult, type SelfObservation, type SessionCallbacks, type SessionLog, type SessionOptions, type SessionOutcome, type SessionSummary, type SessionTranscript, type SessionTurn, type Severity, type Shadow, type SharedIntervention, type SharedKnowledge, type SortField, type Soul, type StackCompileResult, type StackLayer, type StackSource, 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 TieredPersonality, 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, applyMemoryOperations, applyRecommendations, bigFiveSchema, bodySchema, buildAgentTherapistPrompt, buildAnonymizedReport, buildMotionRequest, buildPatientSystemPrompt, buildReACTContext, buildReACTFraming, buildSharedKnowledge, buildTherapistSystemPrompt, checkApproval, checkCompliance, checkIterationBudget, communicationSchema, compactEvolutionRun, compactIteration, compareBenchmarks, compareIndex, compile, compileCustomDetector, compileEmbodied, compileForOpenClaw, compileL0, compileL1, compileL2, compileMemoryForPrompt, compileStack, compileTiered, compiledConfigSchema, compiledEmbodiedConfigSchema, computeDimensionScore, computeGazePolicy, computeMotionParameters, computeProsody, computeProxemics, computeSyncProfile, conscienceSchema, conversationLogSchema, conversationSchema, convertToHFFormat, copyToClipboard, corpusStats, createBehavioralMemory, createGist, createGraph, createGuardMiddleware, createIndex, createIndexEntry, createMemory, createProvider, createRepertoire, createTreatmentPlan, decayUnseenPatterns, decomposeSpec, deepMergeSpec, detectApologies, detectBoundaryIssues, detectFormalityIssues, detectHedging, detectRecoveryPatterns, detectRetrievalQuality, detectSentiment, detectVerbosity, discoverAgentData, discoverAgents, discoverNetworkAgents, domainSchema, egoSchema, embodimentSchema, emitBehavioralEvent, encodeSnapshot, estimateConfidence, evaluateConscienceGate, evaluateOutcome, expireOldEdges, exportTrainingData, expressionSchema, extractAlpacaExamples, extractDPOPairs, extractDPOPairsWithLLM, extractMemoryFromSession, extractRLHFExamples, extractRecommendations, fetchLeaderboard, fetchPersonality, fetchRegistry, filterByConfig, findCrossAgentCorrelations, findEdges, findNode, findNodesByType, findStackDir, formatComplianceReportMarkdown, formatGapSummary, formatPolicyYaml, formatReACTReportMarkdown, formatReportTerminal, gazePolicySchema, generateBehavioralPolicy, generateBenchmarkMarkdown, generateComparisonMarkdown, generateComplianceReport, generateCredential, generateGapRecommendation, generateIndexMarkdown, generateMonitoringCertificate, generateMotionConstraints, generateMutations, generatePrescriptions, generateProgressReport, generateReACTReport, generateReportJSON, generateShareUrl, generateSystemPrompt, gestureSchema, getAdversarialCategories, getAdversarialScenarios, getAgentBehaviors, getArchetype, getArchetypesByCategory, getBehavioralMemorySummary, getBenchmarkScenarios, getBestCorrection, getCategories, getDetector, getDimension, getEvolutionSummary, getInheritanceChain, getInterviewContext, getMarketplaceClient, getMemoryContext, getNeighbors, getPhaseContext, getPreset, getScenarioById, getTotalSignalCount, getTrajectory, getTriggersForPattern, graphStats, growthAreaSchema, growthSchema, hapticPolicySchema, hashSpec, injectConscienceRules, isStackDirectory, learnIntervention, listArchetypeIds, listDetectors, listDetectorsByCategory, listDetectorsByTag, listPresets, loadAllStandards, loadAuditLog, loadBehavioralMemory, loadBenchmarkResults, loadConscienceRules, loadCorpus, loadCustomDetectors, loadEvolution, loadFleetConfig, loadGraph, loadLatestBenchmark, loadMemory, loadNetworkConfig, loadRepertoire, loadSpec, loadSpecWithStack, loadStandard, loadTranscripts, loadTreatmentPlan, mapPersonalityToMotionStyle, memoryNodeSchema, memoryOperationSchema, memorySchema, mergeStores, messageSchema, mindSchema, modalitySchema, morphologySchema, motionParametersSchema, pairAgents, parseAnthropicAPILog, parseChatGPTExport, parseClaudeExport, parseConscienceRule, parseConversationLog, parseConversationLogFromString, parseJSONLLog, parseMarkdownDetector, parseOTelGenAIExport, parseOpenAIAPILog, personalitySpecSchema, physicalSafetySchema, populateFromDiagnosis, populateFromEvolve, populateFromSession, prescribeDPOPairs, processReACTResponse, prosodySchema, providerSchema, proxemicZoneSchema, publishToLeaderboard, purposeSchema, pushToHFHub, queryCorpus, queryInterventions, querySharedKnowledge, recommendTier as recommendMemoryTier, recommendTier$1 as recommendTier, recordInterventionOutcome, recordObservation, recordSelfObservation, recordSessionOutcome, registerBuiltInDetectors, registerDetector, register as registerOpenClawPlugin, resetMarketplaceClient, resolveInheritance, resolveOversight, retrievalStepSchema, retrieveMemory, runAdversarialSuite, runAssessment, runAutopilot, runBenchmark, runDiagnosis, runEvolve, runInterview, runNetwork, runPreSessionDiagnosis, runSelfAudit, runTherapySession, safetyEnvelopeSchema, saveBehavioralMemory, saveBenchmarkResult, saveCredential, saveGraph, saveMemory, saveRepertoire, saveTranscript, saveTreatmentPlan, scoreLabel, scoreTraitsFromMessages, seedBuiltInPersonalities, selectIntervention, severityMeetsThreshold, severitySchema, shadowSchema, shareAnonymizedPatterns, shareFromDiagnosis, soulFrontmatterSchema, soulSchema, startFleet, startMCPServer, startWatch, summarize, summarizeSessionForMemory, summarizeTherapy, surfaceSchema, syncAnchorSchema, syncProfileSchema, syncRuleSchema, therapyDimensionsSchema, therapyScoreLabel, transferIntervention, unregisterDetector, updateEdgeWeight, validateDetectorConfig, verifyAuditChain, verifyCredential, wrapAgent };
package/dist/index.js CHANGED
@@ -13784,6 +13784,78 @@ function loadSpecWithStack(specPath) {
13784
13784
  }
13785
13785
  return loadSpec(specPath);
13786
13786
  }
13787
+
13788
+ // src/integrations/kimodo-personality-mapper.ts
13789
+ function mapPersonalityToMotionStyle(bigFive) {
13790
+ const agreeFacets = bigFive.agreeableness.facets;
13791
+ const gentleness = (agreeFacets.cooperation + agreeFacets.warmth) / 2;
13792
+ const approachGentleness = Math.sqrt(gentleness);
13793
+ const consFacets = bigFive.conscientiousness.facets;
13794
+ const precisionDrive = (consFacets.attention_to_detail + consFacets.orderliness) / 2;
13795
+ const movementPrecision = 0.3 + precisionDrive * 0.7;
13796
+ const extraFacets = bigFive.extraversion.facets;
13797
+ const expressiveness = (extraFacets.enthusiasm + extraFacets.assertiveness) / 2;
13798
+ const gestureAmplitude = 0.2 + expressiveness * 0.8;
13799
+ const stabilityFacets = bigFive.emotional_stability.facets;
13800
+ const smoothnessDrive = (stabilityFacets.stress_tolerance + stabilityFacets.adaptability) / 2;
13801
+ const motionSmoothness = 0.4 + smoothnessDrive * 0.6;
13802
+ const openFacets = bigFive.openness.facets;
13803
+ const varietyDrive = (openFacets.willingness_to_experiment + openFacets.imagination) / 2;
13804
+ const movementVariety = 0.1 + varietyDrive * 0.6;
13805
+ const rawPace = 0.7 + extraFacets.initiative * 0.6;
13806
+ const paceMultiplier = rawPace * (1 - approachGentleness * 0.3);
13807
+ return {
13808
+ approachGentleness,
13809
+ movementPrecision,
13810
+ gestureAmplitude,
13811
+ motionSmoothness,
13812
+ movementVariety,
13813
+ paceMultiplier: Math.max(0.3, Math.min(1.5, paceMultiplier))
13814
+ };
13815
+ }
13816
+ function generateMotionConstraints(style, safetyEnvelope) {
13817
+ const constraints = [];
13818
+ const maxSpeed = safetyEnvelope?.max_linear_speed_m_s ?? 2;
13819
+ constraints.push({
13820
+ type: "root_waypoint_2d",
13821
+ description: "Personality-adjusted movement speed",
13822
+ parameters: {
13823
+ max_speed: maxSpeed * style.paceMultiplier,
13824
+ smoothing: style.motionSmoothness
13825
+ }
13826
+ });
13827
+ if (safetyEnvelope?.min_proximity_m) {
13828
+ constraints.push({
13829
+ type: "end_effector",
13830
+ description: "Personality-adjusted approach distance",
13831
+ parameters: {
13832
+ min_distance: safetyEnvelope.min_proximity_m * (1 + style.approachGentleness * 0.5),
13833
+ approach_speed_scale: 1 - style.approachGentleness * 0.6
13834
+ }
13835
+ });
13836
+ }
13837
+ constraints.push({
13838
+ type: "full_body_joint",
13839
+ description: "Personality-adjusted gesture range",
13840
+ parameters: {
13841
+ amplitude_scale: style.gestureAmplitude,
13842
+ precision_scale: style.movementPrecision,
13843
+ variety_scale: style.movementVariety
13844
+ }
13845
+ });
13846
+ return constraints;
13847
+ }
13848
+ function buildMotionRequest(prompt, bigFive, options) {
13849
+ const style = mapPersonalityToMotionStyle(bigFive);
13850
+ const constraints = generateMotionConstraints(style, options?.safetyEnvelope);
13851
+ return {
13852
+ prompt,
13853
+ model: options?.model ?? "G1",
13854
+ style,
13855
+ constraints,
13856
+ duration: options?.duration
13857
+ };
13858
+ }
13787
13859
  export {
13788
13860
  ARCHETYPES,
13789
13861
  ATTACHMENT_STYLES,
@@ -13823,6 +13895,7 @@ export {
13823
13895
  bodySchema,
13824
13896
  buildAgentTherapistPrompt,
13825
13897
  buildAnonymizedReport,
13898
+ buildMotionRequest,
13826
13899
  buildPatientSystemPrompt,
13827
13900
  buildReACTContext,
13828
13901
  buildReACTFraming,
@@ -13924,6 +13997,7 @@ export {
13924
13997
  generateGapRecommendation,
13925
13998
  generateIndexMarkdown,
13926
13999
  generateMonitoringCertificate,
14000
+ generateMotionConstraints,
13927
14001
  generateMutations,
13928
14002
  generatePrescriptions,
13929
14003
  generateProgressReport,
@@ -13987,6 +14061,7 @@ export {
13987
14061
  loadStandard,
13988
14062
  loadTranscripts,
13989
14063
  loadTreatmentPlan,
14064
+ mapPersonalityToMotionStyle,
13990
14065
  memoryNodeSchema,
13991
14066
  memoryOperationSchema,
13992
14067
  memorySchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holomime",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Behavioral therapy infrastructure for AI agents — Big Five psychology, structured treatment, behavioral alignment",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,27 @@
1
+ {
2
+ "version": "1.0",
3
+ "morphology": "humanoid",
4
+ "modalities": ["gesture", "locomotion", "gaze", "voice", "posture", "manipulation"],
5
+ "safety_envelope": {
6
+ "max_linear_speed_m_s": 2.0,
7
+ "max_angular_speed_rad_s": 2.0,
8
+ "min_proximity_m": 0.5,
9
+ "max_contact_force_n": 30,
10
+ "emergency_stop_decel_m_s2": 6.0,
11
+ "max_reach_m": 0.55,
12
+ "operating_temperature_c": [-5, 40]
13
+ },
14
+ "hardware_profile": {
15
+ "oem": "Unitree",
16
+ "model": "G1",
17
+ "actuator_count": 43,
18
+ "sensors": ["stereo_camera", "depth_camera", "imu", "force_torque", "microphone", "lidar"],
19
+ "compute": "onboard"
20
+ },
21
+ "motion_engine": {
22
+ "backend": "kimodo",
23
+ "supported_models": ["G1", "SMPL-X", "SOMA"],
24
+ "constraint_types": ["full_body_joint", "root_waypoint_2d", "end_effector"],
25
+ "text_to_motion": true
26
+ }
27
+ }