pi-web-ui 0.114.1 → 0.114.2

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 (117) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +187 -187
  3. package/README.zh-CN.md +227 -227
  4. package/README.zh-TW.md +227 -227
  5. package/bin/device-hub-cli.mjs +577 -577
  6. package/bin/frp-manager.mjs +1573 -1573
  7. package/bin/pi-device-hub.mjs +9 -9
  8. package/bin/pi-web-ui.mjs +4081 -4081
  9. package/deploy/nginx-subpath.conf +100 -100
  10. package/deploy/pi-web-ui.service +36 -36
  11. package/dist/server/agent-service.js +59 -10
  12. package/dist/server/attachments.js +6 -6
  13. package/dist/server/canvas/canvas-orchestrator.js +3 -3
  14. package/dist/server/communicate-tool.js +37 -11
  15. package/dist/server/compaction-instructions.js +8 -8
  16. package/dist/server/device-center/desktop-page.js +228 -228
  17. package/dist/server/device-center/hub-page.js +64 -64
  18. package/dist/server/device-center/native-desktop/macos.js +190 -190
  19. package/dist/server/device-center/native-desktop/windows.js +116 -116
  20. package/dist/server/dsh/runtime/cordis.yml +1 -1
  21. package/dist/server/dsh/runtime/custom-prompt.mjs +33 -33
  22. package/dist/server/dsh/runtime/goal-rpc.mjs +1309 -1309
  23. package/dist/server/dsh/runtime/launcher.mjs +235 -235
  24. package/dist/server/dsh/runtime/override.patch.yml +89 -89
  25. package/dist/server/dsh/runtime/runtime-root.mjs +405 -405
  26. package/dist/server/durable/durable-event-projector.js +19 -3
  27. package/dist/server/durable/durable-models.js +134 -65
  28. package/dist/server/eval-tool.js +135 -135
  29. package/dist/server/model-resolver.js +4 -1
  30. package/dist/server/patch-bash-process.js +89 -89
  31. package/dist/server/patch-tool.js +9 -9
  32. package/dist/server/patch-turn-end-boundary.js +3 -3
  33. package/dist/server/persona-chain.js +8 -8
  34. package/dist/server/remote-ssh-service.js +39 -39
  35. package/dist/server/schedule-agent-tool.js +11 -6
  36. package/dist/server/scheduler-tasks.js +84 -2
  37. package/dist/server/scm-commitmsg.js +10 -10
  38. package/dist/server/setup-page.js +620 -620
  39. package/dist/server/universal/universal-session.js +19 -18
  40. package/dist/server/vision-bridge.js +18 -18
  41. package/docs/device-center.md +148 -148
  42. package/docs/device-desktop.md +48 -48
  43. package/docs/dsh-engine.md +493 -493
  44. package/extensions/webui.ts +335 -335
  45. package/package.json +1 -1
  46. package/plugin-sdk/README.md +174 -174
  47. package/plugin-sdk/client-utils.mjs +279 -279
  48. package/plugin-sdk/import-check.mjs +210 -210
  49. package/plugin-sdk/index.d.ts +698 -698
  50. package/plugin-sdk/index.mjs +696 -696
  51. package/plugin-sdk/package.json +13 -13
  52. package/plugin-sdk/ssh-host-trust.mjs +225 -225
  53. package/themes/aetheris.css +501 -501
  54. package/themes/ayu-light.css +116 -116
  55. package/themes/bases/flow-base.css +1357 -1357
  56. package/themes/bases/obsidian-base.css +895 -895
  57. package/themes/bases/statusbar-flat-base.css +112 -112
  58. package/themes/bases/zhujian-base.css +688 -688
  59. package/themes/bases/zhupi-base.css +660 -660
  60. package/themes/catppuccin-latte.css +119 -119
  61. package/themes/catppuccin.css +116 -116
  62. package/themes/claude-code-dark.css +147 -147
  63. package/themes/codex.css +114 -114
  64. package/themes/cyberpunk.css +50 -50
  65. package/themes/dark-teal.css +264 -264
  66. package/themes/dazzle.css +38 -38
  67. package/themes/everforest-light.css +115 -115
  68. package/themes/flow-light.css +164 -164
  69. package/themes/flow.css +161 -161
  70. package/themes/geist.css +114 -114
  71. package/themes/gruvbox-light.css +115 -115
  72. package/themes/kanagawa-lotus.css +115 -115
  73. package/themes/md-preview.css +24 -24
  74. package/themes/mist.css +166 -166
  75. package/themes/nord.css +107 -107
  76. package/themes/one-dark.css +106 -106
  77. package/themes/paper.css +174 -174
  78. package/themes/rose-pine-dawn.css +114 -114
  79. package/themes/sakura.css +166 -166
  80. package/themes/solarized-light.css +114 -114
  81. package/themes/tokyo-night.css +115 -115
  82. package/themes/translucent.css +85 -85
  83. package/themes/transparent.css +116 -116
  84. package/themes/vs-code-dark.css +147 -147
  85. package/themes/wallpaper-flow.css +382 -382
  86. package/themes/wallpaper-obsidian.css +74 -74
  87. package/themes/white.css +164 -164
  88. package/themes/zhujian-dark.css +115 -115
  89. package/themes/zhujian.css +114 -114
  90. package/themes/zhupi-dark.css +115 -115
  91. package/themes/zhupi.css +114 -114
  92. package/web/dist/.build-assets.json +1 -1
  93. package/web/dist/assets/{BgTasksModal-BcXJ20RO.js → BgTasksModal-BIlQ89vr.js} +1 -1
  94. package/web/dist/assets/{BgTasksModal-DjQmiKnE.js → BgTasksModal-Ck2sjlPM.js} +1 -1
  95. package/web/dist/assets/{CanvasStudio-PI9pid0Y.js → CanvasStudio-B3W6b_rA.js} +1 -1
  96. package/web/dist/assets/{CanvasStudio-nf5-HxLM.js → CanvasStudio-Csv1Sj1-.js} +1 -1
  97. package/web/dist/assets/{DeviceCenter-CYttJw2a.js → DeviceCenter-BQdDcO8A.js} +1 -1
  98. package/web/dist/assets/{DeviceCenter-DPe4sz74.js → DeviceCenter-CHRKL0Vy.js} +1 -1
  99. package/web/dist/assets/{FilePreview-C9Ut4Lq6.js → FilePreview-B9xoU6ON.js} +1 -1
  100. package/web/dist/assets/{FilePreview-CvK3ZzX5.js → FilePreview-DUQpVZkH.js} +1 -1
  101. package/web/dist/assets/{GlobalSearchModal-C5e-OCw2.js → GlobalSearchModal-BXEGvUZq.js} +1 -1
  102. package/web/dist/assets/{GlobalSearchModal-H7pFK2UC.js → GlobalSearchModal-CnVPmfOI.js} +1 -1
  103. package/web/dist/assets/{GroupConversation-C2wNM0dQ.js → GroupConversation-CyIpQzDd.js} +1 -1
  104. package/web/dist/assets/{GroupConversation-ChN3TWQK.js → GroupConversation-DgYV3uYS.js} +1 -1
  105. package/web/dist/assets/{SCMPanel-buTGziDB.js → SCMPanel-imYI2Ecw.js} +1 -1
  106. package/web/dist/assets/{SCMPanel-kx-SCL2s.js → SCMPanel-sVZcV7dR.js} +1 -1
  107. package/web/dist/assets/{SettingsModal-BsUF8jqr.js → SettingsModal-Xw1Yoi3_.js} +1 -1
  108. package/web/dist/assets/{SettingsModal-D357Ky7P.js → SettingsModal-mb4e34-0.js} +1 -1
  109. package/web/dist/assets/{TerminalPanel-BBuM_Sez.js → TerminalPanel-CLkJJvxg.js} +1 -1
  110. package/web/dist/assets/{TerminalPanel-D6x6xz8Q.js → TerminalPanel-DpcIellm.js} +1 -1
  111. package/web/dist/assets/{TuiOverlayModal-CdbGV3Za.js → TuiOverlayModal-4-fFAZe7.js} +1 -1
  112. package/web/dist/assets/{TuiOverlayModal-d6x9u25n.js → TuiOverlayModal-DCu01lks.js} +1 -1
  113. package/web/dist/assets/{index-D6u8xH0o.js → index-Cdh3sibd.js} +4 -4
  114. package/web/dist/assets/{index-BPvpea8t.js → index-DWw_SxRq.js} +4 -4
  115. package/web/dist/index.html +29 -29
  116. package/web/dist/sw.js +179 -179
  117. package/web/public/sw.js +179 -179
