@dimina-kit/devtools 0.4.0-dev.20260616024534 → 0.4.0-dev.20260616102751
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/main/index.bundle.js +22 -15
- package/dist/main/runtime/devtools-backend.d.ts +5 -0
- package/dist/main/runtime/devtools-backend.js +10 -3
- package/dist/main/services/views/view-manager.js +9 -2
- package/dist/main/services/workspace/workspace-service.js +9 -1
- package/dist/main/windows/main-window/create.js +17 -14
- package/dist/native-host/render/render.js +6 -6
- package/dist/renderer/assets/index-Z4Rh52G8.js +50 -0
- package/dist/renderer/assets/{input-hGF71bn3.js → input-B8NDCYv3.js} +2 -2
- package/dist/renderer/assets/ipc-transport-9agi76dX.css +1 -0
- package/dist/renderer/assets/{ipc-transport-BKWkvwKK.js → ipc-transport-DhrajiC5.js} +1 -1
- package/dist/renderer/assets/{popover-NNQNyjgI.js → popover-DbZOg03s.js} +2 -2
- package/dist/renderer/assets/{select-Bb1AKeSq.js → select-pW3Ysc9T.js} +2 -2
- package/dist/renderer/assets/{settings-7uwimev-.js → settings-CZJOHt8b.js} +2 -2
- package/dist/renderer/assets/{settings-api-DkrPHroq.js → settings-api-BSKzKiWd.js} +2 -2
- package/dist/renderer/assets/{workbenchSettings-EaMYvKHG.js → workbenchSettings-BGxjl25x.js} +2 -2
- package/dist/renderer/entries/main/index.html +6 -6
- package/dist/renderer/entries/popover/index.html +5 -5
- package/dist/renderer/entries/settings/index.html +5 -5
- package/dist/renderer/entries/workbench-settings/index.html +4 -4
- package/dist/shared/types.d.ts +13 -3
- package/package.json +4 -4
- package/dist/renderer/assets/index-BFwsvw4p.js +0 -50
- package/dist/renderer/assets/ipc-transport-Cg1q1gwD.css +0 -1
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<!-- See main/index.html for CSP rationale. -->
|
|
6
6
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: http: https:; font-src 'self' data:; media-src 'self' blob: http: https:; connect-src 'self' http: https: ws: wss:;" />
|
|
7
7
|
<title>Settings</title>
|
|
8
|
-
<script type="module" crossorigin src="../../assets/settings-
|
|
8
|
+
<script type="module" crossorigin src="../../assets/settings-CZJOHt8b.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="../../assets/chunk-DPI0Y_ll.js">
|
|
10
|
-
<link rel="modulepreload" crossorigin href="../../assets/ipc-transport-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="../../assets/input-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="../../assets/settings-api-
|
|
13
|
-
<link rel="stylesheet" crossorigin href="../../assets/ipc-transport-
|
|
10
|
+
<link rel="modulepreload" crossorigin href="../../assets/ipc-transport-DhrajiC5.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="../../assets/input-B8NDCYv3.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="../../assets/settings-api-BSKzKiWd.js">
|
|
13
|
+
<link rel="stylesheet" crossorigin href="../../assets/ipc-transport-9agi76dX.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
<div id="root"></div>
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
<!-- See entries/main/index.html for CSP rationale. -->
|
|
7
7
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: http: https:; font-src 'self' data:; media-src 'self' blob: http: https:; connect-src 'self' http: https: ws: wss:;" />
|
|
8
8
|
<title>开发工具设置</title>
|
|
9
|
-
<script type="module" crossorigin src="../../assets/workbenchSettings-
|
|
9
|
+
<script type="module" crossorigin src="../../assets/workbenchSettings-BGxjl25x.js"></script>
|
|
10
10
|
<link rel="modulepreload" crossorigin href="../../assets/chunk-DPI0Y_ll.js">
|
|
11
|
-
<link rel="modulepreload" crossorigin href="../../assets/ipc-transport-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="../../assets/settings-api-
|
|
11
|
+
<link rel="modulepreload" crossorigin href="../../assets/ipc-transport-DhrajiC5.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="../../assets/settings-api-BSKzKiWd.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="../../assets/constants-DI382mTP.js">
|
|
14
|
-
<link rel="stylesheet" crossorigin href="../../assets/ipc-transport-
|
|
14
|
+
<link rel="stylesheet" crossorigin href="../../assets/ipc-transport-9agi76dX.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="root"></div>
|
package/dist/shared/types.d.ts
CHANGED
|
@@ -111,9 +111,14 @@ export interface WorkbenchWindowConfig {
|
|
|
111
111
|
/**
|
|
112
112
|
* Auto-show the main window on `ready-to-show`. Defaults to `true`. Set
|
|
113
113
|
* `false` when the host gates the window behind its own startup flow (e.g. a
|
|
114
|
-
* login screen) and wants to
|
|
115
|
-
*
|
|
116
|
-
*
|
|
114
|
+
* login screen) and wants to reveal it itself once ready — avoids an
|
|
115
|
+
* un-authed window flashing on screen.
|
|
116
|
+
*
|
|
117
|
+
* Visibility is governed by this flag in BOTH the test and non-test
|
|
118
|
+
* environments; the environment only chooses HOW to show (non-test →
|
|
119
|
+
* `show()`, test → `showInactive()` so e2e windows don't steal focus). When
|
|
120
|
+
* `false`, the framework calls neither in either env — the host owns reveal,
|
|
121
|
+
* test included.
|
|
117
122
|
*/
|
|
118
123
|
autoShow?: boolean;
|
|
119
124
|
}
|
|
@@ -220,6 +225,11 @@ export interface WorkbenchAppConfig extends WorkbenchConfig {
|
|
|
220
225
|
* error }`, leaves any currently-active session untouched, and never spins
|
|
221
226
|
* up the adapter. Resolve normally (or omit) to allow the open. The
|
|
222
227
|
* declarative alternative to monkey-patching `workspace.openProject`.
|
|
228
|
+
*
|
|
229
|
+
* On veto the framework surfaces the thrown error to the status bar
|
|
230
|
+
* (`notify.projectStatus({ status: 'error', message })`), symmetric with its
|
|
231
|
+
* own validateProjectDir rejection — the host need not reach for `notify`
|
|
232
|
+
* just to report the denial; it may layer richer UX (e.g. a dialog) on top.
|
|
223
233
|
*/
|
|
224
234
|
onBeforeOpenProject?: (projectPath: string) => void | Promise<void>;
|
|
225
235
|
/** Custom update checker. If provided, enables the check-for-updates feature. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimina-kit/devtools",
|
|
3
|
-
"version": "0.4.0-dev.
|
|
3
|
+
"version": "0.4.0-dev.20260616102751",
|
|
4
4
|
"description": "Dimina DevTools - modular developer tools for mini app debugging",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dimina",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"monaco-editor": "^0.55.1",
|
|
87
87
|
"ws": "^8.20.0",
|
|
88
88
|
"zod": "^4.3.6",
|
|
89
|
-
"@dimina-kit/devkit": "0.1.2-dev.
|
|
90
|
-
"@dimina-kit/view-anchor": "0.1.0-dev.
|
|
91
|
-
"@dimina-kit/electron-deck": "0.1.0-dev.
|
|
89
|
+
"@dimina-kit/devkit": "0.1.2-dev.20260616102751",
|
|
90
|
+
"@dimina-kit/view-anchor": "0.1.0-dev.20260616102751",
|
|
91
|
+
"@dimina-kit/electron-deck": "0.1.0-dev.20260616102751"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
94
|
"@playwright/test": "^1.59.1",
|