@indexnetwork/protocol 14.0.0-rc.468.1 → 14.2.0-rc.470.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 (147) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/chat/chat-streaming.types.d.ts +1 -1
  3. package/dist/chat/chat.agent.d.ts +1 -1
  4. package/dist/chat/negotiator.prompt.d.ts +1 -1
  5. package/dist/chat/negotiator.prompt.js +1 -1
  6. package/dist/communities/application/indexer.graph.d.ts +1 -1
  7. package/dist/communities/application/indexer.state.d.ts +1 -1
  8. package/dist/communities/application/network.tools.d.ts +1 -1
  9. package/dist/communities/index.d.ts +9 -0
  10. package/dist/communities/index.js +8 -0
  11. package/dist/{capabilities → communities/ports}/communities.tools.port.d.ts +1 -1
  12. package/dist/communities/ports/index.d.ts +2 -2
  13. package/dist/communities/ports/index.js +1 -1
  14. package/dist/contacts/application/contact.inviter.js +1 -1
  15. package/dist/contacts/index.d.ts +9 -0
  16. package/dist/contacts/index.js +8 -0
  17. package/dist/enrichment/enrichment.graph.d.ts +1 -1
  18. package/dist/enrichment/enrichment.state.d.ts +1 -1
  19. package/dist/enrichment/enrichment.tools.d.ts +1 -1
  20. package/dist/index.d.ts +125 -125
  21. package/dist/index.js +85 -85
  22. package/dist/integrations/index.d.ts +10 -0
  23. package/dist/integrations/index.js +8 -0
  24. package/dist/mcp/mcp.authorization-policy.d.ts +8 -8
  25. package/dist/negotiation/application/negotiation.graph.d.ts +1 -1
  26. package/dist/negotiation/domain/negotiation.question-safety.js +1 -1
  27. package/dist/negotiation/index.d.ts +12 -0
  28. package/dist/negotiation/index.js +9 -0
  29. package/dist/opportunity/application/negotiation-context.loader.d.ts +1 -1
  30. package/dist/opportunity/application/opportunity.card-presentation.js +1 -1
  31. package/dist/opportunity/application/opportunity.discovery-negotiation-summary.js +1 -1
  32. package/dist/opportunity/application/opportunity.evaluator.js +1 -1
  33. package/dist/opportunity/application/opportunity.graph.d.ts +3 -3
  34. package/dist/opportunity/application/opportunity.graph.js +3 -3
  35. package/dist/opportunity/application/opportunity.presenter.d.ts +6 -6
  36. package/dist/opportunity/application/opportunity.presenter.js +1 -1
  37. package/dist/opportunity/application/opportunity.tools.js +1 -1
  38. package/dist/opportunity/discriminator/discriminator.adjustments.d.ts +1 -1
  39. package/dist/opportunity/discriminator/discriminator.push.d.ts +1 -1
  40. package/dist/opportunity/discriminator/discriminator.question.d.ts +1 -1
  41. package/dist/opportunity/domain/index.d.ts +1 -1
  42. package/dist/opportunity/domain/index.js +1 -1
  43. package/dist/opportunity/domain/negotiation-summary.builder.d.ts +1 -1
  44. package/dist/opportunity/domain/opportunity.presentation.js +1 -1
  45. package/dist/opportunity/domain/opportunity.safe-presentation.js +1 -1
  46. package/dist/opportunity/domain/opportunity.state.d.ts +1 -1
  47. package/dist/opportunity/index.d.ts +54 -0
  48. package/dist/opportunity/index.js +39 -0
  49. package/dist/opportunity/radar/radar.graph.d.ts +1 -1
  50. package/dist/opportunity/radar/radar.state.d.ts +1 -1
  51. package/dist/participant-agents/index.d.ts +22 -0
  52. package/dist/participant-agents/index.js +12 -0
  53. package/dist/participant-context/index.d.ts +9 -12
  54. package/dist/participant-context/index.js +10 -12
  55. package/dist/{capabilities → participant-context/ports}/participant-context.tools.port.d.ts +1 -1
  56. package/dist/premise/premise.graph.d.ts +1 -1
  57. package/dist/premise/premise.state.d.ts +1 -1
  58. package/dist/premise/premise.tools.d.ts +1 -1
  59. package/dist/questions/application/index.d.ts +1 -1
  60. package/dist/questions/application/index.js +1 -1
  61. package/dist/questions/application/question.env.d.ts +29 -0
  62. package/dist/questions/application/question.env.js +36 -0
  63. package/dist/questions/application/question.input.d.ts +1 -1
  64. package/dist/questions/application/question.input.js +1 -1
  65. package/dist/questions/application/question.presets.js +1 -1
  66. package/dist/questions/domain/question.schema.d.ts +3 -3
  67. package/dist/questions/domain/question.schema.js +2 -6
  68. package/dist/questions/index.d.ts +13 -0
  69. package/dist/questions/index.js +2 -0
  70. package/dist/shared/agent/tool.factory.js +13 -10
  71. package/dist/shared/agent/tool.registry.js +7 -7
  72. package/dist/shared/schemas/mcp-auth.schema.d.ts +4 -4
  73. package/dist/shared/schemas/underspecification.schema.d.ts +13 -0
  74. package/dist/shared/schemas/underspecification.schema.js +16 -0
  75. package/dist/signals/application/intent.clarifier.js +1 -1
  76. package/dist/signals/application/intent.graph.d.ts +2 -2
  77. package/dist/signals/application/intent.tools.d.ts +1 -1
  78. package/dist/signals/domain/intent.state.d.ts +1 -1
  79. package/dist/signals/index.d.ts +18 -0
  80. package/dist/signals/index.js +14 -0
  81. package/dist/{capabilities → signals/ports}/signals.tools.port.d.ts +1 -1
  82. package/package.json +1 -1
  83. package/dist/capabilities/communities.facade.d.ts +0 -13
  84. package/dist/capabilities/communities.facade.js +0 -12
  85. package/dist/capabilities/contacts.facade.d.ts +0 -9
  86. package/dist/capabilities/contacts.facade.js +0 -8
  87. package/dist/capabilities/integrations.facade.d.ts +0 -8
  88. package/dist/capabilities/integrations.facade.js +0 -7
  89. package/dist/capabilities/interaction-composition.facade.d.ts +0 -10
  90. package/dist/capabilities/interaction-composition.facade.js +0 -9
  91. package/dist/capabilities/negotiation.discovery.facade.d.ts +0 -9
  92. package/dist/capabilities/negotiation.discovery.facade.js +0 -7
  93. package/dist/capabilities/negotiation.facade.d.ts +0 -26
  94. package/dist/capabilities/negotiation.facade.js +0 -18
  95. package/dist/capabilities/negotiation.memory.facade.d.ts +0 -6
  96. package/dist/capabilities/negotiation.memory.facade.js +0 -5
  97. package/dist/capabilities/negotiation.questions.facade.d.ts +0 -6
  98. package/dist/capabilities/negotiation.questions.facade.js +0 -5
  99. package/dist/capabilities/negotiation.state.facade.d.ts +0 -5
  100. package/dist/capabilities/negotiation.state.facade.js +0 -1
  101. package/dist/capabilities/negotiation.summary.facade.d.ts +0 -5
  102. package/dist/capabilities/negotiation.summary.facade.js +0 -5
  103. package/dist/capabilities/opportunities.facade.d.ts +0 -56
  104. package/dist/capabilities/opportunities.facade.js +0 -55
  105. package/dist/capabilities/opportunities.safety.facade.d.ts +0 -2
  106. package/dist/capabilities/opportunities.safety.facade.js +0 -2
  107. package/dist/capabilities/participant-agents.debug.facade.d.ts +0 -2
  108. package/dist/capabilities/participant-agents.debug.facade.js +0 -1
  109. package/dist/capabilities/participant-agents.facade.d.ts +0 -34
  110. package/dist/capabilities/participant-agents.facade.js +0 -34
  111. package/dist/capabilities/participant-agents.tools.facade.d.ts +0 -8
  112. package/dist/capabilities/participant-agents.tools.facade.js +0 -8
  113. package/dist/capabilities/participant-context.facade.d.ts +0 -13
  114. package/dist/capabilities/participant-context.facade.js +0 -14
  115. package/dist/capabilities/questions.enqueue.facade.d.ts +0 -5
  116. package/dist/capabilities/questions.enqueue.facade.js +0 -1
  117. package/dist/capabilities/questions.facade.d.ts +0 -8
  118. package/dist/capabilities/questions.facade.js +0 -7
  119. package/dist/capabilities/questions.runtime.facade.d.ts +0 -5
  120. package/dist/capabilities/questions.runtime.facade.js +0 -5
  121. package/dist/capabilities/signals.facade.d.ts +0 -19
  122. package/dist/capabilities/signals.facade.js +0 -17
  123. package/dist/capabilities/signals.indexing.facade.d.ts +0 -12
  124. package/dist/capabilities/signals.indexing.facade.js +0 -11
  125. package/dist/communities/public/index.d.ts +0 -30
  126. package/dist/communities/public/index.js +0 -33
  127. package/dist/contacts/public/index.d.ts +0 -36
  128. package/dist/contacts/public/index.js +0 -33
  129. package/dist/integrations/public/index.d.ts +0 -37
  130. package/dist/integrations/public/index.js +0 -34
  131. package/dist/negotiation/public/index.d.ts +0 -63
  132. package/dist/negotiation/public/index.js +0 -64
  133. package/dist/opportunity/public/index.d.ts +0 -61
  134. package/dist/opportunity/public/index.js +0 -54
  135. package/dist/participant-agents/public/index.d.ts +0 -39
  136. package/dist/participant-agents/public/index.js +0 -36
  137. package/dist/participant-context/public/index.d.ts +0 -48
  138. package/dist/participant-context/public/index.js +0 -55
  139. package/dist/questions/public/index.d.ts +0 -47
  140. package/dist/questions/public/index.js +0 -49
  141. package/dist/signals/public/index.d.ts +0 -15
  142. package/dist/signals/public/index.js +0 -16
  143. /package/dist/{capabilities → communities/ports}/communities.tools.port.js +0 -0
  144. /package/dist/{capabilities → participant-context/ports}/participant-context.tools.port.js +0 -0
  145. /package/dist/{opportunity/domain/opportunity.claim-safety.d.ts → shared/utils/claim-safety.d.ts} +0 -0
  146. /package/dist/{opportunity/domain/opportunity.claim-safety.js → shared/utils/claim-safety.js} +0 -0
  147. /package/dist/{capabilities → signals/ports}/signals.tools.port.js +0 -0
