Skip to content

Commit 086e492

Browse files
committed
docs
1 parent 4481eac commit 086e492

8 files changed

Lines changed: 103 additions & 8 deletions

File tree

docs/classes/ClientCompute.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ constructor(params: IComputeParams<Compute>);
2121
params: IComputeParams<Compute>
2222
```
2323

24-
### __@DISPOSE_SLOT_FN_SYMBOL@3110
24+
### __@DISPOSE_SLOT_FN_SYMBOL@3114
2525

2626
```ts
27-
__@DISPOSE_SLOT_FN_SYMBOL@3110: any
27+
__@DISPOSE_SLOT_FN_SYMBOL@3114: any
2828
```
2929

30-
### __@GET_COMPUTE_DATA_FN_SYMBOL@3111
30+
### __@GET_COMPUTE_DATA_FN_SYMBOL@3115
3131

3232
```ts
33-
__@GET_COMPUTE_DATA_FN_SYMBOL@3111: any
33+
__@GET_COMPUTE_DATA_FN_SYMBOL@3115: any
3434
```
3535

3636
## Methods

docs/classes/ClientSwarm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Returns the current busy state of the swarm.
101101
Used to check if the swarm is currently processing an operation (e.g., waiting for output or switching agents).
102102
Supports debugging and flow control in client applications.
103103

104-
### __@SET_BUSY_FN@1567
104+
### __@SET_BUSY_FN@1571
105105

106106
```ts
107107
[SET_BUSY_FN](isBusy: boolean): void;

docs/classes/SchemaUtils.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ constructor();
1616

1717
## Properties
1818

19-
### __@PERSIST_WRITE_SYMBOL@4306
19+
### __@PERSIST_WRITE_SYMBOL@4310
2020

2121
```ts
22-
__@PERSIST_WRITE_SYMBOL@4306: any
22+
__@PERSIST_WRITE_SYMBOL@4310: any
2323
```
2424

2525
### writeSessionMemory

docs/functions/validate.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: docs/api-reference/function/validate
3+
group: docs
4+
---
5+
6+
# validate
7+
8+
```ts
9+
declare function validate(): void;
10+
```
11+
12+
Validates all swarms, agents, and outlines in the system.
13+
This function is idempotent and will only perform validation once per process.

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ group: docs
201201
- [changeToAgent](functions/changeToAgent.md)
202202
- [changeToPrevAgent](functions/changeToPrevAgent.md)
203203
- [changeToDefaultAgent](functions/changeToDefaultAgent.md)
204+
- [validate](functions/validate.md)
204205

205206
## Interfaces
206207

@@ -270,7 +271,8 @@ group: docs
270271
- [IHistory](interfaces/IHistory.md)
271272
- [IHistoryParams](interfaces/IHistoryParams.md)
272273
- [IHistorySchema](interfaces/IHistorySchema.md)
273-
- [IOutlineFormat](interfaces/IOutlineFormat.md)
274+
- [IOutlineSchemaFormat](interfaces/IOutlineSchemaFormat.md)
275+
- [IOutlineObjectFormat](interfaces/IOutlineObjectFormat.md)
274276
- [IOutlineCallbacks](interfaces/IOutlineCallbacks.md)
275277
- [IOutlineMessage](interfaces/IOutlineMessage.md)
276278
- [IOutlineHistory](interfaces/IOutlineHistory.md)
@@ -375,6 +377,7 @@ group: docs
375377
- [THistoryMemoryInstance](types/THistoryMemoryInstance.md)
376378
- [IOutlineParam](types/IOutlineParam.md)
377379
- [IOutlineData](types/IOutlineData.md)
380+
- [IOutlineFormat](types/IOutlineFormat.md)
378381
- [OutlineName](types/OutlineName.md)
379382
- [CompletionName](types/CompletionName.md)
380383
- [WikiName](types/WikiName.md)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: docs/api-reference/interface/IOutlineObjectFormat
3+
group: docs
4+
---
5+
6+
# IOutlineObjectFormat
7+
8+
Interface representing the format/schema definition for outline data.
9+
Specifies the structure, required fields, and property metadata for outline operations.
10+
Used to enforce and document the expected shape of outline data.
11+
12+
## Properties
13+
14+
### type
15+
16+
```ts
17+
type: string
18+
```
19+
20+
The root type of the outline format (e.g., "object").
21+
If openai used Should be "json_object" for partial JSON schemas or "json_schema" for full matching schemas.
22+
If ollama or `toJsonSchema` function used should just pass "object"
23+
24+
### required
25+
26+
```ts
27+
required: string[]
28+
```
29+
30+
Array of property names that are required in the outline data.
31+
32+
### properties
33+
34+
```ts
35+
properties: { [key: string]: { type: string; description: string; enum?: string[]; }; }
36+
```
37+
38+
An object mapping property names to their type, description, and optional enum values.
39+
Each property describes a field in the outline data.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: docs/api-reference/interface/IOutlineSchemaFormat
3+
group: docs
4+
---
5+
6+
# IOutlineSchemaFormat
7+
8+
Interface representing a format definition using a JSON schema.
9+
Specifies the type and the associated JSON schema object for validation.
10+
Used when the outline format is defined by a complete JSON schema.
11+
12+
## Properties
13+
14+
### type
15+
16+
```ts
17+
type: string
18+
```
19+
20+
The type of the outline format (e.g., "json_schema").
21+
22+
### json_schema
23+
24+
```ts
25+
json_schema: object
26+
```
27+
28+
The JSON schema object defining the structure and validation rules.

docs/types/IOutlineFormat.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: docs/api-reference/type/IOutlineFormat
3+
group: docs
4+
---
5+
6+
# IOutlineFormat
7+
8+
```ts
9+
type IOutlineFormat = IOutlineSchemaFormat | IOutlineObjectFormat;
10+
```
11+
12+

0 commit comments

Comments
 (0)