@deepagents/orchestrator 5.0.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.
@@ -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
- }, "strip", z.ZodTypeAny, {
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, "many">>;
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
- }, "strip", z.ZodTypeAny, {
21
- description: string;
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;AA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,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
- }, "strip", z.ZodTypeAny, {
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
- }, "strip", z.ZodTypeAny, {
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAgOlE,wBAAsB,MAAM,CAAC,OAAO,EAAE,gBAAgB;;;;;;;;;;;;GAmCrD"}
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
- }, "strip", z.ZodTypeAny, {
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.ZodTypeDef, OutlineItem>, "many">;
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;;;;;;EAEnB,CAAC;AACH,KAAK,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eA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M,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
- }, "strip", z.ZodTypeAny, {
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;;;;;;;;;;;;EAY3B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;8FAMxB,CAAC;AAEH,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,oBAQhE"}
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
- }, "strip", z.ZodTypeAny, {
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;;;;;;EAIxB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;8FAK7B,CAAC;AAEH,wBAAsB,kCAAkC,CAAC,SAAS,EAAE,MAAM,oBAYzE"}
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": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,21 +38,21 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@deepagents/agent": "5.0.0",
42
- "@deepagents/context": "5.0.0",
43
- "@ai-sdk/groq": "^4.0.7",
44
- "@ai-sdk/openai": "^4.0.11",
45
- "ai": "^7.0.20",
46
- "zod": "^3.25.76 || ^4.0.0",
47
- "lodash-es": "^4.17.21",
48
- "@deepagents/retrieval": "5.0.0",
49
- "@deepagents/toolbox": "5.0.0",
50
- "p-limit": "^7.2.0",
51
- "@tavily/core": "^0.5.12",
52
- "dedent": "^1.7.0"
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"
53
53
  },
54
54
  "peerDependencies": {},
55
55
  "devDependencies": {
56
- "@types/debug": "^4.1.12"
56
+ "@types/debug": "^4.1.13"
57
57
  }
58
58
  }