pi-web-ui 0.113.1 โ†’ 0.114.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.
Files changed (222) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/README.md +117 -246
  3. package/README.zh-CN.md +145 -217
  4. package/README.zh-TW.md +145 -217
  5. package/bin/device-hub-cli.mjs +577 -0
  6. package/bin/pi-device-hub.mjs +9 -0
  7. package/bin/pi-web-ui.mjs +47 -15
  8. package/dist/server/agent-service-daemon.js +102 -24
  9. package/dist/server/agent-service.js +2289 -1120
  10. package/dist/server/approval-rules.js +29 -3
  11. package/dist/server/ask-user-question-tool.js +8 -8
  12. package/dist/server/atomic-file.js +35 -14
  13. package/dist/server/attachment-store.js +71 -35
  14. package/dist/server/attachments.js +18 -8
  15. package/dist/server/canvas/canvas-agent-tool.js +65 -15
  16. package/dist/server/canvas/canvas-dispatch.js +61 -20
  17. package/dist/server/canvas/canvas-orchestrator.js +516 -199
  18. package/dist/server/canvas/canvas-scheduler.js +99 -0
  19. package/dist/server/canvas/canvas-store.js +107 -54
  20. package/dist/server/canvas/canvas-validation.js +131 -0
  21. package/dist/server/canvas/canvas-workspace.js +284 -0
  22. package/dist/server/client-id-utils.js +8 -0
  23. package/dist/server/client-state.js +104 -22
  24. package/dist/server/communicate-tool.js +76 -0
  25. package/dist/server/compact-context-tool.js +2 -3
  26. package/dist/server/compaction-instructions.js +75 -0
  27. package/dist/server/compaction-markers.js +7 -2
  28. package/dist/server/compaction-state.js +84 -0
  29. package/dist/server/composer-drafts.js +43 -40
  30. package/dist/server/context-evidence.js +346 -0
  31. package/dist/server/conversation-communication.js +368 -0
  32. package/dist/server/conversation-read-tool.js +3 -4
  33. package/dist/server/conversation-tool-names.js +14 -0
  34. package/dist/server/conversation-tool.js +57 -0
  35. package/dist/server/delegate-mode.js +17 -4
  36. package/dist/server/device-center/bot-catalog.js +88 -0
  37. package/dist/server/device-center/bot-execution.js +106 -0
  38. package/dist/server/device-center/bots.js +170 -0
  39. package/dist/server/device-center/collab-service.js +153 -0
  40. package/dist/server/device-center/collab-tool.js +184 -0
  41. package/dist/server/device-center/connector.js +332 -0
  42. package/dist/server/device-center/desktop-linux.js +372 -0
  43. package/dist/server/device-center/desktop-native.js +413 -0
  44. package/dist/server/device-center/desktop-page.js +232 -0
  45. package/dist/server/device-center/desktop-setup.js +30 -0
  46. package/dist/server/device-center/desktop.js +387 -0
  47. package/dist/server/device-center/device-portals.js +241 -0
  48. package/dist/server/device-center/execution-failure.js +70 -0
  49. package/dist/server/device-center/executor.js +371 -0
  50. package/dist/server/device-center/file-sync.js +493 -0
  51. package/dist/server/device-center/hub-auth.js +69 -0
  52. package/dist/server/device-center/hub-page.js +68 -0
  53. package/dist/server/device-center/hub-setup.js +214 -0
  54. package/dist/server/device-center/hub.js +829 -0
  55. package/dist/server/device-center/local-page.js +17 -0
  56. package/dist/server/device-center/local.js +476 -0
  57. package/dist/server/device-center/main.js +118 -0
  58. package/dist/server/device-center/native-desktop/macos.js +192 -0
  59. package/dist/server/device-center/native-desktop/windows.js +118 -0
  60. package/dist/server/device-center/path-portal.js +120 -0
  61. package/dist/server/device-center/relay.js +959 -0
  62. package/dist/server/device-center/runtime.js +253 -0
  63. package/dist/server/device-center/smoke-preview.js +3 -0
  64. package/dist/server/device-center/store.js +122 -0
  65. package/dist/server/device-center/task-error.js +14 -0
  66. package/dist/server/device-center/transfers.js +293 -0
  67. package/dist/server/device-center/workspaces.js +45 -0
  68. package/dist/server/dispatch-domain-handlers.js +83 -27
  69. package/dist/server/dsh/dsh-agent-service.js +277 -158
  70. package/dist/server/dsh/dsh-client.js +12 -2
  71. package/dist/server/durable/durable-agent-service.js +1 -1
  72. package/dist/server/evidence-tool-hooks.js +49 -0
  73. package/dist/server/file-save.js +95 -0
  74. package/dist/server/file-transfer-routes.js +97 -47
  75. package/dist/server/files-service.js +38 -26
  76. package/dist/server/goal-review-gate.js +16 -6
  77. package/dist/server/goal-service.js +54 -30
  78. package/dist/server/http-proxy.js +120 -0
  79. package/dist/server/index.js +229 -223
  80. package/dist/server/load-timing.js +31 -0
  81. package/dist/server/mcp-bridge.js +219 -94
  82. package/dist/server/mcp-hot-reload.js +31 -5
  83. package/dist/server/mcp-manager.js +192 -93
  84. package/dist/server/mcp-oauth-login.js +169 -0
  85. package/dist/server/mcp-oauth-ui.js +137 -0
  86. package/dist/server/mcp-oauth.js +395 -0
  87. package/dist/server/mcp-project-runtime.js +207 -0
  88. package/dist/server/message-window.js +74 -21
  89. package/dist/server/net-guard.js +122 -20
  90. package/dist/server/payload-limits.js +17 -0
  91. package/dist/server/pending-question.js +82 -0
  92. package/dist/server/plan-mode.js +338 -137
  93. package/dist/server/plugin-assets.js +8 -4
  94. package/dist/server/plugin-chat-attachments.js +48 -0
  95. package/dist/server/plugin-facilities.js +67 -220
  96. package/dist/server/plugin-installer.js +2 -1
  97. package/dist/server/plugin-removal.js +49 -0
  98. package/dist/server/plugin-secrets.js +179 -0
  99. package/dist/server/plugins.js +262 -92
  100. package/dist/server/preset-fields.js +49 -0
  101. package/dist/server/preset-plugin-dependencies.js +57 -0
  102. package/dist/server/preset-share.js +112 -72
  103. package/dist/server/protocol-version.js +1 -1
  104. package/dist/server/queue-modes.js +10 -0
  105. package/dist/server/remote-ssh-service.js +160 -67
  106. package/dist/server/request-context.js +164 -0
  107. package/dist/server/sandbox-data.js +655 -0
  108. package/dist/server/sandbox-engines.js +7 -0
  109. package/dist/server/sandbox-runtime-gate.js +41 -0
  110. package/dist/server/sandbox-service.js +139 -698
  111. package/dist/server/sandbox-tool.js +21 -4
  112. package/dist/server/scheduler-tasks.js +63 -48
  113. package/dist/server/serialize.js +48 -19
  114. package/dist/server/session-branch.js +25 -3
  115. package/dist/server/session-parser.js +28 -18
  116. package/dist/server/session-scan.js +130 -0
  117. package/dist/server/session-search.js +51 -37
  118. package/dist/server/settings-service.js +267 -111
  119. package/dist/server/setup-config.js +58 -0
  120. package/dist/server/skill-maintenance.js +112 -24
  121. package/dist/server/subagent-helpers.js +4 -1
  122. package/dist/server/subagent-notify.js +4 -1
  123. package/dist/server/subagent-security-gate.js +52 -11
  124. package/dist/server/subagent-task.js +27 -0
  125. package/dist/server/subagents.js +217 -46
  126. package/dist/server/tabs.js +9 -1
  127. package/dist/server/terminals.js +467 -363
  128. package/dist/server/tool-guards.js +42 -6
  129. package/dist/server/tool-manager.js +47 -20
  130. package/dist/server/tool-overrides.js +13 -11
  131. package/dist/server/tool-prompt-overrides.js +32 -2
  132. package/dist/server/tool-prompts.js +1 -1
  133. package/dist/server/turn-timing.js +11 -0
  134. package/dist/server/universal/session-store.js +48 -6
  135. package/dist/server/universal/universal-service.js +1 -1
  136. package/dist/server/universal/universal-session.js +334 -231
  137. package/dist/server/uploads.js +64 -5
  138. package/dist/server/worktree-service.js +32 -24
  139. package/dist/server/ws-pending-queue.js +73 -27
  140. package/docs/device-center.md +142 -0
  141. package/docs/device-desktop.md +48 -0
  142. package/package.json +4 -1
  143. package/plugin-sdk/index.d.ts +28 -6
  144. package/plugin-sdk/ssh-host-trust.mjs +225 -0
  145. package/plugins/catalog.json +1 -1
  146. package/themes/aetheris.css +1 -107
  147. package/themes/ayu-light.css +5 -29
  148. package/themes/bases/flow-base.css +0 -6
  149. package/themes/bases/statusbar-flat-base.css +112 -0
  150. package/themes/bases/zhujian-base.css +1 -0
  151. package/themes/bases/zhupi-base.css +1 -0
  152. package/themes/catppuccin-latte.css +4 -27
  153. package/themes/catppuccin.css +4 -35
  154. package/themes/claude-code-dark.css +1 -0
  155. package/themes/codex.css +4 -28
  156. package/themes/cyberpunk.css +3 -61
  157. package/themes/dark-teal.css +0 -1
  158. package/themes/dazzle.css +3 -73
  159. package/themes/everforest-light.css +4 -27
  160. package/themes/geist.css +4 -28
  161. package/themes/gruvbox-light.css +4 -27
  162. package/themes/kanagawa-lotus.css +4 -27
  163. package/themes/md-preview.css +3 -213
  164. package/themes/mist.css +4 -24
  165. package/themes/nord.css +4 -35
  166. package/themes/one-dark.css +4 -37
  167. package/themes/paper.css +4 -16
  168. package/themes/rose-pine-dawn.css +4 -28
  169. package/themes/sakura.css +4 -24
  170. package/themes/solarized-light.css +4 -27
  171. package/themes/tokyo-night.css +3 -34
  172. package/themes/white.css +4 -26
  173. package/themes/zhujian-dark.css +1 -0
  174. package/themes/zhupi-dark.css +1 -0
  175. package/web/dist/.build-assets.json +1 -0
  176. package/web/dist/assets/BgTasksModal-CS7UNzcw.js +1 -0
  177. package/web/dist/assets/BgTasksModal-Dk-tp78W.js +1 -0
  178. package/web/dist/assets/CanvasStudio-BEJZE5BI.js +1579 -0
  179. package/web/dist/assets/CanvasStudio-CgUNHqos.js +1579 -0
  180. package/web/dist/assets/DeviceCenter-C8_CbxQ3.js +3 -0
  181. package/web/dist/assets/DeviceCenter-CVblvhNX.js +3 -0
  182. package/web/dist/assets/Dropdown-Oug0DDte.js +1 -0
  183. package/web/dist/assets/FilePreview-CvdX6nr6.js +2 -0
  184. package/web/dist/assets/FilePreview-kCZhfBAF.js +2 -0
  185. package/web/dist/assets/GlobalSearchModal-BLH63yYP.js +1 -0
  186. package/web/dist/assets/GlobalSearchModal-DAkvlvp6.js +1 -0
  187. package/web/dist/assets/GroupConversation-Cgo4xbpa.js +1 -0
  188. package/web/dist/assets/GroupConversation-DZ71jEi8.js +1 -0
  189. package/web/dist/assets/ModelConfigModal-BpWdFdQC.js +2 -0
  190. package/web/dist/assets/PiSetupModal-mkWPSxMj.js +1 -0
  191. package/web/dist/assets/ProviderOAuthControls-VK_jqXYS.js +1 -0
  192. package/web/dist/assets/SCMPanel-BP1TUT-V.js +2 -0
  193. package/web/dist/assets/SCMPanel-BscPm9kf.js +2 -0
  194. package/web/dist/assets/SettingsModal-C8UgMjVM.js +20 -0
  195. package/web/dist/assets/SettingsModal-VynB7jNb.js +20 -0
  196. package/web/dist/assets/TerminalPanel-D6cPRFei.js +3 -0
  197. package/web/dist/assets/TerminalPanel-DL20uKgU.js +3 -0
  198. package/web/dist/assets/TuiOverlayModal-Dst3BmT8.js +1 -0
  199. package/web/dist/assets/TuiOverlayModal-NCkpNtTp.js +1 -0
  200. package/web/dist/assets/UniversalPathPicker-CfQFc_c3.js +1 -0
  201. package/web/dist/assets/UniversalPathPicker-DwxwNcFw.js +1 -0
  202. package/web/dist/assets/app-globals-CnO6KlEM.js +325 -0
  203. package/web/dist/assets/desktop-DPyTy4M3.js +1 -0
  204. package/web/dist/assets/es-DWMIuDU2.js +2 -0
  205. package/web/dist/assets/index-CPgAH5q7.js +83 -0
  206. package/web/dist/assets/index-Cje8iugL.js +83 -0
  207. package/web/dist/assets/index-DnKeiDbj.css +1 -0
  208. package/web/dist/assets/markdown-BggnuQ4H.js +40 -0
  209. package/web/dist/assets/markdown-C8LL_u4z.css +1 -0
  210. package/web/dist/assets/math-1uRJCsA9.js +257 -0
  211. package/web/dist/assets/math-BorAY7qD.css +1 -0
  212. package/web/dist/assets/plugin-host-CqA4yW6w.js +1 -0
  213. package/web/dist/assets/shortcut-stack-hhrDyRBn.js +1 -0
  214. package/web/dist/assets/theme-BqdAjEjF.js +1 -0
  215. package/web/dist/assets/uuid-BzDIGCwP.js +1 -0
  216. package/web/dist/index.html +15 -9
  217. package/web/dist/sw.js +1 -1
  218. package/web/dist/assets/TerminalPanel-Ci55JtJL.js +0 -3
  219. package/web/dist/assets/index-ByiO9f-N.js +0 -2008
  220. package/web/dist/assets/index-ycGLh4a4.css +0 -1
  221. package/web/dist/assets/markdown-BJZlfvdP.js +0 -296
  222. package/web/dist/assets/markdown-DSNUiDzp.css +0 -1
