@julong/mono-rele2-core 1.3.0 → 1.3.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.
- package/README.md +93 -0
- package/package.json +5 -1
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# @julong/mono-rele2-core
|
|
2
|
+
|
|
3
|
+
Core system utility tools for the mono-rele2 monorepo. Available as an MCP server and a standalone CLI.
|
|
4
|
+
|
|
5
|
+
## CLI
|
|
6
|
+
|
|
7
|
+
### Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install -g @julong/mono-rele2-core
|
|
11
|
+
# or
|
|
12
|
+
npx @julong/mono-rele2-core <skillName> [...args]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Usage
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
mono-rele2-core <skillName> [...args]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Run without arguments to list all available skills:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
mono-rele2-core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
Available skills:
|
|
29
|
+
|
|
30
|
+
echoTool
|
|
31
|
+
Returns the message as-is
|
|
32
|
+
message Message to echo
|
|
33
|
+
...
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Skills
|
|
37
|
+
|
|
38
|
+
#### `echoTool`
|
|
39
|
+
|
|
40
|
+
Returns the message as-is.
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
mono-rele2-core echoTool <message>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
| arg | type | description |
|
|
47
|
+
|-----|------|-------------|
|
|
48
|
+
| `message` | string | Message to echo |
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
mono-rele2-core echoTool "hello world" # hello world
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### `timestampTool`
|
|
55
|
+
|
|
56
|
+
Returns the current UTC timestamp.
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
mono-rele2-core timestampTool [format]
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
| arg | type | description |
|
|
63
|
+
|-----|------|-------------|
|
|
64
|
+
| `format` | `iso` \| `unix` | Output format (default: `iso`) |
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
mono-rele2-core timestampTool # 2026-05-03T00:00:00.000Z
|
|
68
|
+
mono-rele2-core timestampTool iso # 2026-05-03T00:00:00.000Z
|
|
69
|
+
mono-rele2-core timestampTool unix # 1746230400000
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
#### `envTool`
|
|
73
|
+
|
|
74
|
+
Returns the value of an environment variable.
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
mono-rele2-core envTool <key>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
| arg | type | description |
|
|
81
|
+
|-----|------|-------------|
|
|
82
|
+
| `key` | string | Environment variable name |
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
mono-rele2-core envTool HOME # /Users/julong
|
|
86
|
+
mono-rele2-core envTool NODE_ENV # development
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## MCP Server
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
mcp-core
|
|
93
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julong/mono-rele2-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,5 +23,9 @@
|
|
|
23
23
|
"build": "tsup",
|
|
24
24
|
"typecheck": "tsc --noEmit",
|
|
25
25
|
"clean": "rimraf dist"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
29
|
+
"zod": "^4.4.2"
|
|
26
30
|
}
|
|
27
31
|
}
|