developing-agent-forge 1.0.0 → 2.0.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.
Files changed (54) hide show
  1. package/README.md +42 -39
  2. package/README.zh-CN.md +42 -39
  3. package/developing-forge.yaml +43 -28
  4. package/dist/agents/developer.d.ts +15 -1
  5. package/dist/agents/developer.d.ts.map +1 -1
  6. package/dist/agents/developer.js +41 -4
  7. package/dist/agents/developer.js.map +1 -1
  8. package/dist/agents/manager.d.ts +7 -4
  9. package/dist/agents/manager.d.ts.map +1 -1
  10. package/dist/agents/manager.js +26 -13
  11. package/dist/agents/manager.js.map +1 -1
  12. package/dist/agents/reviewer.js +2 -2
  13. package/dist/agents/trajectory-optimizer.d.ts +1 -2
  14. package/dist/agents/trajectory-optimizer.d.ts.map +1 -1
  15. package/dist/agents/trajectory-optimizer.js +5 -8
  16. package/dist/agents/trajectory-optimizer.js.map +1 -1
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/index.js.map +1 -1
  21. package/dist/pipeline/factory.d.ts +3 -0
  22. package/dist/pipeline/factory.d.ts.map +1 -0
  23. package/dist/pipeline/factory.js +7 -0
  24. package/dist/pipeline/factory.js.map +1 -0
  25. package/dist/pipeline/index.d.ts +2 -2
  26. package/dist/pipeline/index.d.ts.map +1 -1
  27. package/dist/pipeline/index.js +2 -2
  28. package/dist/pipeline/index.js.map +1 -1
  29. package/dist/pipeline/pipeline.d.ts +49 -29
  30. package/dist/pipeline/pipeline.d.ts.map +1 -1
  31. package/dist/pipeline/pipeline.js +37 -24
  32. package/dist/pipeline/pipeline.js.map +1 -1
  33. package/dist/pipeline/pipelineskill.d.ts +43 -25
  34. package/dist/pipeline/pipelineskill.d.ts.map +1 -1
  35. package/dist/pipeline/pipelineskill.js +4 -5
  36. package/dist/pipeline/pipelineskill.js.map +1 -1
  37. package/dist/pipeline/project-devloop.d.ts +15 -0
  38. package/dist/pipeline/project-devloop.d.ts.map +1 -0
  39. package/dist/pipeline/project-devloop.js +59 -0
  40. package/dist/pipeline/project-devloop.js.map +1 -0
  41. package/dist/pipeline/task-devloop.d.ts +11 -0
  42. package/dist/pipeline/task-devloop.d.ts.map +1 -0
  43. package/dist/pipeline/task-devloop.js +77 -0
  44. package/dist/pipeline/task-devloop.js.map +1 -0
  45. package/package.json +3 -2
  46. package/skills/coding-style/SKILL.md +4 -4
  47. package/dist/pipeline/development.d.ts +0 -14
  48. package/dist/pipeline/development.d.ts.map +0 -1
  49. package/dist/pipeline/development.js +0 -55
  50. package/dist/pipeline/development.js.map +0 -1
  51. package/dist/pipeline/revision.d.ts +0 -10
  52. package/dist/pipeline/revision.d.ts.map +0 -1
  53. package/dist/pipeline/revision.js +0 -52
  54. package/dist/pipeline/revision.js.map +0 -1
