@aiyiran/myclaw 1.1.94 → 1.1.95
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.
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
var assetExt = (asset.path || '').split('.').pop().toLowerCase();
|
|
792
792
|
var isCSV = assetExt === 'csv';
|
|
793
793
|
var isPDF = assetExt === 'pdf';
|
|
794
|
-
var CODE_EXTS = ['
|
|
794
|
+
var CODE_EXTS = ['ts', 'tsx', 'py', 'sh', 'bash', 'go', 'java', 'c', 'cpp', 'h', 'rs', 'rb', 'php', 'swift', 'kt', 'vue'];
|
|
795
795
|
var isCode = CODE_EXTS.indexOf(assetExt) !== -1;
|
|
796
796
|
var OFFICE_EXTS = ['ppt', 'pptx', 'doc', 'docx', 'xls', 'xlsx'];
|
|
797
797
|
var isOffice = OFFICE_EXTS.indexOf(assetExt) !== -1;
|
|
@@ -1094,6 +1094,7 @@
|
|
|
1094
1094
|
'font-family: monospace',
|
|
1095
1095
|
'line-height: 1.6',
|
|
1096
1096
|
'color: #cdd6f4',
|
|
1097
|
+
'background: #13131f',
|
|
1097
1098
|
'flex: 1',
|
|
1098
1099
|
'white-space: pre',
|
|
1099
1100
|
'tab-size: 2',
|