overmux 0.0.5 → 0.0.7

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +7 -62
  2. package/LICENSE +21 -0
  3. package/README.md +16 -2
  4. package/dist/THIRD_PARTY_NOTICES.md +591 -0
  5. package/dist/auth/.vite/manifest.json +1 -1
  6. package/dist/auth/THIRD_PARTY_NOTICES.md +2506 -0
  7. package/dist/auth/assets/{index-DabAfcs1.js → index-Bc0hP5IW.js} +2509 -1
  8. package/dist/auth/index.html +1 -1
  9. package/dist/bin.js +14 -0
  10. package/dist/bin.js.map +1 -1
  11. package/dist/docs/200-getting-started/300-install-overmux-pwa.mdx +215 -1
  12. package/dist/docs/200-getting-started/500-set-up-overmux-with-packages.md +42 -0
  13. package/dist/docs/400-reference/200-configuration.md +1 -1
  14. package/dist/docs/400-reference/500-server/500-api.md +1 -1
  15. package/dist/docs/400-reference/600-client/005-setting-up-your-ui.md +137 -0
  16. package/dist/docs/400-reference/600-client/007-deep-links.md +87 -0
  17. package/dist/docs/400-reference/600-client/010-commands.md +189 -0
  18. package/dist/docs/400-reference/600-client/020-shortcuts.md +171 -0
  19. package/dist/docs/400-reference/600-client/100-api.md +1 -1
  20. package/dist/docs/400-reference/600-client/200-theming.md +179 -64
  21. package/docs/200-getting-started/300-install-overmux-pwa.mdx +215 -1
  22. package/docs/200-getting-started/500-set-up-overmux-with-packages.md +42 -0
  23. package/docs/400-reference/200-configuration.md +1 -1
  24. package/docs/400-reference/500-server/500-api.md +1 -1
  25. package/docs/400-reference/600-client/005-setting-up-your-ui.md +137 -0
  26. package/docs/400-reference/600-client/007-deep-links.md +87 -0
  27. package/docs/400-reference/600-client/010-commands.md +189 -0
  28. package/docs/400-reference/600-client/020-shortcuts.md +171 -0
  29. package/docs/400-reference/600-client/100-api.md +1 -1
  30. package/docs/400-reference/600-client/200-theming.md +179 -64
  31. package/package.json +4 -2
  32. package/src/internal/cli/managed-vite.ts +21 -0
@@ -5,7 +5,8 @@ title: Install Overmux PWA
5
5
  Overmux is a [progressive web app (PWA)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps), so you can install it on a mobile device. The installed app gets its own home screen icon and opens in a standalone window.
6
6
 
7
7
  <Callout type="warning">
8
- PWAs must be hosted on HTTPS. See [Choose an HTTPS setup](./400-secure-with-https/100-choose-an-https-setup.md).
8
+ PWAs must be hosted on HTTPS. See [Choose an HTTPS
9
+ setup](./400-secure-with-https/100-choose-an-https-setup.md).
9
10
  </Callout>
10
11
 
11
12
  ## Chrome on Android
@@ -90,3 +91,216 @@ Open your Overmux URL in Safari, select **Share**, and then select **Add to Home
90
91
  </p>
91
92
 
