@dahawa/hawa-code 2.4.22 → 2.4.23
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 +4 -4
- package/hands.js +4 -4
- package/package.json +1 -1
- package/webServer/app.js +81 -75
- package/webServer/style.css +59 -0
package/webServer/style.css
CHANGED
|
@@ -749,6 +749,19 @@ html, body {
|
|
|
749
749
|
font-size: 12px;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
/* ProxyTool 代理调用:<> 前缀与真实工具渲染内容同行显示 */
|
|
753
|
+
.tool-proxy-row {
|
|
754
|
+
display: inline-flex;
|
|
755
|
+
align-items: baseline;
|
|
756
|
+
gap: 6px;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.tool-proxy-prefix {
|
|
760
|
+
color: var(--accent-green);
|
|
761
|
+
font-weight: 600;
|
|
762
|
+
flex-shrink: 0;
|
|
763
|
+
}
|
|
764
|
+
|
|
752
765
|
.tool-badge {
|
|
753
766
|
display: inline-block;
|
|
754
767
|
padding: 1px 6px;
|
|
@@ -799,6 +812,52 @@ html, body {
|
|
|
799
812
|
padding: 0;
|
|
800
813
|
}
|
|
801
814
|
|
|
815
|
+
/* highlight.js JavaScript 语法高亮(复用主题 --accent-* 变量,统一暗色风格) */
|
|
816
|
+
.command-block code.hljs {
|
|
817
|
+
color: var(--text-primary);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.hljs-comment,
|
|
821
|
+
.hljs-quote {
|
|
822
|
+
color: var(--text-dimmed);
|
|
823
|
+
font-style: italic;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.hljs-keyword,
|
|
827
|
+
.hljs-literal,
|
|
828
|
+
.hljs-type {
|
|
829
|
+
color: var(--accent-purple);
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.hljs-string,
|
|
833
|
+
.hljs-regexp,
|
|
834
|
+
.hljs-template-string {
|
|
835
|
+
color: var(--accent-green);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.hljs-number,
|
|
839
|
+
.hljs-symbol {
|
|
840
|
+
color: var(--accent-yellow);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.hljs-title,
|
|
844
|
+
.hljs-title.function_,
|
|
845
|
+
.hljs-built_in {
|
|
846
|
+
color: var(--accent-blue);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.hljs-attr,
|
|
850
|
+
.hljs-property,
|
|
851
|
+
.hljs-variable,
|
|
852
|
+
.hljs-params {
|
|
853
|
+
color: var(--text-primary);
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.hljs-attribute,
|
|
857
|
+
.hljs-meta {
|
|
858
|
+
color: var(--accent-yellow);
|
|
859
|
+
}
|
|
860
|
+
|
|
802
861
|
/* Diff 内联预览 (Edit tool_use) */
|
|
803
862
|
.diff-preview-inline {
|
|
804
863
|
width: 100%;
|