agent-enderun 1.1.10 → 1.10.0
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/README.md +294 -19
- package/bin/cli.js +7 -0
- package/bin/enderun-dashboard.js +16 -857
- package/bin/validate-agent-army.js +12 -12
- package/dist/framework-mcp/src/index.js +14 -2
- package/dist/framework-mcp/src/index.js.map +1 -1
- package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js +2 -1
- package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js.map +1 -1
- package/dist/framework-mcp/src/tools/file_system/replace_text.js +2 -1
- package/dist/framework-mcp/src/tools/file_system/replace_text.js.map +1 -1
- package/dist/framework-mcp/src/tools/file_system/write_file.js +3 -3
- package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -1
- package/dist/framework-mcp/src/utils/fs.d.ts +16 -0
- package/dist/framework-mcp/src/utils/fs.js +45 -0
- package/dist/framework-mcp/src/utils/fs.js.map +1 -0
- package/dist/framework-mcp/src/utils/metrics.js.map +1 -1
- package/dist/src/cli/adapters/core.js.map +1 -1
- package/dist/src/cli/adapters/scaffold.js +4 -3
- package/dist/src/cli/adapters/scaffold.js.map +1 -1
- package/dist/src/cli/commands/app.js +20 -5
- package/dist/src/cli/commands/app.js.map +1 -1
- package/dist/src/cli/commands/approve.d.ts +1 -1
- package/dist/src/cli/commands/approve.js +7 -7
- package/dist/src/cli/commands/approve.js.map +1 -1
- package/dist/src/cli/commands/check.d.ts +1 -1
- package/dist/src/cli/commands/check.js +35 -4
- package/dist/src/cli/commands/check.js.map +1 -1
- package/dist/src/cli/commands/compliance.d.ts +1 -1
- package/dist/src/cli/commands/compliance.js +1 -1
- package/dist/src/cli/commands/compliance.js.map +1 -1
- package/dist/src/cli/commands/contract.d.ts +2 -2
- package/dist/src/cli/commands/contract.js +8 -14
- package/dist/src/cli/commands/contract.js.map +1 -1
- package/dist/src/cli/commands/dashboard/data-service.d.ts +33 -0
- package/dist/src/cli/commands/dashboard/data-service.js +120 -0
- package/dist/src/cli/commands/dashboard/data-service.js.map +1 -0
- package/dist/src/cli/commands/dashboard/html-template.d.ts +4 -0
- package/dist/src/cli/commands/dashboard/html-template.js +697 -0
- package/dist/src/cli/commands/dashboard/html-template.js.map +1 -0
- package/dist/src/cli/commands/dashboard/server.d.ts +2 -0
- package/dist/src/cli/commands/dashboard/server.js +38 -0
- package/dist/src/cli/commands/dashboard/server.js.map +1 -0
- package/dist/src/cli/commands/dashboard.d.ts +4 -0
- package/dist/src/cli/commands/dashboard.js +10 -0
- package/dist/src/cli/commands/dashboard.js.map +1 -0
- package/dist/src/cli/commands/explorer.d.ts +2 -2
- package/dist/src/cli/commands/explorer.js +2 -2
- package/dist/src/cli/commands/explorer.js.map +1 -1
- package/dist/src/cli/commands/git.d.ts +2 -2
- package/dist/src/cli/commands/git.js +2 -2
- package/dist/src/cli/commands/git.js.map +1 -1
- package/dist/src/cli/commands/init/scaffold-core.d.ts +4 -0
- package/dist/src/cli/commands/init/scaffold-core.js +65 -0
- package/dist/src/cli/commands/init/scaffold-core.js.map +1 -0
- package/dist/src/cli/commands/init/scaffold-ops.d.ts +1 -0
- package/dist/src/cli/commands/init/scaffold-ops.js +83 -0
- package/dist/src/cli/commands/init/scaffold-ops.js.map +1 -0
- package/dist/src/cli/commands/init/scaffold-standards.d.ts +2 -0
- package/dist/src/cli/commands/init/scaffold-standards.js +58 -0
- package/dist/src/cli/commands/init/scaffold-standards.js.map +1 -0
- package/dist/src/cli/commands/init.js +14 -275
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/knowledge.d.ts +2 -2
- package/dist/src/cli/commands/knowledge.js +4 -3
- package/dist/src/cli/commands/knowledge.js.map +1 -1
- package/dist/src/cli/commands/lint.d.ts +1 -1
- package/dist/src/cli/commands/lint.js +2 -3
- package/dist/src/cli/commands/lint.js.map +1 -1
- package/dist/src/cli/commands/log.d.ts +1 -1
- package/dist/src/cli/commands/log.js +3 -2
- package/dist/src/cli/commands/log.js.map +1 -1
- package/dist/src/cli/commands/memory.d.ts +1 -1
- package/dist/src/cli/commands/memory.js +1 -1
- package/dist/src/cli/commands/memory.js.map +1 -1
- package/dist/src/cli/commands/orchestrate.js +169 -140
- package/dist/src/cli/commands/orchestrate.js.map +1 -1
- package/dist/src/cli/commands/plan.d.ts +1 -1
- package/dist/src/cli/commands/plan.js +1 -1
- package/dist/src/cli/commands/plan.js.map +1 -1
- package/dist/src/cli/commands/script.d.ts +1 -1
- package/dist/src/cli/commands/script.js +1 -1
- package/dist/src/cli/commands/script.js.map +1 -1
- package/dist/src/cli/commands/security.d.ts +1 -1
- package/dist/src/cli/commands/security.js +1 -1
- package/dist/src/cli/commands/security.js.map +1 -1
- package/dist/src/cli/commands/status.d.ts +1 -1
- package/dist/src/cli/commands/status.js +1 -1
- package/dist/src/cli/commands/status.js.map +1 -1
- package/dist/src/cli/commands/trace.d.ts +1 -1
- package/dist/src/cli/commands/trace.js +1 -1
- package/dist/src/cli/commands/trace.js.map +1 -1
- package/dist/src/cli/index.js +36 -21
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/cli/shims.js +6 -6
- package/dist/src/cli/utils/app-backend.js +7 -0
- package/dist/src/cli/utils/app-backend.js.map +1 -1
- package/dist/src/cli/utils/app-docs.js +23 -5
- package/dist/src/cli/utils/app-docs.js.map +1 -1
- package/dist/src/cli/utils/app-frontend.js +5 -0
- package/dist/src/cli/utils/app-frontend.js.map +1 -1
- package/dist/src/cli/utils/app-inferrer.d.ts +1 -0
- package/dist/src/cli/utils/app-inferrer.js +12 -1
- package/dist/src/cli/utils/app-inferrer.js.map +1 -1
- package/dist/src/cli/utils/app-mobile.d.ts +2 -0
- package/dist/src/cli/utils/app-mobile.js +106 -0
- package/dist/src/cli/utils/app-mobile.js.map +1 -0
- package/dist/src/cli/utils/app-types.js +8 -4
- package/dist/src/cli/utils/app-types.js.map +1 -1
- package/dist/src/cli/utils/app.d.ts +1 -0
- package/dist/src/cli/utils/app.js +1 -0
- package/dist/src/cli/utils/app.js.map +1 -1
- package/dist/src/cli/utils/claude.js +2 -1
- package/dist/src/cli/utils/claude.js.map +1 -1
- package/dist/src/cli/utils/compliance.js +37 -6
- package/dist/src/cli/utils/compliance.js.map +1 -1
- package/dist/src/cli/utils/config-schema.d.ts +3 -3
- package/dist/src/cli/utils/config-schema.js +3 -3
- package/dist/src/cli/utils/config-schema.js.map +1 -1
- package/dist/src/cli/utils/fs.d.ts +2 -2
- package/dist/src/cli/utils/fs.js +9 -13
- package/dist/src/cli/utils/fs.js.map +1 -1
- package/dist/src/cli/utils/memory.d.ts +9 -2
- package/dist/src/cli/utils/memory.js +87 -16
- package/dist/src/cli/utils/memory.js.map +1 -1
- package/dist/src/cli/utils/pkg.js +14 -13
- package/dist/src/cli/utils/pkg.js.map +1 -1
- package/dist/src/cli/utils/string.js +1 -1
- package/dist/src/cli/utils/string.js.map +1 -1
- package/dist/src/cli/utils/ui.d.ts +1 -1
- package/dist/src/cli/utils/ui.js +1 -1
- package/dist/src/modules/adapters/shared.js +7 -7
- package/dist/src/modules/adapters/shared.js.map +1 -1
- package/dist/src/modules/agents/definitions.d.ts +3 -34
- package/dist/src/modules/agents/definitions.js +35 -511
- package/dist/src/modules/agents/definitions.js.map +1 -1
- package/dist/src/modules/agents/registry/analyst.d.ts +2 -0
- package/dist/src/modules/agents/registry/analyst.js +36 -0
- package/dist/src/modules/agents/registry/analyst.js.map +1 -0
- package/dist/src/modules/agents/registry/architect.d.ts +2 -0
- package/dist/src/modules/agents/registry/architect.js +42 -0
- package/dist/src/modules/agents/registry/architect.js.map +1 -0
- package/dist/src/modules/agents/registry/backend.d.ts +2 -0
- package/dist/src/modules/agents/registry/backend.js +43 -0
- package/dist/src/modules/agents/registry/backend.js.map +1 -0
- package/dist/src/modules/agents/registry/database.d.ts +2 -0
- package/dist/src/modules/agents/registry/database.js +38 -0
- package/dist/src/modules/agents/registry/database.js.map +1 -0
- package/dist/src/modules/agents/registry/devops.d.ts +2 -0
- package/dist/src/modules/agents/registry/devops.js +38 -0
- package/dist/src/modules/agents/registry/devops.js.map +1 -0
- package/dist/src/modules/agents/registry/explorer.d.ts +2 -0
- package/dist/src/modules/agents/registry/explorer.js +36 -0
- package/dist/src/modules/agents/registry/explorer.js.map +1 -0
- package/dist/src/modules/agents/registry/frontend.d.ts +2 -0
- package/dist/src/modules/agents/registry/frontend.js +44 -0
- package/dist/src/modules/agents/registry/frontend.js.map +1 -0
- package/dist/src/modules/agents/registry/git.d.ts +2 -0
- package/dist/src/modules/agents/registry/git.js +35 -0
- package/dist/src/modules/agents/registry/git.js.map +1 -0
- package/dist/src/modules/agents/registry/manager.d.ts +2 -0
- package/dist/src/modules/agents/registry/manager.js +49 -0
- package/dist/src/modules/agents/registry/manager.js.map +1 -0
- package/dist/src/modules/agents/registry/mobile.d.ts +2 -0
- package/dist/src/modules/agents/registry/mobile.js +40 -0
- package/dist/src/modules/agents/registry/mobile.js.map +1 -0
- package/dist/src/modules/agents/registry/native.d.ts +2 -0
- package/dist/src/modules/agents/registry/native.js +36 -0
- package/dist/src/modules/agents/registry/native.js.map +1 -0
- package/dist/src/modules/agents/registry/quality.d.ts +2 -0
- package/dist/src/modules/agents/registry/quality.js +41 -0
- package/dist/src/modules/agents/registry/quality.js.map +1 -0
- package/dist/src/modules/agents/registry/security.d.ts +2 -0
- package/dist/src/modules/agents/registry/security.js +37 -0
- package/dist/src/modules/agents/registry/security.js.map +1 -0
- package/dist/src/modules/agents/types.d.ts +31 -0
- package/dist/src/modules/agents/types.js +2 -0
- package/dist/src/modules/agents/types.js.map +1 -0
- package/dist/src/modules/skills/definitions.d.ts +1 -1
- package/dist/src/modules/skills/definitions.js +1 -1
- package/dist/src/shared/errors.d.ts +8 -6
- package/dist/src/shared/errors.js +13 -10
- package/dist/src/shared/errors.js.map +1 -1
- package/dist/src/shared/fs.d.ts +4 -0
- package/dist/src/shared/fs.js +17 -2
- package/dist/src/shared/fs.js.map +1 -1
- package/dist/src/shared/types.d.ts +19 -0
- package/dist/src/shared/types.js +13 -0
- package/dist/src/shared/types.js.map +1 -0
- package/package.json +3 -5
- package/src/cli/adapters/core.ts +0 -1
- package/src/cli/adapters/scaffold.ts +4 -3
- package/src/cli/commands/app.ts +23 -5
- package/src/cli/commands/approve.ts +15 -7
- package/src/cli/commands/check.ts +38 -5
- package/src/cli/commands/compliance.ts +1 -1
- package/src/cli/commands/contract.ts +20 -14
- package/src/cli/commands/dashboard/data-service.ts +119 -0
- package/src/cli/commands/dashboard/html-template.ts +696 -0
- package/src/cli/commands/dashboard/server.ts +43 -0
- package/src/cli/commands/dashboard.ts +11 -0
- package/src/cli/commands/explorer.ts +2 -2
- package/src/cli/commands/git.ts +2 -2
- package/src/cli/commands/init/scaffold-core.ts +71 -0
- package/src/cli/commands/init/scaffold-ops.ts +86 -0
- package/src/cli/commands/init/scaffold-standards.ts +59 -0
- package/src/cli/commands/init.ts +21 -292
- package/src/cli/commands/knowledge.ts +5 -3
- package/src/cli/commands/lint.ts +2 -4
- package/src/cli/commands/log.ts +4 -2
- package/src/cli/commands/memory.ts +1 -1
- package/src/cli/commands/orchestrate.ts +177 -142
- package/src/cli/commands/plan.ts +1 -1
- package/src/cli/commands/script.ts +1 -1
- package/src/cli/commands/security.ts +1 -1
- package/src/cli/commands/status.ts +1 -1
- package/src/cli/commands/trace.ts +1 -1
- package/src/cli/index.ts +37 -21
- package/src/cli/shims.ts +6 -6
- package/src/cli/utils/app-backend.ts +8 -0
- package/src/cli/utils/app-docs.ts +23 -5
- package/src/cli/utils/app-frontend.ts +6 -0
- package/src/cli/utils/app-inferrer.ts +11 -1
- package/src/cli/utils/app-mobile.ts +113 -0
- package/src/cli/utils/app-types.ts +9 -4
- package/src/cli/utils/app.ts +1 -0
- package/src/cli/utils/claude.ts +2 -1
- package/src/cli/utils/compliance.ts +38 -7
- package/src/cli/utils/config-schema.ts +4 -4
- package/src/cli/utils/fs.ts +9 -14
- package/src/cli/utils/memory.ts +103 -20
- package/src/cli/utils/pkg.ts +14 -13
- package/src/cli/utils/string.ts +1 -1
- package/src/cli/utils/ui.ts +1 -1
- package/src/modules/adapters/shared.ts +7 -7
- package/src/modules/agents/definitions.ts +39 -598
- package/src/modules/agents/registry/analyst.ts +40 -0
- package/src/modules/agents/registry/architect.ts +46 -0
- package/src/modules/agents/registry/backend.ts +47 -0
- package/src/modules/agents/registry/database.ts +42 -0
- package/src/modules/agents/registry/devops.ts +42 -0
- package/src/modules/agents/registry/explorer.ts +40 -0
- package/src/modules/agents/registry/frontend.ts +48 -0
- package/src/modules/agents/registry/git.ts +39 -0
- package/src/modules/agents/registry/manager.ts +53 -0
- package/src/modules/agents/registry/mobile.ts +44 -0
- package/src/modules/agents/registry/native.ts +40 -0
- package/src/modules/agents/registry/quality.ts +45 -0
- package/src/modules/agents/registry/security.ts +41 -0
- package/src/modules/agents/types.ts +37 -0
- package/src/modules/skills/definitions.ts +1 -1
- package/src/shared/errors.ts +13 -10
- package/src/shared/fs.ts +17 -2
- package/src/shared/types.ts +20 -0
- package/bin/utils/docgen.ts +0 -24
package/src/shared/errors.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Enterprise Base Error class for the Enderun
|
|
2
|
+
* Enterprise Base Error class for the Agent Enderun Framework.
|
|
3
3
|
*/
|
|
4
4
|
export class EnderunBaseError extends Error {
|
|
5
5
|
public readonly code: string;
|
|
6
6
|
public readonly timestamp: Date;
|
|
7
7
|
public readonly details?: unknown;
|
|
8
|
+
public readonly solution?: string;
|
|
8
9
|
|
|
9
|
-
constructor(message: string, code = "ENDERUN_INTERNAL_ERROR", details?: unknown) {
|
|
10
|
+
constructor(message: string, code = "ENDERUN_INTERNAL_ERROR", details?: unknown, solution?: string) {
|
|
10
11
|
super(message);
|
|
11
12
|
this.name = this.constructor.name;
|
|
12
13
|
this.code = code;
|
|
13
14
|
this.timestamp = new Date();
|
|
14
15
|
this.details = details;
|
|
16
|
+
this.solution = solution;
|
|
15
17
|
|
|
16
18
|
// Ensure proper prototype chain and capture stack trace
|
|
17
19
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
@@ -30,6 +32,7 @@ export class EnderunBaseError extends Error {
|
|
|
30
32
|
code: this.code,
|
|
31
33
|
timestamp: this.timestamp.toISOString(),
|
|
32
34
|
details: this.details,
|
|
35
|
+
solution: this.solution,
|
|
33
36
|
stack: this.stack,
|
|
34
37
|
};
|
|
35
38
|
}
|
|
@@ -39,8 +42,8 @@ export class EnderunBaseError extends Error {
|
|
|
39
42
|
* Thrown when configuration loading or validation fails.
|
|
40
43
|
*/
|
|
41
44
|
export class ConfigurationError extends EnderunBaseError {
|
|
42
|
-
constructor(message: string, details?: unknown) {
|
|
43
|
-
super(message, "CONFIGURATION_ERROR", details);
|
|
45
|
+
constructor(message: string, details?: unknown, solution?: string) {
|
|
46
|
+
super(message, "CONFIGURATION_ERROR", details, solution);
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -48,8 +51,8 @@ export class ConfigurationError extends EnderunBaseError {
|
|
|
48
51
|
* Thrown when data schema or payload validation fails.
|
|
49
52
|
*/
|
|
50
53
|
export class ValidationError extends EnderunBaseError {
|
|
51
|
-
constructor(message: string, details?: unknown) {
|
|
52
|
-
super(message, "VALIDATION_ERROR", details);
|
|
54
|
+
constructor(message: string, details?: unknown, solution?: string) {
|
|
55
|
+
super(message, "VALIDATION_ERROR", details, solution);
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
|
|
@@ -57,8 +60,8 @@ export class ValidationError extends EnderunBaseError {
|
|
|
57
60
|
* Thrown when adapter initialization or execution fails.
|
|
58
61
|
*/
|
|
59
62
|
export class AdapterError extends EnderunBaseError {
|
|
60
|
-
constructor(message: string, adapterId: string, details?: unknown) {
|
|
61
|
-
super(`Adapter '${adapterId}' failure: ${message}`, "ADAPTER_ERROR", details);
|
|
63
|
+
constructor(message: string, adapterId: string, details?: unknown, solution?: string) {
|
|
64
|
+
super(`Adapter '${adapterId}' failure: ${message}`, "ADAPTER_ERROR", details, solution);
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
|
|
@@ -66,7 +69,7 @@ export class AdapterError extends EnderunBaseError {
|
|
|
66
69
|
* Thrown when orchestration or agent communication fails.
|
|
67
70
|
*/
|
|
68
71
|
export class OrchestrationError extends EnderunBaseError {
|
|
69
|
-
constructor(message: string, details?: unknown) {
|
|
70
|
-
super(message, "ORCHESTRATION_ERROR", details);
|
|
72
|
+
constructor(message: string, details?: unknown, solution?: string) {
|
|
73
|
+
super(message, "ORCHESTRATION_ERROR", details, solution);
|
|
71
74
|
}
|
|
72
75
|
}
|
package/src/shared/fs.ts
CHANGED
|
@@ -11,13 +11,28 @@ export function ensureDir(dirPath: string, dryRun = false): void {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Writes content to a file atomically by using a temporary file.
|
|
16
|
+
* This prevents data corruption during unexpected system failures.
|
|
17
|
+
*/
|
|
14
18
|
export function writeTextFile(filePath: string, content: string, dryRun = false): void {
|
|
15
19
|
if (dryRun) {
|
|
16
20
|
console.warn(`[DRY RUN] Would write file: ${filePath}`);
|
|
17
21
|
return;
|
|
18
22
|
}
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
const dir = path.dirname(filePath);
|
|
24
|
+
ensureDir(dir);
|
|
25
|
+
|
|
26
|
+
const tempPath = `${filePath}.${Math.random().toString(36).slice(2, 9)}.tmp`;
|
|
27
|
+
const finalContent = content.endsWith("\n") ? content : `${content}\n`;
|
|
28
|
+
|
|
29
|
+
try {
|
|
30
|
+
fs.writeFileSync(tempPath, finalContent, "utf8");
|
|
31
|
+
fs.renameSync(tempPath, filePath);
|
|
32
|
+
} catch (err) {
|
|
33
|
+
if (fs.existsSync(tempPath)) fs.unlinkSync(tempPath);
|
|
34
|
+
throw err;
|
|
35
|
+
}
|
|
21
36
|
}
|
|
22
37
|
|
|
23
38
|
export function appendFile(filePath: string, content: string, dryRun = false): void {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent Enderun Framework — Internal Branded Types
|
|
3
|
+
* Used to enforce absolute type safety within the core orchestration logic.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export type Brand<K, T> = K & { __brand: T };
|
|
7
|
+
|
|
8
|
+
export type TraceID = Brand<string, "TraceID">;
|
|
9
|
+
export type AgentID = Brand<string, "AgentID">;
|
|
10
|
+
export type PhaseID = Brand<string, "PhaseID">;
|
|
11
|
+
export type ProjectPath = Brand<string, "ProjectPath">;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Casts a raw string to a Branded Type.
|
|
15
|
+
* Use this only at the boundaries of the system.
|
|
16
|
+
*/
|
|
17
|
+
export function asTraceID(val: string): TraceID { return val as TraceID; }
|
|
18
|
+
export function asAgentID(val: string): AgentID { return val as AgentID; }
|
|
19
|
+
export function asPhaseID(val: string): PhaseID { return val as PhaseID; }
|
|
20
|
+
export function asProjectPath(val: string): ProjectPath { return val as ProjectPath; }
|
package/bin/utils/docgen.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import fs from "fs";
|
|
2
|
-
import path from "path";
|
|
3
|
-
import { ALL_AGENTS, toClaudeCodeMd } from "../../src/modules/agents/definitions.js";
|
|
4
|
-
|
|
5
|
-
const DOCS_DIR = path.join(process.cwd(), "docs/agents");
|
|
6
|
-
const TEMPLATES_DIR = path.join(process.cwd(), "templates/standards");
|
|
7
|
-
|
|
8
|
-
function generateAgentDocs() {
|
|
9
|
-
if (!fs.existsSync(DOCS_DIR)) {
|
|
10
|
-
fs.mkdirSync(DOCS_DIR, { recursive: true });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
ALL_AGENTS.forEach(agent => {
|
|
14
|
-
// We use toClaudeCodeMd as a base for human-readable markdown documentation
|
|
15
|
-
// It injects the standards automatically.
|
|
16
|
-
const content = toClaudeCodeMd(agent, TEMPLATES_DIR);
|
|
17
|
-
|
|
18
|
-
fs.writeFileSync(path.join(DOCS_DIR, `${agent.name}.md`), content);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
console.warn(`✅ Generated documentation for ${ALL_AGENTS.length} agents in ${DOCS_DIR}`);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
generateAgentDocs();
|