package/CHANGELOG.md CHANGED
@@ -12,6 +12,42 @@
12
12
 
13
13
  ๆš‚ๆ— ๆœชๅ‘ๅธƒๅ†…ๅฎนใ€‚
14
14
 
15
+ ## [0.114.0] โ€” 2026-10-30
16
+
17
+ ### Added
18
+
19
+ - **่ฎพๅค‡ไธญๅฟƒไธŽ่ทจ่ฎพๅค‡ๅไฝœ**๏ผšๆ–ฐๅขž็‹ฌ็ซ‹ Hubใ€ๆœฌๆœบ่ฟžๆŽฅๅ™จไธŽ่ฎพๅค‡้…ๅฏนๅผ•ๅฏผ๏ผ›้€š่ฟ‡ๅ•็ซฏๅฃ่ฎฟ้—ฎ้š”็ฆป็š„่ฎพๅค‡้กต้ข๏ผŒๆ”ฏๆŒ็พค็ป„้กน็›ฎๅทฅไฝœๅŒบใ€็›ฎๅฝ•้€‰ๆ‹ฉไธŽ่ทจ่ฎพๅค‡ๆ–‡ไปถ้ข„่งˆๅฏผๅ…ฅใ€‚
20
+ - **้กน็›ฎ Bot ็พคไปปๅŠก**๏ผš็พคๆˆๅ‘˜ไฝฟ็”จๅ›บๅฎš้กน็›ฎๆ น็š„ Bot๏ผŒๅฏ้€‰ๆ‹ฉๆจกๅž‹ใ€ๅทฅๅ…ทใ€Skill ไธŽ MCP ่ƒฝๅŠ›๏ผ›ๆ˜พๅผ @ ๆดพๅ‘ไปปๅŠก๏ผŒๅ›žๅคๆ ‡่ฏ†ๆฅๆบๅนถ้š”็ฆปๆ‰ง่กŒไผš่ฏใ€‚
21
+ - **ๅŽŸ็”Ÿ่ฟœ็จ‹ๆกŒ้ข**๏ผšWindowsใ€macOS ไธŽ Linux X11 ้€š่ฟ‡็Žฐๆœ‰ WebSocket ไผ ่พ“ๆกŒ้ข็”ป้ข๏ผŒๆไพ›ๆœฌๆœบๆƒ้™่ฎพ็ฝฎๅ…ฅๅฃๅŠๅฎ‰่ฃ…ๅผ•ๅฏผใ€‚
22
+ - **่ฟœ็จ‹ MCP OAuth**๏ผšๆ”ฏๆŒ็™ปๅฝ•ๆŽˆๆƒๅนถๅค็”จ pi ็š„ OAuth ๅ‡ญๆฎ๏ผŒ่ฆ†็›–ๅˆทๆ–ฐใ€ๅ–ๆถˆไธŽๅ…ฑไบซๅ‡ญๆฎๆŒไน…ๅŒ–๏ผˆ#786๏ผ‰ใ€‚
23
+ - **ๅฏน่ฏ้€šไฟกไธŽ้—ฎๅท้˜Ÿๅˆ—**๏ผš็ปŸไธ€ไผš่ฏๆถˆๆฏใ€่ฏทๆฑ‚ๅ’Œ็ญ”ๅค๏ผŒๅขžๅŠ ้กน็›ฎ้—ฎๅท้˜Ÿๅˆ—ใ€ๅฑ•็คบๆ–นๅผไธŽ่ถ…ๆ—ถ่ฎพ็ฝฎใ€‚
24
+ - **Live2D ๅฟƒๅฃฐๆฐ”ๆณก**๏ผšๆ’ไปถๅ‡็บง่‡ณ v0.1.16๏ผŒๆ”ฏๆŒๅฟƒๅฃฐๅ†…่”ๆ ‡่ฎฐใ€ๆƒ…็ปชไธŽๆ˜พ็คบๆ—ถ้•ฟ้…็ฝฎใ€‚
25
+
26
+ ### Fixed
27
+
28
+ - **ๅพ…ๅ‘ๆถˆๆฏๆŠ•้€’**๏ผšๆ”ฏๆŒๅŒๆ‰นๆŠ•้€’ๆŽ’้˜Ÿ็š„ steering ไธŽ follow-up ๆถˆๆฏ๏ผŒ้ฟๅ…้—ๆผ๏ผˆ#790๏ผ‰ใ€‚
29
+ - **่ฎพๅค‡็พค็ป„ไธŽ่ฟ่กŒๆ€**๏ผšไฟฎๅค็พค็ป„้€‰ไธญใ€ๆๅŠ่œๅ•ใ€่ฟœ็ซฏๅทฅไฝœๅŒบ่ฎฟ้—ฎใ€้‡ๅค็›ฎๅฝ•ๅก็‰‡ๅŠๅทฒๅฎŒๆˆ Bot ็š„ๅทฅๅ…ทๅˆทๆ–ฐๅฝ’ๅฑž้—ฎ้ข˜ใ€‚
30
+ - **MCP ๅ‡ญๆฎไธ€่‡ดๆ€ง**๏ผšๅ…ฑไบซๅ‡ญๆฎๆ–‡ไปถไป…้™ๆ‰€ๆœ‰่€…่ฎฟ้—ฎ๏ผŒไธฒ่กŒๆ›ดๆ–ฐๅนถ้˜ปๆญขๅ–ๆถˆๆˆ–่ฟ‡ๆœŸๅˆทๆ–ฐ่ฆ†็›–ๆœ‰ๆ•ˆๅ‡ญๆฎใ€‚
31
+ - **ๅทฅไฝœๅŒบไธŽๆฒ™็›’ๆŒไน…ๅŒ–**๏ผšไฟฎๅคๅทฅไฝœๅŒบๅ›žๅฝ’้—ฎ้ข˜๏ผŒ็ปŸไธ€ๆฒ™็›’ๅŽŸๅญไฟๅญ˜ๅนถๅผบๅŒ–่ฟ่กŒๆ€่พน็•Œใ€‚
32
+
33
+ ### Changed
34
+
35
+ - **่ฟœ็จ‹ๆกŒ้ขไผ ่พ“**๏ผšๆ›ฟๆข VNC ๆกฅๆŽฅ๏ผŒ้‡‡็”จๅŽŸ็”Ÿ้‡‡้›†ไธŽ่พ“ๅ…ฅๆŽงๅˆถ๏ผ›macOS ๆƒ้™ไป…็”ฑ่ฎพๅค‡ๆœฌๆœบ่ฎพ็ฝฎๅ‘่ตทใ€‚
36
+ - **ไฝฟ็”จไธŽๅฎ‰่ฃ…ๆ–‡ๆกฃ**๏ผš็ฒพ็ฎ€ๅคš่ฏญ่จ€ README๏ผŒ่กฅๅ……่ฎพๅค‡ไธญๅฟƒใ€ๆกŒ้ขๆƒ้™ไธŽๅฎ‰่ฃ…่ฏดๆ˜Žใ€‚
37
+
38
+ <!-- auto-i18n:start -->
39
+
40
+ ### i18n
41
+
42
+ - ๅ‰็ซฏๆ–ฐๅขž key๏ผˆ221๏ผ‰๏ผš`presetPluginsTitle`ใ€`presetPluginsExportHint`ใ€`presetPluginsLocal`ใ€`presetPluginsInstallHint`ใ€`presetPluginsConfirm`ใ€`presetPluginsMissing`ใ€`presetPluginsDisabled`ใ€`presetPluginsInstalled`ใ€`presetPluginsVersion`ใ€`presetPluginsNoSource`ใ€`presetPluginsInstalledCode`ใ€`presetPluginsFailed`ใ€`presetPluginsInstalling`ใ€`presetPluginsRetry`ใ€`presetPluginsInstall`ใ€`presetImportName`ใ€`presetImportTemplateWarning`ใ€`presetImportClears`ใ€`presetImportWorking`ใ€`presetImportSaved`ใ€`presetImportApplyDeferred`ใ€`presetImportApplied`ใ€`presetImportApplyFailed`ใ€`presetShareManualSubmission`ใ€`presetShareCreated`ใ€`moreCopyOptions`ใ€`mcpOAuthLogin`ใ€`mcpOAuthStarting`ใ€`mcpOAuthComplete`ใ€`mcpOAuthError`ใ€`mcpOAuthInstructions`ใ€`mcpOAuthOpen`ใ€`mcpOAuthWaiting`ใ€`mcpOAuthFinishing`ใ€`mcpOAuthRedirect`ใ€`mcpOAuthFinish`ใ€`mcpOAuthInvalidRedirect`ใ€`mcpStatusOverridden`ใ€`mcpStatusPreviousConfig`ใ€`notifyEventSettings`ใ€`notifyEventSettingsDesc`ใ€`notifyEventFollow`ใ€`notifyEventOn`ใ€`notifyEventOff`ใ€`notifyStartTitle`ใ€`notifyStartBody`ใ€`sound.subagentDone`ใ€`sound.subagentDone.desc`ใ€`steeringDeliverAll`ใ€`steeringDeliverAllDesc`ใ€`followUpDeliverAll`ใ€`followUpDeliverAllDesc`ใ€`deviceCenter`ใ€`deviceCenterTip`ใ€`deviceSetupBackground`ใ€`deviceSetupRestored`ใ€`deviceSetupUnhealthy`ใ€`deviceSetupRecovery`ใ€`deviceSetupAiCreating`ใ€`deviceSetupAiFailed`ใ€`deviceSetupWelcome`ใ€`deviceSetupIntro`ใ€`deviceSetupConnect`ใ€`deviceSetupCreate`ใ€`deviceSetupTarget`ใ€`deviceSetupCurrent`ใ€`deviceSetupRemote`ใ€`deviceSetupNoServer`ใ€`deviceSetupNoServerHint`ใ€`deviceSetupCurrentHint`ใ€`deviceSetupRemoteHint`ใ€`deviceSetupPlan`ใ€`deviceSetupPlanHint`ใ€`deviceSetupEnvironment`ใ€`deviceSetupDataDir`ใ€`deviceSetupCli`ใ€`deviceSetupLocalOnly`ใ€`deviceSetupRetry`ใ€`deviceSetupHost`ใ€`deviceSetupPort`ใ€`deviceSetupReachable`ใ€`deviceSetupRegistration`ใ€`deviceSetupInvalid`ใ€`deviceSetupCliHint`ใ€`deviceSetupInstalling`ใ€`deviceSetupInstall`ใ€`deviceSetupAi`ใ€`deviceSetupAiHint`ใ€`deviceSetupFailed`ใ€`deviceSetupSuccess`ใ€`deviceSetupPair`ใ€`deviceSetupNext`ใ€`deviceSetupNextHint`ใ€`deviceSetupManage`ใ€`deviceSetupBusy`ใ€`deviceHubTitle`ใ€`deviceHubSubtitle`ใ€`deviceHubOverview`ใ€`deviceHubSettings`ใ€`deviceHubGroups`ใ€`localBotSyncFailed`ใ€`localBotSaved`ใ€`localBotTitle`ใ€`localBotCreate`ใ€`localBotHint`ใ€`localBotEnabled`ใ€`localBotDisabled`ใ€`localBotName`ใ€`localBotDescription`ใ€`localBotSystemPrompt`ใ€`localBotCwd`ใ€`localBotTools`ใ€`localBotSkills`ใ€`localBotMcpServers`ใ€`localBotPermissions`ใ€`localBotIdentityHint`ใ€`localBotRuntimeHint`ใ€`localBotPermissionsHint`ใ€`localBotPrivatePrompt`ใ€`localBotIdentity`ใ€`localBotRuntime`ใ€`localBotModel`ใ€`localBotInheritModel`ใ€`localBotSelected`ใ€`localBotSearch`ใ€`localBotSelectAll`ใ€`localBotClear`ใ€`localBotUnavailable`ใ€`localBotUnverified`ใ€`localBotOptionsLoading`ใ€`localBotNoOptions`ใ€`localBotMcpDisabled`ใ€`localBotSelectVisible`ใ€`localBotReload`ใ€`localBotMcpNotLoaded`ใ€`localBotOptionsInvalid`ใ€`localBotEnable`ใ€`localBotSave`ใ€`localBotCancel`ใ€`localBotDeleteConfirm`ใ€`localBotDelete`ใ€`deviceHubUnpaired`ใ€`deviceHubOnline`ใ€`deviceHubOffline`ใ€`deviceHubLoading`ใ€`deviceHubLocalOnly`ใ€`deviceHubRetry`ใ€`deviceHubPairTitle`ใ€`deviceHubPairHint`ใ€`deviceHubHubUrl`ใ€`deviceHubHubPlaceholder`ใ€`deviceHubName`ใ€`deviceHubNamePlaceholder`ใ€`deviceHubGetCode`ใ€`deviceHubWorking`ใ€`deviceHubStepDetails`ใ€`deviceHubStepApprove`ใ€`deviceHubStepWait`ใ€`deviceHubCode`ใ€`deviceHubCopy`ใ€`deviceHubCopied`ใ€`deviceHubCopyFailed`ใ€`deviceHubOpenHub`ใ€`deviceHubWaiting`ใ€`deviceHubExpires`ใ€`deviceHubExpired`ใ€`deviceHubNewCode`ใ€`deviceHubDeviceTitle`ใ€`deviceHubDeviceId`ใ€`deviceHubPermissions`ใ€`deviceHubPermissionLabel`ใ€`deviceHubPermissionHint`ใ€`deviceHubSaving`ใ€`deviceHubSaved`ใ€`deviceHubReadOnly`ใ€`deviceHubEnabled`ใ€`deviceHubAdvanced`ใ€`deviceHubDisconnect`ใ€`deviceHubDisconnectHint`ใ€`deviceHubDisconnectConfirm`ใ€`deviceHubHelpTitle`ใ€`deviceHubHelpText`ใ€`deviceHubInvalidUrl`ใ€`deviceHubInvalidName`ใ€`deviceHubRequestFailed`ใ€`deviceHubNetworkError`ใ€`deviceHubStatusError`ใ€`deviceHubPairError`ใ€`deviceHubPollError`ใ€`deviceHubPermissionError`ใ€`deviceHubDisconnectError`ใ€`questionQueueTitle`ใ€`questionQueueOpen`ใ€`questionQueueNavigate`ใ€`questionQueueDefer`ใ€`questionPresentation`ใ€`questionPresentationDesc`ใ€`questionPresentationQueue`ใ€`questionPresentationAll`ใ€`questionPresentationManual`ใ€`questionTimeoutSeconds`ใ€`questionTimeoutSecondsDesc`ใ€`folderUploadWaiting`ใ€`folderUploadSending`ใ€`fileUploadReading`ใ€`fileUploadWaiting`ใ€`fileUploadFailed`ใ€`fileUploadReadFailed`ใ€`fileUploadSendFailed`ใ€`fileUploadDismiss`ใ€`fileUploadConfirmed`ใ€`fileUploadOutcomeUnknown`ใ€`uploadReading`ใ€`uploadPreparing`ใ€`chatUploadMaxMb`ใ€`workspaceUploadMaxMb`ใ€`folderUploadMaxMb`ใ€`uploadMaxMbHint`ใ€`toolsDeviceCollabDesc`ใ€`toolsDeviceCollabOffHint`ใ€`sandboxDiffRefresh`
43
+ - ๅ‰็ซฏๅˆ ้™ค key๏ผˆ6๏ผ‰๏ผš`mcpArgsPlaceholder`ใ€`conversationReadEnabledDesc`ใ€`conversationReadOffHint`ใ€`presetSharePopupBlocked`ใ€`presetShareBrowserCopied`ใ€`presetImportImported`
44
+ - ๅ‰็ซฏไธญๆ–‡ๅ˜ๆ›ด๏ผˆ21๏ผ‰๏ผš`reaskDirectly`ใ€`reaskDirectlyTip`ใ€`editReaskTip`ใ€`forkSessionTip`ใ€`rollbackSessionTip`ใ€`mcpStatusStopped`ใ€`sound.done.desc`ใ€`toolsSectionSubagent`ใ€`toolsSubagentDepHint`ใ€`toolDescSubagent`ใ€`sandboxModalSubtitle`ใ€`sandboxModeBlankDesc`ใ€`sandboxModeImportDesc`ใ€`sandboxBannerSourceDesc`ใ€`sandboxBannerBlankDesc`ใ€`sandboxActionApplySourceTip`ใ€`sandboxActionApplyConfirm`ใ€`sandboxDiffStats`ใ€`sandboxDiffEmpty`ใ€`sandboxDiffDeletedNote`ใ€`sandboxEnabledDesc`
45
+ - ๅ‰็ซฏ่‹ฑๆ–‡ๅ˜ๆ›ด๏ผˆ19๏ผ‰๏ผš`reaskDirectlyTip`ใ€`editReaskTip`ใ€`forkSessionTip`ใ€`rollbackSessionTip`ใ€`sound.done.desc`ใ€`toolsSectionSubagent`ใ€`toolsSubagentDepHint`ใ€`toolDescSubagent`ใ€`sandboxModalSubtitle`ใ€`sandboxModeBlankDesc`ใ€`sandboxModeImportDesc`ใ€`sandboxBannerSourceDesc`ใ€`sandboxBannerBlankDesc`ใ€`sandboxActionApplySourceTip`ใ€`sandboxActionApplyConfirm`ใ€`sandboxDiffStats`ใ€`sandboxDiffEmpty`ใ€`sandboxDiffDeletedNote`ใ€`sandboxEnabledDesc`
46
+ - ๆœๅŠก็ซฏๆ–‡ๆกˆๅ˜ๆ›ด๏ผˆ4๏ผ‰๏ผš`subagents.action.missing`ใ€`subagents.action.unknown`ใ€`terminals.wait.not.found`ใ€`terminals.wait.no.pending`
47
+ - ๆœๅŠก็ซฏๅˆ ้™ค key๏ผˆ4๏ผ‰๏ผš`dsh.prompt.context.full`ใ€`dsh.prompt.context.edit.reask`ใ€`terminals.bash.aborted`ใ€`terminals.bash.timeout`
48
+
49
+ <!-- auto-i18n:end -->
50
+
15
51
  ## [0.113.1] โ€” 2026-10-29