@@ -4,40 +4,53 @@ export class CodingManagerAgent extends DevelopingAgent {
4
4
  buildPrompt(variables) {
5
5
  const codingStyleSkillPath = this.workspaceRelativePath(variables.codingStyleSkillPath);
6
6
  const targetPath = this.workspaceRelativePath(variables.targetPath);
7
- const todoPath = this.workspaceRelativePath(variables.todoPath);
8
7
  const codingStyleSkillInstructionText = codingStyleSkillInstruction(codingStyleSkillPath);
9
8
  const goalInstructionText = goalInstruction(variables.goal);
10
- if (variables.phase === "update") {
9
+ if (variables.phase === "recall") {
11
10
  return `
12
11
  ${codingStyleSkillInstructionText}
13
12
 
14
- Update the TODO file after a developer task.
15
- Work in the TODO file at ${todoPath}. Scan the target repository at ${targetPath}/ before editing it.
13
+ ${goalInstructionText}
14
+
15
+ Scan the target repository at ${targetPath}/ and decide what project progress memory helps select the next task for the current goal.
16
+
17
+ Output concise project progress memory recall guidance.
18
+ `;
19
+ }
20
+ if (variables.phase === "update") {
21
+ return `
22
+ ${codingStyleSkillInstructionText}
16
23
 
17
24
  ${goalInstructionText}
18
25
 
19
- Current developer task:
26
+ Developing task:
20
27
  ${variables.currentTask}
21
28
 
22
- Revision report:
23
- ${variables.revisionReport}
29
+ Related project progress memory before the developing task:
30
+ ${variables.memory}
31
+
32
+ Revision process for completing the developing task:
33
+ ${variables.taskDevReport}
24
34
 
25
- The revision report lists each Developer report and Reviewer report from the review loop, ending with whether the Reviewer accepted the changes or the loop reached the max revision iterations.
35
+ Scan the target repository at ${targetPath}/ and consider what project progress should be remembered after the developing task.
26
36
 
27
- Update the TODO so completed work and future developer tasks match the current repository. If you find a better future plan, update it too.
37
+ Remember completed work and current project progress.
28
38
  `;
29
39
  }
30
40
  return `
31
41
  ${codingStyleSkillInstructionText}
32
42
 
33
- Select the next developer task for the target repository.
34
- Scan the target repository at ${targetPath}/ and the TODO file at ${todoPath}.
35
-
36
43
  ${goalInstructionText}
37
44
 
45
+ Related project progress memory:
46
+ ${variables.memory}
47
+
48
+ Scan the target repository at ${targetPath}/ and read the project progress memory related to the current goal.
49
+ Select the next developing task for the target repository.
50
+
38
51
  Choose exactly one new bounded task for the Developer.
39
52
 
40
- When no further developer task is needed, return exactly:
53
+ When no further developing task is needed, return exactly:
41
54
  ${variables.finishMark}
42
55
  `;
43
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"manager.js","sourceRoot":"","sources":["../../src/agents/manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAiC,MAAM,YAAY,CAAC;AAkB5E,MAAM,OAAO,kBAAmB,SAAQ,eAAuC;IACnE,WAAW,CAAC,SAA2C;QAC/D,MAAM,oBAAoB,GAAG,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACxF,MAAM,UAAU,GAAG,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAChE,MAAM,+BAA+B,GAAG,2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B;;;EAGnB,SAAS,CAAC,WAAW;;;EAGrB,SAAS,CAAC,MAAM;;;EAGhB,SAAS,CAAC,aAAa;;gCAEO,UAAU;;;CAGzC,CAAC;QACE,CAAC;QAED,OAAO;EACT,+BAA+B;;EAE/B,mBAAmB;;;EAGnB,SAAS,CAAC,MAAM;;gCAEc,UAAU;;;;;;EAMxC,SAAS,CAAC,UAAU;CACrB,CAAC;IACA,CAAC;CACF"}
@@ -10,11 +10,11 @@ export class CodeReviewerAgent extends DevelopingAgent {
10
10
  `
11
11
 
12
12
  Work in the target repository at ${targetPath}/.
13
- Review the current developer task result. Read only.
13
+ Review the current code. Read only.
14
14
 
15
15
  ${goalInstructionText}
16
16
 
17
- Current developer task:
17
+ Current developing task:
18
18
  ${variables.currentTask}
19
19
 
20
20
  Developer report:
@@ -7,8 +7,7 @@ type ScanTrajectoryOptimizerVariables = DevelopingAgentVariables & {
7
7
  type OptimizeTrajectoryOptimizerVariables = DevelopingAgentVariables & {
8
8
  phase: "optimize";
9
9
  currentTask: string;
10
- revisionReport: string;
11
- todoUpdateReport: string;
10
+ taskDevReport: string;
12
11
  metaskillPath: string;
13
12
  };
14
13
  export type TrajectoryOptimizerVariables = ScanTrajectoryOptimizerVariables | OptimizeTrajectoryOptimizerVariables;
@@ -1 +1 @@
1
- {"version":3,"file":"trajectory-optimizer.d.ts","sourceRoot":"","sources":["../../src/agents/trajectory-optimizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,KAAK,gCAAgC,GAAG,wBAAwB,GAAG;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,oCAAoC,GAAG,wBAAwB,GAAG;IACrE,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GACpC,gCAAgC,GAChC,oCAAoC,CAAC;AAEzC,qBAAa,wBAAyB,SAAQ,KAAK,CAAC,4BAA4B,CAAC;IAC/E,SAAS,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,MAAM;CA2CjF"}
1
+ {"version":3,"file":"trajectory-optimizer.d.ts","sourceRoot":"","sources":["../../src/agents/trajectory-optimizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,KAAK,gCAAgC,GAAG,wBAAwB,GAAG;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,oCAAoC,GAAG,wBAAwB,GAAG;IACrE,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GACpC,gCAAgC,GAChC,oCAAoC,CAAC;AAEzC,qBAAa,wBAAyB,SAAQ,KAAK,CAAC,4BAA4B,CAAC;IAC/E,SAAS,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,MAAM;CAwCjF"}
@@ -11,7 +11,7 @@ Scan the target repository at ${variables.targetPath}/ and the skill at ${variab
11
11
 
12
12
  ${goalInstructionText}
13
13
 
14
- Current developer task:
14
+ Current developing task:
15
15
  ${variables.currentTask}
16
16
 
17
17
  Output a concise baseline of the repository state relevant to this task and the main guidance the skill should provide.
@@ -29,16 +29,13 @@ Read:
29
29
  - target repository: ${variables.targetPath}
30
30
  ${goalInstructionText}
31
31
 
32
- Current developer task:
32
+ Current developing task:
33
33
  ${variables.currentTask}
34
34
 
35
- Revision report:
36
- ${variables.revisionReport}
35
+ Revision process for completing the developing task:
36
+ ${variables.taskDevReport}
37
37
 
38
- TODO update report:
39
- ${variables.todoUpdateReport}
40
-
41
- Evaluate whether the skill produced a good modification trajectory, then edit the skill directly. Focus on missing, misleading, or redundant guidance that affected task selection, coding, review, or TODO update.
38
+ Evaluate whether the skill produced a good modification trajectory, then edit the skill directly. Focus on missing, misleading, or redundant guidance that affected task selection, coding, or review.
42
39
 
43
40
  Output a concise optimizer report with the main skill changes.
44
41
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"trajectory-optimizer.js","sourceRoot":"","sources":["../../src/agents/trajectory-optimizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAoB/C,MAAM,OAAO,wBAAyB,SAAQ,KAAmC;IACrE,WAAW,CAAC,SAAiD;QACrE,MAAM,mBAAmB,GAAG,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAE5D,IAAI,SAAS,CAAC,KAAK,KAAK,MAAM,EAAE,CAAC;YAC/B,OAAO;mCACsB,SAAS,CAAC,UAAU;gCACvB,SAAS,CAAC,UAAU,sBAAsB,SAAS,CAAC,oBAAoB;;EAEtG,mBAAmB;;;EAGnB,SAAS,CAAC,WAAW;;;CAGtB,CAAC;QACE,CAAC;QAED,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAChE,OAAO;sBACW,SAAS,CAAC,oBAAoB;;;;EAIlD,SAAS;;;uBAGY,SAAS,CAAC,UAAU;EACzC,mBAAmB;;;EAGnB,SAAS,CAAC,WAAW;;;EAGrB,SAAS,CAAC,cAAc;;;EAGxB,SAAS,CAAC,gBAAgB;;;;;CAK3B,CAAC;IACA,CAAC;CACF"}
1
+ {"version":3,"file":"trajectory-optimizer.js","sourceRoot":"","sources":["../../src/agents/trajectory-optimizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAmB/C,MAAM,OAAO,wBAAyB,SAAQ,KAAmC;IACrE,WAAW,CAAC,SAAiD;QACrE,MAAM,mBAAmB,GAAG,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAE5D,IAAI,SAAS,CAAC,KAAK,KAAK,MAAM,EAAE,CAAC;YAC/B,OAAO;mCACsB,SAAS,CAAC,UAAU;gCACvB,SAAS,CAAC,UAAU,sBAAsB,SAAS,CAAC,oBAAoB;;EAEtG,mBAAmB;;;EAGnB,SAAS,CAAC,WAAW;;;CAGtB,CAAC;QACE,CAAC;QAED,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAChE,OAAO;sBACW,SAAS,CAAC,oBAAoB;;;;EAIlD,SAAS;;;uBAGY,SAAS,CAAC,UAAU;EACzC,mBAAmB;;;EAGnB,SAAS,CAAC,WAAW;;;EAGrB,SAAS,CAAC,aAAa;;;;;CAKxB,CAAC;IACA,CAAC;CACF"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { Development, Revision, developing, developingArgsOptions, developingPipeline, developingSkill, developingSkillArgsOptions, developingSkillPipeline, } from "./pipeline/index.js";
2
- export type { DevelopmentAgentVariablesByName, DevelopmentCallbacks, DevelopingOptions, DevelopingSkillAgentVariables, DevelopingSkillOptions, RevisionAgentVariablesByName, } from "./pipeline/index.js";
1
+ export { ProjectDevLoop, TaskDevLoop, developing, developingArgsOptions, developingPipeline, developingSkill, developingSkillArgsOptions, developingSkillPipeline, } from "./pipeline/index.js";
2
+ export type { DevelopingOptions, DevelopingSkillAgentVariables, DevelopingSkillOptions, ProjectDevLoopAgentVariablesByName, ProjectDevLoopCallbacks, TaskDevLoopAgentVariablesByName, } from "./pipeline/index.js";
3
3
  export { CodeReviewerAgent, CodingManagerAgent, DeveloperAgent, DevelopingAgent, TrajectoryOptimizerAgent, agentFactories, } from "./agents/index.js";
4
4
  export type { CodeReviewerVariables, CodingManagerVariables, DeveloperVariables, DevelopingAgentConstants, DevelopingAgentVariables, TrajectoryOptimizerVariables, } from "./agents/index.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACV,+BAA+B,EAC/B,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACV,iBAAiB,EACjB,6BAA6B,EAC7B,sBAAsB,EACtB,kCAAkC,EAClC,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Development, Revision, developing, developingArgsOptions, developingPipeline, developingSkill, developingSkillArgsOptions, developingSkillPipeline, } from "./pipeline/index.js";
1
+ export { ProjectDevLoop, TaskDevLoop, developing, developingArgsOptions, developingPipeline, developingSkill, developingSkillArgsOptions, developingSkillPipeline, } from "./pipeline/index.js";
2
2
  export { CodeReviewerAgent, CodingManagerAgent, DeveloperAgent, DevelopingAgent, TrajectoryOptimizerAgent, agentFactories, } from "./agents/index.js";
3
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,cAAc,GACf,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,cAAc,GACf,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { AgentFactoryMap } from "coding-agent-forge";
2
+ export declare const agentFactories: AgentFactoryMap;
3
+ //# sourceMappingURL=factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/pipeline/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,cAAc,EAAE,eAG5B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { createMemoryAgentFactories } from "memory-agent-forge";
2
+ import { agentFactories as developingAgentFactories } from "../agents/index.js";
3
+ export const agentFactories = {
4
+ ...developingAgentFactories,
5
+ ...createMemoryAgentFactories(),
6
+ };
7
+ //# sourceMappingURL=factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/pipeline/factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,cAAc,IAAI,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEhF,MAAM,CAAC,MAAM,cAAc,GAAoB;IAC7C,GAAG,wBAAwB;IAC3B,GAAG,0BAA0B,EAAE;CAChC,CAAC"}
@@ -1,5 +1,5 @@
1
- export { Development, type DevelopmentAgentVariablesByName, type DevelopmentCallbacks, } from "./development.js";
2
- export { Revision, type RevisionAgentVariablesByName } from "./revision.js";
1
+ export { ProjectDevLoop, type ProjectDevLoopAgentVariablesByName, type ProjectDevLoopCallbacks, } from "./project-devloop.js";
2
+ export { TaskDevLoop, type TaskDevLoopAgentVariablesByName } from "./task-devloop.js";
3
3
  export { developing, developingArgsOptions, developingPipeline, type DevelopingOptions, } from "./pipeline.js";
4
4
  export { developingSkill, developingSkillArgsOptions, developingSkillPipeline, type DevelopingSkillAgentVariables, type DevelopingSkillOptions, } from "./pipelineskill.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pipeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,KAAK,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,KAAK,iBAAiB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,EACvB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,GAC5B,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pipeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,KAAK,+BAA+B,EAAE,MAAM,mBAAmB,CAAC;AACtF,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,kBAAkB,EAClB,KAAK,iBAAiB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,EACvB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,GAC5B,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
- export { Development, } from "./development.js";
2
- export { Revision } from "./revision.js";
1
+ export { ProjectDevLoop, } from "./project-devloop.js";
2
+ export { TaskDevLoop } from "./task-devloop.js";
3
3
  export { developing, developingArgsOptions, developingPipeline, } from "./pipeline.js";
4
4
  export { developingSkill, developingSkillArgsOptions, developingSkillPipeline, } from "./pipelineskill.js";
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pipeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,GAGZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAqC,MAAM,eAAe,CAAC;AAC5E,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GAGxB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pipeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,GAGf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAwC,MAAM,mBAAmB,CAAC;AACtF,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,uBAAuB,GAGxB,MAAM,oBAAoB,CAAC"}
@@ -1,29 +1,23 @@
1
1
  import { AgentTeam } from "coding-agent-forge";
2
- import { type DevelopmentAgentVariablesByName, type DevelopmentCallbacks } from "./development.js";
2
+ import { type ProjectDevLoopAgentVariablesByName, type ProjectDevLoopCallbacks } from "./project-devloop.js";
3
3
  export type DevelopingOptions = {
4
4
  targetPath: string;
5
- achiveDir: string;
6
- artifactPath: string;
7
5
  codingStyleSkillPath: string;
8
6
  goalPath: string;
7
+ achiveDir: string;
9
8
  maxIterations: number;
10
- maxRevisionIterations: number;
11
- callbacks?: DevelopmentCallbacks;
9
+ maxTaskDevLoopIterations: number;
10
+ projectProgressMemoryPath: string;
11
+ codeDesignMemoryPath: string;
12
+ maxMemoryRounds: number;
13
+ callbacks?: ProjectDevLoopCallbacks;
12
14
  };
13
- export declare function developing(team: AgentTeam<DevelopmentAgentVariablesByName>, options: DevelopingOptions): Promise<void>;
15
+ export declare function developing(team: AgentTeam<ProjectDevLoopAgentVariablesByName>, options: DevelopingOptions): Promise<void>;
14
16
  export declare const developingArgsOptions: {
15
17
  readonly "target-path": {
16
18
  readonly type: "string";
17
19
  readonly description: "Target repository folder to create or modify";
18
20
  };
19
- readonly "achive-dir": {
20
- readonly type: "string";
21
- readonly description: "Archive folder for per-iteration reports";
22
- };
23
- readonly "artifact-path": {
24
- readonly type: "string";
25
- readonly description: "Working artifact folder containing TODO.md";
26
- };
27
21
  readonly "coding-style-skill-path": {
28
22
  readonly type: "string";
29
23
  readonly description: "Coding style skill path used by the agents";
@@ -32,29 +26,38 @@ export declare const developingArgsOptions: {
32
26
  readonly type: "string";
33
27
  readonly description: "Goal document path";
34
28
  };
29
+ readonly "achive-dir": {
30
+ readonly type: "string";
31
+ readonly description: "Archive folder for per-iteration reports";
32
+ };
35
33
  readonly "max-iterations": {
36
34
  readonly type: "string";
37
35
  readonly default: "10";
38
- readonly description: "Maximum number of development iterations";
36
+ readonly description: "Maximum number of project iterations";
39
37
  };
40
- readonly "max-revision-iterations": {
38
+ readonly "max-task-devloop-iterations": {
41
39
  readonly type: "string";
42
40
  readonly default: "3";
43
- readonly description: "Maximum review revisions per development iteration";
41
+ readonly description: "Maximum developer/reviewer attempts per selected task";
44
42
  };
45
- };
46
- export declare const developingPipeline: import("coding-agent-forge").Pipeline<{
47
- readonly "target-path": {
43
+ readonly "project-progress-memory-path": {
48
44
  readonly type: "string";
49
- readonly description: "Target repository folder to create or modify";
45
+ readonly description: "Memory directory for project progress continuity";
50
46
  };
51
- readonly "achive-dir": {
47
+ readonly "code-design-memory-path": {
52
48
  readonly type: "string";
53
- readonly description: "Archive folder for per-iteration reports";
49
+ readonly description: "Memory directory for code design continuity";
54
50
  };
55
- readonly "artifact-path": {
51
+ readonly "max-memory-rounds": {
56
52
  readonly type: "string";
57
- readonly description: "Working artifact folder containing TODO.md";
53
+ readonly default: "3";
54
+ readonly description: "Maximum recall and remember refinement rounds";
55
+ };
56
+ };
57
+ export declare const developingPipeline: import("coding-agent-forge").Pipeline<{
58
+ readonly "target-path": {
59
+ readonly type: "string";
60
+ readonly description: "Target repository folder to create or modify";
58
61
  };
59
62
  readonly "coding-style-skill-path": {
60
63
  readonly type: "string";
@@ -64,15 +67,32 @@ export declare const developingPipeline: import("coding-agent-forge").Pipeline<{
64
67
  readonly type: "string";
65
68
  readonly description: "Goal document path";
66
69
  };
70
+ readonly "achive-dir": {
71
+ readonly type: "string";
72
+ readonly description: "Archive folder for per-iteration reports";
73
+ };
67
74
  readonly "max-iterations": {
68
75
  readonly type: "string";
69
76
  readonly default: "10";
70
- readonly description: "Maximum number of development iterations";
77
+ readonly description: "Maximum number of project iterations";
78
+ };
79
+ readonly "max-task-devloop-iterations": {
80
+ readonly type: "string";
81
+ readonly default: "3";
82
+ readonly description: "Maximum developer/reviewer attempts per selected task";
83
+ };
84
+ readonly "project-progress-memory-path": {
85
+ readonly type: "string";
86
+ readonly description: "Memory directory for project progress continuity";
87
+ };
88
+ readonly "code-design-memory-path": {
89
+ readonly type: "string";
90
+ readonly description: "Memory directory for code design continuity";
71
91
  };
72
- readonly "max-revision-iterations": {
92
+ readonly "max-memory-rounds": {
73
93
  readonly type: "string";
74
94
  readonly default: "3";
75
- readonly description: "Maximum review revisions per development iteration";
95
+ readonly description: "Maximum recall and remember refinement rounds";
76
96
  };
77
- }, DevelopmentAgentVariablesByName>;
97
+ }, ProjectDevLoopAgentVariablesByName>;
78
98
  //# sourceMappingURL=pipeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/pipeline/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAKV,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EAC1B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,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AAO,EAAE,iBAAiB,GACzB,OAAO,CAAC,IAAI,CAAC,CAqBf;AAUD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCM,CAAC;AAEzC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAsD7B,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { definePipeline, } from "coding-agent-forge";
2
2
  import { readFile } from "node:fs/promises";
3
3
  import path from "node:path";
4
- import { agentFactories } from "../agents/index.js";
5
- import { Development, } from "./development.js";
4
+ import { ProjectDevLoop, } from "./project-devloop.js";
5
+ import { agentFactories } from "./factory.js";
6
6
  export async function developing(team, options) {
7
7
  const logRecord = (thread, record) => {
8
8
  console.log(thread.recordToPrettyString(record));
9
9
  };
10
10
  const goal = await readGoal(options.goalPath);
11
- await new Development().develop(team, options.targetPath, options.achiveDir, options.artifactPath, options.codingStyleSkillPath, goal, options.maxIterations, options.maxRevisionIterations, options.callbacks, logRecord);
11
+ await new ProjectDevLoop().develop(team, options.targetPath, options.codingStyleSkillPath, goal, options.achiveDir, options.maxIterations, options.maxTaskDevLoopIterations, options.projectProgressMemoryPath, options.codeDesignMemoryPath, options.maxMemoryRounds, options.callbacks, logRecord);
12
12
  }
13
13
  async function readGoal(goalPath) {
14
14
  const goal = (await readFile(path.resolve(goalPath), "utf8")).trim();
@@ -22,14 +22,6 @@ export const developingArgsOptions = {
22
22
  type: "string",
23
23
  description: "Target repository folder to create or modify",
24
24
  },
25
- "achive-dir": {
26
- type: "string",
27
- description: "Archive folder for per-iteration reports",
28
- },
29
- "artifact-path": {
30
- type: "string",
31
- description: "Working artifact folder containing TODO.md",
32
- },
33
25
  "coding-style-skill-path": {
34
26
  type: "string",
35
27
  description: "Coding style skill path used by the agents",
@@ -38,45 +30,66 @@ export const developingArgsOptions = {
38
30
  type: "string",
39
31
  description: "Goal document path",
40
32
  },
33
+ "achive-dir": {
34
+ type: "string",
35
+ description: "Archive folder for per-iteration reports",
36
+ },
41
37
  "max-iterations": {
42
38
  type: "string",
43
39
  default: "10",
44
- description: "Maximum number of development iterations",
40
+ description: "Maximum number of project iterations",
45
41
  },
46
- "max-revision-iterations": {
42
+ "max-task-devloop-iterations": {
47
43
  type: "string",
48
44
  default: "3",
49
- description: "Maximum review revisions per development iteration",
45
+ description: "Maximum developer/reviewer attempts per selected task",
46
+ },
47
+ "project-progress-memory-path": {
48
+ type: "string",
49
+ description: "Memory directory for project progress continuity",
50
+ },
51
+ "code-design-memory-path": {
52
+ type: "string",
53
+ description: "Memory directory for code design continuity",
54
+ },
55
+ "max-memory-rounds": {
56
+ type: "string",
57
+ default: "3",
58
+ description: "Maximum recall and remember refinement rounds",
50
59
  },
51
60
  };
52
61
  export const developingPipeline = definePipeline({
53
62
  name: "developing",
54
- description: "Run the code development loop.",
63
+ description: "Run the project development workflow.",
55
64
  argsOptions: developingArgsOptions,
56
65
  agentFactories,
57
66
  async run(team, options) {
58
- const { "target-path": targetPath, "achive-dir": achiveDir, "artifact-path": artifactPath, "coding-style-skill-path": codingStyleSkillPath, "goal-path": goalPath, "max-iterations": maxIterations, "max-revision-iterations": maxRevisionIterations, callbacks, } = options;
67
+ const { "target-path": targetPath, "coding-style-skill-path": codingStyleSkillPath, "goal-path": goalPath, "achive-dir": achiveDir, "max-iterations": maxIterations, "max-task-devloop-iterations": maxTaskDevLoopIterations, "project-progress-memory-path": projectProgressMemoryPath, "code-design-memory-path": codeDesignMemoryPath, "max-memory-rounds": maxMemoryRounds, callbacks, } = options;
59
68
  if (targetPath === undefined ||
60
- achiveDir === undefined ||
61
- artifactPath === undefined ||
62
69
  codingStyleSkillPath === undefined ||
63
- goalPath === undefined) {
70
+ goalPath === undefined ||
71
+ achiveDir === undefined ||
72
+ projectProgressMemoryPath === undefined ||
73
+ codeDesignMemoryPath === undefined) {
64
74
  throw new Error([
65
75
  "--target-path",
66
- "--achive-dir",
67
- "--artifact-path",
68
76
  "--coding-style-skill-path",
69
77
  "--goal-path",
78
+ "--achive-dir",
79
+ "--project-progress-memory-path",
80
+ "--code-design-memory-path",
70
81
  ].join(", ") + " are required");
71
82
  }
72
83
  await developing(team, {
73
84
  targetPath,
74
- achiveDir,
75
- artifactPath,
76
85
  codingStyleSkillPath,
77
86
  goalPath,
87
+ achiveDir,
78
88
  maxIterations: Number(maxIterations),
79
- maxRevisionIterations: Number(maxRevisionIterations),
89
+ maxTaskDevLoopIterations: Number(maxTaskDevLoopIterations),
90
+ projectProgressMemoryPath,
91
+ codeDesignMemoryPath,
92
+ maxMemoryRounds: Number(maxMemoryRounds),
80
93
  ...(callbacks === undefined ? {} : { callbacks }),
81
94
  });
82
95
  },
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../src/pipeline/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,GAIf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,WAAW,GAGZ,MAAM,kBAAkB,CAAC;AAa1B,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,IAAgD,EAChD,OAA0B;IAE1B,MAAM,SAAS,GAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE;QACnD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;IAEF,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,MAAM,IAAI,WAAW,EAAE,CAAC,OAAO,CAC7B,IAAI,EACJ,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,SAAS,EACjB,OAAO,CAAC,YAAY,EACpB,OAAO,CAAC,oBAAoB,E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Aa;gBACb,cAAc;gBACd,gCAAgC;gBAChC,2BAA2B;aAC5B,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,eAAe,CAC/B,CAAC;QACJ,CAAC;QAED,MAAM,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU;YACV,oBAAoB;YACpB,QAAQ;YACR,SAAS;YACT,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC;YACpC,wBAAwB,EAAE,MAAM,CAAC,wBAAwB,CAAC;YAC1D,yBAAyB;YACzB,oBAAoB;YACpB,eAAe,EAAE,MAAM,CAAC,eAAe,CAAC;YACxC,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC;SAClD,CAAC,CAAC;IACL,CAAC;CACF,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { AgentTeam, type PipelineOptions } from "coding-agent-forge";
2
- import { type TrajectoryOptimizerVariables } from "../agents/index.js";
3
- import type { DevelopmentAgentVariablesByName } from "./development.js";
4
- export type DevelopingSkillAgentVariables = DevelopmentAgentVariablesByName & {
2
+ import type { TrajectoryOptimizerVariables } from "../agents/index.js";
3
+ import type { ProjectDevLoopAgentVariablesByName } from "./project-devloop.js";
4
+ export type DevelopingSkillAgentVariables = ProjectDevLoopAgentVariablesByName & {
5
5
  "trajectory-optimizer": TrajectoryOptimizerVariables;
6
6
  };
7
7
  export declare const developingSkillArgsOptions: {
@@ -9,14 +9,6 @@ export declare const developingSkillArgsOptions: {
9
9
  readonly type: "string";
10
10
  readonly description: "Target repository folder to create or modify";
11
11
  };
12
- readonly "achive-dir": {
13
- readonly type: "string";
14
- readonly description: "Archive folder for per-iteration reports";
15
- };
16
- readonly "artifact-path": {
17
- readonly type: "string";
18
- readonly description: "Working artifact folder containing TODO.md";
19
- };
20
12
  readonly "coding-style-skill-path": {
21
13
  readonly type: "string";
22
14
  readonly description: "Coding style skill path used by the agents";
@@ -25,15 +17,32 @@ export declare const developingSkillArgsOptions: {
25
17
  readonly type: "string";
26
18
  readonly description: "Goal document path";
27
19
  };
20
+ readonly "achive-dir": {
21
+ readonly type: "string";
22
+ readonly description: "Archive folder for per-iteration reports";
23
+ };
28
24
  readonly "max-iterations": {
29
25
  readonly type: "string";
30
26
  readonly default: "10";
31
- readonly description: "Maximum number of development iterations";
27
+ readonly description: "Maximum number of project iterations";
28
+ };
29
+ readonly "max-task-devloop-iterations": {
30
+ readonly type: "string";
31
+ readonly default: "3";
32
+ readonly description: "Maximum developer/reviewer attempts per selected task";
33
+ };
34
+ readonly "project-progress-memory-path": {
35
+ readonly type: "string";
36
+ readonly description: "Memory directory for project progress continuity";
37
+ };
38
+ readonly "code-design-memory-path": {
39
+ readonly type: "string";
40
+ readonly description: "Memory directory for code design continuity";
32
41
  };
33
- readonly "max-revision-iterations": {
42
+ readonly "max-memory-rounds": {
34
43
  readonly type: "string";
35
44
  readonly default: "3";
36
- readonly description: "Maximum review revisions per development iteration";
45
+ readonly description: "Maximum recall and remember refinement rounds";
37
46
  };
38
47
  readonly "metaskill-path": {
39
48
  readonly type: "string";
@@ -47,14 +56,6 @@ export declare const developingSkillPipeline: import("coding-agent-forge").Pipel
47
56
  readonly type: "string";
48
57
  readonly description: "Target repository folder to create or modify";
49
58
  };
50
- readonly "achive-dir": {
51
- readonly type: "string";
52
- readonly description: "Archive folder for per-iteration reports";
53
- };
54
- readonly "artifact-path": {
55
- readonly type: "string";
56
- readonly description: "Working artifact folder containing TODO.md";
57
- };
58
59
  readonly "coding-style-skill-path": {
59
60
  readonly type: "string";
60
61
  readonly description: "Coding style skill path used by the agents";
@@ -63,15 +64,32 @@ export declare const developingSkillPipeline: import("coding-agent-forge").Pipel
63
64
  readonly type: "string";
64
65
  readonly description: "Goal document path";
65
66
  };
67
+ readonly "achive-dir": {
68
+ readonly type: "string";
69
+ readonly description: "Archive folder for per-iteration reports";
70
+ };
66
71
  readonly "max-iterations": {
67
72
  readonly type: "string";
68
73
  readonly default: "10";
69
- readonly description: "Maximum number of development iterations";
74
+ readonly description: "Maximum number of project iterations";
75
+ };
76
+ readonly "max-task-devloop-iterations": {
77
+ readonly type: "string";
78
+ readonly default: "3";
79
+ readonly description: "Maximum developer/reviewer attempts per selected task";
80
+ };
81
+ readonly "project-progress-memory-path": {
82
+ readonly type: "string";
83
+ readonly description: "Memory directory for project progress continuity";
84
+ };
85
+ readonly "code-design-memory-path": {
86
+ readonly type: "string";
87
+ readonly description: "Memory directory for code design continuity";
70
88
  };
71
- readonly "max-revision-iterations": {
89
+ readonly "max-memory-rounds": {
72
90
  readonly type: "string";
73
91
  readonly default: "3";
74
- readonly description: "Maximum review revisions per development iteration";
92
+ readonly description: "Maximum recall and remember refinement rounds";
75
93
  };
76
94
  readonly "metaskill-path": {
77
95
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"pipelineskill.d.ts","sourceRoot":"","sources":["../../src/pipeline/pipelineskill.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGT,KAAK,eAAe,EAErB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAkB,KAAK,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,KAAK,EAAE,+BAA+B,EAAwB,MAAM,kBAAkB,CAAC;AAG9F,MAAM,MAAM,6BAA6B,GAAG,+BAA+B,GAAG;IAC5E,sBAAsB,EAAE,4BAA4B,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMC,CAAC;AAEzC,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAExF,wBAAsB,eAAe,CACnC,IAAI,EAAE,SAAS,CAAC,6BAA6B,CAAC,EAC9C,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAqDf;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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