@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
@@ -2,7 +2,7 @@
2
2
  * opportunity — 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 + opportunity/public/ pair; the export
5
+ * Supersedes the capabilities/*.facade.ts + opportunities/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 { getOrCreateDeliveryCardBatch, } from "./application/delivery-card.cache.js";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * opportunity/ports — injected dependency contracts for the opportunities capability.
2
+ * opportunities/ports — injected dependency contracts for the opportunities capability.
3
3
  * IND-551: canonical port definitions.
4
4
  */
5
5
  export type { OpportunityToolDeps } from "./opportunity.tools.port.js";
@@ -4,7 +4,7 @@ import type { OpportunityOwnerApprovalAuthority } from "../application/opportuni
4
4
  * IND-593 host authority consumed only by the opportunity mutation boundary.
5
5
  *
6
6
  * This stays capability-local rather than extending the shared registry shape:
7
- * the shared helper participates in the negotiation/question architecture
7
+ * the shared helper participates in the negotiations/question architecture
8
8
  * cycle, while owner approval belongs to the opportunity composition seam.
9
9
  */
10
10
  export interface OpportunityOwnerApprovalDeps {
@@ -13,7 +13,7 @@
13
13
  import type { RadarGraphDatabase, OpportunityStatus } from '../../shared/interfaces/database.interface.js';
14
14
  import type { OpportunityCache } from '../../shared/interfaces/cache.interface.js';
15
15
  import { type RadarCardItem, type RadarResponseItem } from './radar.state.js';
16
- import type { DebugMetaAgent } from '../../participant-agents/index.js';
16
+ import type { DebugMetaAgent } from '../../agents/index.js';
17
17
  /** Database must satisfy both RadarGraphDatabase and presenter context (getProfile, getActiveIntents, getNetwork, getUser). */
18
18
  type RadarGraphDb = RadarGraphDatabase;
19
19
  export type RadarGraphInvokeInput = {
@@ -1,5 +1,5 @@
1
1
  import type { Opportunity, OpportunityStatus } from '../../shared/interfaces/database.interface.js';
2
- import type { DebugMetaAgent } from '../../participant-agents/index.js';
2
+ import type { DebugMetaAgent } from '../../agents/index.js';
3
3
  /**
4
4
  * Radar card item: one opportunity with full presenter-driven display contract.
5
5
  */
@@ -2,7 +2,7 @@ import type { PremiseAnalyzerOutput } from "./premise.analyzer.js";
2
2
  import { PremiseIndexer } from "./premise.indexer.js";
3
3
  import type { PremiseGraphDatabase, PremiseAnalysis } from "../shared/interfaces/database.interface.js";
4
4
  import type { Embedder } from "../shared/interfaces/embedder.interface.js";
5
- import type { DebugMetaAgent } from "../participant-agents/index.js";
5
+ import type { DebugMetaAgent } from "../agents/index.js";
6
6
  /**
7
7
  * Graph factory for premise lifecycle: create, update, and query modes.
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import type { PremiseAnalysis, PremiseRecord } from "../shared/interfaces/database.interface.js";
2
- import type { DebugMetaAgent } from '../participant-agents/index.js';
2
+ import type { DebugMetaAgent } from '../agents/index.js';
3
3
  import type { ToolScopeType } from '../shared/agent/tool.scope.js';
4
4
  export declare const PremiseGraphState: import("@langchain/langgraph").AnnotationRoot<{
5
5
  userId: {
@@ -1,3 +1,3 @@
1
1
  import type { DefineTool } from "../shared/agent/tool.helpers.js";
2
- import type { PremiseToolDeps } from "../participant-context/ports/participant-context.tools.port.js";
2
+ import type { PremiseToolDeps } from "../contexts/ports/participant-context.tools.port.js";
3
3
  export declare function createPremiseTools(defineTool: DefineTool, deps: PremiseToolDeps): any[];
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import type { ToolScopeType } from "../../shared/agent/tool.scope.js";
21
21
  import type { NegotiationQuestionCandidate, QuestionMode, QuestionPoolDiscriminator } from "../domain/question.schema.js";
22
- import type { NegotiationConsultationReason } from "../../negotiation/index.js";
22
+ import type { NegotiationConsultationReason } from "../../negotiations/index.js";
23
23
  /** Intent context — data needed to generate questions about an intent. */
24
24
  export interface IntentContext {
25
25
  intentId: string;
@@ -1,4 +1,4 @@
1
- import { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY } from "../../negotiation/index.js";
1
+ import { NEGOTIATION_QUESTION_GENERIC_COUNTERPARTY, NEGOTIATION_QUESTION_GENERIC_NETWORK, NEGOTIATION_QUESTION_GENERIC_UPTAKE_ACTIVITY } from "../../negotiations/index.js";
2
2
  /** Runtime mirror of the mode/purpose/context discriminant used at queue boundaries. */
3
3
  export function isValidQuestionerInputContract(input) {
4
4
  if (input.purpose === 'recovery') {
@@ -1,5 +1,5 @@
1
1
  import { QUD_UNDERSPECIFICATION_RULES } from "./question.qud.js";
2
- import { consultationPromptFor } from "../../negotiation/index.js";
2
+ import { consultationPromptFor } from "../../negotiations/index.js";
3
3
  /**
4
4
  * Shared rule block appended to every questioner system prompt. Enforces that
5
5
  * the generated `prompt` resolves on its own — no demonstratives/anaphora that
@@ -331,7 +331,7 @@ function buildChatPrompt(ctx) {
331
331
  /**
332
332
  * pool_discovery has NO preset by design: those questions are synthesized
333
333
  * deterministically from mined discriminators (see
334
- * `opportunity/discriminator/discriminator.question.ts`) and never reach the
334
+ * `opportunities/discriminator/discriminator.question.ts`) and never reach the
335
335
  * QuestionerAgent. `getPreset("pool_discovery")` therefore throws — the
336
336
  * QuestionerQueue branches on the mode before invoking the agent.
337
337
  */
@@ -1,5 +1,5 @@
1
1
  import { type ToolContext, type ResolvedToolContext } from "./tool.helpers.js";
2
- import type { OpportunityOwnerApprovalDeps } from "../../opportunity/ports/opportunity.tools.port.js";
2
+ import type { OpportunityOwnerApprovalDeps } from "../../opportunities/ports/opportunity.tools.port.js";
3
3
  export type { ToolContext, ResolvedToolContext, ProtocolDeps } from "./tool.helpers.js";
4
4
  export type { ToolDeps } from "./tool.helpers.js";
5
5
  /**
@@ -1,33 +1,33 @@
1
1
  import { tool } from "@langchain/core/tools";
2
- import { IntentGraphFactory } from "../../signals/application/intent.graph.js";
2
+ import { IntentGraphFactory } from "../../intents/application/intent.graph.js";
3
3
  import { EnrichmentGraphFactory } from "../../enrichment/enrichment.graph.js";
4
- import { OpportunityGraphFactory } from "../../opportunity/index.js";
4
+ import { OpportunityGraphFactory } from "../../opportunities/index.js";
5
5
  import { HydeGraphFactory } from "../hyde/hyde.graph.js";
6
6
  import { HydeGenerator } from "../hyde/hyde.generator.js";
7
7
  import { LensInferrer } from "../hyde/lens.inferrer.js";
8
- import { NetworkGraphFactory, NetworkMembershipGraphFactory, IntentNetworkGraphFactory } from "../../communities/index.js";
9
- import { IntentIndexer } from "../../signals/application/intent.indexer.js";
10
- import { NegotiationGraphFactory } from "../../negotiation/index.js";
11
- import { PremiseGraphFactory } from "../../premise/premise.graph.js";
8
+ import { NetworkGraphFactory, NetworkMembershipGraphFactory, IntentNetworkGraphFactory } from "../../networks/index.js";
9
+ import { IntentIndexer } from "../../intents/application/intent.indexer.js";
10
+ import { NegotiationGraphFactory } from "../../negotiations/index.js";
11
+ import { PremiseGraphFactory } from "../../premises/premise.graph.js";
12
12
  import { protocolLogger } from "../observability/protocol.logger.js";
13
13
  import { resolveChatContext, error, redactSensitiveFields } from "./tool.helpers.js";
14
14
  import { deriveAllowedNetworkIds, focusedIntentId, scopeFromNetworkId } from "./tool.scope.js";
15
15
  import { invokeToolRuntime, toolRuntimeErrorToResult } from "./tool.runtime.js";
16
16
  import { createEnrichmentTools } from "../../enrichment/enrichment.tools.js";
17
- import { createIntentTools } from "../../signals/application/intent.tools.js";
18
- import { createNetworkTools } from "../../communities/index.js";
19
- import { createOpportunityTools } from "../../opportunity/index.js";
17
+ import { createIntentTools } from "../../intents/application/intent.tools.js";
18
+ import { createNetworkTools } from "../../networks/index.js";
19
+ import { createOpportunityTools } from "../../opportunities/index.js";
20
20
  import { createUtilityTools } from "./utility.tools.js";
21
21
  import { createIntegrationTools } from "../../integrations/index.js";
22
22
  import { createContactTools } from "../../contacts/index.js";
23
23
  // The composition root reaches the leaf directly (it is exempt from the barrel
24
- // rule by design): importing participant-agents/index.js here would pull in the
24
+ // rule by design): importing agents/index.js here would pull in the
25
25
  // chat personas, which import this module back -- a runtime cycle.
26
- import { createAgentTools } from "../../participant-agents/application/agent.tools.js";
27
- import { createNegotiationTools } from "../../negotiation/index.js";
28
- import { createPremiseTools } from "../../premise/premise.tools.js";
26
+ import { createAgentTools } from "../../agents/application/agent.tools.js";
27
+ import { createNegotiationTools } from "../../negotiations/index.js";
28
+ import { createPremiseTools } from "../../premises/premise.tools.js";
29
29
  import { createQuestionerTools, createAskUserQuestionTools } from "../../questions/index.js";
30
- import { bindOwnerApprovalProvenance } from "../../opportunity/application/opportunity.owner-provenance.js";
30
+ import { bindOwnerApprovalProvenance } from "../../opportunities/application/opportunity.owner-provenance.js";
31
31
  const logger = protocolLogger("ChatTools");
32
32
  // ═══════════════════════════════════════════════════════════════════════════════
33
33
  // TOOL FACTORY
@@ -14,7 +14,7 @@ import type { ChatSummaryReader } from "../interfaces/chat-summary.interface.js"
14
14
  import type { ChatMessageWriter } from "../interfaces/chat-message-writer.interface.js";
15
15
  import type { NegotiationSummaryReader } from "../interfaces/negotiation-summary.interface.js";
16
16
  import type { Embedder } from "../interfaces/embedder.interface.js";
17
- import type { AgentDatabase } from "../../participant-agents/ports/index.js";
17
+ import type { AgentDatabase } from "../../agents/ports/index.js";
18
18
  import type { NegotiationTimeoutQueue } from "../interfaces/negotiation-events.interface.js";
19
19
  import type { AgentDispatcher } from "../interfaces/agent-dispatcher.interface.js";
20
20
  import type { DeliveryLedger } from "../interfaces/delivery-ledger.interface.js";
@@ -202,7 +202,7 @@ interface ToolContextBindings {
202
202
  /** Optional durable persistence for reporter cleanup-action proposals. */
203
203
  actionProposalStore?: import('../../chat/reporter.action.contracts.js').AgentActionProposalStore;
204
204
  /** Durable host persistence for verified intent proposals shown in chat. */
205
- intentProposalStore?: import('../../signals/domain/intent.proposal.js').IntentProposalStore;
205
+ intentProposalStore?: import('../../intents/domain/intent.proposal.js').IntentProposalStore;
206
206
  /**
207
207
  * Host bridge for the negotiator persona's `remember`/`forget` memory
208
208
  * tools (P5.4). Injected by the composition root only when negotiator
@@ -219,7 +219,7 @@ interface ToolContextBindings {
219
219
  getUserContextText?: (userId: string) => Promise<string>;
220
220
  /** Profile enrichment from external data sources. */
221
221
  enricher: ProfileEnricher;
222
- /** Database adapter for negotiation/conversation operations. */
222
+ /** Database adapter for negotiations/conversation operations. */
223
223
  negotiationDatabase: NegotiationGraphDatabase;
224
224
  /** Integration importer for bulk contact import from toolkits. */
225
225
  integrationImporter: {
@@ -370,7 +370,7 @@ interface ToolDepsBindings {
370
370
  /** Context-bound database for LLM/system operations on cross-user resources within shared networks. */
371
371
  systemDb: SystemDatabase;
372
372
  /** Durable host persistence for verified intent proposals shown in chat. */
373
- intentProposalStore?: import('../../signals/domain/intent.proposal.js').IntentProposalStore;
373
+ intentProposalStore?: import('../../intents/domain/intent.proposal.js').IntentProposalStore;
374
374
  scraper: Scraper;
375
375
  embedder: import('../interfaces/embedder.interface.js').Embedder;
376
376
  cache: Cache;
@@ -392,7 +392,7 @@ interface ToolDepsBindings {
392
392
  }>;
393
393
  };
394
394
  enricher: ProfileEnricher;
395
- /** Database adapter for negotiation/conversation operations. */
395
+ /** Database adapter for negotiations/conversation operations. */
396
396
  negotiationDatabase: NegotiationGraphDatabase;
397
397
  /** Chat session reader for exposing the caller's past conversations as MCP tools. */
398
398
  chatSession?: ChatSessionReader;
@@ -1,6 +1,6 @@
1
1
  import type { ToolDeps, ToolRegistry } from './tool.helpers.js';
2
2
  import type { ToolSurface } from './utility.tools.js';
3
- import type { OpportunityOwnerApprovalDeps } from '../../opportunity/ports/opportunity.tools.port.js';
3
+ import type { OpportunityOwnerApprovalDeps } from '../../opportunities/ports/opportunity.tools.port.js';
4
4
  export interface CreateToolRegistryOptions {
5
5
  /**
6
6
  * Tool-surface profile. The default `'rest'` profile (direct HTTP Tool API)
@@ -1,15 +1,15 @@
1
1
  import { error, redactSensitiveFields } from './tool.helpers.js';
2
2
  import { createEnrichmentTools } from '../../enrichment/enrichment.tools.js';
3
- import { createIntentTools } from '../../signals/application/intent.tools.js';
4
- import { createNetworkTools } from '../../communities/index.js';
5
- import { createOpportunityTools } from '../../opportunity/index.js';
3
+ import { createIntentTools } from '../../intents/application/intent.tools.js';
4
+ import { createNetworkTools } from '../../networks/index.js';
5
+ import { createOpportunityTools } from '../../opportunities/index.js';
6
6
  import { createUtilityTools } from './utility.tools.js';
7
7
  import { createIntegrationTools } from '../../integrations/index.js';
8
8
  import { createContactTools } from '../../contacts/index.js';
9
- import { createAgentTools } from '../../participant-agents/index.js';
10
- import { createNegotiationTools } from '../../negotiation/index.js';
9
+ import { createAgentTools } from '../../agents/index.js';
10
+ import { createNegotiationTools } from '../../negotiations/index.js';
11
11
  import { createChatTools } from '../../chat/chat.tools.js';
12
- import { createPremiseTools } from '../../premise/premise.tools.js';
12
+ import { createPremiseTools } from '../../premises/premise.tools.js';
13
13
  import { createQuestionerTools } from '../../questions/index.js';
14
14
  import { protocolLogger } from '../observability/protocol.logger.js';
15
15
  import { requestContext } from '../observability/request-context.js';
@@ -1,6 +1,6 @@
1
1
  import type { ScopeMembership, ToolScopeEnvelope } from "../agent/tool.scope.js";
2
2
  import type { NetworkAssignmentMetadata, NetworkAssignmentMode, NetworkAssignmentPromptPresence, NetworkAssignmentRawScores, NetworkAssignmentResourceType, NetworkAssignmentScope } from "../schemas/network-assignment.schema.js";
3
- /** Centralized default for unified premise/intent network assignment. */
3
+ /** Centralized default for unified premises/intent network assignment. */
4
4
  export declare const DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD = 0.7;
5
5
  export interface PromptPresenceInput {
6
6
  indexPrompt?: string | null;
@@ -1,5 +1,5 @@
1
1
  import { deriveAllowedNetworkIds, scopeFromNetworkId } from "../agent/tool.scope.js";
2
- /** Centralized default for unified premise/intent network assignment. */
2
+ /** Centralized default for unified premises/intent network assignment. */
3
3
  export const DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD = 0.7;
4
4
  /**
5
5
  * Classifies whether a network/member prompt pair can filter a resource.
@@ -5,13 +5,13 @@
5
5
  * It never knows about webhooks, MCP, transports, or agent resolution.
6
6
  * The concrete implementation lives in the host application.
7
7
  *
8
- * IND-548: these types are also accessible via participant-agents/ports, which
8
+ * IND-548: these types are also accessible via agents/ports, which
9
9
  * re-exports from here. This file remains the authoritative source to avoid a
10
10
  * module cycle through the negotiation capability facade.
11
11
  */
12
12
  import type { NegotiationTurn, UserNegotiationContext, SeedAssessment } from '../schemas/negotiation-state.schema.js';
13
- import type { NegotiatorMemoryEntry } from '../../negotiation/domain/negotiation.memory.js';
14
- import type { AttributedPriorDialogue } from '../../negotiation/negotiation.attribution.js';
13
+ import type { NegotiatorMemoryEntry } from '../../negotiations/domain/negotiation.memory.js';
14
+ import type { AttributedPriorDialogue } from '../../negotiations/negotiation.attribution.js';
15
15
  import type { NegotiationPrivateConsultation } from './database.interface.js';
16
16
  import type { NegotiationContinuationTimeoutIdentity } from './negotiation-events.interface.js';
17
17
  /** Payload sent to the dispatcher for each negotiation turn. */
@@ -5,7 +5,7 @@
5
5
  * It never knows about webhooks, MCP, transports, or agent resolution.
6
6
  * The concrete implementation lives in the host application.
7
7
  *
8
- * IND-548: these types are also accessible via participant-agents/ports, which
8
+ * IND-548: these types are also accessible via agents/ports, which
9
9
  * re-exports from here. This file remains the authoritative source to avoid a
10
10
  * module cycle through the negotiation capability facade.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Negotiation state DTOs extracted from negotiation/negotiation.state.ts for
2
+ * Negotiation state DTOs extracted from negotiations/negotiation.state.ts for
3
3
  * consumption by shared interfaces. This shared module owns the DTO schemas;
4
4
  * LangGraph Annotation.Root stays in the domain file.
5
5
  */
@@ -12,7 +12,7 @@ import { z } from "zod";
12
12
  * `reject` into `withdraw` (initiator seat) / `decline` (counterparty seat).
13
13
  * Which subset is valid for a given turn depends on the task's
14
14
  * `protocolVersion` and the acting user's seat — see
15
- * `negotiation/negotiation.protocol.ts` for the seat-scoped schemas.
15
+ * `negotiations/negotiation.protocol.ts` for the seat-scoped schemas.
16
16
  */
17
17
  export declare const NEGOTIATION_ACTIONS: readonly ["propose", "accept", "reject", "counter", "question", "outreach", "withdraw", "decline", "ask_user"];
18
18
  export type NegotiationAction = (typeof NEGOTIATION_ACTIONS)[number];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Negotiation state DTOs extracted from negotiation/negotiation.state.ts for
2
+ * Negotiation state DTOs extracted from negotiations/negotiation.state.ts for
3
3
  * consumption by shared interfaces. This shared module owns the DTO schemas;
4
4
  * LangGraph Annotation.Root stays in the domain file.
5
5
  */
@@ -13,7 +13,7 @@ import { z } from "zod";
13
13
  * `reject` into `withdraw` (initiator seat) / `decline` (counterparty seat).
14
14
  * Which subset is valid for a given turn depends on the task's
15
15
  * `protocolVersion` and the acting user's seat — see
16
- * `negotiation/negotiation.protocol.ts` for the seat-scoped schemas.
16
+ * `negotiations/negotiation.protocol.ts` for the seat-scoped schemas.
17
17
  */
18
18
  export const NEGOTIATION_ACTIONS = [
19
19
  "propose", "accept", "reject", "counter", "question",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "14.2.0-rc.470.1",
3
+ "version": "14.2.1-rc.472.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
File without changes
File without changes
File without changes