You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/classes/DocService.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,15 @@ agentValidationService: any
54
54
Agent validation service instance, injected via DI.
55
55
Provides the list of agent names for dumpDocs, ensuring only valid agents are documented.
56
56
57
+
### outlineValidationService
58
+
59
+
```ts
60
+
outlineValidationService: any
61
+
```
62
+
63
+
Outline validation service instance, injected via DI.
64
+
Used for validating and managing agent outline schemas, ensuring agent outlines conform to expected structure and constraints.
65
+
57
66
### swarmSchemaService
58
67
59
68
```ts
@@ -72,6 +81,15 @@ agentSchemaService: any
72
81
Agent schema service instance, injected via DI.
73
82
Retrieves IAgentSchemaInternal objects for writeAgentDoc and agent descriptions in writeSwarmDoc, providing details like tools and prompts.
74
83
84
+
### outlineSchemaService
85
+
86
+
```ts
87
+
outlineSchemaService: any
88
+
```
89
+
90
+
Outline schema service instance, injected via DI.
91
+
Retrieves and manages outline schema objects for agents, supporting documentation and validation of agent outlines.
92
+
75
93
### mcpSchemaService
76
94
77
95
```ts
@@ -172,6 +190,21 @@ Writes Markdown documentation for a swarm schema, detailing its name, descriptio
172
190
Executes in a thread pool (THREAD_POOL_SIZE) to manage concurrency, logging via loggerService if GLOBAL_CONFIG.CC_LOGGER_ENABLE_INFO is enabled.
173
191
Outputs to dirName/[swarmName].md, with UML images in dirName/image, and links to agent docs in dirName/agent, sourced from swarmSchemaService.
174
192
193
+
### writeOutlineDoc
194
+
195
+
```ts
196
+
writeOutlineDoc: any
197
+
```
198
+
199
+
Writes Markdown documentation for an outline schema, detailing its name, description, main prompt, output format, and callbacks.
200
+
Executes in a thread pool (THREAD_POOL_SIZE) to manage concurrency, logging via loggerService if GLOBAL_CONFIG.CC_LOGGER_ENABLE_INFO is enabled.
201
+
Outputs to dirName/[outlineName].md, sourced from outlineSchemaService.
202
+
203
+
- The Markdown includes YAML frontmatter, outline name, description, prompt(s), output format (with types, descriptions, enums, and required fields), and callbacks.
204
+
- Handles both string and function-based prompts, and supports array or string prompt types.
205
+
- Output format section documents each property, its type, description, enum values, and required status.
206
+
- Callback section lists all callback names used by the outline.
0 commit comments