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

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 (190) hide show
  1. package/README.md +36 -0
  2. package/channels.md +151 -0
  3. package/package.json +4 -1
  4. package/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
  5. package/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
  6. package/pdfjs/cmaps/78-H.bcmap +0 -0
  7. package/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
  8. package/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
  9. package/pdfjs/cmaps/78-V.bcmap +0 -0
  10. package/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
  11. package/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
  12. package/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
  13. package/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
  14. package/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
  15. package/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
  16. package/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
  17. package/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
  18. package/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
  19. package/pdfjs/cmaps/Add-H.bcmap +0 -0
  20. package/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
  21. package/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
  22. package/pdfjs/cmaps/Add-V.bcmap +0 -0
  23. package/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
  24. package/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
  25. package/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
  26. package/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
  27. package/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
  28. package/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
  29. package/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
  30. package/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  31. package/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
  32. package/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
  33. package/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
  34. package/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
  35. package/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
  36. package/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
  37. package/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  38. package/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
  39. package/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
  40. package/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
  41. package/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
  42. package/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
  43. package/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
  44. package/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
  45. package/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  46. package/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
  47. package/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
  48. package/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
  49. package/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  50. package/pdfjs/cmaps/B5-H.bcmap +0 -0
  51. package/pdfjs/cmaps/B5-V.bcmap +0 -0
  52. package/pdfjs/cmaps/B5pc-H.bcmap +0 -0
  53. package/pdfjs/cmaps/B5pc-V.bcmap +0 -0
  54. package/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
  55. package/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
  56. package/pdfjs/cmaps/CNS1-H.bcmap +0 -0
  57. package/pdfjs/cmaps/CNS1-V.bcmap +0 -0
  58. package/pdfjs/cmaps/CNS2-H.bcmap +0 -0
  59. package/pdfjs/cmaps/CNS2-V.bcmap +3 -0
  60. package/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
  61. package/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
  62. package/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
  63. package/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
  64. package/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
  65. package/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
  66. package/pdfjs/cmaps/EUC-H.bcmap +0 -0
  67. package/pdfjs/cmaps/EUC-V.bcmap +0 -0
  68. package/pdfjs/cmaps/Ext-H.bcmap +0 -0
  69. package/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
  70. package/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
  71. package/pdfjs/cmaps/Ext-V.bcmap +0 -0
  72. package/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
  73. package/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
  74. package/pdfjs/cmaps/GB-H.bcmap +4 -0
  75. package/pdfjs/cmaps/GB-V.bcmap +0 -0
  76. package/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
  77. package/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
  78. package/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
  79. package/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
  80. package/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
  81. package/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
  82. package/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
  83. package/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
  84. package/pdfjs/cmaps/GBT-H.bcmap +0 -0
  85. package/pdfjs/cmaps/GBT-V.bcmap +0 -0
  86. package/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
  87. package/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
  88. package/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
  89. package/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
  90. package/pdfjs/cmaps/H.bcmap +0 -0
  91. package/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
  92. package/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
  93. package/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
  94. package/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
  95. package/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
  96. package/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
  97. package/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
  98. package/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
  99. package/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
  100. package/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
  101. package/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
  102. package/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
  103. package/pdfjs/cmaps/Hankaku.bcmap +0 -0
  104. package/pdfjs/cmaps/Hiragana.bcmap +0 -0
  105. package/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
  106. package/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
  107. package/pdfjs/cmaps/KSC-H.bcmap +0 -0
  108. package/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
  109. package/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
  110. package/pdfjs/cmaps/KSC-V.bcmap +0 -0
  111. package/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
  112. package/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  113. package/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  114. package/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
  115. package/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
  116. package/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
  117. package/pdfjs/cmaps/Katakana.bcmap +0 -0
  118. package/pdfjs/cmaps/LICENSE +36 -0
  119. package/pdfjs/cmaps/NWP-H.bcmap +0 -0
  120. package/pdfjs/cmaps/NWP-V.bcmap +0 -0
  121. package/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
  122. package/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
  123. package/pdfjs/cmaps/Roman.bcmap +0 -0
  124. package/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  125. package/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  126. package/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  127. package/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  128. package/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  129. package/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  130. package/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  131. package/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  132. package/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
  133. package/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
  134. package/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
  135. package/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
  136. package/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
  137. package/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
  138. package/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
  139. package/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
  140. package/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  141. package/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  142. package/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  143. package/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  144. package/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  145. package/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  146. package/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  147. package/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  148. package/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  149. package/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  150. package/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  151. package/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  152. package/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  153. package/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  154. package/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  155. package/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  156. package/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  157. package/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  158. package/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  159. package/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  160. package/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  161. package/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  162. package/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  163. package/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
  164. package/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
  165. package/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
  166. package/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
  167. package/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
  168. package/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
  169. package/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
  170. package/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
  171. package/pdfjs/cmaps/V.bcmap +0 -0
  172. package/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
  173. package/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
  174. package/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
  175. package/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
  176. package/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  177. package/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
  178. package/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
  179. package/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
  180. package/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  181. package/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
  182. package/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
  183. package/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
  184. package/pdfjs/standard_fonts/LICENSE_LIBERATION +102 -0
  185. package/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
  186. package/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  187. package/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
  188. package/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
  189. package/pi.exe +0 -0
  190. package/windows.md +10 -1
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # BitBiz Pi Coding Agent
2
+
3
+ A cross-platform, native terminal coding agent for software development and workspace automation.
4
+
5
+ [Homepage](https://bitbiz.top/) · [npm package](https://www.npmjs.com/package/@bitbiz/pi-coding-agent)
6
+
7
+ ## Why BitBiz Pi Coding Agent
8
+
9
+ - **Native cross-platform runtime** — npm automatically selects the matching macOS, Linux, or Windows package. The runtime ships with ripgrep, fd, themes, HTML export assets, and image-processing WASM.
10
+ - **Broad model choice** — use BitBiz AI Hub or connect providers including Anthropic, OpenAI, Gemini, GitHub Copilot, OpenRouter, Amazon Bedrock, and OpenAI-compatible services.
11
+ - **Engineering-focused tools** — inspect and edit files, run shell commands, search code, automate browsers, and extend the workspace with additional tools.
12
+ - **Extensible workflows** — add Skills, MCP servers, prompt templates, themes, and TypeScript extensions without forking the core agent.
13
+ - **Long-task support** — persistent sessions, context compaction, configurable work modes, message queues, and subagents support complex work across multiple steps.
14
+ - **Automation-ready** — use the interactive TUI, print/JSON output, RPC mode, or the SDK for integration with other applications.
15
+ - **Built-in messaging channels** — run the bundled Channel Daemon for Weixin iLink Bot and QQ Bot; platform packages include `channels.md` with configuration and operations guidance.
16
+
17
+ ## Install
18
+
19
+ ```bash
20
+ npm install -g @bitbiz/pi-coding-agent
21
+ pi
22
+ ```
23
+
24
+ Run `/login`, select **BitBiz AI Hub** or another supported provider, and follow the authorization instructions.
25
+
26
+ ## Supported native packages
27
+
28
+ - macOS arm64 and x64
29
+ - Linux glibc arm64 and x64
30
+ - Windows x64
31
+
32
+ The `@bitbiz/pi-coding-agent-*` platform packages are installed automatically by the main package. Install `@bitbiz/pi-coding-agent` rather than selecting a platform package directly.
33
+
34
+ ## License
35
+
36
+ MIT
package/channels.md ADDED
@@ -0,0 +1,151 @@
1
+ # Pi Channel 微信与 QQ 接入指南
2
+
3
+ Pi 原生发行包内置 Channel Daemon,可直接接入 **微信 iLink Bot** 和 **QQ 开放平台 Bot**,不需要另装 Mom。这里的微信接入不是控制个人微信客户端,QQ 接入也不是控制个人 QQ 客户端。
4
+
5
+ ## 准备 Pi
6
+
7
+ 先启动 Pi 并完成模型登录:
8
+
9
+ ```bash
10
+ pi
11
+ ```
12
+
13
+ 在交互界面执行 `/login`,选择 **BitBiz AI Hub** 并完成授权。Channel Daemon 与普通 Pi 共用 `~/.pi/agent/` 下的模型配置和凭证。
14
+
15
+ Channel 默认配置文件和数据目录分别为:
16
+
17
+ ```text
18
+ ~/.pi/mom/mom.json
19
+ ~/.pi/mom/data/
20
+ ```
21
+
22
+ 创建配置目录后,将下面示例保存为 `~/.pi/mom/mom.json`。只启用需要的渠道;不要把真实凭证提交到代码仓库或发送到聊天中。
23
+
24
+ ```json
25
+ {
26
+ "channels": {
27
+ "qqbot": {
28
+ "enabled": false,
29
+ "token": "YOUR_APP_ID:YOUR_APP_SECRET",
30
+ "markdown_support": false
31
+ },
32
+ "weixin": {
33
+ "enabled": false
34
+ }
35
+ },
36
+ "httpApi": {
37
+ "enabled": true,
38
+ "host": "127.0.0.1",
39
+ "port": 3847
40
+ }
41
+ }
42
+ ```
43
+
44
+ `httpApi.token` 可以省略。配置文件已存在时,Pi 会在首次启动 Channel Daemon 时生成随机 Token 并写回文件。除非明确需要远程控制面,否则保持 `host` 为 `127.0.0.1`。
45
+
46
+ ## 接入 QQ Bot
47
+
48
+ 1. 在 [QQ 开放平台](https://q.qq.com/) 创建机器人,取得机器人 **AppID** 和 **AppSecret/ClientSecret**。
49
+ 2. 在平台侧配置并发布机器人,开放实际需要的单聊、群聊或频道消息能力。Pi 当前处理 C2C 消息、群聊 `@机器人`、频道 `@机器人` 和频道私信事件。
50
+ 3. 修改 `mom.json`:
51
+
52
+ ```json
53
+ {
54
+ "channels": {
55
+ "qqbot": {
56
+ "enabled": true,
57
+ "token": "YOUR_APP_ID:YOUR_APP_SECRET",
58
+ "markdown_support": false
59
+ }
60
+ }
61
+ }
62
+ ```
63
+
64
+ 4. 前台启动一次并观察连接日志:
65
+
66
+ ```bash
67
+ pi channels serve --foreground
68
+ ```
69
+
70
+ 看到 `[qqbot] Started` 后,在 QQ 中向机器人发送消息验证。前台验证完成后按 `Ctrl+C` 停止,再改为后台运行:
71
+
72
+ ```bash
73
+ pi channels start
74
+ ```
75
+
76
+ 若平台未开通 Markdown 模板能力,保持 `markdown_support: false`。配置代理时可给 `qqbot` 增加 `"proxy": "http://127.0.0.1:7890"`。
77
+
78
+ ## 接入微信 iLink Bot
79
+
80
+ 1. 将微信渠道改为启用:
81
+
82
+ ```json
83
+ {
84
+ "channels": {
85
+ "weixin": {
86
+ "enabled": true
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ 2. 使用前台模式启动:
93
+
94
+ ```bash
95
+ pi channels serve --foreground
96
+ ```
97
+
98
+ 3. 终端出现二维码后,使用微信扫码并在手机端确认。登录凭证会以仅当前用户可读的权限保存在 `~/.pi/mom/weixin_account.json`,不需要手工复制 BotToken。
99
+ 4. 看到 `[weixin] Login connected` 后发送一条微信消息验证。前台验证完成后按 `Ctrl+C` 停止,再执行:
100
+
101
+ ```bash
102
+ pi channels start
103
+ ```
104
+
105
+ 后续启动会复用已保存的登录凭证。若扫码流程要求额外验证码,当前命令行入口不能提交验证码,需要通过集成方提供的 Channel 控制界面完成登录。配置代理时可给 `weixin` 增加 `"proxy": "http://127.0.0.1:7890"`。
106
+
107
+ ## 访问控制
108
+
109
+ `allow_from` 是白名单,`deny_from` 是黑名单;两者比较时忽略大小写和开头的 `@`。`deny_from` 优先。空的 `allow_from` 等同于不启用白名单。
110
+
111
+ ```json
112
+ {
113
+ "channels": {
114
+ "qqbot": {
115
+ "enabled": true,
116
+ "token": "YOUR_APP_ID:YOUR_APP_SECRET",
117
+ "allow_from": ["USER_OPEN_ID"]
118
+ }
119
+ }
120
+ }
121
+ ```
122
+
123
+ 建议先完成连接并从日志确认平台提供的用户标识,再启用白名单,避免误拦截所有消息。
124
+
125
+ ## 管理与排障
126
+
127
+ ```bash
128
+ pi channels status
129
+ pi channels logs
130
+ pi channels logs -n 200
131
+ pi channels restart
132
+ pi channels stop
133
+ ```
134
+
135
+ 默认日志位于 `~/.pi/agent/logs/channels.log`,可用 `pi channels logs --path` 查看实际路径。修改 `mom.json` 后执行 `pi channels restart` 使配置生效。
136
+
137
+ 如需使用其它配置或数据目录,所有管理命令都要传入相同参数,例如:
138
+
139
+ ```bash
140
+ pi channels start --config /path/to/mom.json /path/to/channel-data
141
+ pi channels status --config /path/to/mom.json
142
+ pi channels stop --config /path/to/mom.json
143
+ ```
144
+
145
+ 排查顺序:
146
+
147
+ 1. `pi channels status` 确认 Daemon 正在运行;
148
+ 2. `pi channels logs -n 200` 检查配置解析、平台鉴权和网络错误;
149
+ 3. QQ 检查 AppID、AppSecret 和平台消息权限,微信检查二维码是否已在手机端确认;
150
+ 4. 检查 `allow_from` / `deny_from` 是否拦截了当前用户;
151
+ 5. 修改配置后执行 `pi channels restart`。
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@bitbiz/pi-coding-agent-win32-x64",
3
- "version": "1.6.24",
3
+ "version": "1.6.41",
4
+ "homepage": "https://bitbiz.top/",
4
5
  "license": "MIT",
5
6
  "os": [
6
7
  "win32"
@@ -16,7 +17,9 @@
16
17
  "pi.exe",
17
18
  "theme",
18
19
  "export-html",
20
+ "pdfjs",
19
21
  "windows.md",
22
+ "channels.md",
20
23
  "photon_rs_bg.wasm",
21
24
  "vendor"
22
25
  ]
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ �RCopyright 1990-2009 Adobe Systems Incorporated.
2
+ All rights reserved.
3
+ See ./LICENSE�CNS2-H
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ �RCopyright 1990-2009 Adobe Systems Incorporated.
2
+ All rights reserved.
3
+ See ./LICENSE� ETen-B5-H` ^
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ �RCopyright 1990-2009 Adobe Systems Incorporated.
2
+ All rights reserved.
3
+ See ./LICENSE!!��]aX!!]`�21�> �p �z�$]��"R�d�-U�7�*�
4
+ �"]�h�"]�F�"]�$�"]��"]�`�"]�>�"]��"]�z�"]�X�"]�6�"]��"]�r�"]�P�"]�.�"]� �"]�j�"]�H�"]�&�"]��"]�b�"]�@�"]��"]�|�"]�Z�"]�8�"]��"]�t�"]�R�"]�0�"]��"]�l�"]�J�"]�(�"]��"]�d�"]�B�"]� �"X�~�']�W�"]�5�"]��"]�q�"]�O�"]�-�"]� �"]�i�"]�G�"]�%�"]��"]�a�"]�?�"]��"]�{�"]�Y�"]�7�"]��"]�s�"]�Q�"]�/�"]�
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,36 @@
1
+ %%Copyright: -----------------------------------------------------------
2
+ %%Copyright: Copyright 1990-2009 Adobe Systems Incorporated.
3
+ %%Copyright: All rights reserved.
4
+ %%Copyright:
5
+ %%Copyright: Redistribution and use in source and binary forms, with or
6
+ %%Copyright: without modification, are permitted provided that the
7
+ %%Copyright: following conditions are met:
8
+ %%Copyright:
9
+ %%Copyright: Redistributions of source code must retain the above
10
+ %%Copyright: copyright notice, this list of conditions and the following
11
+ %%Copyright: disclaimer.
12
+ %%Copyright:
13
+ %%Copyright: Redistributions in binary form must reproduce the above
14
+ %%Copyright: copyright notice, this list of conditions and the following
15
+ %%Copyright: disclaimer in the documentation and/or other materials
16
+ %%Copyright: provided with the distribution.
17
+ %%Copyright:
18
+ %%Copyright: Neither the name of Adobe Systems Incorporated nor the names
19
+ %%Copyright: of its contributors may be used to endorse or promote
20
+ %%Copyright: products derived from this software without specific prior
21
+ %%Copyright: written permission.
22
+ %%Copyright:
23
+ %%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
24
+ %%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
25
+ %%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
26
+ %%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
+ %%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
28
+ %%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
+ %%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
30
+ %%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31
+ %%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32
+ %%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33
+ %%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34
+ %%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35
+ %%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
+ %%Copyright: -----------------------------------------------------------
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,27 @@
1
+ // Copyright 2014 PDFium Authors. All rights reserved.
2
+ //
3
+ // Redistribution and use in source and binary forms, with or without
4
+ // modification, are permitted provided that the following conditions are
5
+ // met:
6
+ //
7
+ // * Redistributions of source code must retain the above copyright
8
+ // notice, this list of conditions and the following disclaimer.
9
+ // * Redistributions in binary form must reproduce the above
10
+ // copyright notice, this list of conditions and the following disclaimer
11
+ // in the documentation and/or other materials provided with the
12
+ // distribution.
13
+ // * Neither the name of Google Inc. nor the names of its
14
+ // contributors may be used to endorse or promote products derived from
15
+ // this software without specific prior written permission.
16
+ //
17
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,102 @@
1
+ Digitized data copyright (c) 2010 Google Corporation
2
+ with Reserved Font Arimo, Tinos and Cousine.
3
+ Copyright (c) 2012 Red Hat, Inc.
4
+ with Reserved Font Name Liberation.
5
+
6
+ This Font Software is licensed under the SIL Open Font License,
7
+ Version 1.1.
8
+
9
+ This license is copied below, and is also available with a FAQ at:
10
+ http://scripts.sil.org/OFL
11
+
12
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
13
+
14
+ PREAMBLE The goals of the Open Font License (OFL) are to stimulate
15
+ worldwide development of collaborative font projects, to support the font
16
+ creation efforts of academic and linguistic communities, and to provide
17
+ a free and open framework in which fonts may be shared and improved in
18
+ partnership with others.
19
+
20
+ The OFL allows the licensed fonts to be used, studied, modified and
21
+ redistributed freely as long as they are not sold by themselves.
22
+ The fonts, including any derivative works, can be bundled, embedded,
23
+ redistributed and/or sold with any software provided that any reserved
24
+ names are not used by derivative works. The fonts and derivatives,
25
+ however, cannot be released under any other type of license. The
26
+ requirement for fonts to remain under this license does not apply to
27
+ any document created using the fonts or their derivatives.
28
+
29
+
30
+
31
+ DEFINITIONS
32
+ "Font Software" refers to the set of files released by the Copyright
33
+ Holder(s) under this license and clearly marked as such.
34
+ This may include source files, build scripts and documentation.
35
+
36
+ "Reserved Font Name" refers to any names specified as such after the
37
+ copyright statement(s).
38
+
39
+ "Original Version" refers to the collection of Font Software components
40
+ as distributed by the Copyright Holder(s).
41
+
42
+ "Modified Version" refers to any derivative made by adding to, deleting,
43
+ or substituting ? in part or in whole ?
44
+ any of the components of the Original Version, by changing formats or
45
+ by porting the Font Software to a new environment.
46
+
47
+ "Author" refers to any designer, engineer, programmer, technical writer
48
+ or other person who contributed to the Font Software.
49
+
50
+
51
+ PERMISSION & CONDITIONS
52
+
53
+ Permission is hereby granted, free of charge, to any person obtaining a
54
+ copy of the Font Software, to use, study, copy, merge, embed, modify,
55
+ redistribute, and sell modified and unmodified copies of the Font
56
+ Software, subject to the following conditions:
57
+
58
+ 1) Neither the Font Software nor any of its individual components,in
59
+ Original or Modified Versions, may be sold by itself.
60
+
61
+ 2) Original or Modified Versions of the Font Software may be bundled,
62
+ redistributed and/or sold with any software, provided that each copy
63
+ contains the above copyright notice and this license. These can be
64
+ included either as stand-alone text files, human-readable headers or
65
+ in the appropriate machine-readable metadata fields within text or
66
+ binary files as long as those fields can be easily viewed by the user.
67
+
68
+ 3) No Modified Version of the Font Software may use the Reserved Font
69
+ Name(s) unless explicit written permission is granted by the
70
+ corresponding Copyright Holder. This restriction only applies to the
71
+ primary font name as presented to the users.
72
+
73
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
74
+ Software shall not be used to promote, endorse or advertise any
75
+ Modified Version, except to acknowledge the contribution(s) of the
76
+ Copyright Holder(s) and the Author(s) or with their explicit written
77
+ permission.
78
+
79
+ 5) The Font Software, modified or unmodified, in part or in whole, must
80
+ be distributed entirely under this license, and must not be distributed
81
+ under any other license. The requirement for fonts to remain under
82
+ this license does not apply to any document created using the Font
83
+ Software.
84
+
85
+
86
+
87
+ TERMINATION
88
+ This license becomes null and void if any of the above conditions are not met.
89
+
90
+
91
+
92
+ DISCLAIMER
93
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
94
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
95
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
96
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
97
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
98
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
99
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
100
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
101
+ DEALINGS IN THE FONT SOFTWARE.
102
+
package/pi.exe CHANGED
Binary file
package/windows.md CHANGED
@@ -5,7 +5,16 @@
5
5
  - 64 位 x86 Windows 10 或更高版本。
6
6
  - 安装 [Git for Windows](https://git-scm.com/download/win),Pi 默认使用其中的 Git Bash。
7
7
 
8
- ## 初始化
8
+ ## npm 安装(推荐)
9
+
10
+ ```bash
11
+ npm install -g @bitbiz/pi-coding-agent
12
+ npx pi
13
+ ```
14
+
15
+ 安装完成后可使用 `npx pi` 启动,无需手动配置 Pi 的 PATH。首次启动后执行 `/login`,选择 **BitBiz AI Hub**,然后按提示在浏览器中继续并完成授权。
16
+
17
+ ## ZIP 安装
9
18
 
10
19
  1. 将发行 ZIP 完整解压到固定目录,不要只复制 `pi.exe`。
11
20
  2. 在解压目录打开 Git Bash。