@indexnetwork/protocol 11.0.0-rc.454.1 → 11.0.2-rc.456.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 +3 -0
- package/dist/capabilities/contacts.facade.d.ts +1 -1
- package/dist/capabilities/integrations.facade.d.ts +1 -1
- package/dist/capabilities/participant-agents.facade.d.ts +2 -2
- package/dist/capabilities/participant-agents.facade.js +1 -1
- package/dist/capabilities/questions.facade.d.ts +2 -2
- package/dist/capabilities/questions.facade.js +1 -1
- package/dist/chat/chat-streaming.types.d.ts +1 -1
- package/dist/chat/chat.agent.d.ts +1 -1
- package/dist/contacts/domain/contact.types.d.ts +0 -2
- package/dist/contacts/domain/contact.types.js +0 -2
- package/dist/contacts/domain/index.d.ts +0 -2
- package/dist/contacts/index.d.ts +1 -2
- package/dist/contacts/index.js +1 -2
- package/dist/contacts/ports/contact.tools.port.d.ts +3 -5
- package/dist/contacts/ports/contact.tools.port.js +3 -5
- package/dist/contacts/ports/index.d.ts +0 -2
- package/dist/contacts/ports/index.js +0 -2
- package/dist/enrichment/enrichment.graph.d.ts +4 -4
- package/dist/enrichment/enrichment.state.d.ts +1 -1
- package/dist/index.d.ts +6 -7
- package/dist/index.js +2 -2
- package/dist/integrations/domain/index.d.ts +0 -2
- package/dist/integrations/domain/integration.types.d.ts +0 -2
- package/dist/integrations/domain/integration.types.js +0 -2
- package/dist/integrations/index.d.ts +1 -2
- package/dist/integrations/index.js +1 -2
- package/dist/integrations/ports/index.d.ts +0 -2
- package/dist/integrations/ports/index.js +0 -2
- package/dist/integrations/ports/integration.tools.port.d.ts +3 -5
- package/dist/integrations/ports/integration.tools.port.js +3 -5
- package/dist/mcp/elicitation.builder.d.ts +1 -1
- package/dist/mcp/elicitation.dispatcher.d.ts +1 -1
- package/dist/opportunity/application/opportunity.graph.d.ts +5 -5
- package/dist/opportunity/discriminator/discriminator.adjustments.d.ts +1 -1
- package/dist/opportunity/discriminator/discriminator.push.d.ts +1 -1
- package/dist/opportunity/discriminator/discriminator.question.d.ts +1 -1
- package/dist/opportunity/domain/opportunity.state.d.ts +1 -1
- package/dist/participant-agents/domain/index.d.ts +0 -1
- package/dist/participant-agents/index.d.ts +2 -6
- package/dist/participant-agents/index.js +2 -6
- package/dist/participant-agents/ports/agent.tools.port.d.ts +3 -5
- package/dist/participant-agents/ports/agent.tools.port.js +3 -5
- package/dist/participant-agents/ports/index.d.ts +1 -2
- package/dist/participant-agents/ports/index.js +1 -2
- package/dist/questions/domain/index.d.ts +0 -1
- package/dist/questions/domain/index.js +0 -1
- package/dist/questions/domain/question.schema.d.ts +1 -3
- package/dist/questions/domain/question.schema.js +1 -3
- package/dist/questions/index.d.ts +1 -6
- package/dist/questions/index.js +1 -6
- package/dist/questions/ports/question.generator.port.d.ts +1 -2
- package/dist/questions/ports/question.persistence.port.d.ts +1 -2
- package/dist/questions/public/index.d.ts +1 -1
- package/dist/shared/agent/tool.helpers.d.ts +6 -6
- package/dist/shared/schemas/pending-question.schema.d.ts +1 -1
- package/dist/signals/application/intake.orchestrator.d.ts +63 -13
- package/dist/signals/application/intake.orchestrator.js +107 -18
- package/dist/signals/application/intent.clarifier.js +1 -1
- package/dist/signals/application/intent.graph.d.ts +1 -1
- package/dist/signals/application/intent.verifier.d.ts +6 -6
- package/package.json +2 -1
- package/dist/shared/interfaces/agent.interface.d.ts +0 -17
- package/dist/shared/interfaces/agent.interface.js +0 -15
- package/dist/shared/interfaces/contact.interface.d.ts +0 -9
- package/dist/shared/interfaces/contact.interface.js +0 -8
- package/dist/shared/interfaces/integration.interface.d.ts +0 -9
- package/dist/shared/interfaces/integration.interface.js +0 -8
- package/dist/shared/interfaces/question-generator.interface.d.ts +0 -5
- package/dist/shared/interfaces/question-generator.interface.js +0 -1
- package/dist/shared/interfaces/questioner.interface.d.ts +0 -5
- package/dist/shared/interfaces/questioner.interface.js +0 -1
- package/dist/shared/schemas/question.schema.d.ts +0 -5
- package/dist/shared/schemas/question.schema.js +0 -5
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 shared interface/schema forwarding shims after migrating repository consumers to capability-owned domain and port modules; stable package-root exports remain unchanged.
|
|
32
33
|
- Remove six unsupported tool-port forwarding shims and the deprecated unused discovery-question mapper; stable package-root exports remain unchanged.
|
|
33
34
|
- Remove the onboarding privacy-consent layer (10.0.0). The
|
|
34
35
|
`record_onboarding_privacy_consent` tool is gone from the tool registry, the
|
|
@@ -50,6 +51,7 @@ pin a supported release, use `latest`.
|
|
|
50
51
|
enrichment are unchanged.
|
|
51
52
|
|
|
52
53
|
### Added
|
|
54
|
+
- Add a live answer-first signal-intake eval with unrelated, relevant, and no-bridge profile cases plus provider-free corpus, runner, and scorer checks.
|
|
53
55
|
- Add the protocol-only Guided Atlas, deterministic architecture inventory
|
|
54
56
|
generator, and source-evidenced Configuration Lab. The atlas explains
|
|
55
57
|
normative concepts, the current `packages/protocol` reference implementation,
|
|
@@ -68,6 +70,7 @@ pin a supported release, use `latest`.
|
|
|
68
70
|
`SynthesisResult` types. Minor bump: additive surface only.
|
|
69
71
|
|
|
70
72
|
### Changed
|
|
73
|
+
- Make fast signal-intake follow-ups answer-first with a two-stage model boundary: an answer-only core call chooses the missing axis and supplies two or three concrete domain options, then an isolated bridge call may append at most one premise-derived profile option so an existing profile theme cannot dominate or reorder a newly stated intent.
|
|
71
74
|
- Remove unsupported deprecated source/deep forwarding shims after migrating repository consumers to canonical modules; stable package-root exports are unchanged.
|
|
72
75
|
- Add a fail-closed isolated provider-free test gate (10.1.1). Tooling-only
|
|
73
76
|
safety foundation; no runtime or public API behavior changes.
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export { generateInviteMessage } from "../contacts/public/index.js";
|
|
8
8
|
export { createContactTools } from "../contacts/public/index.js";
|
|
9
|
-
export type { ContactToolDeps } from "../contacts/public/index.js";
|
|
9
|
+
export type { ContactServiceAdapter, ContactToolDeps } from "../contacts/public/index.js";
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* of the legacy integration/ shim directory.
|
|
6
6
|
*/
|
|
7
7
|
export { createIntegrationTools } from "../integrations/public/index.js";
|
|
8
|
-
export type { IntegrationToolDeps } from "../integrations/public/index.js";
|
|
8
|
+
export type { IntegrationAdapter, IntegrationConnection, IntegrationSession, IntegrationSessionOptions, IntegrationToolDeps, ToolActionResponse, } from "../integrations/public/index.js";
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
*
|
|
20
20
|
* IND-548: agent-registry portion now routes through participant-agents/public.
|
|
21
21
|
*/
|
|
22
|
-
export { createAgentTools } from "../participant-agents/
|
|
23
|
-
export type { AgentToolDeps } from "../participant-agents/
|
|
22
|
+
export { createAgentTools, SYSTEM_AGENT_IDS } from "../participant-agents/public/index.js";
|
|
23
|
+
export type { AgentToolDeps } from "../participant-agents/public/index.js";
|
|
24
24
|
export { ChatGraphFactory } from "../chat/chat.graph.js";
|
|
25
25
|
export { ORCHESTRATOR_PERSONA_ID } from "../chat/chat.persona.js";
|
|
26
26
|
export type { ChatPersonaConfig } from "../chat/chat.persona.js";
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* IND-548: agent-registry portion now routes through participant-agents/public.
|
|
21
21
|
*/
|
|
22
22
|
// ── Agent registration and permission management ──────────────────────────────
|
|
23
|
-
export { createAgentTools } from "../participant-agents/
|
|
23
|
+
export { createAgentTools, SYSTEM_AGENT_IDS } from "../participant-agents/public/index.js";
|
|
24
24
|
// ── Runtime chat graph ────────────────────────────────────────────────────────
|
|
25
25
|
export { ChatGraphFactory } from "../chat/chat.graph.js";
|
|
26
26
|
export { ORCHESTRATOR_PERSONA_ID } from "../chat/chat.persona.js";
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* IND-547: updated to re-export from questions/public/index.js.
|
|
5
5
|
* Legacy consumers importing from this path continue to work unchanged.
|
|
6
6
|
*/
|
|
7
|
-
export { QuestionerAgent, isValidQuestionerInputContract, isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, isDiscoveryQuestionsEnabled, discoveryQuestionsInputMode, discoveryQuestionsTimeoutMs, createQuestionerTools, createAskUserQuestionTools, } from "../questions/public/index.js";
|
|
8
|
-
export type { QuestionerInput, RecoveryQuestionerInput, UptakeQuestionerInput, PostStallQuestionerInput, InflightQuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext, QuestionerToolDeps, AskUserQuestionToolDeps, } from "../questions/public/index.js";
|
|
7
|
+
export { QuestionerAgent, isValidQuestionerInputContract, isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, isDiscoveryQuestionsEnabled, discoveryQuestionsInputMode, discoveryQuestionsTimeoutMs, createQuestionerTools, createAskUserQuestionTools, NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, } from "../questions/public/index.js";
|
|
8
|
+
export type { QuestionerInput, RecoveryQuestionerInput, UptakeQuestionerInput, PostStallQuestionerInput, InflightQuestionerInput, QuestionerEnqueuePayload, QuestionerEnqueueFn, PoolDiscoveryContext, QuestionerToolDeps, AskUserQuestionToolDeps, ChatQuestionsHost, NegotiationQuestionCandidate, NegotiationQuestionProvenance, NegotiationQuestionPurpose, PersistableQuestion, PersistedQuestion, Question, QuestionFilters, QuestionGenerationResult, QuestionGeneratorReader, QuestionPoolDiscriminator, QuestionPoolPush, QuestionPoolPushRequestReason, QuestionPoolPushRequestStatus, QuestionPoolSnapshot, QuestionPurpose, QuestionRecoverySnapshot, QuestionStrategy, QuestionVoidedReason, QuestionerDatabase, UnderspecificationType, } from "../questions/public/index.js";
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* IND-547: updated to re-export from questions/public/index.js.
|
|
5
5
|
* Legacy consumers importing from this path continue to work unchanged.
|
|
6
6
|
*/
|
|
7
|
-
export { QuestionerAgent, isValidQuestionerInputContract, isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, isDiscoveryQuestionsEnabled, discoveryQuestionsInputMode, discoveryQuestionsTimeoutMs, createQuestionerTools, createAskUserQuestionTools, } from "../questions/public/index.js";
|
|
7
|
+
export { QuestionerAgent, isValidQuestionerInputContract, isQuestionerEnabled, isUptakeGuardEnabled, uptakeAuthorityThreshold, isDiscoveryQuestionsEnabled, discoveryQuestionsInputMode, discoveryQuestionsTimeoutMs, createQuestionerTools, createAskUserQuestionTools, NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, } from "../questions/public/index.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* These types define the structure of events sent during streaming chat responses.
|
|
5
5
|
* Events are sent as Server-Sent Events (SSE) with JSON payloads.
|
|
6
6
|
*/
|
|
7
|
-
import type { Question, QuestionStrategy } from "../
|
|
7
|
+
import type { Question, QuestionStrategy } from "../questions/domain/question.schema.js";
|
|
8
8
|
export type ChatStreamEventType = "status" | "routing" | "thinking" | "subgraph_start" | "subgraph_result" | "token" | "done" | "error" | "tool_start" | "tool_end" | "agent_thinking" | "tool_activity" | "iteration_start" | "llm_start" | "llm_end" | "response_complete" | "response_reset" | "debug_meta" | "graph_start" | "graph_end" | "phase_start" | "phase_end" | "agent_start" | "agent_end" | "hallucination_detected" | "negotiation_session_start" | "negotiation_session_end" | "negotiation_turn" | "negotiation_outcome" | "chat_summarizer_start" | "chat_summarizer_end" | "question_generator_start" | "question_generator_end" | "decision_questions" | "user_question" | "steer_or_queue";
|
|
9
9
|
/**
|
|
10
10
|
* Base interface for all chat stream events.
|
|
@@ -2,7 +2,7 @@ import { BaseMessage } from "@langchain/core/messages";
|
|
|
2
2
|
import type { ToolContext } from "../shared/agent/tool.factory.js";
|
|
3
3
|
import { type ChatPersonaConfig } from "./chat.persona.js";
|
|
4
4
|
import type { DebugMetaToolCall, DebugMetaLlm, DebugMetaOrchestratorNegotiations, DebugMetaDiscoveryQuestions } from "./chat-streaming.types.js";
|
|
5
|
-
import type { Question, QuestionStrategy } from "../
|
|
5
|
+
import type { Question, QuestionStrategy } from "../questions/domain/question.schema.js";
|
|
6
6
|
export { ITERATION_NUDGE } from "./chat.prompt.js";
|
|
7
7
|
/**
|
|
8
8
|
* Writer callback for streaming custom data out of the graph node.
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
* No application logic, no LLM calls, no cross-capability imports.
|
|
5
5
|
*
|
|
6
6
|
* IND-549: canonical domain layer for the contacts capability.
|
|
7
|
-
* Legacy path (shared/interfaces/contact.interface.ts) is a thin
|
|
8
|
-
* compatibility shim pointing here.
|
|
9
7
|
*/
|
|
10
8
|
/** Input for importing a single contact. */
|
|
11
9
|
export interface ContactInput {
|
|
@@ -12,7 +12,5 @@
|
|
|
12
12
|
* - generateInviteMessage: application layer — lives in contacts/application.
|
|
13
13
|
*
|
|
14
14
|
* IND-549: canonical domain layer for the contacts capability.
|
|
15
|
-
* Legacy path (shared/interfaces/contact.interface.ts) is a thin
|
|
16
|
-
* compatibility shim.
|
|
17
15
|
*/
|
|
18
16
|
export type { ContactInput, ContactResult, ContactImportResult, ContactEntry, ContactSearchResult, } from "./contact.types.js";
|
package/dist/contacts/index.d.ts
CHANGED
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* the owning user's personal network. Contacts are participants with whom
|
|
13
13
|
* opportunity discovery is run.
|
|
14
14
|
*
|
|
15
|
-
* Compatibility
|
|
16
|
-
* - shared/interfaces/contact.interface.ts — thin compatibility shim → contacts/ports
|
|
15
|
+
* Compatibility path:
|
|
17
16
|
* - capabilities/contacts.facade.ts — thin re-export via contacts/public
|
|
18
17
|
*/
|
|
19
18
|
export * from "./public/index.js";
|
package/dist/contacts/index.js
CHANGED
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* the owning user's personal network. Contacts are participants with whom
|
|
13
13
|
* opportunity discovery is run.
|
|
14
14
|
*
|
|
15
|
-
* Compatibility
|
|
16
|
-
* - shared/interfaces/contact.interface.ts — thin compatibility shim → contacts/ports
|
|
15
|
+
* Compatibility path:
|
|
17
16
|
* - capabilities/contacts.facade.ts — thin re-export via contacts/public
|
|
18
17
|
*/
|
|
19
18
|
export * from "./public/index.js";
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* ContactServiceAdapter and an optional contactsEnabled flag that gates
|
|
6
6
|
* write-path tools (import_contacts, add_contact).
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This type is intentionally defined inline
|
|
9
|
-
* ToolRegistryCompositionDeps
|
|
10
|
-
*
|
|
11
|
-
* from shared/interfaces/contact.interface.ts, which after IND-549 forwards
|
|
12
|
-
* to contacts/ports — creating a cycle back here.
|
|
8
|
+
* NOTE: This type is intentionally defined inline rather than derived from
|
|
9
|
+
* ToolRegistryCompositionDeps, keeping the capability port independent from
|
|
10
|
+
* the all-capability composition contract.
|
|
13
11
|
*
|
|
14
12
|
* Its shape remains structurally equivalent to the matching
|
|
15
13
|
* ToolRegistryCompositionDeps fields.
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* ContactServiceAdapter and an optional contactsEnabled flag that gates
|
|
6
6
|
* write-path tools (import_contacts, add_contact).
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This type is intentionally defined inline
|
|
9
|
-
* ToolRegistryCompositionDeps
|
|
10
|
-
*
|
|
11
|
-
* from shared/interfaces/contact.interface.ts, which after IND-549 forwards
|
|
12
|
-
* to contacts/ports — creating a cycle back here.
|
|
8
|
+
* NOTE: This type is intentionally defined inline rather than derived from
|
|
9
|
+
* ToolRegistryCompositionDeps, keeping the capability port independent from
|
|
10
|
+
* the all-capability composition contract.
|
|
13
11
|
*
|
|
14
12
|
* Its shape remains structurally equivalent to the matching
|
|
15
13
|
* ToolRegistryCompositionDeps fields.
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
* - ContactToolDeps — host capabilities for contact management tools.
|
|
15
15
|
*
|
|
16
16
|
* IND-549: canonical ports surface for the contacts capability.
|
|
17
|
-
* Legacy path:
|
|
18
|
-
* - shared/interfaces/contact.interface.ts → re-exports types from here
|
|
19
17
|
*/
|
|
20
18
|
export type { ContactServiceAdapter } from "./contact.repository.port.js";
|
|
21
19
|
export type { ContactToolDeps } from "./contact.tools.port.js";
|
|
@@ -56,7 +56,7 @@ export declare class EnrichmentGraphFactory {
|
|
|
56
56
|
constructor(database: EnrichmentGraphDatabase, scraper: Scraper, enricher?: ProfileEnricher | undefined, questionerEnqueue?: QuestionerEnqueueFn | undefined, premiseGraph?: CompiledPremiseGraph | undefined);
|
|
57
57
|
createGraph(): import("@langchain/langgraph").CompiledStateGraph<{
|
|
58
58
|
userId: string;
|
|
59
|
-
operationMode: "query" | "
|
|
59
|
+
operationMode: "query" | "write" | "generate";
|
|
60
60
|
forceUpdate: boolean;
|
|
61
61
|
objective: string | undefined;
|
|
62
62
|
input: string | undefined;
|
|
@@ -93,7 +93,7 @@ export declare class EnrichmentGraphFactory {
|
|
|
93
93
|
} | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
userId?: string | undefined;
|
|
96
|
-
operationMode?: "query" | "
|
|
96
|
+
operationMode?: "query" | "write" | "generate" | import("@langchain/langgraph").OverwriteValue<"query" | "write" | "generate"> | undefined;
|
|
97
97
|
forceUpdate?: boolean | import("@langchain/langgraph").OverwriteValue<boolean> | undefined;
|
|
98
98
|
objective?: string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined;
|
|
99
99
|
input?: string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined;
|
|
@@ -156,7 +156,7 @@ export declare class EnrichmentGraphFactory {
|
|
|
156
156
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
157
157
|
Root: <S extends import("@langchain/langgraph").StateDefinition>(sd: S) => import("@langchain/langgraph").AnnotationRoot<S>;
|
|
158
158
|
};
|
|
159
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "
|
|
159
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "write" | "generate", "query" | "write" | "generate" | import("@langchain/langgraph").OverwriteValue<"query" | "write" | "generate">, unknown>;
|
|
160
160
|
forceUpdate: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
|
|
161
161
|
objective: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
162
162
|
input: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
@@ -241,7 +241,7 @@ export declare class EnrichmentGraphFactory {
|
|
|
241
241
|
(): import("@langchain/langgraph").LastValue<string>;
|
|
242
242
|
Root: <S extends import("@langchain/langgraph").StateDefinition>(sd: S) => import("@langchain/langgraph").AnnotationRoot<S>;
|
|
243
243
|
};
|
|
244
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "
|
|
244
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "write" | "generate", "query" | "write" | "generate" | import("@langchain/langgraph").OverwriteValue<"query" | "write" | "generate">, unknown>;
|
|
245
245
|
forceUpdate: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
|
|
246
246
|
objective: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
247
247
|
input: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
@@ -18,7 +18,7 @@ export declare const EnrichmentGraphState: import("@langchain/langgraph").Annota
|
|
|
18
18
|
* - 'generate': Auto-enrich from user table data via enrichUserProfile Chat API,
|
|
19
19
|
* then decompose the enrichment into premises
|
|
20
20
|
*/
|
|
21
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "
|
|
21
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"query" | "write" | "generate", "query" | "write" | "generate" | import("@langchain/langgraph").OverwriteValue<"query" | "write" | "generate">, unknown>;
|
|
22
22
|
/**
|
|
23
23
|
* Flag to force profile regeneration even if profile exists.
|
|
24
24
|
* When true with new input, the graph will re-generate and update the profile.
|
package/dist/index.d.ts
CHANGED
|
@@ -10,23 +10,22 @@ export { getToolTimeoutPolicy, invokeToolRuntime, toolRuntimeErrorToResult } fro
|
|
|
10
10
|
export type { McpAuthResolver } from "./shared/interfaces/auth.interface.js";
|
|
11
11
|
export type { Cache, CacheOptions, HydeCache, OpportunityCache } from "./shared/interfaces/cache.interface.js";
|
|
12
12
|
export type { ChatSummaryReader } from "./shared/interfaces/chat-summary.interface.js";
|
|
13
|
-
export type { QuestionGeneratorReader } from "./
|
|
14
|
-
export type { QuestionerDatabase, PersistableQuestion, PersistedQuestion, QuestionFilters, ChatQuestionsHost } from "./shared/interfaces/questioner.interface.js";
|
|
13
|
+
export type { QuestionGeneratorReader, QuestionerDatabase, PersistableQuestion, PersistedQuestion, QuestionFilters, ChatQuestionsHost } from "./capabilities/questions.facade.js";
|
|
15
14
|
export type { NegotiationSummaryReader } from "./shared/interfaces/negotiation-summary.interface.js";
|
|
16
15
|
export type { DiscoveryNegotiationDigest } from "./shared/schemas/negotiation-digest.schema.js";
|
|
17
16
|
export { NegotiationSummarizer } from "./capabilities/negotiation.facade.js";
|
|
18
|
-
export type { ContactServiceAdapter } from "./
|
|
17
|
+
export type { ContactServiceAdapter } from "./capabilities/contacts.facade.js";
|
|
19
18
|
export type { ChatGraphCompositeDatabase, UserDatabase, AgentActivitySummary, SystemDatabase, OpportunityGraphDatabase, OpportunityControllerDatabase, OutcomeOutbox, RadarGraphDatabase, IntentGraphDatabase, HydeGraphDatabase, EnrichmentGraphDatabase, PremiseGraphDatabase, NegotiationGraphDatabase, NegotiationOpportunityLifecycle, NegotiationContinuationExecution, NegotiationContinuationReceipt, Opportunity, OpportunityActor, OpportunityStatus, AssignmentNetworkMembership, IntentNetworkFinalAssignmentResult, CreateOpportunityData, } from "./shared/interfaces/database.interface.js";
|
|
20
19
|
export type { Embedder, VectorStoreOption, VectorSearchResult, HydeCandidate, HydeSearchOptions, LensEmbedding } from "./shared/interfaces/embedder.interface.js";
|
|
21
|
-
export type { IntegrationAdapter, IntegrationConnection, IntegrationSession, IntegrationSessionOptions, ToolActionResponse } from "./
|
|
20
|
+
export type { IntegrationAdapter, IntegrationConnection, IntegrationSession, IntegrationSessionOptions, ToolActionResponse } from "./capabilities/integrations.facade.js";
|
|
22
21
|
export type { IntentGraphQueue } from "./shared/interfaces/queue.interface.js";
|
|
23
22
|
export type { Scraper } from "./shared/interfaces/scraper.interface.js";
|
|
24
23
|
export type { EnrichmentRunInput, EnrichmentRunRecord } from "./shared/interfaces/enrichment-run.interface.js";
|
|
25
24
|
export type { NegotiationTimeoutQueue, AskUserExpiryPayload } from "./shared/interfaces/negotiation-events.interface.js";
|
|
26
25
|
export type { AgentDispatcher, AgentDispatchResult, NegotiationTurnPayload } from "./shared/interfaces/agent-dispatcher.interface.js";
|
|
27
|
-
export { SYSTEM_AGENT_IDS } from './
|
|
26
|
+
export { SYSTEM_AGENT_IDS } from './capabilities/participant-agents.facade.js';
|
|
28
27
|
export { ChatContextDigestSchema, type ChatContextDigest } from "./shared/schemas/chat-context.schema.js";
|
|
29
|
-
export { type Question, type UnderspecificationType, type QuestionStrategy, type QuestionGenerationResult, type QuestionPurpose, type NegotiationQuestionPurpose, type NegotiationQuestionCandidate, type NegotiationQuestionProvenance, NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, type QuestionPoolPush, type QuestionRecoverySnapshot, type QuestionVoidedReason, type QuestionPoolPushRequestStatus, type QuestionPoolPushRequestReason, } from "./
|
|
28
|
+
export { type Question, type UnderspecificationType, type QuestionStrategy, type QuestionGenerationResult, type QuestionPurpose, type NegotiationQuestionPurpose, type NegotiationQuestionCandidate, type NegotiationQuestionProvenance, NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, type QuestionPoolPush, type QuestionRecoverySnapshot, type QuestionVoidedReason, type QuestionPoolPushRequestStatus, type QuestionPoolPushRequestReason, } from "./capabilities/questions.facade.js";
|
|
30
29
|
export type { PendingQuestionSummary } from "./shared/schemas/pending-question.schema.js";
|
|
31
30
|
export { McpAuthInputSchema, McpApiKeyMetadataSchema, McpResolvedIdentitySchema, } from "./shared/schemas/mcp-auth.schema.js";
|
|
32
31
|
export type { McpAuthInput, McpApiKeyMetadata, McpResolvedIdentity, } from "./shared/schemas/mcp-auth.schema.js";
|
|
@@ -97,7 +96,7 @@ export { buildPoolAdjustment, planPoolAdjustments, mergePoolAdjustment } from ".
|
|
|
97
96
|
export type { PoolAdjustment, PoolAdjustmentSignal } from "./capabilities/opportunities.facade.js";
|
|
98
97
|
export { synthesizePoolQuestion, selectQuestionDiscriminators, toQuestionDiscriminator, BOTH_MATTER_LABEL } from "./capabilities/opportunities.facade.js";
|
|
99
98
|
export { poolQuestionCycleKey, buildPoolQuestionPushMessage } from "./capabilities/opportunities.facade.js";
|
|
100
|
-
export type { QuestionPoolDiscriminator, QuestionPoolSnapshot } from "./
|
|
99
|
+
export type { QuestionPoolDiscriminator, QuestionPoolSnapshot } from "./capabilities/questions.facade.js";
|
|
101
100
|
export type { PoolCandidate, DiscriminatorMiningInput, MinedDiscriminator } from "./capabilities/opportunities.facade.js";
|
|
102
101
|
export { negotiationEvidenceQuestionsMode, NEGOTIATION_EVIDENCE_MAX_OPPORTUNITIES } from "./capabilities/opportunities.facade.js";
|
|
103
102
|
export { NegotiationEvidenceMiner } from "./capabilities/opportunities.facade.js";
|
package/dist/index.js
CHANGED
|
@@ -21,10 +21,10 @@ export { setLoggerFactory } from "./shared/observability/log.js";
|
|
|
21
21
|
export { setTimingWrapper } from "./shared/observability/performance.js";
|
|
22
22
|
export { getToolTimeoutPolicy, invokeToolRuntime, toolRuntimeErrorToResult } from "./shared/agent/tool.runtime.js";
|
|
23
23
|
export { NegotiationSummarizer } from "./capabilities/negotiation.facade.js";
|
|
24
|
-
export { SYSTEM_AGENT_IDS } from './
|
|
24
|
+
export { SYSTEM_AGENT_IDS } from './capabilities/participant-agents.facade.js';
|
|
25
25
|
// ─── Shared schemas ───────────────────────────────────────────────────────────
|
|
26
26
|
export { ChatContextDigestSchema } from "./shared/schemas/chat-context.schema.js";
|
|
27
|
-
export { NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, } from "./
|
|
27
|
+
export { NegotiationQuestionCandidateSchema, NegotiationQuestionProvenanceSchema, } from "./capabilities/questions.facade.js";
|
|
28
28
|
export { McpAuthInputSchema, McpApiKeyMetadataSchema, McpResolvedIdentitySchema, } from "./shared/schemas/mcp-auth.schema.js";
|
|
29
29
|
export { DEFAULT_NETWORK_ASSIGNMENT_THRESHOLD, resolveAssignmentNetworkScope, buildNetworkAssignmentDecision } from "./shared/assignment/network-assignment.policy.js";
|
|
30
30
|
export { buildCandidateEvidence } from "./capabilities/opportunities.facade.js";
|
|
@@ -12,7 +12,5 @@
|
|
|
12
12
|
* - createIntegrationTools: application layer — lives in integrations/application.
|
|
13
13
|
*
|
|
14
14
|
* IND-549: canonical domain layer for the integrations capability.
|
|
15
|
-
* Legacy path (shared/interfaces/integration.interface.ts) is a thin
|
|
16
|
-
* compatibility shim.
|
|
17
15
|
*/
|
|
18
16
|
export type { IntegrationSession, IntegrationSessionOptions, ToolActionResponse, IntegrationConnection, } from "./integration.types.js";
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
* No application logic, no LLM calls, no cross-capability imports.
|
|
6
6
|
*
|
|
7
7
|
* IND-549: canonical domain layer for the integrations capability.
|
|
8
|
-
* Legacy path (shared/interfaces/integration.interface.ts) is a thin
|
|
9
|
-
* compatibility shim pointing here.
|
|
10
8
|
*/
|
|
11
9
|
/**
|
|
12
10
|
* Session for interacting with an external integration platform.
|
|
@@ -5,7 +5,5 @@
|
|
|
5
5
|
* No application logic, no LLM calls, no cross-capability imports.
|
|
6
6
|
*
|
|
7
7
|
* IND-549: canonical domain layer for the integrations capability.
|
|
8
|
-
* Legacy path (shared/interfaces/integration.interface.ts) is a thin
|
|
9
|
-
* compatibility shim pointing here.
|
|
10
8
|
*/
|
|
11
9
|
export {};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* Allowed outbound capability dependencies: none (empty set). The integrations
|
|
17
17
|
* module is a leaf capability that only depends on shared/ primitives.
|
|
18
18
|
*
|
|
19
|
-
* Compatibility
|
|
20
|
-
* - shared/interfaces/integration.interface.ts — thin compatibility shim → integrations/ports
|
|
19
|
+
* Compatibility path:
|
|
21
20
|
* - capabilities/integrations.facade.ts — thin re-export via integrations/public
|
|
22
21
|
*/
|
|
23
22
|
export * from "./public/index.js";
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* Allowed outbound capability dependencies: none (empty set). The integrations
|
|
17
17
|
* module is a leaf capability that only depends on shared/ primitives.
|
|
18
18
|
*
|
|
19
|
-
* Compatibility
|
|
20
|
-
* - shared/interfaces/integration.interface.ts — thin compatibility shim → integrations/ports
|
|
19
|
+
* Compatibility path:
|
|
21
20
|
* - capabilities/integrations.facade.ts — thin re-export via integrations/public
|
|
22
21
|
*/
|
|
23
22
|
export * from "./public/index.js";
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
* - IntegrationToolDeps — host capabilities for integration-backed tools.
|
|
20
20
|
*
|
|
21
21
|
* IND-549: canonical ports surface for the integrations capability.
|
|
22
|
-
* Legacy path:
|
|
23
|
-
* - shared/interfaces/integration.interface.ts → re-exports types from here
|
|
24
22
|
*/
|
|
25
23
|
export type { IntegrationAdapter } from "./integration.adapter.port.js";
|
|
26
24
|
export type { IntegrationImporter, IntegrationImportResult } from "./integration.importer.port.js";
|
|
@@ -19,7 +19,5 @@
|
|
|
19
19
|
* - IntegrationToolDeps — host capabilities for integration-backed tools.
|
|
20
20
|
*
|
|
21
21
|
* IND-549: canonical ports surface for the integrations capability.
|
|
22
|
-
* Legacy path:
|
|
23
|
-
* - shared/interfaces/integration.interface.ts → re-exports types from here
|
|
24
22
|
*/
|
|
25
23
|
export {};
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* IntegrationAdapter, an IntegrationImporter, and the contactsEnabled flag
|
|
6
6
|
* that gates the import_gmail_contacts tool (which creates ghost users).
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This type is intentionally defined inline
|
|
9
|
-
* ToolRegistryCompositionDeps
|
|
10
|
-
*
|
|
11
|
-
* shared/interfaces/integration.interface.ts, which after IND-549 forwards
|
|
12
|
-
* to integrations/ports — creating a cycle back here.
|
|
8
|
+
* NOTE: This type is intentionally defined inline rather than derived from
|
|
9
|
+
* ToolRegistryCompositionDeps, keeping the capability port independent from
|
|
10
|
+
* the all-capability composition contract.
|
|
13
11
|
*
|
|
14
12
|
* Its shape remains structurally equivalent to the matching
|
|
15
13
|
* ToolRegistryCompositionDeps fields.
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* IntegrationAdapter, an IntegrationImporter, and the contactsEnabled flag
|
|
6
6
|
* that gates the import_gmail_contacts tool (which creates ghost users).
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This type is intentionally defined inline
|
|
9
|
-
* ToolRegistryCompositionDeps
|
|
10
|
-
*
|
|
11
|
-
* shared/interfaces/integration.interface.ts, which after IND-549 forwards
|
|
12
|
-
* to integrations/ports — creating a cycle back here.
|
|
8
|
+
* NOTE: This type is intentionally defined inline rather than derived from
|
|
9
|
+
* ToolRegistryCompositionDeps, keeping the capability port independent from
|
|
10
|
+
* the all-capability composition contract.
|
|
13
11
|
*
|
|
14
12
|
* Its shape remains structurally equivalent to the matching
|
|
15
13
|
* ToolRegistryCompositionDeps fields.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Question } from "../
|
|
1
|
+
import type { Question } from "../questions/domain/question.schema.js";
|
|
2
2
|
import type { ChatMessageWriter } from "../shared/interfaces/chat-message-writer.interface.js";
|
|
3
3
|
import { buildElicitationCreate } from "./elicitation.builder.js";
|
|
4
4
|
export type ElicitResultLike = {
|
|
@@ -141,7 +141,7 @@ export declare class OpportunityGraphFactory {
|
|
|
141
141
|
targetUserId: Id<"users"> | undefined;
|
|
142
142
|
onBehalfOfUserId: Id<"users"> | undefined;
|
|
143
143
|
options: import("../domain/opportunity.state.js").OpportunityGraphOptions;
|
|
144
|
-
operationMode: "delete" | "send" | "update" | "create" | "
|
|
144
|
+
operationMode: "delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction";
|
|
145
145
|
introductionEntities: EvaluatorEntity[];
|
|
146
146
|
introductionHint: string | undefined;
|
|
147
147
|
requiredNetworkId: Id<"networks"> | undefined;
|
|
@@ -250,7 +250,7 @@ export declare class OpportunityGraphFactory {
|
|
|
250
250
|
targetUserId?: Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined;
|
|
251
251
|
onBehalfOfUserId?: Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined;
|
|
252
252
|
options?: import("../domain/opportunity.state.js").OpportunityGraphOptions | import("@langchain/langgraph").OverwriteValue<import("../domain/opportunity.state.js").OpportunityGraphOptions> | undefined;
|
|
253
|
-
operationMode?: "delete" | "send" | "update" | "create" | "
|
|
253
|
+
operationMode?: "delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction" | import("@langchain/langgraph").OverwriteValue<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction"> | undefined;
|
|
254
254
|
introductionEntities?: EvaluatorEntity[] | import("@langchain/langgraph").OverwriteValue<EvaluatorEntity[]> | undefined;
|
|
255
255
|
introductionHint?: string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined;
|
|
256
256
|
requiredNetworkId?: Id<"networks"> | import("@langchain/langgraph").OverwriteValue<Id<"networks"> | undefined> | undefined;
|
|
@@ -414,7 +414,7 @@ export declare class OpportunityGraphFactory {
|
|
|
414
414
|
seedAssessmentScore?: number | undefined;
|
|
415
415
|
}[]> | undefined;
|
|
416
416
|
discoverySummary?: import("../../index.js").DiscoverySummary | import("@langchain/langgraph").OverwriteValue<import("../../index.js").DiscoverySummary | null> | null | undefined;
|
|
417
|
-
}, "scope" | "discovery" | "send" | "update" | "__start__" | "read" | "
|
|
417
|
+
}, "scope" | "discovery" | "send" | "update" | "__start__" | "read" | "prep" | "negotiate_existing" | "approve_introduction" | "persist" | "resolve" | "evaluation" | "ranking" | "intro_validation" | "intro_evaluation" | "delete_opp" | "negotiate", {
|
|
418
418
|
userId: import("@langchain/langgraph").BaseChannel<Id<"users">, Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users">>, unknown>;
|
|
419
419
|
searchQuery: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
420
420
|
networkId: import("@langchain/langgraph").BaseChannel<Id<"networks"> | undefined, Id<"networks"> | import("@langchain/langgraph").OverwriteValue<Id<"networks"> | undefined> | undefined, unknown>;
|
|
@@ -423,7 +423,7 @@ export declare class OpportunityGraphFactory {
|
|
|
423
423
|
targetUserId: import("@langchain/langgraph").BaseChannel<Id<"users"> | undefined, Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined, unknown>;
|
|
424
424
|
onBehalfOfUserId: import("@langchain/langgraph").BaseChannel<Id<"users"> | undefined, Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined, unknown>;
|
|
425
425
|
options: import("@langchain/langgraph").BaseChannel<import("../domain/opportunity.state.js").OpportunityGraphOptions, import("../domain/opportunity.state.js").OpportunityGraphOptions | import("@langchain/langgraph").OverwriteValue<import("../domain/opportunity.state.js").OpportunityGraphOptions>, unknown>;
|
|
426
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "
|
|
426
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction", "delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction" | import("@langchain/langgraph").OverwriteValue<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction">, unknown>;
|
|
427
427
|
introductionEntities: import("@langchain/langgraph").BaseChannel<EvaluatorEntity[], EvaluatorEntity[] | import("@langchain/langgraph").OverwriteValue<EvaluatorEntity[]>, unknown>;
|
|
428
428
|
introductionHint: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
429
429
|
requiredNetworkId: import("@langchain/langgraph").BaseChannel<Id<"networks"> | undefined, Id<"networks"> | import("@langchain/langgraph").OverwriteValue<Id<"networks"> | undefined> | undefined, unknown>;
|
|
@@ -660,7 +660,7 @@ export declare class OpportunityGraphFactory {
|
|
|
660
660
|
targetUserId: import("@langchain/langgraph").BaseChannel<Id<"users"> | undefined, Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined, unknown>;
|
|
661
661
|
onBehalfOfUserId: import("@langchain/langgraph").BaseChannel<Id<"users"> | undefined, Id<"users"> | import("@langchain/langgraph").OverwriteValue<Id<"users"> | undefined> | undefined, unknown>;
|
|
662
662
|
options: import("@langchain/langgraph").BaseChannel<import("../domain/opportunity.state.js").OpportunityGraphOptions, import("../domain/opportunity.state.js").OpportunityGraphOptions | import("@langchain/langgraph").OverwriteValue<import("../domain/opportunity.state.js").OpportunityGraphOptions>, unknown>;
|
|
663
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "
|
|
663
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction", "delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction" | import("@langchain/langgraph").OverwriteValue<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction">, unknown>;
|
|
664
664
|
introductionEntities: import("@langchain/langgraph").BaseChannel<EvaluatorEntity[], EvaluatorEntity[] | import("@langchain/langgraph").OverwriteValue<EvaluatorEntity[]>, unknown>;
|
|
665
665
|
introductionHint: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
666
666
|
requiredNetworkId: import("@langchain/langgraph").BaseChannel<Id<"networks"> | undefined, Id<"networks"> | import("@langchain/langgraph").OverwriteValue<Id<"networks"> | undefined> | undefined, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { QuestionPoolDiscriminator } from "../../
|
|
1
|
+
import type { QuestionPoolDiscriminator } from "../../questions/domain/question.schema.js";
|
|
2
2
|
/** Recipient and intent provenance that scopes one pool preference. */
|
|
3
3
|
export interface PoolAdjustmentProvenance {
|
|
4
4
|
recipientUserId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { QuestionPoolSnapshot } from "../../
|
|
1
|
+
import type { QuestionPoolSnapshot } from "../../questions/domain/question.schema.js";
|
|
2
2
|
/** Maximum raw intent-title characters included in a proactive DM line. */
|
|
3
3
|
export declare const POOL_QUESTION_PUSH_TITLE_MAX_CHARS = 80;
|
|
4
4
|
/** Stable identity for one pool refresh cycle. Chained alternates retain it. */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* produced (and evidence-verified) at mining time, so synthesis is pure,
|
|
9
9
|
* auditable, and cheap to re-run for interview-mode chaining.
|
|
10
10
|
*/
|
|
11
|
-
import type { Question, QuestionPoolDiscriminator, QuestionPoolSnapshot } from "../../
|
|
11
|
+
import type { Question, QuestionPoolDiscriminator, QuestionPoolSnapshot } from "../../questions/domain/question.schema.js";
|
|
12
12
|
import type { ScoredDiscriminator } from "./discriminator.types.js";
|
|
13
13
|
/** Fixed option appended to every pool question — the no-preference escape. */
|
|
14
14
|
export declare const BOTH_MATTER_LABEL = "Both matter";
|
|
@@ -176,7 +176,7 @@ export declare const OpportunityGraphState: import("@langchain/langgraph").Annot
|
|
|
176
176
|
*
|
|
177
177
|
* Defaults to 'create' for backward compatibility.
|
|
178
178
|
*/
|
|
179
|
-
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "
|
|
179
|
+
operationMode: import("@langchain/langgraph").BaseChannel<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction", "delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction" | import("@langchain/langgraph").OverwriteValue<"delete" | "send" | "update" | "create" | "read" | "create_introduction" | "continue_discovery" | "negotiate_existing" | "approve_introduction">, unknown>;
|
|
180
180
|
/** Introduction mode: pre-gathered entities (profiles + intents per party). */
|
|
181
181
|
introductionEntities: import("@langchain/langgraph").BaseChannel<EvaluatorEntity[], EvaluatorEntity[] | import("@langchain/langgraph").OverwriteValue<EvaluatorEntity[]>, unknown>;
|
|
182
182
|
/** Introduction mode: optional hint from the introducer. */
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* - createAgentTools: application layer — lives in participant-agents/application.
|
|
15
15
|
*
|
|
16
16
|
* IND-548: canonical domain layer for the participant-agents capability.
|
|
17
|
-
* Legacy path (shared/interfaces/agent.interface.ts) is a thin compatibility shim.
|
|
18
17
|
*/
|
|
19
18
|
export type { AgentRecord, AgentTransportRecord, AgentPermissionRecord, AgentWithRelations, CreateAgentInput, CreateTransportInput, GrantPermissionInput, } from "./agent.types.js";
|
|
20
19
|
export { SYSTEM_AGENT_IDS } from "./agent.types.js";
|
|
@@ -8,13 +8,9 @@
|
|
|
8
8
|
* that must go through the participant-agents public surface.
|
|
9
9
|
*
|
|
10
10
|
* IND-548: canonical home for agent registration, permission-aware behaviour,
|
|
11
|
-
* and dispatch contracts
|
|
12
|
-
* shared/interfaces/agent.interface.ts, and
|
|
13
|
-
* shared/interfaces/agent-dispatcher.interface.ts.
|
|
11
|
+
* and dispatch contracts.
|
|
14
12
|
*
|
|
15
|
-
* Compatibility
|
|
16
|
-
* - shared/interfaces/agent.interface.ts — re-exports from participant-agents/domain
|
|
17
|
-
* and participant-agents/ports
|
|
13
|
+
* Compatibility path:
|
|
18
14
|
* - shared/interfaces/agent-dispatcher.interface.ts — re-exports from
|
|
19
15
|
* participant-agents/ports
|
|
20
16
|
*/
|
|
@@ -8,13 +8,9 @@
|
|
|
8
8
|
* that must go through the participant-agents public surface.
|
|
9
9
|
*
|
|
10
10
|
* IND-548: canonical home for agent registration, permission-aware behaviour,
|
|
11
|
-
* and dispatch contracts
|
|
12
|
-
* shared/interfaces/agent.interface.ts, and
|
|
13
|
-
* shared/interfaces/agent-dispatcher.interface.ts.
|
|
11
|
+
* and dispatch contracts.
|
|
14
12
|
*
|
|
15
|
-
* Compatibility
|
|
16
|
-
* - shared/interfaces/agent.interface.ts — re-exports from participant-agents/domain
|
|
17
|
-
* and participant-agents/ports
|
|
13
|
+
* Compatibility path:
|
|
18
14
|
* - shared/interfaces/agent-dispatcher.interface.ts — re-exports from
|
|
19
15
|
* participant-agents/ports
|
|
20
16
|
*/
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* optional AgentDatabase so agent registration tools are compiled only
|
|
6
6
|
* when the database adapter is wired at the composition root.
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This type is intentionally defined inline
|
|
9
|
-
* ToolRegistryCompositionDeps
|
|
10
|
-
*
|
|
11
|
-
* shared/interfaces/agent.interface.ts, which after IND-548 forwards to
|
|
12
|
-
* participant-agents/ports — creating a cycle back here.
|
|
8
|
+
* NOTE: This type is intentionally defined inline rather than derived from
|
|
9
|
+
* ToolRegistryCompositionDeps, keeping the capability port independent from
|
|
10
|
+
* the all-capability composition contract.
|
|
13
11
|
*
|
|
14
12
|
* Structural equivalence with ToolRegistryCompositionDeps.agentDatabase is
|
|
15
13
|
* preserved: both have type `AgentDatabase | undefined`.
|