@cluesmith/codev 2.0.0-rc.24 → 2.0.0-rc.26

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 (128) hide show
  1. package/dist/agent-farm/cli.d.ts.map +1 -1
  2. package/dist/agent-farm/cli.js +52 -52
  3. package/dist/agent-farm/cli.js.map +1 -1
  4. package/dist/agent-farm/commands/consult.js +1 -1
  5. package/dist/agent-farm/commands/consult.js.map +1 -1
  6. package/dist/agent-farm/commands/index.d.ts +1 -2
  7. package/dist/agent-farm/commands/index.d.ts.map +1 -1
  8. package/dist/agent-farm/commands/index.js +1 -2
  9. package/dist/agent-farm/commands/index.js.map +1 -1
  10. package/dist/agent-farm/commands/{util.d.ts → shell.d.ts} +4 -4
  11. package/dist/agent-farm/commands/shell.d.ts.map +1 -0
  12. package/dist/agent-farm/commands/{util.js → shell.js} +4 -4
  13. package/dist/agent-farm/commands/shell.js.map +1 -0
  14. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  15. package/dist/agent-farm/commands/spawn.js +361 -66
  16. package/dist/agent-farm/commands/spawn.js.map +1 -1
  17. package/dist/agent-farm/commands/start.js +5 -4
  18. package/dist/agent-farm/commands/start.js.map +1 -1
  19. package/dist/agent-farm/commands/tower.d.ts.map +1 -1
  20. package/dist/agent-farm/commands/tower.js +2 -1
  21. package/dist/agent-farm/commands/tower.js.map +1 -1
  22. package/dist/agent-farm/hq-connector.d.ts +2 -2
  23. package/dist/agent-farm/hq-connector.js +2 -2
  24. package/dist/agent-farm/servers/dashboard-server.js +153 -6
  25. package/dist/agent-farm/servers/dashboard-server.js.map +1 -1
  26. package/dist/agent-farm/servers/tower-server.js +374 -0
  27. package/dist/agent-farm/servers/tower-server.js.map +1 -1
  28. package/dist/agent-farm/types.d.ts +38 -0
  29. package/dist/agent-farm/types.d.ts.map +1 -1
  30. package/dist/agent-farm/utils/notifications.d.ts +30 -0
  31. package/dist/agent-farm/utils/notifications.d.ts.map +1 -0
  32. package/dist/agent-farm/utils/notifications.js +121 -0
  33. package/dist/agent-farm/utils/notifications.js.map +1 -0
  34. package/dist/agent-farm/utils/server-utils.d.ts +2 -1
  35. package/dist/agent-farm/utils/server-utils.d.ts.map +1 -1
  36. package/dist/agent-farm/utils/server-utils.js +11 -1
  37. package/dist/agent-farm/utils/server-utils.js.map +1 -1
  38. package/dist/agent-farm/utils/shell.d.ts +1 -0
  39. package/dist/agent-farm/utils/shell.d.ts.map +1 -1
  40. package/dist/agent-farm/utils/shell.js +2 -0
  41. package/dist/agent-farm/utils/shell.js.map +1 -1
  42. package/dist/cli.d.ts.map +1 -1
  43. package/dist/cli.js +0 -37
  44. package/dist/cli.js.map +1 -1
  45. package/dist/commands/adopt.js +3 -3
  46. package/dist/commands/adopt.js.map +1 -1
  47. package/dist/commands/init.js +1 -1
  48. package/dist/commands/porch/run.d.ts.map +1 -1
  49. package/dist/commands/porch/run.js +5 -0
  50. package/dist/commands/porch/run.js.map +1 -1
  51. package/package.json +3 -1
  52. package/skeleton/protocol-schema.json +282 -0
  53. package/skeleton/protocols/bugfix/builder-prompt.md +49 -0
  54. package/skeleton/protocols/bugfix/protocol.json +13 -1
  55. package/skeleton/protocols/experiment/builder-prompt.md +47 -0
  56. package/skeleton/protocols/experiment/protocol.json +101 -0
  57. package/skeleton/protocols/maintain/builder-prompt.md +41 -0
  58. package/skeleton/protocols/maintain/protocol.json +114 -0
  59. package/skeleton/protocols/protocol-schema.json +53 -0
  60. package/skeleton/protocols/spider/builder-prompt.md +53 -0
  61. package/skeleton/protocols/spider/protocol.json +7 -1
  62. package/skeleton/protocols/tick/builder-prompt.md +51 -0
  63. package/skeleton/protocols/tick/protocol.json +6 -1
  64. package/skeleton/resources/commands/agent-farm.md +23 -41
  65. package/skeleton/resources/commands/overview.md +5 -5
  66. package/skeleton/resources/workflow-reference.md +2 -2
  67. package/skeleton/roles/architect.md +49 -33
  68. package/skeleton/roles/builder.md +77 -108
  69. package/skeleton/templates/cheatsheet.md +4 -2
  70. package/templates/tower.html +456 -17
  71. package/dist/agent-farm/commands/kickoff.d.ts +0 -20
  72. package/dist/agent-farm/commands/kickoff.d.ts.map +0 -1
  73. package/dist/agent-farm/commands/kickoff.js +0 -343
  74. package/dist/agent-farm/commands/kickoff.js.map +0 -1
  75. package/dist/agent-farm/commands/tutorial.d.ts +0 -10
  76. package/dist/agent-farm/commands/tutorial.d.ts.map +0 -1
  77. package/dist/agent-farm/commands/tutorial.js +0 -49
  78. package/dist/agent-farm/commands/tutorial.js.map +0 -1
  79. package/dist/agent-farm/commands/util.d.ts.map +0 -1
  80. package/dist/agent-farm/commands/util.js.map +0 -1
  81. package/dist/agent-farm/tutorial/index.d.ts +0 -8
  82. package/dist/agent-farm/tutorial/index.d.ts.map +0 -1
  83. package/dist/agent-farm/tutorial/index.js +0 -8
  84. package/dist/agent-farm/tutorial/index.js.map +0 -1
  85. package/dist/agent-farm/tutorial/prompts.d.ts +0 -57
  86. package/dist/agent-farm/tutorial/prompts.d.ts.map +0 -1
  87. package/dist/agent-farm/tutorial/prompts.js +0 -147
  88. package/dist/agent-farm/tutorial/prompts.js.map +0 -1
  89. package/dist/agent-farm/tutorial/runner.d.ts +0 -52
  90. package/dist/agent-farm/tutorial/runner.d.ts.map +0 -1
  91. package/dist/agent-farm/tutorial/runner.js +0 -204
  92. package/dist/agent-farm/tutorial/runner.js.map +0 -1
  93. package/dist/agent-farm/tutorial/state.d.ts +0 -26
  94. package/dist/agent-farm/tutorial/state.d.ts.map +0 -1
  95. package/dist/agent-farm/tutorial/state.js +0 -89
  96. package/dist/agent-farm/tutorial/state.js.map +0 -1
  97. package/dist/agent-farm/tutorial/steps/first-spec.d.ts +0 -7
  98. package/dist/agent-farm/tutorial/steps/first-spec.d.ts.map +0 -1
  99. package/dist/agent-farm/tutorial/steps/first-spec.js +0 -136
  100. package/dist/agent-farm/tutorial/steps/first-spec.js.map +0 -1
  101. package/dist/agent-farm/tutorial/steps/implementation.d.ts +0 -7
  102. package/dist/agent-farm/tutorial/steps/implementation.d.ts.map +0 -1
  103. package/dist/agent-farm/tutorial/steps/implementation.js +0 -76
  104. package/dist/agent-farm/tutorial/steps/implementation.js.map +0 -1
  105. package/dist/agent-farm/tutorial/steps/index.d.ts +0 -10
  106. package/dist/agent-farm/tutorial/steps/index.d.ts.map +0 -1
  107. package/dist/agent-farm/tutorial/steps/index.js +0 -10
  108. package/dist/agent-farm/tutorial/steps/index.js.map +0 -1
  109. package/dist/agent-farm/tutorial/steps/planning.d.ts +0 -7
  110. package/dist/agent-farm/tutorial/steps/planning.d.ts.map +0 -1
  111. package/dist/agent-farm/tutorial/steps/planning.js +0 -143
  112. package/dist/agent-farm/tutorial/steps/planning.js.map +0 -1
  113. package/dist/agent-farm/tutorial/steps/review.d.ts +0 -7
  114. package/dist/agent-farm/tutorial/steps/review.d.ts.map +0 -1
  115. package/dist/agent-farm/tutorial/steps/review.js +0 -78
  116. package/dist/agent-farm/tutorial/steps/review.js.map +0 -1
  117. package/dist/agent-farm/tutorial/steps/setup.d.ts +0 -7
  118. package/dist/agent-farm/tutorial/steps/setup.d.ts.map +0 -1
  119. package/dist/agent-farm/tutorial/steps/setup.js +0 -126
  120. package/dist/agent-farm/tutorial/steps/setup.js.map +0 -1
  121. package/dist/agent-farm/tutorial/steps/welcome.d.ts +0 -7
  122. package/dist/agent-farm/tutorial/steps/welcome.d.ts.map +0 -1
  123. package/dist/agent-farm/tutorial/steps/welcome.js +0 -50
  124. package/dist/agent-farm/tutorial/steps/welcome.js.map +0 -1
  125. package/dist/commands/tower.d.ts +0 -16
  126. package/dist/commands/tower.d.ts.map +0 -1
  127. package/dist/commands/tower.js +0 -21
  128. package/dist/commands/tower.js.map +0 -1
