@pi-in-go/pig-linux-arm64 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright Hewlett Packard Enterprise Development LP
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE ADDED
@@ -0,0 +1,47 @@
1
+ SPDX-FileCopyrightText: Copyright Hewlett Packard Enterprise Development LP
2
+ SPDX-License-Identifier: MIT
3
+
4
+ PiG
5
+ ===
6
+
7
+ PiG is a Go implementation designed to provide behavior corresponding to the Pi coding-agent project:
8
+
9
+ https://github.com/earendil-works/pi/
10
+
11
+ Pi is distributed under the MIT License and carries this notice:
12
+
13
+ Copyright (c) 2025 Mario Zechner
14
+
15
+ PiG is not an official release of the upstream Pi project. The upstream maintainers do not endorse PiG. PiG preserves upstream copyright and license notices where applicable. See `LICENSE`, `docs/project/PROVENANCE.md`, the repository SPDX metadata, and this notice.
16
+
17
+ Embedded third-party software
18
+ -----------------------------
19
+
20
+ PiG embeds the following third-party browser assets in exported HTML transcripts:
21
+
22
+ - Highlight.js 11.9.0, Copyright (c) 2006, Ivan Sagalaev, BSD-3-Clause.
23
+ - Marked 15.0.4, Copyright (c) 2018+, MarkedJS and Copyright (c) 2011-2018, Christopher Jeffrey, MIT; bundled Markdown material is Copyright 2004 John Gruber, BSD-3-Clause.
24
+
25
+ See `THIRD_PARTY_NOTICES.md` for the applicable license texts. Dependencies included in a release are recorded in that release's SPDX SBOM.
26
+
27
+ PiG also contains a Go port of `grok-mermaid` 0.2.2 and data generated from its width table:
28
+
29
+ - Source: <https://github.com/xl0/grok-mermaid/tree/v0.2.2>
30
+ - Copyright 2023-2026 SpaceXAI
31
+ - Copyright 2026 Alexey Zaytsev
32
+ - License: Apache-2.0
33
+
34
+ The generated width table also derives from `unicode-width` 0.2.0, Copyright (c) 2015 The Rust Project Developers, used under its MIT option.
35
+
36
+ PiG ports upstream Pi code that incorporates material from OpenTUI, `ansi-regex`, and `strip-ansi`. Their notices are retained in the corresponding source files and in `THIRD_PARTY_NOTICES.md`.
37
+
38
+ The project banner and derived social banners adapt the Go gopher, which was designed by Renee French and is licensed under CC-BY-4.0. The license text is in `LICENSES/CC-BY-4.0.txt`.
39
+
40
+ `CODE_OF_CONDUCT.md` adapts Contributor Covenant 2.1 under CC-BY-4.0. Its source and attribution are retained in that document and in `THIRD_PARTY_NOTICES.md`.
41
+
42
+ Unicode character data
43
+ ----------------------
44
+
45
+ `tui/widthx/unicode_tables.go` includes data derived from Unicode 17.0.0.
46
+ Copyright © 1991-2026 Unicode, Inc. Distributed under Unicode License V3;
47
+ see `LICENSES/Unicode-3.0.txt` and `THIRD_PARTY_NOTICES.md`.
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # @pi-in-go/pig-linux-arm64
2
+
3
+ The native `pig` binary for linux-arm64. Do not install this package directly;
4
+ install [`@pi-in-go/pig`](https://www.npmjs.com/package/@pi-in-go/pig), which selects it.
@@ -0,0 +1,203 @@
1
+ <!--
2
+ SPDX-FileCopyrightText: Copyright Hewlett Packard Enterprise Development LP
3
+ SPDX-License-Identifier: MIT
4
+ -->
5
+
6
+ # Third-Party Notices
7
+
8
+ This file records third-party software that PiG distributes in its source tree or embeds in its output. The release SBOM records dependencies compiled or packaged for each release.
9
+
10
+ The canonical license texts for the components below are in `LICENSES/`.
11
+
12
+ ## Go gopher artwork
13
+
14
+ Source: <https://go.dev/brand>
15
+
16
+ The project banner contains an adaptation of the Go gopher, which was designed by Renee French.
17
+
18
+ - License: CC-BY-4.0
19
+ - License text: `LICENSES/CC-BY-4.0.txt`
20
+ - Distributed files: `docs/assets/pig-project-banner.png`
21
+
22
+ The remaining PiG artwork and composition are licensed under MIT.
23
+
24
+ ## Contributor Covenant 2.1
25
+
26
+ Source: <https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>
27
+
28
+ Distributed file: `CODE_OF_CONDUCT.md`
29
+
30
+ - Copyright Contributor Covenant contributors
31
+ - License: CC-BY-4.0
32
+
33
+ PiG customizes the enforcement contact and preserves the required source and license attribution in the document.
34
+
35
+ ## grok-mermaid 0.2.2
36
+
37
+ Source: <https://github.com/xl0/grok-mermaid/tree/v0.2.2>
38
+
39
+ Reviewed source revision: `3430584a71350d72b5a0310e91bcd55578a9f981`
40
+
41
+ Published npm integrity: `sha512-XcJEP5dDC8liHBh52mlLjU18fNvu1ckFsu0QpIG3+APZ270fsj9wxpiA6cOURmbUEuoMVgjbC2+UYgTdCqqgzA==`
42
+
43
+ Distributed files: `internal/mermaid/**`
44
+
45
+ - Copyright 2023-2026 SpaceXAI
46
+ - Copyright 2026 Alexey Zaytsev
47
+ - License: Apache-2.0
48
+
49
+ ## unicode-width 0.2.0
50
+
51
+ Source: <https://github.com/unicode-rs/unicode-width/tree/v0.2.0>
52
+
53
+ Reviewed source revision: `79eab0d9fc2060783b43046f9611648dcd35172f`
54
+
55
+ Distributed file: `internal/mermaid/width_data.go`
56
+
57
+ - Copyright (c) 2015 The Rust Project Developers
58
+ - License: Apache-2.0 OR MIT; PiG uses the MIT option for this derived data
59
+
60
+ The width table is generated through `grok-mermaid` from the exact `unicode-width` 0.2.0 crate pinned by `grok-mermaid`'s width oracle. The required MIT copyright and permission notice is preserved here, and the canonical MIT text is in `LICENSES/MIT.txt`.
61
+
62
+ ## OpenTUI-derived input buffering
63
+
64
+ Source: <https://github.com/anomalyco/opentui>
65
+
66
+ Distributed file: `internal/codingagent/stdin_buffer.go`
67
+
68
+ - Copyright (c) 2025 opentui
69
+ - License: MIT
70
+
71
+ Upstream Pi identifies its `stdin-buffer.ts` implementation as based on OpenTUI. PiG ports that implementation to Go.
72
+
73
+ ## ansi-regex and strip-ansi
74
+
75
+ Sources:
76
+
77
+ - <https://github.com/chalk/ansi-regex>
78
+ - <https://github.com/chalk/strip-ansi>
79
+
80
+ Distributed files:
81
+
82
+ - `internal/codingagent/export/ansi_html.go`
83
+ - `internal/codingagent/tools/sanitize.go`
84
+
85
+ - Copyright (c) Sindre Sorhus (<https://sindresorhus.com>)
86
+ - License: MIT
87
+
88
+ Upstream Pi identifies portions of its ANSI utility as derived from these projects. PiG ports that behavior to Go.
89
+
90
+ ## Highlight.js 11.9.0
91
+
92
+ Source: <https://github.com/highlightjs/highlight.js/tree/11.9.0>
93
+
94
+ Distributed file: `internal/codingagent/export/assets/vendor/highlight.min.js`
95
+
96
+ ```text
97
+ BSD 3-Clause License
98
+
99
+ Copyright (c) 2006, Ivan Sagalaev.
100
+ All rights reserved.
101
+
102
+ Redistribution and use in source and binary forms, with or without
103
+ modification, are permitted provided that the following conditions are met:
104
+
105
+ * Redistributions of source code must retain the above copyright notice, this
106
+ list of conditions and the following disclaimer.
107
+
108
+ * Redistributions in binary form must reproduce the above copyright notice,
109
+ this list of conditions and the following disclaimer in the documentation
110
+ and/or other materials provided with the distribution.
111
+
112
+ * Neither the name of the copyright holder nor the names of its
113
+ contributors may be used to endorse or promote products derived from
114
+ this software without specific prior written permission.
115
+
116
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
117
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
118
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
119
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
120
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
121
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
122
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
123
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
124
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
125
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
126
+ ```
127
+
128
+ ## Marked 15.0.4
129
+
130
+ Source: <https://github.com/markedjs/marked/tree/v15.0.4>
131
+
132
+ Distributed file: `internal/codingagent/export/assets/vendor/marked.min.js`
133
+
134
+ ```text
135
+ Marked
136
+
137
+ Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
138
+ Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
139
+
140
+ Permission is hereby granted, free of charge, to any person obtaining a copy
141
+ of this software and associated documentation files (the "Software"), to deal
142
+ in the Software without restriction, including without limitation the rights
143
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
144
+ copies of the Software, and to permit persons to whom the Software is
145
+ furnished to do so, subject to the following conditions:
146
+
147
+ The above copyright notice and this permission notice shall be included in
148
+ all copies or substantial portions of the Software.
149
+
150
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
151
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
152
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
153
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
154
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
155
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
156
+ SOFTWARE.
157
+
158
+ Markdown
159
+
160
+ Copyright © 2004, John Gruber
161
+ http://daringfireball.net/
162
+ All rights reserved.
163
+
164
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
165
+
166
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
167
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
168
+ * Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
169
+
170
+ This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
171
+ ```
172
+
173
+ ## TypeBox 1.3.27
174
+
175
+ The Node extension runtime serves TypeBox for the `typebox`, `typebox/value`, `typebox/compile`, and `@sinclair/typebox*` specifiers, as Pi does. `coding/extension/host/subprocess/runtime-node/shims/typebox*.mjs` are an esbuild bundle of the npm package `typebox@1.3.27` (integrity `sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA==`), produced by `automation/gen/vendor-typebox.sh`.
176
+
177
+ ```text
178
+ The MIT License (MIT)
179
+
180
+ Copyright (c) 2017-2026 Haydn Paterson
181
+
182
+ Permission is hereby granted, free of charge, to any person obtaining a copy
183
+ of this software and associated documentation files (the "Software"), to deal
184
+ in the Software without restriction, including without limitation the rights
185
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
186
+ copies of the Software, and to permit persons to whom the Software is
187
+ furnished to do so, subject to the following conditions:
188
+
189
+ The above copyright notice and this permission notice shall be included in
190
+ all copies or substantial portions of the Software.
191
+
192
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
193
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
194
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
195
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
196
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
197
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
198
+ THE SOFTWARE.
199
+ ```
200
+
201
+ ## Unicode 17.0.0 character data
202
+
203
+ The generated `tui/widthx/unicode_tables.go` derives character properties and emoji sequences from the Unicode Character Database and Unicode emoji data, pinned in `tui/widthx/gen/inputs.sha256`. Copyright © 1991-2026 Unicode, Inc. Used under Unicode License V3, reproduced in `LICENSES/Unicode-3.0.txt` (source: https://www.unicode.org/license.txt). This data license supplements the MIT license for the Go implementation.
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@pi-in-go/pig-linux-arm64",
3
+ "version": "0.2.0",
4
+ "description": "PiG, the Go port of the Pi coding agent (based on Pi 0.87.1): native linux-arm64 binary for @pi-in-go/pig",
5
+ "license": "MIT",
6
+ "homepage": "https://pi-in-go.dev",
7
+ "bugs": "https://github.com/MichaelKinsy/PiG/issues",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/MichaelKinsy/PiG.git"
11
+ },
12
+ "os": [
13
+ "linux"
14
+ ],
15
+ "cpu": [
16
+ "arm64"
17
+ ],
18
+ "files": [
19
+ "pig",
20
+ "README.md",
21
+ "LICENSE",
22
+ "NOTICE",
23
+ "THIRD_PARTY_NOTICES.md"
24
+ ],
25
+ "preferUnplugged": true
26
+ }
package/pig ADDED
Binary file