@bitefoundry/onenote 0.4.1 → 0.4.3
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 +8 -6
- package/package.json +7 -7
- package/scripts/postinstall.mjs +12 -1
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
[](docs/NPM.md)
|
|
9
9
|
[](https://github.com/BiteFoundry/onenote/blob/master/Cargo.toml)
|
|
10
10
|
[](LICENSE)
|
|
11
|
+
[](https://glama.ai/mcp/servers/BiteFoundry/onenote)
|
|
11
12
|
|
|
12
13
|
[BiteFoundry](https://bitefoundry.dev/#app-onenote) · [Latest release notes](https://github.com/BiteFoundry/onenote/releases/latest)
|
|
13
14
|
|
|
@@ -186,12 +187,13 @@ Full tool catalog & schemas: [docs/MCP.md](docs/MCP.md).
|
|
|
186
187
|
|
|
187
188
|
| Package | Commands | Workspace Coverage |
|
|
188
189
|
| --- | --- | --- |
|
|
189
|
-
| [`@bitefoundry/teams`](https://
|
|
190
|
-
| [`@bitefoundry/outlook`](https://
|
|
191
|
-
| **`@bitefoundry/onenote`** | `onenote` | Microsoft OneNote notebooks, sections, pages & XHTML/Markdown |
|
|
192
|
-
| [`@bitefoundry/sharepoint`](https://
|
|
193
|
-
| [`@bitefoundry/atlassian`](https://
|
|
194
|
-
| [`@bitefoundry/notion`](https://
|
|
190
|
+
| [`@bitefoundry/teams`](https://github.com/BiteFoundry/teams) | `teams` | Microsoft Teams chats, channels, threads & meetings |
|
|
191
|
+
| [`@bitefoundry/outlook`](https://github.com/BiteFoundry/outlook) | `outlook` | Microsoft Outlook mail, calendar & contacts |
|
|
192
|
+
| **`@bitefoundry/onenote`** *(this repo)* | `onenote` | Microsoft OneNote notebooks, sections, pages & XHTML/Markdown |
|
|
193
|
+
| [`@bitefoundry/sharepoint`](https://github.com/BiteFoundry/sharepoint) | `sharepoint`, `bitefoundry-onedrive` | Microsoft SharePoint sites, document libraries & OneDrive files |
|
|
194
|
+
| [`@bitefoundry/atlassian`](https://github.com/BiteFoundry/atlassian) | `atlassian`, `confluence`, `conf` | Atlassian Jira issues, boards, sprints & Confluence pages |
|
|
195
|
+
| [`@bitefoundry/notion`](https://github.com/BiteFoundry/notion) | `notion` | Notion pages, databases, blocks & Markdown sync |
|
|
196
|
+
| [`@bitefoundry/obsidian`](https://github.com/BiteFoundry/obsidian) | `bitefoundry-obsidian` | Obsidian local vaults, backlinks & knowledge graph |
|
|
195
197
|
|
|
196
198
|
---
|
|
197
199
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitefoundry/onenote",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Microsoft OneNote terminal client & AI agent toolkit — Notebooks, Sections, Pages, XHTML/Markdown & Resources (CLI, TUI, HTTP API, MCP)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"build:npm": "node scripts/build-npm.mjs"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@bitefoundry/onenote-win32-x64": "0.4.
|
|
44
|
-
"@bitefoundry/onenote-win32-arm64": "0.4.
|
|
45
|
-
"@bitefoundry/onenote-darwin-x64": "0.4.
|
|
46
|
-
"@bitefoundry/onenote-darwin-arm64": "0.4.
|
|
47
|
-
"@bitefoundry/onenote-linux-x64": "0.4.
|
|
48
|
-
"@bitefoundry/onenote-linux-arm64": "0.4.
|
|
43
|
+
"@bitefoundry/onenote-win32-x64": "0.4.3",
|
|
44
|
+
"@bitefoundry/onenote-win32-arm64": "0.4.3",
|
|
45
|
+
"@bitefoundry/onenote-darwin-x64": "0.4.3",
|
|
46
|
+
"@bitefoundry/onenote-darwin-arm64": "0.4.3",
|
|
47
|
+
"@bitefoundry/onenote-linux-x64": "0.4.3",
|
|
48
|
+
"@bitefoundry/onenote-linux-arm64": "0.4.3"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/scripts/postinstall.mjs
CHANGED
|
@@ -252,7 +252,18 @@ export function runPostinstall(options = {}) {
|
|
|
252
252
|
return { skipped: false, platform, linked };
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
|
|
255
|
+
function resolveRealPath(targetPath) {
|
|
256
|
+
try {
|
|
257
|
+
return fs.realpathSync(targetPath);
|
|
258
|
+
} catch {
|
|
259
|
+
return path.resolve(targetPath);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
if (
|
|
264
|
+
process.argv[1] &&
|
|
265
|
+
resolveRealPath(process.argv[1]) === resolveRealPath(fileURLToPath(import.meta.url))
|
|
266
|
+
) {
|
|
256
267
|
try {
|
|
257
268
|
runPostinstall();
|
|
258
269
|
} catch {
|