create-opentray 0.23.0 → 0.25.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.
Files changed (77) hide show
  1. package/README.md +21 -13
  2. package/assets/create-openspec-template-iOS-Dark-1024@1x.png +0 -0
  3. package/assets/create-openspec-template-iOS-Default-1024@1x.png +0 -0
  4. package/assets/inter-glyph.OFL.txt +93 -0
  5. package/assets/inter-glyph.ttf +0 -0
  6. package/dist/{bin-DDNgskyb.mjs → bin-Bz16rwKs.mjs} +406 -2958
  7. package/dist/bin-Bz16rwKs.mjs.map +1 -0
  8. package/dist/bin-CrMTyTux.d.mts +751 -0
  9. package/dist/bin-CrMTyTux.d.mts.map +1 -0
  10. package/dist/bin.d.mts +2 -15
  11. package/dist/bin.mjs +2 -2
  12. package/dist/{decode-ico-D3SL2BXi.mjs → decode-ico-DDEIV7iZ.mjs} +2 -2
  13. package/dist/{decode-ico-D3SL2BXi.mjs.map → decode-ico-DDEIV7iZ.mjs.map} +1 -1
  14. package/dist/encode-CTEluLqt.mjs +167 -0
  15. package/dist/encode-CTEluLqt.mjs.map +1 -0
  16. package/dist/icon-codec-Bs3XehqZ.mjs +20 -0
  17. package/dist/icon-codec-Bs3XehqZ.mjs.map +1 -0
  18. package/dist/index.d.mts +5 -713
  19. package/dist/index.d.mts.map +1 -1
  20. package/dist/index.mjs +1 -1
  21. package/dist/{raster-BQ07mKLu.mjs → raster-DeMbA2zI.mjs} +15 -16
  22. package/dist/{raster-BQ07mKLu.mjs.map → raster-DeMbA2zI.mjs.map} +1 -1
  23. package/dist/{rolldown-runtime-JspESFgx.mjs → rolldown-runtime-DJK8HYOj.mjs} +2 -3
  24. package/dist/shell/assets/ghostty-web.js +1 -1
  25. package/dist/shell/assets/index.css +1 -1
  26. package/dist/shell/assets/index.js +2 -9
  27. package/dist/shell/assets/index2.js +9 -2
  28. package/dist/shell/assets/input.js +1 -1
  29. package/dist/shell/assets/main.js +20 -20
  30. package/dist/shell/assets/terminal-pane.js +2 -2
  31. package/dist/shell/assets/terminal.js +1 -1
  32. package/dist/shell/assets/toolbar.js +1 -0
  33. package/dist/shell/index.html +2 -2
  34. package/dist/shell/terminal.html +2 -2
  35. package/dist/shell/{browse.html → toolbar.html} +4 -4
  36. package/dist/skill/SKILL.md +14 -11
  37. package/dist/skill/references/cli-reference.md +1 -1
  38. package/dist/skill/references/how-it-works.md +15 -9
  39. package/dist/webui/assets/ghostty-web.js +1 -1
  40. package/dist/webui/assets/index.css +1 -1
  41. package/dist/webui/assets/index.js +2 -9
  42. package/dist/webui/assets/index2.js +9 -2
  43. package/dist/webui/assets/input.js +1 -1
  44. package/dist/webui/assets/main.js +20 -20
  45. package/dist/webui/assets/terminal-pane.js +2 -2
  46. package/dist/webui/assets/terminal.js +1 -1
  47. package/dist/webui/assets/toolbar.js +1 -0
  48. package/dist/webui/index.html +2 -2
  49. package/dist/webui/terminal.html +2 -2
  50. package/dist/webui/{browse.html → toolbar.html} +4 -4
  51. package/package.json +15 -6
  52. package/skill/SKILL.md +14 -11
  53. package/skill/references/cli-reference.md +1 -1
  54. package/skill/references/how-it-works.md +15 -9
  55. package/dist/avif-DCXcyYJR.mjs +0 -2
  56. package/dist/bin-DDNgskyb.mjs.map +0 -1
  57. package/dist/bin.d.mts.map +0 -1
  58. package/dist/decode-C4b5NXc_.mjs +0 -1236
  59. package/dist/decode-C4b5NXc_.mjs.map +0 -1
  60. package/dist/decode-Dsj9J0OD.mjs +0 -1214
  61. package/dist/decode-Dsj9J0OD.mjs.map +0 -1
  62. package/dist/decode-FysWS28R.mjs +0 -254
  63. package/dist/decode-FysWS28R.mjs.map +0 -1
  64. package/dist/decode-Xr7mARKr.mjs +0 -1262
  65. package/dist/decode-Xr7mARKr.mjs.map +0 -1
  66. package/dist/full.umd-oM1VUBRH.mjs +0 -3055
  67. package/dist/full.umd-oM1VUBRH.mjs.map +0 -1
  68. package/dist/jpeg-B4tsxG5f.mjs +0 -2
  69. package/dist/png-rD0XEazj.mjs +0 -35
  70. package/dist/png-rD0XEazj.mjs.map +0 -1
  71. package/dist/resize-B47sgoOb.mjs +0 -489
  72. package/dist/resize-B47sgoOb.mjs.map +0 -1
  73. package/dist/resvg-wasm-fcJTLpJs.mjs +0 -522
  74. package/dist/resvg-wasm-fcJTLpJs.mjs.map +0 -1
  75. package/dist/shell/assets/browse.js +0 -1
  76. package/dist/webp-CcbaCrQ7.mjs +0 -2
  77. 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
- - URL app window options: `--toolbar` hosts the shared address-bar wrapper
54
- (back/forward/reload buttons, address input, and the ⌘/Ctrl+←→, ⌘/Ctrl+[
55
- ], ⌘/Ctrl+R, F5, ⌘/Ctrl+L shortcuts while focus is in the wrapper). Sites
56
- that forbid iframe embedding cannot be wrapped: creation probes the page's
57
- embedding policy during the default scrape and, when the target refuses
58
- (`X-Frame-Options` / CSP `frame-ancestors`), prints a notice and falls
59
- back to the direct window automatically (with `--no-scrape` there is no
60
- probe data, so the toolbar request stands). Every URL app's tray menu
61
- offers Reload regardless of toolbar mode. By default the window title follows the
62
- page (`--no-title-follow` to stop) and the icon does NOT follow favicon
63
- changes at runtime (`--icon-follow` to enable); both persist in the v1
64
- config and round-trip through export.
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
- address-bar shells are available through the wizard's advanced options.
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
 
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file