@infimind-next/ai-hive-mcp 0.2.3 → 0.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/dist/server.d.ts CHANGED
@@ -4,7 +4,7 @@ import { AiHiveApiClient } from "./api-client.js";
4
4
  import { type BearerTokenProvider } from "./auth-token-provider.js";
5
5
  import type { McpClientConfig } from "./config.js";
6
6
  import { WorkBuddyCredentialStore } from "./workbuddy-credentials.js";
7
- export declare const SERVER_VERSION = "0.2.3";
7
+ export declare const SERVER_VERSION = "0.2.4";
8
8
  declare function content(value: unknown): {
9
9
  content: {
10
10
  type: "text";
package/dist/server.js CHANGED
@@ -7,7 +7,7 @@ import { normalizeApiEndpoint, StaticBearerTokenProvider, WorkBuddyTokenProvider
7
7
  import { readMcpClientInfo } from "./client-info.js";
8
8
  import { uploadMediaFromPath } from "./local-media.js";
9
9
  import { WorkBuddyOAuthClient } from "./workbuddy-oauth-client.js";
10
- export const SERVER_VERSION = "0.2.3";
10
+ export const SERVER_VERSION = "0.2.4";
11
11
  const DEPRECATED_ATTACHMENT_IDS_MESSAGE = "attachmentIds 已废弃,请使用 messages[].mediaIds";
12
12
  function content(value) {
13
13
  return {
@@ -194,6 +194,7 @@ function sendRedirectAndWait(response, location) {
194
194
  response.writeHead(302, {
195
195
  "Cache-Control": "no-store",
196
196
  Connection: "close",
197
+ "Content-Length": "0",
197
198
  Location: location,
198
199
  "Referrer-Policy": "no-referrer",
199
200
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infimind-next/ai-hive-mcp",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {