@mindot/will 0.7.0 → 0.8.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 +87 -22
- package/dist/channels/discord.d.ts +1 -1
- package/dist/channels/whatsapp.d.ts +1 -1
- package/dist/cli.js +10823 -10454
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +562 -226
- package/dist/index.js.map +1 -1
- package/dist/mcp/effectors.d.ts +1 -1
- package/dist/{will-DAW0l-lY.d.ts → will-cS6k4uiJ.d.ts} +470 -84
- package/package.json +1 -1
- package/src/cognition/agency/engines/action.selector.ts +2 -1
- package/src/cognition/agency/engines/reafference.engine.ts +12 -2
- package/src/cognition/agency/reconcile.learning.ts +16 -2
- package/src/cognition/agency/schemas/repertoire.ts +12 -5
- package/src/cognition/config.mirror.entities.ts +1 -1
- package/src/cognition/faculties/executive.engine/engine.ts +136 -58
- package/src/cognition/faculties/executive.engine/facet.ts +10 -2
- package/src/cognition/faculties/executive.engine/prompt.factory.ts +2 -1
- package/src/cognition/index.ts +4 -0
- package/src/cognition/memory/vector.embedder.ts +9 -5
- package/src/cognition/utilities/token.tracker.ts +191 -96
- package/src/host/boot.ts +78 -22
- package/src/index.ts +35 -0
- package/src/llm/index.ts +397 -96
- package/src/llm/routing.ts +198 -0
- package/src/llm/summarizer.ts +5 -1
- package/src/runners/thin-shim.runner.ts +18 -6
- package/src/sdk/will.ts +82 -16
- package/src/stem/guards/identity.coherence.ts +17 -6
- package/src/stem/index.ts +3 -3
- package/src/stem/mind.ts +155 -24
- package/src/stem/policy/arbiter.ts +49 -14
- package/src/stem/policy/rule.table.ts +2 -2
- package/src/stem/tracts/effector.controller.ts +56 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OutboundEnvelope, A as AckResult, a as ExternalTransport, I as InboundEnvelope, T as TransportStatus, S as SimulationContext, b as SeededPRNG, c as SimulationEntity, d as Timestamp, e as SimulationEvent, f as StateManager, g as Tick, h as SimulationState, R as RestoreOptions, i as StateCommands, j as ReasoningFootprint, k as ReadonlySimulationState, C as ConflictReport, l as ConflictStrategy, m as ConflictResolution } from './will-
|
|
2
|
-
export { n as AckEnvelope, o as ActionRequest, p as ActionResult, q as ActionSelector, r as ActivityEnvelope, s as ActivityEvent, t as ActivityEventHandler, u as AestheticEvaluator, v as AestheticEvaluatorConfig, w as AffectiveBlender, x as AffectiveBlenderConfig, y as AffordanceSynthesizer, z as AsyncEngine, B as AsyncEngineConfig, D as AttachmentEvaluator, F as AttachmentEvaluatorConfig, G as AttentionAllocator, H as AttentionAllocatorConfig, J as AuditionEngine, K as AutobiographicalNarrator, L as AutobiographicalNarratorConfig, M as
|
|
1
|
+
import { O as OutboundEnvelope, A as AckResult, a as ExternalTransport, I as InboundEnvelope, T as TransportStatus, S as SimulationContext, b as SeededPRNG, c as SimulationEntity, d as Timestamp, e as SimulationEvent, f as StateManager, g as Tick, h as SimulationState, R as RestoreOptions, i as StateCommands, j as ReasoningFootprint, k as ReadonlySimulationState, C as ConflictReport, l as ConflictStrategy, m as ConflictResolution } from './will-cS6k4uiJ.js';
|
|
2
|
+
export { n as AckEnvelope, o as ActionRequest, p as ActionResult, q as ActionSelector, r as ActivityEnvelope, s as ActivityEvent, t as ActivityEventHandler, u as AestheticEvaluator, v as AestheticEvaluatorConfig, w as AffectiveBlender, x as AffectiveBlenderConfig, y as AffordanceSynthesizer, z as AsyncEngine, B as AsyncEngineConfig, D as AttachmentEvaluator, F as AttachmentEvaluatorConfig, G as AttentionAllocator, H as AttentionAllocatorConfig, J as AuditionEngine, K as AutobiographicalNarrator, L as AutobiographicalNarratorConfig, M as BACKGROUND_DEMAND, N as BehavioralProbeResult, P as BiasDetector, Q as BiasDetectorConfig, U as BunStorageAdapter, V as ChunkEnvelope, X as CircadianConfig, Y as CircadianOscillator, Z as ClockConfig, _ as Cognition, $ as CognitiveHealth, a0 as ConfidenceCalibrator, a1 as ConfidenceCalibratorConfig, a2 as Coordinates, a3 as CreateWillOptions, a4 as DefaultEventBus, a5 as DefaultMetricCollector, a6 as DefaultOrchestrator, a7 as DefaultReplayRecorder, a8 as DefaultReplaySession, a9 as DefaultScenario, aa as DefaultSerializer, ab as DefaultSimulation, ac as DefaultSimulationClock, ad as DefaultStateManager, ae as DefaultVectorMemoryAdapter, af as DeliberationEngine, ag as DeltaEncoder, ah as DeltaSnapshot, ai as DreamSimulator, aj as DreamSimulatorConfig, ak as Duration, al as ESCALATION_DEMAND, am as EffectorDeclaration, an as EffectorEntry, E as EffectorHandler, ao as EffectorResult, ap as EffectorSpec, aq as EmbeddingProvider, ar as EmpathySimulator, as as EmpathySimulatorConfig, at as EnergyRegulator, au as EnergyRegulatorConfig, av as EngineRegistry, aw as EngineResult, ax as Envelope, ay as EpisodicConsolidator, az as EpisodicConsolidatorConfig, aA as EventBus, aB as EventBusConfig, aC as EventFilter, aD as EventHandler, aE as EventPayload, aF as ExecutiveEngine, aG as ExecutiveEngineConfig, aH as Exteroception, aI as ExteroceptionConfig, aJ as ForgettingCurve, aK as ForgettingCurveConfig, aL as FrustrationEvaluator, aM as FrustrationEvaluatorConfig, aN as GoalManager, aO as GoalManagerConfig, aP as GustationEngine, aQ as InboundMessageEnvelope, aR as InboundPerceptEnvelope, aS as InhibitionController, aT as InhibitionControllerConfig, aU as Interoception, aV as InteroceptionConfig, aW as IntrospectionEngine, aX as IntrospectionEngineConfig, aY as KNOWN_PROVIDERS, aZ as KnownEntityTracker, a_ as KnownEntityTrackerConfig, a$ as KnownProvider, b0 as LLMCallMeta, b1 as LLMCompletionRecord, b2 as LLMCompletionSink, b3 as LLMProvider, b4 as LLMWire, b5 as LossEvaluator, b6 as LossEvaluatorConfig, b7 as MessageEnvelope, b8 as MetricCollector, b9 as MetricPoint, ba as MinimalContext, bb as MockEmbedder, bc as ModelPrice, bd as ModelRoute, be as ModelRouter, bf as MoralEvaluator, bg as MoralEvaluatorConfig, bh as MotorSchemaExecutor, bi as NULL_ROUTER, bj as NoveltyDetector, bk as NoveltyDetectorConfig, bl as OlfactionEngine, bm as OpenAICompatibleEmbedder, bn as Orchestrator, bo as OrchestratorConfig, bp as OutboxMessage, bq as PMABehavioral, br as PMABelief, bs as PMAEmotionalBaseline, bt as PMAEvalHarness, bu as PMAGoal, bv as PMAIdentity, bw as PMAProbe, bx as PMASnapshot, by as PerceptEnvelope, bz as PersonaConsolidator, bA as PersonaConsolidatorConfig, bB as PlanningEngine, bC as PlanningEngineConfig, bD as PriceTable, bE as ProviderCredential, bF as ReafferenceEngine, bG as ReconstructionFidelityReport, bH as ReconstructionFidelityScores, bI as RecordUsageInput, bJ as ReplayComparison, bK as ReplayConfig, bL as ReplayDifference, bM as ReplayManager, bN as ReplayMetadata, bO as ReplayRecord, bP as ReplayRecorder, bQ as ReplaySession, bR as ReplyEnvelope, bS as ReputationTracker, bT as ReputationTrackerConfig, bU as RewardEvaluator, bV as RewardEvaluatorConfig, bW as RoutingRule, bX as Scenario, bY as ScenarioConfig, bZ as ScenarioValidationResult, b_ as SchemaPrecondition, b$ as SelfModelUpdater, c0 as SelfModelUpdaterConfig, c1 as SemanticIntegrator, c2 as SemanticIntegratorConfig, c3 as SensoryInput, c4 as SerializationConfig, c5 as SerializationFormat, c6 as SerializedEntity, c7 as SerializedState, c8 as Serializer, c9 as SessionLogEnvelope, ca as Simulation, cb as SimulationClock, cc as SimulationConfig, cd as SimulationEngine, ce as SimulationEventBase, cf as SimulationEventListener, cg as SleepPressureConfig, ch as SleepPressureRegulator, ci as SocialPerception, cj as SocialPerceptionConfig, ck as SomatosensationEngine, cl as SpacedRepetition, cm as SpacedRepetitionConfig, cn as StateSnapshot, co as Stimulus, cp as StorageAdapter, cq as StressRegulator, cr as StressRegulatorConfig, cs as TableRouter, ct as TaskSwitcher, cu as TaskSwitcherConfig, cv as TextMessage, cw as TheoryOfMind, cx as TheoryOfMindConfig, cy as ThreatEvaluator, cz as ThreatEvaluatorConfig, cA as TickListener, cB as TokenLedgerRecord, cC as TokenReportEnvelope, cD as TokenTracker, cE as TokenTrackerConfig, cF as TokenUsage, cG as VectorIndex, cH as VectorMemoryAdapter, cI as VectorMemoryConfig, cJ as VectorQueryFilter, cK as VectorQueryResult, cL as VectorRecord, cM as VisionEngine, cN as VoiceChunk, W as Will, cO as WillAffect, cP as WillConfig, cQ as WillEffectorAct, cR as WillInstance, cS as WillMessage, cT as WillStateSummary, cU as WillStatus, cV as WillStem, cW as WillSummary, cX as WorkingMemory, cY as WorkingMemoryConfig, cZ as WorldEntity, c_ as WorldInterface, c$ as assembleMind, d0 as chainRouters, d1 as clearCompletionRecorder, d2 as defaultBaseFor, d3 as effectorInvocation, d4 as effectorInvocationEnvelope, d5 as getCompletionRecorder, d6 as isNullRouter, d7 as knownWireFor, d8 as resolvePricing, d9 as setCompletionRecorder } from './will-cS6k4uiJ.js';
|
|
3
3
|
|
|
4
4
|
/** Decides how emit() resolves an ack for a given envelope. Default: acked via callback. */
|
|
5
5
|
type AckPolicy = (env: OutboundEnvelope) => AckResult;
|