@maravilla-labs/types 0.8.3 → 0.9.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 +23 -0
- package/LICENSE +12 -0
- package/index.d.ts +2 -1
- package/index.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @maravilla-labs/types
|
|
2
|
+
|
|
3
|
+
## 0.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f5a503e: Fix `npm run check` error in consumers: re-export the default `Platform` type
|
|
8
|
+
with `export type` (TS1205 under `verbatimModuleSyntax`). Was `export { Platform
|
|
9
|
+
as default }`; `Platform` is a type, so a strict consumer's type-check failed
|
|
10
|
+
inside `node_modules/@maravilla-labs/types`.
|
|
11
|
+
|
|
12
|
+
## 0.9.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 790364b: Add MCP server authoring. Apps can expose AI-agent tools from an `mcp/` folder:
|
|
17
|
+
- `@maravilla-labs/platform/mcp` — new `defineMcpServer` / `defineMcpTool` authoring SDK (`McpToolContext` with the authenticated `user`/`client`, scopes, per-tool `public`, UI templates).
|
|
18
|
+
- `@maravilla-labs/types` — `McpManifest` / `McpToolDescriptor` / `UiTemplateDescriptor` and the `mcp` block on `ManifestV2`.
|
|
19
|
+
- `@maravilla-labs/functions` — `buildMcp` discovery + bundle pipeline emitting `.maravilla/mcp.json`.
|
|
20
|
+
- `@maravilla-labs/adapter-core` — `buildAndIntegrateMcp` and the `mcp` manifest block.
|
|
21
|
+
- `adapter-sveltekit` / `adapter-react-router` — wire MCP integration into the framework build.
|
|
22
|
+
|
|
23
|
+
The runtime serves these tools at `<app-url>/_mcp` as an OAuth-protected MCP endpoint.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 SOLUTAS GmbH, Switzerland. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation (the "Software") are the confidential and proprietary information of SOLUTAS GmbH ("SOLUTAS"). By using, copying, or accessing the Software, you agree that:
|
|
6
|
+
|
|
7
|
+
- No rights are granted except as expressly set forth in a separate written agreement with SOLUTAS.
|
|
8
|
+
- You may not copy, modify, distribute, sublicense, reverse engineer, or create derivative works of the Software except as permitted in such agreement.
|
|
9
|
+
- The Software is provided "as is" without warranty of any kind; SOLUTAS disclaims all implied warranties to the maximum extent permitted by law.
|
|
10
|
+
- In no event shall SOLUTAS be liable for any damages arising from use of the Software except as expressly provided in an applicable agreement.
|
|
11
|
+
|
|
12
|
+
For licensing inquiries, contact: legal@solutas.ch
|
package/index.d.ts
CHANGED
|
@@ -435,6 +435,7 @@ export interface BrowserClient {
|
|
|
435
435
|
* viewport: { width: 1280, height: 720 },
|
|
436
436
|
* target: 'shots/example.png',
|
|
437
437
|
* });
|
|
438
|
+
* // poll handle.id via platform.media.transforms.job(...)
|
|
438
439
|
* ```
|
|
439
440
|
*/
|
|
440
441
|
screenshot(request: ScreenshotRequest): Promise<BrowserJobHandle>;
|
|
@@ -1187,4 +1188,4 @@ export interface Platform {
|
|
|
1187
1188
|
* /// <reference types="@maravilla-labs/types/global" />
|
|
1188
1189
|
* ```
|
|
1189
1190
|
*/
|
|
1190
|
-
export { Platform as default };
|
|
1191
|
+
export type { Platform as default };
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maravilla-labs/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "TypeScript definitions for Maravilla Runtime platform APIs",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"types": "index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"typecheck": "tsc --noEmit",
|
|
10
|
-
"typecheck:test-d": "tsc --noEmit -p tsconfig.test.json"
|
|
11
|
-
},
|
|
12
7
|
"keywords": [
|
|
13
8
|
"maravilla",
|
|
14
9
|
"runtime",
|
|
@@ -25,5 +20,10 @@
|
|
|
25
20
|
},
|
|
26
21
|
"dependencies": {
|
|
27
22
|
"undici-types": "^7.15.0"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"typecheck:test-d": "tsc --noEmit -p tsconfig.test.json"
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
}
|