Environment:23blocks OS Ai maestro TypeScript
| Knowledge Sources | |
|---|---|
| Domains | Language, Framework |
| Last Updated | 2026-10-26 18:00 GMT |
Overview
TypeScript: the typed JavaScript superset used for all AI Maestro application code (services, lib, hooks, types). Server-only ESM modules use `.mjs`.
Description
AI Maestro's application code is written in TypeScript and compiled by Next.js for the client and by the Node runtime (via tsx/tsc) for the server. Shared types live in `types/`. The `QualifiedAgent` type (`agentName@hostId`) and many service interfaces are TypeScript types that enforce the shape of data flowing between server and client. A few server-only modules are plain `.mjs` to avoid a build step for `server.mjs`.
Usage
Use this environment for implementations whose correctness depends on TypeScript's type system (typed contracts, discriminated unions, branded types like `QualifiedAgent`).
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| Toolchain | TypeScript 5 | Via Next.js / tsx |
Dependencies
- `typescript`
- `tsx` (dev runtime)