tmex-cli 0.8.0 → 0.8.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/dist/runtime/server.js +262 -35
- package/package.json +1 -1
- package/resources/fe-dist/assets/{DevicePage-BXgCF7q_.js → DevicePage-Byph1K3m.js} +2 -2
- package/resources/fe-dist/assets/{DevicesPage-JZ_FB4Hs.js → DevicesPage-BtUqV_Oo.js} +2 -2
- package/resources/fe-dist/assets/{SettingsPage-D-ttUVSw.js → SettingsPage-CNSAuMwZ.js} +2 -2
- package/resources/fe-dist/assets/{card-BfO0Uw5Q.js → card-CgiYiquV.js} +2 -2
- package/resources/fe-dist/assets/index-CCZW6Klo.css +1 -0
- package/resources/fe-dist/assets/index-DNdArpmQ.js +400 -0
- package/resources/fe-dist/assets/{refresh-cw-C1HbpgDO.js → refresh-cw-EoN3nWHT.js} +2 -2
- package/resources/fe-dist/index.html +4 -3
- package/resources/gateway-drizzle/0006_bitter_bushwacker.sql +12 -0
- package/resources/gateway-drizzle/meta/_journal.json +7 -0
- package/resources/fe-dist/assets/index-DPqBlAbb.js +0 -386
- package/resources/fe-dist/assets/index-DuQNrN4g.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{c as e}from"./index-
|
|
1
|
+
import{c as e}from"./index-DNdArpmQ.js";/**
|
|
2
2
|
* @license lucide-react v0.564.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/const c=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],a=e("refresh-cw",c);export{a as R};
|
|
7
|
-
//# sourceMappingURL=refresh-cw-
|
|
7
|
+
//# sourceMappingURL=refresh-cw-EoN3nWHT.js.map
|
|
@@ -10,15 +10,16 @@
|
|
|
10
10
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover, interactive-widget=resizes-visual"
|
|
11
11
|
/>
|
|
12
12
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
13
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="
|
|
13
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
14
|
+
<meta name="theme-color" content="#1a1a1c" />
|
|
14
15
|
<!-- use-credentials:站点可能部署在 Cloudflare Access 等 cookie 认证之后,
|
|
15
16
|
manifest 请求默认不带 cookie 会被 302 到登录页,导致 PWA 不可安装 -->
|
|
16
17
|
<link rel="manifest" href="/api/manifest.webmanifest" crossorigin="use-credentials" />
|
|
17
18
|
<link rel="apple-touch-icon" href="/tmex.png" />
|
|
18
19
|
<meta name="description" content="tmex - Web 接入多设备 tmux 的终端控制平台" />
|
|
19
20
|
<title>tmex</title>
|
|
20
|
-
<script type="module" crossorigin src="/assets/index-
|
|
21
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
21
|
+
<script type="module" crossorigin src="/assets/index-DNdArpmQ.js"></script>
|
|
22
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CCZW6Klo.css">
|
|
22
23
|
</head>
|
|
23
24
|
<body>
|
|
24
25
|
<div id="root"></div>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
CREATE TABLE `device_tree_order` (
|
|
2
|
+
`device_id` text PRIMARY KEY NOT NULL,
|
|
3
|
+
`windows` text DEFAULT '[]' NOT NULL,
|
|
4
|
+
`panes` text DEFAULT '{}' NOT NULL,
|
|
5
|
+
`updated_at` text NOT NULL,
|
|
6
|
+
FOREIGN KEY (`device_id`) REFERENCES `devices`(`id`) ON UPDATE no action ON DELETE cascade
|
|
7
|
+
);
|
|
8
|
+
--> statement-breakpoint
|
|
9
|
+
ALTER TABLE `devices` ADD `sort_order` integer DEFAULT 0 NOT NULL;--> statement-breakpoint
|
|
10
|
+
UPDATE `devices` SET `sort_order` = (
|
|
11
|
+
SELECT COUNT(*) FROM `devices` d2 WHERE d2.`created_at` < `devices`.`created_at`
|
|
12
|
+
);
|