@@ -1,116 +1,116 @@
1
- /* theme-name: 浅阑秋 */
2
- /* theme-name-en: Ayu Light */
3
- /* theme-group: classic */
4
- :root {
5
- color-scheme: light;
6
- --bg: #fcfcfc;
7
- --bg-elev: #f8f9fa;
8
- --bg-elev2: #f0f1f3;
9
- --border: #e0e1e3;
10
- --border-soft: #ecedef;
11
- --text: #5c6166;
12
- --text-dim: #66727f;
13
- --text-faint: #6a7582;
14
- --accent: #b36d0a;
15
- --accent-contrast: #0f1419;
16
- --accent-soft: rgba(242, 151, 24, 0.14);
17
- --green: #587600;
18
- --green-soft: rgba(134, 179, 0, 0.12);
19
- --red: #da1717;
20
- --red-soft: rgba(240, 113, 113, 0.1);
21
- --amber: #9f5b16;
22
- --blue: #0b63f3;
23
- --term-bg: #fcfcfc;
24
- --term-fg: #5c6166;
25
- --term-cursor: #f29718;
26
- --term-cursor-accent: #fcfcfc;
27
- --term-selection: rgba(242, 151, 24, 0.24);
28
- --term-black: #5c6166;
29
- --term-red: #f07171;
30
- --term-green: #86b300;
31
- --term-yellow: #eba400;
32
- --term-blue: #22a4e6;
33
- --term-magenta: #a37acc;
34
- --term-cyan: #4cbf99;
35
- --term-white: #f8f9fa;
36
- --term-bright-black: #828e9f;
37
- --term-bright-red: #f07171;
38
- --term-bright-green: #86b300;
39
- --term-bright-yellow: #eba400;
40
- --term-bright-blue: #22a4e6;
41
- --term-bright-magenta: #a37acc;
42
- --term-bright-cyan: #4cbf99;
43
- --tooltip-bg: #f8f9fa;
44
- --code-bg: #f0f1f3;
45
- --code-text: #5c6166;
46
- --err-text: #d62222;
47
- --red-text: #d62222;
48
- --amber-text: #97601b;
49
- --info-blue: #1373a4;
50
- --link: #1373a4;
51
- --link-hover: #1a8fc4;
52
- --link-soft: #1373a4;
53
- --md-strong: #5c6166;
54
- --skill-blue: #1373a4;
55
- --plugin-purple: #803aff;
56
- --auth-green: #127c5b;
57
- --scroll-thumb: #d8dade;
58
- --scroll-thumb-hover: #b9bcc2;
59
- --notice-err-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--red));
60
- --notice-warn-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--amber));
61
- --notice-info-bg: color-mix(in srgb, var(--bg) 95%, var(--info-blue));
62
- --notice-err-border: var(--red);
63
- --notice-warn-border: var(--amber);
64
- --notice-info-border: var(--info-blue);
65
- --send-blue: #f29718;
66
- --send-blue-hover: #e08a0d;
67
- --brand-grad-a: #f29718;
68
- --brand-grad-b: #f07171;
69
- --on-green: #ffffff;
70
- --on-red: #ffffff;
71
- --on-amber: #ffffff;
72
- --on-send-blue: #1a1a1a;
73
- --on-send-blue-hover: #1a1a1a;
74
- --on-stop-red-hover: #ffffff;
75
- --control-fg: #6b7d8f;
76
- --control-bg: #f0f1f3;
77
- --control-border: #e0e1e3;
78
- --wallpaper-panel-alpha: 100%;
79
- --topbar-bg: #f8f9fa;
80
- --statusbar-bg: #fcfcfc;
81
- --panel-bg: #f8f9fa;
82
- --card-bg: #f8f9fa;
83
- --chip-bg: #f0f1f3;
84
- --msgs-bg: #fcfcfc;
85
- --inputbox-bg: #f0f1f3;
86
- }
87
-
88
- /* ---- syntax highlighting (Ayu Light) ---- */
89
- .hljs {
90
- color: #5c6166;
91
- background: #f0f1f3;
92
- }
93
- .hljs-keyword,
94
- .hljs-meta .hljs-keyword {
95
- color: #fa8532;
96
- font-weight: 600;
97
- }
98
- .hljs-title,
99
- .hljs-title.function_ {
100
- color: #eba400;
101
- }
102
- .hljs-number,
103
- .hljs-literal {
104
- color: #a37acc;
105
- }
106
- .hljs-string {
107
- color: #86b300;
108
- }
109
- .hljs-built_in,
110
- .hljs-type {
111
- color: #55b4d4;
112
- }
113
- .hljs-comment {
114
- color: #6a7582;
115
- font-style: italic;
116
- }
1
+ /* theme-name: 浅阑秋 */
2
+ /* theme-name-en: Ayu Light */
3
+ /* theme-group: classic */
4
+ :root {
5
+ color-scheme: light;
6
+ --bg: #fcfcfc;
7
+ --bg-elev: #f8f9fa;
8
+ --bg-elev2: #f0f1f3;
9
+ --border: #e0e1e3;
10
+ --border-soft: #ecedef;
11
+ --text: #5c6166;
12
+ --text-dim: #66727f;
13
+ --text-faint: #6a7582;
14
+ --accent: #b36d0a;
15
+ --accent-contrast: #0f1419;
16
+ --accent-soft: rgba(242, 151, 24, 0.14);
17
+ --green: #587600;
18
+ --green-soft: rgba(134, 179, 0, 0.12);
19
+ --red: #da1717;
20
+ --red-soft: rgba(240, 113, 113, 0.1);
21
+ --amber: #9f5b16;
22
+ --blue: #0b63f3;
23
+ --term-bg: #fcfcfc;
24
+ --term-fg: #5c6166;
25
+ --term-cursor: #f29718;
26
+ --term-cursor-accent: #fcfcfc;
27
+ --term-selection: rgba(242, 151, 24, 0.24);
28
+ --term-black: #5c6166;
29
+ --term-red: #f07171;
30
+ --term-green: #86b300;
31
+ --term-yellow: #eba400;
32
+ --term-blue: #22a4e6;
33
+ --term-magenta: #a37acc;
34
+ --term-cyan: #4cbf99;
35
+ --term-white: #f8f9fa;
36
+ --term-bright-black: #828e9f;
37
+ --term-bright-red: #f07171;
38
+ --term-bright-green: #86b300;
39
+ --term-bright-yellow: #eba400;
40
+ --term-bright-blue: #22a4e6;
41
+ --term-bright-magenta: #a37acc;
42
+ --term-bright-cyan: #4cbf99;
43
+ --tooltip-bg: #f8f9fa;
44
+ --code-bg: #f0f1f3;
45
+ --code-text: #5c6166;
46
+ --err-text: #d62222;
47
+ --red-text: #d62222;
48
+ --amber-text: #97601b;
49
+ --info-blue: #1373a4;
50
+ --link: #1373a4;
51
+ --link-hover: #1a8fc4;
52
+ --link-soft: #1373a4;
53
+ --md-strong: #5c6166;
54
+ --skill-blue: #1373a4;
55
+ --plugin-purple: #803aff;
56
+ --auth-green: #127c5b;
57
+ --scroll-thumb: #d8dade;
58
+ --scroll-thumb-hover: #b9bcc2;
59
+ --notice-err-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--red));
60
+ --notice-warn-bg: color-mix(in srgb, var(--bg-elev) 90%, var(--amber));
61
+ --notice-info-bg: color-mix(in srgb, var(--bg) 95%, var(--info-blue));
62
+ --notice-err-border: var(--red);
63
+ --notice-warn-border: var(--amber);
64
+ --notice-info-border: var(--info-blue);
65
+ --send-blue: #f29718;
66
+ --send-blue-hover: #e08a0d;
67
+ --brand-grad-a: #f29718;
68
+ --brand-grad-b: #f07171;
69
+ --on-green: #ffffff;
70
+ --on-red: #ffffff;
71
+ --on-amber: #ffffff;
72
+ --on-send-blue: #1a1a1a;
73
+ --on-send-blue-hover: #1a1a1a;
74
+ --on-stop-red-hover: #ffffff;
75
+ --control-fg: #6b7d8f;
76
+ --control-bg: #f0f1f3;
77
+ --control-border: #e0e1e3;
78
+ --wallpaper-panel-alpha: 100%;
79
+ --topbar-bg: #f8f9fa;
80
+ --statusbar-bg: #fcfcfc;
81
+ --panel-bg: #f8f9fa;
82
+ --card-bg: #f8f9fa;
83
+ --chip-bg: #f0f1f3;
84
+ --msgs-bg: #fcfcfc;
85
+ --inputbox-bg: #f0f1f3;
86
+ }
87
+
88
+ /* ---- syntax highlighting (Ayu Light) ---- */
89
+ .hljs {
90
+ color: #5c6166;
91
+ background: #f0f1f3;
92
+ }
93
+ .hljs-keyword,
94
+ .hljs-meta .hljs-keyword {
95
+ color: #fa8532;
96
+ font-weight: 600;
97
+ }
98
+ .hljs-title,
99
+ .hljs-title.function_ {
100
+ color: #eba400;
101
+ }
102
+ .hljs-number,
103
+ .hljs-literal {
104
+ color: #a37acc;
105
+ }
106
+ .hljs-string {
107
+ color: #86b300;
108
+ }
109
+ .hljs-built_in,
110
+ .hljs-type {
111
+ color: #55b4d4;
112
+ }
113
+ .hljs-comment {
114
+ color: #6a7582;
115
+ font-style: italic;
116
+ }