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,112 +1,112 @@
1
- /* Shared flat statusbar controls; palette colors remain inherited. */
2
- .statusbar .bar-item,
3
- .statusbar .bar-item.chip,
4
- .statusbar .chip {
5
- height: 18px;
6
- min-height: 18px;
7
- padding: 0 4px;
8
- font-size: 11px;
9
- line-height: 18px;
10
- gap: 3px;
11
- color: var(--text-dim);
12
- background: transparent;
13
- border: 1px solid transparent;
14
- border-radius: 2px;
15
- box-shadow: none;
16
- opacity: 1;
17
- filter: none;
18
- text-shadow: none;
19
- cursor: pointer;
20
- transform: none;
21
- }
22
- .statusbar .bar-item:hover,
23
- .statusbar .bar-item.chip:hover,
24
- .statusbar .chip:hover {
25
- background: var(--glow-12);
26
- color: var(--text);
27
- border-color: transparent;
28
- border-radius: 2px;
29
- box-shadow: none;
30
- opacity: 1;
31
- filter: none;
32
- text-shadow: none;
33
- transform: none;
34
- }
35
- .statusbar .bar-item.active,
36
- .statusbar .bar-item.chip.active,
37
- .statusbar .chip.active {
38
- background: var(--bg-elev2);
39
- color: var(--text);
40
- }
41
- .statusbar .bar-item-text {
42
- font-size: 11px;
43
- line-height: 1.2;
44
- color: inherit;
45
- opacity: 1;
46
- text-shadow: none;
47
- }
48
- .statusbar .bar-item-char {
49
- font-size: 11px;
50
- line-height: 1;
51
- font-weight: 600;
52
- color: var(--text-faint);
53
- opacity: 0.85;
54
- text-shadow: none;
55
- }
56
- .statusbar .bar-item.status-cost {
57
- gap: 0;
58
- }
59
- .statusbar .bar-item-icon {
60
- font-size: 11px;
61
- width: 11px;
62
- height: 11px;
63
- min-width: 11px;
64
- opacity: 0.75;
65
- color: inherit;
66
- filter: none;
67
- text-shadow: none;
68
- }
69
- .statusbar .bar-item:hover .bar-item-icon {
70
- opacity: 1;
71
- color: inherit;
72
- filter: none;
73
- }
74
- .statusbar .bar-item-icon svg,
75
- .statusbar .bar-item-glyph {
76
- width: 11px;
77
- height: 11px;
78
- color: inherit;
79
- stroke: currentColor;
80
- filter: none;
81
- text-shadow: none;
82
- }
83
- .statusbar .bar-item-badge {
84
- background: none;
85
- color: var(--accent);
86
- font-size: 10px;
87
- font-weight: 700;
88
- min-width: 0;
89
- height: auto;
90
- padding: 0;
91
- margin-left: 0;
92
- border-radius: 0;
93
- opacity: 1;
94
- text-shadow: none;
95
- box-shadow: none;
96
- }
97
- .statusbar .engine-picker-btn {
98
- background: transparent;
99
- border: 1px solid transparent;
100
- border-radius: 2px;
101
- padding: 0 4px;
102
- color: var(--text-dim);
103
- box-shadow: none;
104
- opacity: 1;
105
- filter: none;
106
- text-shadow: none;
107
- }
108
- .statusbar .engine-picker-btn:hover {
109
- background: var(--glow-12);
110
- border-color: transparent;
111
- color: var(--text);
112
- }
1
+ /* Shared flat statusbar controls; palette colors remain inherited. */
2
+ .statusbar .bar-item,
3
+ .statusbar .bar-item.chip,
4
+ .statusbar .chip {
5
+ height: 18px;
6
+ min-height: 18px;
7
+ padding: 0 4px;
8
+ font-size: 11px;
9
+ line-height: 18px;
10
+ gap: 3px;
11
+ color: var(--text-dim);
12
+ background: transparent;
13
+ border: 1px solid transparent;
14
+ border-radius: 2px;
15
+ box-shadow: none;
16
+ opacity: 1;
17
+ filter: none;
18
+ text-shadow: none;
19
+ cursor: pointer;
20
+ transform: none;
21
+ }
22
+ .statusbar .bar-item:hover,
23
+ .statusbar .bar-item.chip:hover,
24
+ .statusbar .chip:hover {
25
+ background: var(--glow-12);
26
+ color: var(--text);
27
+ border-color: transparent;
28
+ border-radius: 2px;
29
+ box-shadow: none;
30
+ opacity: 1;
31
+ filter: none;
32
+ text-shadow: none;
33
+ transform: none;
34
+ }
35
+ .statusbar .bar-item.active,
36
+ .statusbar .bar-item.chip.active,
37
+ .statusbar .chip.active {
38
+ background: var(--bg-elev2);
39
+ color: var(--text);
40
+ }
41
+ .statusbar .bar-item-text {
42
+ font-size: 11px;
43
+ line-height: 1.2;
44
+ color: inherit;
45
+ opacity: 1;
46
+ text-shadow: none;
47
+ }
48
+ .statusbar .bar-item-char {
49
+ font-size: 11px;
50
+ line-height: 1;
51
+ font-weight: 600;
52
+ color: var(--text-faint);
53
+ opacity: 0.85;
54
+ text-shadow: none;
55
+ }
56
+ .statusbar .bar-item.status-cost {
57
+ gap: 0;
58
+ }
59
+ .statusbar .bar-item-icon {
60
+ font-size: 11px;
61
+ width: 11px;
62
+ height: 11px;
63
+ min-width: 11px;
64
+ opacity: 0.75;
65
+ color: inherit;
66
+ filter: none;
67
+ text-shadow: none;
68
+ }
69
+ .statusbar .bar-item:hover .bar-item-icon {
70
+ opacity: 1;
71
+ color: inherit;
72
+ filter: none;
73
+ }
74
+ .statusbar .bar-item-icon svg,
75
+ .statusbar .bar-item-glyph {
76
+ width: 11px;
77
+ height: 11px;
78
+ color: inherit;
79
+ stroke: currentColor;
80
+ filter: none;
81
+ text-shadow: none;
82
+ }
83
+ .statusbar .bar-item-badge {
84
+ background: none;
85
+ color: var(--accent);
86
+ font-size: 10px;
87
+ font-weight: 700;
88
+ min-width: 0;
89
+ height: auto;
90
+ padding: 0;
91
+ margin-left: 0;
92
+ border-radius: 0;
93
+ opacity: 1;
94
+ text-shadow: none;
95
+ box-shadow: none;
96
+ }
97
+ .statusbar .engine-picker-btn {
98
+ background: transparent;
99
+ border: 1px solid transparent;
100
+ border-radius: 2px;
101
+ padding: 0 4px;
102
+ color: var(--text-dim);
103
+ box-shadow: none;
104
+ opacity: 1;
105
+ filter: none;
106
+ text-shadow: none;
107
+ }
108
+ .statusbar .engine-picker-btn:hover {
109
+ background: var(--glow-12);
110
+ border-color: transparent;
111
+ color: var(--text);
112
+ }