16
52
 
17
53
  ### Added
@@ -32,6 +68,7 @@
32
68
  - **ๅ…จๅฑ€ๆ–‡ไปถๆœ็ดขไธŽ่ทฏๅพ„ๅ—…ๆŽข**๏ผšๆ”ฏๆŒๅธฆๆณขๆตชๅท๏ผˆ`~`๏ผ‰ไธป็›ฎๅฝ•่ทฏๅพ„ไธŽ็ปๅฏน่ทฏๅพ„็š„็ฒพ็กฎๆŽขๆต‹๏ผ›ไฟฎๅค้•ฟ่พ“ๅ‡บๅก้กฟไธŽๆŽงๅˆถๅฐๅคšไฝ™ๅ‘Š่ญฆใ€‚
33
69
 
34
70
  <!-- auto-i18n:start -->
71
+
35
72
  ### i18n
36
73
 
37
74
  - ๆœฌ็‰ˆๆ— ๆ–‡ๆกˆๅขž้‡๏ผˆ็›ธๅฏน v0.113.0๏ผŒๅทฒๆ ธๆŸฅ๏ผ‰ใ€‚
@@ -62,6 +99,7 @@
62
99
  - **็•Œ้ข็ป†่Š‚**๏ผš่ฎพ็ฝฎ้ขๆฟๆ ผๅผๅŒ–ใ€composer ้ซ˜ๅบฆ่‡ช้€‚ๅบ”ไธŽๆ‹–ๆ‹ฝๆ‰‹ๆŸ„ๆ–‡ๆกˆใ€ๆ–‡ไปถๅทฎๅผ‚ๅกๅœจๆตๅผๆœŸ้—ด็š„ๆธฒๆŸ“็จณๅฎšๆ€งใ€‚
