@indexnetwork/protocol 14.2.0-rc.470.1 → 14.2.1-rc.472.1
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/CHANGELOG.md +42 -0
- package/dist/{participant-agents → agents}/application/agent.tools.d.ts +2 -2
- package/dist/{participant-agents → agents}/application/agent.tools.js +2 -2
- package/dist/{participant-agents → agents}/application/index.d.ts +2 -2
- package/dist/{participant-agents → agents}/application/index.js +2 -2
- package/dist/{participant-agents → agents}/domain/agent.types.d.ts +1 -1
- package/dist/{participant-agents → agents}/domain/agent.types.js +1 -1
- package/dist/{participant-agents → agents}/domain/index.d.ts +4 -4
- package/dist/{participant-agents → agents}/index.d.ts +1 -1
- package/dist/{participant-agents → agents}/ports/agent.dispatcher.port.d.ts +3 -3
- package/dist/{participant-agents → agents}/ports/agent.repository.port.d.ts +1 -1
- package/dist/{participant-agents → agents}/ports/agent.repository.port.js +1 -1
- package/dist/{participant-agents → agents}/ports/agent.tools.port.d.ts +1 -1
- package/dist/{participant-agents → agents}/ports/agent.tools.port.js +1 -1
- package/dist/{participant-agents → agents}/ports/index.d.ts +1 -1
- package/dist/{participant-agents → agents}/ports/index.js +1 -1
- package/dist/chat/chat.state.d.ts +1 -1
- package/dist/chat/chat.state.js +1 -1
- package/dist/chat/negotiator.prompt.d.ts +1 -1
- package/dist/chat/negotiator.prompt.js +1 -1
- package/dist/{participant-context → contexts}/application/index.d.ts +10 -10
- package/dist/{participant-context → contexts}/application/index.js +10 -10
- package/dist/{participant-context → contexts}/domain/index.d.ts +5 -5
- package/dist/{participant-context → contexts}/domain/index.js +4 -4
- package/dist/{participant-context → contexts}/ports/index.d.ts +1 -1
- package/dist/{participant-context → contexts}/ports/index.js +1 -1
- package/dist/enrichment/enrichment.graph.d.ts +1 -1
- package/dist/enrichment/enrichment.graph.js +1 -1
- package/dist/enrichment/enrichment.state.d.ts +1 -1
- package/dist/enrichment/enrichment.tools.d.ts +1 -1
- package/dist/index.d.ts +107 -107
- package/dist/index.js +76 -76
- package/dist/{signals → intents}/application/index.d.ts +2 -2
- package/dist/{signals → intents}/application/index.js +2 -2
- package/dist/{signals → intents}/application/intent.graph.d.ts +1 -1
- package/dist/{signals → intents}/domain/index.d.ts +1 -1
- package/dist/{signals → intents}/domain/index.js +1 -1
- package/dist/{signals → intents}/domain/intent.state.d.ts +1 -1
- package/dist/{signals → intents}/index.d.ts +1 -1
- package/dist/{signals → intents}/index.js +1 -1
- package/dist/{signals → intents}/ports/index.d.ts +1 -1
- package/dist/{signals → intents}/ports/index.js +1 -1
- package/dist/maintenance/maintenance.graph.d.ts +6 -6
- package/dist/maintenance/maintenance.graph.js +4 -4
- package/dist/maintenance/maintenance.state.d.ts +1 -1
- package/dist/mcp/mcp.server.js +2 -2
- package/dist/{negotiation → negotiations}/application/index.d.ts +2 -2
- package/dist/{negotiation → negotiations}/application/index.js +2 -2
- package/dist/{negotiation → negotiations}/application/negotiation.graph.d.ts +1 -1
- package/dist/{negotiation → negotiations}/domain/index.d.ts +9 -9
- package/dist/{negotiation → negotiations}/domain/index.js +9 -9
- package/dist/{negotiation → negotiations}/domain/negotiation.screen.contracts.d.ts +3 -3
- package/dist/{negotiation → negotiations}/domain/negotiation.screen.contracts.js +3 -3
- package/dist/{negotiation → negotiations}/domain/negotiation.stance.contracts.d.ts +1 -1
- package/dist/{negotiation → negotiations}/domain/negotiation.stance.contracts.js +1 -1
- package/dist/{negotiation → negotiations}/domain/negotiation.state.d.ts +1 -1
- package/dist/{negotiation → negotiations}/domain/negotiation.state.js +1 -1
- package/dist/{negotiation → negotiations}/index.d.ts +1 -1
- package/dist/{negotiation → negotiations}/index.js +1 -1
- package/dist/{negotiation → negotiations}/ports/index.d.ts +1 -1
- package/dist/{negotiation → negotiations}/ports/index.js +1 -1
- package/dist/{communities → networks}/application/index.d.ts +3 -3
- package/dist/{communities → networks}/application/index.js +3 -3
- package/dist/{communities → networks}/application/indexer.graph.d.ts +1 -1
- package/dist/{communities → networks}/application/indexer.state.d.ts +1 -1
- package/dist/{communities → networks}/domain/index.d.ts +2 -2
- package/dist/{communities → networks}/domain/index.js +2 -2
- package/dist/{communities → networks}/index.d.ts +1 -1
- package/dist/{communities → networks}/index.js +1 -1
- package/dist/{communities → networks}/ports/index.d.ts +3 -3
- package/dist/{communities → networks}/ports/index.js +2 -2
- package/dist/{opportunity → opportunities}/application/index.d.ts +1 -1
- package/dist/{opportunity → opportunities}/application/index.js +1 -1
- package/dist/{opportunity → opportunities}/application/negotiation-context.loader.d.ts +1 -1
- package/dist/{opportunity → opportunities}/application/opportunity.discovery-negotiation-summary.js +1 -1
- package/dist/{opportunity → opportunities}/application/opportunity.graph.d.ts +2 -2
- package/dist/{opportunity → opportunities}/application/opportunity.graph.js +2 -2
- package/dist/{opportunity → opportunities}/application/opportunity.owner-approval.d.ts +1 -1
- package/dist/{opportunity → opportunities}/application/opportunity.owner-provenance.js +1 -1
- package/dist/{opportunity → opportunities}/domain/index.d.ts +1 -1
- package/dist/{opportunity → opportunities}/domain/index.js +1 -1
- package/dist/{opportunity → opportunities}/domain/negotiation-summary.builder.d.ts +1 -1
- package/dist/{opportunity → opportunities}/domain/opportunity.state.d.ts +1 -1
- package/dist/{opportunity → opportunities}/index.d.ts +1 -1
- package/dist/{opportunity → opportunities}/index.js +1 -1
- package/dist/{opportunity → opportunities}/ports/index.d.ts +1 -1
- package/dist/{opportunity → opportunities}/ports/opportunity.tools.port.d.ts +1 -1
- package/dist/{opportunity → opportunities}/radar/radar.graph.d.ts +1 -1
- package/dist/{opportunity → opportunities}/radar/radar.state.d.ts +1 -1
- package/dist/{premise → premises}/premise.graph.d.ts +1 -1
- package/dist/{premise → premises}/premise.state.d.ts +1 -1
- package/dist/{premise → premises}/premise.tools.d.ts +1 -1
- package/dist/questions/application/question.input.d.ts +1 -1
- package/dist/questions/application/question.input.js +1 -1
- package/dist/questions/application/question.presets.js +2 -2
- package/dist/shared/agent/tool.factory.d.ts +1 -1
- package/dist/shared/agent/tool.factory.js +14 -14
- package/dist/shared/agent/tool.helpers.d.ts +5 -5
- package/dist/shared/agent/tool.registry.d.ts +1 -1
- package/dist/shared/agent/tool.registry.js +6 -6
- package/dist/shared/assignment/network-assignment.policy.d.ts +1 -1
- package/dist/shared/assignment/network-assignment.policy.js +1 -1
- package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +3 -3
- package/dist/shared/interfaces/agent-dispatcher.interface.js +1 -1
- package/dist/shared/schemas/negotiation-state.schema.d.ts +2 -2
- package/dist/shared/schemas/negotiation-state.schema.js +2 -2
- package/package.json +1 -1
- /package/dist/{participant-agents → agents}/domain/index.js +0 -0
- /package/dist/{participant-agents → agents}/index.js +0 -0
- /package/dist/{participant-agents → agents}/ports/agent.dispatcher.port.js +0 -0
- /package/dist/{context → contexts}/context.generator.d.ts +0 -0
- /package/dist/{context → contexts}/context.generator.js +0 -0
- /package/dist/{participant-context → contexts}/index.d.ts +0 -0
- /package/dist/{participant-context → contexts}/index.js +0 -0
- /package/dist/{participant-context → contexts}/ports/participant-context.tools.port.d.ts +0 -0
- /package/dist/{participant-context → contexts}/ports/participant-context.tools.port.js +0 -0
- /package/dist/{signals → intents}/application/intake.orchestrator.d.ts +0 -0
- /package/dist/{signals → intents}/application/intake.orchestrator.js +0 -0
- /package/dist/{signals → intents}/application/intake.pack.generator.d.ts +0 -0
- /package/dist/{signals → intents}/application/intake.pack.generator.js +0 -0
- /package/dist/{signals → intents}/application/intent.clarifier.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.clarifier.js +0 -0
- /package/dist/{signals → intents}/application/intent.graph.js +0 -0
- /package/dist/{signals → intents}/application/intent.indexer.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.indexer.js +0 -0
- /package/dist/{signals → intents}/application/intent.inferrer.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.inferrer.js +0 -0
- /package/dist/{signals → intents}/application/intent.reconciler.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.reconciler.js +0 -0
- /package/dist/{signals → intents}/application/intent.tools.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.tools.js +0 -0
- /package/dist/{signals → intents}/application/intent.verifier.d.ts +0 -0
- /package/dist/{signals → intents}/application/intent.verifier.js +0 -0
- /package/dist/{signals → intents}/domain/intent.proposal.d.ts +0 -0
- /package/dist/{signals → intents}/domain/intent.proposal.js +0 -0
- /package/dist/{signals → intents}/domain/intent.state.js +0 -0
- /package/dist/{signals → intents}/domain/signal.specificity.d.ts +0 -0
- /package/dist/{signals → intents}/domain/signal.specificity.js +0 -0
- /package/dist/{signals → intents}/ports/signals.tools.port.d.ts +0 -0
- /package/dist/{signals → intents}/ports/signals.tools.port.js +0 -0
- /package/dist/{negotiation → negotiations}/application/insight.generator.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/insight.generator.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.agent.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.agent.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.detail-reader.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.detail-reader.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.graph.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.reflect.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.reflect.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.screen.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.screen.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.summarizer.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.summarizer.js +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.tools.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/application/negotiation.tools.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.consultation-policy.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.consultation-policy.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.contracts.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.contracts.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.expected-speaker.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.expected-speaker.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.hermes-contract.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.hermes-contract.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.intent-snapshot-provenance.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.intent-snapshot-provenance.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.lifecycle-narration.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.lifecycle-narration.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.memory.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.memory.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.protocol.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.protocol.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.question-safety.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.question-safety.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.task-lock-policy.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.task-lock-policy.js +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.turn-cap.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/domain/negotiation.turn-cap.js +0 -0
- /package/dist/{negotiation → negotiations}/negotiation.attribution.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/negotiation.attribution.js +0 -0
- /package/dist/{negotiation → negotiations}/ports/negotiation.tools.port.d.ts +0 -0
- /package/dist/{negotiation → negotiations}/ports/negotiation.tools.port.js +0 -0
- /package/dist/{communities → networks}/application/indexer.graph.js +0 -0
- /package/dist/{communities → networks}/application/indexer.state.js +0 -0
- /package/dist/{communities → networks}/application/membership.graph.d.ts +0 -0
- /package/dist/{communities → networks}/application/membership.graph.js +0 -0
- /package/dist/{communities → networks}/application/network.graph.d.ts +0 -0
- /package/dist/{communities → networks}/application/network.graph.js +0 -0
- /package/dist/{communities → networks}/application/network.recommender.d.ts +0 -0
- /package/dist/{communities → networks}/application/network.recommender.js +0 -0
- /package/dist/{communities → networks}/application/network.tools.d.ts +0 -0
- /package/dist/{communities → networks}/application/network.tools.js +0 -0
- /package/dist/{communities → networks}/domain/membership.state.d.ts +0 -0
- /package/dist/{communities → networks}/domain/membership.state.js +0 -0
- /package/dist/{communities → networks}/domain/network.state.d.ts +0 -0
- /package/dist/{communities → networks}/domain/network.state.js +0 -0
- /package/dist/{communities → networks}/ports/communities.tools.port.d.ts +0 -0
- /package/dist/{communities → networks}/ports/communities.tools.port.js +0 -0
- /package/dist/{opportunity → opportunities}/application/delivery-card.cache.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/delivery-card.cache.js +0 -0
- /package/dist/{opportunity → opportunities}/application/negotiation-context.loader.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.card-presentation.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.card-presentation.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.discovery-negotiation-summary.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.enricher.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.enricher.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.evaluator.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.evaluator.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.existing-negotiation.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.existing-negotiation.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.feed-selection.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.feed-selection.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.introducer-feature.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.introducer-feature.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.introducer.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.introducer.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.lifecycle.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.lifecycle.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.newborn-stamping.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.newborn-stamping.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.owner-approval.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.owner-provenance.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.pending-questions.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.pending-questions.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.persist.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.persist.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.persistence-admission.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.persistence-admission.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.presenter.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.presenter.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.tools.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.tools.js +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.update-admission.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/application/opportunity.update-admission.js +0 -0
- /package/dist/{opportunity → opportunities}/discovery.env.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discovery.env.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.adjustments.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.adjustments.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.assigner.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.assigner.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.env.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.env.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.miner.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.miner.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.push.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.push.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.question.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.question.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.scorer.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.scorer.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.shadow.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.shadow.js +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.types.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/discriminator/discriminator.types.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/negotiation-summary.builder.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.actor.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.actor.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.evidence.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.evidence.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.labels.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.labels.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.presentation-cache.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.presentation-cache.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.presentation.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.presentation.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.safe-presentation.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.safe-presentation.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.state.js +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.utils.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/domain/opportunity.utils.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.env.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.env.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.extractor.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.extractor.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.miner.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.miner.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.shadow.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.shadow.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.types.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.types.js +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.verifier.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.verifier.js +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.env.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.env.js +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.hypotheses.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.hypotheses.js +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.shadow.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.shadow.js +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.types.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/outcome/outcome.types.js +0 -0
- /package/dist/{opportunity → opportunities}/ports/index.js +0 -0
- /package/dist/{opportunity → opportunities}/ports/opportunity.tools.port.js +0 -0
- /package/dist/{opportunity → opportunities}/radar/radar.graph.js +0 -0
- /package/dist/{opportunity → opportunities}/radar/radar.health.d.ts +0 -0
- /package/dist/{opportunity → opportunities}/radar/radar.health.js +0 -0
- /package/dist/{opportunity → opportunities}/radar/radar.state.js +0 -0
- /package/dist/{premise → premises}/premise.analyzer.d.ts +0 -0
- /package/dist/{premise → premises}/premise.analyzer.js +0 -0
- /package/dist/{premise → premises}/premise.decomposer.d.ts +0 -0
- /package/dist/{premise → premises}/premise.decomposer.js +0 -0
- /package/dist/{premise → premises}/premise.graph.js +0 -0
- /package/dist/{premise → premises}/premise.indexer.d.ts +0 -0
- /package/dist/{premise → premises}/premise.indexer.js +0 -0
- /package/dist/{premise → premises}/premise.state.js +0 -0
- /package/dist/{premise → premises}/premise.tools.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type { ChatSummaryReader } from "./shared/interfaces/chat-summary.interfa
|
|
|
13
13
|
export type { QuestionerDatabase, PersistableQuestion, PersistedQuestion, QuestionFilters, ChatQuestionsHost } from "./questions/index.js";
|
|
14
14
|
export type { NegotiationSummaryReader } from "./shared/interfaces/negotiation-summary.interface.js";
|
|
15
15
|
export type { DiscoveryNegotiationDigest } from "./shared/schemas/negotiation-digest.schema.js";
|
|
16
|
-
export { NegotiationSummarizer } from "./
|
|
16
|
+
export { NegotiationSummarizer } from "./negotiations/index.js";
|
|
17
17
|
export type { ContactServiceAdapter } from "./contacts/index.js";
|
|
18
18
|
export type { ChatGraphCompositeDatabase, UserDatabase, AgentActivitySummary, SystemDatabase, OpportunityGraphDatabase, OpportunityControllerDatabase, OutcomeOutbox, RadarGraphDatabase, IntentGraphDatabase, HydeGraphDatabase, EnrichmentGraphDatabase, PremiseGraphDatabase, NegotiationGraphDatabase, NegotiationOpportunityLifecycle, NegotiationContinuationExecution, NegotiationContinuationReceipt, Opportunity, OpportunityActor, OpportunityStatus, AssignmentNetworkMembership, IntentNetworkFinalAssignmentResult, CreateOpportunityData, } from "./shared/interfaces/database.interface.js";
|
|
19
19
|
export type { Embedder, VectorStoreOption, VectorSearchResult, HydeCandidate, HydeSearchOptions, LensEmbedding } from "./shared/interfaces/embedder.interface.js";
|
|
@@ -23,7 +23,7 @@ export type { Scraper } from "./shared/interfaces/scraper.interface.js";
|
|
|
23
23
|
export type { EnrichmentRunInput, EnrichmentRunRecord } from "./shared/interfaces/enrichment-run.interface.js";
|
|
24
24
|
export type { NegotiationTimeoutQueue, AskUserExpiryPayload, NegotiationContinuationTimeoutIdentity, } from "./shared/interfaces/negotiation-events.interface.js";
|
|
25
25
|
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload } from "./shared/interfaces/agent-dispatcher.interface.js";
|
|
26
|
-
export { SYSTEM_AGENT_IDS } from './
|
|
26
|
+
export { SYSTEM_AGENT_IDS } from './agents/index.js';
|
|
27
27
|
export { ChatContextDigestSchema, type ChatContextDigest } from "./shared/schemas/chat-context.schema.js";
|
|
28
28
|
export { type Question, type UnderspecificationType, type QuestionStrategy, type QuestionGenerationResult, type QuestionPurpose, type NegotiationQuestionPurpose, type NegotiationQuestionCandidate, type NegotiationQuestionProvenance, NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, type QuestionPoolPush, type QuestionRecoverySnapshot, type QuestionVoidedReason, type QuestionPoolPushRequestStatus, type QuestionPoolPushRequestReason, } from "./questions/index.js";
|
|
29
29
|
export type { PendingQuestionSummary } from "./shared/schemas/pending-question.schema.js";
|
|
@@ -32,118 +32,118 @@ export type { McpAuthInput, McpApiKeyMetadata, McpResolvedIdentity, } from "./sh
|
|
|
32
32
|
export type { DiscoverySummary, DiscoveryNegotiation, DiscoveryTurn, DiscoveryOutcome, NegotiationRole } from "./shared/schemas/discovery-question.schema.js";
|
|
33
33
|
export type { NetworkAssignmentMetadata } from "./shared/schemas/network-assignment.schema.js";
|
|
34
34
|
export { DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD, resolveAssignmentNetworkScope, buildNetworkAssignmentDecision } from "./shared/assignment/network-assignment.policy.js";
|
|
35
|
-
export { buildCandidateEvidence } from "./
|
|
36
|
-
export { ChatGraphFactory } from "./
|
|
37
|
-
export { type ChatPersonaConfig } from "./
|
|
38
|
-
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./
|
|
39
|
-
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_TOOL_NAMES, createSignalTools, filterSignalTools, narrowSignalTools, } from "./
|
|
40
|
-
export { REPORTER_PERSONA_ID, REPORTER_PERSONA, REPORTER_BRIEFING_KICKOFF, REPORTER_TOOL_NAMES, createReporterTools, filterReporterTools, narrowReporterTools, } from "./
|
|
41
|
-
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, } from "./
|
|
42
|
-
export { RadarGraphFactory } from "./
|
|
43
|
-
export { HydeGraphFactory } from "./
|
|
44
|
-
export { NetworkGraphFactory } from "./
|
|
45
|
-
export { NetworkMembershipGraphFactory } from "./
|
|
46
|
-
export { IntentGraphFactory } from "./
|
|
47
|
-
export { SemanticVerifier } from "./
|
|
48
|
-
export { IntentNetworkGraphFactory } from "./
|
|
35
|
+
export { buildCandidateEvidence } from "./opportunities/index.js";
|
|
36
|
+
export { ChatGraphFactory } from "./agents/index.js";
|
|
37
|
+
export { type ChatPersonaConfig } from "./agents/index.js";
|
|
38
|
+
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./agents/index.js";
|
|
39
|
+
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_TOOL_NAMES, createSignalTools, filterSignalTools, narrowSignalTools, } from "./agents/index.js";
|
|
40
|
+
export { REPORTER_PERSONA_ID, REPORTER_PERSONA, REPORTER_BRIEFING_KICKOFF, REPORTER_TOOL_NAMES, createReporterTools, filterReporterTools, narrowReporterTools, } from "./agents/index.js";
|
|
41
|
+
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, } from "./agents/index.js";
|
|
42
|
+
export { RadarGraphFactory } from "./opportunities/index.js";
|
|
43
|
+
export { HydeGraphFactory } from "./contexts/index.js";
|
|
44
|
+
export { NetworkGraphFactory } from "./networks/index.js";
|
|
45
|
+
export { NetworkMembershipGraphFactory } from "./networks/index.js";
|
|
46
|
+
export { IntentGraphFactory } from "./intents/index.js";
|
|
47
|
+
export { SemanticVerifier } from "./intents/index.js";
|
|
48
|
+
export { IntentNetworkGraphFactory } from "./networks/index.js";
|
|
49
49
|
export { MaintenanceGraphFactory } from "./maintenance/maintenance.graph.js";
|
|
50
50
|
export type { MaintenanceGraphDatabase, MaintenanceGraphCache, MaintenanceGraphQueue } from "./maintenance/maintenance.graph.js";
|
|
51
|
-
export { NegotiationGraphFactory, negotiateCandidates } from "./
|
|
52
|
-
export { OpportunityGraphFactory } from "./
|
|
53
|
-
export type { OpportunityGraphThresholdOverrides } from "./
|
|
54
|
-
export { hasUnsupportedOpportunityClaim } from "./
|
|
55
|
-
export type { StampNewbornOpportunitiesFn } from "./
|
|
56
|
-
export { opportunityOwnerActionForStatus, bindOwnerApprovalProvenance } from "./
|
|
57
|
-
export type { OpportunityOwnerAction, OpportunityOwnerApprovalAttestation, OpportunityOwnerApprovalAuthority, OpportunityOwnerApprovalBinding, OpportunityOwnerApprovalChallenge, OpportunityOwnerApprovalDenialReason, OpportunityOwnerApprovalVerdict, OpportunityOwnerInteractionProvenance, OpportunityOwnerInteractionSurface, } from "./
|
|
58
|
-
export { EnrichmentGraphFactory } from "./
|
|
59
|
-
export { PremiseGraphFactory } from "./
|
|
60
|
-
export { UserContextGenerator } from "./
|
|
61
|
-
export { ChatTitleGenerator } from "./
|
|
62
|
-
export { ChatInterruptClassifier } from "./
|
|
63
|
-
export { ChatSummarizer } from "./
|
|
64
|
-
export { HydeGenerator } from "./
|
|
65
|
-
export { SuggestionGenerator } from "./
|
|
51
|
+
export { NegotiationGraphFactory, negotiateCandidates } from "./negotiations/index.js";
|
|
52
|
+
export { OpportunityGraphFactory } from "./opportunities/index.js";
|
|
53
|
+
export type { OpportunityGraphThresholdOverrides } from "./opportunities/index.js";
|
|
54
|
+
export { hasUnsupportedOpportunityClaim } from "./opportunities/index.js";
|
|
55
|
+
export type { StampNewbornOpportunitiesFn } from "./opportunities/index.js";
|
|
56
|
+
export { opportunityOwnerActionForStatus, bindOwnerApprovalProvenance } from "./opportunities/index.js";
|
|
57
|
+
export type { OpportunityOwnerAction, OpportunityOwnerApprovalAttestation, OpportunityOwnerApprovalAuthority, OpportunityOwnerApprovalBinding, OpportunityOwnerApprovalChallenge, OpportunityOwnerApprovalDenialReason, OpportunityOwnerApprovalVerdict, OpportunityOwnerInteractionProvenance, OpportunityOwnerInteractionSurface, } from "./opportunities/index.js";
|
|
58
|
+
export { EnrichmentGraphFactory } from "./contexts/index.js";
|
|
59
|
+
export { PremiseGraphFactory } from "./contexts/index.js";
|
|
60
|
+
export { UserContextGenerator } from "./contexts/index.js";
|
|
61
|
+
export { ChatTitleGenerator } from "./agents/index.js";
|
|
62
|
+
export { ChatInterruptClassifier } from "./agents/index.js";
|
|
63
|
+
export { ChatSummarizer } from "./agents/index.js";
|
|
64
|
+
export { HydeGenerator } from "./contexts/index.js";
|
|
65
|
+
export { SuggestionGenerator } from "./agents/index.js";
|
|
66
66
|
export { generateInviteMessage } from "./contacts/index.js";
|
|
67
|
-
export { IntentIndexer } from "./
|
|
68
|
-
export type { IntentIndexerOutput } from "./
|
|
69
|
-
export { SignalIntakePackGenerator, normalizeIntakePack } from "./
|
|
70
|
-
export type { IntakePack, IntakePackInput, IntakePackQuestion, IntakePackQuestionOption, } from "./
|
|
71
|
-
export { SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, } from "./
|
|
72
|
-
export type { IntakeAnswer, IntakeRound, FollowUpPlan, FollowUpPlanInput, SynthesisInput, SynthesisResult, } from "./
|
|
73
|
-
export { normalizeIntentDescription } from "./
|
|
74
|
-
export { LensInferrer } from "./
|
|
75
|
-
export { NegotiationInsightsGenerator } from "./
|
|
76
|
-
export type { NegotiationDigest } from "./
|
|
77
|
-
export { IndexNegotiator } from "./
|
|
78
|
-
export { NegotiationScreener } from "./
|
|
79
|
-
export { NegotiationReflector } from "./
|
|
80
|
-
export type { DistilledMemory, ReflectionTranscriptEntry, NegotiationReflectionInput, ChatReflectionInput, NegotiationReflectJobData, ReflectEnqueueFn } from "./
|
|
81
|
-
export type { NegotiatorMemoryEntry } from "./
|
|
67
|
+
export { IntentIndexer } from "./intents/index.js";
|
|
68
|
+
export type { IntentIndexerOutput } from "./intents/index.js";
|
|
69
|
+
export { SignalIntakePackGenerator, normalizeIntakePack } from "./intents/index.js";
|
|
70
|
+
export type { IntakePack, IntakePackInput, IntakePackQuestion, IntakePackQuestionOption, } from "./intents/index.js";
|
|
71
|
+
export { SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, } from "./intents/index.js";
|
|
72
|
+
export type { IntakeAnswer, IntakeRound, FollowUpPlan, FollowUpPlanInput, SynthesisInput, SynthesisResult, } from "./intents/index.js";
|
|
73
|
+
export { normalizeIntentDescription } from "./intents/index.js";
|
|
74
|
+
export { LensInferrer } from "./contexts/index.js";
|
|
75
|
+
export { NegotiationInsightsGenerator } from "./negotiations/index.js";
|
|
76
|
+
export type { NegotiationDigest } from "./negotiations/index.js";
|
|
77
|
+
export { IndexNegotiator } from "./negotiations/index.js";
|
|
78
|
+
export { NegotiationScreener } from "./negotiations/index.js";
|
|
79
|
+
export { NegotiationReflector } from "./negotiations/index.js";
|
|
80
|
+
export type { DistilledMemory, ReflectionTranscriptEntry, NegotiationReflectionInput, ChatReflectionInput, NegotiationReflectJobData, ReflectEnqueueFn } from "./negotiations/index.js";
|
|
81
|
+
export type { NegotiatorMemoryEntry } from "./negotiations/index.js";
|
|
82
82
|
export { QuestionerAgent } from "./questions/index.js";
|
|
83
83
|
export { isValidQuestionerInputContract } from "./questions/index.js";
|
|
84
84
|
export type { QuestionerInput, RecoveryQuestionerInput, UptakeQuestionerInput, PostStallQuestionerInput, InflightQuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext } from "./questions/index.js";
|
|
85
85
|
export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, intentQuestionDailyCap, INTENT_QUESTION_DAILY_CAP_DEFAULT, INTENT_QUESTION_DAILY_WINDOW_HOURS } from "./questions/index.js";
|
|
86
|
-
export { PoolDiscriminatorMiner } from "./
|
|
87
|
-
export { PoolDiscriminatorAssigner } from "./
|
|
88
|
-
export type { PoolDiscriminatorAssignmentInput, PoolDiscriminatorAssignedAxis } from "./
|
|
89
|
-
export { runPoolDiscriminatorShadow } from "./
|
|
90
|
-
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, } from "./
|
|
91
|
-
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./
|
|
92
|
-
export { DISCOVERY_EVALUATOR_MIN_SCORE_DEFAULT, DISCOVERY_MIN_SIMILARITY_DEFAULT, discoveryAllowedTypes, discoveryEvaluatorMinScore, discoveryIntentMatchingEnabled, discoveryMinSimilarity, discoveryProfileMatchingEnabled, discoveryProfileSource, resetDiscoveryEnvWarningsForTests, validateDiscoveryEvaluatorMinScore, validateDiscoveryMinSimilarity, } from "./
|
|
93
|
-
export type { DiscoveryMatchType, DiscoveryProfileSource } from "./
|
|
94
|
-
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./
|
|
95
|
-
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./
|
|
96
|
-
export type { PoolAdjustment, PoolAdjustmentSignal } from "./
|
|
97
|
-
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./
|
|
98
|
-
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./
|
|
86
|
+
export { PoolDiscriminatorMiner } from "./opportunities/index.js";
|
|
87
|
+
export { PoolDiscriminatorAssigner } from "./opportunities/index.js";
|
|
88
|
+
export type { PoolDiscriminatorAssignmentInput, PoolDiscriminatorAssignedAxis } from "./opportunities/index.js";
|
|
89
|
+
export { runPoolDiscriminatorShadow } from "./opportunities/index.js";
|
|
90
|
+
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, } from "./opportunities/index.js";
|
|
91
|
+
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./opportunities/index.js";
|
|
92
|
+
export { DISCOVERY_EVALUATOR_MIN_SCORE_DEFAULT, DISCOVERY_MIN_SIMILARITY_DEFAULT, discoveryAllowedTypes, discoveryEvaluatorMinScore, discoveryIntentMatchingEnabled, discoveryMinSimilarity, discoveryProfileMatchingEnabled, discoveryProfileSource, resetDiscoveryEnvWarningsForTests, validateDiscoveryEvaluatorMinScore, validateDiscoveryMinSimilarity, } from "./opportunities/index.js";
|
|
93
|
+
export type { DiscoveryMatchType, DiscoveryProfileSource } from "./opportunities/index.js";
|
|
94
|
+
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./opportunities/index.js";
|
|
95
|
+
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./opportunities/index.js";
|
|
96
|
+
export type { PoolAdjustment, PoolAdjustmentSignal } from "./opportunities/index.js";
|
|
97
|
+
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./opportunities/index.js";
|
|
98
|
+
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./opportunities/index.js";
|
|
99
99
|
export type { QuestionPoolDiscriminator, QuestionPoolSnapshot } from "./questions/index.js";
|
|
100
|
-
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator } from "./
|
|
101
|
-
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./
|
|
102
|
-
export { NegotiationEvidenceMiner } from "./
|
|
103
|
-
export { runNegotiationEvidenceShadow } from "./
|
|
104
|
-
export type { RawEvidenceTurn, RawEvidenceOutcome, RawEvidenceOwnerAnswer, RawEvidenceSegment } from "./
|
|
105
|
-
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./
|
|
106
|
-
export { runOutcomeShadow } from "./
|
|
107
|
-
export type { OutcomeLabel, OutcomeExample, OutcomeShadowResult } from "./
|
|
108
|
-
export { OpportunityEvaluator } from "./
|
|
109
|
-
export type { EvaluatorInput } from "./
|
|
110
|
-
export { OpportunityPresenter, gatherPresenterContext } from "./
|
|
111
|
-
export type { PresenterDatabase } from "./
|
|
112
|
-
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./
|
|
113
|
-
export { getPrimaryActionLabel } from "./
|
|
114
|
-
export { computeRadarHealth } from "./
|
|
115
|
-
export type { RadarHealthInput } from "./
|
|
116
|
-
export { isIntroducerDiscoveryEnabled } from "./
|
|
117
|
-
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./
|
|
118
|
-
export type { IntroducerDiscoveryDatabase, IntroducerDiscoveryQueue, ContactWithIntents } from "./
|
|
119
|
-
export { persistOpportunities } from "./
|
|
120
|
-
export { presentOpportunity } from "./
|
|
121
|
-
export type { UserInfo } from "./
|
|
122
|
-
export { stripUuids, truncateAtBoundary } from "./
|
|
123
|
-
export { stripUnsupportedOpportunityClaims } from "./
|
|
124
|
-
export { safeFallbackSummary, DEFAULT_FALLBACK_HEADLINE } from "./
|
|
125
|
-
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./
|
|
126
|
-
export { getOrCreateDeliveryCardBatch } from "./
|
|
100
|
+
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator } from "./opportunities/index.js";
|
|
101
|
+
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./opportunities/index.js";
|
|
102
|
+
export { NegotiationEvidenceMiner } from "./opportunities/index.js";
|
|
103
|
+
export { runNegotiationEvidenceShadow } from "./opportunities/index.js";
|
|
104
|
+
export type { RawEvidenceTurn, RawEvidenceOutcome, RawEvidenceOwnerAnswer, RawEvidenceSegment } from "./opportunities/index.js";
|
|
105
|
+
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./opportunities/index.js";
|
|
106
|
+
export { runOutcomeShadow } from "./opportunities/index.js";
|
|
107
|
+
export type { OutcomeLabel, OutcomeExample, OutcomeShadowResult } from "./opportunities/index.js";
|
|
108
|
+
export { OpportunityEvaluator } from "./opportunities/index.js";
|
|
109
|
+
export type { EvaluatorInput } from "./opportunities/index.js";
|
|
110
|
+
export { OpportunityPresenter, gatherPresenterContext } from "./opportunities/index.js";
|
|
111
|
+
export type { PresenterDatabase } from "./opportunities/index.js";
|
|
112
|
+
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./opportunities/index.js";
|
|
113
|
+
export { getPrimaryActionLabel } from "./opportunities/index.js";
|
|
114
|
+
export { computeRadarHealth } from "./opportunities/index.js";
|
|
115
|
+
export type { RadarHealthInput } from "./opportunities/index.js";
|
|
116
|
+
export { isIntroducerDiscoveryEnabled } from "./opportunities/index.js";
|
|
117
|
+
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./opportunities/index.js";
|
|
118
|
+
export type { IntroducerDiscoveryDatabase, IntroducerDiscoveryQueue, ContactWithIntents } from "./opportunities/index.js";
|
|
119
|
+
export { persistOpportunities } from "./opportunities/index.js";
|
|
120
|
+
export { presentOpportunity } from "./opportunities/index.js";
|
|
121
|
+
export type { UserInfo } from "./opportunities/index.js";
|
|
122
|
+
export { stripUuids, truncateAtBoundary } from "./opportunities/index.js";
|
|
123
|
+
export { stripUnsupportedOpportunityClaims } from "./opportunities/index.js";
|
|
124
|
+
export { safeFallbackSummary, DEFAULT_FALLBACK_HEADLINE } from "./opportunities/index.js";
|
|
125
|
+
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./opportunities/index.js";
|
|
126
|
+
export { getOrCreateDeliveryCardBatch } from "./opportunities/index.js";
|
|
127
127
|
export { createToolRegistry } from "./shared/agent/tool.registry.js";
|
|
128
|
-
export { createIntentTools } from "./
|
|
129
|
-
export type { IntentToolDeps } from "./
|
|
130
|
-
export { createEnrichmentTools, createPremiseTools } from "./
|
|
131
|
-
export type { EnrichmentToolDeps, PremiseToolDeps } from "./
|
|
132
|
-
export { createNetworkTools } from "./
|
|
133
|
-
export type { NetworkToolDeps } from "./
|
|
134
|
-
export { createOpportunityTools } from "./
|
|
135
|
-
export type { OpportunityToolDeps } from "./
|
|
136
|
-
export { createNegotiationTools } from "./
|
|
137
|
-
export type { NegotiationToolDeps } from "./
|
|
128
|
+
export { createIntentTools } from "./intents/index.js";
|
|
129
|
+
export type { IntentToolDeps } from "./intents/index.js";
|
|
130
|
+
export { createEnrichmentTools, createPremiseTools } from "./contexts/index.js";
|
|
131
|
+
export type { EnrichmentToolDeps, PremiseToolDeps } from "./contexts/index.js";
|
|
132
|
+
export { createNetworkTools } from "./networks/index.js";
|
|
133
|
+
export type { NetworkToolDeps } from "./networks/index.js";
|
|
134
|
+
export { createOpportunityTools } from "./opportunities/index.js";
|
|
135
|
+
export type { OpportunityToolDeps } from "./opportunities/index.js";
|
|
136
|
+
export { createNegotiationTools } from "./negotiations/index.js";
|
|
137
|
+
export type { NegotiationToolDeps } from "./negotiations/index.js";
|
|
138
138
|
export { createQuestionerTools, createAskUserQuestionTools } from "./questions/index.js";
|
|
139
139
|
export type { AskUserQuestionToolDeps, QuestionerToolDeps } from "./questions/index.js";
|
|
140
|
-
export { createChatTools, createAgentTools } from "./
|
|
141
|
-
export type { AgentToolDeps } from "./
|
|
140
|
+
export { createChatTools, createAgentTools } from "./agents/index.js";
|
|
141
|
+
export type { AgentToolDeps } from "./agents/index.js";
|
|
142
142
|
export { createContactTools } from "./contacts/index.js";
|
|
143
143
|
export type { ContactToolDeps } from "./contacts/index.js";
|
|
144
144
|
export { createIntegrationTools } from "./integrations/index.js";
|
|
145
145
|
export type { IntegrationToolDeps } from "./integrations/index.js";
|
|
146
|
-
export { AMBIENT_PARK_WINDOW_MS } from './
|
|
146
|
+
export { AMBIENT_PARK_WINDOW_MS } from './negotiations/index.js';
|
|
147
147
|
export { normalizeTelegramHandle } from './shared/utils/telegram-handle.js';
|
|
148
148
|
export { createMcpServer, buildMcpOnboardingMessage, ONBOARDING_ALLOWED } from "./mcp/mcp.server.js";
|
|
149
149
|
export type { ScopedDepsFactory } from "./mcp/mcp.server.js";
|
|
@@ -154,11 +154,11 @@ export type { McpAuthorizationDenialEvent, McpAuthorizationObserver, McpCapabili
|
|
|
154
154
|
export { AskUserPayloadSchema, NEGOTIATION_CONSULTATION_REASONS, NegotiationConsultationReasonSchema, } from "./shared/schemas/negotiation-state.schema.js";
|
|
155
155
|
export type { UserNegotiationContext, NegotiationTurn, NegotiationOutcome, SeedAssessment } from "./shared/schemas/negotiation-state.schema.js";
|
|
156
156
|
export type { NegotiationAction, NegotiationConsultationReason, NegotiationSeat, NegotiationProtocolVersion } from "./shared/schemas/negotiation-state.schema.js";
|
|
157
|
-
export type { NegotiationGraphLike } from "./
|
|
158
|
-
export { HERMES_OWNER_DIRECTIVE, HERMES_SHARED_MESSAGE_TEMPLATES, HermesNegotiationActionSchema, HermesNegotiationResponseSchema, HermesOwnerDirectiveSchema, HermesRoleAlignmentSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./
|
|
159
|
-
export type { HermesNegotiationAction, HermesNegotiationResponse, HermesOwnerDirective, HermesRoleAlignment, } from "./
|
|
160
|
-
export { DEFAULT_NEGOTIATION_MAX_TURNS, isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./
|
|
161
|
-
export type { NegotiationSpeakerParticipants, NegotiationSpeakerMessage } from "./
|
|
162
|
-
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./
|
|
163
|
-
export type { ConsultationEligibility, ConsultationEligibilityInput, NegotiationConsultationPolicyMode } from "./
|
|
164
|
-
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, isSafeNegotiationQuestionText, negotiationQuestionSettlementId, validateInflightAskUserFields, } from "./
|
|
157
|
+
export type { NegotiationGraphLike } from "./negotiations/index.js";
|
|
158
|
+
export { HERMES_OWNER_DIRECTIVE, HERMES_SHARED_MESSAGE_TEMPLATES, HermesNegotiationActionSchema, HermesNegotiationResponseSchema, HermesOwnerDirectiveSchema, HermesRoleAlignmentSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./negotiations/index.js";
|
|
159
|
+
export type { HermesNegotiationAction, HermesNegotiationResponse, HermesOwnerDirective, HermesRoleAlignment, } from "./negotiations/index.js";
|
|
160
|
+
export { DEFAULT_NEGOTIATION_MAX_TURNS, isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./negotiations/index.js";
|
|
161
|
+
export type { NegotiationSpeakerParticipants, NegotiationSpeakerMessage } from "./negotiations/index.js";
|
|
162
|
+
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./negotiations/index.js";
|
|
163
|
+
export type { ConsultationEligibility, ConsultationEligibilityInput, NegotiationConsultationPolicyMode } from "./negotiations/index.js";
|
|
164
|
+
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, isSafeNegotiationQuestionText, negotiationQuestionSettlementId, validateInflightAskUserFields, } from "./negotiations/index.js";
|
package/dist/index.js
CHANGED
|
@@ -20,101 +20,101 @@ export { requestContext } from "./shared/observability/request-context.js";
|
|
|
20
20
|
export { setLoggerFactory } from "./shared/observability/log.js";
|
|
21
21
|
export { setTimingWrapper } from "./shared/observability/performance.js";
|
|
22
22
|
export { getToolTimeoutPolicy, invokeToolRuntime, toolRuntimeErrorToResult } from "./shared/agent/tool.runtime.js";
|
|
23
|
-
export { NegotiationSummarizer } from "./
|
|
24
|
-
export { SYSTEM_AGENT_IDS } from './
|
|
23
|
+
export { NegotiationSummarizer } from "./negotiations/index.js";
|
|
24
|
+
export { SYSTEM_AGENT_IDS } from './agents/index.js';
|
|
25
25
|
// ─── Shared schemas ───────────────────────────────────────────────────────────
|
|
26
26
|
export { ChatContextDigestSchema } from "./shared/schemas/chat-context.schema.js";
|
|
27
27
|
export { NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, } from "./questions/index.js";
|
|
28
28
|
export { McpAuthInputSchema, McpApiKeyMetadataSchema, McpResolvedIdentitySchema, } from "./shared/schemas/mcp-auth.schema.js";
|
|
29
29
|
export { DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD, resolveAssignmentNetworkScope, buildNetworkAssignmentDecision } from "./shared/assignment/network-assignment.policy.js";
|
|
30
|
-
export { buildCandidateEvidence } from "./
|
|
30
|
+
export { buildCandidateEvidence } from "./opportunities/index.js";
|
|
31
31
|
// ─── Graph factories ──────────────────────────────────────────────────────────
|
|
32
|
-
export { ChatGraphFactory } from "./
|
|
33
|
-
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./
|
|
34
|
-
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_TOOL_NAMES, createSignalTools, filterSignalTools, narrowSignalTools, } from "./
|
|
35
|
-
export { REPORTER_PERSONA_ID, REPORTER_PERSONA, REPORTER_BRIEFING_KICKOFF, REPORTER_TOOL_NAMES, createReporterTools, filterReporterTools, narrowReporterTools, } from "./
|
|
36
|
-
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, } from "./
|
|
37
|
-
export { RadarGraphFactory } from "./
|
|
38
|
-
export { HydeGraphFactory } from "./
|
|
39
|
-
export { NetworkGraphFactory } from "./
|
|
40
|
-
export { NetworkMembershipGraphFactory } from "./
|
|
41
|
-
export { IntentGraphFactory } from "./
|
|
42
|
-
export { SemanticVerifier } from "./
|
|
43
|
-
export { IntentNetworkGraphFactory } from "./
|
|
32
|
+
export { ChatGraphFactory } from "./agents/index.js";
|
|
33
|
+
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./agents/index.js";
|
|
34
|
+
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_TOOL_NAMES, createSignalTools, filterSignalTools, narrowSignalTools, } from "./agents/index.js";
|
|
35
|
+
export { REPORTER_PERSONA_ID, REPORTER_PERSONA, REPORTER_BRIEFING_KICKOFF, REPORTER_TOOL_NAMES, createReporterTools, filterReporterTools, narrowReporterTools, } from "./agents/index.js";
|
|
36
|
+
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, } from "./agents/index.js";
|
|
37
|
+
export { RadarGraphFactory } from "./opportunities/index.js";
|
|
38
|
+
export { HydeGraphFactory } from "./contexts/index.js";
|
|
39
|
+
export { NetworkGraphFactory } from "./networks/index.js";
|
|
40
|
+
export { NetworkMembershipGraphFactory } from "./networks/index.js";
|
|
41
|
+
export { IntentGraphFactory } from "./intents/index.js";
|
|
42
|
+
export { SemanticVerifier } from "./intents/index.js";
|
|
43
|
+
export { IntentNetworkGraphFactory } from "./networks/index.js";
|
|
44
44
|
export { MaintenanceGraphFactory } from "./maintenance/maintenance.graph.js";
|
|
45
|
-
export { NegotiationGraphFactory, negotiateCandidates } from "./
|
|
46
|
-
export { OpportunityGraphFactory } from "./
|
|
47
|
-
export { hasUnsupportedOpportunityClaim } from "./
|
|
48
|
-
export { opportunityOwnerActionForStatus, bindOwnerApprovalProvenance } from "./
|
|
49
|
-
export { EnrichmentGraphFactory } from "./
|
|
50
|
-
export { PremiseGraphFactory } from "./
|
|
45
|
+
export { NegotiationGraphFactory, negotiateCandidates } from "./negotiations/index.js";
|
|
46
|
+
export { OpportunityGraphFactory } from "./opportunities/index.js";
|
|
47
|
+
export { hasUnsupportedOpportunityClaim } from "./opportunities/index.js";
|
|
48
|
+
export { opportunityOwnerActionForStatus, bindOwnerApprovalProvenance } from "./opportunities/index.js";
|
|
49
|
+
export { EnrichmentGraphFactory } from "./contexts/index.js";
|
|
50
|
+
export { PremiseGraphFactory } from "./contexts/index.js";
|
|
51
51
|
// ─── Agents ───────────────────────────────────────────────────────────────────
|
|
52
|
-
export { UserContextGenerator } from "./
|
|
53
|
-
export { ChatTitleGenerator } from "./
|
|
54
|
-
export { ChatInterruptClassifier } from "./
|
|
55
|
-
export { ChatSummarizer } from "./
|
|
56
|
-
export { HydeGenerator } from "./
|
|
57
|
-
export { SuggestionGenerator } from "./
|
|
52
|
+
export { UserContextGenerator } from "./contexts/index.js";
|
|
53
|
+
export { ChatTitleGenerator } from "./agents/index.js";
|
|
54
|
+
export { ChatInterruptClassifier } from "./agents/index.js";
|
|
55
|
+
export { ChatSummarizer } from "./agents/index.js";
|
|
56
|
+
export { HydeGenerator } from "./contexts/index.js";
|
|
57
|
+
export { SuggestionGenerator } from "./agents/index.js";
|
|
58
58
|
export { generateInviteMessage } from "./contacts/index.js";
|
|
59
|
-
export { IntentIndexer } from "./
|
|
60
|
-
export { SignalIntakePackGenerator, normalizeIntakePack } from "./
|
|
61
|
-
export { SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, } from "./
|
|
62
|
-
export { normalizeIntentDescription } from "./
|
|
63
|
-
export { LensInferrer } from "./
|
|
64
|
-
export { NegotiationInsightsGenerator } from "./
|
|
65
|
-
export { IndexNegotiator } from "./
|
|
66
|
-
export { NegotiationScreener } from "./
|
|
67
|
-
export { NegotiationReflector } from "./
|
|
59
|
+
export { IntentIndexer } from "./intents/index.js";
|
|
60
|
+
export { SignalIntakePackGenerator, normalizeIntakePack } from "./intents/index.js";
|
|
61
|
+
export { SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, } from "./intents/index.js";
|
|
62
|
+
export { normalizeIntentDescription } from "./intents/index.js";
|
|
63
|
+
export { LensInferrer } from "./contexts/index.js";
|
|
64
|
+
export { NegotiationInsightsGenerator } from "./negotiations/index.js";
|
|
65
|
+
export { IndexNegotiator } from "./negotiations/index.js";
|
|
66
|
+
export { NegotiationScreener } from "./negotiations/index.js";
|
|
67
|
+
export { NegotiationReflector } from "./negotiations/index.js";
|
|
68
68
|
export { QuestionerAgent } from "./questions/index.js";
|
|
69
69
|
export { isValidQuestionerInputContract } from "./questions/index.js";
|
|
70
70
|
export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, intentQuestionDailyCap, INTENT_QUESTION_DAILY_CAP_DEFAULT, INTENT_QUESTION_DAILY_WINDOW_HOURS } from "./questions/index.js";
|
|
71
|
-
export { PoolDiscriminatorMiner } from "./
|
|
72
|
-
export { PoolDiscriminatorAssigner } from "./
|
|
73
|
-
export { runPoolDiscriminatorShadow } from "./
|
|
74
|
-
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, } from "./
|
|
75
|
-
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./
|
|
71
|
+
export { PoolDiscriminatorMiner } from "./opportunities/index.js";
|
|
72
|
+
export { PoolDiscriminatorAssigner } from "./opportunities/index.js";
|
|
73
|
+
export { runPoolDiscriminatorShadow } from "./opportunities/index.js";
|
|
74
|
+
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, } from "./opportunities/index.js";
|
|
75
|
+
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./opportunities/index.js";
|
|
76
76
|
// Discovery env accessors (IND-XXX)
|
|
77
|
-
export { DISCOVERY_EVALUATOR_MIN_SCORE_DEFAULT, DISCOVERY_MIN_SIMILARITY_DEFAULT, discoveryAllowedTypes, discoveryEvaluatorMinScore, discoveryIntentMatchingEnabled, discoveryMinSimilarity, discoveryProfileMatchingEnabled, discoveryProfileSource, resetDiscoveryEnvWarningsForTests, validateDiscoveryEvaluatorMinScore, validateDiscoveryMinSimilarity, } from "./
|
|
78
|
-
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./
|
|
79
|
-
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./
|
|
80
|
-
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./
|
|
81
|
-
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./
|
|
77
|
+
export { DISCOVERY_EVALUATOR_MIN_SCORE_DEFAULT, DISCOVERY_MIN_SIMILARITY_DEFAULT, discoveryAllowedTypes, discoveryEvaluatorMinScore, discoveryIntentMatchingEnabled, discoveryMinSimilarity, discoveryProfileMatchingEnabled, discoveryProfileSource, resetDiscoveryEnvWarningsForTests, validateDiscoveryEvaluatorMinScore, validateDiscoveryMinSimilarity, } from "./opportunities/index.js";
|
|
78
|
+
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./opportunities/index.js";
|
|
79
|
+
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./opportunities/index.js";
|
|
80
|
+
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./opportunities/index.js";
|
|
81
|
+
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./opportunities/index.js";
|
|
82
82
|
// Lens C — negotiation-evidence questions (IND-433, shadow).
|
|
83
|
-
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./
|
|
84
|
-
export { NegotiationEvidenceMiner } from "./
|
|
85
|
-
export { runNegotiationEvidenceShadow } from "./
|
|
83
|
+
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./opportunities/index.js";
|
|
84
|
+
export { NegotiationEvidenceMiner } from "./opportunities/index.js";
|
|
85
|
+
export { runNegotiationEvidenceShadow } from "./opportunities/index.js";
|
|
86
86
|
// Lens B — outcome-question shadow (IND-434)
|
|
87
|
-
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./
|
|
88
|
-
export { runOutcomeShadow } from "./
|
|
89
|
-
export { OpportunityEvaluator } from "./
|
|
90
|
-
export { OpportunityPresenter, gatherPresenterContext } from "./
|
|
87
|
+
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./opportunities/index.js";
|
|
88
|
+
export { runOutcomeShadow } from "./opportunities/index.js";
|
|
89
|
+
export { OpportunityEvaluator } from "./opportunities/index.js";
|
|
90
|
+
export { OpportunityPresenter, gatherPresenterContext } from "./opportunities/index.js";
|
|
91
91
|
// ─── Support utilities ────────────────────────────────────────────────────────
|
|
92
|
-
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./
|
|
93
|
-
export { getPrimaryActionLabel } from "./
|
|
94
|
-
export { computeRadarHealth } from "./
|
|
95
|
-
export { isIntroducerDiscoveryEnabled } from "./
|
|
96
|
-
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./
|
|
97
|
-
export { persistOpportunities } from "./
|
|
98
|
-
export { presentOpportunity } from "./
|
|
99
|
-
export { stripUuids, truncateAtBoundary } from "./
|
|
100
|
-
export { stripUnsupportedOpportunityClaims } from "./
|
|
101
|
-
export { safeFallbackSummary, DEFAULT_FALLBACK_HEADLINE } from "./
|
|
102
|
-
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./
|
|
103
|
-
export { getOrCreateDeliveryCardBatch } from "./
|
|
92
|
+
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./opportunities/index.js";
|
|
93
|
+
export { getPrimaryActionLabel } from "./opportunities/index.js";
|
|
94
|
+
export { computeRadarHealth } from "./opportunities/index.js";
|
|
95
|
+
export { isIntroducerDiscoveryEnabled } from "./opportunities/index.js";
|
|
96
|
+
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./opportunities/index.js";
|
|
97
|
+
export { persistOpportunities } from "./opportunities/index.js";
|
|
98
|
+
export { presentOpportunity } from "./opportunities/index.js";
|
|
99
|
+
export { stripUuids, truncateAtBoundary } from "./opportunities/index.js";
|
|
100
|
+
export { stripUnsupportedOpportunityClaims } from "./opportunities/index.js";
|
|
101
|
+
export { safeFallbackSummary, DEFAULT_FALLBACK_HEADLINE } from "./opportunities/index.js";
|
|
102
|
+
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./opportunities/index.js";
|
|
103
|
+
export { getOrCreateDeliveryCardBatch } from "./opportunities/index.js";
|
|
104
104
|
// ─── Tools ────────────────────────────────────────────────────────────────────
|
|
105
105
|
export { createToolRegistry } from "./shared/agent/tool.registry.js";
|
|
106
106
|
// Capability-owned tool entry points. These are explicit, narrow contracts;
|
|
107
107
|
// capability implementation directories remain private to the package.
|
|
108
|
-
export { createIntentTools } from "./
|
|
109
|
-
export { createEnrichmentTools, createPremiseTools } from "./
|
|
110
|
-
export { createNetworkTools } from "./
|
|
111
|
-
export { createOpportunityTools } from "./
|
|
112
|
-
export { createNegotiationTools } from "./
|
|
108
|
+
export { createIntentTools } from "./intents/index.js";
|
|
109
|
+
export { createEnrichmentTools, createPremiseTools } from "./contexts/index.js";
|
|
110
|
+
export { createNetworkTools } from "./networks/index.js";
|
|
111
|
+
export { createOpportunityTools } from "./opportunities/index.js";
|
|
112
|
+
export { createNegotiationTools } from "./negotiations/index.js";
|
|
113
113
|
export { createQuestionerTools, createAskUserQuestionTools } from "./questions/index.js";
|
|
114
|
-
export { createChatTools, createAgentTools } from "./
|
|
114
|
+
export { createChatTools, createAgentTools } from "./agents/index.js";
|
|
115
115
|
export { createContactTools } from "./contacts/index.js";
|
|
116
116
|
export { createIntegrationTools } from "./integrations/index.js";
|
|
117
|
-
export { AMBIENT_PARK_WINDOW_MS } from './
|
|
117
|
+
export { AMBIENT_PARK_WINDOW_MS } from './negotiations/index.js';
|
|
118
118
|
export { normalizeTelegramHandle } from './shared/utils/telegram-handle.js';
|
|
119
119
|
// ─── MCP ──────────────────────────────────────────────────────────────────────
|
|
120
120
|
export { createMcpServer, buildMcpOnboardingMessage, ONBOARDING_ALLOWED } from "./mcp/mcp.server.js";
|
|
@@ -123,8 +123,8 @@ export { ActivityQuestionCountsSchema, ActivityQuestionDomainSchema, ActivitySum
|
|
|
123
123
|
// ─── States (for advanced graph consumers) ────────────────────────────────────
|
|
124
124
|
// @experimental — internal graph-state shapes; may change in a minor release.
|
|
125
125
|
export { AskUserPayloadSchema, NEGOTIATION_CONSULTATION_REASONS, NegotiationConsultationReasonSchema, } from "./shared/schemas/negotiation-state.schema.js";
|
|
126
|
-
export { HERMES_OWNER_DIRECTIVE, HERMES_SHARED_MESSAGE_TEMPLATES, HermesNegotiationActionSchema, HermesNegotiationResponseSchema, HermesOwnerDirectiveSchema, HermesRoleAlignmentSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./
|
|
126
|
+
export { HERMES_OWNER_DIRECTIVE, HERMES_SHARED_MESSAGE_TEMPLATES, HermesNegotiationActionSchema, HermesNegotiationResponseSchema, HermesOwnerDirectiveSchema, HermesRoleAlignmentSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./negotiations/index.js";
|
|
127
127
|
// ─── Negotiation seat rules (v2 client-advocate protocol) ───────────────────
|
|
128
|
-
export { DEFAULT_NEGOTIATION_MAX_TURNS, isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./
|
|
129
|
-
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./
|
|
130
|
-
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, isSafeNegotiationQuestionText, negotiationQuestionSettlementId, validateInflightAskUserFields, } from "./
|
|
128
|
+
export { DEFAULT_NEGOTIATION_MAX_TURNS, isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./negotiations/index.js";
|
|
129
|
+
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./negotiations/index.js";
|
|
130
|
+
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, isSafeNegotiationQuestionText, negotiationQuestionSettlementId, validateInflightAskUserFields, } from "./negotiations/index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* intents/application — signal lifecycle and graph orchestration seams.
|
|
3
3
|
*
|
|
4
4
|
* Houses the LangGraph factory, model-binding adapters (inferrer, clarifier,
|
|
5
5
|
* verifier, reconciler, indexer), and the tool-definition factory.
|
|
6
6
|
* Participant-facing runtime tool registration lives in the foreground shell
|
|
7
7
|
* (shared/agent/tool.factory).
|
|
8
8
|
*
|
|
9
|
-
* Boundary: may import from
|
|
9
|
+
* Boundary: may import from intents/domain and intents/ports, plus
|
|
10
10
|
* only-when-needed LangGraph / model-binding seams inside this directory.
|
|
11
11
|
* Must not import host implementations.
|
|
12
12
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* intents/application — signal lifecycle and graph orchestration seams.
|
|
3
3
|
*
|
|
4
4
|
* Houses the LangGraph factory, model-binding adapters (inferrer, clarifier,
|
|
5
5
|
* verifier, reconciler, indexer), and the tool-definition factory.
|
|
6
6
|
* Participant-facing runtime tool registration lives in the foreground shell
|
|
7
7
|
* (shared/agent/tool.factory).
|
|
8
8
|
*
|
|
9
|
-
* Boundary: may import from
|
|
9
|
+
* Boundary: may import from intents/domain and intents/ports, plus
|
|
10
10
|
* only-when-needed LangGraph / model-binding seams inside this directory.
|
|
11
11
|
* Must not import host implementations.
|
|
12
12
|
*/
|
|
@@ -6,7 +6,7 @@ import type { NormalizedIntentAction } from "./intent.reconciler.js";
|
|
|
6
6
|
import { IntentGraphDatabase } from "../../shared/interfaces/database.interface.js";
|
|
7
7
|
import type { EmbeddingGenerator } from "../../shared/interfaces/embedder.interface.js";
|
|
8
8
|
import type { IntentGraphQueue } from "../../shared/interfaces/queue.interface.js";
|
|
9
|
-
import type { DebugMetaAgent } from "../../
|
|
9
|
+
import type { DebugMetaAgent } from "../../agents/index.js";
|
|
10
10
|
import type { QuestionerEnqueueFn } from "../../questions/index.js";
|
|
11
11
|
/**
|
|
12
12
|
* Enforce write-mode constraints on reconciler output before any action can
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseMessage } from "@langchain/core/messages";
|
|
2
2
|
import { InferredIntent } from "../application/intent.inferrer.js";
|
|
3
3
|
import { SemanticVerifierOutput } from "../application/intent.verifier.js";
|
|
4
|
-
import type { DebugMetaAgent } from '../../
|
|
4
|
+
import type { DebugMetaAgent } from '../../agents/index.js';
|
|
5
5
|
import type { ToolScopeType } from '../../shared/agent/tool.scope.js';
|
|
6
6
|
/**
|
|
7
7
|
* Extended InferredIntent that includes verification results.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* signals — the capability's sole cross-capability surface.
|
|
3
3
|
*
|
|
4
4
|
* Anything outside this capability imports from here and nowhere else.
|
|
5
|
-
* Supersedes the capabilities/*.facade.ts +
|
|
5
|
+
* Supersedes the capabilities/*.facade.ts + intents/public/ pair; the export
|
|
6
6
|
* list is the union of the facades it replaces, so the contract is unchanged.
|
|
7
7
|
*/
|
|
8
8
|
export { answerLabel, FALLBACK_BRING_QUESTION, FALLBACK_WHO_QUESTION, SignalIntakeOrchestrator, } from "./application/intake.orchestrator.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* signals — the capability's sole cross-capability surface.
|
|
3
3
|
*
|
|
4
4
|
* Anything outside this capability imports from here and nowhere else.
|
|
5
|
-
* Supersedes the capabilities/*.facade.ts +
|
|
5
|
+
* Supersedes the capabilities/*.facade.ts + intents/public/ pair; the export
|
|
6
6
|
* list is the union of the facades it replaces, so the contract is unchanged.
|
|
7
7
|
*/
|
|
8
8
|
export { answerLabel, FALLBACK_BRING_QUESTION, FALLBACK_WHO_QUESTION, SignalIntakeOrchestrator, } from "./application/intake.orchestrator.js";
|