@expressots/studio

中文文档
4.3.0发布于 2026/09/13MITTypeScriptES Module近 30 天下载 9.5万

ExpressoTS Studio - Developer Experience Platform (CLI + UI)

原始使用文档
文档目录13 节
  1. Installation
  2. Quick Start
  3. CLI Usage
  4. Programmatic Usage
  5. Integration with ExpressoTS CLI
  6. CLI Commands
  7. start (default)
  8. info
  9. clean
  10. Configuration
  11. Architecture
  12. What's Included
  13. License

@expressots/studio

ExpressoTS Studio - Developer Experience Platform (CLI + UI).

npm License Discord Build

Installation

npm install -D @expressots/studio

Quick Start

CLI Usage

# Start Studio
npx expressots-studio start

# With options
npx expressots-studio start --port 3333 --agent-port 3334

# Show project info
npx expressots-studio info

# Clean Studio data
npx expressots-studio clean

Programmatic Usage

import { Studio } from "@expressots/studio";

const studio = new Studio({
  uiPort: 3333,
  agentPort: 3334,
  dbPath: ".studio/studio.db",
  srcPath: "./src",
});

await studio.start();

// Studio is now running
// UI: http://localhost:3333
// Agent: ws://localhost:3334

// To stop
await studio.stop();

Integration with ExpressoTS CLI

# Via ExpressoTS CLI (when integrated)
expressots studio

CLI Commands

start (default)

Start ExpressoTS Studio.

Options:

  • -p, --port <port> - UI port (default: 3333)
  • -a, --agent-port <port> - Agent WebSocket port (default: 3334)
  • -d, --db-path <path> - Database path (default: .studio/studio.db)
  • --src <path> - Source directory to scan (default: ./src)
  • --no-browser - Don't open browser automatically

info

Show information about the current project including discovered routes.

Options:

  • --src <path> - Source directory to scan (default: ./src)

clean

Remove all Studio data (database, cache).

Options:

  • -d, --db-path <path> - Database path (default: .studio/studio.db)

Configuration

You can also configure Studio via expressots.config.ts:

// expressots.config.ts
export default {
  studio: {
    uiPort: 3333,
    agentPort: 3334,
    dbPath: ".studio/studio.db",
  },
};

Architecture

┌─────────────────────────────────────────────────────────┐
│  ExpressoTS Studio                                       │
│  ┌─────────────┐  ┌──────────────┐  ┌────────────┐     │
│  │   Web UI    │  │ Studio Agent │  │ MCP Server │     │
│  │ :3333       │←→│ :3334        │←→│ (AI tools) │     │
│  └─────────────┘  └──────────────┘  └────────────┘     │
│         ↓              ↓                                 │
│  Your ExpressoTS App (instrumented)                     │
└─────────────────────────────────────────────────────────┘

What's Included

  • Studio Agent: Instrumentation, route discovery, request recording
  • Web UI: Dashboard with trace visualization, architecture map, metrics
  • MCP Server: AI-powered code generation tools (optional)

License

MIT © ExpressoTS

版本与发布记录

@expressots/studio 共发布 12 个版本,首次发布于 2026/05/14;过去 12 个月发布了 12 个版本。

版本发布日期距今
4.3.0latest2026/09/132 个月前
4.2.12026/08/043 个月前
4.2.02026/08/043 个月前
4.1.12026/07/283 个月前
4.1.02026/07/283 个月前
4.0.02026/07/173 个月前

其他发布通道:preview → 4.0.0-preview.1,next → 4.0.0-preview.3.4。

关于 @expressots/studio 的常见问题

@expressots/studio 是什么?

ExpressoTS Studio - Developer Experience Platform (CLI + UI)

如何安装 @expressots/studio?

在项目目录运行 npm install @expressots/studio,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 expressots-studio,可以用 npx expressots-studio 直接运行。

@expressots/studio 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@expressots/studio 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@expressots/studio 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.19.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@expressots/studio 可以商用吗?

@expressots/studio 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@expressots/studio 的下载量有多少?

根据 npm 官方下载统计,@expressots/studio 在 2026/10/14 – 2026/11/12 这 30 天内被下载 94,742 次,日均约 3,158 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@expressots/studio 还在维护吗?

最新版本 4.3.0 发布于 2026/09/13(2 个月前);至今共发布 12 个版本,其中过去 12 个月发布了 12 个;首次发布于 2026/05/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。