@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.
Files changed (306) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/{participant-agents → agents}/application/agent.tools.d.ts +2 -2
  3. package/dist/{participant-agents → agents}/application/agent.tools.js +2 -2
  4. package/dist/{participant-agents → agents}/application/index.d.ts +2 -2
  5. package/dist/{participant-agents → agents}/application/index.js +2 -2
  6. package/dist/{participant-agents → agents}/domain/agent.types.d.ts +1 -1
  7. package/dist/{participant-agents → agents}/domain/agent.types.js +1 -1
  8. package/dist/{participant-agents → agents}/domain/index.d.ts +4 -4
  9. package/dist/{participant-agents → agents}/index.d.ts +1 -1
  10. package/dist/{participant-agents → agents}/ports/agent.dispatcher.port.d.ts +3 -3
  11. package/dist/{participant-agents → agents}/ports/agent.repository.port.d.ts +1 -1
  12. package/dist/{participant-agents → agents}/ports/agent.repository.port.js +1 -1
  13. package/dist/{participant-agents → agents}/ports/agent.tools.port.d.ts +1 -1
  14. package/dist/{participant-agents → agents}/ports/agent.tools.port.js +1 -1
  15. package/dist/{participant-agents → agents}/ports/index.d.ts +1 -1
  16. package/dist/{participant-agents → agents}/ports/index.js +1 -1
  17. package/dist/chat/chat.state.d.ts +1 -1
  18. package/dist/chat/chat.state.js +1 -1
  19. package/dist/chat/negotiator.prompt.d.ts +1 -1
  20. package/dist/chat/negotiator.prompt.js +1 -1
  21. package/dist/{participant-context → contexts}/application/index.d.ts +10 -10
  22. package/dist/{participant-context → contexts}/application/index.js +10 -10
  23. package/dist/{participant-context → contexts}/domain/index.d.ts +5 -5
  24. package/dist/{participant-context → contexts}/domain/index.js +4 -4
  25. package/dist/{participant-context → contexts}/ports/index.d.ts +1 -1
  26. package/dist/{participant-context → contexts}/ports/index.js +1 -1
  27. package/dist/enrichment/enrichment.graph.d.ts +1 -1
  28. package/dist/enrichment/enrichment.graph.js +1 -1
  29. package/dist/enrichment/enrichment.state.d.ts +1 -1
  30. package/dist/enrichment/enrichment.tools.d.ts +1 -1
  31. package/dist/index.d.ts +107 -107
  32. package/dist/index.js +76 -76
  33. package/dist/{signals → intents}/application/index.d.ts +2 -2
  34. package/dist/{signals → intents}/application/index.js +2 -2
  35. package/dist/{signals → intents}/application/intent.graph.d.ts +1 -1
  36. package/dist/{signals → intents}/domain/index.d.ts +1 -1
  37. package/dist/{signals → intents}/domain/index.js +1 -1
  38. package/dist/{signals → intents}/domain/intent.state.d.ts +1 -1
  39. package/dist/{signals → intents}/index.d.ts +1 -1
  40. package/dist/{signals → intents}/index.js +1 -1
  41. package/dist/{signals → intents}/ports/index.d.ts +1 -1
  42. package/dist/{signals → intents}/ports/index.js +1 -1
  43. package/dist/maintenance/maintenance.graph.d.ts +6 -6
  44. package/dist/maintenance/maintenance.graph.js +4 -4
  45. package/dist/maintenance/maintenance.state.d.ts +1 -1
  46. package/dist/mcp/mcp.server.js +2 -2
  47. package/dist/{negotiation → negotiations}/application/index.d.ts +2 -2
  48. package/dist/{negotiation → negotiations}/application/index.js +2 -2
  49. package/dist/{negotiation → negotiations}/application/negotiation.graph.d.ts +1 -1
  50. package/dist/{negotiation → negotiations}/domain/index.d.ts +9 -9
  51. package/dist/{negotiation → negotiations}/domain/index.js +9 -9
  52. package/dist/{negotiation → negotiations}/domain/negotiation.screen.contracts.d.ts +3 -3
  53. package/dist/{negotiation → negotiations}/domain/negotiation.screen.contracts.js +3 -3
  54. package/dist/{negotiation → negotiations}/domain/negotiation.stance.contracts.d.ts +1 -1
  55. package/dist/{negotiation → negotiations}/domain/negotiation.stance.contracts.js +1 -1
  56. package/dist/{negotiation → negotiations}/domain/negotiation.state.d.ts +1 -1
  57. package/dist/{negotiation → negotiations}/domain/negotiation.state.js +1 -1
  58. package/dist/{negotiation → negotiations}/index.d.ts +1 -1
  59. package/dist/{negotiation → negotiations}/index.js +1 -1
  60. package/dist/{negotiation → negotiations}/ports/index.d.ts +1 -1
  61. package/dist/{negotiation → negotiations}/ports/index.js +1 -1
  62. package/dist/{communities → networks}/application/index.d.ts +3 -3
  63. package/dist/{communities → networks}/application/index.js +3 -3
  64. package/dist/{communities → networks}/application/indexer.graph.d.ts +1 -1
  65. package/dist/{communities → networks}/application/indexer.state.d.ts +1 -1
  66. package/dist/{communities → networks}/domain/index.d.ts +2 -2
  67. package/dist/{communities → networks}/domain/index.js +2 -2
  68. package/dist/{communities → networks}/index.d.ts +1 -1
  69. package/dist/{communities → networks}/index.js +1 -1
  70. package/dist/{communities → networks}/ports/index.d.ts +3 -3
  71. package/dist/{communities → networks}/ports/index.js +2 -2
  72. package/dist/{opportunity → opportunities}/application/index.d.ts +1 -1
  73. package/dist/{opportunity → opportunities}/application/index.js +1 -1
  74. package/dist/{opportunity → opportunities}/application/negotiation-context.loader.d.ts +1 -1
  75. package/dist/{opportunity → opportunities}/application/opportunity.discovery-negotiation-summary.js +1 -1
  76. package/dist/{opportunity → opportunities}/application/opportunity.graph.d.ts +2 -2
  77. package/dist/{opportunity → opportunities}/application/opportunity.graph.js +2 -2
  78. package/dist/{opportunity → opportunities}/application/opportunity.owner-approval.d.ts +1 -1
  79. package/dist/{opportunity → opportunities}/application/opportunity.owner-provenance.js +1 -1
  80. package/dist/{opportunity → opportunities}/domain/index.d.ts +1 -1
  81. package/dist/{opportunity → opportunities}/domain/index.js +1 -1
  82. package/dist/{opportunity → opportunities}/domain/negotiation-summary.builder.d.ts +1 -1
  83. package/dist/{opportunity → opportunities}/domain/opportunity.state.d.ts +1 -1
  84. package/dist/{opportunity → opportunities}/index.d.ts +1 -1
  85. package/dist/{opportunity → opportunities}/index.js +1 -1
  86. package/dist/{opportunity → opportunities}/ports/index.d.ts +1 -1
  87. package/dist/{opportunity → opportunities}/ports/opportunity.tools.port.d.ts +1 -1
  88. package/dist/{opportunity → opportunities}/radar/radar.graph.d.ts +1 -1
  89. package/dist/{opportunity → opportunities}/radar/radar.state.d.ts +1 -1
  90. package/dist/{premise → premises}/premise.graph.d.ts +1 -1
  91. package/dist/{premise → premises}/premise.state.d.ts +1 -1
  92. package/dist/{premise → premises}/premise.tools.d.ts +1 -1
  93. package/dist/questions/application/question.input.d.ts +1 -1
  94. package/dist/questions/application/question.input.js +1 -1
  95. package/dist/questions/application/question.presets.js +2 -2
  96. package/dist/shared/agent/tool.factory.d.ts +1 -1
  97. package/dist/shared/agent/tool.factory.js +14 -14
  98. package/dist/shared/agent/tool.helpers.d.ts +5 -5
  99. package/dist/shared/agent/tool.registry.d.ts +1 -1
  100. package/dist/shared/agent/tool.registry.js +6 -6
  101. package/dist/shared/assignment/network-assignment.policy.d.ts +1 -1
  102. package/dist/shared/assignment/network-assignment.policy.js +1 -1
  103. package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +3 -3
  104. package/dist/shared/interfaces/agent-dispatcher.interface.js +1 -1
  105. package/dist/shared/schemas/negotiation-state.schema.d.ts +2 -2
  106. package/dist/shared/schemas/negotiation-state.schema.js +2 -2
  107. package/package.json +1 -1
  108. /package/dist/{participant-agents → agents}/domain/index.js +0 -0
  109. /package/dist/{participant-agents → agents}/index.js +0 -0
  110. /package/dist/{participant-agents → agents}/ports/agent.dispatcher.port.js +0 -0
  111. /package/dist/{context → contexts}/context.generator.d.ts +0 -0
  112. /package/dist/{context → contexts}/context.generator.js +0 -0
  113. /package/dist/{participant-context → contexts}/index.d.ts +0 -0
  114. /package/dist/{participant-context → contexts}/index.js +0 -0
  115. /package/dist/{participant-context → contexts}/ports/participant-context.tools.port.d.ts +0 -0
  116. /package/dist/{participant-context → contexts}/ports/participant-context.tools.port.js +0 -0
  117. /package/dist/{signals → intents}/application/intake.orchestrator.d.ts +0 -0
  118. /package/dist/{signals → intents}/application/intake.orchestrator.js +0 -0
  119. /package/dist/{signals → intents}/application/intake.pack.generator.d.ts +0 -0
  120. /package/dist/{signals → intents}/application/intake.pack.generator.js +0 -0
  121. /package/dist/{signals → intents}/application/intent.clarifier.d.ts +0 -0
  122. /package/dist/{signals → intents}/application/intent.clarifier.js +0 -0
  123. /package/dist/{signals → intents}/application/intent.graph.js +0 -0
  124. /package/dist/{signals → intents}/application/intent.indexer.d.ts +0 -0
  125. /package/dist/{signals → intents}/application/intent.indexer.js +0 -0
  126. /package/dist/{signals → intents}/application/intent.inferrer.d.ts +0 -0
  127. /package/dist/{signals → intents}/application/intent.inferrer.js +0 -0
  128. /package/dist/{signals → intents}/application/intent.reconciler.d.ts +0 -0
  129. /package/dist/{signals → intents}/application/intent.reconciler.js +0 -0
  130. /package/dist/{signals → intents}/application/intent.tools.d.ts +0 -0
  131. /package/dist/{signals → intents}/application/intent.tools.js +0 -0
  132. /package/dist/{signals → intents}/application/intent.verifier.d.ts +0 -0
  133. /package/dist/{signals → intents}/application/intent.verifier.js +0 -0
  134. /package/dist/{signals → intents}/domain/intent.proposal.d.ts +0 -0
  135. /package/dist/{signals → intents}/domain/intent.proposal.js +0 -0
  136. /package/dist/{signals → intents}/domain/intent.state.js +0 -0
  137. /package/dist/{signals → intents}/domain/signal.specificity.d.ts +0 -0
  138. /package/dist/{signals → intents}/domain/signal.specificity.js +0 -0
  139. /package/dist/{signals → intents}/ports/signals.tools.port.d.ts +0 -0
  140. /package/dist/{signals → intents}/ports/signals.tools.port.js +0 -0
  141. /package/dist/{negotiation → negotiations}/application/insight.generator.d.ts +0 -0
  142. /package/dist/{negotiation → negotiations}/application/insight.generator.js +0 -0
  143. /package/dist/{negotiation → negotiations}/application/negotiation.agent.d.ts +0 -0
  144. /package/dist/{negotiation → negotiations}/application/negotiation.agent.js +0 -0
  145. /package/dist/{negotiation → negotiations}/application/negotiation.detail-reader.d.ts +0 -0
  146. /package/dist/{negotiation → negotiations}/application/negotiation.detail-reader.js +0 -0
  147. /package/dist/{negotiation → negotiations}/application/negotiation.graph.js +0 -0
  148. /package/dist/{negotiation → negotiations}/application/negotiation.reflect.d.ts +0 -0
  149. /package/dist/{negotiation → negotiations}/application/negotiation.reflect.js +0 -0
  150. /package/dist/{negotiation → negotiations}/application/negotiation.screen.d.ts +0 -0
  151. /package/dist/{negotiation → negotiations}/application/negotiation.screen.js +0 -0
  152. /package/dist/{negotiation → negotiations}/application/negotiation.summarizer.d.ts +0 -0
  153. /package/dist/{negotiation → negotiations}/application/negotiation.summarizer.js +0 -0
  154. /package/dist/{negotiation → negotiations}/application/negotiation.tools.d.ts +0 -0
  155. /package/dist/{negotiation → negotiations}/application/negotiation.tools.js +0 -0
  156. /package/dist/{negotiation → negotiations}/domain/negotiation.consultation-policy.d.ts +0 -0
  157. /package/dist/{negotiation → negotiations}/domain/negotiation.consultation-policy.js +0 -0
  158. /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.contracts.d.ts +0 -0
  159. /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.contracts.js +0 -0
  160. /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.d.ts +0 -0
  161. /package/dist/{negotiation → negotiations}/domain/negotiation.deadlock.js +0 -0
  162. /package/dist/{negotiation → negotiations}/domain/negotiation.expected-speaker.d.ts +0 -0
  163. /package/dist/{negotiation → negotiations}/domain/negotiation.expected-speaker.js +0 -0
  164. /package/dist/{negotiation → negotiations}/domain/negotiation.hermes-contract.d.ts +0 -0
  165. /package/dist/{negotiation → negotiations}/domain/negotiation.hermes-contract.js +0 -0
  166. /package/dist/{negotiation → negotiations}/domain/negotiation.intent-snapshot-provenance.d.ts +0 -0
  167. /package/dist/{negotiation → negotiations}/domain/negotiation.intent-snapshot-provenance.js +0 -0
  168. /package/dist/{negotiation → negotiations}/domain/negotiation.lifecycle-narration.d.ts +0 -0
  169. /package/dist/{negotiation → negotiations}/domain/negotiation.lifecycle-narration.js +0 -0
  170. /package/dist/{negotiation → negotiations}/domain/negotiation.memory.d.ts +0 -0
  171. /package/dist/{negotiation → negotiations}/domain/negotiation.memory.js +0 -0
  172. /package/dist/{negotiation → negotiations}/domain/negotiation.protocol.d.ts +0 -0
  173. /package/dist/{negotiation → negotiations}/domain/negotiation.protocol.js +0 -0
  174. /package/dist/{negotiation → negotiations}/domain/negotiation.question-safety.d.ts +0 -0
  175. /package/dist/{negotiation → negotiations}/domain/negotiation.question-safety.js +0 -0
  176. /package/dist/{negotiation → negotiations}/domain/negotiation.task-lock-policy.d.ts +0 -0
  177. /package/dist/{negotiation → negotiations}/domain/negotiation.task-lock-policy.js +0 -0
  178. /package/dist/{negotiation → negotiations}/domain/negotiation.turn-cap.d.ts +0 -0
  179. /package/dist/{negotiation → negotiations}/domain/negotiation.turn-cap.js +0 -0
  180. /package/dist/{negotiation → negotiations}/negotiation.attribution.d.ts +0 -0
  181. /package/dist/{negotiation → negotiations}/negotiation.attribution.js +0 -0
  182. /package/dist/{negotiation → negotiations}/ports/negotiation.tools.port.d.ts +0 -0
  183. /package/dist/{negotiation → negotiations}/ports/negotiation.tools.port.js +0 -0
  184. /package/dist/{communities → networks}/application/indexer.graph.js +0 -0
  185. /package/dist/{communities → networks}/application/indexer.state.js +0 -0
  186. /package/dist/{communities → networks}/application/membership.graph.d.ts +0 -0
  187. /package/dist/{communities → networks}/application/membership.graph.js +0 -0
  188. /package/dist/{communities → networks}/application/network.graph.d.ts +0 -0
  189. /package/dist/{communities → networks}/application/network.graph.js +0 -0
  190. /package/dist/{communities → networks}/application/network.recommender.d.ts +0 -0
  191. /package/dist/{communities → networks}/application/network.recommender.js +0 -0
  192. /package/dist/{communities → networks}/application/network.tools.d.ts +0 -0
  193. /package/dist/{communities → networks}/application/network.tools.js +0 -0
  194. /package/dist/{communities → networks}/domain/membership.state.d.ts +0 -0
  195. /package/dist/{communities → networks}/domain/membership.state.js +0 -0
  196. /package/dist/{communities → networks}/domain/network.state.d.ts +0 -0
  197. /package/dist/{communities → networks}/domain/network.state.js +0 -0
  198. /package/dist/{communities → networks}/ports/communities.tools.port.d.ts +0 -0
  199. /package/dist/{communities → networks}/ports/communities.tools.port.js +0 -0
  200. /package/dist/{opportunity → opportunities}/application/delivery-card.cache.d.ts +0 -0
  201. /package/dist/{opportunity → opportunities}/application/delivery-card.cache.js +0 -0
  202. /package/dist/{opportunity → opportunities}/application/negotiation-context.loader.js +0 -0
  203. /package/dist/{opportunity → opportunities}/application/opportunity.card-presentation.d.ts +0 -0
  204. /package/dist/{opportunity → opportunities}/application/opportunity.card-presentation.js +0 -0
  205. /package/dist/{opportunity → opportunities}/application/opportunity.discovery-negotiation-summary.d.ts +0 -0
  206. /package/dist/{opportunity → opportunities}/application/opportunity.enricher.d.ts +0 -0
  207. /package/dist/{opportunity → opportunities}/application/opportunity.enricher.js +0 -0
  208. /package/dist/{opportunity → opportunities}/application/opportunity.evaluator.d.ts +0 -0
  209. /package/dist/{opportunity → opportunities}/application/opportunity.evaluator.js +0 -0
  210. /package/dist/{opportunity → opportunities}/application/opportunity.existing-negotiation.d.ts +0 -0
  211. /package/dist/{opportunity → opportunities}/application/opportunity.existing-negotiation.js +0 -0
  212. /package/dist/{opportunity → opportunities}/application/opportunity.feed-selection.d.ts +0 -0
  213. /package/dist/{opportunity → opportunities}/application/opportunity.feed-selection.js +0 -0
  214. /package/dist/{opportunity → opportunities}/application/opportunity.introducer-feature.d.ts +0 -0
  215. /package/dist/{opportunity → opportunities}/application/opportunity.introducer-feature.js +0 -0
  216. /package/dist/{opportunity → opportunities}/application/opportunity.introducer.d.ts +0 -0
  217. /package/dist/{opportunity → opportunities}/application/opportunity.introducer.js +0 -0
  218. /package/dist/{opportunity → opportunities}/application/opportunity.lifecycle.d.ts +0 -0
  219. /package/dist/{opportunity → opportunities}/application/opportunity.lifecycle.js +0 -0
  220. /package/dist/{opportunity → opportunities}/application/opportunity.newborn-stamping.d.ts +0 -0
  221. /package/dist/{opportunity → opportunities}/application/opportunity.newborn-stamping.js +0 -0
  222. /package/dist/{opportunity → opportunities}/application/opportunity.owner-approval.js +0 -0
  223. /package/dist/{opportunity → opportunities}/application/opportunity.owner-provenance.d.ts +0 -0
  224. /package/dist/{opportunity → opportunities}/application/opportunity.pending-questions.d.ts +0 -0
  225. /package/dist/{opportunity → opportunities}/application/opportunity.pending-questions.js +0 -0
  226. /package/dist/{opportunity → opportunities}/application/opportunity.persist.d.ts +0 -0
  227. /package/dist/{opportunity → opportunities}/application/opportunity.persist.js +0 -0
  228. /package/dist/{opportunity → opportunities}/application/opportunity.persistence-admission.d.ts +0 -0
  229. /package/dist/{opportunity → opportunities}/application/opportunity.persistence-admission.js +0 -0
  230. /package/dist/{opportunity → opportunities}/application/opportunity.presenter.d.ts +0 -0
  231. /package/dist/{opportunity → opportunities}/application/opportunity.presenter.js +0 -0
  232. /package/dist/{opportunity → opportunities}/application/opportunity.tools.d.ts +0 -0
  233. /package/dist/{opportunity → opportunities}/application/opportunity.tools.js +0 -0
  234. /package/dist/{opportunity → opportunities}/application/opportunity.update-admission.d.ts +0 -0
  235. /package/dist/{opportunity → opportunities}/application/opportunity.update-admission.js +0 -0
  236. /package/dist/{opportunity → opportunities}/discovery.env.d.ts +0 -0
  237. /package/dist/{opportunity → opportunities}/discovery.env.js +0 -0
  238. /package/dist/{opportunity → opportunities}/discriminator/discriminator.adjustments.d.ts +0 -0
  239. /package/dist/{opportunity → opportunities}/discriminator/discriminator.adjustments.js +0 -0
  240. /package/dist/{opportunity → opportunities}/discriminator/discriminator.assigner.d.ts +0 -0
  241. /package/dist/{opportunity → opportunities}/discriminator/discriminator.assigner.js +0 -0
  242. /package/dist/{opportunity → opportunities}/discriminator/discriminator.env.d.ts +0 -0
  243. /package/dist/{opportunity → opportunities}/discriminator/discriminator.env.js +0 -0
  244. /package/dist/{opportunity → opportunities}/discriminator/discriminator.miner.d.ts +0 -0
  245. /package/dist/{opportunity → opportunities}/discriminator/discriminator.miner.js +0 -0
  246. /package/dist/{opportunity → opportunities}/discriminator/discriminator.push.d.ts +0 -0
  247. /package/dist/{opportunity → opportunities}/discriminator/discriminator.push.js +0 -0
  248. /package/dist/{opportunity → opportunities}/discriminator/discriminator.question.d.ts +0 -0
  249. /package/dist/{opportunity → opportunities}/discriminator/discriminator.question.js +0 -0
  250. /package/dist/{opportunity → opportunities}/discriminator/discriminator.scorer.d.ts +0 -0
  251. /package/dist/{opportunity → opportunities}/discriminator/discriminator.scorer.js +0 -0
  252. /package/dist/{opportunity → opportunities}/discriminator/discriminator.shadow.d.ts +0 -0
  253. /package/dist/{opportunity → opportunities}/discriminator/discriminator.shadow.js +0 -0
  254. /package/dist/{opportunity → opportunities}/discriminator/discriminator.types.d.ts +0 -0
  255. /package/dist/{opportunity → opportunities}/discriminator/discriminator.types.js +0 -0
  256. /package/dist/{opportunity → opportunities}/domain/negotiation-summary.builder.js +0 -0
  257. /package/dist/{opportunity → opportunities}/domain/opportunity.actor.d.ts +0 -0
  258. /package/dist/{opportunity → opportunities}/domain/opportunity.actor.js +0 -0
  259. /package/dist/{opportunity → opportunities}/domain/opportunity.evidence.d.ts +0 -0
  260. /package/dist/{opportunity → opportunities}/domain/opportunity.evidence.js +0 -0
  261. /package/dist/{opportunity → opportunities}/domain/opportunity.labels.d.ts +0 -0
  262. /package/dist/{opportunity → opportunities}/domain/opportunity.labels.js +0 -0
  263. /package/dist/{opportunity → opportunities}/domain/opportunity.presentation-cache.d.ts +0 -0
  264. /package/dist/{opportunity → opportunities}/domain/opportunity.presentation-cache.js +0 -0
  265. /package/dist/{opportunity → opportunities}/domain/opportunity.presentation.d.ts +0 -0
  266. /package/dist/{opportunity → opportunities}/domain/opportunity.presentation.js +0 -0
  267. /package/dist/{opportunity → opportunities}/domain/opportunity.safe-presentation.d.ts +0 -0
  268. /package/dist/{opportunity → opportunities}/domain/opportunity.safe-presentation.js +0 -0
  269. /package/dist/{opportunity → opportunities}/domain/opportunity.state.js +0 -0
  270. /package/dist/{opportunity → opportunities}/domain/opportunity.utils.d.ts +0 -0
  271. /package/dist/{opportunity → opportunities}/domain/opportunity.utils.js +0 -0
  272. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.env.d.ts +0 -0
  273. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.env.js +0 -0
  274. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.extractor.d.ts +0 -0
  275. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.extractor.js +0 -0
  276. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.miner.d.ts +0 -0
  277. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.miner.js +0 -0
  278. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.shadow.d.ts +0 -0
  279. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.shadow.js +0 -0
  280. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.types.d.ts +0 -0
  281. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.types.js +0 -0
  282. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.verifier.d.ts +0 -0
  283. /package/dist/{opportunity → opportunities}/negotiation-evidence/negotiation-evidence.verifier.js +0 -0
  284. /package/dist/{opportunity → opportunities}/outcome/outcome.env.d.ts +0 -0
  285. /package/dist/{opportunity → opportunities}/outcome/outcome.env.js +0 -0
  286. /package/dist/{opportunity → opportunities}/outcome/outcome.hypotheses.d.ts +0 -0
  287. /package/dist/{opportunity → opportunities}/outcome/outcome.hypotheses.js +0 -0
  288. /package/dist/{opportunity → opportunities}/outcome/outcome.shadow.d.ts +0 -0
  289. /package/dist/{opportunity → opportunities}/outcome/outcome.shadow.js +0 -0
  290. /package/dist/{opportunity → opportunities}/outcome/outcome.types.d.ts +0 -0
  291. /package/dist/{opportunity → opportunities}/outcome/outcome.types.js +0 -0
  292. /package/dist/{opportunity → opportunities}/ports/index.js +0 -0
  293. /package/dist/{opportunity → opportunities}/ports/opportunity.tools.port.js +0 -0
  294. /package/dist/{opportunity → opportunities}/radar/radar.graph.js +0 -0
  295. /package/dist/{opportunity → opportunities}/radar/radar.health.d.ts +0 -0
  296. /package/dist/{opportunity → opportunities}/radar/radar.health.js +0 -0
  297. /package/dist/{opportunity → opportunities}/radar/radar.state.js +0 -0
  298. /package/dist/{premise → premises}/premise.analyzer.d.ts +0 -0
  299. /package/dist/{premise → premises}/premise.analyzer.js +0 -0
  300. /package/dist/{premise → premises}/premise.decomposer.d.ts +0 -0
  301. /package/dist/{premise → premises}/premise.decomposer.js +0 -0
  302. /package/dist/{premise → premises}/premise.graph.js +0 -0
  303. /package/dist/{premise → premises}/premise.indexer.d.ts +0 -0
  304. /package/dist/{premise → premises}/premise.indexer.js +0 -0
  305. /package/dist/{premise → premises}/premise.state.js +0 -0
  306. /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
