Skip to content

Commit 6cc3aab

Browse files
committed
Normalize imports and formatting across codebase
Reorganize and standardize imports/indentation in many mastra agent, network, and tool files. Add InternalSpans where needed and expand e2b tool imports. Comment out unused/unstable defaults (e.g. autoResumeSuspendedTools) and some unused imports. Adjust lucide-react icon names and fix a minor OpenAPI MD markup detail.
1 parent 283e1f6 commit 6cc3aab

44 files changed

Lines changed: 2817 additions & 2839 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/api-reference/openapi-schema/page.mdx

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
99

1010
## System
1111

12-
<details><summary>System (2 endpoints)</summary>
12+
<details>
13+
<summary>System (2 endpoints)</summary>
1314

1415
- **GET** `/health` - Health check endpoint (no params | 200: healthy)
1516
- **GET** `/api` - Get API status (no params | 200: success)
1617

17-
</details>
18+
</details>
1819

1920
## AI SDK
2021

21-
<details><summary>AI SDK (3 endpoints)</summary>
22+
<details>
23+
<summary>AI SDK (3 endpoints)</summary>
2224

2325
- **POST** `/chat/{agentId}` - Chat with agent, stream AI SDK (path: agentId;
2426
body: messages[] | 200: stream, 400: invalid input, 404: agent not found)
@@ -27,11 +29,12 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
2729
- **POST** `/network/{agentId}` - Execute network, stream AI SDK (path: agentId;
2830
body: messages[], runtimeContext, maxSteps | 200: stream, 404: not found)
2931

30-
</details>
32+
</details>
3133

3234
## Agents
3335

34-
<details><summary>Agents (35 endpoints)</summary>
36+
<details>
37+
<summary>Agents (35 endpoints)</summary>
3538

3639
- **GET** `/.well-known/{agentId}/agent-card.json` - Get agent config
3740
(path: agentId | 200: config)
@@ -99,7 +102,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
99102

100103
## MCP
101104

102-
<details><summary>MCP (9 endpoints)</summary>
105+
<details>
106+
<summary>MCP (9 endpoints)</summary>
103107

104108
- **POST** `/api/mcp/{serverId}/mcp` - MCP Streamable HTTP (path: serverId;
105109
body: {} | 200: processed, 404: not found)
@@ -121,7 +125,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
121125

122126
## Network Memory
123127

124-
<details><summary>Network Memory (9 endpoints)</summary>
128+
<details>
129+
<summary>Network Memory (9 endpoints)</summary>
125130

126131
- **GET** `/api/memory/network/status` - Network memory status (query: networkId |
127132
200: status)
@@ -146,7 +151,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
146151

147152
## Memory
148153

149-
<details><summary>Memory (12 endpoints)</summary>
154+
<details>
155+
<summary>Memory (12 endpoints)</summary>
150156

151157
- **GET** `/api/memory/status` - Memory status
152158
- **GET** `/api/memory/config` - Memory config (query: agentId | 200: config)
@@ -173,7 +179,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
173179

174180
## Telemetry
175181

176-
<details><summary>Telemetry (2 endpoints)</summary>
182+
<details>
183+
<summary>Telemetry (2 endpoints)</summary>
177184

178185
- **GET** `/api/telemetry` - Get telemetry
179186
- **POST** `/api/telemetry` - Post telemetry
@@ -182,7 +189,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
182189

183190
## Observability
184191

185-
<details><summary>Observability (3 endpoints)</summary>
192+
<details>
193+
<summary>Observability (3 endpoints)</summary>
186194

187195
- **GET** `/api/observability/traces` - List traces
188196
- **GET** `/api/observability/traces/{traceId}` - Get trace
@@ -192,7 +200,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
192200

193201
## Scores
194202

195-
<details><summary>Scores (7 endpoints)</summary>
203+
<details>
204+
<summary>Scores (7 endpoints)</summary>
196205

197206
- **GET** `/api/observability/traces/{traceId}/{spanId}/scores` - Span scores
198207
- **GET** `/api/scores/scorers` - List scorers
@@ -206,7 +215,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
206215

207216
## Legacy Workflows
208217

209-
<details><summary>Legacy Workflows (10 endpoints)</summary>
218+
<details>
219+
<summary>Legacy Workflows (10 endpoints)</summary>
210220

211221
- **GET** `/api/workflows/legacy` - List legacy
212222
- **GET** `/api/workflows/legacy/{workflowId}` - Get legacy
@@ -222,7 +232,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
222232

223233
## Workflows
224234

225-
<details><summary>Workflows (18 endpoints)</summary>
235+
<details>
236+
<summary>Workflows (18 endpoints)</summary>
226237

227238
- **GET** `/api/workflows` - List workflows
228239
- **GET** `/api/workflows/{workflowId}` - Get workflow
@@ -249,7 +260,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
249260

250261
## Logs
251262

252-
<details><summary>Logs (3 endpoints)</summary>
263+
<details>
264+
<summary>Logs (3 endpoints)</summary>
253265

254266
- **GET** `/api/logs` - List logs
255267
- **GET** `/api/logs/transports` - List transports
@@ -259,7 +271,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
259271

260272
## Agent Builder
261273

262-
<details><summary>Agent Builder (13 endpoints)</summary>
274+
<details>
275+
<summary>Agent Builder (13 endpoints)</summary>
263276

264277
- **GET** `/api/agent-builder` - List builders
265278
- **GET** `/api/agent-builder/{actionId}` - Get action
@@ -281,7 +294,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
281294

282295
## Tools
283296

284-
<details><summary>Tools (3 endpoints)</summary>
297+
<details>
298+
<summary>Tools (3 endpoints)</summary>
285299

286300
- **GET** `/api/tools` - List tools
287301
- **GET** `/api/tools/{toolId}` - Get tool
@@ -291,7 +305,8 @@ This section provides a detailed reference for the OpenAPI schema definitions ut
291305

292306
## Vector
293307

294-
<details><summary>Vector (6 endpoints)</summary>
308+
<details>
309+
<summary>Vector (6 endpoints)</summary>
295310

296311
- **POST** `/api/vector/{vectorName}/upsert` - Upsert vectors
297312
- **POST** `/api/vector/{vectorName}/create-index` - Create index

app/workflows/components/workflow-actions.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import {
77
DownloadIcon,
88
CodeIcon,
99
ExternalLinkIcon,
10-
LayoutHorizontalIcon,
11-
LayoutVerticalIcon,
10+
LayoutPanelLeftIcon,
11+
LayoutPanelTopIcon,
1212
LayoutGridIcon,
13-
} from 'lucide-react'
13+
} from 'lucide-react'
1414
import { useCallback } from 'react'
1515
import { useReactFlow } from '@xyflow/react'
1616

@@ -60,16 +60,16 @@ export function WorkflowActions() {
6060
className="h-8 w-8"
6161
title="Horizontal Layout"
6262
>
63-
<LayoutHorizontalIcon className="size-3.5" />
64-
</Button>
63+
<LayoutPanelLeftIcon className="size-3.5" />
64+
</Button>
6565
<Button
6666
size="icon-sm"
6767
variant="ghost"
6868
onClick={() => layoutNodes('TB')}
6969
className="h-8 w-8"
7070
title="Vertical Layout"
7171
>
72-
<LayoutVerticalIcon className="size-3.5" />
72+
<LayoutPanelTopIcon className="size-3.5" />
7373
</Button>
7474
<Button
7575
size="icon-sm"

0 commit comments

Comments
 (0)