@indexnetwork/protocol 10.1.1-rc.451.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 +2 -0
- package/IMPLEMENTATION.md +8 -7
- package/dist/capabilities/opportunities.facade.d.ts +2 -3
- package/dist/capabilities/opportunities.facade.js +1 -2
- package/dist/capabilities/opportunities.safety.facade.d.ts +1 -1
- package/dist/capabilities/opportunities.safety.facade.js +1 -1
- package/dist/chat/chat.agent.d.ts +3 -4
- package/dist/chat/chat.agent.js +3 -4
- 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/maintenance/maintenance.graph.js +2 -2
- package/dist/negotiation/index.d.ts +0 -24
- package/dist/negotiation/index.js +0 -24
- package/dist/negotiation/negotiation.attribution.d.ts +1 -1
- 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.graph.js +9 -9
- 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/opportunity/domain/opportunity.state.d.ts +4 -4
- package/dist/opportunity/index.d.ts +0 -8
- package/dist/opportunity/index.js +0 -8
- package/dist/opportunity/radar/radar.graph.js +6 -6
- package/dist/opportunity/radar/radar.health.js +1 -1
- 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/dist/shared/agent/canonical-guidance.d.ts +1 -1
- package/dist/shared/agent/canonical-guidance.js +8 -11
- package/dist/shared/agent/tool.helpers.d.ts +1 -1
- package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +1 -1
- package/dist/signals/domain/intent.state.d.ts +2 -2
- package/package.json +1 -1
- package/dist/agent/agent.tools.d.ts +0 -11
- package/dist/agent/agent.tools.js +0 -11
- 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/contact/contact.inviter.d.ts +0 -10
- package/dist/contact/contact.inviter.js +0 -9
- package/dist/contact/contact.tools.d.ts +0 -9
- package/dist/contact/contact.tools.js +0 -9
- package/dist/integration/integration.tools.d.ts +0 -9
- package/dist/integration/integration.tools.js +0 -9
- package/dist/intent/intent.clarifier.d.ts +0 -3
- package/dist/intent/intent.clarifier.js +0 -2
- package/dist/intent/intent.graph.d.ts +0 -5
- package/dist/intent/intent.graph.js +0 -5
- package/dist/intent/intent.indexer.d.ts +0 -2
- package/dist/intent/intent.indexer.js +0 -2
- package/dist/intent/intent.inferrer.d.ts +0 -2
- package/dist/intent/intent.inferrer.js +0 -2
- package/dist/intent/intent.reconciler.d.ts +0 -2
- package/dist/intent/intent.reconciler.js +0 -2
- package/dist/intent/intent.specificity.d.ts +0 -2
- package/dist/intent/intent.specificity.js +0 -2
- package/dist/intent/intent.state.d.ts +0 -10
- package/dist/intent/intent.state.js +0 -10
- package/dist/intent/intent.tools.d.ts +0 -6
- package/dist/intent/intent.tools.js +0 -6
- package/dist/intent/intent.verifier.d.ts +0 -2
- package/dist/intent/intent.verifier.js +0 -2
- package/dist/negotiation/insight.generator.d.ts +0 -5
- package/dist/negotiation/insight.generator.js +0 -5
- package/dist/negotiation/negotiation.agent.d.ts +0 -5
- package/dist/negotiation/negotiation.agent.js +0 -5
- package/dist/negotiation/negotiation.consultation-policy.d.ts +0 -5
- package/dist/negotiation/negotiation.consultation-policy.js +0 -5
- package/dist/negotiation/negotiation.deadlock.contracts.d.ts +0 -5
- package/dist/negotiation/negotiation.deadlock.contracts.js +0 -5
- package/dist/negotiation/negotiation.deadlock.d.ts +0 -5
- package/dist/negotiation/negotiation.deadlock.js +0 -5
- package/dist/negotiation/negotiation.detail-reader.d.ts +0 -5
- package/dist/negotiation/negotiation.detail-reader.js +0 -5
- package/dist/negotiation/negotiation.graph.d.ts +0 -5
- package/dist/negotiation/negotiation.graph.js +0 -5
- package/dist/negotiation/negotiation.intent-snapshot-provenance.d.ts +0 -5
- package/dist/negotiation/negotiation.intent-snapshot-provenance.js +0 -5
- package/dist/negotiation/negotiation.lifecycle-narration.d.ts +0 -5
- package/dist/negotiation/negotiation.lifecycle-narration.js +0 -5
- package/dist/negotiation/negotiation.memory.d.ts +0 -7
- package/dist/negotiation/negotiation.memory.js +0 -7
- package/dist/negotiation/negotiation.protocol.d.ts +0 -5
- package/dist/negotiation/negotiation.protocol.js +0 -5
- package/dist/negotiation/negotiation.question-safety.d.ts +0 -5
- package/dist/negotiation/negotiation.question-safety.js +0 -5
- package/dist/negotiation/negotiation.reflect.d.ts +0 -6
- package/dist/negotiation/negotiation.reflect.js +0 -6
- package/dist/negotiation/negotiation.screen.d.ts +0 -8
- package/dist/negotiation/negotiation.screen.js +0 -8
- package/dist/negotiation/negotiation.state.d.ts +0 -5
- package/dist/negotiation/negotiation.state.js +0 -5
- package/dist/negotiation/negotiation.summarizer.d.ts +0 -5
- package/dist/negotiation/negotiation.summarizer.js +0 -5
- package/dist/negotiation/negotiation.task-lock-policy.d.ts +0 -5
- package/dist/negotiation/negotiation.task-lock-policy.js +0 -5
- package/dist/negotiation/negotiation.tools.d.ts +0 -5
- package/dist/negotiation/negotiation.tools.js +0 -5
- package/dist/network/indexer/indexer.graph.d.ts +0 -5
- package/dist/network/indexer/indexer.graph.js +0 -5
- package/dist/network/indexer/indexer.state.d.ts +0 -5
- package/dist/network/indexer/indexer.state.js +0 -5
- package/dist/network/membership/membership.graph.d.ts +0 -5
- package/dist/network/membership/membership.graph.js +0 -5
- package/dist/network/membership/membership.state.d.ts +0 -5
- package/dist/network/membership/membership.state.js +0 -5
- package/dist/network/network.graph.d.ts +0 -5
- package/dist/network/network.graph.js +0 -5
- package/dist/network/network.recommender.d.ts +0 -5
- package/dist/network/network.recommender.js +0 -5
- package/dist/network/network.state.d.ts +0 -5
- package/dist/network/network.state.js +0 -5
- package/dist/network/network.tools.d.ts +0 -5
- package/dist/network/network.tools.js +0 -5
- package/dist/opportunity/delivery-card.cache.d.ts +0 -5
- package/dist/opportunity/delivery-card.cache.js +0 -5
- package/dist/opportunity/discovery-question.helper.d.ts +0 -5
- package/dist/opportunity/discovery-question.helper.js +0 -5
- package/dist/opportunity/domain/discovery-question.helper.d.ts +0 -18
- package/dist/opportunity/domain/discovery-question.helper.js +0 -15
- package/dist/opportunity/negotiation-context.loader.d.ts +0 -5
- package/dist/opportunity/negotiation-context.loader.js +0 -5
- package/dist/opportunity/negotiation-summary.builder.d.ts +0 -5
- package/dist/opportunity/negotiation-summary.builder.js +0 -5
- package/dist/opportunity/opportunity.actor.d.ts +0 -5
- package/dist/opportunity/opportunity.actor.js +0 -5
- package/dist/opportunity/opportunity.card-presentation.d.ts +0 -5
- package/dist/opportunity/opportunity.card-presentation.js +0 -5
- package/dist/opportunity/opportunity.claim-safety.d.ts +0 -5
- package/dist/opportunity/opportunity.claim-safety.js +0 -5
- package/dist/opportunity/opportunity.discovery-negotiation-summary.d.ts +0 -5
- package/dist/opportunity/opportunity.discovery-negotiation-summary.js +0 -5
- package/dist/opportunity/opportunity.enricher.d.ts +0 -5
- package/dist/opportunity/opportunity.enricher.js +0 -5
- package/dist/opportunity/opportunity.evaluator.d.ts +0 -5
- package/dist/opportunity/opportunity.evaluator.js +0 -5
- package/dist/opportunity/opportunity.evidence.d.ts +0 -5
- package/dist/opportunity/opportunity.evidence.js +0 -5
- package/dist/opportunity/opportunity.existing-negotiation.d.ts +0 -5
- package/dist/opportunity/opportunity.existing-negotiation.js +0 -5
- package/dist/opportunity/opportunity.feed-selection.d.ts +0 -5
- package/dist/opportunity/opportunity.feed-selection.js +0 -5
- package/dist/opportunity/opportunity.graph.d.ts +0 -5
- package/dist/opportunity/opportunity.graph.js +0 -5
- package/dist/opportunity/opportunity.introducer.d.ts +0 -5
- package/dist/opportunity/opportunity.introducer.js +0 -5
- package/dist/opportunity/opportunity.labels.d.ts +0 -5
- package/dist/opportunity/opportunity.labels.js +0 -5
- package/dist/opportunity/opportunity.lifecycle.d.ts +0 -5
- package/dist/opportunity/opportunity.lifecycle.js +0 -5
- package/dist/opportunity/opportunity.newborn-stamping.d.ts +0 -5
- package/dist/opportunity/opportunity.newborn-stamping.js +0 -5
- package/dist/opportunity/opportunity.owner-approval.d.ts +0 -5
- package/dist/opportunity/opportunity.owner-approval.js +0 -5
- package/dist/opportunity/opportunity.pending-questions.d.ts +0 -5
- package/dist/opportunity/opportunity.pending-questions.js +0 -5
- package/dist/opportunity/opportunity.persist.d.ts +0 -5
- package/dist/opportunity/opportunity.persist.js +0 -5
- package/dist/opportunity/opportunity.persistence-admission.d.ts +0 -5
- package/dist/opportunity/opportunity.persistence-admission.js +0 -5
- package/dist/opportunity/opportunity.presentation-cache.d.ts +0 -5
- package/dist/opportunity/opportunity.presentation-cache.js +0 -5
- package/dist/opportunity/opportunity.presentation.d.ts +0 -5
- package/dist/opportunity/opportunity.presentation.js +0 -5
- package/dist/opportunity/opportunity.presenter.d.ts +0 -12
- package/dist/opportunity/opportunity.presenter.js +0 -12
- package/dist/opportunity/opportunity.safe-presentation.d.ts +0 -5
- package/dist/opportunity/opportunity.safe-presentation.js +0 -5
- package/dist/opportunity/opportunity.state.d.ts +0 -5
- package/dist/opportunity/opportunity.state.js +0 -5
- package/dist/opportunity/opportunity.tools.d.ts +0 -5
- package/dist/opportunity/opportunity.tools.js +0 -5
- package/dist/opportunity/opportunity.update-admission.d.ts +0 -5
- package/dist/opportunity/opportunity.update-admission.js +0 -5
- package/dist/opportunity/opportunity.utils.d.ts +0 -5
- package/dist/opportunity/opportunity.utils.js +0 -5
- package/dist/questioner/questioner.agent.d.ts +0 -6
- package/dist/questioner/questioner.agent.js +0 -5
- package/dist/questioner/questioner.ask.tool.d.ts +0 -5
- package/dist/questioner/questioner.ask.tool.js +0 -5
- package/dist/questioner/questioner.discovery.prompt.d.ts +0 -5
- package/dist/questioner/questioner.discovery.prompt.js +0 -5
- package/dist/questioner/questioner.env.d.ts +0 -5
- package/dist/questioner/questioner.env.js +0 -5
- package/dist/questioner/questioner.presets.d.ts +0 -6
- package/dist/questioner/questioner.presets.js +0 -5
- package/dist/questioner/questioner.qud.d.ts +0 -5
- package/dist/questioner/questioner.qud.js +0 -5
- package/dist/questioner/questioner.tools.d.ts +0 -5
- package/dist/questioner/questioner.tools.js +0 -5
- package/dist/questioner/questioner.types.d.ts +0 -6
- package/dist/questioner/questioner.types.js +0 -5
|
@@ -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. */
|
|
@@ -22,7 +22,7 @@ export type CanonicalGuidanceTopic = (typeof CANONICAL_GUIDANCE_TOPICS)[number];
|
|
|
22
22
|
* Never mentions retired contact/Gmail/scrape/profile/ghost-user guidance.
|
|
23
23
|
* Optimized to ~1900 chars to leave room for MCP_INSTRUCTIONS context budget.
|
|
24
24
|
*/
|
|
25
|
-
export declare const CANONICAL_GUIDANCE_SUMMARY = "# Index Network Protocol\n\nIndex Network is a private, intent-driven discovery protocol. Users express signals (intents), agents find matches within shared networks, and decisions proceed through clear gates.\n\n## Core Concepts\n\n**Identity & Context** \u2014
|
|
25
|
+
export declare const CANONICAL_GUIDANCE_SUMMARY = "# Index Network Protocol\n\nIndex Network is a private, intent-driven discovery protocol. Users express signals (intents), agents find matches within shared networks, and decisions proceed through clear gates.\n\n## Core Concepts\n\n**Identity & Context** \u2014 Account and presentation metadata plus scoped runtime state (networks, signals, stage).\n\n**Premises** \u2014 Foundational facts: background, experience, stage, timeline, constraints.\n\n**Signals** \u2014 What users seek (intents, opportunities). Drive semantic matching.\n\n**Communities & Networks** \u2014 Private groups where members share signals and discover connections via shared membership.\n\n**Opportunities** \u2014 Discovered matches between users. Lifecycle: draft \u2192 pending \u2192 accepted/rejected/expired.\n\n**Negotiations** \u2014 Agents coordinate, users approve. **A2A acceptance is not owner approval.** These are separate gates.\n\n**Workflows** \u2014 H2A (users express signals \u2192 agents discover) and A2A (agents coordinate) over MCP. Further escalation via native surfaces (human-to-human threads do not cross MCP).\n\n## Canonical Topics\n\nRefer to these for detailed entity facts and lifecycle:\n\n- **identity-context** \u2014 Presentation identity, context scoping, matching inputs\n- **premises** \u2014 Background, stage, constraints\n- **signals** \u2014 Intent inference, classification\n- **communities-networks** \u2014 Membership, auto-assign\n- **opportunities** \u2014 Discovery, roles, reasoning\n- **negotiations** \u2014 Owner approval vs A2A, acceptance gates\n- **workflows** \u2014 H2A and A2A tool sequences";
|
|
26
26
|
/**
|
|
27
27
|
* Detailed canonical topic content for read_docs.
|
|
28
28
|
* Indexed by topic name; each contains current entity, capability, and lifecycle facts.
|
|
@@ -35,7 +35,7 @@ Index Network is a private, intent-driven discovery protocol. Users express sign
|
|
|
35
35
|
|
|
36
36
|
## Core Concepts
|
|
37
37
|
|
|
38
|
-
**Identity & Context** —
|
|
38
|
+
**Identity & Context** — Account and presentation metadata plus scoped runtime state (networks, signals, stage).
|
|
39
39
|
|
|
40
40
|
**Premises** — Foundational facts: background, experience, stage, timeline, constraints.
|
|
41
41
|
|
|
@@ -53,7 +53,7 @@ Index Network is a private, intent-driven discovery protocol. Users express sign
|
|
|
53
53
|
|
|
54
54
|
Refer to these for detailed entity facts and lifecycle:
|
|
55
55
|
|
|
56
|
-
- **identity-context** —
|
|
56
|
+
- **identity-context** — Presentation identity, context scoping, matching inputs
|
|
57
57
|
- **premises** — Background, stage, constraints
|
|
58
58
|
- **signals** — Intent inference, classification
|
|
59
59
|
- **communities-networks** — Membership, auto-assign
|
|
@@ -67,23 +67,20 @@ Refer to these for detailed entity facts and lifecycle:
|
|
|
67
67
|
export const CANONICAL_GUIDANCE_TOPICS_CONTENT = {
|
|
68
68
|
"identity-context": `## Identity & Context
|
|
69
69
|
|
|
70
|
-
**Identity** is
|
|
70
|
+
**Identity** is account and presentation metadata: name, bio, location, skills, interests, and social links. It identifies and presents the user; it does not provide a profile-vector matching corpus.
|
|
71
71
|
|
|
72
|
-
**Context** is
|
|
72
|
+
**Context** is scoped runtime state: network memberships, approved signals, lifecycle stage, and current opportunity or negotiation state. It determines the user's active scope and available workflow state.
|
|
73
73
|
|
|
74
|
-
###
|
|
75
|
-
|
|
76
|
-
- Skills and interests (arrays)
|
|
77
|
-
- Social links (LinkedIn, GitHub, Twitter, personal websites)
|
|
78
|
-
- Embeddings for semantic matching (generated via HyDE — hypothetical document embedding)
|
|
74
|
+
### Matching Inputs
|
|
75
|
+
Matching uses approved signals, premises, shared network membership, and current opportunity or negotiation state. Premises supply the asserted background, constraints, and capabilities that ground relevant matches.
|
|
79
76
|
|
|
80
77
|
### Context Scoping
|
|
81
78
|
- Users can belong to multiple networks
|
|
82
79
|
- Each network has a scope (open to all members or invite-only)
|
|
83
|
-
-
|
|
80
|
+
- Matching is scoped to shared networks
|
|
84
81
|
|
|
85
82
|
### Key Distinction
|
|
86
|
-
Identity is
|
|
83
|
+
Identity is account/presentation metadata. Context is dynamic, scoped runtime state for what the user is doing now.`,
|
|
87
84
|
premises: `## Premises
|
|
88
85
|
|
|
89
86
|
**Premise** is the foundational context that shapes what matches will be relevant: a user's background, experience level, location, timeline, stage of life, constraints, and what they can actually commit to.
|
|
@@ -21,7 +21,7 @@ import type { AgentDispatcher } from "../interfaces/agent-dispatcher.interface.j
|
|
|
21
21
|
import type { DeliveryLedger } from "../interfaces/delivery-ledger.interface.js";
|
|
22
22
|
import type { ChatQuestionsHost, QuestionerDatabase } from "../interfaces/questioner.interface.js";
|
|
23
23
|
import type { NegotiatorMemoryToolsHost } from "../interfaces/negotiator-memory.interface.js";
|
|
24
|
-
import type { QuestionerEnqueueFn } from "../../
|
|
24
|
+
import type { QuestionerEnqueueFn } from "../../questions/application/question.input.js";
|
|
25
25
|
import type { PendingQuestionSummary } from "../schemas/pending-question.schema.js";
|
|
26
26
|
import type { QuestionMode, QuestionPurpose } from "../schemas/question.schema.js";
|
|
27
27
|
import type { EnrichmentRunQueue, EnrichmentRunStore } from "../interfaces/enrichment-run.interface.js";
|
|
@@ -10,7 +10,7 @@
|
|
|
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/negotiation.memory.js';
|
|
13
|
+
import type { NegotiatorMemoryEntry } from '../../negotiation/domain/negotiation.memory.js';
|
|
14
14
|
import type { AttributedPriorDialogue } from '../../negotiation/negotiation.attribution.js';
|
|
15
15
|
import type { NegotiationPrivateConsultation } from './database.interface.js';
|
|
16
16
|
/** Payload sent to the dispatcher for each negotiation turn. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseMessage } from "@langchain/core/messages";
|
|
2
|
-
import { InferredIntent } from "
|
|
3
|
-
import { SemanticVerifierOutput } from "
|
|
2
|
+
import { InferredIntent } from "../application/intent.inferrer.js";
|
|
3
|
+
import { SemanticVerifierOutput } from "../application/intent.verifier.js";
|
|
4
4
|
import type { DebugMetaAgent } from '../../capabilities/participant-agents.debug.facade.js';
|
|
5
5
|
import type { ToolScopeType } from '../../shared/agent/tool.scope.js';
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — compatibility shim.
|
|
3
|
-
*
|
|
4
|
-
* Canonical implementation has moved to participant-agents/application.
|
|
5
|
-
* This re-export exists solely to avoid breaking imports that pre-date IND-548.
|
|
6
|
-
* Import from the participant-agents module or capabilities/participant-agents.facade.ts
|
|
7
|
-
* for new code.
|
|
8
|
-
*
|
|
9
|
-
* IND-548: migrated to src/participant-agents/application/agent.tools.ts.
|
|
10
|
-
*/
|
|
11
|
-
export { createAgentTools } from '../participant-agents/application/index.js';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — compatibility shim.
|
|
3
|
-
*
|
|
4
|
-
* Canonical implementation has moved to participant-agents/application.
|
|
5
|
-
* This re-export exists solely to avoid breaking imports that pre-date IND-548.
|
|
6
|
-
* Import from the participant-agents module or capabilities/participant-agents.facade.ts
|
|
7
|
-
* for new code.
|
|
8
|
-
*
|
|
9
|
-
* IND-548: migrated to src/participant-agents/application/agent.tools.ts.
|
|
10
|
-
*/
|
|
11
|
-
export { createAgentTools } from '../participant-agents/application/index.js';
|
|
@@ -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,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: contacts/application/contact.inviter
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import generateInviteMessage from contacts/application or via
|
|
5
|
-
* capabilities/contacts.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/contacts/application/contact.inviter.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { generateInviteMessage } from "../contacts/application/index.js";
|
|
10
|
-
export type { InviteInput, InviteOutput } from "../contacts/application/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: contacts/application/contact.inviter
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import generateInviteMessage from contacts/application or via
|
|
5
|
-
* capabilities/contacts.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/contacts/application/contact.inviter.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { generateInviteMessage } from "../contacts/application/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: contacts/application/contact.tools
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import createContactTools from contacts/application or via
|
|
5
|
-
* capabilities/contacts.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/contacts/application/contact.tools.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { createContactTools } from "../contacts/application/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: contacts/application/contact.tools
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import createContactTools from contacts/application or via
|
|
5
|
-
* capabilities/contacts.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/contacts/application/contact.tools.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { createContactTools } from "../contacts/application/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: integrations/application/integration.tools
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import createIntegrationTools from integrations/application or via
|
|
5
|
-
* capabilities/integrations.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/integrations/application/integration.tools.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { createIntegrationTools } from "../integrations/application/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: integrations/application/integration.tools
|
|
3
|
-
* Retained for backward compatibility during IND-549 migration.
|
|
4
|
-
* Import createIntegrationTools from integrations/application or via
|
|
5
|
-
* capabilities/integrations.facade.ts instead.
|
|
6
|
-
*
|
|
7
|
-
* IND-549: migrated to src/integrations/application/integration.tools.ts.
|
|
8
|
-
*/
|
|
9
|
-
export { createIntegrationTools } from "../integrations/application/index.js";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/** @deprecated Canonical location: signals/application/intent.clarifier — retained for backward compatibility (IND-544). */
|
|
2
|
-
export { IntentClarifier } from "../signals/application/intent.clarifier.js";
|
|
3
|
-
export type { IntentClarifierOutput } from "../signals/application/intent.clarifier.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: signals/application/intent.graph
|
|
3
|
-
* Retained for backward compatibility during IND-544 migration.
|
|
4
|
-
*/
|
|
5
|
-
export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, } from "../signals/application/intent.graph.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: signals/application/intent.graph
|
|
3
|
-
* Retained for backward compatibility during IND-544 migration.
|
|
4
|
-
*/
|
|
5
|
-
export { IntentGraphFactory, enforceIntentActionBoundary, buildExplicitUpdateActions, } from "../signals/application/intent.graph.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — canonical location is `signals/domain/intent.state`.
|
|
3
|
-
* This module is a backward-compatibility re-export retained so existing
|
|
4
|
-
* imports inside `intent/` continue to resolve without change while the
|
|
5
|
-
* signals module migration (IND-544) proceeds incrementally.
|
|
6
|
-
*
|
|
7
|
-
* Do not add new exports here; add them to `signals/domain/intent.state.ts`
|
|
8
|
-
* and let them flow through this shim.
|
|
9
|
-
*/
|
|
10
|
-
export { type VerifiedIntent, type IntentValidationFailureCategory, type IntentValidationFailure, type ExecutionResult, IntentGraphState, } from "../signals/domain/intent.state.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated — canonical location is `signals/domain/intent.state`.
|
|
3
|
-
* This module is a backward-compatibility re-export retained so existing
|
|
4
|
-
* imports inside `intent/` continue to resolve without change while the
|
|
5
|
-
* signals module migration (IND-544) proceeds incrementally.
|
|
6
|
-
*
|
|
7
|
-
* Do not add new exports here; add them to `signals/domain/intent.state.ts`
|
|
8
|
-
* and let them flow through this shim.
|
|
9
|
-
*/
|
|
10
|
-
export { IntentGraphState, } from "../signals/domain/intent.state.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: signals/application/intent.tools (tool factory)
|
|
3
|
-
* and runtime/foreground/signals/intent.tools (foreground adapter).
|
|
4
|
-
* Retained for backward compatibility during IND-544 migration.
|
|
5
|
-
*/
|
|
6
|
-
export { createIntentTools, setIntentClarifierForTesting, describeIntentUpdateFailure, } from "../signals/application/intent.tools.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Canonical location: signals/application/intent.tools (tool factory)
|
|
3
|
-
* and runtime/foreground/signals/intent.tools (foreground adapter).
|
|
4
|
-
* Retained for backward compatibility during IND-544 migration.
|
|
5
|
-
*/
|
|
6
|
-
export { createIntentTools, setIntentClarifierForTesting, describeIntentUpdateFailure, } from "../signals/application/intent.tools.js";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Thin backward-compat shim — IND-550.
|
|
3
|
-
* Canonical location: negotiation/domain/negotiation.memory.ts
|
|
4
|
-
* DistilledMemoryKind / NEGOTIATOR_MEMORY_KINDS are also exported from here
|
|
5
|
-
* (previously in negotiation.reflect.ts) so existing imports remain valid.
|
|
6
|
-
*/
|
|
7
|
-
export * from "./domain/negotiation.memory.js";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Thin backward-compat shim — IND-550.
|
|
3
|
-
* Canonical location: negotiation/domain/negotiation.memory.ts
|
|
4
|
-
* DistilledMemoryKind / NEGOTIATOR_MEMORY_KINDS are also exported from here
|
|
5
|
-
* (previously in negotiation.reflect.ts) so existing imports remain valid.
|
|
6
|
-
*/
|
|
7
|
-
export * from "./domain/negotiation.memory.js";
|