63
100
 
64
101
  <!-- auto-i18n:start -->
102
+
65
103
  ### i18n
66
104
 
67
105
  - ๅ‰็ซฏๆ–ฐๅขž key๏ผˆ36๏ผ‰๏ผš`composerResizeFixed`ใ€`mcpMarketVisit`ใ€`mcpMarketCopyLink`ใ€`mcpMarketCopied`ใ€`mcpMarketEmpty`ใ€`mcpMarketEmptyClear`ใ€`mcpCatAll`ใ€`mcpCatCn`ใ€`mcpCatMarketplace`ใ€`mcpCatCommunity`ใ€`mcpCatOfficial`ใ€`skillMarketNoticeTitle`ใ€`skillMarketNoticeDesc`ใ€`skillMarketVisit`ใ€`skillMarketCopyLink`ใ€`skillMarketCopied`ใ€`skillMarketEmpty`ใ€`skillMarketEmptyClear`ใ€`skillCatOfficial`ใ€`skillCatMarketplace`ใ€`skillCatCommunity`ใ€`skillCatDirectory`ใ€`diffViewUnified`ใ€`diffViewSplit`ใ€`diffViewRaw`ใ€`diffNewFile`ใ€`diffOpenFile`ใ€`diffCopyContent`ใ€`diffCopyPatch`ใ€`diffStreaming`ใ€`diffEmptyHunks`ใ€`diffFullscreen`ใ€`diffRestoreScreen`ใ€`skillClickToInspect`ใ€`copySkillContent`ใ€`copiedSkillContent`
@@ -70,6 +108,7 @@
70
108
  - ๅ‰็ซฏ่‹ฑๆ–‡ๅ˜ๆ›ด๏ผˆ7๏ผ‰๏ผš`composerResize`ใ€`mcpMarketSearchPlaceholder`ใ€`skillEmptyDesc`ใ€`skillMarketSearchPlaceholder`ใ€`skillCatAll`ใ€`skillFullTextShort`ใ€`skillContentLoading`
71
109
  - ๆœๅŠก็ซฏๆ–ฐๅขž key๏ผˆ14๏ผ‰๏ผš`subagents.dismiss.unsupported`ใ€`subagents.dismiss.missing.target`ใ€`subagents.dismiss.finished_all.empty`ใ€`subagents.dismiss.not_found`ใ€`subagents.dismiss.self`ใ€`subagents.dismiss.active`ใ€`subagents.dismiss.not_descendant`ใ€`subagents.dismiss.persisted`ใ€`subagents.dismiss.running`ใ€`subagents.dismiss.worktree.dirty`ใ€`subagents.dismiss.failed`ใ€`subagents.dismiss.success.single`ใ€`subagents.dismiss.none`ใ€`subagents.dismiss.success.batch`
72
110
  - ๆœๅŠก็ซฏๆ–‡ๆกˆๅ˜ๆ›ด๏ผˆ2๏ผ‰๏ผš`subagents.action.missing`ใ€`subagents.action.unknown`
111
+
73
112
  <!-- auto-i18n:end -->
74
113
 
75
114
  ## [0.112.0] โ€” 2026-10-26
@@ -98,6 +137,7 @@
98
137
  - **็•Œ้ขไธŽไบคไบ’**๏ผšไฟฎๅคๅผ•ๆ“Žๅˆ‡ๆขๆญป้”ฎใ€ๆปš่ฝฎ็ฟป้กต้—ญๅŒ…ใ€้—ฎๅทไธฒๅฐใ€ๆ–ญ็บฟ่ฟ‡ๆธก้ฎ็ฝฉไธŽ TTS ๅก้กฟ๏ผˆ#740, #744๏ผ‰๏ผ›ๅކๅฒๆŒ‰้œ€ๅŠ ่ฝฝไธๅฏๅ˜้”š็‚น็ฟป้กตไธŽ่ฟ‡ๆธกๆœŸๆฒ™็ฎฑ้š”็ฆป๏ผˆ#719, #735๏ผ‰๏ผ›ๅทฅๅ…ทๆ–‡ๆกˆ่ฆ†็›– snippet ้ข„่งˆไธŽๅฎžๅ‘ๅฏน้ฝ๏ผ›ไผš่ฏ็›ฎๅฝ•ๅ…ผๆ”ถไธ“ๅฑžๅญ็›ฎๅฝ•ไธŽๆ‰ๅนณๆ—งไผš่ฏ๏ผˆ#711๏ผ‰ใ€‚
