@cluesmith/codev 3.2.1 → 3.2.3

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 (161) hide show
  1. package/dashboard-dist/assets/{index-DM7OU-EI.js → index-BZ1x7x1X.js} +34 -34
  2. package/dashboard-dist/assets/index-BZ1x7x1X.js.map +1 -0
  3. package/dashboard-dist/index.html +1 -1
  4. package/dist/agent-farm/cli.d.ts.map +1 -1
  5. package/dist/agent-farm/cli.js +17 -0
  6. package/dist/agent-farm/cli.js.map +1 -1
  7. package/dist/agent-farm/commands/architect.d.ts.map +1 -1
  8. package/dist/agent-farm/commands/architect.js +6 -17
  9. package/dist/agent-farm/commands/architect.js.map +1 -1
  10. package/dist/agent-farm/commands/cleanup.js +3 -2
  11. package/dist/agent-farm/commands/cleanup.js.map +1 -1
  12. package/dist/agent-farm/commands/db.d.ts +10 -0
  13. package/dist/agent-farm/commands/db.d.ts.map +1 -1
  14. package/dist/agent-farm/commands/db.js +77 -0
  15. package/dist/agent-farm/commands/db.js.map +1 -1
  16. package/dist/agent-farm/commands/send.d.ts +40 -12
  17. package/dist/agent-farm/commands/send.d.ts.map +1 -1
  18. package/dist/agent-farm/commands/send.js +101 -34
  19. package/dist/agent-farm/commands/send.js.map +1 -1
  20. package/dist/agent-farm/commands/spawn-worktree.d.ts +12 -7
  21. package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
  22. package/dist/agent-farm/commands/spawn-worktree.js +40 -19
  23. package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
  24. package/dist/agent-farm/commands/spawn.d.ts +15 -6
  25. package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
  26. package/dist/agent-farm/commands/spawn.js +24 -17
  27. package/dist/agent-farm/commands/spawn.js.map +1 -1
  28. package/dist/agent-farm/commands/stop.js +2 -2
  29. package/dist/agent-farm/commands/stop.js.map +1 -1
  30. package/dist/agent-farm/commands/tower.d.ts +1 -0
  31. package/dist/agent-farm/commands/tower.d.ts.map +1 -1
  32. package/dist/agent-farm/commands/tower.js +50 -0
  33. package/dist/agent-farm/commands/tower.js.map +1 -1
  34. package/dist/agent-farm/commands/workspace-recover.d.ts +31 -0
  35. package/dist/agent-farm/commands/workspace-recover.d.ts.map +1 -1
  36. package/dist/agent-farm/commands/workspace-recover.js +70 -30
  37. package/dist/agent-farm/commands/workspace-recover.js.map +1 -1
  38. package/dist/agent-farm/db/consolidate.d.ts +66 -0
  39. package/dist/agent-farm/db/consolidate.d.ts.map +1 -0
  40. package/dist/agent-farm/db/consolidate.js +406 -0
  41. package/dist/agent-farm/db/consolidate.js.map +1 -0
  42. package/dist/agent-farm/db/index.d.ts +13 -4
  43. package/dist/agent-farm/db/index.d.ts.map +1 -1
  44. package/dist/agent-farm/db/index.js +108 -472
  45. package/dist/agent-farm/db/index.js.map +1 -1
  46. package/dist/agent-farm/db/schema.d.ts +11 -4
  47. package/dist/agent-farm/db/schema.d.ts.map +1 -1
  48. package/dist/agent-farm/db/schema.js +91 -2
  49. package/dist/agent-farm/db/schema.js.map +1 -1
  50. package/dist/agent-farm/db/types.d.ts +2 -0
  51. package/dist/agent-farm/db/types.d.ts.map +1 -1
  52. package/dist/agent-farm/db/types.js +1 -0
  53. package/dist/agent-farm/db/types.js.map +1 -1
  54. package/dist/agent-farm/lib/builder-lookup.d.ts.map +1 -1
  55. package/dist/agent-farm/lib/builder-lookup.js +9 -3
  56. package/dist/agent-farm/lib/builder-lookup.js.map +1 -1
  57. package/dist/agent-farm/servers/codev-config-watcher.d.ts +37 -0
  58. package/dist/agent-farm/servers/codev-config-watcher.d.ts.map +1 -0
  59. package/dist/agent-farm/servers/{worktree-config-watcher.js → codev-config-watcher.js} +15 -14
  60. package/dist/agent-farm/servers/codev-config-watcher.js.map +1 -0
  61. package/dist/agent-farm/servers/command-relay.d.ts +54 -0
  62. package/dist/agent-farm/servers/command-relay.d.ts.map +1 -0
  63. package/dist/agent-farm/servers/command-relay.js +94 -0
  64. package/dist/agent-farm/servers/command-relay.js.map +1 -0
  65. package/dist/agent-farm/servers/overview.d.ts.map +1 -1
  66. package/dist/agent-farm/servers/overview.js +12 -6
  67. package/dist/agent-farm/servers/overview.js.map +1 -1
  68. package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
  69. package/dist/agent-farm/servers/tower-instances.js +188 -58
  70. package/dist/agent-farm/servers/tower-instances.js.map +1 -1
  71. package/dist/agent-farm/servers/tower-messages.d.ts +9 -0
  72. package/dist/agent-farm/servers/tower-messages.d.ts.map +1 -1
  73. package/dist/agent-farm/servers/tower-messages.js +24 -0
  74. package/dist/agent-farm/servers/tower-messages.js.map +1 -1
  75. package/dist/agent-farm/servers/tower-routes.d.ts +1 -1
  76. package/dist/agent-farm/servers/tower-routes.d.ts.map +1 -1
  77. package/dist/agent-farm/servers/tower-routes.js +111 -35
  78. package/dist/agent-farm/servers/tower-routes.js.map +1 -1
  79. package/dist/agent-farm/servers/tower-server.js +41 -27
  80. package/dist/agent-farm/servers/tower-server.js.map +1 -1
  81. package/dist/agent-farm/servers/tower-terminals.d.ts.map +1 -1
  82. package/dist/agent-farm/servers/tower-terminals.js +47 -5
  83. package/dist/agent-farm/servers/tower-terminals.js.map +1 -1
  84. package/dist/agent-farm/servers/tower-types.d.ts +2 -0
  85. package/dist/agent-farm/servers/tower-types.d.ts.map +1 -1
  86. package/dist/agent-farm/servers/tower-utils.d.ts +117 -5
  87. package/dist/agent-farm/servers/tower-utils.d.ts.map +1 -1
  88. package/dist/agent-farm/servers/tower-utils.js +131 -14
  89. package/dist/agent-farm/servers/tower-utils.js.map +1 -1
  90. package/dist/agent-farm/state.d.ts +41 -21
  91. package/dist/agent-farm/state.d.ts.map +1 -1
  92. package/dist/agent-farm/state.js +137 -79
  93. package/dist/agent-farm/state.js.map +1 -1
  94. package/dist/agent-farm/types.d.ts +14 -0
  95. package/dist/agent-farm/types.d.ts.map +1 -1
  96. package/dist/agent-farm/utils/claude-session-discovery.d.ts +12 -0
  97. package/dist/agent-farm/utils/claude-session-discovery.d.ts.map +1 -1
  98. package/dist/agent-farm/utils/claude-session-discovery.js +42 -4
  99. package/dist/agent-farm/utils/claude-session-discovery.js.map +1 -1
  100. package/dist/agent-farm/utils/config.d.ts +24 -1
  101. package/dist/agent-farm/utils/config.d.ts.map +1 -1
  102. package/dist/agent-farm/utils/config.js +59 -3
  103. package/dist/agent-farm/utils/config.js.map +1 -1
  104. package/dist/agent-farm/utils/harness.d.ts +57 -2
  105. package/dist/agent-farm/utils/harness.d.ts.map +1 -1
  106. package/dist/agent-farm/utils/harness.js +24 -0
  107. package/dist/agent-farm/utils/harness.js.map +1 -1
  108. package/dist/agent-farm/utils/workspace-path.d.ts +16 -0
  109. package/dist/agent-farm/utils/workspace-path.d.ts.map +1 -0
  110. package/dist/agent-farm/utils/workspace-path.js +26 -0
  111. package/dist/agent-farm/utils/workspace-path.js.map +1 -0
  112. package/dist/agent-farm/utils/worktree-write-guard.d.ts +56 -0
  113. package/dist/agent-farm/utils/worktree-write-guard.d.ts.map +1 -0
  114. package/dist/agent-farm/utils/worktree-write-guard.js +222 -0
  115. package/dist/agent-farm/utils/worktree-write-guard.js.map +1 -0
  116. package/dist/cli.d.ts.map +1 -1
  117. package/dist/cli.js +2 -0
  118. package/dist/cli.js.map +1 -1
  119. package/dist/commands/consult/index.d.ts +50 -2
  120. package/dist/commands/consult/index.d.ts.map +1 -1
  121. package/dist/commands/consult/index.js +121 -5
  122. package/dist/commands/consult/index.js.map +1 -1
  123. package/dist/commands/doctor.d.ts.map +1 -1
  124. package/dist/commands/doctor.js +24 -2
  125. package/dist/commands/doctor.js.map +1 -1
  126. package/dist/commands/porch/verdict.js +2 -2
  127. package/dist/commands/porch/verdict.js.map +1 -1
  128. package/dist/lib/config.d.ts +10 -0
  129. package/dist/lib/config.d.ts.map +1 -1
  130. package/dist/lib/config.js.map +1 -1
  131. package/dist/lib/forge-contracts.d.ts +8 -0
  132. package/dist/lib/forge-contracts.d.ts.map +1 -1
  133. package/dist/lib/forge-contracts.js.map +1 -1
  134. package/dist/lib/managed-block.d.ts +8 -2
  135. package/dist/lib/managed-block.d.ts.map +1 -1
  136. package/dist/lib/managed-block.js +32 -7
  137. package/dist/lib/managed-block.js.map +1 -1
  138. package/dist/terminal/session-manager.d.ts +33 -0
  139. package/dist/terminal/session-manager.d.ts.map +1 -1
  140. package/dist/terminal/session-manager.js +62 -1
  141. package/dist/terminal/session-manager.js.map +1 -1
  142. package/package.json +4 -4
  143. package/scripts/forge/gitea/issue-view.sh +4 -1
  144. package/scripts/forge/github/issue-view.sh +2 -2
  145. package/scripts/forge/gitlab/issue-view.sh +4 -1
  146. package/scripts/forge/linear/issue-view.sh +3 -2
  147. package/skeleton/protocols/pir/prompts/implement.md +1 -1
  148. package/skeleton/protocols/pir/prompts/review.md +1 -1
  149. package/skeleton/protocols/pir/protocol.md +3 -3
  150. package/skeleton/resources/commands/consult.md +14 -0
  151. package/skeleton/roles/builder.md +21 -0
  152. package/skeleton/templates/AGENTS.md +16 -0
  153. package/skeleton/templates/CLAUDE.md +16 -0
  154. package/dashboard-dist/assets/index-DM7OU-EI.js.map +0 -1
  155. package/dist/agent-farm/db/migrate.d.ts +0 -20
  156. package/dist/agent-farm/db/migrate.d.ts.map +0 -1
  157. package/dist/agent-farm/db/migrate.js +0 -107
  158. package/dist/agent-farm/db/migrate.js.map +0 -1
  159. package/dist/agent-farm/servers/worktree-config-watcher.d.ts +0 -36
  160. package/dist/agent-farm/servers/worktree-config-watcher.d.ts.map +0 -1
  161. package/dist/agent-farm/servers/worktree-config-watcher.js.map +0 -1
