replicas-mcp 0.2.7 → 0.2.9
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/index.js +307 -7633
- package/package.json +1 -2
- package/src/index.ts +7 -3
- package/tsup.config.ts +0 -6
- package/dist/bowser-QNXG5MCF.js +0 -2822
- package/dist/chunk-3X3IL2A6.js +0 -2094
- package/dist/chunk-C6IOMGXW.js +0 -1052
- package/dist/chunk-FIMT2XWG.js +0 -576
- package/dist/chunk-KEOQGGM5.js +0 -1490
- package/dist/chunk-NWBPSHNL.js +0 -2865
- package/dist/chunk-Q6JESX2O.js +0 -42
- package/dist/chunk-QIOBV22I.js +0 -436
- package/dist/dist-es-3DLRX4SC.js +0 -170
- package/dist/dist-es-7DMTLQRJ.js +0 -70
- package/dist/dist-es-B6XNMCQ4.js +0 -48
- package/dist/dist-es-KLEKEXIP.js +0 -88
- package/dist/dist-es-MAMFGWZS.js +0 -377
- package/dist/dist-es-V7ZJXG3C.js +0 -315
- package/dist/dist-es-VBWSM7AX.js +0 -485
- package/dist/event-streams-D47TMH7D.js +0 -1377
- package/dist/loadSso-4NJATGLO.js +0 -575
- package/dist/signin-HB5KQSHQ.js +0 -661
- package/dist/sso-oidc-7AKRONOU.js +0 -828
- package/dist/sts-WSDR725H.js +0 -5979
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "replicas-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"zod": "^3.25.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@replicas/shared": "*",
|
|
20
19
|
"@types/node": "^20.11.17",
|
|
21
20
|
"tsup": "^8.5.0",
|
|
22
21
|
"typescript": "^5.9.3"
|
package/src/index.ts
CHANGED
|
@@ -6,10 +6,14 @@ import {
|
|
|
6
6
|
getCodingAgentDisplayNames,
|
|
7
7
|
getProviderDisplayName,
|
|
8
8
|
isValidCodingAgentProvider,
|
|
9
|
-
parseAgentEvents,
|
|
10
9
|
type AgentProvider,
|
|
10
|
+
} from '../../shared/src/agent';
|
|
11
|
+
import {
|
|
12
|
+
parseAgentEvents,
|
|
13
|
+
} from '../../shared/src/display-message/parsers';
|
|
14
|
+
import {
|
|
11
15
|
type ReadReplicaHistoryResponse,
|
|
12
|
-
} from '
|
|
16
|
+
} from '../../shared/src/routes/replica';
|
|
13
17
|
|
|
14
18
|
const API_URL = process.env.REPLICAS_API_URL || 'https://api.tryreplicas.com';
|
|
15
19
|
const API_KEY = process.env.REPLICAS_API_KEY;
|
|
@@ -64,7 +68,7 @@ type RegisterToolFn = (
|
|
|
64
68
|
|
|
65
69
|
const server = new McpServer({
|
|
66
70
|
name: 'replicas-mcp',
|
|
67
|
-
version: '0.2.
|
|
71
|
+
version: '0.2.9',
|
|
68
72
|
});
|
|
69
73
|
|
|
70
74
|
const registerTool = server.registerTool.bind(server) as RegisterToolFn;
|
package/tsup.config.ts
CHANGED
|
@@ -2,7 +2,6 @@ const config = {
|
|
|
2
2
|
entry: ['src/index.ts'],
|
|
3
3
|
format: ['esm'],
|
|
4
4
|
bundle: true,
|
|
5
|
-
noExternal: ['@replicas/shared'],
|
|
6
5
|
dts: false,
|
|
7
6
|
clean: true,
|
|
8
7
|
outDir: 'dist',
|
|
@@ -14,11 +13,6 @@ const config = {
|
|
|
14
13
|
js: '.js',
|
|
15
14
|
};
|
|
16
15
|
},
|
|
17
|
-
esbuildOptions(options: { alias?: Record<string, string> }) {
|
|
18
|
-
options.alias = {
|
|
19
|
-
'@replicas/shared': '../shared/src',
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
16
|
};
|
|
23
17
|
|
|
24
18
|
export default config;
|