@cmdless/ui-runtime 0.0.4 → 0.0.5

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.
@@ -0,0 +1,21 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <!-- only this page's own code runs here, and it never evals (the form's
7
+ validator interprets schemas rather than compiling them); images
8
+ come from https or data: URLs only, and nothing else is fetched -->
9
+ <meta http-equiv="Content-Security-Policy"
10
+ content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src https: data:; font-src 'self' data:" />
11
+ <title></title>
12
+ <script type="module" crossorigin src="./assets/view-Chm2p5Ws.js"></script>
13
+ <link rel="modulepreload" crossorigin href="./assets/preload-helper-DVzrZ_Op.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/Mantine.context-oJEjRkJu.js">
15
+ <link rel="modulepreload" crossorigin href="./assets/MantineThemeProvider-DHX5fzKn.js">
16
+ <link rel="stylesheet" crossorigin href="./assets/view-DptMSuIE.css">
17
+ </head>
18
+ <body>
19
+ <div id="root"></div>
20
+ </body>
21
+ </html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cmdless/ui-runtime",
3
3
  "description": "Runtime that wraps Electron convenience UI.",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "author": {
@@ -26,15 +26,32 @@
26
26
  "test": "node ../../scripts/run-tests.mjs"
27
27
  },
28
28
  "dependencies": {
29
- "@modelcontextprotocol/sdk": "1.30.0",
30
- "commander": "15.0.0",
29
+ "@cmdless/ensure-electron": "0.0.6",
30
+ "@cmdless/rpc-sdk": "0.0.4",
31
+ "@cmdless/ui-sdk": "0.0.5",
31
32
  "@electron-toolkit/utils": "4.0.0",
32
- "@cmdless/ui-sdk": "0.0.4",
33
- "@cmdless/ensure-electron": "0.0.6"
33
+ "commander": "15.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "electron": "43.3.0",
36
+ "@cfworker/json-schema": "^4.1.6",
37
+ "@mantine/core": "9.7.3",
38
+ "@mantine/dates": "9.7.3",
39
+ "@mantine/hooks": "9.7.3",
40
+ "@rjsf/core": "^6.11.1",
41
+ "@rjsf/mantine": "^6.11.1",
42
+ "@rjsf/utils": "^6.11.1",
43
+ "@types/markdown-it": "^14.2.0",
44
+ "@types/react": "^19.3.0",
45
+ "@types/react-dom": "^19.3.0",
46
+ "@vitejs/plugin-react": "^5.2.0",
47
+ "adaptivecards": "^3.0.6",
48
+ "dayjs": "^1.11.23",
49
+ "electron": "44.7.2",
37
50
  "electron-vite": "^5.0.0",
51
+ "markdown-it": "^15.0.3",
52
+ "react": "^19.3.1",
53
+ "react-dom": "^19.3.1",
54
+ "swiper": "^12.2.0",
38
55
  "vite": "^7.3.6"
39
56
  }
40
57
  }
@@ -1,6 +0,0 @@
1
- import { cmdlessIPC, createElectronIPC } from "@cmdless/ui-sdk";
2
- import { ipcRenderer, contextBridge } from "electron";
3
- const ipc = cmdlessIPC.createClient(createElectronIPC(ipcRenderer));
4
- const cmdless = { ipc };
5
- contextBridge.exposeInMainWorld("cmdless", cmdless);
6
- ipc.listen();