@uniqueli/openwork 0.2.3 → 0.3.0
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.md
CHANGED
|
@@ -42,12 +42,12 @@ Or configure them in-app via the settings panel.
|
|
|
42
42
|
|
|
43
43
|
## Supported Models
|
|
44
44
|
|
|
45
|
-
| Provider
|
|
46
|
-
|
|
|
47
|
-
| Anthropic
|
|
48
|
-
| OpenAI
|
|
49
|
-
| Google
|
|
50
|
-
| **Custom**
|
|
45
|
+
| Provider | Models |
|
|
46
|
+
| ---------- | ----------------------------------------------------------------------------------------------------- |
|
|
47
|
+
| Anthropic | Claude Opus 4.5, Claude Sonnet 4.5, Claude Haiku 4.5, Claude Opus 4.1, Claude Sonnet 4 |
|
|
48
|
+
| OpenAI | GPT-5.2, GPT-5.1, o3, o3 Mini, o4 Mini, o1, GPT-4.1, GPT-4o |
|
|
49
|
+
| Google | Gemini 3 Pro Preview, Gemini 3 Flash Preview, Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.5 Flash Lite |
|
|
50
|
+
| **Custom** | **Add unlimited custom providers!** |
|
|
51
51
|
|
|
52
52
|
## ✨ Multiple Custom API Providers
|
|
53
53
|
|
|
@@ -68,6 +68,7 @@ Or configure them in-app via the settings panel.
|
|
|
68
68
|
### Supported Custom APIs
|
|
69
69
|
|
|
70
70
|
Works with any OpenAI-compatible API:
|
|
71
|
+
|
|
71
72
|
- **Chinese AI Providers**: Moonshot AI (Kimi), Zhipu AI (GLM), DeepSeek, Baichuan, etc.
|
|
72
73
|
- **Self-hosted models**: vLLM, Text Generation WebUI, LocalAI, Ollama (with OpenAI compatibility)
|
|
73
74
|
- **Cloud services**: Azure OpenAI, AWS Bedrock (with proxy), Cloudflare AI
|
|
@@ -76,6 +77,7 @@ Works with any OpenAI-compatible API:
|
|
|
76
77
|
### Example Configurations
|
|
77
78
|
|
|
78
79
|
**Moonshot AI (Kimi)**
|
|
80
|
+
|
|
79
81
|
```
|
|
80
82
|
ID: moonshot
|
|
81
83
|
Display Name: Moonshot AI
|
|
@@ -84,6 +86,7 @@ Model Name: kimi-k2-turbo-preview
|
|
|
84
86
|
```
|
|
85
87
|
|
|
86
88
|
**Zhipu AI (GLM)**
|
|
89
|
+
|
|
87
90
|
```
|
|
88
91
|
ID: zhipu
|
|
89
92
|
Display Name: Zhipu AI
|
|
@@ -92,13 +95,16 @@ Model Name: glm-4-plus
|
|
|
92
95
|
```
|
|
93
96
|
|
|
94
97
|
**DeepSeek**
|
|
98
|
+
|
|
95
99
|
```
|
|
96
100
|
ID: deepseek
|
|
97
101
|
Display Name: DeepSeek
|
|
98
102
|
Base URL: https://api.deepseek.com/v1
|
|
99
103
|
Model Name: deepseek-chat
|
|
100
104
|
```
|
|
105
|
+
|
|
101
106
|
Configure via Settings UI or by setting environment variables:
|
|
107
|
+
|
|
102
108
|
```bash
|
|
103
109
|
CUSTOM_BASE_URL=https://api.example.com/v1
|
|
104
110
|
CUSTOM_API_KEY=your-api-key
|
|
@@ -107,12 +113,41 @@ CUSTOM_MODEL=your-model-name # optional
|
|
|
107
113
|
|
|
108
114
|
## Changelog
|
|
109
115
|
|
|
116
|
+
### v0.3.0 (2026-02-09)
|
|
117
|
+
|
|
118
|
+
- 🚀 **Skills System Major Upgrade**: 技能系统重大升级
|
|
119
|
+
- ⚡ **Performance**: 将所有文件操作转换为异步I/O,解决UI阻塞问题
|
|
120
|
+
- 🔒 **Security**: 新增完整的输入验证系统,防止注入攻击和资源耗尽
|
|
121
|
+
- 💾 **Memory**: 实现LRU缓存机制(最大100个技能),防止内存泄漏
|
|
122
|
+
- 🎯 **Skill Combination**: 新增技能组合功能,支持跨学科专业知识整合
|
|
123
|
+
- 📝 **Version Management**: 为所有技能添加语义化版本控制
|
|
124
|
+
- 🛠️ **Error Handling**: 增强错误处理系统,提供中文错误消息和恢复建议
|
|
125
|
+
- 🐛 **UI Fix**: 修复创建技能对话框在From Template模式下窗口过大、关闭按钮不可见的问题
|
|
126
|
+
|
|
127
|
+
### v0.2.4 (2026-02-06)
|
|
128
|
+
|
|
129
|
+
- ✨ **聊天建议卡片**: 新对话空状态下显示可点击的建议卡片(文件整理、内容创作、文档处理),点击即可快速开始对话
|
|
130
|
+
|
|
131
|
+
### v0.2.3 (2026-02-04)
|
|
132
|
+
|
|
133
|
+
- ✨ **Skills System**: 新增技能配置系统,支持 12 个内置技能和自定义技能创建
|
|
134
|
+
- 🐛 修复 `deleteUserSkill` 误删所有技能记录的严重 Bug
|
|
135
|
+
- 🐛 修复 Switch 组件、创建技能对话框、技能过滤等多个问题
|
|
136
|
+
- ⚡ 技能初始化改为懒加载,提升启动性能
|
|
137
|
+
|
|
138
|
+
### v0.2.2 (2026-xx-xx)
|
|
139
|
+
|
|
140
|
+
- ✨ 支持多个自定义 API 配置
|
|
141
|
+
- 🔧 动态 Provider 系统
|
|
142
|
+
|
|
110
143
|
### v0.2.1 (2026-01-19)
|
|
144
|
+
|
|
111
145
|
- 🐛 **Critical Fix**: Fixed "Missing credentials" error for users without OpenAI API key
|
|
112
146
|
- 🔧 Custom API now works correctly even when OPENAI_API_KEY is not set in environment
|
|
113
147
|
- 📝 Improved logging for debugging custom API configurations
|
|
114
148
|
|
|
115
149
|
### v0.2.0 (2026-01-18)
|
|
150
|
+
|
|
116
151
|
- ✨ **Multiple Custom API Providers**: Add unlimited custom providers via UI
|
|
117
152
|
- 🎨 **Improved UX**: One-click provider addition with "+ 添加Provider" button
|
|
118
153
|
- 🔧 **Better Configuration**: Each provider has its own name, base URL, API key, and model
|
|
@@ -120,6 +155,7 @@ CUSTOM_MODEL=your-model-name # optional
|
|
|
120
155
|
- 📝 **Simplified Settings**: Cleaner settings dialog focused on standard providers
|
|
121
156
|
|
|
122
157
|
### v0.1.0 (2026-01-15)
|
|
158
|
+
|
|
123
159
|
- 🎉 Initial release with basic custom API support
|
|
124
160
|
- 🔑 Single custom API configuration via Settings
|
|
125
161
|
|