workplace-pua-cli 0.4.0 → 0.4.1
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/CHANGELOG.md +6 -0
- package/README.md +12 -9
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/src/index.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to PUA CLI will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
+
## [0.4.1] - 2025-02-12
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **Package name**: renamed from `pua-cli` to `workplace-pua-cli` to avoid naming conflict
|
|
11
|
+
- **Installation**: Updated README with npm installation instructions
|
|
12
|
+
|
|
7
13
|
## [0.4.0] - 2025-02-12 - MVP Edition
|
|
8
14
|
|
|
9
15
|
### Added
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PUA CLI
|
|
1
|
+
# Workplace PUA CLI
|
|
2
2
|
|
|
3
3
|
> 一个趣味性 AI CLI 工具,具有两种角色模式:**老板模式**和**员工模式**。
|
|
4
4
|
|
|
@@ -32,7 +32,17 @@
|
|
|
32
32
|
|
|
33
33
|
## 快速开始
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### 一键安装(推荐)
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# 直接从 npm 全局安装
|
|
39
|
+
npm install -g workplace-pua-cli
|
|
40
|
+
|
|
41
|
+
# 启动聊天(首次运行会自动进入配置向导)
|
|
42
|
+
pua chat
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 从源码安装
|
|
36
46
|
|
|
37
47
|
```bash
|
|
38
48
|
# 克隆项目
|
|
@@ -46,13 +56,6 @@ npm install && npm run build
|
|
|
46
56
|
npm install -g .
|
|
47
57
|
```
|
|
48
58
|
|
|
49
|
-
### 首次使用
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
# 启动聊天(首次运行会自动进入配置向导)
|
|
53
|
-
pua chat
|
|
54
|
-
```
|
|
55
|
-
|
|
56
59
|
配置向导会引导你:
|
|
57
60
|
- 选择 AI 服务提供商(智谱 AI / OpenAI)
|
|
58
61
|
- 输入 API Key
|
package/dist/index.js
CHANGED
|
@@ -15,8 +15,8 @@ const program = new commander_1.Command();
|
|
|
15
15
|
// CLI metadata
|
|
16
16
|
program
|
|
17
17
|
.name('pua')
|
|
18
|
-
.description('PUA CLI - 一个趣味性 AI CLI 工具,具有两种角色模式')
|
|
19
|
-
.version('0.4.
|
|
18
|
+
.description('Workplace PUA CLI - 一个趣味性 AI CLI 工具,具有两种角色模式')
|
|
19
|
+
.version('0.4.1');
|
|
20
20
|
/**
|
|
21
21
|
* Wrap command action with onboarding check
|
|
22
22
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workplace-pua-cli",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "A fun AI CLI tool
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"description": "A fun AI CLI tool for workplace role-play with boss/employee personas",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"pua": "./bin/pua"
|
package/src/index.ts
CHANGED
|
@@ -16,8 +16,8 @@ const program = new Command();
|
|
|
16
16
|
// CLI metadata
|
|
17
17
|
program
|
|
18
18
|
.name('pua')
|
|
19
|
-
.description('PUA CLI - 一个趣味性 AI CLI 工具,具有两种角色模式')
|
|
20
|
-
.version('0.4.
|
|
19
|
+
.description('Workplace PUA CLI - 一个趣味性 AI CLI 工具,具有两种角色模式')
|
|
20
|
+
.version('0.4.1');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Wrap command action with onboarding check
|