@devframes/plugin-code-server 0.9.4 → 0.9.6
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 +4 -4
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-e_B-BURz.mjs → src-BsenrINB.mjs} +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @devframes/plugin-code-server
|
|
2
2
|
|
|
3
3
|
> [!WARNING] Experimental
|
|
4
|
-
> This
|
|
4
|
+
> This devframe is experimental and may change without a major version bump until
|
|
5
5
|
> it stabilizes.
|
|
6
6
|
|
|
7
|
-
Run VS Code in the browser as a devframe panel. The
|
|
7
|
+
Run VS Code in the browser as a devframe panel. The devframe detects a local
|
|
8
8
|
editor binary, launches it on demand, and embeds the editor in an
|
|
9
9
|
auto-authenticated `<iframe>`. The launcher is a **Vue** SPA built on the shared
|
|
10
10
|
`@antfu/design` system.
|
|
@@ -17,7 +17,7 @@ auto-authenticated `<iframe>`. The launcher is a **Vue** SPA built on the shared
|
|
|
17
17
|
- **Launch** — the launcher's button starts the editor as a managed child
|
|
18
18
|
process bound to a free port, scoped to the workspace. Readiness is probed
|
|
19
19
|
before the iframe loads.
|
|
20
|
-
- **Auto-auth** — the
|
|
20
|
+
- **Auto-auth** — the devframe generates fresh auth material per launch and hands
|
|
21
21
|
it to the already-authorized devframe client, so the editor opens already
|
|
22
22
|
signed in. `code-server` uses a session cookie (`HASHED_PASSWORD`);
|
|
23
23
|
`code serve-web` uses a connection token on the URL (`?tkn=`).
|
|
@@ -94,4 +94,4 @@ pnpm build-storybook # static build
|
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Stories: connecting, not-installed, launch, launch (serve-web), launch-error,
|
|
97
|
-
starting, tunnel-login, and a running
|
|
97
|
+
starting, tunnel-login, and a running `EditorFrame` (mock editor).
|
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createCodeServerDevframe } from "./src-
|
|
1
|
+
import { t as createCodeServerDevframe } from "./src-BsenrINB.mjs";
|
|
2
2
|
import { DEFAULT_CODE_SERVER_PORT, DEFAULT_PORT, PLUGIN_ID, STATE_KEY, getCookieSessionName } from "./constants.mjs";
|
|
3
3
|
export { DEFAULT_CODE_SERVER_PORT, DEFAULT_PORT, PLUGIN_ID, STATE_KEY, createCodeServerDevframe, createCodeServerDevframe as default, getCookieSessionName };
|
|
@@ -2,7 +2,7 @@ import { PLUGIN_ID } from "./constants.mjs";
|
|
|
2
2
|
import { defineDevframe } from "devframe";
|
|
3
3
|
//#region package.json
|
|
4
4
|
var name = "@devframes/plugin-code-server";
|
|
5
|
-
var version = "0.9.
|
|
5
|
+
var version = "0.9.6";
|
|
6
6
|
var description = "Devframe plugin that runs VS Code in the browser as an embedded editor panel.";
|
|
7
7
|
var homepage = "https://github.com/devframes/devframe#readme";
|
|
8
8
|
//#endregion
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/plugin-code-server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.6",
|
|
5
5
|
"description": "Devframe plugin that runs VS Code in the browser as an embedded editor panel.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"vite": "^8.0.0",
|
|
44
|
-
"@devframes/plugin-code-server--assets": "0.9.
|
|
45
|
-
"devframe": "0.9.
|
|
44
|
+
"@devframes/plugin-code-server--assets": "0.9.6",
|
|
45
|
+
"devframe": "0.9.6"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@devframes/plugin-code-server--assets": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"cac": "^7.0.0",
|
|
57
|
-
"@devframes/vite": "0.9.
|
|
57
|
+
"@devframes/vite": "0.9.6"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@antfu/design": "^0.3.4",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"vite": "^8.2.1",
|
|
71
71
|
"vitest": "^4.1.10",
|
|
72
72
|
"vue": "^3.5.41",
|
|
73
|
-
"
|
|
74
|
-
"
|
|
73
|
+
"devframe": "0.9.6",
|
|
74
|
+
"@devframes/plugin-code-server--assets": "0.9.6"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "tsdown && vite build --config src/spa/vite.config.ts",
|