create-opentray 0.24.0 → 0.26.0
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 +21 -13
- package/dist/{bin-BQb2Bjcu.mjs → bin-Bz16rwKs.mjs} +249 -313
- package/dist/bin-Bz16rwKs.mjs.map +1 -0
- package/dist/bin-CrMTyTux.d.mts +751 -0
- package/dist/bin-CrMTyTux.d.mts.map +1 -0
- package/dist/bin.d.mts +2 -15
- package/dist/bin.mjs +2 -2
- package/dist/{decode-ico-BHd2POHf.mjs → decode-ico-DDEIV7iZ.mjs} +2 -2
- package/dist/{decode-ico-BHd2POHf.mjs.map → decode-ico-DDEIV7iZ.mjs.map} +1 -1
- package/dist/encode-CTEluLqt.mjs +167 -0
- package/dist/encode-CTEluLqt.mjs.map +1 -0
- package/dist/icon-codec-Bs3XehqZ.mjs +20 -0
- package/dist/icon-codec-Bs3XehqZ.mjs.map +1 -0
- package/dist/index.d.mts +1 -724
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/rolldown-runtime-DJK8HYOj.mjs +34 -0
- package/dist/shell/assets/ghostty-web.js +1 -1
- package/dist/shell/assets/index.css +1 -1
- package/dist/shell/assets/index.js +2 -9
- package/dist/shell/assets/index2.js +9 -2
- package/dist/shell/assets/input.js +1 -1
- package/dist/shell/assets/main.js +8 -8
- package/dist/shell/assets/terminal-pane.js +2 -2
- package/dist/shell/assets/terminal.js +1 -1
- package/dist/shell/assets/toolbar.js +1 -0
- package/dist/shell/index.html +1 -1
- package/dist/shell/terminal.html +1 -1
- package/dist/shell/{browse.html → toolbar.html} +3 -3
- package/dist/skill/SKILL.md +14 -11
- package/dist/skill/references/cli-reference.md +1 -1
- package/dist/skill/references/how-it-works.md +15 -9
- package/dist/webui/assets/ghostty-web.js +1 -1
- package/dist/webui/assets/index.css +1 -1
- package/dist/webui/assets/index.js +2 -9
- package/dist/webui/assets/index2.js +9 -2
- package/dist/webui/assets/input.js +1 -1
- package/dist/webui/assets/main.js +8 -8
- package/dist/webui/assets/terminal-pane.js +2 -2
- package/dist/webui/assets/terminal.js +1 -1
- package/dist/webui/assets/toolbar.js +1 -0
- package/dist/webui/index.html +1 -1
- package/dist/webui/terminal.html +1 -1
- package/dist/webui/{browse.html → toolbar.html} +3 -3
- package/package.json +6 -6
- package/skill/SKILL.md +14 -11
- package/skill/references/cli-reference.md +1 -1
- package/skill/references/how-it-works.md +15 -9
- package/dist/bin-BQb2Bjcu.mjs.map +0 -1
- package/dist/bin.d.mts.map +0 -1
- package/dist/shell/assets/browse.js +0 -1
- package/dist/webui/assets/browse.js +0 -1
package/README.md
CHANGED
|
@@ -50,18 +50,24 @@ npx create-opentray create \
|
|
|
50
50
|
scrapes the page once and adopts its `<title>` and best favicon as
|
|
51
51
|
defaults — explicit flags always win, failures fall back silently
|
|
52
52
|
(address-derived name + glyph icon), and `--no-scrape` disables the fetch.
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
- Window options (`--toolbar`, URL and command applications): `--toolbar`
|
|
54
|
+
composes the native navigation toolbar over the target/service page — one
|
|
55
|
+
toolbar webview at a fixed top strip (back/forward/reload buttons, address
|
|
56
|
+
input, and the ⌘/Ctrl+←→, ⌘/Ctrl+[], ⌘/Ctrl+R, F5, ⌘/Ctrl+L shortcuts
|
|
57
|
+
while the toolbar holds native focus) plus one content webview loading the
|
|
58
|
+
address directly as a top-level browsing context. The address bar follows
|
|
59
|
+
the content webview's URL events as its source of truth, and back/forward
|
|
60
|
+
drive the content webview's native history. Embedding policy is never
|
|
61
|
+
consulted — an embedding-hostile site renders the same as any other address
|
|
62
|
+
because the content webview is not an embedded context; creation does not
|
|
63
|
+
probe, warn about, or downgrade the toolbar request. Toolbar mode is off by
|
|
64
|
+
default and maps to the single canonical `window.toolbar` config field (the
|
|
65
|
+
legacy `showAddressBar` input no longer exists; stale occurrences in old
|
|
66
|
+
frozen configs are ignored). Every URL app's tray menu offers Reload
|
|
67
|
+
regardless of toolbar mode. By default the window title follows the page
|
|
68
|
+
(`--no-title-follow` to stop) and the icon does NOT follow favicon changes
|
|
69
|
+
at runtime (`--icon-follow` to enable); both persist in the v1 config and
|
|
70
|
+
round-trip through export.
|
|
65
71
|
- Icon sources: local files, `http(s)` URLs, or `data:` URLs. Outside URL-mode
|
|
66
72
|
enrichment the CLI never scrapes names or favicons.
|
|
67
73
|
- `--config <file>` loads a complete v1 document; explicit flags override
|
|
@@ -150,7 +156,9 @@ continuously discovers the command's OWNED HTTP listening ports (foreign
|
|
|
150
156
|
listeners such as browser DevTools sockets are never adopted), hosts each
|
|
151
157
|
verified port in an application-mode WebView window, and owns the tray
|
|
152
158
|
session (Quit lives in the tray menu). Optional startup-terminal and
|
|
153
|
-
|
|
159
|
+
navigation-toolbar (`--toolbar`) shells are available through the wizard's
|
|
160
|
+
advanced options and the CLI; the toolbar composes a native toolbar webview
|
|
161
|
+
above each service window's content webview.
|
|
154
162
|
|
|
155
163
|
## Platform notes
|
|
156
164
|
|