@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/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,48 @@ went 6.7.1 → 8.0.2 with no 7.x in between because the whole 7.x line shipped a
|
|
|
20
20
|
prereleases between the two promotions. To track every change, read `rc`; to
|
|
21
21
|
pin a supported release, use `latest`.
|
|
22
22
|
|
|
23
|
+
## 14.2.1 - 2026-08-16
|
|
24
|
+
|
|
25
|
+
No public API change: all 443 exported symbols are byte-identical to 14.2.0.
|
|
26
|
+
Directory names only.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Renamed capability directories so each one is named for what the code inside
|
|
31
|
+
it actually says. `Intent*` appears 2,624 times in `src/` against 494 for
|
|
32
|
+
`Signal*` — and roughly half of those are `AbortSignal` — while `Network*`
|
|
33
|
+
appears 1,988 times against 23 for `Communit*`. Every load-bearing surface
|
|
34
|
+
already used intent/network: MCP tool names (`create_intent`, `read_networks`),
|
|
35
|
+
database tables (`intents`, `networks`, `intent_networks`), and exported
|
|
36
|
+
symbols (`IntentGraphFactory`, `NetworkGraphDatabase`). The folders were the
|
|
37
|
+
outlier.
|
|
38
|
+
|
|
39
|
+
| before | after |
|
|
40
|
+
|---|---|
|
|
41
|
+
| `signals/` | `intents/` |
|
|
42
|
+
| `communities/` | `networks/` |
|
|
43
|
+
| `opportunity/` | `opportunities/` |
|
|
44
|
+
| `negotiation/` | `negotiations/` |
|
|
45
|
+
| `premise/` | `premises/` |
|
|
46
|
+
| `participant-agents/` | `agents/` |
|
|
47
|
+
| `participant-context/` + `context/` | `contexts/` |
|
|
48
|
+
|
|
49
|
+
Capability directories are now uniformly plural, and each one's file prefix
|
|
50
|
+
matches its folder (`intents/application/intent.graph.ts`).
|
|
51
|
+
|
|
52
|
+
- The capability identifiers in `scripts/architecture/capability-model.ts`
|
|
53
|
+
follow: the 25 named directions now read `intents → questions`,
|
|
54
|
+
`opportunities → negotiations`, and so on. Dead alias entries for directories
|
|
55
|
+
that no longer exist were removed.
|
|
56
|
+
|
|
57
|
+
### Removed
|
|
58
|
+
|
|
59
|
+
- The six orphaned test directories, which held tests whose subjects had moved
|
|
60
|
+
away in earlier phases: `intent/` (13 files), `questioner/` (6), `network/`
|
|
61
|
+
(6), `contact/` (4), `agent/` (2), `integration/` (1). Each is absorbed into
|
|
62
|
+
its capability's own `tests/`, along with the redundant per-directory
|
|
63
|
+
`tsconfig.json` files that duplicated one already present.
|
|
64
|
+
|
|
23
65
|
## 14.2.0 - 2026-08-16
|
|
24
66
|
|
|
25
67
|
No public API change: all 443 exported symbols are byte-identical to 14.1.0.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/application — agent registration and permission tools.
|
|
3
3
|
*
|
|
4
4
|
* Provides createAgentTools: the canonical factory for participant-agent
|
|
5
5
|
* registration, listing, update, delete, and permission grant/revoke MCP tools.
|
|
6
6
|
*
|
|
7
7
|
* Dependencies:
|
|
8
8
|
* - DefineTool / helpers from shared/agent (unclassified shared infrastructure)
|
|
9
|
-
* - AgentToolDeps from
|
|
9
|
+
* - AgentToolDeps from agents/ports (same capability)
|
|
10
10
|
*
|
|
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.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/application — agent registration and permission tools.
|
|
3
3
|
*
|
|
4
4
|
* Provides createAgentTools: the canonical factory for participant-agent
|
|
5
5
|
* registration, listing, update, delete, and permission grant/revoke MCP tools.
|
|
6
6
|
*
|
|
7
7
|
* Dependencies:
|
|
8
8
|
* - DefineTool / helpers from shared/agent (unclassified shared infrastructure)
|
|
9
|
-
* - AgentToolDeps from
|
|
9
|
+
* - AgentToolDeps from agents/ports (same capability)
|
|
10
10
|
*
|
|
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.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/application — registration, permission, and dispatch tools.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the application-tier entry points of the participant-agents
|
|
5
5
|
* capability: the agent registration and permission management tool factory.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* ## Boundary
|
|
16
16
|
*
|
|
17
|
-
* Imports from
|
|
17
|
+
* Imports from agents/domain, agents/ports, and
|
|
18
18
|
* shared/ infrastructure — never from runtime/, host implementations, or
|
|
19
19
|
* other capability internals.
|
|
20
20
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/application — registration, permission, and dispatch tools.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the application-tier entry points of the participant-agents
|
|
5
5
|
* capability: the agent registration and permission management tool factory.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* ## Boundary
|
|
16
16
|
*
|
|
17
|
-
* Imports from
|
|
17
|
+
* Imports from agents/domain, agents/ports, and
|
|
18
18
|
* shared/ infrastructure — never from runtime/, host implementations, or
|
|
19
19
|
* other capability internals.
|
|
20
20
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/domain — pure agent entity value types and constants.
|
|
3
3
|
*
|
|
4
4
|
* Contains AgentRecord, AgentTransportRecord, AgentPermissionRecord,
|
|
5
5
|
* AgentWithRelations, CreateAgentInput, CreateTransportInput,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ## What does NOT live here
|
|
11
11
|
*
|
|
12
|
-
* - AgentDatabase: persistence port — lives in
|
|
13
|
-
* - AgentDispatcher: dispatch port — lives in
|
|
14
|
-
* - createAgentTools: application layer — lives in
|
|
12
|
+
* - AgentDatabase: persistence port — lives in agents/ports.
|
|
13
|
+
* - AgentDispatcher: dispatch port — lives in agents/ports.
|
|
14
|
+
* - createAgentTools: application layer — lives in agents/application.
|
|
15
15
|
*
|
|
16
16
|
* IND-548: canonical domain layer for the participant-agents capability.
|
|
17
17
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* participant-agents — 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 + agents/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 type { DebugMetaAgent, } from "../chat/chat-streaming.types.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/ports — AgentDispatcher dispatch port.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the canonical agent dispatcher contract from shared/interfaces.
|
|
5
5
|
*
|
|
@@ -13,13 +13,13 @@
|
|
|
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) →
|
|
16
|
+
* (shim) → agents/ports/index.ts → 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
|
|
20
20
|
* ports boundary via re-export.
|
|
21
21
|
*
|
|
22
|
-
* IND-548:
|
|
22
|
+
* IND-548: agents/ports re-exports the dispatcher contract
|
|
23
23
|
* established in shared/interfaces/agent-dispatcher.interface.ts.
|
|
24
24
|
*/
|
|
25
25
|
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload, } from '../../shared/interfaces/agent-dispatcher.interface.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/ports — AgentDatabase persistence port.
|
|
3
3
|
*
|
|
4
4
|
* Injected boundary for agent registry persistence. Implemented by the
|
|
5
5
|
* host application and passed into the protocol layer at the composition root.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* agents/ports — AgentDatabase persistence port.
|
|
3
3
|
*
|
|
4
4
|
* Injected boundary for agent registry persistence. Implemented by the
|
|
5
5
|
* host application and passed into the protocol layer at the composition root.
|
|
@@ -123,7 +123,7 @@ export declare const ChatGraphState: import("@langchain/langgraph").AnnotationRo
|
|
|
123
123
|
} | undefined> | undefined, unknown>;
|
|
124
124
|
/** Router output: target, operationType, extractedContext. */
|
|
125
125
|
routingDecision: import("@langchain/langgraph").BaseChannel<RoutingDecision | undefined, RoutingDecision | import("@langchain/langgraph").OverwriteValue<RoutingDecision | undefined> | undefined, unknown>;
|
|
126
|
-
/** Results from intent/profile/
|
|
126
|
+
/** Results from intent/profile/opportunities/scrape subgraphs. */
|
|
127
127
|
subgraphResults: import("@langchain/langgraph").BaseChannel<SubgraphResults | undefined, SubgraphResults | import("@langchain/langgraph").OverwriteValue<SubgraphResults | undefined> | undefined, unknown>;
|
|
128
128
|
/** User profile context (e.g. for intent nodes). */
|
|
129
129
|
userProfile: import("@langchain/langgraph").BaseChannel<unknown, unknown, unknown>;
|
package/dist/chat/chat.state.js
CHANGED
|
@@ -107,7 +107,7 @@ export const ChatGraphState = Annotation.Root({
|
|
|
107
107
|
reducer: (curr, next) => next,
|
|
108
108
|
default: () => undefined,
|
|
109
109
|
}),
|
|
110
|
-
/** Results from intent/profile/
|
|
110
|
+
/** Results from intent/profile/opportunities/scrape subgraphs. */
|
|
111
111
|
subgraphResults: Annotation({
|
|
112
112
|
reducer: (curr, next) => next,
|
|
113
113
|
default: () => undefined,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedToolContext } from "../shared/agent/tool.factory.js";
|
|
2
|
-
import { type NegotiatorMemoryEntry } from "../
|
|
2
|
+
import { type NegotiatorMemoryEntry } from "../negotiations/index.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 "../
|
|
2
|
+
import { renderNegotiatorChatMemorySection } from "../negotiations/index.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
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/application — orchestrators, factories, and service classes.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the orchestration tier of the participant-context capability:
|
|
5
5
|
* graph factories (LangGraph compilations), LLM service classes, and utility
|
|
6
6
|
* helpers that belong to the application layer. These are the building blocks
|
|
7
7
|
* that foreground and ambient adapters compose to implement use cases.
|
|
8
8
|
*
|
|
9
|
-
* Boundary: application-layer only. Imports from
|
|
10
|
-
*
|
|
9
|
+
* Boundary: application-layer only. Imports from contexts/domain,
|
|
10
|
+
* contexts/ports, and shared/ infrastructure — never from runtime/,
|
|
11
11
|
* host implementations, or capability facades.
|
|
12
12
|
*
|
|
13
13
|
* ## Foreground use cases (onboarding / explicit enrichment)
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
* prompt-injection and out-of-scope risks.
|
|
52
52
|
*
|
|
53
53
|
* IND-545: canonical application home for participant-context orchestrators
|
|
54
|
-
* previously spread across
|
|
54
|
+
* previously spread across premises/, contexts/, enrichment/, and shared/hyde/.
|
|
55
55
|
*/
|
|
56
|
-
export { PremiseGraphFactory } from "../../
|
|
57
|
-
export { PremiseDecomposer, type PremiseDecomposerOutput, type DecomposedPremise, type ExistingPremiseRef, } from "../../
|
|
58
|
-
export { PremiseAnalyzer, type PremiseAnalyzerOutput, } from "../../
|
|
59
|
-
export { PremiseIndexer, type PremiseIndexerOutput, } from "../../
|
|
56
|
+
export { PremiseGraphFactory } from "../../premises/premise.graph.js";
|
|
57
|
+
export { PremiseDecomposer, type PremiseDecomposerOutput, type DecomposedPremise, type ExistingPremiseRef, } from "../../premises/premise.decomposer.js";
|
|
58
|
+
export { PremiseAnalyzer, type PremiseAnalyzerOutput, } from "../../premises/premise.analyzer.js";
|
|
59
|
+
export { PremiseIndexer, type PremiseIndexerOutput, } from "../../premises/premise.indexer.js";
|
|
60
60
|
export { EnrichmentGraphFactory, type CompiledPremiseGraph, } from "../../enrichment/enrichment.graph.js";
|
|
61
61
|
export { EnrichmentGenerator, type GeneratedProfile } from "../../enrichment/enrichment.generator.js";
|
|
62
62
|
export { shouldEnrichGhostDisplayNameFromParallel, isEnrichedNameMeaningful, } from "../../enrichment/enrichment.enricher.js";
|
|
63
63
|
export { createEnrichmentTools } from "../../enrichment/enrichment.tools.js";
|
|
64
|
-
export { createPremiseTools } from "../../
|
|
65
|
-
export { UserContextGenerator } from "../../
|
|
64
|
+
export { createPremiseTools } from "../../premises/premise.tools.js";
|
|
65
|
+
export { UserContextGenerator } from "../../contexts/context.generator.js";
|
|
66
66
|
export { HydeGraphFactory, type HydeLensInferrerLike, type HydeGeneratorLike, type HydeValidatorLike, type HydeGraphOptions, } from "../../shared/hyde/hyde.graph.js";
|
|
67
67
|
export { HydeGenerator, type HydeGeneratorOutput, type HydeGenerateInput, } from "../../shared/hyde/hyde.generator.js";
|
|
68
68
|
export { LensInferrer, type LensInferenceInput, type LensInferenceOutput, FRAME_SYSTEM_PROMPT, FrameResponseSchema, } from "../../shared/hyde/lens.inferrer.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/application — orchestrators, factories, and service classes.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the orchestration tier of the participant-context capability:
|
|
5
5
|
* graph factories (LangGraph compilations), LLM service classes, and utility
|
|
6
6
|
* helpers that belong to the application layer. These are the building blocks
|
|
7
7
|
* that foreground and ambient adapters compose to implement use cases.
|
|
8
8
|
*
|
|
9
|
-
* Boundary: application-layer only. Imports from
|
|
10
|
-
*
|
|
9
|
+
* Boundary: application-layer only. Imports from contexts/domain,
|
|
10
|
+
* contexts/ports, and shared/ infrastructure — never from runtime/,
|
|
11
11
|
* host implementations, or capability facades.
|
|
12
12
|
*
|
|
13
13
|
* ## Foreground use cases (onboarding / explicit enrichment)
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
* prompt-injection and out-of-scope risks.
|
|
52
52
|
*
|
|
53
53
|
* IND-545: canonical application home for participant-context orchestrators
|
|
54
|
-
* previously spread across
|
|
54
|
+
* previously spread across premises/, contexts/, enrichment/, and shared/hyde/.
|
|
55
55
|
*/
|
|
56
56
|
// ── Premise graph ─────────────────────────────────────────────────────────────
|
|
57
|
-
export { PremiseGraphFactory } from "../../
|
|
57
|
+
export { PremiseGraphFactory } from "../../premises/premise.graph.js";
|
|
58
58
|
// ── Premise service classes ───────────────────────────────────────────────────
|
|
59
|
-
export { PremiseDecomposer, } from "../../
|
|
60
|
-
export { PremiseAnalyzer, } from "../../
|
|
61
|
-
export { PremiseIndexer, } from "../../
|
|
59
|
+
export { PremiseDecomposer, } from "../../premises/premise.decomposer.js";
|
|
60
|
+
export { PremiseAnalyzer, } from "../../premises/premise.analyzer.js";
|
|
61
|
+
export { PremiseIndexer, } from "../../premises/premise.indexer.js";
|
|
62
62
|
// ── Enrichment graph + service classes ───────────────────────────────────────
|
|
63
63
|
export { EnrichmentGraphFactory, } from "../../enrichment/enrichment.graph.js";
|
|
64
64
|
export { EnrichmentGenerator } from "../../enrichment/enrichment.generator.js";
|
|
@@ -68,9 +68,9 @@ export { shouldEnrichGhostDisplayNameFromParallel, isEnrichedNameMeaningful, } f
|
|
|
68
68
|
// composition. They accept compiled graphs and host deps through the tool-dep
|
|
69
69
|
// ports and produce LangChain-compatible tool arrays.
|
|
70
70
|
export { createEnrichmentTools } from "../../enrichment/enrichment.tools.js";
|
|
71
|
-
export { createPremiseTools } from "../../
|
|
71
|
+
export { createPremiseTools } from "../../premises/premise.tools.js";
|
|
72
72
|
// ── Context synthesis ─────────────────────────────────────────────────────────
|
|
73
|
-
export { UserContextGenerator } from "../../
|
|
73
|
+
export { UserContextGenerator } from "../../contexts/context.generator.js";
|
|
74
74
|
// ── HyDE graph + service classes ─────────────────────────────────────────────
|
|
75
75
|
export { HydeGraphFactory, } from "../../shared/hyde/hyde.graph.js";
|
|
76
76
|
export { HydeGenerator, } from "../../shared/hyde/hyde.generator.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/domain — pure participant-context contracts.
|
|
3
3
|
*
|
|
4
4
|
* Value types, graph-state shapes, and domain model types that define the
|
|
5
5
|
* participant-context capability's domain language.
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
* refresh): managed by the background runtime shell. They are the consumers of
|
|
54
54
|
* PremiseGraphFactory and EnrichmentGraphFactory in queue-worker mode.
|
|
55
55
|
* - **Cache/enrichment/scraper/model/embedding integrations**: remain injected
|
|
56
|
-
* ports (see
|
|
56
|
+
* ports (see contexts/ports) or protocol-owned technology bindings
|
|
57
57
|
* in shared/agent and shared/hyde.
|
|
58
58
|
*
|
|
59
59
|
* IND-545: canonical home for participant-context domain contracts previously
|
|
60
|
-
* spread across
|
|
60
|
+
* spread across premises/, contexts/, enrichment/, and shared/hyde/.
|
|
61
61
|
* Legacy paths remain as compatibility re-exports pointing here.
|
|
62
62
|
*/
|
|
63
|
-
export { PremiseGraphState } from "../../
|
|
63
|
+
export { PremiseGraphState } from "../../premises/premise.state.js";
|
|
64
64
|
export { EnrichmentGraphState } from "../../enrichment/enrichment.state.js";
|
|
65
65
|
export { HydeGraphState, type HydeDocumentState, type HydeDocumentOrigin, type HydeValidationStatus, } from "../../shared/hyde/hyde.state.js";
|
|
66
|
-
export type { UserContextInput, IncrementalContextInput, GlobalContextInput, GlobalIncrementalContextInput, UserContextResult, } from "../../
|
|
66
|
+
export type { UserContextInput, IncrementalContextInput, GlobalContextInput, GlobalIncrementalContextInput, UserContextResult, } from "../../contexts/context.generator.js";
|
|
67
67
|
export type { PremiseAssertion, PremiseProvenance, PremiseAnalysis, PremiseValidity, PremiseRecord, } from "../../shared/interfaces/database.interface.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/domain — pure participant-context contracts.
|
|
3
3
|
*
|
|
4
4
|
* Value types, graph-state shapes, and domain model types that define the
|
|
5
5
|
* participant-context capability's domain language.
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
* refresh): managed by the background runtime shell. They are the consumers of
|
|
54
54
|
* PremiseGraphFactory and EnrichmentGraphFactory in queue-worker mode.
|
|
55
55
|
* - **Cache/enrichment/scraper/model/embedding integrations**: remain injected
|
|
56
|
-
* ports (see
|
|
56
|
+
* ports (see contexts/ports) or protocol-owned technology bindings
|
|
57
57
|
* in shared/agent and shared/hyde.
|
|
58
58
|
*
|
|
59
59
|
* IND-545: canonical home for participant-context domain contracts previously
|
|
60
|
-
* spread across
|
|
60
|
+
* spread across premises/, contexts/, enrichment/, and shared/hyde/.
|
|
61
61
|
* Legacy paths remain as compatibility re-exports pointing here.
|
|
62
62
|
*/
|
|
63
63
|
// ── Premise graph state ───────────────────────────────────────────────────────
|
|
64
|
-
export { PremiseGraphState } from "../../
|
|
64
|
+
export { PremiseGraphState } from "../../premises/premise.state.js";
|
|
65
65
|
// ── Enrichment graph state ────────────────────────────────────────────────────
|
|
66
66
|
export { EnrichmentGraphState } from "../../enrichment/enrichment.state.js";
|
|
67
67
|
// ── HyDE graph state and document types ──────────────────────────────────────
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/ports — narrow injected dependency contracts.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the subset of shared/interfaces types that the participant-context
|
|
5
5
|
* capability declares as explicit injected ports. Consumers of the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* contexts/ports — narrow injected dependency contracts.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the subset of shared/interfaces types that the participant-context
|
|
5
5
|
* capability declares as explicit injected ports. Consumers of the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnrichmentGraphDatabase, PremiseProvenance } from "../shared/interfaces/database.interface.js";
|
|
2
2
|
import { Scraper } from "../shared/interfaces/scraper.interface.js";
|
|
3
3
|
import type { ProfileEnricher } from "../shared/interfaces/enrichment.interface.js";
|
|
4
|
-
import type { DebugMetaAgent } from "../
|
|
4
|
+
import type { DebugMetaAgent } from "../agents/index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Compiled premise graph interface. Matches the invoke signature of a compiled LangGraph.
|
|
7
7
|
* Accepted as an optional dependency so write-mode input can be decomposed into premises.
|
|
@@ -5,7 +5,7 @@ import { socialsToEnrichmentRequest } from "../shared/utils/social-label.js";
|
|
|
5
5
|
import { protocolLogger } from "../shared/observability/protocol.logger.js";
|
|
6
6
|
import { timed } from "../shared/observability/performance.js";
|
|
7
7
|
import { requestContext } from "../shared/observability/request-context.js";
|
|
8
|
-
import { PremiseDecomposer } from "../
|
|
8
|
+
import { PremiseDecomposer } from "../premises/premise.decomposer.js";
|
|
9
9
|
import { invokeWithAbortSignal } from "../shared/agent/model-signal.js";
|
|
10
10
|
const logger = protocolLogger("EnrichmentGraphFactory");
|
|
11
11
|
/** Minimum length for input to be considered meaningful (e.g. not just "Yes") */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DefineTool } from "../shared/agent/tool.helpers.js";
|
|
2
|
-
import type { EnrichmentToolDeps } from "../
|
|
2
|
+
import type { EnrichmentToolDeps } from "../contexts/ports/participant-context.tools.port.js";
|
|
3
3
|
export declare function createEnrichmentTools(defineTool: DefineTool, deps: EnrichmentToolDeps): readonly [any, any, any, any, any, any, any, any];
|