@absolutejs/mcp 0.15.1 → 0.17.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/CHANGELOG.md +17 -0
- package/README.md +6 -0
- package/changelog.json +37 -0
- package/dist/apps.js +90 -0
- package/dist/browser/billing.d.ts +1 -0
- package/dist/commerce.js +223 -0
- package/dist/index.js +436 -88
- package/dist/scripts/build-apps.d.ts +1 -0
- package/dist/src/apps.d.ts +33 -0
- package/dist/src/billingApp.generated.d.ts +2 -0
- package/dist/src/billingApps.d.ts +8 -0
- package/dist/src/billingTools.d.ts +30 -0
- package/dist/src/client.d.ts +3 -0
- package/dist/src/commerce.d.ts +1 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/src/postgres.d.ts +5 -0
- package/dist/src/sessions.d.ts +2 -1
- package/dist/src/types.d.ts +11 -0
- package/docs/mcp-apps.md +56 -0
- package/docs/third-party/mcp-apps-LICENSE +216 -0
- package/docs/third-party/mcp-client-LICENSE +216 -0
- package/docs/third-party/mcp-core-LICENSE +216 -0
- package/docs/third-party/standard-schema-LICENSE +21 -0
- package/docs/third-party/zod-LICENSE +21 -0
- package/package.json +18 -8
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,23 @@ This file is generated by `absolute-changelog` from the entries in
|
|
|
6
6
|
`changelog/`. Edit an entry, not this file — and add new ones under
|
|
7
7
|
`changelog/unreleased/`.
|
|
8
8
|
|
|
9
|
+
## 0.17.0 — 2026-09-11
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Negotiate MCP Apps with persisted capabilities, guarded offline UI resources and reusable SDK-backed billing views**
|
|
14
|
+
- **Preserve remote UI metadata in the client and expose immutable PostgreSQL migration entries**
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Extend McpClientOptions, McpRemoteTool, createSessionRegistry, McpSessionStore, McpServerConfig, McpTool and McpToolResult with optional Apps capability and metadata fields; existing text-only callers remain supported** (`McpClientOptions`, `McpRemoteTool`, `createSessionRegistry`, `McpSessionStore`, `McpServerConfig`, `McpTool`, `McpToolResult`)
|
|
19
|
+
|
|
20
|
+
## 0.16.0 — 2026-09-11
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- **Add account-bound billing status, paginated receipts, bounded usage and reviewed billing-management links**
|
|
25
|
+
|
|
9
26
|
## 0.15.1 — 2026-09-11
|
|
10
27
|
|
|
11
28
|
### Fixed
|
package/README.md
CHANGED
|
@@ -431,3 +431,9 @@ on the Change Date.
|
|
|
431
431
|
## Secure credit checkout
|
|
432
432
|
|
|
433
433
|
`createCheckoutHandoffTool` and `createPurchaseStatusTool` provide account-bound credit checkout and recovery contracts. The issuer must bind server pricing and identity; route these tools through the commerce guard. Checkout is classified as `external_checkout`, so restricted and unverified channels cannot discover or execute it. Status works at zero credits. Never pass card data in tool input. See [host rules](docs/commerce-host-rules.md).
|
|
434
|
+
|
|
435
|
+
`createBillingReportTools` binds billing status, paginated receipts, and bounded UTC usage reports to authenticated reader callbacks. These non-transactional tools remain available at zero balance. The shared billing projections discard payment/provider secrets and enforce reconciled usage breakdowns. `createBillingManagementTool` returns a fixed HTTPS browser page requiring normal browser authentication; because that page can initiate purchases, it retains `external_checkout` commerce classification. Never label a purchase-capable page informational to bypass host restrictions.
|
|
436
|
+
|
|
437
|
+
## Interactive MCP Apps
|
|
438
|
+
|
|
439
|
+
`createBillingApps()` adds reusable read-only credit, usage and receipt views with the official browser SDK. Apps capability negotiation, guarded resources and text fallbacks live in the package. See [MCP Apps](docs/mcp-apps.md) for integration, session migration, CSP restrictions and host validation boundaries.
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/mcp",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"version": "0.17.0",
|
|
7
|
+
"date": "2026-09-11",
|
|
8
|
+
"changes": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "added",
|
|
11
|
+
"summary": "Negotiate MCP Apps with persisted capabilities, guarded offline UI resources and reusable SDK-backed billing views"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"kind": "added",
|
|
15
|
+
"summary": "Preserve remote UI metadata in the client and expose immutable PostgreSQL migration entries"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"kind": "changed",
|
|
19
|
+
"summary": "Extend McpClientOptions, McpRemoteTool, createSessionRegistry, McpSessionStore, McpServerConfig, McpTool and McpToolResult with optional Apps capability and metadata fields; existing text-only callers remain supported",
|
|
20
|
+
"symbols": [
|
|
21
|
+
"McpClientOptions",
|
|
22
|
+
"McpRemoteTool",
|
|
23
|
+
"createSessionRegistry",
|
|
24
|
+
"McpSessionStore",
|
|
25
|
+
"McpServerConfig",
|
|
26
|
+
"McpTool",
|
|
27
|
+
"McpToolResult"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"version": "0.16.0",
|
|
34
|
+
"date": "2026-09-11",
|
|
35
|
+
"changes": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "added",
|
|
38
|
+
"summary": "Add account-bound billing status, paginated receipts, bounded usage and reviewed billing-management links"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
5
42
|
{
|
|
6
43
|
"version": "0.15.1",
|
|
7
44
|
"date": "2026-09-11",
|