@@ -1,20 +0,0 @@
1
- /**
2
- * Migration Functions
3
- *
4
- * Handles migration from JSON files to SQLite databases
5
- */
6
- import type Database from 'better-sqlite3';
7
- /**
8
- * Migrate local state from JSON to SQLite.
9
- *
10
- * Bugfix #826: the architect row needs a workspace_path. The legacy JSON
11
- * state has no such field — the architect was implicitly scoped to whatever
12
- * workspace this state.db belongs to. Callers pass `workspacePath` (the
13
- * workspace this state.db lives under) to fill that gap.
14
- *
15
- * Bugfix #826 iter-6: canonicalize (realpath) before write so a symlinked
16
- * workspaceRoot can't seed a row that Tower's canonical-path lookups won't
17
- * find. Mirrors the normalization in state.ts accessors.
18
- */
19
- export declare function migrateLocalFromJson(db: Database.Database, jsonPath: string, workspacePath: string): void;
20
- //# sourceMappingURL=migrate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/agent-farm/db/migrate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAsB3C;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,QAAQ,CAAC,QAAQ,EACrB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,GACpB,IAAI,CA0FN"}
@@ -1,107 +0,0 @@
1
- /**
2
- * Migration Functions
3
- *
4
- * Handles migration from JSON files to SQLite databases
5
- */
6
- import { readFileSync, realpathSync } from 'node:fs';
7
- import { resolve } from 'node:path';
8
- /**
9
- * Migrate local state from JSON to SQLite.
10
- *
11
- * Bugfix #826: the architect row needs a workspace_path. The legacy JSON
12
- * state has no such field — the architect was implicitly scoped to whatever
13
- * workspace this state.db belongs to. Callers pass `workspacePath` (the
14
- * workspace this state.db lives under) to fill that gap.
15
- *
16
- * Bugfix #826 iter-6: canonicalize (realpath) before write so a symlinked
17
- * workspaceRoot can't seed a row that Tower's canonical-path lookups won't
18
- * find. Mirrors the normalization in state.ts accessors.
19
- */
20
- export function migrateLocalFromJson(db, jsonPath, workspacePath) {
21
- const jsonContent = readFileSync(jsonPath, 'utf-8');
22
- const state = JSON.parse(jsonContent);
23
- let canonicalWorkspacePath;
24
- try {
25
- canonicalWorkspacePath = realpathSync(workspacePath);
26
- }
27
- catch {
28
- canonicalWorkspacePath = resolve(workspacePath);
29
- }
30
- // Wrap in transaction for atomicity
31
- const migrate = db.transaction(() => {
32
- // Migrate architect (Spec 755: legacy singleton becomes architect named 'main')
33
- // Bugfix #826: tag with canonical workspace_path so the row is scoped.
34
- if (state.architect) {
35
- db.prepare(`
36
- INSERT INTO architect (workspace_path, id, pid, port, cmd, started_at)
37
- VALUES (@workspacePath, 'main', @pid, @port, @cmd, @startedAt)
38
- `).run({
39
- workspacePath: canonicalWorkspacePath,
40
- pid: state.architect.pid,
41
- port: state.architect.port,
42
- cmd: state.architect.cmd,
43
- startedAt: state.architect.startedAt,
44
- });
45
- }
46
- // Migrate builders
47
- for (const builder of state.builders || []) {
48
- db.prepare(`
49
- INSERT INTO builders (
50
- id, name, port, pid, status, phase, worktree, branch,
51
- type, task_text, protocol_name
52
- )
53
- VALUES (
54
- @id, @name, @port, @pid, @status, @phase, @worktree, @branch,
55
- @type, @taskText, @protocolName
56
- )
57
- `).run({
58
- id: builder.id,
59
- name: builder.name,
60
- port: builder.port,
61
- pid: builder.pid,
62
- status: builder.status,
63
- phase: builder.phase,
64
- worktree: builder.worktree,
65
- branch: builder.branch,
66
- type: builder.type,
67
- taskText: builder.taskText ?? null,
68
- protocolName: builder.protocolName ?? null,
69
- });
70
- }
71
- // Migrate utils
72
- for (const util of state.utils || []) {
73
- db.prepare(`
74
- INSERT INTO utils (id, name, port, pid)
75
- VALUES (@id, @name, @port, @pid)
76
- `).run({
77
- id: util.id,
78
- name: util.name,
79
- port: util.port,
80
- pid: util.pid,
81
- });
82
- }
83
- // Migrate annotations
84
- for (const annotation of state.annotations || []) {
85
- db.prepare(`
86
- INSERT INTO annotations (id, file, port, pid, parent_type, parent_id)
87
- VALUES (@id, @file, @port, @pid, @parentType, @parentId)
88
- `).run({
89
- id: annotation.id,
90
- file: annotation.file,
91
- port: annotation.port,
92
- pid: annotation.pid,
93
- parentType: annotation.parent.type,
94
- parentId: annotation.parent.id ?? null,
95
- });
96
- }
97
- });
98
- try {
99
- migrate();
100
- }
101
- catch (err) {
102
- console.error('[error] Migration failed. JSON file preserved.');
103
- console.error('[error] Manual recovery: delete state.db and restart');
104
- throw err;
105
- }
106
- }
107
- //# sourceMappingURL=migrate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/agent-farm/db/migrate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBpC;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,oBAAoB,CAClC,EAAqB,EACrB,QAAgB,EAChB,aAAqB;IAErB,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACpD,MAAM,KAAK,GAAoB,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAEvD,IAAI,sBAA8B,CAAC;IACnC,IAAI,CAAC;QACH,sBAAsB,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;IACvD,CAAC;IAAC,MAAM,CAAC;QACP,sBAAsB,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAClD,CAAC;IAED,oCAAoC;IACpC,MAAM,OAAO,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAClC,gFAAgF;QAChF,uEAAuE;QACvE,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;YACpB,EAAE,CAAC,OAAO,CAAC;;;OAGV,CAAC,CAAC,GAAG,CAAC;gBACL,aAAa,EAAE,sBAAsB;gBACrC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG;gBACxB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI;gBAC1B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG;gBACxB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,SAAS;aACrC,CAAC,CAAC;QACL,CAAC;QAED,mBAAmB;QACnB,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,QAAQ,IAA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AAQ,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,IAAI,IAAI;aACvC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC;QACH,OAAO,EAAE,CAAC;IACZ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;QAChE,OAAO,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;QACtE,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC"}
@@ -1,36 +0,0 @@
1
- /**
2
- * Per-workspace file watcher for `.codev/config.json` and
3
- * `.codev/config.local.json`. Lazily installed by the
4
- * `/api/worktree-config` route handler on first request, then persists
5
- * for the Tower process lifetime. On each detected change it fans out
6
- * a `worktree-config-updated` SSE event so subscribed clients (the
7
- * VSCode extension, the dashboard) can refetch via the route and
8
- * re-render.
9
- *
10
- * Pattern follows `tower-tunnel.ts:startConfigWatcher` (which watches
11
- * `~/.codev/cloud.json` for OAuth credential changes) — `node:fs.watch`
12
- * on the parent directory, filename filter, short debounce to coalesce
13
- * the multiple events that fire per save.
14
- */
15
- type NotifyFn = (notification: {
16
- type: string;
17
- title: string;
18
- body: string;
19
- workspace?: string;
20
- }) => void;
21
- /**
22
- * Wire the broadcast function once at Tower startup. Subsequent calls
23
- * to `ensureWorktreeConfigWatcher` will use this notifier when files
24
- * change.
25
- */
26
- export declare function setWorktreeConfigNotifier(fn: NotifyFn): void;
27
- /**
28
- * Lazily install (or no-op if already installed) a file watcher for
29
- * `<workspacePath>/.codev/{config.json,config.local.json}`. Safe to
30
- * call on every route hit.
31
- */
32
- export declare function ensureWorktreeConfigWatcher(workspacePath: string): void;
33
- /** Test / shutdown helper — close every watcher and clear pending debounces. */
34
- export declare function stopAllWorktreeConfigWatchers(): void;
35
- export {};
36
- //# sourceMappingURL=worktree-config-watcher.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worktree-config-watcher.d.ts","sourceRoot":"","sources":["../../../src/agent-farm/servers/worktree-config-watcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAKH,KAAK,QAAQ,GAAG,CAAC,YAAY,EAAE;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,KAAK,IAAI,CAAC;AASX;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CA0BvE;AAED,gFAAgF;AAChF,wBAAgB,6BAA6B,IAAI,IAAI,CAKpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"worktree-config-watcher.js","sourceRoot":"","sources":["../../../src/agent-farm/servers/worktree-config-watcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AASlC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC;AACnE,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAwB,CAAC;AACjD,MAAM,SAAS,GAAG,IAAI,GAAG,EAA0B,CAAC;AACpD,IAAI,MAA4B,CAAC;AAEjC;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAAC,EAAY;IACpD,MAAM,GAAG,EAAE,CAAC;AACd,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,2BAA2B,CAAC,aAAqB;IAC/D,IAAI,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC5C,MAAM,GAAG,GAAG,IA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