- * participant-agents/application — agent registration and permission tools.
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 participant-agents/ports (same capability)
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
- * participant-agents/application — agent registration and permission tools.
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 participant-agents/ports (same capability)
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
- * participant-agents/application — registration, permission, and dispatch tools.
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 participant-agents/domain, participant-agents/ports, and
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
- * participant-agents/application — registration, permission, and dispatch tools.
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 participant-agents/domain, participant-agents/ports, and
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
- * participant-agents/domain — pure agent entity types.
2
+ * agents/domain — pure agent entity types.
3
3
  *
4
4
  * These are the core value-objects for the participant-agents capability:
5
5
  * agent records, transport channels, permission grants, and the well-known
@@ -1,5 +1,5 @@
1
1
  /**
2
- * participant-agents/domain — pure agent entity types.
2
+ * agents/domain — pure agent entity types.
3
3
  *
4
4
  * These are the core value-objects for the participant-agents capability:
5
5
  * agent records, transport channels, permission grants, and the well-known
@@ -1,5 +1,5 @@
1
1
  /**
2
- * participant-agents/domain — pure agent entity value types and constants.
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 participant-agents/ports.
13
- * - AgentDispatcher: dispatch port — lives in participant-agents/ports.
14
- * - createAgentTools: application layer — lives in participant-agents/application.
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 + participant-agents/public/ pair; the export
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
- * participant-agents/ports — AgentDispatcher dispatch port.
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) → participant-agents/ports/index.ts → agent.dispatcher.port
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: participant-agents/ports re-exports the dispatcher contract
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
- * participant-agents/ports — AgentDatabase persistence port.
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
- * participant-agents/ports — AgentDatabase persistence port.
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
- * participant-agents/ports — AgentToolDeps tool host port.
2
+ * agents/ports — AgentToolDeps tool host port.
3
3
  *
4
4
  * Narrow port type consumed by createAgentTools. The host provides an
5
5
  * optional AgentDatabase so agent registration tools are compiled only
@@ -1,5 +1,5 @@
1
1
  /**
2
- * participant-agents/ports — AgentToolDeps tool host port.
2
+ * agents/ports — AgentToolDeps tool host port.
3
3
  *
4
4
  * Narrow port type consumed by createAgentTools. The host provides an
5
5
  * optional AgentDatabase so agent registration tools are compiled only
@@ -1,5 +1,5 @@
1
1
  /**
2
- * participant-agents/ports — injected dependency contracts.
2
+ * agents/ports — injected dependency contracts.
3
3
  *
4
4
  * Re-exports the narrow port types that the participant-agents module
5
5
  * declares as explicit injected boundaries. Consumers import these to
@@ -1,5 +1,5 @@
1
1
  /**
2
- * participant-agents/ports — injected dependency contracts.
2
+ * agents/ports — injected dependency contracts.
3
3
  *
4
4
  * Re-exports the narrow port types that the participant-agents module
5
5
  * declares as explicit injected boundaries. Consumers import these to
@@ -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/opportunity/scrape subgraphs. */
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>;
@@ -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/opportunity/scrape subgraphs. */
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 "../negotiation/index.js";
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 "../negotiation/index.js";
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
- * participant-context/application — orchestrators, factories, and service classes.
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 participant-context/domain,
10
- * participant-context/ports, and shared/ infrastructure — never from runtime/,
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 premise/, context/, enrichment/, and shared/hyde/.
54
+ * previously spread across premises/, contexts/, enrichment/, and shared/hyde/.
55
55
  */
