@bitbiz/pi-coding-agent-win32-x64 1.6.24

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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017-present The fd developers
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.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Andrew Gallant
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
13
+ all 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
21
+ THE SOFTWARE.
@@ -0,0 +1,15 @@
1
+ {
2
+ "target": "win32-x64",
3
+ "fd": {
4
+ "version": "10.3.0",
5
+ "source": "https://github.com/sharkdp/fd/releases/download/v10.3.0/fd-v10.3.0-x86_64-pc-windows-msvc.zip",
6
+ "archiveSha256": "318aa2a6fa664325933e81fda60d523fff29444129e91ebf0726b5b3bcd8b059",
7
+ "installedSha256": "fd3d4853da7a319a604e1cb03ede88cbf584edd12b89a0991871fb4d9cd3ba5b"
8
+ },
9
+ "rg": {
10
+ "version": "15.1.0",
11
+ "source": "https://github.com/BurntSushi/ripgrep/releases/download/15.1.0/ripgrep-15.1.0-x86_64-pc-windows-msvc.zip",
12
+ "archiveSha256": "124510b94b6baa3380d051fdf4650eaa80a302c876d611e9dba0b2e18d87493a",
13
+ "installedSha256": "decdd4992f3f1b9a5ef9898f1b40ab16886d579d6516b4efd3d5eaa19364e408"
14
+ }
15
+ }
package/windows.md ADDED
@@ -0,0 +1,31 @@
1
+ # Pi Windows 初始化指南
2
+
3
+ ## 系统要求
4
+
5
+ - 64 位 x86 Windows 10 或更高版本。
6
+ - 安装 [Git for Windows](https://git-scm.com/download/win),Pi 默认使用其中的 Git Bash。
7
+
8
+ ## 初始化
9
+
10
+ 1. 将发行 ZIP 完整解压到固定目录,不要只复制 `pi.exe`。
11
+ 2. 在解压目录打开 Git Bash。
12
+ 3. 运行:
13
+
14
+ ```bash
15
+ ./pi.exe --version
16
+ ./pi.exe
17
+ ```
18
+
19
+ 4. 首次启动后执行 `/login`,选择 **BitBiz AI Hub**,然后按提示在浏览器中继续并完成授权。
20
+
21
+ 随包的 `vendor/bin/fd.exe` 和 `vendor/bin/rg.exe` 会被 Pi 优先使用,不需要加入 PATH。若要在任意目录启动 Pi,可将整个解压目录加入用户 PATH,但必须保持 `pi.exe`、`package.json`、`theme/`、`export-html/`、`vendor/` 和 `photon_rs_bg.wasm` 的相对位置不变。
22
+
23
+ ## 自定义 Bash
24
+
25
+ 默认 Git Bash 不可用时,在 `~/.pi/agent/settings.json` 指定:
26
+
27
+ ```json
28
+ {
29
+ "shellPath": "C:\\cygwin64\\bin\\bash.exe"
30
+ }
31
+ ```