OpenWriterControle/plugins/claude-code/scripts/context/development/ai/mastra-ai/lookup/mastra-config.md
Darren Hinde a8fc9c7715
feat(plugin): enhance context management and skill invocation (#239)
* fix(shellcheck): declare and assign separately in router.sh (SC2155)

* feat(plugin): enhance context management and skill invocation

- Update .context-manifest.json to include profile and detailed source information.
- Revise context-scout.md to clarify context root discovery and navigation.
- Modify commands to replace deprecated skills with updated ones (brainstorming → approach, systematic-debugging → debugger).
- Streamline install-context.md for clarity and remove interactive profile selection.
- Improve oac-status.md to provide a more comprehensive status report.
- Add OAC system paths to session-start.sh for better context management.
- Remove obsolete skills and improve documentation for existing commands.
2026-02-23 12:12:29 +00:00

1.3 KiB

Lookup: Mastra Configuration

Purpose: Quick reference for Mastra file locations and registration.

Last Updated: 2026-01-09


File Locations

Component Directory Registration File
Mastra Instance src/mastra/ src/mastra/index.ts
Agents src/mastra/agents/ src/mastra/index.ts
Tools src/mastra/tools/ src/mastra/index.ts
Workflows src/mastra/workflows/ src/mastra/index.ts
Scorers src/mastra/scorers/ src/mastra/index.ts
Services src/services/ src/mastra/shared.ts

Database Tables

Table Name Description
mastra_traces Workflow execution traces
mastra_ai_spans LLM call spans and token usage
mastra_scorers Evaluation results and scores
mastra_workflow_state Current state of running workflows

Common Commands

Command Description
npm run dev Start Mastra in development mode
npm run traces View recent execution traces
npm run test:workflow Run the test workflow script

Related:

  • concepts/core.md
  • concepts/workflows.md