92
93
  Screenshots adapted from the [ntfy PWA installation guide](https://docs.ntfy.sh/subscribe/pwa/).
94
+ The eight image files are displayed unmodified, at reduced sizes. They match
95
+ [ntfy's documentation sources](https://github.com/binwiederhier/ntfy/tree/10cb6506f836dbb00bb77e3b52669f6ace37f555/docs/static/img)
96
+ and are used under the project's [Apache 2.0 license](https://github.com/binwiederhier/ntfy/blob/10cb6506f836dbb00bb77e3b52669f6ace37f555/LICENSE).
97
+ Copyright 2021 Philipp C. Heckel. This does not imply endorsement by ntfy or the browser vendors.
98
+
99
+ <details>
100
+ <summary>Screenshot license (Apache 2.0)</summary>
101
+
102
+ ```text
103
+ Apache License
104
+ Version 2.0, January 2004
105
+ http://www.apache.org/licenses/
106
+
107
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
108
+
109
+ 1. Definitions.
110
+
111
+ "License" shall mean the terms and conditions for use, reproduction,
112
+ and distribution as defined by Sections 1 through 9 of this document.
113
+
114
+ "Licensor" shall mean the copyright owner or entity authorized by
115
+ the copyright owner that is granting the License.
116
+
117
+ "Legal Entity" shall mean the union of the acting entity and all
118
+ other entities that control, are controlled by, or are under common
119
+ control with that entity. For the purposes of this definition,
120
+ "control" means (i) the power, direct or indirect, to cause the
121
+ direction or management of such entity, whether by contract or
122
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
123
+ outstanding shares, or (iii) beneficial ownership of such entity.
124
+
125
+ "You" (or "Your") shall mean an individual or Legal Entity
126
+ exercising permissions granted by this License.
127
+
128
+ "Source" form shall mean the preferred form for making modifications,
129
+ including but not limited to software source code, documentation
130
+ source, and configuration files.
131
+
132
+ "Object" form shall mean any form resulting from mechanical
133
+ transformation or translation of a Source form, including but
134
+ not limited to compiled object code, generated documentation,
135
+ and conversions to other media types.
136
+
137
+ "Work" shall mean the work of authorship, whether in Source or
138
+ Object form, made available under the License, as indicated by a
139
+ copyright notice that is included in or attached to the work
140
+ (an example is provided in the Appendix below).
141
+
142
+ "Derivative Works" shall mean any work, whether in Source or Object
143
+ form, that is based on (or derived from) the Work and for which the
144
+ editorial revisions, annotations, elaborations, or other modifications
145
+ represent, as a whole, an original work of authorship. For the purposes
146
+ of this License, Derivative Works shall not include works that remain
147
+ separable from, or merely link (or bind by name) to the interfaces of,
148
+ the Work and Derivative Works thereof.
149
+
150
+ "Contribution" shall mean any work of authorship, including
151
+ the original version of the Work and any modifications or additions
152
+ to that Work or Derivative Works thereof, that is intentionally
153
+ submitted to Licensor for inclusion in the Work by the copyright owner
154
+ or by an individual or Legal Entity authorized to submit on behalf of
155
+ the copyright owner. For the purposes of this definition, "submitted"
156
+ means any form of electronic, verbal, or written communication sent
157
+ to the Licensor or its representatives, including but not limited to
158
+ communication on electronic mailing lists, source code control systems,
159
+ and issue tracking systems that are managed by, or on behalf of, the
160
+ Licensor for the purpose of discussing and improving the Work, but
161
+ excluding communication that is conspicuously marked or otherwise
162
+ designated in writing by the copyright owner as "Not a Contribution."
163
+
164
+ "Contributor" shall mean Licensor and any individual or Legal Entity
165
+ on behalf of whom a Contribution has been received by Licensor and
166
+ subsequently incorporated within the Work.
167
+
168
+ 2. Grant of Copyright License. Subject to the terms and conditions of
169
+ this License, each Contributor hereby grants to You a perpetual,
170
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
171
+ copyright license to reproduce, prepare Derivative Works of,
172
+ publicly display, publicly perform, sublicense, and distribute the
173
+ Work and such Derivative Works in Source or Object form.
174
+
175
+ 3. Grant of Patent License. Subject to the terms and conditions of
176
+ this License, each Contributor hereby grants to You a perpetual,
177
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
178
+ (except as stated in this section) patent license to make, have made,
179
+ use, offer to sell, sell, import, and otherwise transfer the Work,
180
+ where such license applies only to those patent claims licensable
181
+ by such Contributor that are necessarily infringed by their
182
+ Contribution(s) alone or by combination of their Contribution(s)
183
+ with the Work to which such Contribution(s) was submitted. If You
184
+ institute patent litigation against any entity (including a
185
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
186
+ or a Contribution incorporated within the Work constitutes direct
187
+ or contributory patent infringement, then any patent licenses
188
+ granted to You under this License for that Work shall terminate
189
+ as of the date such litigation is filed.
190
+
191
+ 4. Redistribution. You may reproduce and distribute copies of the
192
+ Work or Derivative Works thereof in any medium, with or without
193
+ modifications, and in Source or Object form, provided that You
194
+ meet the following conditions:
195
+
196
+ (a) You must give any other recipients of the Work or
197
+ Derivative Works a copy of this License; and
198
+
199
+ (b) You must cause any modified files to carry prominent notices
200
+ stating that You changed the files; and
201
+
202
+ (c) You must retain, in the Source form of any Derivative Works
203
+ that You distribute, all copyright, patent, trademark, and
204
+ attribution notices from the Source form of the Work,
205
+ excluding those notices that do not pertain to any part of
206
+ the Derivative Works; and
207
+
208
+ (d) If the Work includes a "NOTICE" text file as part of its
209
+ distribution, then any Derivative Works that You distribute must
210
+ include a readable copy of the attribution notices contained
211
+ within such NOTICE file, excluding those notices that do not
212
+ pertain to any part of the Derivative Works, in at least one
213
+ of the following places: within a NOTICE text file distributed
214
+ as part of the Derivative Works; within the Source form or
215
+ documentation, if provided along with the Derivative Works; or,
216
+ within a display generated by the Derivative Works, if and
217
+ wherever such third-party notices normally appear. The contents
218
+ of the NOTICE file are for informational purposes only and
219
+ do not modify the License. You may add Your own attribution
220
+ notices within Derivative Works that You distribute, alongside
221
+ or as an addendum to the NOTICE text from the Work, provided
222
+ that such additional attribution notices cannot be construed
223
+ as modifying the License.
224
+
225
+ You may add Your own copyright statement to Your modifications and
226
+ may provide additional or different license terms and conditions
227
+ for use, reproduction, or distribution of Your modifications, or
228
+ for any such Derivative Works as a whole, provided Your use,
229
+ reproduction, and distribution of the Work otherwise complies with
230
+ the conditions stated in this License.
231
+
232
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
233
+ any Contribution intentionally submitted for inclusion in the Work
234
+ by You to the Licensor shall be under the terms and conditions of
235
+ this License, without any additional terms or conditions.
236
+ Notwithstanding the above, nothing herein shall supersede or modify
237
+ the terms of any separate license agreement you may have executed
238
+ with Licensor regarding such Contributions.
239
+
240
+ 6. Trademarks. This License does not grant permission to use the trade
241
+ names, trademarks, service marks, or product names of the Licensor,
242
+ except as required for reasonable and customary use in describing the
243
+ origin of the Work and reproducing the content of the NOTICE file.
244
+
245
+ 7. Disclaimer of Warranty. Unless required by applicable law or
246
+ agreed to in writing, Licensor provides the Work (and each
247
+ Contributor provides its Contributions) on an "AS IS" BASIS,
248
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
249
+ implied, including, without limitation, any warranties or conditions
250
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
251
+ PARTICULAR PURPOSE. You are solely responsible for determining the
252
+ appropriateness of using or redistributing the Work and assume any
253
+ risks associated with Your exercise of permissions under this License.
254
+
255
+ 8. Limitation of Liability. In no event and under no legal theory,
256
+ whether in tort (including negligence), contract, or otherwise,
257
+ unless required by applicable law (such as deliberate and grossly
258
+ negligent acts) or agreed to in writing, shall any Contributor be
259
+ liable to You for damages, including any direct, indirect, special,
260
+ incidental, or consequential damages of any character arising as a
261
+ result of this License or out of the use or inability to use the
262
+ Work (including but not limited to damages for loss of goodwill,
263
+ work stoppage, computer failure or malfunction, or any and all
264
+ other commercial damages or losses), even if such Contributor
265
+ has been advised of the possibility of such damages.
266
+
267
+ 9. Accepting Warranty or Additional Liability. While redistributing
268
+ the Work or Derivative Works thereof, You may choose to offer,
269
+ and charge a fee for, acceptance of support, warranty, indemnity,
270
+ or other liability obligations and/or rights consistent with this
271
+ License. However, in accepting such obligations, You may act only
272
+ on Your own behalf and on Your sole responsibility, not on behalf
273
+ of any other Contributor, and only if You agree to indemnify,
274
+ defend, and hold each Contributor harmless for any liability
275
+ incurred by, or claims asserted against, such Contributor by reason
276
+ of your accepting any such warranty or additional liability.
277
+
278
+ END OF TERMS AND CONDITIONS
279
+
280
+ APPENDIX: How to apply the Apache License to your work.
281
+
282
+ To apply the Apache License to your work, attach the following
283
+ boilerplate notice, with the fields enclosed by brackets "[]"
284
+ replaced with your own identifying information. (Don't include
285
+ the brackets!) The text should be enclosed in the appropriate
286
+ comment syntax for the file format. We also recommend that a
287
+ file or class name and description of purpose be included on the
288
+ same "printed page" as the copyright notice for easier
289
+ identification within third-party archives.
290
+
291
+ Copyright 2021 Philipp C. Heckel
292
+
293
+ Licensed under the Apache License, Version 2.0 (the "License");
294
+ you may not use this file except in compliance with the License.
295
+ You may obtain a copy of the License at
296
+
297
+ http://www.apache.org/licenses/LICENSE-2.0
298
+
299
+ Unless required by applicable law or agreed to in writing, software
300
+ distributed under the License is distributed on an "AS IS" BASIS,
301
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
302
+ See the License for the specific language governing permissions and
303
+ limitations under the License.
304
+ ```
305
+
306
+ </details>
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Set Up with Packages
3
+ ---
4
+
5
+ To understand how Overmux works and how to configure your Overmux, start with the [reference docs](/docs/reference/project-structure). They cover your project structure, configuration, server, and browser UI.
6
+
7
+ To get the most out of Overmux you'll want to use some packages.
8
+
9
+ ## What are packages?
10
+
11
+ Packages are building blocks for your Overmux. They can provide server functionality, UI components, or both.
12
+
13
+ Overmux packages are just standard npm packages you install and use in your Overmux project.
14
+
15
+ ## Packages to start with
16
+
17
+ ### Terminals with xterm and tmux
18
+
19
+ Use these two packages together to add interactive terminals backed by persistent tmux sessions.
20
+
21
+ - **[tmux](/docs/packages/tmux)** connects your Overmux to your machine's tmux sessions, windows, and panes. It provides live state, terminal streaming, and operations for controlling tmux, along with React components and hooks for your UI.
22
+ - **[xterm](/docs/packages/xterm)** renders an [xterm.js](https://xtermjs.org/) terminal in your browser. It handles terminal display and input, but doesn't start a shell or manage sessions.
23
+
24
+ Together, they let you interact with your terminals through Overmux UI while tmux keeps your sessions running when you disconnect.
25
+
26
+ Follow the package docs for installation and wiring examples.
27
+
28
+ ### Source control with git
29
+
30
+ The **[git package](/docs/packages/git)** adds repository changes and diffs to your Overmux, with ready-made UI components for browsing them.
31
+
32
+ You choose which repository paths your server can access. You can also enable actions such as staging, unstaging, and discarding changes; write permissions are off by default.
33
+
34
+ ## Explore more packages
35
+
36
+ Depending on your setup, you might also want:
37
+
38
+ - **[Zellij](/docs/packages/zellij)** for a Zellij-backed terminal setup instead of tmux. Experimental; compatibility is not guaranteed.
39
+ - **[Pi](/docs/packages/pi)** for viewing AI agent conversations and interacting with running agents. Experimental; compatibility is not guaranteed.
40
+ - **[JSONL store](/docs/packages/jsonl-store)** for storing schema-validated records in a local file.
41
+
42
+ Start with the pieces you need. Each package's documentation explains what it provides and how to connect it to your Overmux.
@@ -111,7 +111,7 @@ IDs must be 1-253 lowercase ASCII characters, start and end with a letter or dig
111
111
 
112
112
  An ID function runs once at startup using the actual listening port. Every address serving the same running instance reports the same ID. Distinct instances need distinct IDs; IDs are not credentials.
113
113
 
114
- See [Deep-link navigation](/docs/reference/client/api#deep-link-navigation) and [`overmux instance`](/docs/reference/cli/instance).
114
+ See [Deep links](./600-client/007-deep-links.md) and [`overmux instance`](/docs/reference/cli/instance).
115
115
 
116
116
  ### `vite`
117
117
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: Server API
2
+ title: Server API Reference
3
3
  ---
4
4
 
5
5
  ## Server definitions
@@ -0,0 +1,137 @@
1
+ ---
2
+ title: Setting up your UI
3
+ ---
4
+
5
+ Your Overmux UI is a React application served and built with Vite. You own its layout, components, and styles; `OvermuxHost` provides the runtime for Overmux’s client APIs.
6
+
7
+ Run `overmux init` to generate a starter project with the UI setup below.
8
+
9
+ ## File layout
10
+
11
+ ```text
12
+ overmux.config.ts
13
+ vite.config.ts
14
+ src/ui/
15
+ index.html
16
+ main.tsx
17
+ app.tsx
18
+ styles.css
19
+ ```
20
+
21
+ ## Configure Vite
22
+
23
+ Set your UI directory as Vite’s root and enable React:
24
+
25
+ ```ts title="vite.config.ts"
26
+ import react from "@vitejs/plugin-react";
27
+ import { defineConfig } from "vite";
28
+
29
+ export default defineConfig({
30
+ root: "src/ui",
31
+ plugins: [react()],
32
+ build: {
33
+ emptyOutDir: true,
34
+ outDir: "../../dist",
35
+ },
36
+ });
37
+ ```
38
+
39
+ Point your Overmux configuration at this file, keeping your existing server and authentication settings:
40
+
41
+ ```ts title="overmux.config.ts"
42
+ import { defineOvermuxConfig } from "overmux";
43
+ import server from "./src/server/index";
44
+
45
+ export default defineOvermuxConfig({
46
+ server,
47
+ auth: { mode: "cli-login" },
48
+ vite: "./vite.config.ts",
49
+ productionWebAssetsDir: "./dist",
50
+ });
51
+ ```
52
+
53
+ Vite’s output directory is relative to its UI root; `productionWebAssetsDir` points to the same directory from your Overmux configuration.
54
+
55
+ ## The HTML entry point
56
+
57
+ Provide a root element and load your React entry point:
58
+
59
+ ```html title="src/ui/index.html"
60
+ <!doctype html>
61
+ <html lang="en">
62
+ <head>
63
+ <meta charset="UTF-8" />
64
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
65
+ <title>My Overmux</title>
66
+ </head>
67
+ <body>
68
+ <div id="root"></div>
69
+ <script type="module" src="/main.tsx"></script>
70
+ </body>
71
+ </html>
72
+ ```
73
+
74
+ ## Mount OvermuxHost
75
+
76
+ Mount your client definition inside `OvermuxHost`. It supplies the runtime required by hooks such as `useCommand` and `useCommands`.
77
+
78
+ ```tsx title="src/ui/main.tsx"
79
+ import { OvermuxHost } from "overmux/client";
80
+ import { createRoot } from "react-dom/client";
81
+
82
+ import { client } from "./app";
83
+ import "./styles.css";
84
+
85
+ const root = document.querySelector("#root");
86
+ if (!root) {
87
+ throw new Error("Missing root element");
88
+ }
89
+
90
+ createRoot(root).render(<OvermuxHost definition={client} />);
91
+ ```
92
+
93
+ ## Define your client
94
+
95
+ Use `defineOvermuxClient` to connect your root React component and command registry:
96
+
97
+ ```tsx title="src/ui/app.tsx"
98
+ import { defineOvermuxClient } from "overmux/client";
99
+
100
+ const App = () => <main>My Overmux UI</main>;
101
+
102
+ export const client = defineOvermuxClient({
103
+ component: App,
104
+ commands: {},
105
+ });
106
+ ```
107
+
108
+ `App` is an ordinary React component. Add your own components, state, and layout, or compose components from ecosystem packages.
109
+
110
+ Start with an empty command registry. See [Commands](./commands) when you want named actions for menus, command palettes, or keyboard shortcuts.
111
+
112
+ ## Add styles
113
+
114
+ Import your application CSS from `main.tsx`:
115
+
116
+ ```css title="src/ui/styles.css"
117
+ body {
118
+ margin: 0;
119
+ font-family: system-ui, sans-serif;
120
+ }
121
+
122
+ main {
123
+ padding: 1rem;
124
+ }
125
+ ```
126
+
127
+ Individual ecosystem components may require additional stylesheet imports.
128
+
129
+ ## Run your Overmux server
130
+
131
+ Run your instance through Overmux so the UI has access to its server:
132
+
133
+ ```sh
134
+ overmux serve --config ./overmux.config.ts
135
+ ```
136
+
137
+ Open the UI URL shown by the server. Vite updates the UI as you edit your React components and styles.
@@ -0,0 +1,87 @@
1
+ ---
2
+ title: Deep links
3
+ ---
4
+
5
+ Your Overmux UI is a website, so each page has a URL. Deep links let you open those same routes in a specific Overmux instance using `overmux://` instead of an `http://` web address.
6
+
7
+ ```text
8
+ overmux://work-laptop/my-page?tab=logs
9
+ instance UI route
10
+ ```
11
+
12
+ ## Instances
13
+
14
+ An **instance** is one Overmux server. Its ID defaults to `<hostname>-<port>`. Set [`instanceId`](../200-configuration.md#instanceid) in `overmux.config.ts` to give it a stable identity.
15
+
16
+ The instance ID is not a network address. Desktop remembers how to reach an instance when you connect to it.
17
+
18
+ Run [`overmux instance --json`](../700-cli/350-instance.md) to get the running server’s `instanceId` and `deepLinkPrefix`.
19
+
20
+ ## Creating links
21
+
22
+ Append your Overmux UI’s route to the instance’s deep-link prefix.
23
+
24
+ Server handlers receive `instance` through their context argument:
25
+
26
+ ```ts
27
+ import { defineOperation } from "overmux/server";
28
+ import { z } from "zod";
29
+
30
+ export const getPageLink = defineOperation({
31
+ input: z.void(),
32
+ output: z.string(),
33
+ handle: (_input, { instance }) =>
34
+ `${instance.getDeepLinkPrefix()}/my-page?tab=logs`,
35
+ });
36
+ ```
37
+
38
+ In React, use `useInstance` from your `createOvermuxHooks` setup. It re-renders when the server’s identity becomes available or changes:
39
+
40
+ ```tsx
41
+ import { useInstance } from "./overmux";
42
+
43
+ const PageLink = () => {
44
+ const instance = useInstance();
45
+ if (!instance) return null;
46
+
47
+ return (
48
+ <a href={`${instance.deepLinkPrefix}/my-page?tab=logs`}>
49
+ View logs
50
+ </a>
51
+ );
52
+ };
53
+ ```
54
+
55
+ `useInstance()` returns `undefined` until the server identifies itself.
56
+
57
+ ## Routing in your Overmux UI
58
+
59
+ Your Overmux UI owns routing. We recommend [TanStack Router](https://tanstack.com/router/latest) for routing with React. See [Tech stack recommendations](./300-tech-stack-recommendations.md).
60
+
61
+ Overmux passes the path, query, and fragment to your client’s `navigate` callback. Connect this callback to your router to navigate without reloading the page. Without that callback, Overmux loads the route normally.
62
+
63
+ With an existing TanStack Router instance exported from `./router`:
64
+
65
+ ```tsx
66
+ import { RouterProvider } from "@tanstack/react-router";
67
+ import { defineOvermuxClient } from "overmux/client";
68
+ import { router } from "./router";
69
+
70
+ const App = () => <RouterProvider router={router} />;
71
+
72
+ export const client = defineOvermuxClient({
73
+ commands: {},
74
+ component: App,
75
+ navigate: (route) => router.navigate({ href: route }),
76
+ });
77
+ ```
78
+
79
+ For `overmux://work-laptop/my-page?tab=logs#latest`, `route` is `/my-page?tab=logs#latest`.
80
+
81
+ ## Opening links
82
+
83
+ - **Inside your Overmux UI or PWA:** same-instance links navigate locally. No OS protocol handler is needed.
84
+ - **Desktop:** opening a link launches or focuses Desktop. Links can also switch to another known instance after confirmation. Connect to that instance first so Desktop knows its address.
85
+ - **Browser/PWA:** links to different or not-yet-discovered instances are blocked.
86
+
87
+ Installing the PWA does not register it as an OS-wide `overmux://` handler. Links clicked outside your Overmux UI require Overmux Desktop.