ucn 3.8.12 → 3.8.13

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.
@@ -13,7 +13,7 @@ jobs:
13
13
  matrix:
14
14
  node-version: [18, 20, 22]
15
15
  steps:
16
- - uses: actions/checkout@v4
16
+ - uses: actions/checkout@v5
17
17
 
18
18
  - name: Configure git identity for tests
19
19
  run: |
@@ -21,7 +21,7 @@ jobs:
21
21
  git config --global user.name "CI"
22
22
 
23
23
  - name: Use Node.js ${{ matrix.node-version }}
24
- uses: actions/setup-node@v4
24
+ uses: actions/setup-node@v5
25
25
  with:
26
26
  node-version: ${{ matrix.node-version }}
27
27
  cache: npm
@@ -3,7 +3,6 @@ name: Publish
3
3
  on:
4
4
  push:
5
5
  tags: ['v*']
6
- workflow_dispatch:
7
6
 
8
7
  permissions:
9
8
  contents: read
@@ -13,14 +12,14 @@ jobs:
13
12
  test:
14
13
  runs-on: ubuntu-latest
15
14
  steps:
16
- - uses: actions/checkout@v4
15
+ - uses: actions/checkout@v5
17
16
 
18
17
  - name: Configure git identity for tests
19
18
  run: |
20
19
  git config --global user.email "ci@github.com"
21
20
  git config --global user.name "CI"
22
21
 
23
- - uses: actions/setup-node@v4
22
+ - uses: actions/setup-node@v5
24
23
  with:
25
24
  node-version: 22
26
25
  cache: npm
@@ -32,9 +31,15 @@ jobs:
32
31
  needs: test
33
32
  runs-on: ubuntu-latest
34
33
  steps:
35
- - uses: actions/checkout@v4
34
+ - uses: actions/checkout@v5
36
35
 
37
- - uses: actions/setup-node@v4
36
+ - name: Set version from tag
37
+ run: |
38
+ VERSION="${GITHUB_REF_NAME#v}"
39
+ npm version "$VERSION" --no-git-tag-version
40
+ sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" server.json
41
+
42
+ - uses: actions/setup-node@v5
38
43
  with:
39
44
  node-version: 22
40
45
  registry-url: https://registry.npmjs.org
@@ -51,14 +56,21 @@ jobs:
51
56
  contents: read
52
57
  id-token: write
53
58
  steps:
54
- - uses: actions/checkout@v4
59
+ - uses: actions/checkout@v5
55
60
 
56
- - uses: actions/setup-node@v4
61
+ - name: Set version from tag
62
+ run: |
63
+ VERSION="${GITHUB_REF_NAME#v}"
64
+ sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" server.json
65
+
66
+ - uses: actions/setup-node@v5
57
67
  with:
58
68
  node-version: 22
59
69
 
60
70
  - name: Install mcp-publisher
61
- run: npm install -g mcp-publisher
71
+ run: |
72
+ curl -sL https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz | tar xz
73
+ sudo mv mcp-publisher /usr/local/bin/
62
74
 
63
75
  - name: Authenticate with MCP Registry via OIDC
64
76
  run: mcp-publisher login github-oidc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucn",
3
- "version": "3.8.12",
3
+ "version": "3.8.13",
4
4
  "mcpName": "io.github.mleoca/ucn",
5
5
  "description": "Code intelligence toolkit for AI agents — extract functions, trace call chains, find callers, detect dead code without reading entire files. Works as MCP server, CLI, or agent skill. Supports JS/TS, Python, Go, Rust, Java.",
6
6
  "main": "index.js",