@julong/mono-rele2-core 1.1.1 → 1.1.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/package.json +8 -11
- package/.turbo/turbo-build.log +0 -4
- package/CHANGELOG.md +0 -29
- package/src/index.ts +0 -11
- package/src/server.ts +0 -10
- package/src/tools/index.ts +0 -1
- package/src/tools/system.ts +0 -32
- package/tsconfig.json +0 -19
- package/tsconfig.tsbuildinfo +0 -1
package/package.json
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julong/mono-rele2-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
|
-
"import": "./
|
|
9
|
-
"types": "./
|
|
8
|
+
"import": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"bin": {
|
|
13
13
|
"mcp-core": "./dist/server.js"
|
|
14
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
15
18
|
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
17
|
-
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"import": "./dist/index.js",
|
|
20
|
-
"types": "./dist/index.d.ts"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
19
|
+
"access": "public"
|
|
23
20
|
},
|
|
24
21
|
"scripts": {
|
|
25
22
|
"build": "tsc --build && chmod 755 dist/server.js",
|
|
@@ -27,7 +24,7 @@
|
|
|
27
24
|
"clean": "rimraf dist tsconfig.tsbuildinfo"
|
|
28
25
|
},
|
|
29
26
|
"dependencies": {
|
|
30
|
-
"@julong/mono-rele2-common": "1.1.
|
|
27
|
+
"@julong/mono-rele2-common": "1.1.1",
|
|
31
28
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
29
|
"@types/node": "^25.6.0",
|
|
33
30
|
"zod": "^3.24.0"
|
package/.turbo/turbo-build.log
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
## @julong/mono-rele2-core [1.1.1](https://github.com/mss-julong/mono-rele2/compare/@julong/mono-rele2-core@1.1.0...@julong/mono-rele2-core@1.1.1) (2026-04-30)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Dependencies
|
|
5
|
-
|
|
6
|
-
* **@julong/mono-rele2-common:** upgraded to 1.1.0
|
|
7
|
-
|
|
8
|
-
## @julong/mono-rele2-core [1.1.0](https://github.com/mss-julong/mono-rele2/compare/@julong/mono-rele2-core@1.0.1...@julong/mono-rele2-core@1.1.0) (2026-04-30)
|
|
9
|
-
|
|
10
|
-
### Features
|
|
11
|
-
|
|
12
|
-
* mcp서버 추가 ([2d00087](https://github.com/mss-julong/mono-rele2/commit/2d0008777d5a0b3b032d93ef7e18c9ea13e0d619))
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Dependencies
|
|
16
|
-
|
|
17
|
-
* **@julong/mono-rele2-common:** upgraded to 1.0.0
|
|
18
|
-
|
|
19
|
-
## @julong/mono-rele2-core [1.0.1](https://github.com/mss-julong/mono-rele2/compare/@julong/mono-rele2-core@1.0.0...@julong/mono-rele2-core@1.0.1) (2026-04-30)
|
|
20
|
-
|
|
21
|
-
### Bug Fixes
|
|
22
|
-
|
|
23
|
-
* 코어 배포 테스트 ([f64e484](https://github.com/mss-julong/mono-rele2/commit/f64e4841d4c40d9a47d2dfe142d2802ad1d7803d))
|
|
24
|
-
|
|
25
|
-
## @julong/mono-rele2-core 1.0.0 (2026-04-30)
|
|
26
|
-
|
|
27
|
-
### Features
|
|
28
|
-
|
|
29
|
-
* 프로젝트 초기화 ([4786372](https://github.com/mss-julong/mono-rele2/commit/47863729484561d11757409bde78dd63baad8c8c))
|
package/src/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createMcpServer } from '@julong/mono-rele2-common'
|
|
2
|
-
import { echoTool, envTool, timestampTool } from './tools/index.js'
|
|
3
|
-
|
|
4
|
-
export { echoTool, envTool, timestampTool } from './tools/index.js'
|
|
5
|
-
|
|
6
|
-
export function createCoreServer() {
|
|
7
|
-
return createMcpServer(
|
|
8
|
-
{ name: 'mono-rele2-core', version: '1.0.0' },
|
|
9
|
-
[echoTool, timestampTool, envTool],
|
|
10
|
-
)
|
|
11
|
-
}
|
package/src/server.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { startServer } from '@julong/mono-rele2-common'
|
|
3
|
-
import { createCoreServer } from './index.js'
|
|
4
|
-
|
|
5
|
-
const server = createCoreServer()
|
|
6
|
-
|
|
7
|
-
startServer(server).catch((err) => {
|
|
8
|
-
console.error('[core] server error:', err)
|
|
9
|
-
process.exit(1)
|
|
10
|
-
})
|
package/src/tools/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { echoTool, timestampTool, envTool } from './system.js'
|
package/src/tools/system.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineTool, text } from '@julong/mono-rele2-common'
|
|
2
|
-
import { z } from 'zod'
|
|
3
|
-
|
|
4
|
-
export const echoTool = defineTool({
|
|
5
|
-
name: 'echo',
|
|
6
|
-
description: 'Returns the message as-is',
|
|
7
|
-
inputSchema: {
|
|
8
|
-
message: z.string().describe('Message to echo'),
|
|
9
|
-
},
|
|
10
|
-
handler: async ({ message }) => text(message),
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
export const timestampTool = defineTool({
|
|
14
|
-
name: 'timestamp',
|
|
15
|
-
description: 'Returns the current UTC timestamp',
|
|
16
|
-
inputSchema: {
|
|
17
|
-
format: z.enum(['iso', 'unix']).default('iso').describe('Timestamp format'),
|
|
18
|
-
},
|
|
19
|
-
handler: async ({ format }) => {
|
|
20
|
-
const value = format === 'unix' ? String(Date.now()) : new Date().toISOString()
|
|
21
|
-
return text(value)
|
|
22
|
-
},
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
export const envTool = defineTool({
|
|
26
|
-
name: 'env',
|
|
27
|
-
description: 'Returns the value of an environment variable',
|
|
28
|
-
inputSchema: {
|
|
29
|
-
key: z.string().describe('Environment variable name'),
|
|
30
|
-
},
|
|
31
|
-
handler: async ({ key }) => text(process.env[key] ?? ''),
|
|
32
|
-
})
|
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "ES2022",
|
|
5
|
-
"lib": ["ES2022"],
|
|
6
|
-
"module": "NodeNext",
|
|
7
|
-
"moduleResolution": "NodeNext",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"declaration": true,
|
|
13
|
-
"declarationMap": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"outDir": "dist",
|
|
16
|
-
"rootDir": "src"
|
|
17
|
-
},
|
|
18
|
-
"include": ["src"]
|
|
19
|
-
}
|
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/server.ts","./src/tools/index.ts","./src/tools/system.ts"],"version":"5.9.3"}
|