obsidian-native-mcp 1.2.0 → 1.4.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.
- package/.github/workflows/ci.yml +11 -11
- package/.github/workflows/release.yml +4 -4
- package/CHANGELOG.md +2 -2
- package/DESIGN_V1.md +583 -0
- package/README.md +80 -7
- package/dist/audit/log.js.map +1 -1
- package/dist/cli/index.js +40 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/config.js +36 -0
- package/dist/config.js.map +1 -0
- package/dist/fs/walk.js +7 -3
- package/dist/fs/walk.js.map +1 -1
- package/dist/handlers/registry.js.map +1 -1
- package/dist/mcp/server.js +39 -7
- package/dist/mcp/server.js.map +1 -1
- package/dist/plugin/main.js +334 -73
- package/dist/plugin/main.js.map +1 -1
- package/dist/plugin/manifest.json +1 -1
- package/dist/plugin/settings.js +50 -0
- package/dist/plugin/settings.js.map +1 -1
- package/dist/tools/read.js +139 -6
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/write-bulk.js +15 -0
- package/dist/tools/write-bulk.js.map +1 -1
- package/dist/utils/types.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/benchmark-search.mjs +179 -0
- package/src/audit/log.ts +6 -0
- package/src/cli/index.ts +38 -9
- package/src/config.ts +63 -0
- package/src/fs/walk.ts +7 -2
- package/src/handlers/registry.ts +5 -0
- package/src/mcp/server.ts +44 -7
- package/src/plugin/main.ts +21 -0
- package/src/plugin/settings.ts +67 -0
- package/src/tools/read.ts +160 -6
- package/src/tools/write-bulk.ts +22 -0
- package/src/utils/types.ts +2 -0
- package/tests/helpers/sandbox.ts +12 -1
- package/tests/scenarios/S16-budget-exceeded.test.ts +177 -0
- package/tests/scenarios/S17-per-call-budget.test.ts +161 -0
package/.github/workflows/ci.yml
CHANGED
|
@@ -20,8 +20,8 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
24
|
-
- uses: actions/setup-node@
|
|
23
|
+
- uses: actions/checkout@v6
|
|
24
|
+
- uses: actions/setup-node@v6
|
|
25
25
|
with:
|
|
26
26
|
node-version-file: .nvmrc
|
|
27
27
|
cache: npm
|
|
@@ -33,8 +33,8 @@ jobs:
|
|
|
33
33
|
runs-on: ubuntu-latest
|
|
34
34
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')
|
|
35
35
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
37
|
-
- uses: actions/setup-node@
|
|
36
|
+
- uses: actions/checkout@v6
|
|
37
|
+
- uses: actions/setup-node@v6
|
|
38
38
|
with:
|
|
39
39
|
node-version-file: .nvmrc
|
|
40
40
|
cache: npm
|
|
@@ -47,8 +47,8 @@ jobs:
|
|
|
47
47
|
runs-on: ubuntu-latest
|
|
48
48
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')
|
|
49
49
|
steps:
|
|
50
|
-
- uses: actions/checkout@
|
|
51
|
-
- uses: actions/setup-node@
|
|
50
|
+
- uses: actions/checkout@v6
|
|
51
|
+
- uses: actions/setup-node@v6
|
|
52
52
|
with:
|
|
53
53
|
node-version-file: .nvmrc
|
|
54
54
|
cache: npm
|
|
@@ -61,8 +61,8 @@ jobs:
|
|
|
61
61
|
runs-on: ubuntu-latest
|
|
62
62
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')
|
|
63
63
|
steps:
|
|
64
|
-
- uses: actions/checkout@
|
|
65
|
-
- uses: actions/setup-node@
|
|
64
|
+
- uses: actions/checkout@v6
|
|
65
|
+
- uses: actions/setup-node@v6
|
|
66
66
|
with:
|
|
67
67
|
node-version-file: .nvmrc
|
|
68
68
|
cache: npm
|
|
@@ -75,8 +75,8 @@ jobs:
|
|
|
75
75
|
runs-on: ubuntu-latest
|
|
76
76
|
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')
|
|
77
77
|
steps:
|
|
78
|
-
- uses: actions/checkout@
|
|
79
|
-
- uses: actions/setup-node@
|
|
78
|
+
- uses: actions/checkout@v6
|
|
79
|
+
- uses: actions/setup-node@v6
|
|
80
80
|
with:
|
|
81
81
|
node-version-file: .nvmrc
|
|
82
82
|
cache: npm
|
|
@@ -97,7 +97,7 @@ jobs:
|
|
|
97
97
|
- run: npm ci
|
|
98
98
|
- run: npm run build
|
|
99
99
|
- run: npm run build:plugin
|
|
100
|
-
- uses: actions/upload-artifact@
|
|
100
|
+
- uses: actions/upload-artifact@v7
|
|
101
101
|
with:
|
|
102
102
|
name: dist
|
|
103
103
|
path: dist/
|
|
@@ -89,13 +89,13 @@ jobs:
|
|
|
89
89
|
github.event.workflow_run.head_branch == 'main'
|
|
90
90
|
runs-on: ubuntu-latest
|
|
91
91
|
steps:
|
|
92
|
-
- uses: actions/checkout@
|
|
92
|
+
- uses: actions/checkout@v6
|
|
93
93
|
with:
|
|
94
94
|
fetch-depth: 0
|
|
95
95
|
persist-credentials: false
|
|
96
96
|
ref: ${{ github.event.workflow_run.head_sha || github.sha }}
|
|
97
97
|
|
|
98
|
-
- uses: actions/setup-node@
|
|
98
|
+
- uses: actions/setup-node@v6
|
|
99
99
|
with:
|
|
100
100
|
node-version-file: .nvmrc
|
|
101
101
|
cache: npm
|
|
@@ -125,13 +125,13 @@ jobs:
|
|
|
125
125
|
if: ${{ inputs.reason != '' }}
|
|
126
126
|
run: echo "Manual release reason - ${{ inputs.reason }}" >> "$GITHUB_STEP_SUMMARY"
|
|
127
127
|
|
|
128
|
-
- uses: actions/checkout@
|
|
128
|
+
- uses: actions/checkout@v6
|
|
129
129
|
with:
|
|
130
130
|
fetch-depth: 0
|
|
131
131
|
persist-credentials: false
|
|
132
132
|
ref: ${{ github.event.workflow_run.head_sha || github.sha }}
|
|
133
133
|
|
|
134
|
-
- uses: actions/setup-node@
|
|
134
|
+
- uses: actions/setup-node@v6
|
|
135
135
|
with:
|
|
136
136
|
node-version-file: .nvmrc
|
|
137
137
|
cache: npm
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.4.0](https://github.com/usrivastava92/obsidian-native-mcp/compare/v1.3.0...v1.4.0) (2026-05-23)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* cooperative budgets + deadlines for long-walk tools ([d99e871](https://github.com/usrivastava92/obsidian-native-mcp/commit/d99e8717c3dcec0199cb9084fd264f509c8f679c))
|