marona 1.1.0 → 1.1.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/CHANGELOG.md +5 -0
- package/README.md +16 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
- Add the Microsoft 365 Work IQ connection flow with Marona-managed OAuth.
|
|
6
|
+
- Keep Microsoft OAuth client credentials out of developer applications.
|
|
7
|
+
|
|
3
8
|
## 1.1.0
|
|
4
9
|
|
|
5
10
|
- Add governed external MCP server registration, verification, activation,
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Universal Model Gateway and MCP/Skill SDK for Node.js 18+.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install marona@1.1.
|
|
8
|
+
npm install marona@1.1.1
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Authentication
|
|
@@ -88,25 +88,34 @@ fields, never upstream endpoints or raw provider payloads.
|
|
|
88
88
|
|
|
89
89
|
```typescript
|
|
90
90
|
const registered = await marona.hub.registerMcpServer({
|
|
91
|
-
name: "Microsoft 365
|
|
92
|
-
slug: "microsoft-365-
|
|
93
|
-
serverUrl:
|
|
94
|
-
authMode: "
|
|
91
|
+
name: "Microsoft 365 Outlook Mail",
|
|
92
|
+
slug: "microsoft-365-mail",
|
|
93
|
+
serverUrl: `https://agent365.svc.cloud.microsoft/agents/tenants/${process.env.MICROSOFT_TENANT_ID}/servers/mcp_MailTools`,
|
|
94
|
+
authMode: "oauth2",
|
|
95
95
|
});
|
|
96
96
|
const serverId = registered.server.id;
|
|
97
|
+
const authorization = await marona.hub.startMcpOauth(serverId, {
|
|
98
|
+
userSubject: "YOUR_APPLICATION_USER_ID",
|
|
99
|
+
});
|
|
100
|
+
console.log(authorization.authorization_url);
|
|
97
101
|
await marona.hub.verifyMcpServer(serverId);
|
|
98
102
|
await marona.hub.activateMcpServer(serverId);
|
|
99
103
|
const tools = await marona.hub.connect({
|
|
100
|
-
apps: ["microsoft-365-
|
|
104
|
+
apps: ["microsoft-365-mail"],
|
|
101
105
|
});
|
|
102
106
|
```
|
|
103
107
|
|
|
108
|
+
Marona manages the Microsoft OAuth client; each application user only follows
|
|
109
|
+
the authorization URL and consents. Use the same user subject as the runtime
|
|
110
|
+
user ID afterward. The official Files endpoint covers OneDrive and SharePoint
|
|
111
|
+
content, including stored Excel workbooks and PowerPoint presentations.
|
|
112
|
+
|
|
104
113
|
An unscoped `connect()` returns every capability available to the developer
|
|
105
114
|
key. External calls always pass through Marona's governed gateway; upstream
|
|
106
115
|
credentials and direct external endpoints are never returned to the SDK.
|
|
107
116
|
|
|
108
117
|
## Release
|
|
109
118
|
|
|
110
|
-
Version `1.1.
|
|
119
|
+
Version `1.1.1` is published to npm from tag `typescript-v1.1.1` only after
|
|
111
120
|
build, tests, package validation, and coordinated release checks succeed on
|
|
112
121
|
`main`.
|