@dahawa/hawa-code 2.3.5 → 2.4.1
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.
- package/cli.js +752 -642
- package/hands.js +654 -544
- package/package.json +1 -1
- package/webServer/app.js +41 -39
- package/webServer/style.css +29 -2
package/webServer/style.css
CHANGED
|
@@ -502,11 +502,14 @@ html, body {
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
.message-tool-result {
|
|
505
|
-
padding
|
|
505
|
+
padding: 6px 8px 6px 24px;
|
|
506
506
|
border-left: 2px solid var(--accent-green);
|
|
507
507
|
margin-left: 4px;
|
|
508
508
|
color: var(--text-secondary);
|
|
509
509
|
font-size: 12px;
|
|
510
|
+
background: rgba(0, 0, 0, 0.2);
|
|
511
|
+
border-radius: 4px;
|
|
512
|
+
margin-top: 4px;
|
|
510
513
|
}
|
|
511
514
|
|
|
512
515
|
.message-tool-result .result-content {
|
|
@@ -880,6 +883,15 @@ html, body {
|
|
|
880
883
|
content: ' ';
|
|
881
884
|
}
|
|
882
885
|
|
|
886
|
+
/* LS 工具结果树形展示 */
|
|
887
|
+
.tool-result-ls .ls-tree {
|
|
888
|
+
line-height: 1.6;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.tool-result-ls .ls-tree code {
|
|
892
|
+
color: var(--text-secondary);
|
|
893
|
+
}
|
|
894
|
+
|
|
883
895
|
/* 展开/收起 */
|
|
884
896
|
.expand-toggle {
|
|
885
897
|
color: var(--text-dimmed);
|
|
@@ -2001,6 +2013,16 @@ html, body {
|
|
|
2001
2013
|
color: var(--accent-red);
|
|
2002
2014
|
}
|
|
2003
2015
|
|
|
2016
|
+
.tool-confirm-notification-banner.tool-confirm-notification-granted {
|
|
2017
|
+
background: rgba(76, 175, 80, 0.08);
|
|
2018
|
+
color: var(--accent-green);
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.tool-confirm-notification-banner.tool-confirm-notification-info {
|
|
2022
|
+
background: rgba(79, 195, 247, 0.08);
|
|
2023
|
+
color: var(--accent-blue);
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2004
2026
|
.tool-confirm-notification-banner button {
|
|
2005
2027
|
flex-shrink: 0;
|
|
2006
2028
|
background: transparent;
|
|
@@ -2014,10 +2036,15 @@ html, body {
|
|
|
2014
2036
|
transition: all 0.15s ease;
|
|
2015
2037
|
}
|
|
2016
2038
|
|
|
2017
|
-
.tool-confirm-notification-banner button:hover {
|
|
2039
|
+
.tool-confirm-notification-banner button:hover:not(:disabled) {
|
|
2018
2040
|
background: rgba(255, 193, 7, 0.1);
|
|
2019
2041
|
}
|
|
2020
2042
|
|
|
2043
|
+
.tool-confirm-notification-banner button:disabled {
|
|
2044
|
+
opacity: 0.5;
|
|
2045
|
+
cursor: not-allowed;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2021
2048
|
/* ============================================
|
|
2022
2049
|
Prompt Input Bar
|
|
2023
2050
|
============================================ */
|