@@ -1,126 +0,0 @@
1
- /**
2
- * Tutorial Step 2: Setup Phase
3
- * Creates codev directory structure and explains it
4
- */
5
- import { existsSync, mkdirSync } from 'node:fs';
6
- import { writeFile } from 'node:fs/promises';
7
- import { resolve } from 'node:path';
8
- import * as prompts from '../prompts.js';
9
- const AGENTS_MD_TEMPLATE = `# AI Agent Instructions
10
-
11
- This file provides instructions to AI coding assistants working on this project.
12
-
13
- ## Project Overview
14
-
15
- [Describe your project here]
16
-
17
- ## Development Workflow
18
-
19
- This project uses Codev for structured AI-assisted development:
20
-
21
- - **Specifications** (codev/specs/): What to build
22
- - **Plans** (codev/plans/): How to build it
23
- - **Reviews** (codev/reviews/): Lessons learned
24
-
25
- ## Available Protocols
26
-
27
- - **TICK**: Fast protocol for small, well-defined tasks
28
- - **SPIDER**: Full protocol with consultation for complex features
29
-
30
- ## Getting Started
31
-
32
- 1. Check \`codev/projectlist.md\` for current project status
33
- 2. Run \`af tutorial\` if you're new to the project
34
- 3. See \`codev/protocols/\` for detailed protocol documentation
35
- `;
36
- const PROJECTLIST_TEMPLATE = `# Project List
37
-
38
- Track all projects and their status here.
39
-
40
- ## Active Projects
41
-
42
- \`\`\`yaml
43
- projects: []
44
- \`\`\`
45
-
46
- ## Next Available Number
47
-
48
- **0001** - Reserve this number for your next project
49
- `;
50
- export const setupStep = {
51
- id: 'setup',
52
- title: 'Project Setup',
53
- async run(ctx) {
54
- if (ctx.hasCodev) {
55
- prompts.success('Codev is already set up in this project!');
56
- console.log();
57
- prompts.content('Your codev directory structure:');
58
- prompts.bullet('codev/specs/ - Feature specifications');
59
- prompts.bullet('codev/plans/ - Implementation plans');
60
- prompts.bullet('codev/reviews/ - Post-implementation reviews');
61
- prompts.bullet('codev/protocols/ - Development protocols');
62
- prompts.bullet('codev/projectlist.md - Project tracking');
63
- console.log();
64
- await prompts.pressEnter();
65
- return { status: 'completed' };
66
- }
67
- prompts.content('Let\'s set up the Codev directory structure.\n');
68
- prompts.content('This will create:');
69
- prompts.bullet('codev/specs/ - Where you\'ll write feature specifications');
70
- prompts.bullet('codev/plans/ - Where implementation plans go');
71
- prompts.bullet('codev/reviews/ - Where you\'ll document lessons learned');
72
- prompts.bullet('codev/projectlist.md - Master project tracking file');
73
- console.log();
74
- const shouldCreate = await prompts.confirm('Create these directories?');
75
- if (!shouldCreate) {
76
- prompts.info('You can manually create the codev/ directory later.');
77
- return { status: 'skipped' };
78
- }
79
- // Create directories
80
- const codevDir = resolve(ctx.projectPath, 'codev');
81
- const dirs = ['specs', 'plans', 'reviews', 'protocols', 'resources'];
82
- try {
83
- if (!existsSync(codevDir)) {
84
- mkdirSync(codevDir, { recursive: true });
85
- }
86
- for (const dir of dirs) {
87
- const dirPath = resolve(codevDir, dir);
88
- if (!existsSync(dirPath)) {
89
- mkdirSync(dirPath, { recursive: true });
90
- }
91
- }
92
- // Create projectlist.md
93
- const projectlistPath = resolve(codevDir, 'projectlist.md');
94
- if (!existsSync(projectlistPath)) {
95
- await writeFile(projectlistPath, PROJECTLIST_TEMPLATE);
96
- }
97
- // Create CLAUDE.md / AGENTS.md if they don't exist
98
- const claudeMdPath = resolve(ctx.projectPath, 'CLAUDE.md');
99
- const agentsMdPath = resolve(ctx.projectPath, 'AGENTS.md');
100
- if (!existsSync(claudeMdPath) && !existsSync(agentsMdPath)) {
101
- await writeFile(agentsMdPath, AGENTS_MD_TEMPLATE);
102
- prompts.success('Created AGENTS.md with project instructions');
103
- }
104
- prompts.success('Created codev/ directory structure');
105
- console.log();
106
- prompts.content('Directory structure:');
107
- prompts.code(`codev/
108
- ├── specs/ # Feature specifications
109
- ├── plans/ # Implementation plans
110
- ├── reviews/ # Post-implementation reviews
111
- ├── protocols/ # Development protocols
112
- ├── resources/ # Reference materials
113
- └── projectlist.md`);
114
- }
115
- catch (error) {
116
- prompts.warn(`Failed to create directories: ${error instanceof Error ? error.message : String(error)}`);
117
- return { status: 'aborted' };
118
- }
119
- console.log();
120
- prompts.info('Tip: Add AGENTS.md to version control so AI assistants can read it.');
121
- console.log();
122
- await prompts.pressEnter();
123
- return { status: 'completed' };
124
- },
125
- };
126
- //# sourceMappingURL=setup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../src/agent-farm/tutorial/steps/setup.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D;YACnD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;YAC3D,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;YAE3D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;gBAC3D,MAAM,SAAS,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;gBAClD,OAAO,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;YACjE,CAAC;YAED,OAAO,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;YACtD,OAAO,CAAC,GAAG,EAAE,CAAC;YAEd,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YACxC,OAAO,CAAC,IAAI,CAAC;;;;;;mBAMA,CAAC,CAAC;QAEjB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,IAAI,CAAC,iCAAiC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACxG,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;QAC/B,CAAC;QAED,OAAO,CAAC,GAAG,EAAE,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,qEAAqE,CAAC,CAAC;QACpF,OAAO,CAAC,GAAG,EAAE,CAAC;QAEd,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC;QAC3B,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IACjC,CAAC;CACF,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Tutorial Step 1: Welcome & Project Detection
3
- * Introduces Codev/Agent Farm and detects the project environment
4
- */
5
- import type { Step } from '../runner.js';
6
- export declare const welcomeStep: Step;
7
- //# sourceMappingURL=welcome.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"welcome.d.ts","sourceRoot":"","sources":["../../../../src/agent-farm/tutorial/steps/welcome.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,IAAI,EAA2B,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,WAAW,EAAE,IAkDzB,CAAC"}
@@ -1,50 +0,0 @@
1
- /**
2
- * Tutorial Step 1: Welcome & Project Detection
3
- * Introduces Codev/Agent Farm and detects the project environment
4
- */
5
- import * as prompts from '../prompts.js';
6
- export const welcomeStep = {
7
- id: 'welcome',
8
- title: 'Welcome & Project Detection',
9
- async run(ctx) {
10
- prompts.content('Welcome to Agent Farm! This tutorial will help you get started');
11
- prompts.content('with structured AI-assisted development.\n');
12
- // Show what we detected
13
- prompts.content('About your project:');
14
- prompts.bullet(`Project: ${ctx.projectName}`);
15
- prompts.bullet(`Type: ${ctx.projectType === 'other' ? 'Unknown' : ctx.projectType}`);
16
- prompts.bullet(`Git repository: ${ctx.hasGit ? 'Yes' : 'No'}`);
17
- prompts.bullet(`Codev initialized: ${ctx.hasCodev ? 'Yes' : 'No'}`);
18
- console.log();
19
- // Warn if not in a git repo
20
- if (!ctx.hasGit) {
21
- prompts.warn('This directory is not a git repository.');
22
- prompts.content('Codev works best with git for version control and worktrees.');
23
- console.log();
24
- const shouldContinue = await prompts.confirm('Continue anyway?');
25
- if (!shouldContinue) {
26
- prompts.info('Run `git init` to initialize a repository, then run `af tutorial` again.');
27
- return { status: 'aborted' };
28
- }
29
- }
30
- // Explain what Codev/Agent Farm is
31
- prompts.content('\nWhat is Agent Farm?\n');
32
- prompts.content('Agent Farm helps you work with AI coding assistants more effectively by:');
33
- prompts.bullet('Organizing work into specs, plans, and reviews');
34
- prompts.bullet('Using structured protocols (SPIDER, TICK) for development');
35
- prompts.bullet('Enabling the Architect/Builder pattern for parallel work');
36
- prompts.bullet('Maintaining project context and documentation');
37
- console.log();
38
- prompts.content('Key concepts:');
39
- prompts.bullet('Spec: What you want to build (the goal)');
40
- prompts.bullet('Plan: How you\'ll build it (the approach)');
41
- prompts.bullet('Review: What you learned (lessons and improvements)');
42
- console.log();
43
- const ready = await prompts.confirm('Ready to set up Codev in your project?');
44
- if (!ready) {
45
- return { status: 'aborted' };
46
- }
47
- return { status: 'completed' };
48
- },
49
- };
50
- //# sourceMappingURL=welcome.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"welcome.js","sourceRoot":"","sources":["../../../../src/agent-farm/tutorial/steps/welcome.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAS;IAC/B,EAAE,EAAE,SAAS;IACb,KAAK,EAAE,6BAA6B;IAEpC,KAAK,CAAC,GAAG,CAAC,GAAgB;QACxB,OAAO,CAAC,OAAO,CAAC,gEAAgE,CAAC,CAAC;QAClF,OAAO,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;QAE9D,wBAAwB;QACxB,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACvC,OAAO,CAAC,MAAM,CAAC,YAAY,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;QACrF,OAAO,CAAC,MAAM,CAAC,mBAAmB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QAC/D,OAAO,CAAC,MAAM,CAAC,sBAAsB,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;QACpE,OAAO,CAAC,GAAG,EAAE,CAAC;QAEd,4BAA4B;QAC5B,IAAI,CAAC,GAAG,CAAC,M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-1,16 +0,0 @@
1
- /**
2
- * codev tower - Cross-project dashboard
3
- *
4
- * Shows all running agent-farm instances across projects.
5
- * This is a framework-level command (not project-level like af).
6
- */
7
- interface TowerOptions {
8
- port?: number;
9
- stop?: boolean;
10
- }
11
- /**
12
- * Start or stop the tower dashboard
13
- */
14
- export declare function tower(options?: TowerOptions): Promise<void>;
15
- export {};
16
- //# sourceMappingURL=tower.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tower.d.ts","sourceRoot":"","sources":["../../src/commands/tower.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAWrE"}
@@ -1,21 +0,0 @@
1
- /**
2
- * codev tower - Cross-project dashboard
3
- *
4
- * Shows all running agent-farm instances across projects.
5
- * This is a framework-level command (not project-level like af).
6
- */
7
- /**
8
- * Start or stop the tower dashboard
9
- */
10
- export async function tower(options = {}) {
11
- // Import dynamically to avoid circular dependency with agent-farm
12
- const { towerStart, towerStop } = await import('../agent-farm/commands/tower.js');
13
- const port = options.port ?? 4100;
14
- if (options.stop) {
15
- await towerStop({ port });
16
- }
17
- else {
18
- await towerStart({ port });
19
- }
20
- }
21
- //# sourceMappingURL=tower.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tower.js","sourceRoot":"","sources":["../../src/commands/tower.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,KAAK,CAAC,UAAwB,EAAE;IACpD,kEAAkE;IAClE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;IAElF,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC;IAElC,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QACjB,MAAM,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,MAAM,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}