99
138
 
100
139
  <!-- auto-i18n:start -->
140
+
101
141
  ### i18n
102
142
 
103
143
  - ๅ‰็ซฏๆ–ฐๅขž key๏ผˆ27๏ผ‰๏ผš`dismissTerminalsConfirm`ใ€`toolApprovalDshNotice`ใ€`cmdInspectorTitle`ใ€`cmdInspectorLines`ใ€`cmdInspectorExpand`ใ€`cmdInspectorCollapse`ใ€`cmdInspectorRisk`ใ€`cmdCopied`ใ€`rejectWithNote`ใ€`rejectWithNoteSubmit`ใ€`rejectNotePlaceholder`ใ€`rejectFeedbackPrefix`ใ€`promptToggleEnabled`ใ€`instanceName`ใ€`instanceNameDesc`ใ€`instanceNamePh`ใ€`faviconColor`ใ€`faviconColorDesc`ใ€`faviconColorAuto`ใ€`customColor`ใ€`uiLayoutToolCardFooter`ใ€`subagentMaxDepth`ใ€`subagentMaxDepthDesc`ใ€`subagentMaxDepthUnlimited`ใ€`subagentAutoWakeMaxTurns`ใ€`subagentAutoWakeMaxTurnsDesc`ใ€`subagentAutoWakeMaxTurnsUnlimited`
@@ -107,6 +147,7 @@
107
147
  - ๆœๅŠก็ซฏๆ–ฐๅขž key๏ผˆ25๏ผ‰๏ผš`agent.subagent.worktree.remote_unsupported`ใ€`agent.subagent.model.failed`ใ€`agent.subagent.model.not.found`ใ€`canvas.edge.self`ใ€`canvas.edge.duplicate`ใ€`subagents.notify.fallback`ใ€`subagents.notify.header`ใ€`subagents.notify.status.failed`ใ€`subagents.notify.status.canceled`ใ€`subagents.notify.status.done`ใ€`subagents.notify.goal`ใ€`subagents.notify.worktree`ใ€`subagents.notify.worktree.cleaned`ใ€`subagents.notify.worktree.preserved`ใ€`subagents.notify.worktree.path`ใ€`subagents.notify.summary`ใ€`subagents.notify.footer`ใ€`subagents.spawn.thinking.invalid`ใ€`subagents.spawn.isolation.invalid`ใ€`subagents.get.worktree.cleaned`ใ€`subagents.get.worktree.preserved`ใ€`terminals.operation.denied`ใ€`terminals.input.edited_sent`ใ€`terminals.key.edited_sent`ใ€`worktree.isolation.not_git`
108
148
  - ๆœๅŠก็ซฏๆ–‡ๆกˆๅ˜ๆ›ด๏ผˆ5๏ผ‰๏ผš`delegate.started`ใ€`subagents.spawn.started`ใ€`subagents.get.running`ใ€`subagents.get.done`ใ€`terminals.command.blocked`
109
149
  - ๆœๅŠก็ซฏๅˆ ้™ค key๏ผˆ2๏ผ‰๏ผš`prompt.guidelines.be.concise`ใ€`prompt.guidelines.show.paths`
150
+
110
151
  <!-- auto-i18n:end -->
111
152
 
112
153
  ## [0.111.0] โ€” 2026-10-24
