@baosight-inc/esuite
v0.4.1
Published
智能装备软件开发套件脚手架(eSuite CLI)
Readme
@baosight-inc/esuite
智能装备软件开发套件脚手架。
1. 当前可用组件
| 组件 | 说明 | | -------- | ------------------------------------------------ | | eplature | 智能装备 Agent-First 应用软件基础框架 | | enet | 智能装备通讯中间件(信创认证版) | | epm | 智能装备进程守护工具 | | eslides | 智能装备 Agent-First Web PPT(宝信软件最新模板) |
2. 产品
2.1 eplature
智能装备 Agent-First 应用软件基础框架。
仅此产品需要宿主机具备 Node / Go 工具链(npm run setup 会用到),请先安装:
npx @baosight-inc/esuite eplature --name <项目名称>
# 等价的位置参数形式:
npx @baosight-inc/esuite eplature <项目名称>2.2 enet
智能装备通讯中间件(信创认证版)。解压即用,无需安装第三方依赖。
支持三种操作(由第一个位置参数指定,缺省为 download):
download—— 下载安装 enet,并尽力附带当季临时授权到<目录>/license.lic;license—— 仅下载当季(或--quarter指定季度)临时授权到当前目录,并打印内容便于复制粘贴;cert—— 打印信创证书查看地址。
# 安装 enet(默认操作,--name 默认为 enet)
npx @baosight-inc/esuite enet download --name <目录名>
npx @baosight-inc/esuite enet <目录名> # 等价的位置参数形式
# 仅获取临时授权(--quarter 默认为当前季度,如 2026Q1)
npx @baosight-inc/esuite enet license --quarter 2026Q1
# 查看信创证书(打印证书查看地址)
npx @baosight-inc/esuite enet cert| 选项 | 说明 | 默认值 |
| ---------------- | -------------------------------- | ------------- |
| --name | enet 安装目录名(仅 download) | enet |
| --quarter | 授权季度,如 2026Q1 | 当前季度 |
| --license-file | 授权文件名(仅 license) | license.lic |
cert操作无额外选项。
2.3 epm
智能装备进程守护工具。自带 Node 便携运行时,解压即用,无需安装第三方依赖。
支持两种操作(由第一个位置参数指定,缺省为 download):
download—— 下载安装 epm,并尽力附带当季临时授权到<目录>/license.lic;license—— 仅下载当季(或--quarter指定季度)临时授权到当前目录,并打印内容便于复制粘贴。
# 安装 epm(默认操作,--name 默认为 epm)
npx @baosight-inc/esuite epm download --name <目录名>
npx @baosight-inc/esuite epm <目录名> # 等价的位置参数形式
# 仅获取临时授权(--quarter 默认为当前季度,如 2026Q3)
npx @baosight-inc/esuite epm license --quarter 2026Q3| 选项 | 说明 | 默认值 |
| ---------------- | ------------------------------- | ------------- |
| --name | epm 安装目录名(仅 download) | epm |
| --quarter | 授权季度,如 2026Q3 | 当前季度 |
| --license-file | 授权文件名(仅 license) | license.lic |
2.4 eslides
智能装备 Agent-First Web PPT(宝信软件最新模板)。
npx @baosight-inc/esuite eslides --name <项目名称>
# 等价的位置参数形式:
npx @baosight-inc/esuite eslides <项目名称>3. 使用
交互模式(按提示选择组件、输入项目名):
npx @baosight-inc/esuite非交互模式(推荐,AI Agent 友好;显式指定产品与项目名):
npx @baosight-inc/esuite <产品> [选项]命令行未提供的必填项,在终端(TTY)下会回退为交互提示;在非交互环境(如 AI Agent)下缺失则直接报错,不会挂起。npx @baosight-inc/esuite --help 可查看所有产品与其选项。
各产品都需要从宝信内网下载,请确保处于宝信办公网内,或已连接宝武 VPN(脚本会自动检测内网连通性)。
4. 本地开发
npm install
node src/index.js