@indexnetwork/protocol 21.0.0-rc.486.1 → 21.0.0-rc.487.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/dist/agents/{ports/agent.dispatcher.port.d.ts → agent.dispatcher.port.d.ts} +2 -2
- package/dist/agents/agent.module.d.ts +19 -0
- package/dist/agents/agent.module.js +11 -0
- package/dist/agents/{ports/agent.repository.port.d.ts → agent.repository.port.d.ts} +1 -1
- package/dist/agents/{application/agent.tools.d.ts → agent.tools.d.ts} +2 -2
- package/dist/agents/{application/agent.tools.js → agent.tools.js} +2 -2
- package/dist/chat/chat-streaming.types.d.ts +1 -1
- package/dist/chat/chat.agent.d.ts +1 -1
- package/dist/chat/negotiator.prompt.d.ts +1 -1
- package/dist/chat/negotiator.prompt.js +1 -1
- package/dist/contacts/contact.module.d.ts +8 -0
- package/dist/contacts/contact.module.js +6 -0
- package/dist/contacts/{ports/contact.repository.port.d.ts → contact.repository.port.d.ts} +1 -1
- package/dist/contacts/{application/contact.tools.d.ts → contact.tools.d.ts} +2 -2
- package/dist/contacts/{application/contact.tools.js → contact.tools.js} +2 -2
- package/dist/contexts/context.module.d.ts +13 -0
- package/dist/contexts/context.module.js +12 -0
- package/dist/contexts/{ports/participant-context.tools.port.d.ts → context.tools.port.d.ts} +1 -1
- package/dist/discovery/hyde.graph.d.ts +1 -1
- package/dist/discovery/hyde.state.d.ts +1 -1
- package/dist/enrichment/enrichment.graph.d.ts +1 -1
- package/dist/enrichment/enrichment.state.d.ts +1 -1
- package/dist/enrichment/enrichment.tools.context-read.d.ts +1 -1
- package/dist/enrichment/enrichment.tools.context-write.d.ts +1 -1
- package/dist/enrichment/enrichment.tools.d.ts +1 -1
- package/dist/enrichment/enrichment.tools.helpers.d.ts +1 -1
- package/dist/index.d.ts +86 -86
- package/dist/index.js +61 -61
- package/dist/intents/graph/intent.graph.d.ts +1 -1
- package/dist/intents/graph/intent.graph.infer.d.ts +1 -1
- package/dist/intents/graph/intent.graph.reconcile.d.ts +1 -1
- package/dist/intents/graph/intent.graph.shared.d.ts +1 -1
- package/dist/intents/graph/intent.graph.state.d.ts +1 -1
- package/dist/intents/intent.module.d.ts +1 -1
- package/dist/maintenance/maintenance.graph.js +3 -3
- package/dist/mcp/mcp.server.js +1 -1
- package/dist/negotiations/{application/insight.generator.js → insight.generator.js} +4 -4
- package/dist/negotiations/{application/negotiation.agent.d.ts → negotiation.agent.d.ts} +6 -6
- package/dist/negotiations/{application/negotiation.agent.js → negotiation.agent.js} +9 -9
- package/dist/negotiations/negotiation.attribution.d.ts +1 -1
- package/dist/negotiations/{application/negotiation.candidates.d.ts → negotiation.candidates.d.ts} +5 -5
- package/dist/negotiations/{application/negotiation.candidates.js → negotiation.candidates.js} +1 -1
- package/dist/negotiations/{domain/negotiation.consultation-policy.d.ts → negotiation.consultation-policy.d.ts} +2 -2
- package/dist/negotiations/{application/negotiation.detail-reader.d.ts → negotiation.detail-reader.d.ts} +5 -5
- package/dist/negotiations/{application/negotiation.detail-reader.js → negotiation.detail-reader.js} +3 -3
- package/dist/negotiations/{application/negotiation.graph.d.ts → negotiation.graph.d.ts} +81 -81
- package/dist/negotiations/{application/negotiation.graph.finalize.js → negotiation.graph.finalize.js} +4 -4
- package/dist/negotiations/{application/negotiation.graph.init.d.ts → negotiation.graph.init.d.ts} +8 -8
- package/dist/negotiations/{application/negotiation.graph.init.js → negotiation.graph.init.js} +5 -5
- package/dist/negotiations/{application/negotiation.graph.js → negotiation.graph.js} +4 -4
- package/dist/negotiations/{application/negotiation.graph.screen.d.ts → negotiation.graph.screen.d.ts} +1 -1
- package/dist/negotiations/{application/negotiation.graph.screen.js → negotiation.graph.screen.js} +2 -2
- package/dist/negotiations/{application/negotiation.graph.shared.d.ts → negotiation.graph.shared.d.ts} +13 -13
- package/dist/negotiations/{application/negotiation.graph.shared.js → negotiation.graph.shared.js} +2 -2
- package/dist/negotiations/{application/negotiation.graph.turn.d.ts → negotiation.graph.turn.d.ts} +2 -2
- package/dist/negotiations/{application/negotiation.graph.turn.js → negotiation.graph.turn.js} +6 -6
- package/dist/negotiations/{domain/negotiation.hermes-contract.d.ts → negotiation.hermes-contract.d.ts} +1 -1
- package/dist/negotiations/{domain/negotiation.lifecycle-narration.d.ts → negotiation.lifecycle-narration.d.ts} +1 -1
- package/dist/negotiations/negotiation.module.d.ts +28 -0
- package/dist/negotiations/negotiation.module.js +19 -0
- package/dist/negotiations/{domain/negotiation.protocol.d.ts → negotiation.protocol.d.ts} +1 -1
- package/dist/negotiations/{domain/negotiation.protocol.js → negotiation.protocol.js} +1 -1
- package/dist/negotiations/{domain/negotiation.question-safety.js → negotiation.question-safety.js} +1 -1
- package/dist/negotiations/{application/negotiation.reflect.d.ts → negotiation.reflect.d.ts} +3 -3
- package/dist/negotiations/{application/negotiation.reflect.js → negotiation.reflect.js} +5 -5
- package/dist/negotiations/{application/negotiation.screen.d.ts → negotiation.screen.d.ts} +8 -8
- package/dist/negotiations/{application/negotiation.screen.js → negotiation.screen.js} +7 -7
- package/dist/negotiations/{domain/negotiation.state.d.ts → negotiation.state.d.ts} +2 -2
- package/dist/negotiations/{domain/negotiation.state.js → negotiation.state.js} +1 -1
- package/dist/negotiations/{application/negotiation.summarizer.d.ts → negotiation.summarizer.d.ts} +2 -2
- package/dist/negotiations/{application/negotiation.summarizer.js → negotiation.summarizer.js} +4 -4
- package/dist/negotiations/{application/negotiation.tools.d.ts → negotiation.tools.d.ts} +3 -3
- package/dist/negotiations/{application/negotiation.tools.js → negotiation.tools.js} +9 -9
- package/dist/negotiations/{ports/negotiation.tools.port.d.ts → negotiation.tools.port.d.ts} +4 -4
- package/dist/networks/indexer.graph.d.ts +1 -1
- package/dist/networks/indexer.state.d.ts +1 -1
- package/dist/opportunities/{application/delivery-card.cache.d.ts → delivery-card.cache.d.ts} +2 -2
- package/dist/opportunities/{application/delivery-card.cache.js → delivery-card.cache.js} +2 -2
- package/dist/opportunities/discriminator/discriminator.adjustments.d.ts +1 -1
- package/dist/opportunities/discriminator/discriminator.push.d.ts +1 -1
- package/dist/opportunities/discriminator/discriminator.question.d.ts +1 -1
- package/dist/opportunities/{application/negotiation-context.loader.d.ts → negotiation-context.loader.d.ts} +2 -2
- package/dist/opportunities/{application/negotiation-context.loader.js → negotiation-context.loader.js} +1 -1
- package/dist/opportunities/{domain/negotiation-summary.builder.d.ts → negotiation-summary.builder.d.ts} +2 -2
- package/dist/opportunities/{domain/opportunity.actor.d.ts → opportunity.actor.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.discovery-negotiation-summary.d.ts → opportunity.discovery-negotiation-summary.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.discovery-negotiation-summary.js → opportunity.discovery-negotiation-summary.js} +3 -3
- package/dist/opportunities/{application/opportunity.enricher.d.ts → opportunity.enricher.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.enricher.js → opportunity.enricher.js} +2 -2
- package/dist/opportunities/{application/opportunity.evaluator.d.ts → opportunity.evaluator.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.evaluator.js → opportunity.evaluator.js} +7 -7
- package/dist/opportunities/{domain/opportunity.evidence.d.ts → opportunity.evidence.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.existing-negotiation.d.ts → opportunity.existing-negotiation.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.existing-negotiation.js → opportunity.existing-negotiation.js} +1 -1
- package/dist/opportunities/{application/opportunity.feed-selection.d.ts → opportunity.feed-selection.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.feed-selection.js → opportunity.feed-selection.js} +1 -1
- package/dist/opportunities/{application/opportunity.graph.d.ts → opportunity.graph.d.ts} +130 -130
- package/dist/opportunities/{application/opportunity.graph.discovery-strategies.d.ts → opportunity.graph.discovery-strategies.d.ts} +5 -5
- package/dist/opportunities/{application/opportunity.graph.discovery-strategies.js → opportunity.graph.discovery-strategies.js} +5 -5
- package/dist/opportunities/{application/opportunity.graph.discovery.d.ts → opportunity.graph.discovery.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.graph.discovery.js → opportunity.graph.discovery.js} +6 -6
- package/dist/opportunities/{application/opportunity.graph.evaluation.d.ts → opportunity.graph.evaluation.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.graph.evaluation.js → opportunity.graph.evaluation.js} +8 -8
- package/dist/opportunities/{application/opportunity.graph.js → opportunity.graph.js} +13 -13
- package/dist/opportunities/{application/opportunity.graph.modes.d.ts → opportunity.graph.modes.d.ts} +37 -37
- package/dist/opportunities/{application/opportunity.graph.modes.js → opportunity.graph.modes.js} +9 -9
- package/dist/opportunities/{application/opportunity.graph.negotiate.d.ts → opportunity.graph.negotiate.d.ts} +4 -4
- package/dist/opportunities/{application/opportunity.graph.negotiate.js → opportunity.graph.negotiate.js} +6 -6
- package/dist/opportunities/{application/opportunity.graph.persist-node.d.ts → opportunity.graph.persist-node.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.graph.persist-node.js → opportunity.graph.persist-node.js} +9 -9
- package/dist/opportunities/{application/opportunity.graph.prep.d.ts → opportunity.graph.prep.d.ts} +4 -4
- package/dist/opportunities/{application/opportunity.graph.prep.js → opportunity.graph.prep.js} +6 -6
- package/dist/opportunities/{application/opportunity.graph.shared.d.ts → opportunity.graph.shared.d.ts} +28 -28
- package/dist/opportunities/{application/opportunity.graph.shared.js → opportunity.graph.shared.js} +4 -4
- package/dist/opportunities/{application/opportunity.introducer.js → opportunity.introducer.js} +1 -1
- package/dist/opportunities/{application/opportunity.lifecycle.d.ts → opportunity.lifecycle.d.ts} +1 -1
- package/dist/opportunities/{index.d.ts → opportunity.module.d.ts} +24 -24
- package/dist/opportunities/{index.js → opportunity.module.js} +16 -16
- package/dist/opportunities/{application/opportunity.newborn-stamping.d.ts → opportunity.newborn-stamping.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.owner-provenance.d.ts → opportunity.owner-provenance.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.pending-questions.d.ts → opportunity.pending-questions.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.pending-questions.js → opportunity.pending-questions.js} +1 -1
- package/dist/opportunities/{application/opportunity.persist.d.ts → opportunity.persist.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.persist.js → opportunity.persist.js} +3 -3
- package/dist/opportunities/{application/opportunity.persistence-admission.d.ts → opportunity.persistence-admission.d.ts} +1 -1
- package/dist/opportunities/{application/opportunity.presentation.d.ts → opportunity.presentation.d.ts} +3 -3
- package/dist/opportunities/{application/opportunity.presentation.js → opportunity.presentation.js} +6 -6
- package/dist/opportunities/{domain/opportunity.state.d.ts → opportunity.state.d.ts} +6 -6
- package/dist/opportunities/{application/opportunity.tools.cards.d.ts → opportunity.tools.cards.d.ts} +4 -4
- package/dist/opportunities/{application/opportunity.tools.cards.js → opportunity.tools.cards.js} +2 -2
- package/dist/opportunities/{application/opportunity.tools.d.ts → opportunity.tools.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.tools.js → opportunity.tools.js} +7 -7
- package/dist/opportunities/{application/opportunity.tools.list.d.ts → opportunity.tools.list.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.tools.list.js → opportunity.tools.list.js} +4 -4
- package/dist/opportunities/{ports/opportunity.tools.port.d.ts → opportunity.tools.port.d.ts} +2 -2
- package/dist/opportunities/{application/opportunity.update-admission.d.ts → opportunity.update-admission.d.ts} +1 -1
- package/dist/opportunities/{domain/opportunity.utils.d.ts → opportunity.utils.d.ts} +3 -3
- package/dist/opportunities/{domain/opportunity.utils.js → opportunity.utils.js} +3 -3
- package/dist/opportunities/radar/radar.graph.d.ts +2 -2
- package/dist/opportunities/radar/radar.graph.js +6 -6
- package/dist/opportunities/radar/radar.health.js +1 -1
- package/dist/opportunities/radar/radar.state.d.ts +1 -1
- package/dist/premises/premise.graph.d.ts +1 -1
- package/dist/premises/premise.state.d.ts +1 -1
- package/dist/premises/premise.tools.d.ts +1 -1
- package/dist/questions/question.input.d.ts +1 -1
- package/dist/questions/question.input.js +1 -1
- package/dist/questions/question.presets.js +1 -1
- package/dist/shared/agent/tool.factory.d.ts +1 -1
- package/dist/shared/agent/tool.factory.js +9 -9
- package/dist/shared/agent/tool.helpers.d.ts +4 -4
- package/dist/shared/agent/tool.registry.d.ts +1 -1
- package/dist/shared/agent/tool.registry.js +5 -5
- package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +1 -1
- package/package.json +1 -1
- package/dist/agents/application/index.d.ts +0 -23
- package/dist/agents/application/index.js +0 -24
- package/dist/agents/domain/index.d.ts +0 -19
- package/dist/agents/domain/index.js +0 -1
- package/dist/agents/index.d.ts +0 -21
- package/dist/agents/index.js +0 -11
- package/dist/agents/ports/index.d.ts +0 -27
- package/dist/agents/ports/index.js +0 -25
- package/dist/contacts/application/index.d.ts +0 -10
- package/dist/contacts/application/index.js +0 -10
- package/dist/contacts/domain/index.d.ts +0 -12
- package/dist/contacts/index.d.ts +0 -9
- package/dist/contacts/index.js +0 -8
- package/dist/contacts/ports/index.d.ts +0 -19
- package/dist/contacts/ports/index.js +0 -18
- package/dist/contexts/application/index.d.ts +0 -72
- package/dist/contexts/application/index.js +0 -82
- package/dist/contexts/domain/index.d.ts +0 -67
- package/dist/contexts/domain/index.js +0 -68
- package/dist/contexts/index.d.ts +0 -13
- package/dist/contexts/index.js +0 -12
- package/dist/contexts/ports/index.d.ts +0 -37
- package/dist/contexts/ports/index.js +0 -34
- package/dist/contexts/ports/participant-context.tools.port.js +0 -1
- package/dist/negotiations/application/index.d.ts +0 -48
- package/dist/negotiations/application/index.js +0 -49
- package/dist/negotiations/domain/index.d.ts +0 -56
- package/dist/negotiations/domain/index.js +0 -57
- package/dist/negotiations/index.d.ts +0 -12
- package/dist/negotiations/index.js +0 -9
- package/dist/negotiations/ports/index.d.ts +0 -16
- package/dist/negotiations/ports/index.js +0 -16
- package/dist/opportunities/application/index.d.ts +0 -59
- package/dist/opportunities/application/index.js +0 -64
- package/dist/opportunities/domain/index.d.ts +0 -51
- package/dist/opportunities/domain/index.js +0 -48
- package/dist/opportunities/ports/index.d.ts +0 -5
- package/dist/opportunities/ports/index.js +0 -1
- /package/dist/agents/{ports/agent.dispatcher.port.js → agent.dispatcher.port.js} +0 -0
- /package/dist/agents/{ports/agent.repository.port.js → agent.repository.port.js} +0 -0
- /package/dist/agents/{ports/agent.tools.port.d.ts → agent.tools.port.d.ts} +0 -0
- /package/dist/agents/{ports/agent.tools.port.js → agent.tools.port.js} +0 -0
- /package/dist/agents/{domain/agent.types.d.ts → agent.types.d.ts} +0 -0
- /package/dist/agents/{domain/agent.types.js → agent.types.js} +0 -0
- /package/dist/contacts/{ports/contact.repository.port.js → contact.repository.port.js} +0 -0
- /package/dist/contacts/{ports/contact.tools.port.d.ts → contact.tools.port.d.ts} +0 -0
- /package/dist/contacts/{ports/contact.tools.port.js → contact.tools.port.js} +0 -0
- /package/dist/contacts/{domain/contact.types.d.ts → contact.types.d.ts} +0 -0
- /package/dist/contacts/{domain/contact.types.js → contact.types.js} +0 -0
- /package/dist/{contacts/domain/index.js → contexts/context.tools.port.js} +0 -0
- /package/dist/negotiations/{application/insight.generator.d.ts → insight.generator.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.consultation-policy.js → negotiation.consultation-policy.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.deadlock.contracts.d.ts → negotiation.deadlock.contracts.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.deadlock.contracts.js → negotiation.deadlock.contracts.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.deadlock.d.ts → negotiation.deadlock.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.deadlock.js → negotiation.deadlock.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.expected-speaker.d.ts → negotiation.expected-speaker.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.expected-speaker.js → negotiation.expected-speaker.js} +0 -0
- /package/dist/negotiations/{application/negotiation.graph.finalize.d.ts → negotiation.graph.finalize.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.hermes-contract.js → negotiation.hermes-contract.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.intent-snapshot-provenance.d.ts → negotiation.intent-snapshot-provenance.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.intent-snapshot-provenance.js → negotiation.intent-snapshot-provenance.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.lifecycle-narration.js → negotiation.lifecycle-narration.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.memory.d.ts → negotiation.memory.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.memory.js → negotiation.memory.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.question-safety.d.ts → negotiation.question-safety.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.screen.contracts.d.ts → negotiation.screen.contracts.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.screen.contracts.js → negotiation.screen.contracts.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.stance.contracts.d.ts → negotiation.stance.contracts.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.stance.contracts.js → negotiation.stance.contracts.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.task-lock-policy.d.ts → negotiation.task-lock-policy.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.task-lock-policy.js → negotiation.task-lock-policy.js} +0 -0
- /package/dist/negotiations/{ports/negotiation.tools.port.js → negotiation.tools.port.js} +0 -0
- /package/dist/negotiations/{domain/negotiation.turn-cap.d.ts → negotiation.turn-cap.d.ts} +0 -0
- /package/dist/negotiations/{domain/negotiation.turn-cap.js → negotiation.turn-cap.js} +0 -0
- /package/dist/opportunities/{domain/negotiation-summary.builder.js → negotiation-summary.builder.js} +0 -0
- /package/dist/opportunities/{domain/opportunity.actor.js → opportunity.actor.js} +0 -0
- /package/dist/opportunities/{domain/opportunity.evidence.js → opportunity.evidence.js} +0 -0
- /package/dist/opportunities/{application/opportunity.introducer-feature.d.ts → opportunity.introducer-feature.d.ts} +0 -0
- /package/dist/opportunities/{application/opportunity.introducer-feature.js → opportunity.introducer-feature.js} +0 -0
- /package/dist/opportunities/{application/opportunity.introducer.d.ts → opportunity.introducer.d.ts} +0 -0
- /package/dist/opportunities/{domain/opportunity.labels.d.ts → opportunity.labels.d.ts} +0 -0
- /package/dist/opportunities/{domain/opportunity.labels.js → opportunity.labels.js} +0 -0
- /package/dist/opportunities/{application/opportunity.lifecycle.js → opportunity.lifecycle.js} +0 -0
- /package/dist/opportunities/{application/opportunity.newborn-stamping.js → opportunity.newborn-stamping.js} +0 -0
- /package/dist/opportunities/{application/opportunity.owner-approval.d.ts → opportunity.owner-approval.d.ts} +0 -0
- /package/dist/opportunities/{application/opportunity.owner-approval.js → opportunity.owner-approval.js} +0 -0
- /package/dist/opportunities/{application/opportunity.owner-provenance.js → opportunity.owner-provenance.js} +0 -0
- /package/dist/opportunities/{application/opportunity.persistence-admission.js → opportunity.persistence-admission.js} +0 -0
- /package/dist/opportunities/{domain/opportunity.state.js → opportunity.state.js} +0 -0
- /package/dist/opportunities/{ports/opportunity.tools.port.js → opportunity.tools.port.js} +0 -0
- /package/dist/opportunities/{application/opportunity.update-admission.js → opportunity.update-admission.js} +0 -0
- /package/dist/questions/{index.d.ts → question.module.d.ts} +0 -0
- /package/dist/questions/{index.js → question.module.js} +0 -0
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* agent.dispatcher.port (participant-agents) → capabilities/negotiation.facade
|
|
14
14
|
* (the facade represents the negotiation implementation boundary) →
|
|
15
15
|
* negotiation.graph.ts → shared/interfaces/agent-dispatcher.interface.ts
|
|
16
|
-
* (shim) → agents/
|
|
16
|
+
* (shim) → agents/agent.dispatcher.port
|
|
17
17
|
*
|
|
18
18
|
* The solution is to leave shared/interfaces/agent-dispatcher.interface.ts as
|
|
19
19
|
* the authoritative file and surface its types through the participant-agents
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
* IND-548: agents/ports re-exports the dispatcher contract
|
|
23
23
|
* established in shared/interfaces/agent-dispatcher.interface.ts.
|
|
24
24
|
*/
|
|
25
|
-
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload, } from '
|
|
25
|
+
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload, } from '../shared/interfaces/agent-dispatcher.interface.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* participant-agents — the capability's sole cross-capability surface.
|
|
3
|
+
*
|
|
4
|
+
* Anything outside this capability imports from here and nowhere else.
|
|
5
|
+
*/
|
|
6
|
+
export type { DebugMetaAgent } from "../chat/chat-streaming.types.js";
|
|
7
|
+
export { ChatGraphFactory } from "../chat/chat.graph.js";
|
|
8
|
+
export { ChatInterruptClassifier } from "../chat/chat.interrupt.classifier.js";
|
|
9
|
+
export type { ChatPersonaConfig } from "../chat/chat.persona.js";
|
|
10
|
+
export { SuggestionGenerator } from "../chat/chat.suggester.js";
|
|
11
|
+
export { ChatSummarizer } from "../chat/chat.summarizer.js";
|
|
12
|
+
export { ChatTitleGenerator } from "../chat/chat.title.generator.js";
|
|
13
|
+
export { createChatTools } from "../chat/chat.tools.js";
|
|
14
|
+
export { createNegotiatorPersona, NEGOTIATOR_PERSONA_ID } from "../chat/negotiator.persona.js";
|
|
15
|
+
export { createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, ONBOARDING_PERSONA, ONBOARDING_PERSONA_ID, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, } from "../chat/onboarding.persona.js";
|
|
16
|
+
export { createSignalTools, filterSignalTools, narrowSignalTools, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_PERSONA, SIGNAL_PERSONA_ID, SIGNAL_TOOL_NAMES, } from "../chat/signal.persona.js";
|
|
17
|
+
export { createAgentTools } from "./agent.tools.js";
|
|
18
|
+
export { SYSTEM_AGENT_IDS } from "./agent.types.js";
|
|
19
|
+
export type { AgentToolDeps } from "./agent.tools.port.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChatGraphFactory } from "../chat/chat.graph.js";
|
|
2
|
+
export { ChatInterruptClassifier } from "../chat/chat.interrupt.classifier.js";
|
|
3
|
+
export { SuggestionGenerator } from "../chat/chat.suggester.js";
|
|
4
|
+
export { ChatSummarizer } from "../chat/chat.summarizer.js";
|
|
5
|
+
export { ChatTitleGenerator } from "../chat/chat.title.generator.js";
|
|
6
|
+
export { createChatTools } from "../chat/chat.tools.js";
|
|
7
|
+
export { createNegotiatorPersona, NEGOTIATOR_PERSONA_ID } from "../chat/negotiator.persona.js";
|
|
8
|
+
export { createOnboardingTools, filterOnboardingTools, narrowOnboardingTools, ONBOARDING_PERSONA, ONBOARDING_PERSONA_ID, ONBOARDING_PROFILE_KICKOFF, ONBOARDING_TOOL_NAMES, } from "../chat/onboarding.persona.js";
|
|
9
|
+
export { createSignalTools, filterSignalTools, narrowSignalTools, SIGNAL_NEW_SIGNAL_KICKOFF, SIGNAL_PERSONA, SIGNAL_PERSONA_ID, SIGNAL_TOOL_NAMES, } from "../chat/signal.persona.js";
|
|
10
|
+
export { createAgentTools } from "./agent.tools.js";
|
|
11
|
+
export { SYSTEM_AGENT_IDS } from "./agent.types.js";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* IND-548: extracted from shared/interfaces/agent.interface.ts into the
|
|
8
8
|
* participant-agents capability's dedicated ports layer.
|
|
9
9
|
*/
|
|
10
|
-
import type { AgentRecord, AgentTransportRecord, AgentPermissionRecord, AgentWithRelations, CreateAgentInput, CreateTransportInput, GrantPermissionInput } from "
|
|
10
|
+
import type { AgentRecord, AgentTransportRecord, AgentPermissionRecord, AgentWithRelations, CreateAgentInput, CreateTransportInput, GrantPermissionInput } from "./agent.types.js";
|
|
11
11
|
/**
|
|
12
12
|
* Database adapter interface for agent registry operations.
|
|
13
13
|
*
|
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
* IND-548: migrated from src/agent/agent.tools.ts.
|
|
12
12
|
* Legacy path (src/agent/agent.tools.ts) is a thin compatibility shim.
|
|
13
13
|
*/
|
|
14
|
-
import type { DefineTool } from '
|
|
15
|
-
import type { AgentToolDeps } from '
|
|
14
|
+
import type { DefineTool } from '../shared/agent/tool.helpers.js';
|
|
15
|
+
import type { AgentToolDeps } from './agent.tools.port.js';
|
|
16
16
|
export declare function createAgentTools(defineTool: DefineTool, deps: AgentToolDeps): never[] | readonly [any, any, any, any, any, any, any];
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Legacy path (src/agent/agent.tools.ts) is a thin compatibility shim.
|
|
13
13
|
*/
|
|
14
14
|
import { z } from 'zod';
|
|
15
|
-
import { error, success } from '
|
|
16
|
-
import { protocolLogger } from '
|
|
15
|
+
import { error, success } from '../shared/agent/tool.helpers.js';
|
|
16
|
+
import { protocolLogger } from '../shared/observability/protocol.logger.js';
|
|
17
17
|
const logger = protocolLogger('ChatTools:Agent');
|
|
18
18
|
const AGENT_ACTIONS = [
|
|
19
19
|
'manage:identity',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* These types define the structure of events sent during streaming chat responses.
|
|
5
5
|
* Events are sent as Server-Sent Events (SSE) with JSON payloads.
|
|
6
6
|
*/
|
|
7
|
-
import type { Question } from "../questions/
|
|
7
|
+
import type { Question } from "../questions/question.module.js";
|
|
8
8
|
export type ChatStreamEventType = "status" | "routing" | "thinking" | "subgraph_start" | "subgraph_result" | "token" | "done" | "error" | "tool_start" | "tool_end" | "agent_thinking" | "tool_activity" | "iteration_start" | "llm_start" | "llm_end" | "response_complete" | "response_reset" | "debug_meta" | "graph_start" | "graph_end" | "phase_start" | "phase_end" | "agent_start" | "agent_end" | "hallucination_detected" | "negotiation_session_start" | "negotiation_session_end" | "negotiation_turn" | "negotiation_outcome" | "chat_summarizer_start" | "chat_summarizer_end" | "decision_questions" | "user_question" | "steer_or_queue";
|
|
9
9
|
/**
|
|
10
10
|
* Base interface for all chat stream events.
|
|
@@ -2,7 +2,7 @@ import { BaseMessage } from "@langchain/core/messages";
|
|
|
2
2
|
import type { ToolContext } from "../shared/agent/tool.factory.js";
|
|
3
3
|
import type { ChatPersonaConfig } from "./chat.persona.js";
|
|
4
4
|
import type { DebugMetaToolCall, DebugMetaLlm, DebugMetaOrchestratorNegotiations } from "./chat-streaming.types.js";
|
|
5
|
-
import type { Question } from "../questions/
|
|
5
|
+
import type { Question } from "../questions/question.module.js";
|
|
6
6
|
export { ITERATION_NUDGE } from "./chat.prompt.js";
|
|
7
7
|
/**
|
|
8
8
|
* Writer callback for streaming custom data out of the graph node.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedToolContext } from "../shared/agent/tool.factory.js";
|
|
2
|
-
import { type NegotiatorMemoryEntry } from "../negotiations/
|
|
2
|
+
import { type NegotiatorMemoryEntry } from "../negotiations/negotiation.module.js";
|
|
3
3
|
import type { IterationContext } from "./chat.prompt.modules.js";
|
|
4
4
|
/** Identity options resolved from the user's personal negotiator agent row. */
|
|
5
5
|
export interface NegotiatorPromptOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { focusedIntentId } from "../shared/agent/tool.scope.js";
|
|
2
|
-
import { renderNegotiatorChatMemorySection } from "../negotiations/
|
|
2
|
+
import { renderNegotiatorChatMemorySection } from "../negotiations/negotiation.module.js";
|
|
3
3
|
/**
|
|
4
4
|
* Renders the pinned-signal section for intent-scoped sessions (P4.2).
|
|
5
5
|
* Awareness, not a sandbox: the conversation orbits this signal, but the
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* contacts — the capability's sole cross-capability surface.
|
|
3
|
+
*
|
|
4
|
+
* Anything outside this capability imports from here and nowhere else.
|
|
5
|
+
*/
|
|
6
|
+
export { createContactTools } from "./contact.tools.js";
|
|
7
|
+
export type { ContactServiceAdapter } from "./contact.repository.port.js";
|
|
8
|
+
export type { ContactToolDeps } from "./contact.tools.port.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* network. Contact rows are created by the opportunity accept / start-chat
|
|
10
10
|
* flow, not through this port.
|
|
11
11
|
*/
|
|
12
|
-
import type { ContactEntry, ContactSearchResult } from "
|
|
12
|
+
import type { ContactEntry, ContactSearchResult } from "./contact.types.js";
|
|
13
13
|
/**
|
|
14
14
|
* Contact management operations used by chat tools.
|
|
15
15
|
* Consumers must provide a concrete implementation (e.g. backed by ContactService).
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* and start-chat write the mutual `contact` memberships. There is no import or
|
|
9
9
|
* manual-add path, and no ghost users: every contact is a real account.
|
|
10
10
|
*/
|
|
11
|
-
import type { DefineTool } from '
|
|
12
|
-
import type { ContactToolDeps } from '
|
|
11
|
+
import type { DefineTool } from '../shared/agent/tool.helpers.js';
|
|
12
|
+
import type { ContactToolDeps } from './contact.tools.port.js';
|
|
13
13
|
/**
|
|
14
14
|
* Creates contact management tools for the chat agent.
|
|
15
15
|
* Enables listing, searching, and removing entries in the user's network.
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* manual-add path, and no ghost users: every contact is a real account.
|
|
10
10
|
*/
|
|
11
11
|
import { z } from 'zod';
|
|
12
|
-
import { success, error } from '
|
|
13
|
-
import { protocolLogger } from '
|
|
12
|
+
import { success, error } from '../shared/agent/tool.helpers.js';
|
|
13
|
+
import { protocolLogger } from '../shared/observability/protocol.logger.js';
|
|
14
14
|
const logger = protocolLogger('ChatTools:Contact');
|
|
15
15
|
/**
|
|
16
16
|
* Creates contact management tools for the chat agent.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* contexts — the capability's sole cross-capability surface.
|
|
3
|
+
*
|
|
4
|
+
* Enrichment, premises, generated participant context, and HyDE representations
|
|
5
|
+
* are one capability; only orchestration entry points and the read-model
|
|
6
|
+
* generator cross its edge.
|
|
7
|
+
*/
|
|
8
|
+
export { createEnrichmentTools } from "../enrichment/enrichment.tools.js";
|
|
9
|
+
export { createPremiseTools } from "../premises/premise.tools.js";
|
|
10
|
+
export { EnrichmentGraphFactory } from "../enrichment/enrichment.graph.js";
|
|
11
|
+
export { PremiseGraphFactory } from "../premises/premise.graph.js";
|
|
12
|
+
export { UserContextGenerator } from "./context.generator.js";
|
|
13
|
+
export type { EnrichmentToolDeps, PremiseToolDeps } from "./context.tools.port.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* contexts — the capability's sole cross-capability surface.
|
|
3
|
+
*
|
|
4
|
+
* Enrichment, premises, generated participant context, and HyDE representations
|
|
5
|
+
* are one capability; only orchestration entry points and the read-model
|
|
6
|
+
* generator cross its edge.
|
|
7
|
+
*/
|
|
8
|
+
export { createEnrichmentTools } from "../enrichment/enrichment.tools.js";
|
|
9
|
+
export { createPremiseTools } from "../premises/premise.tools.js";
|
|
10
|
+
export { EnrichmentGraphFactory } from "../enrichment/enrichment.graph.js";
|
|
11
|
+
export { PremiseGraphFactory } from "../premises/premise.graph.js";
|
|
12
|
+
export { UserContextGenerator } from "./context.generator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ToolRegistryCompositionDeps } from "
|
|
1
|
+
import type { ToolRegistryCompositionDeps } from "../shared/agent/tool.helpers.js";
|
|
2
2
|
/** Host capabilities consumed by enrichment and premise-derived identity tools. */
|
|
3
3
|
export type EnrichmentToolDeps = Pick<ToolRegistryCompositionDeps, "userDb" | "systemDb" | "enricher" | "grantDefaultSystemPermissions" | "reportToolError" | "getUserContextText" | "enrichmentRuns" | "enrichmentRunQueue"> & {
|
|
4
4
|
graphs: Pick<ToolRegistryCompositionDeps["graphs"], "profile">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DebugMetaAgent } from '../agents/
|
|
1
|
+
import type { DebugMetaAgent } from '../agents/agent.module.js';
|
|
2
2
|
import type { HydeCache } from '../shared/interfaces/cache.interface.js';
|
|
3
3
|
import type { HydeGraphDatabase } from '../shared/interfaces/database.interface.js';
|
|
4
4
|
import type { EmbeddingGenerator } from '../shared/interfaces/embedder.interface.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { Id } from '../shared/interfaces/database.interface.js';
|
|
6
6
|
import type { Lens, HydeTargetCorpus } from './lens.inferrer.js';
|
|
7
7
|
import type { HydeSourceFrame } from './hyde.frame.js';
|
|
8
|
-
import type { DebugMetaAgent } from '../agents/
|
|
8
|
+
import type { DebugMetaAgent } from '../agents/agent.module.js';
|
|
9
9
|
export type HydeDocumentOrigin = 'cache' | 'db' | 'generated';
|
|
10
10
|
export type HydeValidationStatus = 'valid' | 'invalid' | 'failed_open';
|
|
11
11
|
/** Single HyDE document (text + embedding) for one lens. */
|
|
@@ -2,7 +2,7 @@ import { EnrichmentGraphState } from "./enrichment.state.js";
|
|
|
2
2
|
import { EnrichmentGraphDatabase, PremiseProvenance } from "../shared/interfaces/database.interface.js";
|
|
3
3
|
import { Scraper } from "../shared/interfaces/scraper.interface.js";
|
|
4
4
|
import type { ProfileEnricher } from "../shared/interfaces/enrichment.interface.js";
|
|
5
|
-
import type { DebugMetaAgent } from "../agents/
|
|
5
|
+
import type { DebugMetaAgent } from "../agents/agent.module.js";
|
|
6
6
|
import { PremiseDecomposer } from "../premises/premise.decomposer.js";
|
|
7
7
|
/**
|
|
8
8
|
* Compiled premise graph interface. Matches the invoke signature of a compiled LangGraph.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Enrichment tools that read or preview a user context.
|
|
3
3
|
*/
|
|
4
4
|
import type { DefineTool } from "../shared/agent/tool.helpers.js";
|
|
5
|
-
import type { EnrichmentToolDeps } from "../contexts/
|
|
5
|
+
import type { EnrichmentToolDeps } from "../contexts/context.tools.port.js";
|
|
6
6
|
export declare function createUserContextReadTools(defineTool: DefineTool, deps: EnrichmentToolDeps): {
|
|
7
7
|
readUserContexts: any;
|
|
8
8
|
previewUserContext: any;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Enrichment tools that create or update a user context.
|
|
3
3
|
*/
|
|
4
4
|
import type { DefineTool } from "../shared/agent/tool.helpers.js";
|
|
5
|
-
import type { EnrichmentToolDeps } from "../contexts/
|
|
5
|
+
import type { EnrichmentToolDeps } from "../contexts/context.tools.port.js";
|
|
6
6
|
export declare function createUserContextWriteTools(defineTool: DefineTool, deps: EnrichmentToolDeps): {
|
|
7
7
|
createUserContext: any;
|
|
8
8
|
updateUserContext: any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* and onboarding tools and assembles the registry.
|
|
7
7
|
*/
|
|
8
8
|
import type { DefineTool } from "../shared/agent/tool.helpers.js";
|
|
9
|
-
import type { EnrichmentToolDeps } from "../contexts/
|
|
9
|
+
import type { EnrichmentToolDeps } from "../contexts/context.tools.port.js";
|
|
10
10
|
import type { ToolSurface } from "../shared/agent/utility.tools.js";
|
|
11
11
|
export declare function createEnrichmentTools(defineTool: DefineTool, deps: EnrichmentToolDeps, options?: {
|
|
12
12
|
surface?: ToolSurface;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import type { ResolvedToolContext } from "../shared/agent/tool.helpers.js";
|
|
10
|
-
import type { EnrichmentToolDeps } from "../contexts/
|
|
10
|
+
import type { EnrichmentToolDeps } from "../contexts/context.tools.port.js";
|
|
11
11
|
import type { EnrichmentResult } from "../shared/interfaces/enrichment.interface.js";
|
|
12
12
|
import type { OnboardingProfileSeed, OnboardingState, UserRecord } from "../shared/interfaces/database.interface.js";
|
|
13
13
|
import type { EnrichmentRunInput, EnrichmentRunOperation } from "../shared/interfaces/enrichment-run.interface.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ export { getToolTimeoutPolicy, invokeToolRuntime, toolRuntimeErrorToResult } fro
|
|
|
10
10
|
export type { McpAuthResolver } from "./shared/interfaces/auth.interface.js";
|
|
11
11
|
export type { Cache, CacheOptions, HydeCache, OpportunityCache } from "./shared/interfaces/cache.interface.js";
|
|
12
12
|
export type { ChatSummaryReader } from "./shared/interfaces/chat-summary.interface.js";
|
|
13
|
-
export type { QuestionerDatabase, PersistableQuestion, PersistedQuestion, QuestionFilters, ChatQuestionsHost } from "./questions/
|
|
13
|
+
export type { QuestionerDatabase, PersistableQuestion, PersistedQuestion, QuestionFilters, ChatQuestionsHost } from "./questions/question.module.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 "./negotiations/
|
|
17
|
-
export type { ContactServiceAdapter } from "./contacts/
|
|
16
|
+
export { NegotiationSummarizer } from "./negotiations/negotiation.module.js";
|
|
17
|
+
export type { ContactServiceAdapter } from "./contacts/contact.module.js";
|
|
18
18
|
export type { ChatGraphCompositeDatabase, UserDatabase, SystemDatabase, OpportunityGraphDatabase, OpportunityControllerDatabase, OutcomeOutbox, RadarGraphDatabase, IntentGraphDatabase, HydeGraphDatabase, EnrichmentGraphDatabase, PremiseGraphDatabase, NegotiationGraphDatabase, 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";
|
|
20
20
|
export type { IntentGraphQueue } from "./shared/interfaces/queue.interface.js";
|
|
@@ -22,21 +22,21 @@ export type { Scraper } from "./shared/interfaces/scraper.interface.js";
|
|
|
22
22
|
export type { EnrichmentRunInput, EnrichmentRunRecord } from "./shared/interfaces/enrichment-run.interface.js";
|
|
23
23
|
export type { NegotiationTimeoutQueue, AskUserExpiryPayload, NegotiationContinuationTimeoutIdentity, } from "./shared/interfaces/negotiation-events.interface.js";
|
|
24
24
|
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload } from "./shared/interfaces/agent-dispatcher.interface.js";
|
|
25
|
-
export { SYSTEM_AGENT_IDS } from './agents/
|
|
25
|
+
export { SYSTEM_AGENT_IDS } from './agents/agent.module.js';
|
|
26
26
|
export { ChatContextDigestSchema, type ChatContextDigest } from "./shared/schemas/chat-context.schema.js";
|
|
27
|
-
export { type Question, type UnderspecificationType, type QuestionStrategy, type QuestionGenerationResult, type QuestionPurpose, type NegotiationQuestionProvenance, NegotiationQuestionCandidateSchema, type QuestionPoolPush, type QuestionRecoverySnapshot, type QuestionVoidedReason, type QuestionPoolPushRequestStatus, type QuestionPoolPushRequestReason, } from "./questions/
|
|
27
|
+
export { type Question, type UnderspecificationType, type QuestionStrategy, type QuestionGenerationResult, type QuestionPurpose, type NegotiationQuestionProvenance, NegotiationQuestionCandidateSchema, type QuestionPoolPush, type QuestionRecoverySnapshot, type QuestionVoidedReason, type QuestionPoolPushRequestStatus, type QuestionPoolPushRequestReason, } from "./questions/question.module.js";
|
|
28
28
|
export type { PendingQuestionSummary } from "./shared/schemas/pending-question.schema.js";
|
|
29
29
|
export { McpApiKeyMetadataSchema } from "./shared/schemas/mcp-auth.schema.js";
|
|
30
30
|
export type { McpAuthInput, McpResolvedIdentity, } from "./shared/schemas/mcp-auth.schema.js";
|
|
31
31
|
export type { DiscoveryNegotiation } from "./shared/schemas/discovery-question.schema.js";
|
|
32
32
|
export type { NetworkAssignmentMetadata } from "./shared/schemas/network-assignment.schema.js";
|
|
33
33
|
export { DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD, resolveAssignmentNetworkScope, buildNetworkAssignmentDecision } from "./shared/assignment/network-assignment.policy.js";
|
|
34
|
-
export { ChatGraphFactory } from "./agents/
|
|
35
|
-
export { type ChatPersonaConfig } from "./agents/
|
|
36
|
-
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./agents/
|
|
37
|
-
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, } from "./agents/
|
|
38
|
-
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, } from "./agents/
|
|
39
|
-
export { RadarGraphFactory } from "./opportunities/
|
|
34
|
+
export { ChatGraphFactory } from "./agents/agent.module.js";
|
|
35
|
+
export { type ChatPersonaConfig } from "./agents/agent.module.js";
|
|
36
|
+
export { NEGOTIATOR_PERSONA_ID, createNegotiatorPersona } from "./agents/agent.module.js";
|
|
37
|
+
export { SIGNAL_PERSONA_ID, SIGNAL_PERSONA, } from "./agents/agent.module.js";
|
|
38
|
+
export { ONBOARDING_PERSONA_ID, ONBOARDING_PERSONA, } from "./agents/agent.module.js";
|
|
39
|
+
export { RadarGraphFactory } from "./opportunities/opportunity.module.js";
|
|
40
40
|
export { HydeGraphFactory } from "./discovery/index.js";
|
|
41
41
|
export { Networks } from "./networks/network.module.js";
|
|
42
42
|
export type { IntentNetworkIndexer, NetworksDeps, NetworkToolDeps, } from "./networks/network.module.js";
|
|
@@ -44,76 +44,76 @@ export { Intents } from "./intents/intent.module.js";
|
|
|
44
44
|
export type { FollowUpPlan, FollowUpPlanInput, IntakeAnswer, IntakePack, IntakePackInput, IntakePackQuestion, IntakePackQuestionOption, IntakeRound, IntentIndexerOutput, IntentsDeps, IntentToolDeps, SynthesisInput, SynthesisResult, } from "./intents/intent.module.js";
|
|
45
45
|
export { MaintenanceGraphFactory } from "./maintenance/maintenance.graph.js";
|
|
46
46
|
export type { MaintenanceGraphDatabase, MaintenanceGraphCache, MaintenanceGraphQueue } from "./maintenance/maintenance.graph.js";
|
|
47
|
-
export { NegotiationGraphFactory, negotiateCandidates } from "./negotiations/
|
|
48
|
-
export { OpportunityGraphFactory } from "./opportunities/
|
|
49
|
-
export { hasUnsupportedOpportunityClaim } from "./opportunities/
|
|
50
|
-
export type { StampNewbornOpportunitiesFn } from "./opportunities/
|
|
51
|
-
export { bindOwnerApprovalProvenance } from "./opportunities/
|
|
52
|
-
export type { OpportunityOwnerAction, OpportunityOwnerApprovalAttestation, OpportunityOwnerApprovalAuthority, OpportunityOwnerApprovalBinding, OpportunityOwnerApprovalChallenge, OpportunityOwnerApprovalDenialReason, OpportunityOwnerApprovalVerdict, OpportunityOwnerInteractionProvenance, OpportunityOwnerInteractionSurface, } from "./opportunities/
|
|
53
|
-
export { EnrichmentGraphFactory } from "./contexts/
|
|
54
|
-
export { PremiseGraphFactory } from "./contexts/
|
|
55
|
-
export { UserContextGenerator } from "./contexts/
|
|
56
|
-
export { ChatTitleGenerator } from "./agents/
|
|
57
|
-
export { ChatInterruptClassifier } from "./agents/
|
|
58
|
-
export { ChatSummarizer } from "./agents/
|
|
47
|
+
export { NegotiationGraphFactory, negotiateCandidates } from "./negotiations/negotiation.module.js";
|
|
48
|
+
export { OpportunityGraphFactory } from "./opportunities/opportunity.module.js";
|
|
49
|
+
export { hasUnsupportedOpportunityClaim } from "./opportunities/opportunity.module.js";
|
|
50
|
+
export type { StampNewbornOpportunitiesFn } from "./opportunities/opportunity.module.js";
|
|
51
|
+
export { bindOwnerApprovalProvenance } from "./opportunities/opportunity.module.js";
|
|
52
|
+
export type { OpportunityOwnerAction, OpportunityOwnerApprovalAttestation, OpportunityOwnerApprovalAuthority, OpportunityOwnerApprovalBinding, OpportunityOwnerApprovalChallenge, OpportunityOwnerApprovalDenialReason, OpportunityOwnerApprovalVerdict, OpportunityOwnerInteractionProvenance, OpportunityOwnerInteractionSurface, } from "./opportunities/opportunity.module.js";
|
|
53
|
+
export { EnrichmentGraphFactory } from "./contexts/context.module.js";
|
|
54
|
+
export { PremiseGraphFactory } from "./contexts/context.module.js";
|
|
55
|
+
export { UserContextGenerator } from "./contexts/context.module.js";
|
|
56
|
+
export { ChatTitleGenerator } from "./agents/agent.module.js";
|
|
57
|
+
export { ChatInterruptClassifier } from "./agents/agent.module.js";
|
|
58
|
+
export { ChatSummarizer } from "./agents/agent.module.js";
|
|
59
59
|
export { HydeGenerator } from "./discovery/index.js";
|
|
60
|
-
export { SuggestionGenerator } from "./agents/
|
|
60
|
+
export { SuggestionGenerator } from "./agents/agent.module.js";
|
|
61
61
|
export { LensInferrer } from "./discovery/index.js";
|
|
62
|
-
export { NegotiationInsightsGenerator } from "./negotiations/
|
|
63
|
-
export type { NegotiationDigest } from "./negotiations/
|
|
64
|
-
export { IndexNegotiator } from "./negotiations/
|
|
65
|
-
export { NegotiationScreener } from "./negotiations/
|
|
66
|
-
export { NegotiationReflector } from "./negotiations/
|
|
67
|
-
export type { DistilledMemory, ReflectionTranscriptEntry, NegotiationReflectionInput, ChatReflectionInput, NegotiationReflectJobData, ReflectEnqueueFn } from "./negotiations/
|
|
68
|
-
export type { NegotiatorMemoryEntry } from "./negotiations/
|
|
69
|
-
export { QuestionerAgent } from "./questions/
|
|
70
|
-
export { isValidQuestionerInputContract } from "./questions/
|
|
71
|
-
export type { QuestionerInput, UptakeQuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext } from "./questions/
|
|
72
|
-
export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, intentQuestionDailyCap, INTENT_QUESTION_DAILY_CAP_DEFAULT } from "./questions/
|
|
73
|
-
export { PoolDiscriminatorMiner } from "./opportunities/
|
|
74
|
-
export { PoolDiscriminatorAssigner } from "./opportunities/
|
|
75
|
-
export type { PoolDiscriminatorAssignmentInput, PoolDiscriminatorAssignedAxis } from "./opportunities/
|
|
76
|
-
export { runPoolDiscriminatorShadow } from "./opportunities/
|
|
77
|
-
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/
|
|
78
|
-
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./opportunities/
|
|
79
|
-
export { discoveryEvaluatorMinScore } from "./opportunities/
|
|
80
|
-
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./opportunities/
|
|
81
|
-
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./opportunities/
|
|
82
|
-
export type { PoolAdjustment, PoolAdjustmentSignal } from "./opportunities/
|
|
83
|
-
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./opportunities/
|
|
84
|
-
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./opportunities/
|
|
85
|
-
export type { QuestionPoolDiscriminator, QuestionPoolSnapshot } from "./questions/
|
|
86
|
-
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator } from "./opportunities/
|
|
87
|
-
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./opportunities/
|
|
88
|
-
export { NegotiationEvidenceMiner } from "./opportunities/
|
|
89
|
-
export { runNegotiationEvidenceShadow } from "./opportunities/
|
|
90
|
-
export type { RawEvidenceTurn, RawEvidenceOutcome, RawEvidenceOwnerAnswer, RawEvidenceSegment } from "./opportunities/
|
|
91
|
-
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./opportunities/
|
|
92
|
-
export { runOutcomeShadow } from "./opportunities/
|
|
93
|
-
export type { OutcomeLabel, OutcomeExample, OutcomeShadowResult } from "./opportunities/
|
|
94
|
-
export { OpportunityEvaluator } from "./opportunities/
|
|
95
|
-
export type { EvaluatorInput } from "./opportunities/
|
|
96
|
-
export { OpportunityPresenter, gatherPresenterContext } from "./opportunities/
|
|
97
|
-
export type { PresenterDatabase } from "./opportunities/
|
|
98
|
-
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./opportunities/
|
|
99
|
-
export { getPrimaryActionLabel } from "./opportunities/
|
|
100
|
-
export { computeRadarHealth } from "./opportunities/
|
|
101
|
-
export type { RadarHealthInput } from "./opportunities/
|
|
102
|
-
export { isIntroducerDiscoveryEnabled } from "./opportunities/
|
|
103
|
-
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./opportunities/
|
|
104
|
-
export type { IntroducerDiscoveryDatabase, IntroducerDiscoveryQueue, ContactWithIntents } from "./opportunities/
|
|
105
|
-
export { persistOpportunities } from "./opportunities/
|
|
106
|
-
export { presentOpportunity } from "./opportunities/
|
|
107
|
-
export type { UserInfo } from "./opportunities/
|
|
108
|
-
export { stripUuids, truncateAtBoundary } from "./opportunities/
|
|
109
|
-
export { stripUnsupportedOpportunityClaims } from "./opportunities/
|
|
110
|
-
export { safeFallbackSummary } from "./opportunities/
|
|
111
|
-
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./opportunities/
|
|
112
|
-
export { getOrCreateDeliveryCardBatch } from "./opportunities/
|
|
62
|
+
export { NegotiationInsightsGenerator } from "./negotiations/negotiation.module.js";
|
|
63
|
+
export type { NegotiationDigest } from "./negotiations/negotiation.module.js";
|
|
64
|
+
export { IndexNegotiator } from "./negotiations/negotiation.module.js";
|
|
65
|
+
export { NegotiationScreener } from "./negotiations/negotiation.module.js";
|
|
66
|
+
export { NegotiationReflector } from "./negotiations/negotiation.module.js";
|
|
67
|
+
export type { DistilledMemory, ReflectionTranscriptEntry, NegotiationReflectionInput, ChatReflectionInput, NegotiationReflectJobData, ReflectEnqueueFn } from "./negotiations/negotiation.module.js";
|
|
68
|
+
export type { NegotiatorMemoryEntry } from "./negotiations/negotiation.module.js";
|
|
69
|
+
export { QuestionerAgent } from "./questions/question.module.js";
|
|
70
|
+
export { isValidQuestionerInputContract } from "./questions/question.module.js";
|
|
71
|
+
export type { QuestionerInput, UptakeQuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext } from "./questions/question.module.js";
|
|
72
|
+
export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, intentQuestionDailyCap, INTENT_QUESTION_DAILY_CAP_DEFAULT } from "./questions/question.module.js";
|
|
73
|
+
export { PoolDiscriminatorMiner } from "./opportunities/opportunity.module.js";
|
|
74
|
+
export { PoolDiscriminatorAssigner } from "./opportunities/opportunity.module.js";
|
|
75
|
+
export type { PoolDiscriminatorAssignmentInput, PoolDiscriminatorAssignedAxis } from "./opportunities/opportunity.module.js";
|
|
76
|
+
export { runPoolDiscriminatorShadow } from "./opportunities/opportunity.module.js";
|
|
77
|
+
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/opportunity.module.js";
|
|
78
|
+
export { poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS } from "./opportunities/opportunity.module.js";
|
|
79
|
+
export { discoveryEvaluatorMinScore } from "./opportunities/opportunity.module.js";
|
|
80
|
+
export { poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS } from "./opportunities/opportunity.module.js";
|
|
81
|
+
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from "./opportunities/opportunity.module.js";
|
|
82
|
+
export type { PoolAdjustment, PoolAdjustmentSignal } from "./opportunities/opportunity.module.js";
|
|
83
|
+
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./opportunities/opportunity.module.js";
|
|
84
|
+
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./opportunities/opportunity.module.js";
|
|
85
|
+
export type { QuestionPoolDiscriminator, QuestionPoolSnapshot } from "./questions/question.module.js";
|
|
86
|
+
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator } from "./opportunities/opportunity.module.js";
|
|
87
|
+
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./opportunities/opportunity.module.js";
|
|
88
|
+
export { NegotiationEvidenceMiner } from "./opportunities/opportunity.module.js";
|
|
89
|
+
export { runNegotiationEvidenceShadow } from "./opportunities/opportunity.module.js";
|
|
90
|
+
export type { RawEvidenceTurn, RawEvidenceOutcome, RawEvidenceOwnerAnswer, RawEvidenceSegment } from "./opportunities/opportunity.module.js";
|
|
91
|
+
export { isOutcomeQuestionsActivated, OUTCOME_MIN_INDEPENDENT_EXAMPLES, OUTCOME_MAX_CANDIDATES, OUTCOME_MAX_PUBLIC_CONTEXT_CHARS } from "./opportunities/opportunity.module.js";
|
|
92
|
+
export { runOutcomeShadow } from "./opportunities/opportunity.module.js";
|
|
93
|
+
export type { OutcomeLabel, OutcomeExample, OutcomeShadowResult } from "./opportunities/opportunity.module.js";
|
|
94
|
+
export { OpportunityEvaluator } from "./opportunities/opportunity.module.js";
|
|
95
|
+
export type { EvaluatorInput } from "./opportunities/opportunity.module.js";
|
|
96
|
+
export { OpportunityPresenter, gatherPresenterContext } from "./opportunities/opportunity.module.js";
|
|
97
|
+
export type { PresenterDatabase } from "./opportunities/opportunity.module.js";
|
|
98
|
+
export { canUserSeeOpportunity, isActionableForViewer, validateOpportunityActors, classifyOpportunity, selectByComposition, RADAR_SOFT_TARGETS } from "./opportunities/opportunity.module.js";
|
|
99
|
+
export { getPrimaryActionLabel } from "./opportunities/opportunity.module.js";
|
|
100
|
+
export { computeRadarHealth } from "./opportunities/opportunity.module.js";
|
|
101
|
+
export type { RadarHealthInput } from "./opportunities/opportunity.module.js";
|
|
102
|
+
export { isIntroducerDiscoveryEnabled } from "./opportunities/opportunity.module.js";
|
|
103
|
+
export { selectContactsForDiscovery, shouldRunIntroducerDiscovery, runIntroducerDiscovery, MAX_CONTACTS_PER_CYCLE, MAX_CANDIDATES_PER_CONTACT, INTRODUCER_DISCOVERY_SOURCE } from "./opportunities/opportunity.module.js";
|
|
104
|
+
export type { IntroducerDiscoveryDatabase, IntroducerDiscoveryQueue, ContactWithIntents } from "./opportunities/opportunity.module.js";
|
|
105
|
+
export { persistOpportunities } from "./opportunities/opportunity.module.js";
|
|
106
|
+
export { presentOpportunity } from "./opportunities/opportunity.module.js";
|
|
107
|
+
export type { UserInfo } from "./opportunities/opportunity.module.js";
|
|
108
|
+
export { stripUuids, truncateAtBoundary } from "./opportunities/opportunity.module.js";
|
|
109
|
+
export { stripUnsupportedOpportunityClaims } from "./opportunities/opportunity.module.js";
|
|
110
|
+
export { safeFallbackSummary } from "./opportunities/opportunity.module.js";
|
|
111
|
+
export { buildApiChatCardPresentationCacheKey, buildDeliveryCardPresentationCacheKey, buildRadarCardPresentationCacheKey } from "./opportunities/opportunity.module.js";
|
|
112
|
+
export { getOrCreateDeliveryCardBatch } from "./opportunities/opportunity.module.js";
|
|
113
113
|
export { createToolRegistry } from "./shared/agent/tool.registry.js";
|
|
114
|
-
export { createEnrichmentTools } from "./contexts/
|
|
115
|
-
export type { EnrichmentToolDeps } from "./contexts/
|
|
116
|
-
export { AMBIENT_PARK_WINDOW_MS } from './negotiations/
|
|
114
|
+
export { createEnrichmentTools } from "./contexts/context.module.js";
|
|
115
|
+
export type { EnrichmentToolDeps } from "./contexts/context.module.js";
|
|
116
|
+
export { AMBIENT_PARK_WINDOW_MS } from './negotiations/negotiation.module.js';
|
|
117
117
|
export { normalizeTelegramHandle } from './shared/utils/telegram-handle.js';
|
|
118
118
|
export { createMcpServer, buildMcpOnboardingMessage, ONBOARDING_ALLOWED } from "./mcp/mcp.server.js";
|
|
119
119
|
export type { ScopedDepsFactory } from "./mcp/mcp.server.js";
|
|
@@ -122,11 +122,11 @@ export type { McpAuthorizationDenialEvent, McpAuthorizationObserver, McpCapabili
|
|
|
122
122
|
export { NegotiationConsultationReasonSchema } from "./shared/schemas/negotiation-state.schema.js";
|
|
123
123
|
export type { UserNegotiationContext, NegotiationTurn, NegotiationOutcome, SeedAssessment } from "./shared/schemas/negotiation-state.schema.js";
|
|
124
124
|
export type { NegotiationAction, NegotiationConsultationReason, NegotiationSeat, NegotiationProtocolVersion } from "./shared/schemas/negotiation-state.schema.js";
|
|
125
|
-
export type { NegotiationGraphLike } from "./negotiations/
|
|
126
|
-
export { HERMES_OWNER_DIRECTIVE, HermesNegotiationResponseSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./negotiations/
|
|
127
|
-
export type { HermesNegotiationAction, HermesNegotiationResponse, } from "./negotiations/
|
|
128
|
-
export { isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./negotiations/
|
|
129
|
-
export type { NegotiationSpeakerParticipants, NegotiationSpeakerMessage } from "./negotiations/
|
|
130
|
-
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./negotiations/
|
|
131
|
-
export type { ConsultationEligibility, ConsultationEligibilityInput, NegotiationConsultationPolicyMode } from "./negotiations/
|
|
132
|
-
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, negotiationQuestionSettlementId, } from "./negotiations/
|
|
125
|
+
export type { NegotiationGraphLike } from "./negotiations/negotiation.module.js";
|
|
126
|
+
export { HERMES_OWNER_DIRECTIVE, HermesNegotiationResponseSchema, allowedHermesActionsFor, buildHermesNegotiationTurn, } from "./negotiations/negotiation.module.js";
|
|
127
|
+
export type { HermesNegotiationAction, HermesNegotiationResponse, } from "./negotiations/negotiation.module.js";
|
|
128
|
+
export { isNegotiationTurnCapReached, expectedNegotiationSpeaker, allowedActionsFor, askUserAnswerWindowMs, configuredAskUserEnabled, isTerminalAction, isRejectLikeAction, readProtocolVersion, resolveSeat, seatViolationMessage } from "./negotiations/negotiation.module.js";
|
|
129
|
+
export type { NegotiationSpeakerParticipants, NegotiationSpeakerMessage } from "./negotiations/negotiation.module.js";
|
|
130
|
+
export { assessConsultationEligibility, consultationPromptFor, negotiationConsultationPolicyMode } from "./negotiations/negotiation.module.js";
|
|
131
|
+
export type { ConsultationEligibility, ConsultationEligibilityInput, NegotiationConsultationPolicyMode } from "./negotiations/negotiation.module.js";
|
|
132
|
+
export { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY, negotiationQuestionSettlementId, } from "./negotiations/negotiation.module.js";
|