@shaohui_jin/git-cockpit-mcp-server 0.1.15 → 0.1.16
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/{chunk-7ZLJEU2E.js → chunk-L3C6BUHZ.js} +21 -6
- package/dist/chunk-L3C6BUHZ.js.map +1 -0
- package/dist/{chunk-Q3ZIYY54.js → chunk-SMZ3RJPR.js} +3 -3
- package/dist/{chunk-4LUNMJTB.js → chunk-UXORB6SE.js} +20 -4
- package/dist/chunk-UXORB6SE.js.map +1 -0
- package/dist/cli-entry.js +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/mcpServer.d.ts +1 -1
- package/dist/mcpServer.js +1 -1
- package/dist/{runtime-B0PyJ-YT.d.ts → runtime-CtZr-J1V.d.ts} +3 -2
- package/dist/web/assets/{index-BUkraY9q.js → index-C_wnwJWt.js} +65 -65
- package/dist/web/assets/{index-CcBjvlvI.css → index-Dbl-ejOu.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/webServer.d.ts +1 -1
- package/dist/webServer.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-4LUNMJTB.js.map +0 -1
- package/dist/chunk-7ZLJEU2E.js.map +0 -1
- /package/dist/{chunk-Q3ZIYY54.js.map → chunk-SMZ3RJPR.js.map} +0 -0
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
main
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMZ3RJPR.js";
|
|
5
5
|
import {
|
|
6
6
|
createRuntime,
|
|
7
7
|
disposeRuntime
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-L3C6BUHZ.js";
|
|
9
|
+
import "./chunk-UXORB6SE.js";
|
|
10
10
|
export {
|
|
11
11
|
createRuntime,
|
|
12
12
|
disposeRuntime,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as Runtime } from './runtime-
|
|
2
|
-
export { C as ConfigStore, D as DeepPartial, a as RepoHandle, b as RepoManager, e as RuntimeOptions, c as createRuntime, d as disposeRuntime } from './runtime-
|
|
1
|
+
import { R as Runtime } from './runtime-CtZr-J1V.js';
|
|
2
|
+
export { C as ConfigStore, D as DeepPartial, a as RepoHandle, b as RepoManager, e as RuntimeOptions, c as createRuntime, d as disposeRuntime } from './runtime-CtZr-J1V.js';
|
|
3
3
|
export { MCP_SERVER_INFO, McpHttpHandler, createMcpServer, startMcpStdio } from './mcpServer.js';
|
|
4
4
|
export { WebServerHandle, createWebServer } from './webServer.js';
|
|
5
5
|
import { z } from 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
main
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMZ3RJPR.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigStore,
|
|
7
7
|
RepoManager,
|
|
8
8
|
createRuntime,
|
|
9
9
|
createWebServer,
|
|
10
10
|
disposeRuntime
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L3C6BUHZ.js";
|
|
12
12
|
import {
|
|
13
13
|
MCP_SERVER_INFO,
|
|
14
14
|
McpHttpHandler,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
formatResultForMcp,
|
|
20
20
|
startMcpStdio,
|
|
21
21
|
toolSummaries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UXORB6SE.js";
|
|
23
23
|
export {
|
|
24
24
|
ConfigStore,
|
|
25
25
|
MCP_SERVER_INFO,
|
package/dist/mcpServer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
|
-
import { R as Runtime } from './runtime-
|
|
3
|
+
import { R as Runtime } from './runtime-CtZr-J1V.js';
|
|
4
4
|
import 'node:events';
|
|
5
5
|
import 'node:sqlite';
|
|
6
6
|
import '@shaohui_jin/git-cockpit-core';
|
package/dist/mcpServer.js
CHANGED
|
@@ -50,13 +50,14 @@ declare class RepoManager {
|
|
|
50
50
|
list(): (OpenedRepo & {
|
|
51
51
|
available: boolean;
|
|
52
52
|
})[];
|
|
53
|
-
/**
|
|
53
|
+
/** 取最近打开的仓库(懒创建服务)。与工作台拖拽顺序无关。 */
|
|
54
54
|
getCurrent(): Promise<RepoHandle | null>;
|
|
55
|
+
reorder(ids: number[]): OpenedRepo[];
|
|
55
56
|
/** 按 id 取仓库(懒创建服务) */
|
|
56
57
|
getById(id: number): Promise<RepoHandle | null>;
|
|
57
58
|
/** 打开仓库:校验并记录;重复打开返回既有实例 */
|
|
58
59
|
open(repoPath: string): Promise<RepoHandle>;
|
|
59
|
-
/**
|
|
60
|
+
/** 激活仓库:只刷新 last_opened_at,不改工作台拖拽顺序;仓库不存在返回 null */
|
|
60
61
|
activate(id: number): OpenedRepo | null;
|
|
61
62
|
/** 按路径取服务,未打开则报错(避免隐式副作用) */
|
|
62
63
|
getByPath(repoPath: string): RepoHandle;
|