56
- export { PremiseGraphFactory } from "../../premise/premise.graph.js";
57
- export { PremiseDecomposer, type PremiseDecomposerOutput, type DecomposedPremise, type ExistingPremiseRef, } from "../../premise/premise.decomposer.js";
58
- export { PremiseAnalyzer, type PremiseAnalyzerOutput, } from "../../premise/premise.analyzer.js";
59
- export { PremiseIndexer, type PremiseIndexerOutput, } from "../../premise/premise.indexer.js";
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 "../../premise/premise.tools.js";
65
- export { UserContextGenerator } from "../../context/context.generator.js";
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
- * participant-context/application — orchestrators, factories, and service classes.
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 participant-context/domain,
10
- * participant-context/ports, and shared/ infrastructure — never from runtime/,
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 premise/, context/, enrichment/, and shared/hyde/.
54
+ * previously spread across premises/, contexts/, enrichment/, and shared/hyde/.
55
55
  */
56
56
  // ── Premise graph ─────────────────────────────────────────────────────────────
57
- export { PremiseGraphFactory } from "../../premise/premise.graph.js";
57
+ export { PremiseGraphFactory } from "../../premises/premise.graph.js";
58
58
  // ── Premise service classes ───────────────────────────────────────────────────
59
- export { PremiseDecomposer, } from "../../premise/premise.decomposer.js";
60
- export { PremiseAnalyzer, } from "../../premise/premise.analyzer.js";
61
- export { PremiseIndexer, } from "../../premise/premise.indexer.js";
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 "../../premise/premise.tools.js";
71
+ export { createPremiseTools } from "../../premises/premise.tools.js";
72
72
  // ── Context synthesis ─────────────────────────────────────────────────────────
73
- export { UserContextGenerator } from "../../context/context.generator.js";
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
- * participant-context/domain — pure participant-context contracts.
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 participant-context/ports) or protocol-owned technology bindings
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 premise/, context/, enrichment/, and shared/hyde/.
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 "../../premise/premise.state.js";
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 "../../context/context.generator.js";
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
- * participant-context/domain — pure participant-context contracts.
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 participant-context/ports) or protocol-owned technology bindings
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 premise/, context/, enrichment/, and shared/hyde/.
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 "../../premise/premise.state.js";
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
- * participant-context/ports — narrow injected dependency contracts.
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
- * participant-context/ports — narrow injected dependency contracts.
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 "../participant-agents/index.js";
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 "../premise/premise.decomposer.js";
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,4 +1,4 @@
1
- import type { DebugMetaAgent } from '../participant-agents/index.js';
1
+ import type { DebugMetaAgent } from '../agents/index.js';
2
2
  /**
3
3
  * The Graph State for Profile Generation.
4
4
  */
@@ -1,3 +1,3 @@
1
1
  import type { DefineTool } from "../shared/agent/tool.helpers.js";
2
- import type { EnrichmentToolDeps } from "../participant-context/ports/participant-context.tools.port.js";
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];