@easbot/terminal 0.3.32 → 0.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Version
8
8
 
9
- v0.3.32
9
+ v0.3.36
10
10
  ## Introduction
11
11
 
12
12
  `@easbot/terminal` is a terminal interaction toolkit for the EASBOT ecosystem. It encapsulates the common capabilities required by CLI / TUI scenarios: themed color output, ANSI handling, table rendering, command output formatting, styled prompts, JSON contract output, human-output helpers (`printHuman` / `renderLines`), a unified **interactive Prompt namespace**, an interactive searchable multi-select prompt, a readline-based CLI input helper, a lightweight markdown renderer, shared icon / status-symbol constants, a stateless Loader spinner, and terminal-state recovery. Every module auto-detects terminal capability (`NO_COLOR` / `FORCE_COLOR` / TTY) and degrades gracefully in non-TTY environments (pipes, redirected files, CI logs).
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 版本
8
8
 
9
- v0.3.32
9
+ v0.3.36
10
10
  ## 简介
11
11
 
12
12
  `@easbot/terminal` 是一个面向 EASBOT 生态的终端交互工具库,封装了命令行 / TUI 场景下常用的能力:终端主题色、ANSI 处理、表格渲染、命令输出格式化、提示样式化、JSON 规范输出、人类输出统一封装(`printHuman` / `renderLines`)、一个**统一的交互式 Prompt namespace**、一个**可搜索的多选交互 prompt**、一个**CLI 输入 helper**、一个**轻量级 markdown 渲染器**、图标 / 状态符号统一常量、Loader 旋转动画、终端状态恢复等。所有能力都基于终端能力自动检测(`NO_COLOR` / `FORCE_COLOR` / TTY)进行降级,可在管道、文件重定向等非 TTY 场景下安全使用。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easbot/terminal",
3
- "version": "0.3.32",
3
+ "version": "0.3.36",
4
4
  "description": "Terminal interaction toolkit for the EASBOT ecosystem — themed colors, ANSI utilities, OSC-8 hyperlinks, command formatting, table rendering, styled prompts, safe stream writes, and terminal-state recovery",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -47,15 +47,15 @@
47
47
  "dependencies": {
48
48
  "@clack/prompts": "^1.7.0",
49
49
  "chalk": "^6.0.0",
50
- "zod": "^4.4.3",
51
- "@easbot/types": "0.3.32",
52
- "@easbot/utils": "0.3.32"
50
+ "zod": "^4.6.7",
51
+ "@easbot/utils": "0.3.36",
52
+ "@easbot/types": "0.3.36"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^25.9.5",
56
56
  "tsup": "^8.5.1",
57
57
  "typescript": "^6.0.3",
58
- "vitest": "^4.1.10"
58
+ "vitest": "^5.0.5"
59
59
  },
60
60
  "engines": {
61
61
  "node": ">=22.22.2"