obsidian-native-mcp 1.4.1 → 1.5.0

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.
@@ -89,10 +89,19 @@ jobs:
89
89
  github.event.workflow_run.head_branch == 'main'
90
90
  runs-on: ubuntu-latest
91
91
  steps:
92
+ - name: Verify release token
93
+ env:
94
+ RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
95
+ run: |
96
+ if [ -z "$RELEASE_TOKEN" ]; then
97
+ echo "RELEASE_TOKEN secret is required so semantic-release can push release commits to protected main." >&2
98
+ exit 1
99
+ fi
100
+
92
101
  - uses: actions/checkout@v6
93
102
  with:
94
103
  fetch-depth: 0
95
- persist-credentials: false
104
+ token: ${{ secrets.RELEASE_TOKEN }}
96
105
  ref: ${{ github.event.workflow_run.head_sha || github.sha }}
97
106
 
98
107
  - uses: actions/setup-node@v6
@@ -109,7 +118,7 @@ jobs:
109
118
 
110
119
  - name: Semantic Release
111
120
  env:
112
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
113
122
  run: |
114
123
  export PATH="$PWD/node_modules/.bin:$PATH"
115
124
  npm --version
@@ -125,10 +134,19 @@ jobs:
125
134
  if: ${{ inputs.reason != '' }}
126
135
  run: echo "Manual release reason - ${{ inputs.reason }}" >> "$GITHUB_STEP_SUMMARY"
127
136
 
137
+ - name: Verify release token
138
+ env:
139
+ RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
140
+ run: |
141
+ if [ -z "$RELEASE_TOKEN" ]; then
142
+ echo "RELEASE_TOKEN secret is required so semantic-release can push release commits to protected main." >&2
143
+ exit 1
144
+ fi
145
+
128
146
  - uses: actions/checkout@v6
129
147
  with:
130
148
  fetch-depth: 0
131
- persist-credentials: false
149
+ token: ${{ secrets.RELEASE_TOKEN }}
132
150
  ref: ${{ github.event.workflow_run.head_sha || github.sha }}
133
151
 
134
152
  - uses: actions/setup-node@v6
@@ -145,7 +163,7 @@ jobs:
145
163
 
146
164
  - name: Semantic Release
147
165
  env:
148
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
149
167
  run: |
150
168
  export PATH="$PWD/node_modules/.bin:$PATH"
151
169
  npm --version
package/.releaserc.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "branches": ["main"],
3
+ "tagFormat": "${version}",
3
4
  "plugins": [
4
5
  "@semantic-release/commit-analyzer",
5
6
  "@semantic-release/release-notes-generator",
@@ -11,6 +12,13 @@
11
12
  "prepareCmd": "node scripts/sync-version.cjs && npm run build:plugin"
12
13
  }
13
14
  ],
15
+ [
16
+ "@semantic-release/git",
17
+ {
18
+ "assets": ["CHANGELOG.md", "package.json", "package-lock.json", "manifest.json"],
19
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
20
+ }
21
+ ],
14
22
  [
15
23
  "@semantic-release/github",
16
24
  {
package/CHANGELOG.md CHANGED
@@ -1,6 +1,5 @@
1
- ## [1.4.1](https://github.com/usrivastava92/obsidian-native-mcp/compare/v1.4.0...v1.4.1) (2026-05-24)
1
+ # [1.5.0](https://github.com/usrivastava92/obsidian-native-mcp/compare/1.4.2...1.5.0) (2026-05-24)
2
2
 
3
+ ### Features
3
4
 
4
- ### Bug Fixes
5
-
6
- * **plugin:** rename manifest identity for community submission ([e78fc27](https://github.com/usrivastava92/obsidian-native-mcp/commit/e78fc27cc68e7b4ca8d32d481ab014cb7875d9cb))
5
+ - add branding assets and README banner ([495d8ae](https://github.com/usrivastava92/obsidian-native-mcp/commit/495d8ae5506925ec9b16a4beb31ef6f6d733f95b))
package/DEVELOPER.md CHANGED
@@ -154,14 +154,22 @@ Add more fixtures whenever you find a new edge class — the test suite rewards
154
154
  ## Release process
155
155
 
156
156
  ```bash
157
- # Bump version in package.json + manifest.json (the prepare hook + sync-version.cjs keep them aligned)
158
157
  npm run check && npm run lint && npm test && npm run build && npm run build:plugin
159
158
  npm publish
160
- gh release create vX.Y.Z --title "vX.Y.Z" --generate-notes
159
+ gh release create X.Y.Z --title "X.Y.Z" --generate-notes
161
160
  # Plugin: submit dist/plugin/ to https://github.com/obsidianmd/obsidian-releases
162
161
  ```
163
162
 
164
- CI uses semantic-release on the `main` branch.
163
+ CI uses semantic-release on the `main` branch. The release pipeline bumps
164
+ `package.json`, syncs `manifest.json`, commits the versioned files back to
165
+ `main`, and publishes GitHub releases with bare version tags such as `1.4.2`
166
+ so Obsidian can match the manifest version.
167
+
168
+ Because `main` is protected, the release workflow requires a `RELEASE_TOKEN`
169
+ repository secret. Use a fine-grained PAT or GitHub App token whose actor is
170
+ allowed to bypass the `main` branch protection rule and has contents write
171
+ access. The default `GITHUB_TOKEN` is not enough when direct pushes to `main`
172
+ are blocked.
165
173
 
166
174
  ## Protocol reference
167
175
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- # Obsidian Native MCP
3
+ <img src="assets/banner.png" alt="Obsidian Native MCP banner" width="800" />
4
4
 
5
5
  **LLM-optimized MCP server for Obsidian vaults**
6
6
  Surgical edits, hash-based concurrency safety, no whole-file rewrites.
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "native-mcp",
3
3
  "name": "Native MCP",
4
- "version": "1.4.1",
4
+ "version": "1.5.0",
5
5
  "minAppVersion": "1.5.0",
6
6
  "description": "MCP server for AI assistants to read, search, create, and modify notes in your vaults",
7
7
  "author": "Utkarsh Srivastava",
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "native-mcp",
3
3
  "name": "Native MCP",
4
- "version": "1.4.1",
4
+ "version": "1.5.0",
5
5
  "minAppVersion": "1.5.0",
6
6
  "description": "MCP server for AI assistants to read, search, create, and modify notes in your vaults",
7
7
  "author": "Utkarsh Srivastava",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-native-mcp",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Zero-dependency MCP server for Obsidian vaults. Direct filesystem access — no Obsidian process or REST API plugin needed.",
5
5
  "license": "MIT",
6
6
  "type": "module",