@claude-flow/cli 3.0.0-alpha.23 → 3.0.0-alpha.25
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/src/commands/daemon.d.ts.map +1 -1
- package/dist/src/commands/daemon.js +58 -34
- package/dist/src/commands/daemon.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +120 -0
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.d.ts +48 -25
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +179 -85
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/issues.d.ts +21 -0
- package/dist/src/commands/issues.d.ts.map +1 -0
- package/dist/src/commands/issues.js +567 -0
- package/dist/src/commands/issues.js.map +1 -0
- package/dist/src/commands/progress.d.ts +11 -0
- package/dist/src/commands/progress.d.ts.map +1 -0
- package/dist/src/commands/progress.js +259 -0
- package/dist/src/commands/progress.js.map +1 -0
- package/dist/src/commands/start.d.ts.map +1 -1
- package/dist/src/commands/start.js +21 -1
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/mcp-client.d.ts.map +1 -1
- package/dist/src/mcp-client.js +2 -0
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +1 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +1 -0
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/progress-tools.d.ts +14 -0
- package/dist/src/mcp-tools/progress-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/progress-tools.js +343 -0
- package/dist/src/mcp-tools/progress-tools.js.map +1 -0
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -1
- package/dist/src/ruvector/diff-classifier.js +44 -8
- package/dist/src/ruvector/diff-classifier.js.map +1 -1
- package/dist/src/services/claim-service.d.ts +144 -0
- package/dist/src/services/claim-service.d.ts.map +1 -0
- package/dist/src/services/claim-service.js +489 -0
- package/dist/src/services/claim-service.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
|
@@ -1,118 +1,166 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* V3 CLI Commands Index
|
|
3
3
|
* Central registry for all CLI commands
|
|
4
|
+
*
|
|
5
|
+
* OPTIMIZATION: Uses lazy loading for commands to reduce CLI startup time by ~200ms
|
|
6
|
+
* Commands are loaded on-demand when first accessed, not at module load time.
|
|
4
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* Command loaders - commands are only imported when needed
|
|
10
|
+
* This reduces initial bundle parse time by ~200ms
|
|
11
|
+
*/
|
|
12
|
+
const commandLoaders = {
|
|
13
|
+
// P1 Core Commands (frequently used - load first)
|
|
14
|
+
init: () => import('./init.js'),
|
|
15
|
+
start: () => import('./start.js'),
|
|
16
|
+
status: () => import('./status.js'),
|
|
17
|
+
task: () => import('./task.js'),
|
|
18
|
+
session: () => import('./session.js'),
|
|
19
|
+
// Original Commands
|
|
20
|
+
agent: () => import('./agent.js'),
|
|
21
|
+
swarm: () => import('./swarm.js'),
|
|
22
|
+
memory: () => import('./memory.js'),
|
|
23
|
+
mcp: () => import('./mcp.js'),
|
|
24
|
+
config: () => import('./config.js'),
|
|
25
|
+
migrate: () => import('./migrate.js'),
|
|
26
|
+
hooks: () => import('./hooks.js'),
|
|
27
|
+
workflow: () => import('./workflow.js'),
|
|
28
|
+
'hive-mind': () => import('./hive-mind.js'),
|
|
29
|
+
process: () => import('./process.js'),
|
|
30
|
+
daemon: () => import('./daemon.js'),
|
|
31
|
+
// V3 Advanced Commands (less frequently used - lazy load)
|
|
32
|
+
neural: () => import('./neural.js'),
|
|
33
|
+
security: () => import('./security.js'),
|
|
34
|
+
performance: () => import('./performance.js'),
|
|
35
|
+
providers: () => import('./providers.js'),
|
|
36
|
+
plugins: () => import('./plugins.js'),
|
|
37
|
+
deployment: () => import('./deployment.js'),
|
|
38
|
+
claims: () => import('./claims.js'),
|
|
39
|
+
embeddings: () => import('./embeddings.js'),
|
|
40
|
+
// P0 Commands
|
|
41
|
+
completions: () => import('./completions.js'),
|
|
42
|
+
doctor: () => import('./doctor.js'),
|
|
43
|
+
// Analysis Commands
|
|
44
|
+
analyze: () => import('./analyze.js'),
|
|
45
|
+
// Q-Learning Routing Commands
|
|
46
|
+
route: () => import('./route.js'),
|
|
47
|
+
// Progress Commands
|
|
48
|
+
progress: () => import('./progress.js'),
|
|
49
|
+
// Issue Claims Commands (ADR-016)
|
|
50
|
+
issues: () => import('./issues.js'),
|
|
51
|
+
};
|
|
52
|
+
// Cache for loaded commands
|
|
53
|
+
const loadedCommands = new Map();
|
|
54
|
+
/**
|
|
55
|
+
* Load a command lazily
|
|
56
|
+
*/
|
|
57
|
+
async function loadCommand(name) {
|
|
58
|
+
if (loadedCommands.has(name)) {
|
|
59
|
+
return loadedCommands.get(name);
|
|
60
|
+
}
|
|
61
|
+
const loader = commandLoaders[name];
|
|
62
|
+
if (!loader)
|
|
63
|
+
return undefined;
|
|
64
|
+
try {
|
|
65
|
+
const module = await loader();
|
|
66
|
+
// Try to find the command export (either default or named)
|
|
67
|
+
const command = (module.default || module[`${name}Command`] || Object.values(module).find((v) => typeof v === 'object' && v !== null && 'name' in v && 'description' in v));
|
|
68
|
+
if (command) {
|
|
69
|
+
loadedCommands.set(name, command);
|
|
70
|
+
return command;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
// Silently fail for missing optional commands
|
|
75
|
+
if (process.env.DEBUG) {
|
|
76
|
+
console.error(`Failed to load command ${name}:`, error);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return undefined;
|
|
80
|
+
}
|
|
81
|
+
// =============================================================================
|
|
82
|
+
// Synchronous Imports for Core Commands (needed immediately at startup)
|
|
83
|
+
// These are the most commonly used commands that need instant access
|
|
84
|
+
// =============================================================================
|
|
85
|
+
import { initCommand } from './init.js';
|
|
86
|
+
import { startCommand } from './start.js';
|
|
87
|
+
import { statusCommand } from './status.js';
|
|
5
88
|
import { agentCommand } from './agent.js';
|
|
6
89
|
import { swarmCommand } from './swarm.js';
|
|
7
90
|
import { memoryCommand } from './memory.js';
|
|
8
91
|
import { mcpCommand } from './mcp.js';
|
|
9
|
-
import { configCommand } from './config.js';
|
|
10
|
-
import { migrateCommand } from './migrate.js';
|
|
11
92
|
import { hooksCommand } from './hooks.js';
|
|
12
|
-
import { workflowCommand } from './workflow.js';
|
|
13
|
-
import { hiveMindCommand } from './hive-mind.js';
|
|
14
|
-
import { processCommand } from './process.js';
|
|
15
|
-
// P1 Commands
|
|
16
|
-
import { initCommand } from './init.js';
|
|
17
|
-
import { startCommand } from './start.js';
|
|
18
|
-
import { statusCommand } from './status.js';
|
|
19
|
-
import { taskCommand } from './task.js';
|
|
20
|
-
import { sessionCommand } from './session.js';
|
|
21
93
|
import { daemonCommand } from './daemon.js';
|
|
22
|
-
// V3 Advanced Commands
|
|
23
|
-
import { neuralCommand } from './neural.js';
|
|
24
|
-
import { securityCommand } from './security.js';
|
|
25
|
-
import { performanceCommand } from './performance.js';
|
|
26
|
-
import { providersCommand } from './providers.js';
|
|
27
|
-
import { pluginsCommand } from './plugins.js';
|
|
28
|
-
import { deploymentCommand } from './deployment.js';
|
|
29
|
-
import { claimsCommand } from './claims.js';
|
|
30
|
-
import { embeddingsCommand } from './embeddings.js';
|
|
31
|
-
// P0 Commands
|
|
32
|
-
import { completionsCommand } from './completions.js';
|
|
33
94
|
import { doctorCommand } from './doctor.js';
|
|
34
|
-
//
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
95
|
+
// Pre-populate cache with core commands
|
|
96
|
+
loadedCommands.set('init', initCommand);
|
|
97
|
+
loadedCommands.set('start', startCommand);
|
|
98
|
+
loadedCommands.set('status', statusCommand);
|
|
99
|
+
loadedCommands.set('agent', agentCommand);
|
|
100
|
+
loadedCommands.set('swarm', swarmCommand);
|
|
101
|
+
loadedCommands.set('memory', memoryCommand);
|
|
102
|
+
loadedCommands.set('mcp', mcpCommand);
|
|
103
|
+
loadedCommands.set('hooks', hooksCommand);
|
|
104
|
+
loadedCommands.set('daemon', daemonCommand);
|
|
105
|
+
loadedCommands.set('doctor', doctorCommand);
|
|
106
|
+
// =============================================================================
|
|
107
|
+
// Exports (maintain backwards compatibility)
|
|
108
|
+
// =============================================================================
|
|
109
|
+
// Export synchronously loaded commands
|
|
110
|
+
export { initCommand } from './init.js';
|
|
111
|
+
export { startCommand } from './start.js';
|
|
112
|
+
export { statusCommand } from './status.js';
|
|
39
113
|
export { agentCommand } from './agent.js';
|
|
40
114
|
export { swarmCommand } from './swarm.js';
|
|
41
115
|
export { memoryCommand } from './memory.js';
|
|
42
116
|
export { mcpCommand } from './mcp.js';
|
|
43
|
-
export { configCommand } from './config.js';
|
|
44
|
-
export { migrateCommand } from './migrate.js';
|
|
45
117
|
export { hooksCommand } from './hooks.js';
|
|
46
|
-
export { workflowCommand } from './workflow.js';
|
|
47
|
-
export { hiveMindCommand } from './hive-mind.js';
|
|
48
|
-
export { processCommand } from './process.js';
|
|
49
|
-
// P1 Commands
|
|
50
|
-
export { initCommand } from './init.js';
|
|
51
|
-
export { startCommand } from './start.js';
|
|
52
|
-
export { statusCommand } from './status.js';
|
|
53
|
-
export { taskCommand } from './task.js';
|
|
54
|
-
export { sessionCommand } from './session.js';
|
|
55
118
|
export { daemonCommand } from './daemon.js';
|
|
56
|
-
// V3 Advanced Commands
|
|
57
|
-
export { neuralCommand } from './neural.js';
|
|
58
|
-
export { securityCommand } from './security.js';
|
|
59
|
-
export { performanceCommand } from './performance.js';
|
|
60
|
-
export { providersCommand } from './providers.js';
|
|
61
|
-
export { pluginsCommand } from './plugins.js';
|
|
62
|
-
export { deploymentCommand } from './deployment.js';
|
|
63
|
-
export { claimsCommand } from './claims.js';
|
|
64
|
-
export { embeddingsCommand } from './embeddings.js';
|
|
65
|
-
// P0 Commands
|
|
66
|
-
export { completionsCommand } from './completions.js';
|
|
67
119
|
export { doctorCommand } from './doctor.js';
|
|
68
|
-
//
|
|
69
|
-
export
|
|
70
|
-
|
|
71
|
-
export
|
|
120
|
+
// Lazy-loaded command re-exports (for backwards compatibility, but async-only)
|
|
121
|
+
export async function getConfigCommand() { return loadCommand('config'); }
|
|
122
|
+
export async function getMigrateCommand() { return loadCommand('migrate'); }
|
|
123
|
+
export async function getWorkflowCommand() { return loadCommand('workflow'); }
|
|
124
|
+
export async function getHiveMindCommand() { return loadCommand('hive-mind'); }
|
|
125
|
+
export async function getProcessCommand() { return loadCommand('process'); }
|
|
126
|
+
export async function getTaskCommand() { return loadCommand('task'); }
|
|
127
|
+
export async function getSessionCommand() { return loadCommand('session'); }
|
|
128
|
+
export async function getNeuralCommand() { return loadCommand('neural'); }
|
|
129
|
+
export async function getSecurityCommand() { return loadCommand('security'); }
|
|
130
|
+
export async function getPerformanceCommand() { return loadCommand('performance'); }
|
|
131
|
+
export async function getProvidersCommand() { return loadCommand('providers'); }
|
|
132
|
+
export async function getPluginsCommand() { return loadCommand('plugins'); }
|
|
133
|
+
export async function getDeploymentCommand() { return loadCommand('deployment'); }
|
|
134
|
+
export async function getClaimsCommand() { return loadCommand('claims'); }
|
|
135
|
+
export async function getEmbeddingsCommand() { return loadCommand('embeddings'); }
|
|
136
|
+
export async function getCompletionsCommand() { return loadCommand('completions'); }
|
|
137
|
+
export async function getAnalyzeCommand() { return loadCommand('analyze'); }
|
|
138
|
+
export async function getRouteCommand() { return loadCommand('route'); }
|
|
139
|
+
export async function getProgressCommand() { return loadCommand('progress'); }
|
|
140
|
+
export async function getIssuesCommand() { return loadCommand('issues'); }
|
|
72
141
|
/**
|
|
73
|
-
*
|
|
142
|
+
* Core commands loaded synchronously (available immediately)
|
|
143
|
+
* Advanced commands loaded on-demand for faster startup
|
|
74
144
|
*/
|
|
75
145
|
export const commands = [
|
|
76
|
-
//
|
|
146
|
+
// Core commands (synchronously loaded)
|
|
77
147
|
initCommand,
|
|
78
148
|
startCommand,
|
|
79
149
|
statusCommand,
|
|
80
|
-
taskCommand,
|
|
81
|
-
sessionCommand,
|
|
82
|
-
// Original Commands
|
|
83
150
|
agentCommand,
|
|
84
151
|
swarmCommand,
|
|
85
152
|
memoryCommand,
|
|
86
153
|
mcpCommand,
|
|
87
|
-
configCommand,
|
|
88
|
-
migrateCommand,
|
|
89
154
|
hooksCommand,
|
|
90
|
-
workflowCommand,
|
|
91
|
-
hiveMindCommand,
|
|
92
|
-
processCommand,
|
|
93
155
|
daemonCommand,
|
|
94
|
-
// V3 Advanced Commands
|
|
95
|
-
neuralCommand,
|
|
96
|
-
securityCommand,
|
|
97
|
-
performanceCommand,
|
|
98
|
-
providersCommand,
|
|
99
|
-
pluginsCommand,
|
|
100
|
-
deploymentCommand,
|
|
101
|
-
claimsCommand,
|
|
102
|
-
embeddingsCommand,
|
|
103
|
-
// P0 Commands
|
|
104
|
-
completionsCommand,
|
|
105
156
|
doctorCommand,
|
|
106
|
-
// Analysis Commands
|
|
107
|
-
analyzeCommand,
|
|
108
|
-
// Q-Learning Routing Commands
|
|
109
|
-
routeCommand,
|
|
110
157
|
];
|
|
111
158
|
/**
|
|
112
159
|
* Command registry map for quick lookup
|
|
160
|
+
* Supports both sync (core commands) and async (lazy-loaded) commands
|
|
113
161
|
*/
|
|
114
162
|
export const commandRegistry = new Map();
|
|
115
|
-
// Register
|
|
163
|
+
// Register core commands and their aliases
|
|
116
164
|
for (const cmd of commands) {
|
|
117
165
|
commandRegistry.set(cmd.name, cmd);
|
|
118
166
|
if (cmd.aliases) {
|
|
@@ -122,22 +170,43 @@ for (const cmd of commands) {
|
|
|
122
170
|
}
|
|
123
171
|
}
|
|
124
172
|
/**
|
|
125
|
-
* Get command by name
|
|
173
|
+
* Get command by name (sync for core commands, returns undefined for lazy commands)
|
|
174
|
+
* Use getCommandAsync for lazy-loaded commands
|
|
126
175
|
*/
|
|
127
176
|
export function getCommand(name) {
|
|
128
|
-
return commandRegistry.get(name);
|
|
177
|
+
return loadedCommands.get(name) || commandRegistry.get(name);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Get command by name (async - supports lazy loading)
|
|
181
|
+
*/
|
|
182
|
+
export async function getCommandAsync(name) {
|
|
183
|
+
// Check already-loaded commands first
|
|
184
|
+
const cached = loadedCommands.get(name);
|
|
185
|
+
if (cached)
|
|
186
|
+
return cached;
|
|
187
|
+
// Check sync registry
|
|
188
|
+
const synced = commandRegistry.get(name);
|
|
189
|
+
if (synced)
|
|
190
|
+
return synced;
|
|
191
|
+
// Try lazy loading
|
|
192
|
+
return loadCommand(name);
|
|
129
193
|
}
|
|
130
194
|
/**
|
|
131
|
-
* Check if command exists
|
|
195
|
+
* Check if command exists (sync check for core commands)
|
|
132
196
|
*/
|
|
133
197
|
export function hasCommand(name) {
|
|
134
|
-
return commandRegistry.has(name);
|
|
198
|
+
return loadedCommands.has(name) || commandRegistry.has(name) || name in commandLoaders;
|
|
135
199
|
}
|
|
136
200
|
/**
|
|
137
|
-
* Get all command names (including aliases)
|
|
201
|
+
* Get all command names (including aliases and lazy-loadable)
|
|
138
202
|
*/
|
|
139
203
|
export function getCommandNames() {
|
|
140
|
-
|
|
204
|
+
const names = new Set([
|
|
205
|
+
...Array.from(commandRegistry.keys()),
|
|
206
|
+
...Array.from(loadedCommands.keys()),
|
|
207
|
+
...Object.keys(commandLoaders),
|
|
208
|
+
]);
|
|
209
|
+
return Array.from(names);
|
|
141
210
|
}
|
|
142
211
|
/**
|
|
143
212
|
* Get all unique commands (excluding aliases)
|
|
@@ -145,6 +214,22 @@ export function getCommandNames() {
|
|
|
145
214
|
export function getUniqueCommands() {
|
|
146
215
|
return commands.filter(cmd => !cmd.hidden);
|
|
147
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* Load all commands (populates lazy-loaded commands)
|
|
219
|
+
* Use this when you need all commands available synchronously
|
|
220
|
+
*/
|
|
221
|
+
export async function loadAllCommands() {
|
|
222
|
+
const allCommands = [...commands];
|
|
223
|
+
for (const name of Object.keys(commandLoaders)) {
|
|
224
|
+
if (!loadedCommands.has(name)) {
|
|
225
|
+
const cmd = await loadCommand(name);
|
|
226
|
+
if (cmd && !allCommands.includes(cmd)) {
|
|
227
|
+
allCommands.push(cmd);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return allCommands;
|
|
232
|
+
}
|
|
148
233
|
/**
|
|
149
234
|
* Setup commands in a CLI instance
|
|
150
235
|
*/
|
|
@@ -153,4 +238,13 @@ export function setupCommands(cli) {
|
|
|
153
238
|
cli.command(cmd);
|
|
154
239
|
}
|
|
155
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Setup all commands including lazy-loaded (async)
|
|
243
|
+
*/
|
|
244
|
+
export async function setupAllCommands(cli) {
|
|
245
|
+
const allCommands = await loadAllCommands();
|
|
246
|
+
for (const cmd of allCommands) {
|
|
247
|
+
cli.command(cmd);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
156
250
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH;;;GAGG;AACH,MAAM,cAAc,GAAkC;IACpD,kDAAkD;IAClD,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;IAC/B,KAAK,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC;IACjC,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC;IACnC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;IAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;IACrC,oBAAoB;I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O,WAAW,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,GAAwC;IACpE,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC3B,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,GAAwC;IAC7E,MAAM,WAAW,GAAG,MAAM,eAAe,EAAE,CAAC;IAC5C,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QAC9B,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* V3 Issues Command
|
|
3
|
+
*
|
|
4
|
+
* Implements ADR-016: Collaborative Issue Claims for Human-Agent Workflows
|
|
5
|
+
*
|
|
6
|
+
* Commands:
|
|
7
|
+
* - issues list List all claims
|
|
8
|
+
* - issues claim Claim an issue
|
|
9
|
+
* - issues release Release a claim
|
|
10
|
+
* - issues handoff Request handoff
|
|
11
|
+
* - issues status Update claim status
|
|
12
|
+
* - issues stealable List stealable issues
|
|
13
|
+
* - issues steal Steal an issue
|
|
14
|
+
* - issues load View agent load
|
|
15
|
+
* - issues rebalance Rebalance swarm
|
|
16
|
+
* - issues board Visual board view
|
|
17
|
+
*/
|
|
18
|
+
import type { Command } from '../types.js';
|
|
19
|
+
export declare const issuesCommand: Command;
|
|
20
|
+
export default issuesCommand;
|
|
21
|
+
//# sourceMappingURL=issues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../../src/commands/issues.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAiC,MAAM,aAAa,CAAC;AA0hB1E,eAAO,MAAM,aAAa,EAAE,OA2C3B,CAAC;AA0CF,eAAe,aAAa,CAAC"}
|