@codexa/cli 8.5.0 → 8.6.9
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/commands/architect.ts +1 -137
- package/commands/clear.ts +1 -5
- package/commands/discover.ts +1071 -999
- package/commands/product.ts +0 -2
- package/commands/research.ts +1 -1
- package/commands/standards.ts +0 -23
- package/commands/task.ts +623 -623
- package/db/schema.ts +0 -69
- package/detectors/README.md +109 -109
- package/detectors/dotnet.ts +357 -357
- package/detectors/flutter.ts +350 -350
- package/detectors/go.ts +324 -324
- package/detectors/index.ts +387 -387
- package/detectors/jvm.ts +433 -433
- package/detectors/loader.ts +128 -140
- package/detectors/node.ts +493 -493
- package/detectors/python.ts +423 -423
- package/detectors/rust.ts +348 -348
- package/package.json +5 -4
- package/protocol/subagent-protocol.ts +0 -10
- package/workflow.ts +783 -800
package/commands/product.ts
CHANGED
package/commands/research.ts
CHANGED
|
@@ -317,7 +317,7 @@ Este arquivo foi criado automaticamente e precisa ser preenchido com:
|
|
|
317
317
|
|
|
318
318
|
Use o comando:
|
|
319
319
|
\`\`\`bash
|
|
320
|
-
|
|
320
|
+
codexa research fill --lib ${lib.canonical}
|
|
321
321
|
\`\`\`
|
|
322
322
|
${docsLine}
|
|
323
323
|
|
package/commands/standards.ts
CHANGED
|
@@ -198,27 +198,4 @@ export function standardsExport(): void {
|
|
|
198
198
|
initSchema();
|
|
199
199
|
generateStandardsMarkdown();
|
|
200
200
|
console.log("\nArquivo gerado: .codexa/standards.md\n");
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export function getStandardsForAgent(agent: string): any[] {
|
|
204
|
-
const db = getDb();
|
|
205
|
-
|
|
206
|
-
// Extrair dominio do agent (ex: "backend-bun" -> "backend")
|
|
207
|
-
const domain = agent.split("-")[0];
|
|
208
|
-
|
|
209
|
-
const standards = db
|
|
210
|
-
.query(
|
|
211
|
-
`SELECT * FROM standards
|
|
212
|
-
WHERE scope = 'all' OR scope = ?
|
|
213
|
-
ORDER BY enforcement DESC, category`
|
|
214
|
-
)
|
|
215
|
-
.all(domain) as any[];
|
|
216
|
-
|
|
217
|
-
return standards.map((std) => ({
|
|
218
|
-
category: std.category,
|
|
219
|
-
rule: std.rule,
|
|
220
|
-
examples: std.examples ? JSON.parse(std.examples) : [],
|
|
221
|
-
anti_examples: std.anti_examples ? JSON.parse(std.anti_examples) : [],
|
|
222
|
-
enforcement: std.enforcement,
|
|
223
|
-
}));
|
|
224
201
|
}
|