@indexnetwork/protocol 4.18.0-rc.364.1 → 5.0.0
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/dist/chat/negotiator.tools.d.ts +0 -2
- package/dist/chat/negotiator.tools.d.ts.map +1 -1
- package/dist/chat/negotiator.tools.js +0 -2
- package/dist/chat/negotiator.tools.js.map +1 -1
- package/dist/index.d.ts +6 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/dist/mcp/mcp.server.d.ts +0 -9
- package/dist/mcp/mcp.server.d.ts.map +1 -1
- package/dist/mcp/mcp.server.js +0 -9
- package/dist/mcp/mcp.server.js.map +1 -1
- package/dist/negotiation/negotiation.graph.d.ts +0 -491
- package/dist/negotiation/negotiation.graph.d.ts.map +1 -1
- package/dist/negotiation/negotiation.graph.js +0 -7
- package/dist/negotiation/negotiation.graph.js.map +1 -1
- package/dist/opportunity/discriminator/discriminator.adjustments.d.ts +0 -2
- package/dist/opportunity/discriminator/discriminator.adjustments.d.ts.map +1 -1
- package/dist/opportunity/discriminator/discriminator.adjustments.js +0 -7
- package/dist/opportunity/discriminator/discriminator.adjustments.js.map +1 -1
- package/dist/opportunity/discriminator/discriminator.env.d.ts +0 -7
- package/dist/opportunity/discriminator/discriminator.env.d.ts.map +1 -1
- package/dist/opportunity/discriminator/discriminator.env.js +0 -7
- package/dist/opportunity/discriminator/discriminator.env.js.map +1 -1
- package/dist/opportunity/discriminator/discriminator.push.d.ts +0 -2
- package/dist/opportunity/discriminator/discriminator.push.d.ts.map +1 -1
- package/dist/opportunity/discriminator/discriminator.push.js +0 -6
- package/dist/opportunity/discriminator/discriminator.push.js.map +1 -1
- package/package.json +1 -1
- package/dist/shared/agent/response.streamer.d.ts +0 -36
- package/dist/shared/agent/response.streamer.d.ts.map +0 -1
- package/dist/shared/agent/response.streamer.js +0 -46
- package/dist/shared/agent/response.streamer.js.map +0 -1
- package/dist/shared/interfaces/storage.interface.d.ts +0 -46
- package/dist/shared/interfaces/storage.interface.d.ts.map +0 -1
- package/dist/shared/interfaces/storage.interface.js +0 -6
- package/dist/shared/interfaces/storage.interface.js.map +0 -1
|
@@ -566,495 +566,4 @@ export declare function negotiateCandidates(negotiationGraph: NegotiationGraphLi
|
|
|
566
566
|
*/
|
|
567
567
|
initiatorUserId?: string;
|
|
568
568
|
}): Promise<NegotiationResult[]>;
|
|
569
|
-
/**
|
|
570
|
-
* Creates a negotiation graph with the provided dependencies.
|
|
571
|
-
*/
|
|
572
|
-
export declare function createDefaultNegotiationGraph(deps: {
|
|
573
|
-
database: NegotiationGraphDatabase;
|
|
574
|
-
dispatcher: AgentDispatcher;
|
|
575
|
-
timeoutQueue?: NegotiationTimeoutQueue;
|
|
576
|
-
}): import("@langchain/langgraph").CompiledStateGraph<{
|
|
577
|
-
sourceUser: UserNegotiationContext;
|
|
578
|
-
candidateUser: UserNegotiationContext;
|
|
579
|
-
indexContext: {
|
|
580
|
-
networkId: string;
|
|
581
|
-
prompt: string;
|
|
582
|
-
};
|
|
583
|
-
seedAssessment: SeedAssessment;
|
|
584
|
-
initiatorUserId: string | undefined;
|
|
585
|
-
discoveryQuery: string | undefined;
|
|
586
|
-
protocolVersion: NegotiationProtocolVersion;
|
|
587
|
-
screenDecision: ScreenDecisionRecord | null;
|
|
588
|
-
memoryBySide: Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>;
|
|
589
|
-
isContinuation: boolean;
|
|
590
|
-
opportunityId: string;
|
|
591
|
-
conversationId: string;
|
|
592
|
-
taskId: string;
|
|
593
|
-
messages: import("./negotiation.state.js").NegotiationMessage[];
|
|
594
|
-
turnCount: number;
|
|
595
|
-
maxTurns: number | undefined;
|
|
596
|
-
timeoutMs: number;
|
|
597
|
-
currentSpeaker: "source" | "candidate";
|
|
598
|
-
lastTurn: {
|
|
599
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
600
|
-
assessment: {
|
|
601
|
-
reasoning: string;
|
|
602
|
-
suggestedRoles: {
|
|
603
|
-
ownUser: "agent" | "patient" | "peer";
|
|
604
|
-
otherUser: "agent" | "patient" | "peer";
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
message?: string | null | undefined;
|
|
608
|
-
askUser?: {
|
|
609
|
-
disclosureSubject: string;
|
|
610
|
-
draftQuestion?: string | null | undefined;
|
|
611
|
-
} | null | undefined;
|
|
612
|
-
} | null;
|
|
613
|
-
status: "completed" | "waiting_for_agent" | "active" | "input_required";
|
|
614
|
-
priorTurnCount: number;
|
|
615
|
-
userAnswers: import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[];
|
|
616
|
-
outcome: {
|
|
617
|
-
reasoning: string;
|
|
618
|
-
turnCount: number;
|
|
619
|
-
agreedRoles: {
|
|
620
|
-
userId: string;
|
|
621
|
-
role: "agent" | "patient" | "peer";
|
|
622
|
-
}[];
|
|
623
|
-
hasOpportunity: boolean;
|
|
624
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
625
|
-
} | null;
|
|
626
|
-
error: string | null;
|
|
627
|
-
}, {
|
|
628
|
-
sourceUser?: UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext> | undefined;
|
|
629
|
-
candidateUser?: UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext> | undefined;
|
|
630
|
-
indexContext?: {
|
|
631
|
-
networkId: string;
|
|
632
|
-
prompt: string;
|
|
633
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
634
|
-
networkId: string;
|
|
635
|
-
prompt: string;
|
|
636
|
-
}> | undefined;
|
|
637
|
-
seedAssessment?: SeedAssessment | import("@langchain/langgraph").OverwriteValue<SeedAssessment> | undefined;
|
|
638
|
-
initiatorUserId?: string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined;
|
|
639
|
-
discoveryQuery?: string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined;
|
|
640
|
-
protocolVersion?: NegotiationProtocolVersion | import("@langchain/langgraph").OverwriteValue<NegotiationProtocolVersion> | undefined;
|
|
641
|
-
screenDecision?: ScreenDecisionRecord | import("@langchain/langgraph").OverwriteValue<ScreenDecisionRecord | null> | null | undefined;
|
|
642
|
-
memoryBySide?: Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>> | import("@langchain/langgraph").OverwriteValue<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>> | undefined;
|
|
643
|
-
isContinuation?: boolean | import("@langchain/langgraph").OverwriteValue<boolean> | undefined;
|
|
644
|
-
opportunityId?: string | import("@langchain/langgraph").OverwriteValue<string> | undefined;
|
|
645
|
-
conversationId?: string | import("@langchain/langgraph").OverwriteValue<string> | undefined;
|
|
646
|
-
taskId?: string | import("@langchain/langgraph").OverwriteValue<string> | undefined;
|
|
647
|
-
messages?: import("./negotiation.state.js").NegotiationMessage[] | import("@langchain/langgraph").OverwriteValue<import("./negotiation.state.js").NegotiationMessage[]> | undefined;
|
|
648
|
-
turnCount?: number | import("@langchain/langgraph").OverwriteValue<number> | undefined;
|
|
649
|
-
maxTurns?: number | import("@langchain/langgraph").OverwriteValue<number | undefined> | undefined;
|
|
650
|
-
timeoutMs?: number | import("@langchain/langgraph").OverwriteValue<number> | undefined;
|
|
651
|
-
currentSpeaker?: "source" | "candidate" | import("@langchain/langgraph").OverwriteValue<"source" | "candidate"> | undefined;
|
|
652
|
-
lastTurn?: {
|
|
653
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
654
|
-
assessment: {
|
|
655
|
-
reasoning: string;
|
|
656
|
-
suggestedRoles: {
|
|
657
|
-
ownUser: "agent" | "patient" | "peer";
|
|
658
|
-
otherUser: "agent" | "patient" | "peer";
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
message?: string | null | undefined;
|
|
662
|
-
askUser?: {
|
|
663
|
-
disclosureSubject: string;
|
|
664
|
-
draftQuestion?: string | null | undefined;
|
|
665
|
-
} | null | undefined;
|
|
666
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
667
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
668
|
-
assessment: {
|
|
669
|
-
reasoning: string;
|
|
670
|
-
suggestedRoles: {
|
|
671
|
-
ownUser: "agent" | "patient" | "peer";
|
|
672
|
-
otherUser: "agent" | "patient" | "peer";
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
|
-
message?: string | null | undefined;
|
|
676
|
-
askUser?: {
|
|
677
|
-
disclosureSubject: string;
|
|
678
|
-
draftQuestion?: string | null | undefined;
|
|
679
|
-
} | null | undefined;
|
|
680
|
-
} | null> | null | undefined;
|
|
681
|
-
status?: "completed" | "waiting_for_agent" | "active" | "input_required" | import("@langchain/langgraph").OverwriteValue<"completed" | "waiting_for_agent" | "active" | "input_required"> | undefined;
|
|
682
|
-
priorTurnCount?: number | import("@langchain/langgraph").OverwriteValue<number> | undefined;
|
|
683
|
-
userAnswers?: import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[] | import("@langchain/langgraph").OverwriteValue<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[]> | undefined;
|
|
684
|
-
outcome?: {
|
|
685
|
-
reasoning: string;
|
|
686
|
-
turnCount: number;
|
|
687
|
-
agreedRoles: {
|
|
688
|
-
userId: string;
|
|
689
|
-
role: "agent" | "patient" | "peer";
|
|
690
|
-
}[];
|
|
691
|
-
hasOpportunity: boolean;
|
|
692
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
693
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
694
|
-
reasoning: string;
|
|
695
|
-
turnCount: number;
|
|
696
|
-
agreedRoles: {
|
|
697
|
-
userId: string;
|
|
698
|
-
role: "agent" | "patient" | "peer";
|
|
699
|
-
}[];
|
|
700
|
-
hasOpportunity: boolean;
|
|
701
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
702
|
-
} | null> | null | undefined;
|
|
703
|
-
error?: string | import("@langchain/langgraph").OverwriteValue<string | null> | null | undefined;
|
|
704
|
-
}, "__start__" | "screen" | "turn" | "init" | "finalize", {
|
|
705
|
-
sourceUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
706
|
-
candidateUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
707
|
-
indexContext: import("@langchain/langgraph").BaseChannel<{
|
|
708
|
-
networkId: string;
|
|
709
|
-
prompt: string;
|
|
710
|
-
}, {
|
|
711
|
-
networkId: string;
|
|
712
|
-
prompt: string;
|
|
713
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
714
|
-
networkId: string;
|
|
715
|
-
prompt: string;
|
|
716
|
-
}>, unknown>;
|
|
717
|
-
seedAssessment: import("@langchain/langgraph").BaseChannel<SeedAssessment, SeedAssessment | import("@langchain/langgraph").OverwriteValue<SeedAssessment>, unknown>;
|
|
718
|
-
initiatorUserId: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
719
|
-
discoveryQuery: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
720
|
-
protocolVersion: import("@langchain/langgraph").BaseChannel<NegotiationProtocolVersion, NegotiationProtocolVersion | import("@langchain/langgraph").OverwriteValue<NegotiationProtocolVersion>, unknown>;
|
|
721
|
-
screenDecision: import("@langchain/langgraph").BaseChannel<ScreenDecisionRecord | null, ScreenDecisionRecord | import("@langchain/langgraph").OverwriteValue<ScreenDecisionRecord | null> | null, unknown>;
|
|
722
|
-
memoryBySide: import("@langchain/langgraph").BaseChannel<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>, Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>> | import("@langchain/langgraph").OverwriteValue<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>>, unknown>;
|
|
723
|
-
isContinuation: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
|
|
724
|
-
opportunityId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
725
|
-
conversationId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
726
|
-
taskId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
727
|
-
messages: import("@langchain/langgraph").BaseChannel<import("./negotiation.state.js").NegotiationMessage[], import("./negotiation.state.js").NegotiationMessage[] | import("@langchain/langgraph").OverwriteValue<import("./negotiation.state.js").NegotiationMessage[]>, unknown>;
|
|
728
|
-
turnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
729
|
-
maxTurns: import("@langchain/langgraph").BaseChannel<number | undefined, number | import("@langchain/langgraph").OverwriteValue<number | undefined> | undefined, unknown>;
|
|
730
|
-
timeoutMs: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
731
|
-
currentSpeaker: import("@langchain/langgraph").BaseChannel<"source" | "candidate", "source" | "candidate" | import("@langchain/langgraph").OverwriteValue<"source" | "candidate">, unknown>;
|
|
732
|
-
lastTurn: import("@langchain/langgraph").BaseChannel<{
|
|
733
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
734
|
-
assessment: {
|
|
735
|
-
reasoning: string;
|
|
736
|
-
suggestedRoles: {
|
|
737
|
-
ownUser: "agent" | "patient" | "peer";
|
|
738
|
-
otherUser: "agent" | "patient" | "peer";
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
message?: string | null | undefined;
|
|
742
|
-
askUser?: {
|
|
743
|
-
disclosureSubject: string;
|
|
744
|
-
draftQuestion?: string | null | undefined;
|
|
745
|
-
} | null | undefined;
|
|
746
|
-
} | null, {
|
|
747
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
748
|
-
assessment: {
|
|
749
|
-
reasoning: string;
|
|
750
|
-
suggestedRoles: {
|
|
751
|
-
ownUser: "agent" | "patient" | "peer";
|
|
752
|
-
otherUser: "agent" | "patient" | "peer";
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
message?: string | null | undefined;
|
|
756
|
-
askUser?: {
|
|
757
|
-
disclosureSubject: string;
|
|
758
|
-
draftQuestion?: string | null | undefined;
|
|
759
|
-
} | null | undefined;
|
|
760
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
761
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
762
|
-
assessment: {
|
|
763
|
-
reasoning: string;
|
|
764
|
-
suggestedRoles: {
|
|
765
|
-
ownUser: "agent" | "patient" | "peer";
|
|
766
|
-
otherUser: "agent" | "patient" | "peer";
|
|
767
|
-
};
|
|
768
|
-
};
|
|
769
|
-
message?: string | null | undefined;
|
|
770
|
-
askUser?: {
|
|
771
|
-
disclosureSubject: string;
|
|
772
|
-
draftQuestion?: string | null | undefined;
|
|
773
|
-
} | null | undefined;
|
|
774
|
-
} | null> | null, unknown>;
|
|
775
|
-
status: import("@langchain/langgraph").BaseChannel<"completed" | "waiting_for_agent" | "active" | "input_required", "completed" | "waiting_for_agent" | "active" | "input_required" | import("@langchain/langgraph").OverwriteValue<"completed" | "waiting_for_agent" | "active" | "input_required">, unknown>;
|
|
776
|
-
priorTurnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
777
|
-
userAnswers: import("@langchain/langgraph").BaseChannel<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[], import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[] | import("@langchain/langgraph").OverwriteValue<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[]>, unknown>;
|
|
778
|
-
outcome: import("@langchain/langgraph").BaseChannel<{
|
|
779
|
-
reasoning: string;
|
|
780
|
-
turnCount: number;
|
|
781
|
-
agreedRoles: {
|
|
782
|
-
userId: string;
|
|
783
|
-
role: "agent" | "patient" | "peer";
|
|
784
|
-
}[];
|
|
785
|
-
hasOpportunity: boolean;
|
|
786
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
787
|
-
} | null, {
|
|
788
|
-
reasoning: string;
|
|
789
|
-
turnCount: number;
|
|
790
|
-
agreedRoles: {
|
|
791
|
-
userId: string;
|
|
792
|
-
role: "agent" | "patient" | "peer";
|
|
793
|
-
}[];
|
|
794
|
-
hasOpportunity: boolean;
|
|
795
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
796
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
797
|
-
reasoning: string;
|
|
798
|
-
turnCount: number;
|
|
799
|
-
agreedRoles: {
|
|
800
|
-
userId: string;
|
|
801
|
-
role: "agent" | "patient" | "peer";
|
|
802
|
-
}[];
|
|
803
|
-
hasOpportunity: boolean;
|
|
804
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
805
|
-
} | null> | null, unknown>;
|
|
806
|
-
error: import("@langchain/langgraph").BaseChannel<string | null, string | import("@langchain/langgraph").OverwriteValue<string | null> | null, unknown>;
|
|
807
|
-
}, {
|
|
808
|
-
sourceUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
809
|
-
candidateUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
810
|
-
indexContext: import("@langchain/langgraph").BaseChannel<{
|
|
811
|
-
networkId: string;
|
|
812
|
-
prompt: string;
|
|
813
|
-
}, {
|
|
814
|
-
networkId: string;
|
|
815
|
-
prompt: string;
|
|
816
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
817
|
-
networkId: string;
|
|
818
|
-
prompt: string;
|
|
819
|
-
}>, unknown>;
|
|
820
|
-
seedAssessment: import("@langchain/langgraph").BaseChannel<SeedAssessment, SeedAssessment | import("@langchain/langgraph").OverwriteValue<SeedAssessment>, unknown>;
|
|
821
|
-
initiatorUserId: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
822
|
-
discoveryQuery: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
823
|
-
protocolVersion: import("@langchain/langgraph").BaseChannel<NegotiationProtocolVersion, NegotiationProtocolVersion | import("@langchain/langgraph").OverwriteValue<NegotiationProtocolVersion>, unknown>;
|
|
824
|
-
screenDecision: import("@langchain/langgraph").BaseChannel<ScreenDecisionRecord | null, ScreenDecisionRecord | import("@langchain/langgraph").OverwriteValue<ScreenDecisionRecord | null> | null, unknown>;
|
|
825
|
-
memoryBySide: import("@langchain/langgraph").BaseChannel<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>, Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>> | import("@langchain/langgraph").OverwriteValue<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>>, unknown>;
|
|
826
|
-
isContinuation: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
|
|
827
|
-
opportunityId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
828
|
-
conversationId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
829
|
-
taskId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
830
|
-
messages: import("@langchain/langgraph").BaseChannel<import("./negotiation.state.js").NegotiationMessage[], import("./negotiation.state.js").NegotiationMessage[] | import("@langchain/langgraph").OverwriteValue<import("./negotiation.state.js").NegotiationMessage[]>, unknown>;
|
|
831
|
-
turnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
832
|
-
maxTurns: import("@langchain/langgraph").BaseChannel<number | undefined, number | import("@langchain/langgraph").OverwriteValue<number | undefined> | undefined, unknown>;
|
|
833
|
-
timeoutMs: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
834
|
-
currentSpeaker: import("@langchain/langgraph").BaseChannel<"source" | "candidate", "source" | "candidate" | import("@langchain/langgraph").OverwriteValue<"source" | "candidate">, unknown>;
|
|
835
|
-
lastTurn: import("@langchain/langgraph").BaseChannel<{
|
|
836
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
837
|
-
assessment: {
|
|
838
|
-
reasoning: string;
|
|
839
|
-
suggestedRoles: {
|
|
840
|
-
ownUser: "agent" | "patient" | "peer";
|
|
841
|
-
otherUser: "agent" | "patient" | "peer";
|
|
842
|
-
};
|
|
843
|
-
};
|
|
844
|
-
message?: string | null | undefined;
|
|
845
|
-
askUser?: {
|
|
846
|
-
disclosureSubject: string;
|
|
847
|
-
draftQuestion?: string | null | undefined;
|
|
848
|
-
} | null | undefined;
|
|
849
|
-
} | null, {
|
|
850
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
851
|
-
assessment: {
|
|
852
|
-
reasoning: string;
|
|
853
|
-
suggestedRoles: {
|
|
854
|
-
ownUser: "agent" | "patient" | "peer";
|
|
855
|
-
otherUser: "agent" | "patient" | "peer";
|
|
856
|
-
};
|
|
857
|
-
};
|
|
858
|
-
message?: string | null | undefined;
|
|
859
|
-
askUser?: {
|
|
860
|
-
disclosureSubject: string;
|
|
861
|
-
draftQuestion?: string | null | undefined;
|
|
862
|
-
} | null | undefined;
|
|
863
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
864
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
865
|
-
assessment: {
|
|
866
|
-
reasoning: string;
|
|
867
|
-
suggestedRoles: {
|
|
868
|
-
ownUser: "agent" | "patient" | "peer";
|
|
869
|
-
otherUser: "agent" | "patient" | "peer";
|
|
870
|
-
};
|
|
871
|
-
};
|
|
872
|
-
message?: string | null | undefined;
|
|
873
|
-
askUser?: {
|
|
874
|
-
disclosureSubject: string;
|
|
875
|
-
draftQuestion?: string | null | undefined;
|
|
876
|
-
} | null | undefined;
|
|
877
|
-
} | null> | null, unknown>;
|
|
878
|
-
status: import("@langchain/langgraph").BaseChannel<"completed" | "waiting_for_agent" | "active" | "input_required", "completed" | "waiting_for_agent" | "active" | "input_required" | import("@langchain/langgraph").OverwriteValue<"completed" | "waiting_for_agent" | "active" | "input_required">, unknown>;
|
|
879
|
-
priorTurnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
880
|
-
userAnswers: import("@langchain/langgraph").BaseChannel<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[], import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[] | import("@langchain/langgraph").OverwriteValue<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[]>, unknown>;
|
|
881
|
-
outcome: import("@langchain/langgraph").BaseChannel<{
|
|
882
|
-
reasoning: string;
|
|
883
|
-
turnCount: number;
|
|
884
|
-
agreedRoles: {
|
|
885
|
-
userId: string;
|
|
886
|
-
role: "agent" | "patient" | "peer";
|
|
887
|
-
}[];
|
|
888
|
-
hasOpportunity: boolean;
|
|
889
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
890
|
-
} | null, {
|
|
891
|
-
reasoning: string;
|
|
892
|
-
turnCount: number;
|
|
893
|
-
agreedRoles: {
|
|
894
|
-
userId: string;
|
|
895
|
-
role: "agent" | "patient" | "peer";
|
|
896
|
-
}[];
|
|
897
|
-
hasOpportunity: boolean;
|
|
898
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
899
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
900
|
-
reasoning: string;
|
|
901
|
-
turnCount: number;
|
|
902
|
-
agreedRoles: {
|
|
903
|
-
userId: string;
|
|
904
|
-
role: "agent" | "patient" | "peer";
|
|
905
|
-
}[];
|
|
906
|
-
hasOpportunity: boolean;
|
|
907
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
908
|
-
} | null> | null, unknown>;
|
|
909
|
-
error: import("@langchain/langgraph").BaseChannel<string | null, string | import("@langchain/langgraph").OverwriteValue<string | null> | null, unknown>;
|
|
910
|
-
}, import("@langchain/langgraph").StateDefinition, {
|
|
911
|
-
init: {
|
|
912
|
-
error: string;
|
|
913
|
-
} | {
|
|
914
|
-
messages?: {
|
|
915
|
-
id: string;
|
|
916
|
-
senderId: string;
|
|
917
|
-
role: "agent";
|
|
918
|
-
parts: unknown[];
|
|
919
|
-
createdAt: Date;
|
|
920
|
-
}[] | undefined;
|
|
921
|
-
userAnswers?: import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[] | undefined;
|
|
922
|
-
conversationId: string;
|
|
923
|
-
taskId: string;
|
|
924
|
-
currentSpeaker: "source" | "candidate";
|
|
925
|
-
turnCount: number;
|
|
926
|
-
maxTurns: number;
|
|
927
|
-
isContinuation: boolean;
|
|
928
|
-
initiatorUserId: string;
|
|
929
|
-
protocolVersion: NegotiationProtocolVersion;
|
|
930
|
-
priorTurnCount: number;
|
|
931
|
-
error?: undefined;
|
|
932
|
-
};
|
|
933
|
-
screen: {
|
|
934
|
-
screenDecision: ScreenDecisionRecord;
|
|
935
|
-
memoryBySide: {
|
|
936
|
-
[x: string]: NegotiatorMemoryEntry[];
|
|
937
|
-
};
|
|
938
|
-
};
|
|
939
|
-
turn: import("@langchain/langgraph").UpdateType<{
|
|
940
|
-
sourceUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
941
|
-
candidateUser: import("@langchain/langgraph").BaseChannel<UserNegotiationContext, UserNegotiationContext | import("@langchain/langgraph").OverwriteValue<UserNegotiationContext>, unknown>;
|
|
942
|
-
indexContext: import("@langchain/langgraph").BaseChannel<{
|
|
943
|
-
networkId: string;
|
|
944
|
-
prompt: string;
|
|
945
|
-
}, {
|
|
946
|
-
networkId: string;
|
|
947
|
-
prompt: string;
|
|
948
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
949
|
-
networkId: string;
|
|
950
|
-
prompt: string;
|
|
951
|
-
}>, unknown>;
|
|
952
|
-
seedAssessment: import("@langchain/langgraph").BaseChannel<SeedAssessment, SeedAssessment | import("@langchain/langgraph").OverwriteValue<SeedAssessment>, unknown>;
|
|
953
|
-
initiatorUserId: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
954
|
-
discoveryQuery: import("@langchain/langgraph").BaseChannel<string | undefined, string | import("@langchain/langgraph").OverwriteValue<string | undefined> | undefined, unknown>;
|
|
955
|
-
protocolVersion: import("@langchain/langgraph").BaseChannel<NegotiationProtocolVersion, NegotiationProtocolVersion | import("@langchain/langgraph").OverwriteValue<NegotiationProtocolVersion>, unknown>;
|
|
956
|
-
screenDecision: import("@langchain/langgraph").BaseChannel<ScreenDecisionRecord | null, ScreenDecisionRecord | import("@langchain/langgraph").OverwriteValue<ScreenDecisionRecord | null> | null, unknown>;
|
|
957
|
-
memoryBySide: import("@langchain/langgraph").BaseChannel<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>, Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>> | import("@langchain/langgraph").OverwriteValue<Partial<Record<"source" | "candidate", NegotiatorMemoryEntry[]>>>, unknown>;
|
|
958
|
-
isContinuation: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
|
|
959
|
-
opportunityId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
960
|
-
conversationId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
961
|
-
taskId: import("@langchain/langgraph").BaseChannel<string, string | import("@langchain/langgraph").OverwriteValue<string>, unknown>;
|
|
962
|
-
messages: import("@langchain/langgraph").BaseChannel<import("./negotiation.state.js").NegotiationMessage[], import("./negotiation.state.js").NegotiationMessage[] | import("@langchain/langgraph").OverwriteValue<import("./negotiation.state.js").NegotiationMessage[]>, unknown>;
|
|
963
|
-
turnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
964
|
-
maxTurns: import("@langchain/langgraph").BaseChannel<number | undefined, number | import("@langchain/langgraph").OverwriteValue<number | undefined> | undefined, unknown>;
|
|
965
|
-
timeoutMs: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
966
|
-
currentSpeaker: import("@langchain/langgraph").BaseChannel<"source" | "candidate", "source" | "candidate" | import("@langchain/langgraph").OverwriteValue<"source" | "candidate">, unknown>;
|
|
967
|
-
lastTurn: import("@langchain/langgraph").BaseChannel<{
|
|
968
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
969
|
-
assessment: {
|
|
970
|
-
reasoning: string;
|
|
971
|
-
suggestedRoles: {
|
|
972
|
-
ownUser: "agent" | "patient" | "peer";
|
|
973
|
-
otherUser: "agent" | "patient" | "peer";
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
message?: string | null | undefined;
|
|
977
|
-
askUser?: {
|
|
978
|
-
disclosureSubject: string;
|
|
979
|
-
draftQuestion?: string | null | undefined;
|
|
980
|
-
} | null | undefined;
|
|
981
|
-
} | null, {
|
|
982
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
983
|
-
assessment: {
|
|
984
|
-
reasoning: string;
|
|
985
|
-
suggestedRoles: {
|
|
986
|
-
ownUser: "agent" | "patient" | "peer";
|
|
987
|
-
otherUser: "agent" | "patient" | "peer";
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
message?: string | null | undefined;
|
|
991
|
-
askUser?: {
|
|
992
|
-
disclosureSubject: string;
|
|
993
|
-
draftQuestion?: string | null | undefined;
|
|
994
|
-
} | null | undefined;
|
|
995
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
996
|
-
action: "propose" | "accept" | "reject" | "counter" | "question" | "outreach" | "withdraw" | "decline" | "ask_user";
|
|
997
|
-
assessment: {
|
|
998
|
-
reasoning: string;
|
|
999
|
-
suggestedRoles: {
|
|
1000
|
-
ownUser: "agent" | "patient" | "peer";
|
|
1001
|
-
otherUser: "agent" | "patient" | "peer";
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
message?: string | null | undefined;
|
|
1005
|
-
askUser?: {
|
|
1006
|
-
disclosureSubject: string;
|
|
1007
|
-
draftQuestion?: string | null | undefined;
|
|
1008
|
-
} | null | undefined;
|
|
1009
|
-
} | null> | null, unknown>;
|
|
1010
|
-
status: import("@langchain/langgraph").BaseChannel<"completed" | "waiting_for_agent" | "active" | "input_required", "completed" | "waiting_for_agent" | "active" | "input_required" | import("@langchain/langgraph").OverwriteValue<"completed" | "waiting_for_agent" | "active" | "input_required">, unknown>;
|
|
1011
|
-
priorTurnCount: import("@langchain/langgraph").BaseChannel<number, number | import("@langchain/langgraph").OverwriteValue<number>, unknown>;
|
|
1012
|
-
userAnswers: import("@langchain/langgraph").BaseChannel<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[], import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[] | import("@langchain/langgraph").OverwriteValue<import("../shared/interfaces/database.interface.js").NegotiationUserAnswer[]>, unknown>;
|
|
1013
|
-
outcome: import("@langchain/langgraph").BaseChannel<{
|
|
1014
|
-
reasoning: string;
|
|
1015
|
-
turnCount: number;
|
|
1016
|
-
agreedRoles: {
|
|
1017
|
-
userId: string;
|
|
1018
|
-
role: "agent" | "patient" | "peer";
|
|
1019
|
-
}[];
|
|
1020
|
-
hasOpportunity: boolean;
|
|
1021
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
1022
|
-
} | null, {
|
|
1023
|
-
reasoning: string;
|
|
1024
|
-
turnCount: number;
|
|
1025
|
-
agreedRoles: {
|
|
1026
|
-
userId: string;
|
|
1027
|
-
role: "agent" | "patient" | "peer";
|
|
1028
|
-
}[];
|
|
1029
|
-
hasOpportunity: boolean;
|
|
1030
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
1031
|
-
} | import("@langchain/langgraph").OverwriteValue<{
|
|
1032
|
-
reasoning: string;
|
|
1033
|
-
turnCount: number;
|
|
1034
|
-
agreedRoles: {
|
|
1035
|
-
userId: string;
|
|
1036
|
-
role: "agent" | "patient" | "peer";
|
|
1037
|
-
}[];
|
|
1038
|
-
hasOpportunity: boolean;
|
|
1039
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
1040
|
-
} | null> | null, unknown>;
|
|
1041
|
-
error: import("@langchain/langgraph").BaseChannel<string | null, string | import("@langchain/langgraph").OverwriteValue<string | null> | null, unknown>;
|
|
1042
|
-
}>;
|
|
1043
|
-
finalize: {
|
|
1044
|
-
outcome?: undefined;
|
|
1045
|
-
status?: undefined;
|
|
1046
|
-
} | {
|
|
1047
|
-
outcome: {
|
|
1048
|
-
reasoning: string;
|
|
1049
|
-
turnCount: number;
|
|
1050
|
-
agreedRoles: {
|
|
1051
|
-
userId: string;
|
|
1052
|
-
role: "agent" | "patient" | "peer";
|
|
1053
|
-
}[];
|
|
1054
|
-
hasOpportunity: boolean;
|
|
1055
|
-
reason?: "timeout" | "turn_cap" | "screened_out" | undefined;
|
|
1056
|
-
};
|
|
1057
|
-
status: "completed";
|
|
1058
|
-
};
|
|
1059
|
-
}, unknown, unknown, []>;
|
|
1060
569
|
//# sourceMappingURL=negotiation.graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"negotiation.graph.d.ts","sourceRoot":"/","sources":["negotiation/negotiation.graph.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,KAAK,EAAE,eAAe,EAA0B,MAAM,oDAAoD,CAAC;AAClH,OAAO,EAAyB,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG3L,OAAO,EAAkE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpI,OAAO,KAAK,EAAmB,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,0BAA0B,EAAyB,MAAM,yBAAyB,CAA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CACvC,gBAAgB,EAAE,oBAAoB,EACtC,UAAU,EAAE,sBAAsB,EAClC,UAAU,EAAE,oBAAoB,EAAE,EAClC,YAAY,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EACnD,IAAI,CAAC,EAAE;IACL,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,qBAAqB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC;IAC5C,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GACA,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAsJ9B"}
|
|
@@ -1016,11 +1016,4 @@ export async function negotiateCandidates(negotiationGraph, sourceUser, candidat
|
|
|
1016
1016
|
}));
|
|
1017
1017
|
return results.filter((r) => r !== null);
|
|
1018
1018
|
}
|
|
1019
|
-
/**
|
|
1020
|
-
* Creates a negotiation graph with the provided dependencies.
|
|
1021
|
-
*/
|
|
1022
|
-
export function createDefaultNegotiationGraph(deps) {
|
|
1023
|
-
const factory = new NegotiationGraphFactory(deps.database, deps.dispatcher, deps.timeoutQueue);
|
|
1024
|
-
return factory.createGraph();
|
|
1025
|
-
}
|
|
1026
1019
|
//# sourceMappingURL=negotiation.graph.js.map
|