@indexnetwork/protocol 10.1.2-rc.452.1 → 10.1.3-rc.453.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/dist/capabilities/opportunities.facade.d.ts +2 -3
- package/dist/capabilities/opportunities.facade.js +1 -2
- package/dist/contacts/index.d.ts +2 -7
- package/dist/contacts/index.js +2 -7
- package/dist/contacts/ports/contact.tools.port.d.ts +2 -3
- package/dist/contacts/ports/contact.tools.port.js +2 -3
- package/dist/contacts/ports/index.d.ts +1 -2
- package/dist/contacts/ports/index.js +1 -2
- package/dist/integrations/index.d.ts +2 -6
- package/dist/integrations/index.js +2 -6
- package/dist/integrations/ports/index.d.ts +1 -2
- package/dist/integrations/ports/index.js +1 -2
- package/dist/integrations/ports/integration.tools.port.d.ts +2 -3
- package/dist/integrations/ports/integration.tools.port.js +2 -3
- package/dist/negotiation/ports/index.d.ts +0 -2
- package/dist/negotiation/ports/index.js +0 -2
- package/dist/negotiation/ports/negotiation.tools.port.d.ts +0 -1
- package/dist/opportunity/application/opportunity.tools.d.ts +1 -1
- package/dist/opportunity/domain/index.d.ts +0 -2
- package/dist/opportunity/domain/index.js +0 -2
- package/dist/participant-agents/index.d.ts +1 -4
- package/dist/participant-agents/index.js +1 -4
- package/dist/participant-agents/ports/index.d.ts +0 -1
- package/dist/participant-agents/ports/index.js +0 -1
- package/dist/questions/index.d.ts +1 -3
- package/dist/questions/index.js +1 -3
- package/dist/questions/ports/question.tools.port.d.ts +1 -2
- package/package.json +1 -1
- package/dist/capabilities/contacts.tools.port.d.ts +0 -9
- package/dist/capabilities/contacts.tools.port.js +0 -1
- package/dist/capabilities/integrations.tools.port.d.ts +0 -9
- package/dist/capabilities/integrations.tools.port.js +0 -1
- package/dist/capabilities/negotiation.tools.port.d.ts +0 -5
- package/dist/capabilities/negotiation.tools.port.js +0 -1
- package/dist/capabilities/opportunities.tools.port.d.ts +0 -5
- package/dist/capabilities/opportunities.tools.port.js +0 -1
- package/dist/capabilities/participant-agents.tools.port.d.ts +0 -9
- package/dist/capabilities/participant-agents.tools.port.js +0 -1
- package/dist/capabilities/questions.tools.port.d.ts +0 -5
- package/dist/capabilities/questions.tools.port.js +0 -1
- package/dist/opportunity/domain/discovery-question.helper.d.ts +0 -18
- package/dist/opportunity/domain/discovery-question.helper.js +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -29,6 +29,7 @@ pin a supported release, use `latest`.
|
|
|
29
29
|
## [Unreleased]
|
|
30
30
|
|
|
31
31
|
### Removed
|
|
32
|
+
- Remove six unsupported tool-port forwarding shims and the deprecated unused discovery-question mapper; stable package-root exports remain unchanged.
|
|
32
33
|
- Remove the onboarding privacy-consent layer (10.0.0). The
|
|
33
34
|
`record_onboarding_privacy_consent` tool is gone from the tool registry, the
|
|
34
35
|
onboarding persona/prompt, the MCP authorization matrix and onboarding
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* The list is curated by responsibility (discovery, lifecycle, presentation,
|
|
5
5
|
* and question lenses) rather than exposing the opportunity directory.
|
|
6
6
|
*
|
|
7
|
-
* IND-551: canonical paths
|
|
8
|
-
* opportunity/application; shims remain at old flat paths for compatibility.
|
|
7
|
+
* IND-551: canonical paths use opportunity/domain and opportunity/application.
|
|
9
8
|
*/
|
|
10
9
|
export { RadarGraphFactory } from "../opportunity/radar/radar.graph.js";
|
|
11
10
|
export { OpportunityGraphFactory } from "../opportunity/application/opportunity.graph.js";
|
|
@@ -17,7 +16,7 @@ export type { EvaluatorInput } from "../opportunity/application/opportunity.eval
|
|
|
17
16
|
export { OpportunityPresenter, gatherPresenterContext } from "../opportunity/application/opportunity.presenter.js";
|
|
18
17
|
export type { PresenterDatabase } from "../opportunity/application/opportunity.presenter.js";
|
|
19
18
|
export { createOpportunityTools } from "../opportunity/application/opportunity.tools.js";
|
|
20
|
-
export type { OpportunityToolDeps } from "
|
|
19
|
+
export type { OpportunityToolDeps } from "../opportunity/ports/index.js";
|
|
21
20
|
export { discoveryAllowedTypes, discoveryIntentMatchingEnabled, discoveryProfileMatchingEnabled, discoveryProfileSource, resetDiscoveryEnvWarningsForTests, } from "../opportunity/discovery.env.js";
|
|
22
21
|
export type { DiscoveryMatchType, DiscoveryProfileSource } from "../opportunity/discovery.env.js";
|
|
23
22
|
export { PoolDiscriminatorMiner } from "../opportunity/discriminator/discriminator.miner.js";
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* The list is curated by responsibility (discovery, lifecycle, presentation,
|
|
5
5
|
* and question lenses) rather than exposing the opportunity directory.
|
|
6
6
|
*
|
|
7
|
-
* IND-551: canonical paths
|
|
8
|
-
* opportunity/application; shims remain at old flat paths for compatibility.
|
|
7
|
+
* IND-551: canonical paths use opportunity/domain and opportunity/application.
|
|
9
8
|
*/
|
|
10
9
|
// ── Core graphs ───────────────────────────────────────────────────────────────
|
|
11
10
|
export { RadarGraphFactory } from "../opportunity/radar/radar.graph.js";
|
package/dist/contacts/index.d.ts
CHANGED
|
@@ -6,19 +6,14 @@
|
|
|
6
6
|
* contacts/ports; this barrel is for cross-capability consumers that must
|
|
7
7
|
* go through the contacts public surface.
|
|
8
8
|
*
|
|
9
|
-
* IND-549: canonical home for contact management capabilities
|
|
10
|
-
* spread across contact/, shared/interfaces/contact.interface.ts, and
|
|
11
|
-
* capabilities/contacts.tools.port.ts.
|
|
9
|
+
* IND-549: canonical home for contact management capabilities.
|
|
12
10
|
*
|
|
13
11
|
* Retains participant reachability semantics: all operations are scoped to
|
|
14
12
|
* the owning user's personal network. Contacts are participants with whom
|
|
15
13
|
* opportunity discovery is run.
|
|
16
14
|
*
|
|
17
|
-
*
|
|
18
|
-
* - contact/contact.tools.ts — thin compatibility shim → contacts/application
|
|
19
|
-
* - contact/contact.inviter.ts — thin compatibility shim → contacts/application
|
|
15
|
+
* Compatibility paths:
|
|
20
16
|
* - shared/interfaces/contact.interface.ts — thin compatibility shim → contacts/ports
|
|
21
|
-
* - capabilities/contacts.tools.port.ts — thin compatibility shim → contacts/ports
|
|
22
17
|
* - capabilities/contacts.facade.ts — thin re-export via contacts/public
|
|
23
18
|
*/
|
|
24
19
|
export * from "./public/index.js";
|
package/dist/contacts/index.js
CHANGED
|
@@ -6,19 +6,14 @@
|
|
|
6
6
|
* contacts/ports; this barrel is for cross-capability consumers that must
|
|
7
7
|
* go through the contacts public surface.
|
|
8
8
|
*
|
|
9
|
-
* IND-549: canonical home for contact management capabilities
|
|
10
|
-
* spread across contact/, shared/interfaces/contact.interface.ts, and
|
|
11
|
-
* capabilities/contacts.tools.port.ts.
|
|
9
|
+
* IND-549: canonical home for contact management capabilities.
|
|
12
10
|
*
|
|
13
11
|
* Retains participant reachability semantics: all operations are scoped to
|
|
14
12
|
* the owning user's personal network. Contacts are participants with whom
|
|
15
13
|
* opportunity discovery is run.
|
|
16
14
|
*
|
|
17
|
-
*
|
|
18
|
-
* - contact/contact.tools.ts — thin compatibility shim → contacts/application
|
|
19
|
-
* - contact/contact.inviter.ts — thin compatibility shim → contacts/application
|
|
15
|
+
* Compatibility paths:
|
|
20
16
|
* - shared/interfaces/contact.interface.ts — thin compatibility shim → contacts/ports
|
|
21
|
-
* - capabilities/contacts.tools.port.ts — thin compatibility shim → contacts/ports
|
|
22
17
|
* - capabilities/contacts.facade.ts — thin re-export via contacts/public
|
|
23
18
|
*/
|
|
24
19
|
export * from "./public/index.js";
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
* from shared/interfaces/contact.interface.ts, which after IND-549 forwards
|
|
12
12
|
* to contacts/ports — creating a cycle back here.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* preserved.
|
|
14
|
+
* Its shape remains structurally equivalent to the matching
|
|
15
|
+
* ToolRegistryCompositionDeps fields.
|
|
17
16
|
*
|
|
18
17
|
* IND-549: extracted from capabilities/contacts.tools.port.ts into the
|
|
19
18
|
* contacts capability's dedicated ports layer.
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
* from shared/interfaces/contact.interface.ts, which after IND-549 forwards
|
|
12
12
|
* to contacts/ports — creating a cycle back here.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* preserved.
|
|
14
|
+
* Its shape remains structurally equivalent to the matching
|
|
15
|
+
* ToolRegistryCompositionDeps fields.
|
|
17
16
|
*
|
|
18
17
|
* IND-549: extracted from capabilities/contacts.tools.port.ts into the
|
|
19
18
|
* contacts capability's dedicated ports layer.
|
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
* - ContactToolDeps — host capabilities for contact management tools.
|
|
15
15
|
*
|
|
16
16
|
* IND-549: canonical ports surface for the contacts capability.
|
|
17
|
-
* Legacy
|
|
17
|
+
* Legacy path:
|
|
18
18
|
* - shared/interfaces/contact.interface.ts → re-exports types from here
|
|
19
|
-
* - capabilities/contacts.tools.port.ts → re-exports ContactToolDeps from here
|
|
20
19
|
*/
|
|
21
20
|
export type { ContactServiceAdapter } from "./contact.repository.port.js";
|
|
22
21
|
export type { ContactToolDeps } from "./contact.tools.port.js";
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
* - ContactToolDeps — host capabilities for contact management tools.
|
|
15
15
|
*
|
|
16
16
|
* IND-549: canonical ports surface for the contacts capability.
|
|
17
|
-
* Legacy
|
|
17
|
+
* Legacy path:
|
|
18
18
|
* - shared/interfaces/contact.interface.ts → re-exports types from here
|
|
19
|
-
* - capabilities/contacts.tools.port.ts → re-exports ContactToolDeps from here
|
|
20
19
|
*/
|
|
21
20
|
export {};
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* or integrations/ports; this barrel is for cross-capability consumers that
|
|
7
7
|
* must go through the integrations public surface.
|
|
8
8
|
*
|
|
9
|
-
* IND-549: canonical home for integration capabilities
|
|
10
|
-
* across integration/, shared/interfaces/integration.interface.ts, and
|
|
11
|
-
* capabilities/integrations.tools.port.ts.
|
|
9
|
+
* IND-549: canonical home for integration capabilities.
|
|
12
10
|
*
|
|
13
11
|
* Retains host-integration configuration/actions semantics: the module owns
|
|
14
12
|
* the OAuth session lifecycle and bulk contact import pipeline contracts.
|
|
@@ -18,10 +16,8 @@
|
|
|
18
16
|
* Allowed outbound capability dependencies: none (empty set). The integrations
|
|
19
17
|
* module is a leaf capability that only depends on shared/ primitives.
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
* - integration/integration.tools.ts — thin compatibility shim → integrations/application
|
|
19
|
+
* Compatibility paths:
|
|
23
20
|
* - shared/interfaces/integration.interface.ts — thin compatibility shim → integrations/ports
|
|
24
|
-
* - capabilities/integrations.tools.port.ts — thin compatibility shim → integrations/ports
|
|
25
21
|
* - capabilities/integrations.facade.ts — thin re-export via integrations/public
|
|
26
22
|
*/
|
|
27
23
|
export * from "./public/index.js";
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* or integrations/ports; this barrel is for cross-capability consumers that
|
|
7
7
|
* must go through the integrations public surface.
|
|
8
8
|
*
|
|
9
|
-
* IND-549: canonical home for integration capabilities
|
|
10
|
-
* across integration/, shared/interfaces/integration.interface.ts, and
|
|
11
|
-
* capabilities/integrations.tools.port.ts.
|
|
9
|
+
* IND-549: canonical home for integration capabilities.
|
|
12
10
|
*
|
|
13
11
|
* Retains host-integration configuration/actions semantics: the module owns
|
|
14
12
|
* the OAuth session lifecycle and bulk contact import pipeline contracts.
|
|
@@ -18,10 +16,8 @@
|
|
|
18
16
|
* Allowed outbound capability dependencies: none (empty set). The integrations
|
|
19
17
|
* module is a leaf capability that only depends on shared/ primitives.
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
* - integration/integration.tools.ts — thin compatibility shim → integrations/application
|
|
19
|
+
* Compatibility paths:
|
|
23
20
|
* - shared/interfaces/integration.interface.ts — thin compatibility shim → integrations/ports
|
|
24
|
-
* - capabilities/integrations.tools.port.ts — thin compatibility shim → integrations/ports
|
|
25
21
|
* - capabilities/integrations.facade.ts — thin re-export via integrations/public
|
|
26
22
|
*/
|
|
27
23
|
export * from "./public/index.js";
|
|
@@ -19,9 +19,8 @@
|
|
|
19
19
|
* - IntegrationToolDeps — host capabilities for integration-backed tools.
|
|
20
20
|
*
|
|
21
21
|
* IND-549: canonical ports surface for the integrations capability.
|
|
22
|
-
* Legacy
|
|
22
|
+
* Legacy path:
|
|
23
23
|
* - shared/interfaces/integration.interface.ts → re-exports types from here
|
|
24
|
-
* - capabilities/integrations.tools.port.ts → re-exports IntegrationToolDeps from here
|
|
25
24
|
*/
|
|
26
25
|
export type { IntegrationAdapter } from "./integration.adapter.port.js";
|
|
27
26
|
export type { IntegrationImporter, IntegrationImportResult } from "./integration.importer.port.js";
|
|
@@ -19,8 +19,7 @@
|
|
|
19
19
|
* - IntegrationToolDeps — host capabilities for integration-backed tools.
|
|
20
20
|
*
|
|
21
21
|
* IND-549: canonical ports surface for the integrations capability.
|
|
22
|
-
* Legacy
|
|
22
|
+
* Legacy path:
|
|
23
23
|
* - shared/interfaces/integration.interface.ts → re-exports types from here
|
|
24
|
-
* - capabilities/integrations.tools.port.ts → re-exports IntegrationToolDeps from here
|
|
25
24
|
*/
|
|
26
25
|
export {};
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
* shared/interfaces/integration.interface.ts, which after IND-549 forwards
|
|
12
12
|
* to integrations/ports — creating a cycle back here.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* the legacy shim is preserved.
|
|
14
|
+
* Its shape remains structurally equivalent to the matching
|
|
15
|
+
* ToolRegistryCompositionDeps fields.
|
|
17
16
|
*
|
|
18
17
|
* IND-549: extracted from capabilities/integrations.tools.port.ts into the
|
|
19
18
|
* integrations capability's dedicated ports layer.
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
* shared/interfaces/integration.interface.ts, which after IND-549 forwards
|
|
12
12
|
* to integrations/ports — creating a cycle back here.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* the legacy shim is preserved.
|
|
14
|
+
* Its shape remains structurally equivalent to the matching
|
|
15
|
+
* ToolRegistryCompositionDeps fields.
|
|
17
16
|
*
|
|
18
17
|
* IND-549: extracted from capabilities/integrations.tools.port.ts into the
|
|
19
18
|
* integrations capability's dedicated ports layer.
|
|
@@ -12,7 +12,5 @@
|
|
|
12
12
|
* negotiationDatabase, agentDispatcher (optional), negotiationTimeoutQueue (optional).
|
|
13
13
|
*
|
|
14
14
|
* IND-550: canonical ports surface for the negotiation capability.
|
|
15
|
-
* Legacy paths:
|
|
16
|
-
* - capabilities/negotiation.tools.port.ts → re-exports NegotiationToolDeps from here
|
|
17
15
|
*/
|
|
18
16
|
export type { NegotiationToolDeps } from "./negotiation.tools.port.js";
|
|
@@ -12,7 +12,5 @@
|
|
|
12
12
|
* negotiationDatabase, agentDispatcher (optional), negotiationTimeoutQueue (optional).
|
|
13
13
|
*
|
|
14
14
|
* IND-550: canonical ports surface for the negotiation capability.
|
|
15
|
-
* Legacy paths:
|
|
16
|
-
* - capabilities/negotiation.tools.port.ts → re-exports NegotiationToolDeps from here
|
|
17
15
|
*/
|
|
18
16
|
export {};
|
|
@@ -9,7 +9,6 @@ import type { NegotiationTimeoutQueue } from "../../shared/interfaces/negotiatio
|
|
|
9
9
|
* same pattern as contacts/ports/contact.tools.port.ts.
|
|
10
10
|
*
|
|
11
11
|
* IND-550: canonical port type for negotiation tool host dependencies.
|
|
12
|
-
* Legacy path (capabilities/negotiation.tools.port.ts) re-exports from here.
|
|
13
12
|
*/
|
|
14
13
|
export interface NegotiationToolDeps {
|
|
15
14
|
negotiationDatabase: NegotiationGraphDatabase;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineTool } from "../../shared/agent/tool.helpers.js";
|
|
2
|
-
import type { OpportunityToolDeps } from "
|
|
2
|
+
import type { OpportunityToolDeps } from "../ports/index.js";
|
|
3
3
|
export { buildOpportunityPresentation } from "./opportunity.card-presentation.js";
|
|
4
4
|
import type { Opportunity } from "../../shared/interfaces/database.interface.js";
|
|
5
5
|
/**
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* - Cache key builders (opportunity.presentation-cache.ts)
|
|
15
15
|
* - Discovery-run coalescing (opportunity.discovery-run-coalescing.ts)
|
|
16
16
|
* - Negotiation-summary mappers (negotiation-summary.builder.ts)
|
|
17
|
-
* - Discovery question input helper (discovery-question.helper.ts)
|
|
18
17
|
*
|
|
19
18
|
* ## What lives in subdirectories (exported by path, not moved)
|
|
20
19
|
* - discriminator/ — pool discriminator types, env, scorer, adjustments, question, push
|
|
@@ -34,7 +33,6 @@ export * from "./opportunity.presentation.js";
|
|
|
34
33
|
export * from "./opportunity.safe-presentation.js";
|
|
35
34
|
export * from "./opportunity.presentation-cache.js";
|
|
36
35
|
export * from "./negotiation-summary.builder.js";
|
|
37
|
-
export * from "./discovery-question.helper.js";
|
|
38
36
|
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator, ScoredDiscriminator, VerifiedAssignment, DiscriminatorShadowResult, } from "../discriminator/discriminator.types.js";
|
|
39
37
|
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS, poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS, } from "../discriminator/discriminator.env.js";
|
|
40
38
|
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment, readActivePoolAdjustments, adjustedConfidence, } from "../discriminator/discriminator.adjustments.js";
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* - Cache key builders (opportunity.presentation-cache.ts)
|
|
15
15
|
* - Discovery-run coalescing (opportunity.discovery-run-coalescing.ts)
|
|
16
16
|
* - Negotiation-summary mappers (negotiation-summary.builder.ts)
|
|
17
|
-
* - Discovery question input helper (discovery-question.helper.ts)
|
|
18
17
|
*
|
|
19
18
|
* ## What lives in subdirectories (exported by path, not moved)
|
|
20
19
|
* - discriminator/ — pool discriminator types, env, scorer, adjustments, question, push
|
|
@@ -35,7 +34,6 @@ export * from "./opportunity.presentation.js";
|
|
|
35
34
|
export * from "./opportunity.safe-presentation.js";
|
|
36
35
|
export * from "./opportunity.presentation-cache.js";
|
|
37
36
|
export * from "./negotiation-summary.builder.js";
|
|
38
|
-
export * from "./discovery-question.helper.js";
|
|
39
37
|
export { poolQuestionsMiningMode, poolQuestionsMode, poolQuestionsPushMode, poolQuestionsStampNewborn, POOL_DISCRIMINATOR_MIN_POOL_SIZE, POOL_DISCRIMINATOR_MAX_CANDIDATES, POOL_DISCRIMINATOR_MAX_PUBLIC_CONTEXT_CHARS, POOL_QUESTION_MIN_VOI, POOL_QUESTION_MAX_PENDING_PER_INTENT, poolQuestionsRanking, POOL_RERUN_DEBOUNCE_MS, poolQuestionsVisitTrigger, POOL_VISIT_MINING_DEBOUNCE_MS, } from "../discriminator/discriminator.env.js";
|
|
40
38
|
export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment, readActivePoolAdjustments, adjustedConfidence, } from "../discriminator/discriminator.adjustments.js";
|
|
41
39
|
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL, } from "../discriminator/discriminator.question.js";
|
|
@@ -12,13 +12,10 @@
|
|
|
12
12
|
* shared/interfaces/agent.interface.ts, and
|
|
13
13
|
* shared/interfaces/agent-dispatcher.interface.ts.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
* - agent/* — thin compatibility shims pointing to participant-agents/application
|
|
15
|
+
* Compatibility paths:
|
|
17
16
|
* - shared/interfaces/agent.interface.ts — re-exports from participant-agents/domain
|
|
18
17
|
* and participant-agents/ports
|
|
19
18
|
* - shared/interfaces/agent-dispatcher.interface.ts — re-exports from
|
|
20
19
|
* participant-agents/ports
|
|
21
|
-
* - capabilities/participant-agents.tools.port.ts — re-exports AgentToolDeps
|
|
22
|
-
* from participant-agents/ports
|
|
23
20
|
*/
|
|
24
21
|
export * from "./public/index.js";
|
|
@@ -12,13 +12,10 @@
|
|
|
12
12
|
* shared/interfaces/agent.interface.ts, and
|
|
13
13
|
* shared/interfaces/agent-dispatcher.interface.ts.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
* - agent/* — thin compatibility shims pointing to participant-agents/application
|
|
15
|
+
* Compatibility paths:
|
|
17
16
|
* - shared/interfaces/agent.interface.ts — re-exports from participant-agents/domain
|
|
18
17
|
* and participant-agents/ports
|
|
19
18
|
* - shared/interfaces/agent-dispatcher.interface.ts — re-exports from
|
|
20
19
|
* participant-agents/ports
|
|
21
|
-
* - capabilities/participant-agents.tools.port.ts — re-exports AgentToolDeps
|
|
22
|
-
* from participant-agents/ports
|
|
23
20
|
*/
|
|
24
21
|
export * from "./public/index.js";
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
* Legacy paths:
|
|
23
23
|
* - shared/interfaces/agent.interface.ts → re-exports AgentDatabase from here
|
|
24
24
|
* - shared/interfaces/agent-dispatcher.interface.ts → re-exports from here
|
|
25
|
-
* - capabilities/participant-agents.tools.port.ts → re-exports AgentToolDeps from here
|
|
26
25
|
*/
|
|
27
26
|
export type { AgentDatabase } from "./agent.repository.port.js";
|
|
28
27
|
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload, } from "./agent.dispatcher.port.js";
|
|
@@ -22,6 +22,5 @@
|
|
|
22
22
|
* Legacy paths:
|
|
23
23
|
* - shared/interfaces/agent.interface.ts → re-exports AgentDatabase from here
|
|
24
24
|
* - shared/interfaces/agent-dispatcher.interface.ts → re-exports from here
|
|
25
|
-
* - capabilities/participant-agents.tools.port.ts → re-exports AgentToolDeps from here
|
|
26
25
|
*/
|
|
27
26
|
export {};
|
|
@@ -11,12 +11,10 @@
|
|
|
11
11
|
* across questioner/, shared/schemas/question.schema.ts, and
|
|
12
12
|
* shared/interfaces/questioner.interface.ts.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* - questioner/* — thin compatibility shims pointing to questions/application
|
|
14
|
+
* Compatibility paths:
|
|
16
15
|
* - capabilities/questions.facade.ts — re-exports from questions/public/index.js
|
|
17
16
|
* - shared/schemas/question.schema.ts — re-exports from questions/domain
|
|
18
17
|
* - shared/interfaces/questioner.interface.ts — re-exports from questions/ports
|
|
19
18
|
* - shared/interfaces/question-generator.interface.ts — re-exports from questions/ports
|
|
20
|
-
* - capabilities/questions.tools.port.ts — re-exports from questions/ports
|
|
21
19
|
*/
|
|
22
20
|
export * from "./public/index.js";
|
package/dist/questions/index.js
CHANGED
|
@@ -11,12 +11,10 @@
|
|
|
11
11
|
* across questioner/, shared/schemas/question.schema.ts, and
|
|
12
12
|
* shared/interfaces/questioner.interface.ts.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* - questioner/* — thin compatibility shims pointing to questions/application
|
|
14
|
+
* Compatibility paths:
|
|
16
15
|
* - capabilities/questions.facade.ts — re-exports from questions/public/index.js
|
|
17
16
|
* - shared/schemas/question.schema.ts — re-exports from questions/domain
|
|
18
17
|
* - shared/interfaces/questioner.interface.ts — re-exports from questions/ports
|
|
19
18
|
* - shared/interfaces/question-generator.interface.ts — re-exports from questions/ports
|
|
20
|
-
* - capabilities/questions.tools.port.ts — re-exports from questions/ports
|
|
21
19
|
*/
|
|
22
20
|
export * from "./public/index.js";
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* (question delivery and chat-inline ask_user_question) without importing
|
|
6
6
|
* the full ToolRegistryCompositionDeps interface.
|
|
7
7
|
*
|
|
8
|
-
* IND-547: canonical
|
|
9
|
-
* Legacy path is a thin compatibility shim pointing here.
|
|
8
|
+
* IND-547: canonical tool-host port.
|
|
10
9
|
*/
|
|
11
10
|
import type { ToolRegistryCompositionDeps } from "../../shared/agent/tool.helpers.js";
|
|
12
11
|
/** Host capabilities consumed by asynchronous question delivery tools. */
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — compatibility shim.
|
|
3
|
-
*
|
|
4
|
-
* Canonical type has moved to contacts/ports.
|
|
5
|
-
* This re-export exists solely to avoid breaking imports that pre-date IND-549.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/contacts/ports/contact.tools.port.ts.
|
|
8
|
-
*/
|
|
9
|
-
export type { ContactToolDeps } from '../contacts/ports/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — compatibility shim.
|
|
3
|
-
*
|
|
4
|
-
* Canonical type has moved to integrations/ports.
|
|
5
|
-
* This re-export exists solely to avoid breaking imports that pre-date IND-549.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/integrations/ports/integration.tools.port.ts.
|
|
8
|
-
*/
|
|
9
|
-
export type { IntegrationToolDeps } from '../integrations/ports/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — compatibility shim.
|
|
3
|
-
*
|
|
4
|
-
* Canonical type has moved to participant-agents/ports.
|
|
5
|
-
* This re-export exists solely to avoid breaking imports that pre-date IND-548.
|
|
6
|
-
*
|
|
7
|
-
* IND-548: migrated to src/participant-agents/ports/agent.tools.port.ts.
|
|
8
|
-
*/
|
|
9
|
-
export type { AgentToolDeps } from '../participant-agents/ports/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pure mapper from opportunity-graph outputs + optional chat digest to a
|
|
3
|
-
* `DiscoveryQuestionInput`. No I/O. Side-effect-free.
|
|
4
|
-
*/
|
|
5
|
-
import type { ChatContextDigest } from "../../shared/schemas/chat-context.schema.js";
|
|
6
|
-
import type { DiscoveryNegotiationDigest } from "../../shared/schemas/negotiation-digest.schema.js";
|
|
7
|
-
import type { DiscoveryQuestionInput, DiscoverySummary } from "../../shared/schemas/discovery-question.schema.js";
|
|
8
|
-
export interface BuildDiscoveryQuestionInputArgs {
|
|
9
|
-
query: string;
|
|
10
|
-
/** The seeker's global user_context paragraph (profile-replacing identity text). */
|
|
11
|
-
userContext: string;
|
|
12
|
-
negotiationDigests: DiscoveryNegotiationDigest[];
|
|
13
|
-
summary: DiscoverySummary;
|
|
14
|
-
chatContext?: ChatContextDigest;
|
|
15
|
-
now: string;
|
|
16
|
-
}
|
|
17
|
-
/** @deprecated Use QuestionerAgent discovery preset instead. Will be removed in a future version. */
|
|
18
|
-
export declare function buildDiscoveryQuestionInput(args: BuildDiscoveryQuestionInputArgs): DiscoveryQuestionInput;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pure mapper from opportunity-graph outputs + optional chat digest to a
|
|
3
|
-
* `DiscoveryQuestionInput`. No I/O. Side-effect-free.
|
|
4
|
-
*/
|
|
5
|
-
/** @deprecated Use QuestionerAgent discovery preset instead. Will be removed in a future version. */
|
|
6
|
-
export function buildDiscoveryQuestionInput(args) {
|
|
7
|
-
return {
|
|
8
|
-
query: args.query,
|
|
9
|
-
userContext: args.userContext,
|
|
10
|
-
negotiationDigests: args.negotiationDigests,
|
|
11
|
-
summary: args.summary,
|
|
12
|
-
...(args.chatContext !== undefined ? { chatContext: args.chatContext } : {}),
|
|
13
|
-
now: args.now,
|
|
14
|
-
};
|
|
15
|
-
}
|