@xai-official/grok-linux-x64 0.2.101 → 0.2.102

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.
@@ -0,0 +1,172 @@
1
+ # Third-Party Notices
2
+
3
+ This crate contains code ported from, or derived from, the open-source
4
+ projects listed under [Ported source code](#ported-source-code), and its
5
+ release builds embed prebuilt third-party tool binaries listed under
6
+ [Bundled tool binaries](#bundled-tool-binaries). The original license terms
7
+ are reproduced below, as required by those licenses.
8
+
9
+ Ported files have been modified from their originals (translated between
10
+ languages, adapted to this crate's `Tool` trait and runtime, and extended);
11
+ this file constitutes the prominent notice of those changes required by
12
+ Apache License 2.0 §4(b).
13
+
14
+ ## Ported source code
15
+
16
+ ### openai/codex
17
+
18
+ The tool implementations under `src/implementations/codex/` (`apply_patch`,
19
+ `grep_files`, `list_dir`, `read_file`) are ported from the
20
+ [openai/codex](https://github.com/openai/codex) project
21
+ (`codex-rs/core/src/tools/handlers/`).
22
+
23
+ Copyright 2025 OpenAI
24
+
25
+ Licensed under the Apache License, Version 2.0 (the "License");
26
+ you may not use this file except in compliance with the License.
27
+ You may obtain a copy of the License at
28
+
29
+ http://www.apache.org/licenses/LICENSE-2.0
30
+
31
+ Unless required by applicable law or agreed to in writing, software
32
+ distributed under the License is distributed on an "AS IS" BASIS,
33
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
+ See the License for the specific language governing permissions and
35
+ limitations under the License.
36
+
37
+ ### sst/opencode
38
+
39
+ The tool implementations under `src/implementations/opencode/` (`bash`,
40
+ `edit`, `glob`, `grep`, `read`, `skill`, `todowrite`, `write`) are ported
41
+ from the [sst/opencode](https://github.com/sst/opencode) project
42
+ (`packages/opencode/src/tool/`).
43
+
44
+ MIT License
45
+
46
+ Copyright (c) 2025 opencode
47
+
48
+ Permission is hereby granted, free of charge, to any person obtaining a copy
49
+ of this software and associated documentation files (the "Software"), to deal
50
+ in the Software without restriction, including without limitation the rights
51
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
52
+ copies of the Software, and to permit persons to whom the Software is
53
+ furnished to do so, subject to the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be included in all
56
+ copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
59
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
61
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
62
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
63
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64
+ SOFTWARE.
65
+
66
+ ## Bundled tool binaries
67
+
68
+ Release builds of this crate embed unmodified, prebuilt binaries of the
69
+ tools below (see `build.rs`); they are self-extracted to `~/.grok/vendor/`
70
+ at runtime. Which tools are embedded in a given build depends on what the
71
+ release pipeline supplies at build time:
72
+
73
+ - **ripgrep** is embedded in every release build (downloaded from the
74
+ official GitHub release, or supplied via `GROK_TOOLS_BUNDLE_RG_PATH`).
75
+ - **ugrep** and **bfs** are embedded only when the release pipeline supplies
76
+ static binaries via `GROK_TOOLS_BUNDLE_UGREP_PATH` /
77
+ `GROK_TOOLS_BUNDLE_BFS_PATH`. When those are unset the tools are not
78
+ bundled, and the runtime instead resolves them from `~/.grok/vendor/` or
79
+ `$PATH` if the user has installed them. Their license terms are included
80
+ below so that any build that does bundle them is covered.
81
+
82
+ ### ripgrep
83
+
84
+ [ripgrep](https://github.com/BurntSushi/ripgrep) is dual-licensed under the
85
+ MIT License or the Unlicense, at the user's option. We redistribute the
86
+ official ripgrep release binaries and reproduce the MIT license below.
87
+
88
+ The official ripgrep release binaries statically link
89
+ [PCRE2](https://github.com/PCRE2Project/pcre2) (BSD-3-Clause with the PCRE2
90
+ exemption for binary library-like packages). Under that exemption, packages
91
+ that include ripgrep — and do not use PCRE2 independently — are not subject
92
+ to PCRE2's binary-redistribution notice condition, so no separate PCRE2
93
+ notice is reproduced here.
94
+
95
+ The MIT License (MIT)
96
+
97
+ Copyright (c) 2015 Andrew Gallant
98
+
99
+ Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ of this software and associated documentation files (the "Software"), to deal
101
+ in the Software without restriction, including without limitation the rights
102
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ copies of the Software, and to permit persons to whom the Software is
104
+ furnished to do so, subject to the following conditions:
105
+
106
+ The above copyright notice and this permission notice shall be included in
107
+ all copies or substantial portions of the Software.
108
+
109
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
115
+ THE SOFTWARE.
116
+
117
+ ### ugrep
118
+
119
+ [ugrep](https://github.com/Genivia/ugrep) is licensed under the BSD 3-Clause
120
+ License. Note: when the release pipeline builds the static ugrep binary,
121
+ review what it statically links (e.g. PCRE2, zlib) and extend this notice if
122
+ needed.
123
+
124
+ BSD 3-Clause License
125
+
126
+ Copyright (c) 2023, Robert van Engelen, Genivia Inc.
127
+ All rights reserved.
128
+
129
+ Redistribution and use in source and binary forms, with or without
130
+ modification, are permitted provided that the following conditions are met:
131
+
132
+ 1. Redistributions of source code must retain the above copyright notice, this
133
+ list of conditions and the following disclaimer.
134
+
135
+ 2. Redistributions in binary form must reproduce the above copyright notice,
136
+ this list of conditions and the following disclaimer in the documentation
137
+ and/or other materials provided with the distribution.
138
+
139
+ 3. Neither the name of the copyright holder nor the names of its
140
+ contributors may be used to endorse or promote products derived from
141
+ this software without specific prior written permission.
142
+
143
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
144
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
145
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
146
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
147
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
148
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
149
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
150
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
151
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
152
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
153
+
154
+ ### bfs
155
+
156
+ [bfs](https://github.com/tavianator/bfs) is licensed under the Zero-Clause
157
+ BSD (0BSD) license, which imposes no notice-retention requirement; the
158
+ license is reproduced here as a courtesy.
159
+
160
+ Copyright © 2015-2025 Tavian Barnes <tavianator@tavianator.com> and the bfs
161
+ contributors
162
+
163
+ Permission to use, copy, modify, and/or distribute this software for any
164
+ purpose with or without fee is hereby granted.
165
+
166
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
167
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
168
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
169
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
170
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
171
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
172
+ PERFORMANCE OF THIS SOFTWARE.
package/bin/grok.br CHANGED
Binary file
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@xai-official/grok-linux-x64",
3
- "version": "0.2.101",
3
+ "version": "0.2.102",
4
4
  "description": "linux-x64 binary for @xai-official/grok. Do not install directly; install @xai-official/grok instead.",
5
- "license": "Proprietary",
5
+ "license": "Apache-2.0",
6
6
  "files": [
7
- "bin/"
7
+ "bin/",
8
+ "THIRD_PARTY_NOTICES.md"
8
9
  ],
9
10
  "os": [
10
11
  "linux"