psyche-ai 10.2.3 → 10.2.4
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 +9 -22
- package/dist/cli.js +4 -3
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -195,42 +195,29 @@ Luna 在安慰用户时情绪下沉 → 广播化学态 → Kai 感知到 Luna
|
|
|
195
195
|
## 一条命令,给任何 Agent 加上主观性
|
|
196
196
|
|
|
197
197
|
```bash
|
|
198
|
-
npx psyche-ai setup
|
|
198
|
+
npx psyche-ai setup
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
-
|
|
204
|
-
- 不需要知道配置文件在哪,不需要手动编辑任何 JSON
|
|
201
|
+
自动检测本机的 Claude Code / Claude Desktop / Cursor / Windsurf,写入配置。Claude Code 即时生效,其他重启后生效。不需要知道配置文件在哪,不需要手动编辑任何 JSON。
|
|
202
|
+
|
|
203
|
+
人格会从交互中自然涌现。如果想指定初始名字:`npx psyche-ai setup --name Luna`
|
|
205
204
|
|
|
206
205
|
**覆盖非 MCP 的 Agent(Codex、自定义 agent 等)——透明代理:**
|
|
207
206
|
|
|
208
207
|
```bash
|
|
209
|
-
npx psyche-ai setup --proxy -t https://api.openai.com/v1
|
|
208
|
+
npx psyche-ai setup --proxy -t https://api.openai.com/v1
|
|
210
209
|
```
|
|
211
210
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
**两条路径覆盖所有 agent:**
|
|
211
|
+
启动本地代理 + 自动设置 `OPENAI_BASE_URL`。所有使用 OpenAI SDK 的程序自动走代理。Agent 完全不知道 Psyche 存在——镜子,不是麦克风。
|
|
215
212
|
|
|
216
213
|
| 路径 | 覆盖范围 | 原理 |
|
|
217
214
|
|------|---------|------|
|
|
218
|
-
| MCP (`
|
|
215
|
+
| MCP (`setup`) | Claude Code / Desktop / Cursor / Windsurf | MCP 工具协议 |
|
|
219
216
|
| Proxy (`setup --proxy`) | 任意使用 OpenAI/Anthropic SDK 的 agent | 环境变量重定向 HTTP |
|
|
220
217
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
npx psyche-ai probe --json
|
|
225
|
-
# ok: true, processInputCalled: true → 在用了
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
**升级:**
|
|
218
|
+
**验证:**`npx psyche-ai probe --json` — `ok: true` 就是在用了。
|
|
229
219
|
|
|
230
|
-
|
|
231
|
-
npx psyche-ai upgrade --check # 检查
|
|
232
|
-
npx psyche-ai upgrade # 升级
|
|
233
|
-
```
|
|
220
|
+
**升级:**`npx psyche-ai upgrade`
|
|
234
221
|
|
|
235
222
|
## 给本机其他 Agent 的真实验收
|
|
236
223
|
|
package/dist/cli.js
CHANGED
|
@@ -684,11 +684,12 @@ Examples:
|
|
|
684
684
|
psyche profiles
|
|
685
685
|
psyche profiles --mbti ENFP
|
|
686
686
|
|
|
687
|
-
# Auto-configure all MCP clients
|
|
688
|
-
psyche setup
|
|
687
|
+
# Auto-configure all MCP clients (one command, done)
|
|
688
|
+
psyche setup
|
|
689
|
+
psyche setup --name Luna
|
|
689
690
|
|
|
690
691
|
# Universal proxy — works with any agent using OpenAI SDK
|
|
691
|
-
psyche setup --proxy -t https://api.openai.com/v1
|
|
692
|
+
psyche setup --proxy -t https://api.openai.com/v1
|
|
692
693
|
|
|
693
694
|
# Check for new package versions without applying them
|
|
694
695
|
psyche upgrade --check
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "psyche-ai",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.4",
|
|
4
4
|
"description": "AI-first subjectivity kernel for agents with continuous appraisal, relation dynamics, and adaptive reply loops",
|
|
5
5
|
"mcpName": "io.github.Shangri-la-0428/psyche-ai",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/Shangri-la-0428/oasyce_psyche",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "10.2.
|
|
9
|
+
"version": "10.2.4",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "psyche-ai",
|
|
14
|
-
"version": "10.2.
|
|
14
|
+
"version": "10.2.4",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|