@agimon-ai/model-proxy-mcp 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +7 -4
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,4 +1,7 @@
1
+ import "@hono/node-server";
2
+ import { Hono } from "hono";
1
3
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
4
+ import * as hono_types0 from "hono/types";
2
5
 
3
6
  //#region src/types/index.d.ts
4
7
  interface LoggerLike {
@@ -150,7 +153,7 @@ declare class CodexAuth {
150
153
  private readonly authFilePath;
151
154
  private static readonly TOKEN_REFRESH_URL;
152
155
  private static readonly CLIENT_ID;
153
- constructor(logger?: LoggerLike, authFilePath?: any);
156
+ constructor(logger?: LoggerLike, authFilePath?: string);
154
157
  getAuthFilePath(): string;
155
158
  getAuthStatus(): Promise<{
156
159
  configured: boolean;
@@ -194,7 +197,7 @@ declare class ConversationHistoryService {
194
197
  * `retentionLimit` is enforced per scope after each insert batch.
195
198
  * `logger` receives structured operational failures.
196
199
  */
197
- constructor(dbPath?: any, retentionLimit?: number, logger?: LoggerLike);
200
+ constructor(dbPath?: string, retentionLimit?: number, logger?: LoggerLike);
198
201
  /**
199
202
  * Eagerly initializes the SQLite database and schema.
200
203
  */
@@ -239,7 +242,7 @@ declare class ProfileStore {
239
242
  private readonly modelListPath;
240
243
  private readonly scopeSettingsDir;
241
244
  private readonly logger;
242
- constructor(providerConfigPath?: any, modelListPath?: any, scopeSettingsDir?: any, logger?: LoggerLike);
245
+ constructor(providerConfigPath?: string, modelListPath?: string, scopeSettingsDir?: string, logger?: LoggerLike);
243
246
  getConfigPath(scope?: string): string;
244
247
  ensureConfig(scope?: string, seedConfigPath?: string): Promise<ProxyConfig>;
245
248
  listScopes(): Promise<string[]>;
@@ -448,7 +451,7 @@ declare class GatewayService {
448
451
  }
449
452
  //#endregion
450
453
  //#region src/server/http.d.ts
451
- declare function createHttpServer(gatewayService?: GatewayService): any;
454
+ declare function createHttpServer(gatewayService?: GatewayService): Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
452
455
  //#endregion
453
456
  //#region src/server/index.d.ts
454
457
  declare function createServer(gatewayService?: GatewayService, environment?: NodeJS.ProcessEnv): Server;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agimon-ai/model-proxy-mcp",
3
3
  "description": "Claude-compatible model proxy MCP with ChatGPT Codex upstream support",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "license": "AGPL-3.0",
6
6
  "keywords": [
7
7
  "mcp",