@infimind-next/ai-hive-mcp 0.4.1 → 0.4.2

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
@@ -4,14 +4,14 @@
4
4
 
5
5
  ## 安装
6
6
 
7
- 0.4.1 已发布(2026-10-23)。在 MCP 客户端中加入以下配置,把 `<APIKEY>` 换成你在蜂巢 AI 网页端「MCP 接入」里生成的 MCP 密钥:
7
+ 0.4.2 已发布(2026-10-23)。在 MCP 客户端中加入以下配置,把 `<APIKEY>` 换成你在蜂巢 AI 网页端「MCP 接入」里生成的 MCP 密钥:
8
8
 
9
9
  ```json
10
10
  {
11
11
  "mcpServers": {
12
12
  "ai-hive": {
13
13
  "command": "npx",
14
- "args": ["-y", "@infimind-next/ai-hive-mcp@0.4.1"],
14
+ "args": ["-y", "@infimind-next/ai-hive-mcp@0.4.2"],
15
15
  "env": { "AI_HIVE_MCP_KEY": "<APIKEY>" }
16
16
  }
17
17
  }
@@ -122,7 +122,11 @@ ai-hive-mcp run <模型 ID> "写一句欢迎语" # 付费文字调用
122
122
 
123
123
  `recoveryAction` 是给调用端的恢复指引,不要逐字转成用户待办。响应中断用原 `clientRequestId` 和相同参数恢复;明确失败后再次生成,或改变报价/输入时,使用新请求标识。结果未知时先核查,不自动重建付费任务。
124
124
 
125
- 0.4.1 已发布(2026-10-23),registry 最新版本为 0.4.1。发布物、兼容验证与服务端验收边界见 [0.3.2 发布记录](../../docs/release/mcp-0.3.2-runbook.md)。
125
+ 0.4.2 已发布(2026-10-23),registry 最新版本为 0.4.2。发布物、兼容验证与服务端验收边界见 [0.3.2 发布记录](../../docs/release/mcp-0.3.2-runbook.md)。
126
+
127
+ ### 0.4.2:修正 Codex 技能目录
128
+
129
+ 将 Codex 技能安装到 `~/.agents/skills`,与 Codex 的技能发现路径一致;`setup` 的其他行为、工具名称、入参和返回保持不变。
126
130
 
127
131
  ### 0.4.1:修正发布说明
128
132
 
@@ -130,7 +134,7 @@ ai-hive-mcp run <模型 ID> "写一句欢迎语" # 付费文字调用
130
134
 
131
135
  ### 0.4.0:一条命令接入
132
136
 
133
- 新增 `setup` 命令:检测本机客户端、写入 MCP 配置、安装随包发布的 5 个技能,并用 `user-info` 验证连接。新增 `models`、`model`、`usage`、`run` 四个命令行子命令,让没有 MCP 宿主的 Agent 也能选型、试跑和查账。`setup` 写入的配置统一走 `AI_HIVE_MCP_KEY`,MCP 服务的启动参数里不再带密钥。0.4.0 与 0.4.1 均已发布,`@latest` 指向 0.4.1。
137
+ 新增 `setup` 命令:检测本机客户端、写入 MCP 配置、安装随包发布的 5 个技能,并用 `user-info` 验证连接。新增 `models`、`model`、`usage`、`run` 四个命令行子命令,让没有 MCP 宿主的 Agent 也能选型、试跑和查账。`setup` 写入的配置统一走 `AI_HIVE_MCP_KEY`,MCP 服务的启动参数里不再带密钥。0.4.0、0.4.1 与 0.4.2 均已发布,`@latest` 指向 0.4.2。
134
138
 
135
139
  向下兼容:0.3.3 的 12 个工具名称、入参和返回保持不变,0.4.0 只新增 4 个只读工具;`server`、`auth`、`status`、`logout` 的行为不变。旧服务端不接受 `detail` 参数时,`list_models` 会自动去掉它重试一次。账单工具需要服务端已部署账单接口,未部署时会提示到控制台查看,不影响其他工具。
136
140
 
package/dist/server.d.ts CHANGED
@@ -5,7 +5,7 @@ import { AiHiveApiClient } from "./api-client.js";
5
5
  import { type BearerTokenProvider } from "./auth-token-provider.js";
6
6
  import type { McpClientConfig } from "./config.js";
7
7
  import { WorkBuddyCredentialStore } from "./workbuddy-credentials.js";
8
- export declare const SERVER_VERSION = "0.4.1";
8
+ export declare const SERVER_VERSION = "0.4.2";
9
9
  declare function content(value: unknown): {
10
10
  content: {
11
11
  type: "text";
package/dist/server.js CHANGED
@@ -9,7 +9,7 @@ import { readMcpClientInfo } from "./client-info.js";
9
9
  import { createUpdateNotifier } from "./update-notifier.js";
10
10
  import { uploadMediaFromPath } from "./local-media.js";
11
11
  import { WorkBuddyOAuthClient } from "./workbuddy-oauth-client.js";
12
- export const SERVER_VERSION = "0.4.1";
12
+ export const SERVER_VERSION = "0.4.2";
13
13
  const DEPRECATED_ATTACHMENT_IDS_MESSAGE = "attachmentIds 已废弃,请使用 messages[].mediaIds";
14
14
  const SNAPSHOT_PARSE_FAILURE_MESSAGE = "pricingSnapshot 格式不正确,应为 list_models 返回的快照对象,也可以省略该字段由客户端自动获取";
15
15
  const SNAPSHOT_ARRAY_MISMATCH_MESSAGE = "pricingSnapshot 数组中没有匹配当前模型和 routingMode 的快照,请传入 list_models 返回的对应快照对象,或省略该字段由客户端自动获取";
@@ -26,7 +26,8 @@ export function resolveTargets(input) {
26
26
  label: "Codex",
27
27
  format: "toml-mcp-servers",
28
28
  configPath: join(home, ".codex/config.toml"),
29
- skillsDir: join(home, ".codex/skills"),
29
+ // Codex 从 ~/.agents/skills 发现用户级技能, 不读 ~/.codex/skills.
30
+ skillsDir: join(home, ".agents/skills"),
30
31
  },
31
32
  {
32
33
  id: "claude-desktop",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infimind-next/ai-hive-mcp",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {