Repository navigation
Expand file tree
/
Copy pathNOTICE
More file actions
145 lines (122 loc) · 8.25 KB
/
Copy pathNOTICE
File metadata and controls
145 lines (122 loc) · 8.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
Muster
Copyright 2026 Alexander Terp
This product includes software developed as part of Ghostty
(https://github.com/ghostty-org/ghostty), copyright (c) 2024 Mitchell Hashimoto
and Ghostty contributors, licensed under the MIT License.
Specifically:
Sources/MusterMac/KeyTranslation.swift ports the NSEvent-to-key-event heuristics
from macos/Sources/Ghostty/NSEvent+Extension.swift - which modifiers a keyboard
layout consumed, how to read an unshifted codepoint, and which characters must
not reach a terminal as text.
Sources/MusterMac/FindBar.swift ports the find bar from
macos/Sources/Ghostty/Surface View/SurfaceView.swift (SurfaceSearchOverlay) - the
layout, the corner-snapping drag, the button style, and what return does.
Sources/MusterMac/SurfaceView.swift ports the ctrl+return and ctrl+/ cases of
performKeyEquivalent from macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift.
Sources/MusterRenderer/SurfaceKeys.swift ports how a keystroke is handed to a
surface from macos/Sources/Ghostty/NSEvent+Extension.swift and
macos/Sources/Ghostty/Surface View/SurfaceView_AppKit.swift (keyDown,
flagsChanged, keyAction).
Sources/MusterMac/KeyNames.generated.swift is generated from Ghostty's
src/input/keycodes.zig, itself derived from Chromium's DOM code table
(BSD-style license).
Muster also links libghostty and libghostty-vt from the same project. Those are
built from source at the commit pinned in deps/ghostty.pin and are not vendored
here.
libghostty brings other projects with it. It is built from a Zig package set,
and the static archive linked into Contents/MacOS/muster carries the object code
of ten of them: gettext, breakpad, sentry-native, FreeType, libpng, zlib,
oniguruma, Wuffs, SPIRV-Cross and glslang. licenses/GHOSTTY-EMBEDDED.md names
each with its license and reproduces the text, and ships in the bundle as
Contents/Resources/GHOSTTY-EMBEDDED.md. Which ten is measured rather than read
off a manifest - a static archive contributes only the members the linker pulls,
and on macOS that is a narrower set than the package list suggests.
libghostty-vt, the terminal state machine linked statically into the daemon and
the core, links none of them, but does compile in Highway,
simdutf, uucode, Wuffs and translate-c, as upstream's own manifest of it says;
GHOSTTY-EMBEDDED.md lists those too and reproduces their licenses. They reach every
machine a daemon is installed on, Linux included.
One of those is copyleft and worth stating plainly. What links in from gettext
is gettext-runtime/intl, under the LGPL, version 2.1 or later - not the GPL half
of that package, which is the tools and does not ship. Static linking under the
LGPL asks that whoever holds the binary be able to relink it against their own
libintl. Muster can offer that rather than promise it: this source is public and
Apache-2.0, deps/ghostty.pin names the commit libghostty was built from, and
that build resolves gettext at a pinned hash, so ./dev rebuilds the whole chain
from source with whatever libintl you put in it.
None of this reaches the network. sentry-native and breakpad are linked in and
are what Ghostty uses to write a crash report, and Ghostty compiles no DSN into
them - the reports are written to disk for a person to send on if they choose.
Muster changes nothing about that and adds no endpoint of its own.
muster-daemon ships with a directory, muster-daemon-data, which ./dev copies
unchanged from the Ghostty checkout at deps/ghostty.pin. A build puts it beside
the daemon; the app bundle keeps it in the daemon's own Resources. None of it is
compiled into the daemon; the daemon points the shells it starts at it. It holds:
Ghostty's xterm-ghostty terminfo entry and its fish shell integration, under
the MIT License below.
shell-integration/bash/bash-preexec.sh, from bash-preexec
(https://github.com/rcaloras/bash-preexec), copyright Ryan Caloras and
contributors. The file carries no license header; its project licenses it
under the MIT License.
Three files under the GNU General Public License, version 3 or later, because
Ghostty based them on kitty's shell integration:
shell-integration/bash/ghostty.bash, shell-integration/zsh/.zshenv and
shell-integration/zsh/ghostty-integration. Each carries its license header,
and each is its own source. The license text is licenses/GPL-3.0.txt, and it
travels in the directory as GPL-3.0.txt, beside a README naming which file is
under which license.
Muster carries code from herdr (https://github.com/herdrdev/herdr), licensed
under the Apache License, Version 2.0, compiled into muster-daemon. A copy of
that license ships in the app bundle as LICENSE-herdr.txt and is kept at
licenses/herdr/LICENSE. That copy is herdr's own file byte for byte, including
the unfilled placeholders in the Apache appendix - which is why it names nobody,
and why this paragraph rather than that file is where herdr is attributed. The
crate crates/muster-detect ports herdr v0.8.0's agent detection, and changes it:
src/manifest.rs and src/manifests.rs port src/detect/manifest.rs and the version
type in src/detect/manifest_update.rs; src/identify.rs ports the process
identification in src/detect/mod.rs and src/pane.rs; src/process.rs and
src/process/ port the macOS and Linux probes in src/platform/; src/osc.rs ports
the OSC 9 capture in src/pane/osc.rs; src/detector.rs ports the detection loop
in src/pane.rs and src/pane/agent_detection.rs. Each of those files names what
it ports and says that it was changed. crates/muster-detect/manifests/ holds
herdr's nineteen detection manifests. Eleven are v0.8.0's own, from
src/detect/manifests/. Eight are the newer versions herdr's manifest catalog
(https://herdr.dev/agent-detection/) serves, as herdr v0.8.0 fetched them onto
the machine Muster was developed on: claude 2026.09.11.1, cline 2026.09.11.1,
codex 2026.09.23.1, copilot 2026.08.29.1 (github-copilot.toml), cursor
2026.08.03.1, grok 2026.09.18.1, kiro 2026.09.19.1 and pi 2026.09.14.1. All are
byte for byte except pi.toml and opencode.toml, which each open with a comment
saying what Muster changed.
Muster links swift-protobuf (https://github.com/apple/swift-protobuf), licensed
under the Apache License, Version 2.0, at the version pinned in
Package.resolved. Its runtime library is compiled into Contents/MacOS/muster
rather than only generating code at build time, so it is redistributed.
Muster also links around sixty Rust crates into libmuster.dylib, muster-cli and
muster-bridge. They are compiled in rather than copied beside them, so nothing
in the bundle's own contents shows that they are there; licenses/THIRD-PARTY.md
names every one and reproduces the license text it published, and ships in the
bundle as Contents/Resources/THIRD-PARTY.md. tools/licenses.py writes that file
from the dependency graph, and ./dev fails if it has stopped describing what the
binaries actually contain.
Two of those crates ask for more than a copy of their license. prost is
Apache-2.0 only rather than the usual dual offer, so its terms travel with the
binary on Apache-2.0's own conditions. unicode-ident is
"(MIT OR Apache-2.0) AND Unicode-3.0" - the AND is not a choice, and the
Unicode terms apply on top of whichever of the other two you take. Both texts
are in licenses/THIRD-PARTY.md.
The MIT License text is reproduced below.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.