@devframes/vite 0.9.20 → 0.10.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/dist/hub-client.d.mts +2 -2
- package/dist/single.d.mts +3 -3
- package/dist/single.mjs +2 -2
- package/package.json +7 -7
package/dist/hub-client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DevframeClientRuntime, DevframeClientRuntime as DevframeClientRuntime$1, DevframeClientRuntimeOptions, DevframeClientRuntimeOptions as DevframeClientRuntimeOptions$1 } from "@devframes/hub/client";
|
|
2
2
|
//#region src/hub-client.d.ts
|
|
3
3
|
export interface MountDevframeHubClientOptions extends DevframeClientRuntimeOptions$1 {
|
|
4
4
|
/**
|
|
@@ -23,4 +23,4 @@ export interface MountDevframeHubClientOptions extends DevframeClientRuntimeOpti
|
|
|
23
23
|
*/
|
|
24
24
|
export declare function mountDevframeHubClient(options?: MountDevframeHubClientOptions): Promise<DevframeClientRuntime$1>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export type {
|
|
26
|
+
export type { DevframeClientRuntime, DevframeClientRuntimeOptions };
|
package/dist/single.d.mts
CHANGED
|
@@ -88,9 +88,9 @@ export interface DevframeViteBridgeOptions {
|
|
|
88
88
|
/**
|
|
89
89
|
* Expose the bridge's route-based MCP server (Streamable-HTTP) at
|
|
90
90
|
* `<base>__mcp` (on the Vite app's own origin) and advertise it in the
|
|
91
|
-
* bridge's `__connection.json`.
|
|
92
|
-
*
|
|
93
|
-
*
|
|
91
|
+
* bridge's `__connection.json`. `undefined` falls through to the `'auto'`
|
|
92
|
+
* default (mount once the agent surface is non-empty); `false` disables the
|
|
93
|
+
* route regardless.
|
|
94
94
|
*/
|
|
95
95
|
mcp?: McpSetting;
|
|
96
96
|
/**
|
package/dist/single.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import { initDevframe } from "devframe/initiate";
|
|
3
|
-
import { diagnostics, normalizeBasePath, resolveBasePath
|
|
3
|
+
import { diagnostics, normalizeBasePath, resolveBasePath } from "devframe/internal";
|
|
4
4
|
import { resolveStaticAssetsSource } from "devframe/utils/remote-assets";
|
|
5
5
|
import { serveStaticNodeMiddleware } from "devframe/utils/serve-static";
|
|
6
6
|
import { join, resolve } from "pathe";
|
|
@@ -18,7 +18,7 @@ import { join, resolve } from "pathe";
|
|
|
18
18
|
*/
|
|
19
19
|
function devframeVitePlugin(d, options = {}) {
|
|
20
20
|
const base = normalizeMountBase(options.base ?? resolveBasePath(d, "hosted"));
|
|
21
|
-
const distDir =
|
|
21
|
+
const distDir = d.clientAssets;
|
|
22
22
|
return {
|
|
23
23
|
name: `devframe:${d.id}`,
|
|
24
24
|
apply: "serve",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"description": "Vite plugin for mounting a devframe inside any Vite-based host (Astro, SolidStart, Nuxt, plain Vite apps).",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@devframes/hub": "0.
|
|
34
|
-
"@devframes/hub-ui": "0.
|
|
35
|
-
"devframe": "0.
|
|
33
|
+
"@devframes/hub": "0.10.0",
|
|
34
|
+
"@devframes/hub-ui": "0.10.0",
|
|
35
|
+
"devframe": "0.10.0",
|
|
36
36
|
"vite": "^7.0.0 || ^8.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"pathe": "^2.0.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@devframes/hub": "0.
|
|
54
|
-
"@devframes/hub-ui": "0.
|
|
53
|
+
"@devframes/hub": "0.10.0",
|
|
54
|
+
"@devframes/hub-ui": "0.10.0",
|
|
55
55
|
"@modelcontextprotocol/client": "^2.0.0",
|
|
56
56
|
"@types/node": "^26.5.1",
|
|
57
57
|
"@types/ws": "^8.18.1",
|
|
58
|
-
"devframe": "0.
|
|
58
|
+
"devframe": "0.10.0",
|
|
59
59
|
"get-port-please": "^3.2.0",
|
|
60
60
|
"tsdown": "^0.23.0",
|
|
61
61
|
"vite": "^8.3.0",
|