@indexnetwork/protocol 2.0.1 → 3.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/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/intent/intent.graph.d.ts +26 -26
- package/dist/intent/intent.inferrer.d.ts +8 -8
- package/dist/intent/intent.reconciler.d.ts +12 -12
- package/dist/intent/intent.state.d.ts +6 -6
- package/dist/mcp/mcp.server.d.ts +5 -0
- package/dist/mcp/mcp.server.d.ts.map +1 -1
- package/dist/mcp/mcp.server.js +43 -2
- package/dist/mcp/mcp.server.js.map +1 -1
- package/dist/opportunity/opportunity.evaluator.d.ts +3 -3
- package/dist/premise/premise.analyzer.d.ts +2 -2
- package/dist/premise/premise.decomposer.d.ts +2 -2
- package/dist/premise/premise.tools.js.map +1 -1
- package/dist/shared/agent/tool.factory.js.map +1 -1
- package/dist/shared/agent/tool.helpers.d.ts +1 -1
- package/dist/shared/agent/tool.helpers.d.ts.map +1 -1
- package/dist/shared/agent/tool.helpers.js.map +1 -1
- package/dist/shared/interfaces/agent-dispatcher.interface.d.ts +1 -1
- package/dist/shared/interfaces/agent-dispatcher.interface.js.map +1 -1
- package/dist/shared/interfaces/auth.interface.d.ts +16 -9
- package/dist/shared/interfaces/auth.interface.d.ts.map +1 -1
- package/dist/shared/interfaces/auth.interface.js.map +1 -1
- package/dist/shared/interfaces/database.interface.d.ts +2 -2
- package/dist/shared/interfaces/database.interface.d.ts.map +1 -1
- package/dist/shared/interfaces/database.interface.js.map +1 -1
- package/dist/shared/interfaces/question-generator.interface.d.ts +1 -1
- package/dist/shared/interfaces/question-generator.interface.d.ts.map +1 -1
- package/dist/shared/interfaces/question-generator.interface.js.map +1 -1
- package/dist/shared/schemas/discovery-question.schema.d.ts +242 -0
- package/dist/shared/schemas/discovery-question.schema.d.ts.map +1 -0
- package/dist/shared/schemas/discovery-question.schema.js +49 -0
- package/dist/shared/schemas/discovery-question.schema.js.map +1 -0
- package/dist/shared/schemas/mcp-auth.schema.d.ts +18 -0
- package/dist/shared/schemas/mcp-auth.schema.d.ts.map +1 -0
- package/dist/shared/schemas/mcp-auth.schema.js +2 -0
- package/dist/shared/schemas/mcp-auth.schema.js.map +1 -0
- package/dist/shared/schemas/negotiation-digest.schema.d.ts +2 -2
- package/dist/shared/schemas/negotiation-state.schema.d.ts +118 -0
- package/dist/shared/schemas/negotiation-state.schema.d.ts.map +1 -0
- package/dist/shared/schemas/negotiation-state.schema.js +29 -0
- package/dist/shared/schemas/negotiation-state.schema.js.map +1 -0
- package/dist/shared/schemas/profile.schema.d.ts +100 -0
- package/dist/shared/schemas/profile.schema.d.ts.map +1 -0
- package/dist/shared/schemas/profile.schema.js +26 -0
- package/dist/shared/schemas/profile.schema.js.map +1 -0
- package/dist/shared/schemas/question.schema.d.ts +8 -8
- package/package.json +1 -2
|
@@ -42,19 +42,19 @@ export declare const QuestionSchema: z.ZodObject<{
|
|
|
42
42
|
/** True when options are not mutually exclusive (priorities, bundles). */
|
|
43
43
|
multiSelect: z.ZodBoolean;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
prompt: string;
|
|
46
45
|
options: {
|
|
47
46
|
description: string;
|
|
48
47
|
label: string;
|
|
49
48
|
}[];
|
|
49
|
+
prompt: string;
|
|
50
50
|
title: string;
|
|
51
51
|
multiSelect: boolean;
|
|
52
52
|
}, {
|
|
53
|
-
prompt: string;
|
|
54
53
|
options: {
|
|
55
54
|
description: string;
|
|
56
55
|
label: string;
|
|
57
56
|
}[];
|
|
57
|
+
prompt: string;
|
|
58
58
|
title: string;
|
|
59
59
|
multiSelect: boolean;
|
|
60
60
|
}>;
|
|
@@ -82,20 +82,20 @@ export declare const QuestionWithStrategySchema: z.ZodObject<{
|
|
|
82
82
|
} & {
|
|
83
83
|
strategy: z.ZodEnum<["refine_intent", "surface_missing_detail", "open_adjacent_thread", "reflective_summary", "surface_emergent_knowledge"]>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
prompt: string;
|
|
86
85
|
options: {
|
|
87
86
|
description: string;
|
|
88
87
|
label: string;
|
|
89
88
|
}[];
|
|
89
|
+
prompt: string;
|
|
90
90
|
title: string;
|
|
91
91
|
multiSelect: boolean;
|
|
92
92
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
|
93
93
|
}, {
|
|
94
|
-
prompt: string;
|
|
95
94
|
options: {
|
|
96
95
|
description: string;
|
|
97
96
|
label: string;
|
|
98
97
|
}[];
|
|
98
|
+
prompt: string;
|
|
99
99
|
title: string;
|
|
100
100
|
multiSelect: boolean;
|
|
101
101
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
|
@@ -124,42 +124,42 @@ export declare const QuestionGeneratorResponseSchema: z.ZodObject<{
|
|
|
124
124
|
} & {
|
|
125
125
|
strategy: z.ZodEnum<["refine_intent", "surface_missing_detail", "open_adjacent_thread", "reflective_summary", "surface_emergent_knowledge"]>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
prompt: string;
|
|
128
127
|
options: {
|
|
129
128
|
description: string;
|
|
130
129
|
label: string;
|
|
131
130
|
}[];
|
|
131
|
+
prompt: string;
|
|
132
132
|
title: string;
|
|
133
133
|
multiSelect: boolean;
|
|
134
134
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
|
135
135
|
}, {
|
|
136
|
-
prompt: string;
|
|
137
136
|
options: {
|
|
138
137
|
description: string;
|
|
139
138
|
label: string;
|
|
140
139
|
}[];
|
|
140
|
+
prompt: string;
|
|
141
141
|
title: string;
|
|
142
142
|
multiSelect: boolean;
|
|
143
143
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
|
144
144
|
}>, "many">;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
questions: {
|
|
147
|
-
prompt: string;
|
|
148
147
|
options: {
|
|
149
148
|
description: string;
|
|
150
149
|
label: string;
|
|
151
150
|
}[];
|
|
151
|
+
prompt: string;
|
|
152
152
|
title: string;
|
|
153
153
|
multiSelect: boolean;
|
|
154
154
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
|
155
155
|
}[];
|
|
156
156
|
}, {
|
|
157
157
|
questions: {
|
|
158
|
-
prompt: string;
|
|
159
158
|
options: {
|
|
160
159
|
description: string;
|
|
161
160
|
label: string;
|
|
162
161
|
}[];
|
|
162
|
+
prompt: string;
|
|
163
163
|
title: string;
|
|
164
164
|
multiSelect: boolean;
|
|
165
165
|
strategy: "refine_intent" | "surface_missing_detail" | "open_adjacent_thread" | "reflective_summary" | "surface_emergent_knowledge";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indexnetwork/protocol",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@langchain/core": "^1.1.17",
|
|
26
26
|
"@langchain/langgraph": "^1.1.2",
|
|
27
|
-
"@langchain/langgraph-checkpoint-postgres": "^1.0.0",
|
|
28
27
|
"@langchain/openai": "^1.2.3",
|
|
29
28
|
"@modelcontextprotocol/server": "^2.0.0-alpha.2",
|
|
30
29
|
"dotenv": "^16.3.1",
|