@deepagents/orchestrator 4.3.0 → 6.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/lib/deepplan/planner-agent.d.ts +4 -34
- package/dist/lib/deepplan/planner-agent.d.ts.map +1 -1
- package/dist/lib/deepplan/replanner-agent.d.ts +2 -24
- package/dist/lib/deepplan/replanner-agent.d.ts.map +1 -1
- package/dist/lib/deepwiki/outline-agent.d.ts +2 -6
- package/dist/lib/deepwiki/outline-agent.d.ts.map +1 -1
- package/dist/lib/openai-deepresearch/clarrify-agent.d.ts +1 -9
- package/dist/lib/openai-deepresearch/clarrify-agent.d.ts.map +1 -1
- package/dist/lib/openai-deepresearch/research-brief.d.ts +1 -5
- package/dist/lib/openai-deepresearch/research-brief.d.ts.map +1 -1
- package/package.json +15 -14
|
@@ -2,47 +2,17 @@ import z from 'zod';
|
|
|
2
2
|
declare const PlanStepSchema: z.ZodObject<{
|
|
3
3
|
description: z.ZodString;
|
|
4
4
|
expected_outcome: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
description: string;
|
|
7
|
-
expected_outcome: string;
|
|
8
|
-
}, {
|
|
9
|
-
description: string;
|
|
10
|
-
expected_outcome: string;
|
|
11
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
12
6
|
export declare const PlannerOutputSchema: z.ZodObject<{
|
|
13
7
|
understanding: z.ZodString;
|
|
14
8
|
variables: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
15
|
-
constraints: z.ZodDefault<z.ZodArray<z.ZodString
|
|
9
|
+
constraints: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
16
10
|
success_criteria: z.ZodString;
|
|
17
11
|
steps: z.ZodArray<z.ZodObject<{
|
|
18
12
|
description: z.ZodString;
|
|
19
13
|
expected_outcome: z.ZodString;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
expected_outcome: string;
|
|
23
|
-
}, {
|
|
24
|
-
description: string;
|
|
25
|
-
expected_outcome: string;
|
|
26
|
-
}>, "many">;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
understanding: string;
|
|
29
|
-
variables: Record<string, any>;
|
|
30
|
-
constraints: string[];
|
|
31
|
-
success_criteria: string;
|
|
32
|
-
steps: {
|
|
33
|
-
description: string;
|
|
34
|
-
expected_outcome: string;
|
|
35
|
-
}[];
|
|
36
|
-
}, {
|
|
37
|
-
understanding: string;
|
|
38
|
-
variables: Record<string, any>;
|
|
39
|
-
success_criteria: string;
|
|
40
|
-
steps: {
|
|
41
|
-
description: string;
|
|
42
|
-
expected_outcome: string;
|
|
43
|
-
}[];
|
|
44
|
-
constraints?: string[] | undefined;
|
|
45
|
-
}>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
46
16
|
export type PlanStep = z.infer<typeof PlanStepSchema>;
|
|
47
17
|
export type PlannerOutput = z.infer<typeof PlannerOutputSchema>;
|
|
48
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planner-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepplan/planner-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAepB,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"planner-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepplan/planner-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAepB,QAAA,MAAM,cAAc;;;iBAOlB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;iBAqB9B,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,EAAE,MAAM,EAAE,CAAC;IAE1B;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAkND;;;;;GAKG;AACH,wBAAsB,IAAI,CACxB,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE;IAAE,WAAW,CAAC,EAAE,eAAe,CAAA;CAAO,uEAoC9C"}
|
|
@@ -7,31 +7,9 @@ export declare const ReplanDecisionSchema: z.ZodObject<{
|
|
|
7
7
|
remaining_steps: z.ZodArray<z.ZodObject<{
|
|
8
8
|
description: z.ZodString;
|
|
9
9
|
expected_outcome: z.ZodString;
|
|
10
|
-
},
|
|
11
|
-
description: string;
|
|
12
|
-
expected_outcome: string;
|
|
13
|
-
}, {
|
|
14
|
-
description: string;
|
|
15
|
-
expected_outcome: string;
|
|
16
|
-
}>, "many">;
|
|
10
|
+
}, z.core.$strip>>;
|
|
17
11
|
new_insights: z.ZodString;
|
|
18
|
-
},
|
|
19
|
-
reasoning: string;
|
|
20
|
-
should_continue: boolean;
|
|
21
|
-
remaining_steps: {
|
|
22
|
-
description: string;
|
|
23
|
-
expected_outcome: string;
|
|
24
|
-
}[];
|
|
25
|
-
new_insights: string;
|
|
26
|
-
}, {
|
|
27
|
-
reasoning: string;
|
|
28
|
-
should_continue: boolean;
|
|
29
|
-
remaining_steps: {
|
|
30
|
-
description: string;
|
|
31
|
-
expected_outcome: string;
|
|
32
|
-
}[];
|
|
33
|
-
new_insights: string;
|
|
34
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
35
13
|
export type ReplanDecision = z.infer<typeof ReplanDecisionSchema>;
|
|
36
14
|
export declare function replan(context: ExecutionContext): Promise<{
|
|
37
15
|
current_plan: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replanner-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepplan/replanner-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAapB,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAUnD,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"replanner-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepplan/replanner-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAapB,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAUnD,eAAO,MAAM,oBAAoB;;;;;;;;iBAU/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAgOlE,wBAAsB,MAAM,CAAC,OAAO,EAAE,gBAAgB;;;;;;;;;;;;GAmCrD"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
declare const BaseOutlineItem: z.ZodObject<{
|
|
3
3
|
title: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
title: string;
|
|
6
|
-
}, {
|
|
7
|
-
title: string;
|
|
8
|
-
}>;
|
|
4
|
+
}, z.core.$strip>;
|
|
9
5
|
type OutlineItem = z.output<typeof BaseOutlineItem> & {
|
|
10
6
|
sections?: z.output<typeof OutlineItemSchema>[];
|
|
11
7
|
};
|
|
12
8
|
declare const OutlineItemSchema: z.ZodType<OutlineItem>;
|
|
13
|
-
declare const OutlineSchema: z.ZodArray<z.ZodType<OutlineItem, z.
|
|
9
|
+
declare const OutlineSchema: z.ZodArray<z.ZodType<OutlineItem, unknown, z.core.$ZodTypeInternals<OutlineItem, unknown>>>;
|
|
14
10
|
export type Outline = z.output<typeof OutlineSchema>;
|
|
15
11
|
export type OutlineAgentContext = {
|
|
16
12
|
repo_path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outline-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepwiki/outline-agent.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"outline-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/deepwiki/outline-agent.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,QAAA,MAAM,eAAe;;iBAEnB,CAAC;AACH,KAAK,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,EAAE,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAI7C,CAAC;AACF,QAAA,MAAM,aAAa,6FAA6B,CAAC;AACjD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AACrD,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY,sFAsEvB,CAAC;AAEH,eAAO,MAAM,qBAAqB,sFAyBhC,CAAC;AAEH,wBAAsB,eAAe,CAAC,KAAK,EAAE,mBAAmB,oBAwC/D;AAWD,wBAAgB,QAAQ,CACtB,KAAK,EAAE,WAAW,EAAE,EACpB,SAAS,SAAI,EACb,MAAM,GAAE,MAAM,EAAO,YAatB"}
|
|
@@ -3,15 +3,7 @@ export declare const ClarrifyQuestion: z.ZodObject<{
|
|
|
3
3
|
need_clarification: z.ZodBoolean;
|
|
4
4
|
question: z.ZodString;
|
|
5
5
|
verification: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
need_clarification: boolean;
|
|
8
|
-
question: string;
|
|
9
|
-
verification: string;
|
|
10
|
-
}, {
|
|
11
|
-
need_clarification: boolean;
|
|
12
|
-
question: string;
|
|
13
|
-
verification: string;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export declare const clarrifyAgent: import("@deepagents/agent").Agent<{
|
|
16
8
|
need_clarification: boolean;
|
|
17
9
|
question: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clarrify-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/openai-deepresearch/clarrify-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAuCpB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"clarrify-agent.d.ts","sourceRoot":"","sources":["../../../src/lib/openai-deepresearch/clarrify-agent.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAuCpB,eAAO,MAAM,gBAAgB;;;;iBAY3B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;8FAMxB,CAAC;AAEH,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,oBAQhE"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const ResearchTopic: z.ZodObject<{
|
|
3
3
|
research_brief: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
research_brief: string;
|
|
6
|
-
}, {
|
|
7
|
-
research_brief: string;
|
|
8
|
-
}>;
|
|
4
|
+
}, z.core.$strip>;
|
|
9
5
|
export declare const researchTopicAgent: import("@deepagents/agent").Agent<{
|
|
10
6
|
research_brief: string;
|
|
11
7
|
}, import("@deepagents/agent").ContextVariables, import("@deepagents/agent").ContextVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"research-brief.d.ts","sourceRoot":"","sources":["../../../src/lib/openai-deepresearch/research-brief.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAgCpB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"research-brief.d.ts","sourceRoot":"","sources":["../../../src/lib/openai-deepresearch/research-brief.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAgCpB,eAAO,MAAM,aAAa;;iBAIxB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;8FAK7B,CAAC;AAEH,wBAAsB,kCAAkC,CAAC,SAAS,EAAE,MAAM,oBAYzE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepagents/orchestrator",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
+
"!dist/spec/**",
|
|
33
34
|
"!**/*.tsbuildinfo",
|
|
34
35
|
"!**/*.test.*"
|
|
35
36
|
],
|
|
@@ -37,21 +38,21 @@
|
|
|
37
38
|
"access": "public"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"@deepagents/agent": "
|
|
41
|
-
"@deepagents/context": "
|
|
42
|
-
"@ai-sdk/groq": "^
|
|
43
|
-
"@ai-sdk/openai": "^
|
|
44
|
-
"ai": "^
|
|
45
|
-
"zod": "^
|
|
46
|
-
"lodash-es": "^4.
|
|
47
|
-
"@deepagents/retrieval": "
|
|
48
|
-
"@deepagents/toolbox": "
|
|
49
|
-
"p-limit": "^7.
|
|
50
|
-
"@tavily/core": "^0.
|
|
51
|
-
"dedent": "^1.7.
|
|
41
|
+
"@deepagents/agent": "6.0.0",
|
|
42
|
+
"@deepagents/context": "6.0.0",
|
|
43
|
+
"@ai-sdk/groq": "^4.0.11",
|
|
44
|
+
"@ai-sdk/openai": "^4.0.15",
|
|
45
|
+
"ai": "^7.0.30",
|
|
46
|
+
"zod": "^4.4.3",
|
|
47
|
+
"lodash-es": "^4.18.1",
|
|
48
|
+
"@deepagents/retrieval": "6.0.0",
|
|
49
|
+
"@deepagents/toolbox": "6.0.0",
|
|
50
|
+
"p-limit": "^7.3.0",
|
|
51
|
+
"@tavily/core": "^0.7.6",
|
|
52
|
+
"dedent": "^1.7.2"
|
|
52
53
|
},
|
|
53
54
|
"peerDependencies": {},
|
|
54
55
|
"devDependencies": {
|
|
55
|
-
"@types/debug": "^4.1.
|
|
56
|
+
"@types/debug": "^4.1.13"
|
|
56
57
|
}
|
|
57
58
|
}
|