@@ -1,36 +0,0 @@
1
- /**
2
- * participant-agents/public — curated public surface of the participant-agents capability.
3
- *
4
- * Re-exports stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (tool factories) is accessible here for package
6
- * consumers; internal module details (persona definitions, prompt builders,
7
- * graph state) remain private to the application layer.
8
- *
9
- * ## Boundary
10
- *
11
- * References only participant-agents/domain, participant-agents/application,
12
- * and participant-agents/ports. Never imports from the tool composition root (shared/agent), host
13
- * implementations, or other capability internals.
14
- *
15
- * ## Intentionally excluded from public surface
16
- *
17
- * The following are application-internal or runtime-owned:
18
- * - ChatGraphFactory, ChatPersonaConfig, ChatPersona — runtime graph wiring;
19
- * consumers should import via capabilities/participant-agents.facade.ts.
20
- * - Persona constants (SIGNAL_PERSONA, REPORTER_PERSONA, etc.) — chat
21
- * runtime internals; import from capabilities/participant-agents.facade.ts.
22
- * - ChatTitleGenerator, ChatSummarizer, etc. — runtime tool composition; import
23
- * via capabilities/participant-agents.facade.ts.
24
- *
25
- * ## Foreground adapters (participant-directed, authenticated)
26
- *
27
- * - `createAgentTools` — registration, permission grant/revoke, listing, CRUD
28
- * MCP tools for authenticated agent management paths.
29
- *
30
- * IND-548: canonical public surface for the participant-agents capability.
31
- * Legacy paths (capabilities/participant-agents.facade.ts) re-export from here
32
- * for the agent-registry portion of the facade.
33
- */
34
- export { SYSTEM_AGENT_IDS } from "../domain/index.js";
35
- // ── Application: foreground adapter tools ─────────────────────────────────────
36
- export { createAgentTools } from "../application/index.js";
@@ -1,48 +0,0 @@
1
- /**
2
- * participant-context/public — curated public surface of the participant-context capability.
3
- *
4
- * Re-exports the stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (graph factories, tool factories) is accessible via
6
- * capabilities/participant-context.facade for package consumers and via
7
- * the tool composition root (shared/agent) for internal registries.
8
- *
9
- * Boundary: public-compatibility. References only participant-context/domain,
10
- * participant-context/application, and participant-context/ports — never
11
- * the tool composition root (shared/agent) or host implementations.
12
- *
13
- * ## Intentionally excluded from public surface
14
- *
15
- * The following are application-internal and should be imported from
16
- * participant-context/application/ by code that genuinely needs them:
17
- * - `PremiseDecomposer`, `PremiseAnalyzer`, `PremiseIndexer` — used only inside
18
- * PremiseGraphFactory and EnrichmentGraphFactory nodes.
19
- * - `EnrichmentGenerator` — used only inside EnrichmentGraphFactory.
20
- * - `HydeValidator`, `HydeSourceFrame`, `buildHydeValidationPrompt` — used only
21
- * inside HydeGraphFactory nodes.
22
- * - `FRAME_SYSTEM_PROMPT`, `FrameResponseSchema` — LensInferrer internal prompts.
23
- *
24
- * ## Profile-domain compatibility note
25
- *
26
- * Several identifiers in the underlying database interface retain "profile" naming
27
- * (e.g. `getProfile`, `saveProfile`, `deleteProfile`, `UserIdentity`) — these are
28
- * deliberately frozen compatibility names. The domain model's canonical term for
29
- * the synthesized global identity representation is the "global context paragraph"
30
- * (stored as a `user_contexts` row with `networkId = null`).
31
- *
32
- * IND-545: canonical public surface for participant-context, previously
33
- * fragmentary across capabilities/participant-context.facade, shared/hyde exports
34
- * in root index.ts, and direct premise/enrichment/context imports in tool.factory.
35
- */
36
- export { PremiseGraphState, EnrichmentGraphState, HydeGraphState, type HydeDocumentState, type HydeDocumentOrigin, type HydeValidationStatus, type UserContextInput, type IncrementalContextInput, type GlobalContextInput, type GlobalIncrementalContextInput, type UserContextResult, type PremiseAssertion, type PremiseProvenance, type PremiseAnalysis, type PremiseValidity, type PremiseRecord, } from "../domain/index.js";
37
- export { PremiseGraphFactory } from "../application/index.js";
38
- export { EnrichmentGraphFactory, type CompiledPremiseGraph, } from "../application/index.js";
39
- export { HydeGraphFactory, type HydeLensInferrerLike, type HydeGeneratorLike, type HydeValidatorLike, type HydeGraphOptions, } from "../application/index.js";
40
- export { UserContextGenerator } from "../application/index.js";
41
- export { HydeGenerator, type HydeGeneratorOutput, type HydeGenerateInput, } from "../application/index.js";
42
- export { LensInferrer, type LensInferenceInput, type LensInferenceOutput, } from "../application/index.js";
43
- export { getHydeGenerationMode, type HydeGenerationMode, HYDE_FRAME_GENERATION_VERSION, computeHydeSourceTextHash, selectHydeDocumentsForGeneration, HYDE_DEFAULT_CACHE_TTL, HYDE_CORPUS_PROMPTS, } from "../application/index.js";
44
- export { createEnrichmentTools } from "../application/index.js";
45
- export { createPremiseTools } from "../application/index.js";
46
- export { shouldEnrichGhostDisplayNameFromParallel, isEnrichedNameMeaningful, } from "../application/index.js";
47
- export type { PremiseGraphDatabase, EnrichmentGraphDatabase, HydeGraphDatabase, ProfileEnricher, EnrichmentResult, EnrichmentRequest, Scraper, ExtractUrlContentOptions, EmbeddingGenerator, Embedder, } from "../ports/index.js";
48
- export type { EnrichmentToolDeps, PremiseToolDeps } from "../../capabilities/participant-context.tools.port.js";
@@ -1,55 +0,0 @@
1
- /**
2
- * participant-context/public — curated public surface of the participant-context capability.
3
- *
4
- * Re-exports the stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (graph factories, tool factories) is accessible via
6
- * capabilities/participant-context.facade for package consumers and via
7
- * the tool composition root (shared/agent) for internal registries.
8
- *
9
- * Boundary: public-compatibility. References only participant-context/domain,
10
- * participant-context/application, and participant-context/ports — never
11
- * the tool composition root (shared/agent) or host implementations.
12
- *
13
- * ## Intentionally excluded from public surface
14
- *
15
- * The following are application-internal and should be imported from
16
- * participant-context/application/ by code that genuinely needs them:
17
- * - `PremiseDecomposer`, `PremiseAnalyzer`, `PremiseIndexer` — used only inside
18
- * PremiseGraphFactory and EnrichmentGraphFactory nodes.
19
- * - `EnrichmentGenerator` — used only inside EnrichmentGraphFactory.
20
- * - `HydeValidator`, `HydeSourceFrame`, `buildHydeValidationPrompt` — used only
21
- * inside HydeGraphFactory nodes.
22
- * - `FRAME_SYSTEM_PROMPT`, `FrameResponseSchema` — LensInferrer internal prompts.
23
- *
24
- * ## Profile-domain compatibility note
25
- *
26
- * Several identifiers in the underlying database interface retain "profile" naming
27
- * (e.g. `getProfile`, `saveProfile`, `deleteProfile`, `UserIdentity`) — these are
28
- * deliberately frozen compatibility names. The domain model's canonical term for
29
- * the synthesized global identity representation is the "global context paragraph"
30
- * (stored as a `user_contexts` row with `networkId = null`).
31
- *
32
- * IND-545: canonical public surface for participant-context, previously
33
- * fragmentary across capabilities/participant-context.facade, shared/hyde exports
34
- * in root index.ts, and direct premise/enrichment/context imports in tool.factory.
35
- */
36
- // ── Domain contracts ──────────────────────────────────────────────────────────
37
- export { PremiseGraphState, EnrichmentGraphState, HydeGraphState, } from "../domain/index.js";
38
- // ── Application seams ─────────────────────────────────────────────────────────
39
- // Graph factories (foreground + ambient adapter entry points)
40
- export { PremiseGraphFactory } from "../application/index.js";
41
- export { EnrichmentGraphFactory, } from "../application/index.js";
42
- export { HydeGraphFactory, } from "../application/index.js";
43
- // Context synthesis
44
- export { UserContextGenerator } from "../application/index.js";
45
- // HyDE generation utilities
46
- export { HydeGenerator, } from "../application/index.js";
47
- // Lens inference
48
- export { LensInferrer, } from "../application/index.js";
49
- // HyDE environment + document utilities
50
- export { getHydeGenerationMode, HYDE_FRAME_GENERATION_VERSION, computeHydeSourceTextHash, selectHydeDocumentsForGeneration, HYDE_DEFAULT_CACHE_TTL, HYDE_CORPUS_PROMPTS, } from "../application/index.js";
51
- // Tool factories (foreground adapter composition entry points)
52
- export { createEnrichmentTools } from "../application/index.js";
53
- export { createPremiseTools } from "../application/index.js";
54
- // Enrichment helper utilities
55
- export { shouldEnrichGhostDisplayNameFromParallel, isEnrichedNameMeaningful, } from "../application/index.js";
@@ -1,47 +0,0 @@
1
- /**
2
- * questions/public — curated public surface of the questions capability.
3
- *
4
- * Re-exports stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (tool factories, agent) is accessible here for
6
- * package consumers; internal module details (presets, prompt builders, qud
7
- * taxonomy) remain private to the application layer.
8
- *
9
- * ## Boundary
10
- *
11
- * References only questions/domain, questions/application, and questions/ports.
12
- * Never imports from the tool composition root (shared/agent), host implementations, or other
13
- * capability internals.
14
- *
15
- * ## Intentionally excluded from public surface
16
- *
17
- * The following are application-internal:
18
- * - getPreset, QuestionerPreset — LLM preset internals; import from
19
- * questions/application/ when needed for testing overrides.
20
- * - QUD_UNDERSPECIFICATION_RULES — prompt composition detail.
21
- * - buildDiscoveryQuestionPrompt, DISCOVERY_SYSTEM_PROMPT — prompt internals.
22
- * - chatQuestionWaitTimeoutMs, CHAT_QUESTION_WAIT_TIMEOUT_MS_DEFAULT — only
23
- * needed inside the ask tool itself.
24
- * - setQuestionerAgentForTesting — test seam, not for consumers.
25
- *
26
- * ## Foreground vs ambient delivery
27
- *
28
- * **Foreground adapters** (authenticated, participant-directed):
29
- * - `createQuestionerTools` — MCP tools for read/answer/dismiss.
30
- * - `createAskUserQuestionTools` — blocking inline chat questions.
31
- *
32
- * **Ambient adapters** (background generation, not exported here):
33
- * - Recovery, pool, uptake, inflight, and push generation are scheduled by
34
- * QuestionerQueue (backend) via `QuestionerEnqueueFn`. The queue calls
35
- * `QuestionerAgent.invoke()` with the appropriate mode context.
36
- *
37
- * IND-547: canonical public surface for the questions capability.
38
- * Legacy paths (capabilities/questions.facade.ts) re-export from here.
39
- */
40
- export * from "../domain/index.js";
41
- export { QuestionerAgent } from "../application/index.js";
42
- export type { QuestionerAgentConfig } from "../application/index.js";
43
- export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, UPTAKE_AUTHORITY_THRESHOLD_DEFAULT, } from "../application/index.js";
44
- export { isValidQuestionerInputContract, } from "../application/index.js";
45
- export type { QuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext, RecoveryQuestionerInput, UptakeQuestionerInput, PostStallQuestionerInput, InflightQuestionerInput, } from "../application/index.js";
46
- export { createQuestionerTools, createAskUserQuestionTools } from "../application/index.js";
47
- export type { AskUserQuestionToolDeps, ChatQuestionAnswerOutcome, ChatQuestionsHost, PersistableQuestion, PersistedQuestion, QuestionFilters, QuestionerDatabase, QuestionerToolDeps, } from "../ports/index.js";
@@ -1,49 +0,0 @@
1
- /**
2
- * questions/public — curated public surface of the questions capability.
3
- *
4
- * Re-exports stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (tool factories, agent) is accessible here for
6
- * package consumers; internal module details (presets, prompt builders, qud
7
- * taxonomy) remain private to the application layer.
8
- *
9
- * ## Boundary
10
- *
11
- * References only questions/domain, questions/application, and questions/ports.
12
- * Never imports from the tool composition root (shared/agent), host implementations, or other
13
- * capability internals.
14
- *
15
- * ## Intentionally excluded from public surface
16
- *
17
- * The following are application-internal:
18
- * - getPreset, QuestionerPreset — LLM preset internals; import from
19
- * questions/application/ when needed for testing overrides.
20
- * - QUD_UNDERSPECIFICATION_RULES — prompt composition detail.
21
- * - buildDiscoveryQuestionPrompt, DISCOVERY_SYSTEM_PROMPT — prompt internals.
22
- * - chatQuestionWaitTimeoutMs, CHAT_QUESTION_WAIT_TIMEOUT_MS_DEFAULT — only
23
- * needed inside the ask tool itself.
24
- * - setQuestionerAgentForTesting — test seam, not for consumers.
25
- *
26
- * ## Foreground vs ambient delivery
27
- *
28
- * **Foreground adapters** (authenticated, participant-directed):
29
- * - `createQuestionerTools` — MCP tools for read/answer/dismiss.
30
- * - `createAskUserQuestionTools` — blocking inline chat questions.
31
- *
32
- * **Ambient adapters** (background generation, not exported here):
33
- * - Recovery, pool, uptake, inflight, and push generation are scheduled by
34
- * QuestionerQueue (backend) via `QuestionerEnqueueFn`. The queue calls
35
- * `QuestionerAgent.invoke()` with the appropriate mode context.
36
- *
37
- * IND-547: canonical public surface for the questions capability.
38
- * Legacy paths (capabilities/questions.facade.ts) re-export from here.
39
- */
40
- // ── Domain schemas and types ──────────────────────────────────────────────────
41
- export * from "../domain/index.js";
42
- // ── Application: agent ────────────────────────────────────────────────────────
43
- export { QuestionerAgent } from "../application/index.js";
44
- // ── Application: env accessors ────────────────────────────────────────────────
45
- export { isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, UPTAKE_AUTHORITY_THRESHOLD_DEFAULT, } from "../application/index.js";
46
- // ── Application: input types and validation ───────────────────────────────────
47
- export { isValidQuestionerInputContract, } from "../application/index.js";
48
- // ── Application: foreground adapter tools ─────────────────────────────────────
49
- export { createQuestionerTools, createAskUserQuestionTools } from "../application/index.js";
@@ -1,15 +0,0 @@
1
- /**
2
- * signals/public — curated public surface of the signals capability.
3
- *
4
- * Re-exports the stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (createIntentTools) is NOT exported here; it is
6
- * accessible via capabilities/signals.facade for package consumers and via
7
- * the tool composition root (shared/agent) for internal registries.
8
- *
9
- * Boundary: public-compatibility. References only signals/domain,
10
- * signals/application, and signals/ports — never the tool composition root (shared/agent) or
11
- * host implementations.
12
- */
13
- export { type VerifiedIntent, type IntentValidationFailureCategory, type IntentValidationFailure, type ExecutionResult, IntentGraphState, DEFAULT_SPECIFICITY_WARNING, } from "../domain/index.js";
14
- export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, SemanticVerifier, type SemanticVerifierOutput, ExplicitIntentInferrer, type InferredIntent, type InferrerOptions, IntentClarifier, IntentReconciler, type IntentReconcilerOutput, type NormalizedIntentAction, IntentIndexer, IntentIndexerOutputSchema, type IntentIndexerOutput, describeIntentUpdateFailure, SignalIntakePackGenerator, normalizeIntakePack, type IntakePack, type IntakePackInput, type IntakePackQuestion, type IntakePackQuestionOption, SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, type IntakeAnswer, type SynthesisInput, type SynthesisResult, } from "../application/index.js";
15
- export type { IntentGraphDatabase, EmbeddingGenerator, IntentGraphQueue } from "../ports/index.js";
@@ -1,16 +0,0 @@
1
- /**
2
- * signals/public — curated public surface of the signals capability.
3
- *
4
- * Re-exports the stable contracts from domain, application, and ports.
5
- * Runtime adapter creation (createIntentTools) is NOT exported here; it is
6
- * accessible via capabilities/signals.facade for package consumers and via
7
- * the tool composition root (shared/agent) for internal registries.
8
- *
9
- * Boundary: public-compatibility. References only signals/domain,
10
- * signals/application, and signals/ports — never the tool composition root (shared/agent) or
11
- * host implementations.
12
- */
13
- // ── Domain contracts ──────────────────────────────────────────────────────────
14
- export { IntentGraphState, DEFAULT_SPECIFICITY_WARNING, } from "../domain/index.js";
15
- // ── Application seams ─────────────────────────────────────────────────────────
16
- export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, SemanticVerifier, ExplicitIntentInferrer, IntentClarifier, IntentReconciler, IntentIndexer, IntentIndexerOutputSchema, describeIntentUpdateFailure, SignalIntakePackGenerator, normalizeIntakePack, SignalIntakeOrchestrator, answerLabel, FALLBACK_WHO_QUESTION, FALLBACK_BRING_QUESTION, } from "../application/index.js";