@@ -2021,7 +2062,8 @@ when?, children?}`๏ผŒไนŸๆ”ถ `topbar` / `settings` ่ฟ™็ฑป็ฎ€ๅ†™ๅˆซๅ๏ผ‰๏ผ›ๅฎฟไธป
2021
2062
  - 0.35.1๏ผˆ2026-08-27๏ผ‰๏ผš็ผ–่พ‘้‡้—ฎไฟ็•™้™„ไปถ๏ผˆ#18๏ผ‰+ ๅ…จ็ช—ๅฃๆ‹–ๆ”พ๏ผˆ#19๏ผ‰ใ€‚
2022
2063
  - 0.29.0๏ผˆ2026-08-23๏ผ‰๏ผšๅ…จๅฑ€ๆœ็ดขๅผน็ช—๏ผˆCtrl+K๏ผ‰+ ๆถˆๆฏๅˆ—่กจๆƒฐๆ€ง็ช—ๅฃๅŒ–ใ€‚
2023
2064
 
2024
- [Unreleased]: https://github.com/xing-shuyin/pi-web-ui/compare/v0.113.0...main
2065
+ [Unreleased]: https://github.com/xing-shuyin/pi-web-ui/compare/v0.114.0...main
2066
+ [0.114.0]: https://github.com/xing-shuyin/pi-web-ui/compare/v0.113.1...v0.114.0
2025
2067
  [0.113.0]: https://github.com/xing-shuyin/pi-web-ui/releases/tag/v0.113.0
2026
2068
  [0.112.0]: https://github.com/xing-shuyin/pi-web-ui/releases/tag/v0.112.0
2027
2069
  [0.111.0]: https://github.com/xing-shuyin/pi-web-ui/releases/tag/v0.111.0
package/README.md CHANGED
@@ -1,316 +1,187 @@
1
1
  <div align="center">
2
2
 
3
- # ๐Ÿ’ฌ pi-web-ui
3
+ # pi-web-ui
4
4
 
5
- **English** | [็ฎ€ไฝ“ไธญๆ–‡](https://github.com/xing-shuyin/pi-web-ui/blob/main/README.zh-CN.md) ยท [็น้ซ”ไธญๆ–‡](https://github.com/xing-shuyin/pi-web-ui/blob/main/README.zh-TW.md) ยท ๐ŸŒ [**Official Website**](https://xing-shuyin.github.io/pi-web-ui-site/) ยท ๐Ÿ“– [**Documentation Portal**](https://xing-shuyin.github.io/pi-web-ui-site/docs.html)
5
+ A browser and desktop workspace for AI coding agents.
6
6
 
7
- _Just open your browser to get all your work done โ€” browser cockpit for AI coding agents._
7
+ **English** ยท [็ฎ€ไฝ“ไธญๆ–‡](./README.zh-CN.md) ยท [็น้ซ”ไธญๆ–‡](./README.zh-TW.md)
8
8
 
9
- <p>
10
- <a href="https://www.npmjs.com/package/pi-web-ui"><img src="https://img.shields.io/npm/v/pi-web-ui?color=cb3837&logo=npm&label=pi-web-ui" alt="npm version"></a>
11
- <a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/pi-web-ui?logo=node.js&logoColor=white" alt="node compatibility"></a>
12
- <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"></a>
13
- </p>
9
+ [Website](https://xing-shuyin.github.io/pi-web-ui-site/) ยท [Documentation](https://xing-shuyin.github.io/pi-web-ui-site/docs.html) ยท [Downloads](https://github.com/xing-shuyin/pi-web-ui/releases/latest)
14
10
 
15
- </div>
16
-
17
- pi-web-ui is a full-featured web interface and desktop workspace for the pi coding agent SDK (`@earendil-works/pi-coding-agent`) and DeepSeek Harness (DSH). It turns your local AI coding agent into a responsive, visual cockpit featuring real-time chat, workspace file management, in-line code editing, terminal execution, visual Git control, and multi-agent workflows โ€” and natively supports opening and developing on remote SSH server projects in a single browser tab.
18
-
19
- ---
20
-
21
- ## ๐ŸŒŸ Comprehensive Features
22
-
23
- ### ๐Ÿ’ฌ Intelligent Dialogue & Interaction
24
-
25
- - **Snapshot-Driven Real-time Streaming**: Sub-60ms incremental snapshots via WebSocket. Displays live agent thought chains (Thinking/Reasoning), tool calls, elapsed execution times, and interactive terminal output.
26
- - **Human-in-the-Loop Questionnaires (`ask_user_question`)**: The model can pose structured questions (single/multi-select, rich option previews, freeform text) in interactive dialogs, exempt from watchdog timeouts and recoverable across page refreshes.
27
- - **Visual Web Element Selection (`Page Picker`)**: Companion Chrome browser extension enables clicking DOM elements in any webpage to seamlessly bring visual captures and CSS selectors into chat for agent analysis.
28
- - **Multi-Conversation Concurrency**: Run multiple parallel agent conversations in the same workspace; conversations run continuously in the background with support for edit-and-fork, message withdrawal (โ†ฉ), and live migration.
29
- - **Rich Workflow Ergonomics**: Global slash commands picker (`/new`, `/model`, `/compact`, `/resume`, etc.), prompt template library, visual context compression summaries, automatic error retries, and audio/desktop notifications.
30
-
31
- ### ๐Ÿ“ Workspace, Multimodal & ๐ŸŒ Remote SSH Projects
32
-
33
- - **Multi-Root Workspaces & Context-Rich File Tree**: Manage primary and up to 8 secondary workspace roots with live file watching and instant search (`Ctrl/Cmd+K`); full-featured file context menu supporting opening as project root, adding to workspace, reveal in file manager, directory zip-and-download, and instant path referencing in chat.
34
- - **๐ŸŒ Remote SSH Server Projects**: Connect directly to remote Linux servers (`ssh://user@host:port/path`):
35
- - **Credentials & Auth**: Supports passwords, SSH private keys (`~/.ssh/id_rsa` / `id_ed25519`), and SSH-Agent; credentials are encrypted locally with AES-256-GCM.
36
- - **Remote Environment Probe**: Automatically detects server architecture and installs missing dependencies (Git, Node.js, Bash, etc.).
37
- - **Seamless Remote Development**: SFTP-driven file browsing, preview and real-time editing (`Ctrl+S`), remote AI tool execution, and remote interactive PTY terminal; chat transcripts are securely persisted locally.
38
- - **Rich Media Preview & In-line Editing**: Syntax-highlighted code viewer, Markdown renderer, audio/video/image players, and direct file editing with instant save (`Ctrl+S`).
39
- - **Intelligent Attachments & Vision Bridge**: Drag-and-drop file uploads; local image paths are automatically converted to multimodal vision payloads, with text-reference and line-slicing modes.
40
- - **Interactive Artifact Cards (`present_files`)**: Visually surface charts, reports, web pages, and generated files as rich cards with native reveal and quick opening.
41
-
42
- ### ๐Ÿ’ป Integrated Terminal & Visual Git Cockpit
43
-
44
- - **Server PTY Terminals**: Built on `node-pty` and `xterm.js` with multi-tab support and persistent `ai-bash` sessions, allowing the AI to run commands in visible, interactive terminals.
45
- - **Visual Git Source Control**: Track repository changes with inline diffs, staging/unstaging, one-click commit, branch switching, and fast-forward pull operations.
46
- - **Seamless Theme Integration**: Terminal colors automatically align with the active theme; supports native text selection and drag-and-drop file path pasting.
47
-
48
- ### ๐Ÿค– Multi-Engine & Model Management
49
-
50
- - **Seamless Multi-Agent Engine Hot-Switching**: Out-of-the-box native integration with pi coding agent SDK, DeepSeek Harness (DSH), and Claude official coding agent runtime. Hot-swap agent engines instantly without restarts; run different engines concurrently across separate browser tabs and sessions.
51
- - **Universal Provider Compatibility**: Works seamlessly with OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Ollama, OpenRouter, Azure, and custom API endpoints.
52
- - **Zero-Leak Credential Security**: API keys and authorization headers remain securely on the server and are never exposed to client browsers.
53
- - **Dynamic Context Budgeting**: Soft-cap threshold token compression and a 20-minute watchdog timer to prevent agent hangs and context overflow.
54
-
55
- ### ๐Ÿงญ Advanced Agent Collaboration Modes
56
-
57
- - **Hard-Fenced Sandbox Project Mode**: Experiment freely with prototypes, destructive refactorings, or untrusted scripts in an isolated sandbox clone without touching your original workspace; supports project snapshot cloning or clean blank environments, with both ephemeral (auto-cleanup) and persistent lifecycles.
58
- - **Goal Mode 2.0**: The main conversation acts as a Reviewer while an automated Executor session carries out tasks, backed by evidence injection and stagnation circuit-breakers.
59
- - **Delegate Mode**: The main chat focuses on review and instructions while delegating execution to a background worker session with strict write gates.
60
- - **Plan Mode**: Enforces planning-only constraints, intercepting write tools and code dumping until the plan is approved.
61
- - **Subagents**: Spawn independent background subagents with customizable role templates for parallel research and delegated tasks.
62
-
63
- ### ๐Ÿงฉ Plugin Ecosystem & Extensibility
64
-
65
- - **Official Plugin Market**: One-click installation and hot-reloading for chatbots (Slack, Discord, DingTalk, Feishu, WeChat), database clients, Mermaid diagrams, office document previews, and more.
66
- - **33+ Host UI Extension Slots**: Modular layout slots across top bar, side dock, footer, panels, and composer tools.
67
- - **On-Demand Lazy Tool Loading**: Loads specialized tools on the fly without breaking model prompt prefix caching.
68
- - **Settings & Preset Sharing**: Import/export configuration presets with strict whitelist sanitization.
69
-
70
- ### ๐ŸŽจ Themes & Internationalization
71
-
72
- - **25+ Built-in Color Schemes & Wallpaper Engine Integration**: Dark (default), Light (White), Cyberpunk, Nord, Dracula, and custom CSS stylesheets with live reloading; native integration with **Wallpaper Engine** dynamic wallpapers, frosted glass blur, adjustable interface opacity, and audio visualizer spectrums.
73
- - **Comprehensive Internationalization**: Built-in support for English, Simplified Chinese, Traditional Chinese (TW/HK), and custom community locale packs.
74
-
75
- ---
76
-
77
- ## ๐Ÿ–ผ๏ธ Screenshots
78
-
79
- ### ๐ŸŽฌ Demo Video
80
-
81
- https://github.com/user-attachments/assets/ddb911ca-eb94-4adf-9455-2f15a64e835e
82
-
83
- ### ๐Ÿ“ธ Feature Highlights
84
-
85
- <p align="center">
86
- <img src="https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/portable-edition.png" alt="Portable edition cockpit interface" width="100%" style="max-width: 900px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.25);" />
87
- <br>
88
- <em>Portable Edition desktop cockpit (with frosted-glass dynamic wallpaper and prompt templates)</em>
89
- </p>
11
+ [![npm version](https://img.shields.io/npm/v/pi-web-ui)](https://www.npmjs.com/package/pi-web-ui)
12
+ [![Node version](https://img.shields.io/node/v/pi-web-ui)](https://nodejs.org/)
13
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](./LICENSE)
90
14
 
91
- | Chat with Prompt Templates | Run Trajectory Timeline |
92
- | :------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------: |
93
- | ![Chat with prompt templates](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/chat-prompts.jpeg) | ![Run trajectory timeline](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/trajectory.jpeg) |
94
-
95
- | Multi-Agent Engine Hot-Switching | Hard-Fenced Sandbox Projects |
96
- | :-----------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------: |
97
- | ![Multi-Agent Engine Hot-Switching](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/multi-engine.png) | ![Hard-Fenced Sandbox Projects](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/sandbox-mode.png) |
98
-
99
- | Full File Context Menu | Wallpaper Engine Integration |
100
- | :------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: |
101
- | ![Full File Context Menu](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/file-context-menu.png) | ![Wallpaper Engine Integration](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/wallpaper-engine.png) |
102
-
103
- | Settings Panel | Built-in Terminal | Git Source Control |
104
- | :--------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------: |
105
- | ![Settings panel](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/settings.jpeg) | ![Built-in terminal](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/terminal.jpeg) | ![Git source control panel](https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/git.jpeg) |
106
-
107
- ---
108
-
109
- ## ๐Ÿ“ฆ Installation
15
+ </div>
110
16
 
111
- ### System Requirements
17
+ pi-web-ui brings chat, files, terminals, Git and agent workflows into one workspace. Run it locally in a browser, use the Electron desktop app, or connect to remote SSH projects. The pi SDK and DeepSeek Harness (DSH) have different capabilities; choose the engine and model that suit your task.
112
18
 
113
- - **Node.js**: `>= 22.19.0` (except the Portable Edition, which requires no pre-installed Node.js or Git)
114
- - Supported Platforms: Linux, macOS, Windows (or Android via Termux)
19
+ ## Quick start
115
20
 
116
- ### 1. Global Installation via npm (Recommended)
21
+ For the command-line version, install **Node.js 22.19.0 or newer**. Desktop installers include their runtime. Git and shell availability affect terminal and repository features.
117
22
 
118
23
  ```bash
119
- npm i -g pi-web-ui
24
+ npm install -g pi-web-ui@latest
25
+ cd /path/to/your/project
26
+ pi-web-ui
120
27
  ```
121
28
 
122
- > **Note for npm โ‰ฅ 12**: npm 12+ blocks dependency install scripts by default. Since `node-pty` is a native binary module, allow its installation scripts:
123
- >
124
- > ```bash
125
- > npm i -g --allow-scripts=node-pty,@google/genai,protobufjs pi-web-ui@latest
126
- > ```
29
+ Open `http://127.0.0.1:8787` if the browser does not open automatically. Configure a model provider and its credentials in workspace settings, select a model, and send your first task. Stop a foreground process with Ctrl+C.
127
30
 
128
- ### 2. Run Instantly with npx
129
-
130
- Run the latest version directly without installing:
31
+ For a first try without a global installation:
131
32
 
132
33
  ```bash
133
- npx pi-web-ui
34
+ npx pi-web-ui@latest
134
35
  ```
135
36
 
136
- ### 3. ๐Ÿ–ฅ๏ธ Windows USB Portable Edition (Plug & Play, Zero Dependencies)
137
-
138
- A completely self-contained portable distribution designed for USB drives and external SSDs:
139
-
140
- <p align="center">
141
- <img src="https://raw.githubusercontent.com/xing-shuyin/pi-web-ui/main/assets/portable-edition.png" alt="Windows USB Portable Edition" width="100%" style="max-width: 800px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.25);" />
142
- </p>
37
+ If npm blocks native dependency scripts, follow the installed npm version's script-approval instructions. See the [installation guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#installation) for platform dependencies and troubleshooting.
143
38
 
144
- - **[โฌ‡๏ธ Download `pi-web-ui-desktop-<version>-portable.zip` from Releases](https://github.com/xing-shuyin/pi-web-ui/releases/latest)**
145
- - **Zero Environment Dependencies**: Bundles PortableGit and bash/Linux CLI tools. **No pre-installed Node.js, Git, or Python is required** on the target computer.
146
- - **100% Data Isolation**: All configs, model credentials (`auth.json` / `models.json`), chat transcripts, plugins, and caches reside in the `data/` folder inside the portable directory. Unplugging the drive leaves zero traces on the host.
147
- - **Drive-Letter Agnostic**: All paths are computed dynamically relative to the executable, allowing seamless operation across varying drive letters.
148
- - **Startup**: Extract and double-click **`ๅฏๅŠจPi.bat`** (or `PiPortable.bat`). Includes `CreateDesktopShortcut.bat` to optionally create a clean desktop shortcut.
149
- - **Build Locally**: Run `npm run desktop:portable:full` to create the full portable bundle with embedded Git locally.
39
+ ## Choose an installation
150
40
 
151
- ### 4. Desktop Application Installers (Electron)
41
+ | Method | When to use it | Instructions |
42
+ | -------------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
43
+ | npm / npx | Local development or a server with Node.js | Commands above; [complete guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#npm-install) |
44
+ | Desktop installers | A desktop app with an included runtime | Download the matching Windows, macOS or Linux asset from [Releases](https://github.com/xing-shuyin/pi-web-ui/releases/latest) |
45
+ | Windows portable ZIP | Keep the app and portable data together | Extract `pi-web-ui-desktop-<version>-portable.zip`; follow its included launcher instructions. Bundled Git/Node depend on the build; see [portable details](./desktop/README.md) |
46
+ | Docker Compose | Container deployment built from source | See the commands below |
47
+ | Android / Termux | Browser access from an Android terminal environment | [Termux prerequisites and commands](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#termux-install) |
48
+ | Source checkout | Contributing or testing local changes | [Development](#development) |
152
49
 
153
- Download standalone installers automatically built by GitHub Actions:
50
+ On Linux, native dependency compilation may require Python, make and a C++ compiler. On Windows, install Git for Windows when Bash-based workflows are needed. Portable data placement does not guarantee that the operating system, browser or external tools leave no traces.
154
51
 
155
- - **[โฌ‡๏ธ Download Desktop Installers from Releases](https://github.com/xing-shuyin/pi-web-ui/releases/latest)**
156
- - Available for Windows (`.exe` installer), macOS (`.dmg`), and Linux (`.AppImage`).
52
+ ### Run as a background service
157
53
 
158
- ### 5. Docker Container
54
+ After global npm installation, install **and start** the service with explicit project and data paths. Stop any foreground process already using the port first.
159
55
 
160
56
  ```bash
161
- docker run -d \
162
- --name pi-web-ui \
163
- -p 8787:8787 \
164
- -v ~/.pi-web:/root/.pi-web \
165
- -v ~/.pi/agent:/root/.pi/agent \
166
- -v $(pwd):/workspace \
167
- -e PI_WEB_HOST=0.0.0.0 \
168
- xing-shuyin/pi-web-ui:latest
57
+ pi-web-ui server install --cwd "/path/to/project" --data-dir "/path/to/pi-data" --port 8787
58
+ pi-web-ui server status
169
59
  ```
170
60
 
171
- ### ๐Ÿง Linux Build Prerequisites
61
+ Windows PowerShell example:
172
62
 
173
- The `node-pty` module requires C/C++ compilation tools on Linux. If installation fails with `g++` or `make` errors, install the build toolchain:
63
+ ```powershell
64
+ pi-web-ui server install --cwd "D:\Projects\app" --data-dir "D:\pi-data" --port 8787
65
+ pi-web-ui server status
66
+ ```
67
+
68
+ Visit `http://127.0.0.1:8787` and verify the project and a model response. macOS uses a user launchd agent, Linux systemd, and Windows the current user's login Run key. Linux installation may require elevated privileges; Windows login autostart is not a system-level Windows Service.
174
69
 
175
70
  ```bash
176
- # Ubuntu / Debian
177
- sudo apt-get install -y build-essential python3
178
- # Fedora / RHEL
179
- sudo dnf install -y python3 make gcc-c++
180
- # Arch Linux
181
- sudo pacman -S --needed base-devel python
71
+ pi-web-ui server stop
72
+ pi-web-ui server start
73
+ pi-web-ui server restart
74
+ pi-web-ui server status
75
+ pi-web-ui server shortcut
76
+ # Remove the service only when it is no longer needed:
77
+ pi-web-ui server uninstall
182
78
  ```
183
79
 
184
- ---
80
+ Use `--name my-pi` consistently when installing and managing named services. Services may not inherit interactive-shell credentials or PATH. See [service configuration](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#daemon-service).
185
81
 
186
- ## ๐Ÿš€ Quick Start & Usage
187
-
188
- ### Starting the Server
82
+ ### Common startup options
189
83
 
190
84
  ```bash
191
- pi-web-ui # Starts in current folder, opens http://127.0.0.1:8787
192
- pi-web-ui --port 9000 --cwd /path/to/repo # Specify port and workspace path
193
- pi-web-ui --no-browser # Start server without auto-opening a browser tab
85
+ pi-web-ui --cwd "/path/to/project" --port 9000 --no-browser
86
+ pi-web-ui --host 0.0.0.0 --port 9000 --cwd "/path/to/project"
87
+ pi-web-ui --help
194
88
  ```
195
89
 
196
- ### ๐ŸŒ Opening Remote SSH Server Projects
197
-
198
- You can develop on remote servers through two simple ways:
90
+ | Flag | Environment | Purpose / default |
91
+ | -------------------- | --------------------- | ---------------------------------------------------------------------------------- |
92
+ | `--cwd <dir>` | `PI_WEB_CWD` | Workspace: current directory in foreground; `~/pi-web-ui` for service installation |
93
+ | `--port <n>` | `PI_WEB_PORT` | HTTP and WebSocket port; 8787 |
94
+ | `--host <addr>` | `PI_WEB_HOST` | Listen address; 127.0.0.1 is local-only |
95
+ | `--data-dir <dir>` | `PI_WEB_DATA_DIR` | Service data; `~/.pi-web` under the running account |
96
+ | `--agent-dir <dir>` | `PI_CODING_AGENT_DIR` | pi agent configuration; `~/.pi/agent` |
97
+ | `--engine <pi\|dsh>` | `PI_WEB_ENGINE` | Execution engine; pi |
98
+ | `--no-browser` | โ€” | Do not automatically open a browser |
199
99
 
200
- 1. **From Web UI**: In the top-bar workspace dropdown, click "Switch Directory" โ†’ select the **"Remote (SSH)"** tab, fill in the host (e.g. `192.168.1.100`), port, username, and password or SSH private key, then click "Connect & Probe". Browse and pick any remote folder. Profiles are encrypted and saved locally for one-click reconnection.
201
- 2. **From Command Line**:
202
- ```bash
203
- pi-web-ui --cwd ssh://ubuntu@192.168.1.100:22/var/www/my-project
204
- ```
100
+ Paths with spaces need quoting. `0.0.0.0` is a listen address; other devices connect using the server's actual IP or domain. Configure authentication and appropriate network protection before sharing access. [Full startup reference](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#cli-and-env).
205
101
 
206
- ### Common Flags & Environment Variables
102
+ ### Local `/setup` page
207
103
 
208
- | CLI Flag | Environment Variable | Default | Description |
209
- | :------------------- | :------------------- | :---------------- | :-------------------------------------------------------------------------- |
210
- | `--port <n>` | `PI_WEB_PORT` | `8787` | HTTP port to listen on |
211
- | `--host <addr>` | `PI_WEB_HOST` | `127.0.0.1` | Listen address (`0.0.0.0` for remote/LAN access) |
212
- | `--cwd <dir>` | `PI_WEB_CWD` | Current directory | Workspace root (local path or `ssh://user@host:port/path`) |
213
- | `--data-dir <dir>` | `PI_WEB_DATA_DIR` | `~/.pi-web` | Directory for state, plugins, themes, and uploads |
214
- | `--engine <pi\|dsh>` | `PI_WEB_ENGINE` | `pi` | Agent engine: `pi` native or `dsh` (DeepSeek Harness) |
215
- | `--no-browser` | โ€” | off | Do not auto-launch system browser on startup |
216
- | _Env only_ | `PI_WEB_TOKEN` | empty | Optional shared authentication token |
217
- | _Env only_ | `PI_WEB_SDK` | `global` | Auto-follow newer pi SDK on ancestor path; set to `bundled` to pin built-in |
104
+ Open **`http://127.0.0.1:8787/setup` on the server's machine**, substituting the actual port. This page configures server access and networking; API keys and models belong in workspace settings.
218
105
 
219
- ### System Background Service (`pi-web-ui server`)
106
+ - Set or generate an access token, then **save**. Token changes apply immediately; an empty saved token disables token authentication.
107
+ - Configure listen address, port, Host allowlist and extra Origins; these require a restart.
108
+ - Check the displayed `<dataDir>/server-config.json` path. Startup flags and environment take precedence over saved settings on restart.
109
+ - LAN and proxy access to `/setup` is restricted. A remote server can be reached through an SSH local port forward; see the [step-by-step setup guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#setup-page).
220
110
 
221
- Manage pi-web-ui as a background daemon with auto-start on boot (launchd on macOS, systemd on Linux, Windows Run key):
111
+ ### Docker from source
222
112
 
223
113
  ```bash
224
- pi-web-ui server install --port 9000 --cwd /path/to/project # Install and start background service
225
- pi-web-ui server status # Inspect live status, PID, and connections
226
- pi-web-ui server restart # Restart background server
227
- pi-web-ui server stop # Stop background server
228
- pi-web-ui server uninstall # Remove system service
114
+ git clone https://github.com/xing-shuyin/pi-web-ui.git
115
+ cd pi-web-ui
116
+ # Review docker-compose.yml: authentication, ports, project and credential mounts.
117
+ docker compose up -d --build
118
+ docker compose logs -f
229
119
  ```
230
120
 
231
- ### FRP Reverse Proxy Tunnel (`pi-web-ui frp` / `piwebui frp`)
232
-
233
- Automatically deploy and configure FRP (Fast Reverse Proxy) to forward your local pi-web-ui port to a remote server with a public IP:
234
-
235
- ```bash
236
- pi-web-ui frp # Interactive setup wizard
237
- pi-web-ui frp deploy --server <ip> --remote-port 8787 # Auto-deploy remote frps and local frpc
238
- pi-web-ui frp status # Check client status and public URL
239
- pi-web-ui frp start|stop|restart # Manage local frpc service
240
- pi-web-ui frp run # Run frpc in foreground with live logs
241
- pi-web-ui frp script --server <ip> # Generate standalone remote deploy bash script
242
- ```
121
+ The repository Compose configuration builds the image locally. Persist service data at **`/app/.pi-web`** in the container. Mount projects and credentials deliberately; container paths differ from host paths. Do not assume a published container port satisfies `/setup`'s loopback checks. See [container installation](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#docker-source-install) and [deployment](./docs/deployment.md).
243
122
 
244
- ### Updating & Uninstalling
123
+ ### Update and remove
245
124
 
246
125
  ```bash
247
- # Update to latest version
248
- npm i -g pi-web-ui@latest
249
- pi-web-ui server restart
250
-
251
- # Uninstall (conversations in ~/.pi/agent/ and state in ~/.pi-web/ are safely preserved)
252
- npm uninstall -g pi-web-ui
126
+ npm install -g pi-web-ui@latest
127
+ pi-web-ui server restart # For an installed service; restart foreground processes yourself.
253
128
  ```
254
129
 
255
- ---
130
+ Desktop and portable users should follow the matching package's update instructions and retain their actual data directories. Before removal, back up needed conversations, settings and credentials. For npm users, uninstall the service first if installed, then run `npm uninstall -g pi-web-ui`. Removing the package does not remove separately stored user data.
256
131
 
257
- ## ๐Ÿงฉ Plugins & Extensions
132
+ ## What you can do
258
133
 
259
- - **Plugin Market**: Browse, install, and configure built-in and community-contributed extensions directly within the web UI (`Settings` โ†’ `Plugins`).
260
- - **CLI Plugin Installation**: Install directly from any GitHub repository or local directory:
261
- ```bash
262
- pi-web-ui install owner/repo
263
- ```
264
- - **Page Picker Extension**: Download `page-picker-extension.zip` from [Releases](https://github.com/xing-shuyin/pi-web-ui/releases/latest), unpack, and load it into Chrome/Edge as an unpacked extension.
134
+ - **Chat and context:** streaming responses, tool outputs, attachments, file references, structured questions and multiple conversations.
135
+ - **Work on projects:** file browsing and previews, uploads, integrated terminals, Git diffs, staging and commits. Remote SSH capabilities depend on the engine, host tools and connection configuration.
136
+ - **Organize agent work:** planning, goal review/execution, delegated work and subagents. File claims coordinate parallel edits through advisory notices; they are not edit locks.
137
+ - **Extend the workspace:** plugins, MCP tools, skills, configuration presets and customizable layouts and themes. Availability depends on installed components and permissions.
265
138
 
266
- ### ๐Ÿš€ Submit Third-Party Community Plugins (Fully Automated CI Review & Instant Publish)
139
+ Approval controls, task modes and isolated project directories have specific implementation boundaries; they are not universal operating-system security sandboxes. See [approval and security](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#approval-and-security).
267
140
 
268
- Whether you develop custom AI tools, workspace views, platform bots (Telegram, Discord, Slack, etc.), or themes, you are warmly invited to submit your plugin to the official community registry!
141
+ ## See the workspace
269
142
 
270
- - ๐Ÿ“ฆ **Community Plugin Registry Repository**: ๐Ÿ‘‰ [**xing-shuyin/pi-web-ui-plugins**](https://github.com/xing-shuyin/pi-web-ui-plugins)
271
- - ๐Ÿ“– **Quick 4-Step Submission (Supports Web-Only Submission)**:
272
- 1. Prepare your open-source GitHub repository with a standard open-source license and a valid `manifest.json`;
273
- 2. Visit and Fork [xing-shuyin/pi-web-ui-plugins](https://github.com/xing-shuyin/pi-web-ui-plugins);
274
- 3. Create `plugins/<your-plugin-id>/plugin.json` with metadata (name, source, description, icon) โ€” you can do this directly on GitHub web via "Add file";
275
- 4. Submit a Pull Request!
143
+ | Chat | Terminal |
144
+ | --------------------------------------------- | ---------------------------------------------- |
145
+ | ![Chat workspace](./assets/chat-prompts.jpeg) | ![Integrated terminal](./assets/terminal.jpeg) |
276
146
 
277
- #### ๐ŸŒŸ Key Benefits of Publishing to the Official Registry
147
+ | Git | Settings |
148
+ | --------------------------------- | ------------------------------------------------------- |
149
+ | ![Git changes](./assets/git.jpeg) | ![Model and workspace settings](./assets/settings.jpeg) |
278
150
 
279
- | Benefit | Description |
280
- | :--------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
281
- | โšก **Zero-Touch Auto-Merge** | Low-risk plugins (standard tools/views without privileged permissions) are audited by the GitHub Actions bot in real time. **Once checks pass, the bot automatically approves and auto-merges the PR** with zero manual wait! |
282
- | ๐ŸŒ **Global Instant Exposure** | This registry is the **out-of-the-box default catalog** for `pi-web-ui`. Within ~1 minute after merge, your plugin is searchable and installable with one click across all running `pi-web-ui` client markets worldwide. |
283
- | ๐Ÿ›ก๏ธ **Continuous Security Audit & Trust** | Every submission and **subsequent PR update** automatically triggers strict CI security scanning (JSON Schema compliance, SVG icon XSS filtering, permission boundary checks, and author anti-tampering verification). |
284
- | ๐Ÿงฉ **Zero Merge Conflicts** | Each plugin uses an isolated `plugins/<id>/plugin.json` directory structure, ensuring parallel PRs from multiple authors never conflict. |
151
+ ## Plugins and documentation
285
152
 
286
- ---
153
+ Browse plugins in the workspace or install from a repository:
287
154
 
288
- ## ๐Ÿ“– Complete Documentation
155
+ ```bash
156
+ pi-web-ui install owner/repo
157
+ pi-web-ui plugins
158
+ pi-web-ui plugin create my-plugin
159
+ ```
289
160
 
290
- For detailed deployment guides, plugin development SDKs, and deep architectural specifications, visit the official documentation portal:
161
+ Plugin permissions and external-service requirements vary. For submissions, follow the [community registry](https://github.com/xing-shuyin/pi-web-ui-plugins); automation is governed by that repository's current checks and policies.
291
162
 
292
- ๐Ÿ‘‰ **[Documentation Portal](https://xing-shuyin.github.io/pi-web-ui-site/docs.html)**
163
+ - [Getting started and installation](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#installation)
164
+ - [Remote SSH projects](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#remote-ssh-projects)
165
+ - [Plan, goal and review workflows](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#modes-guide)
166
+ - [MCP and browser tools](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#mcp-and-browser)
167
+ - [Plugin SDK](./plugin-sdk/README.md) ยท [Desktop](./desktop/README.md) ยท [Windows portable launcher](./launcher/README.md)
168
+ - [Environment variables](./docs/env-vars.md) ยท [Deployment](./docs/deployment.md) ยท [Architecture](./docs/architecture-core.md)
293
169
 
294
- - ๐ŸŒ [Official Website & Feature Tour](https://xing-shuyin.github.io/pi-web-ui-site/)
295
- - ๐ŸŒ [Remote SSH Workspaces & Server Setup Guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#remote-ssh)
296
- - ๐Ÿ–ฅ๏ธ [Desktop Portable Edition & Custom Build Guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#portable)
297
- - ๐Ÿ›ก๏ธ [Reverse Proxy & Remote Access (Nginx / frp / SSL)](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#reverse-proxy)
298
- - ๐Ÿ”Œ [Plugin System & Plugin SDK Guide](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#plugin-sdk)
299
- - โš™๏ธ [Full Environment Variables & Configuration Reference](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#environment-variables)
300
- - ๐Ÿ—๏ธ [Core Architecture & WebSocket Protocol Specs](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#architecture)
301
- - ๐Ÿ‹ [Docker, Systemd, and Production Deployment](https://xing-shuyin.github.io/pi-web-ui-site/docs.html#deployment)
170
+ ## Development
302
171
 
303
- ---
172
+ ```bash
173
+ git clone https://github.com/xing-shuyin/pi-web-ui.git
174
+ cd pi-web-ui
175
+ npm ci
176
+ npm run dev
177
+ ```
304
178
 
305
- ## ๐Ÿค Contributing & Community
179
+ Node.js 22.19.0+ and the platform's native build dependencies are required. The dev frontend is normally on port 5173 and the backend on 8788. For a production checkout, run `npm run build`, then `npm start`.
306
180
 
307
- Contributions are warmly welcomed! Every pull request, bug report, and feature idea helps make pi-web-ui better.
181
+ Before submitting a change, follow [development guidelines](./docs/development.md) and run the applicable formatting, type, lint and test checks. Desktop build details live in [desktop/README.md](./desktop/README.md).
308
182
 
309
- - ๐Ÿ’ก **Issues & Feature Requests**: [GitHub Issues](https://github.com/xing-shuyin/pi-web-ui/issues)
310
- - ๐Ÿ—ฃ๏ธ **Discussions**: [GitHub Discussions](https://github.com/xing-shuyin/pi-web-ui/discussions)
311
- - ๐Ÿ’ฌ **Community QQ Group**: `1126050727`
312
- - ๐Ÿ”— **Companion Project**: [dsh-ui-tools](https://github.com/xing-shuyin/dsh-ui-tools)
183
+ ## Community and license
313
184
 
314
- ## ๐Ÿ“„ License
185
+ [Issues](https://github.com/xing-shuyin/pi-web-ui/issues) ยท [Discussions](https://github.com/xing-shuyin/pi-web-ui/discussions) ยท QQ group: `1126050727` ยท [dsh-ui-tools](https://github.com/xing-shuyin/dsh-ui-tools)
315
186
 
316
- [MIT](LICENSE)
187
+ [MIT License](./LICENSE)