feat(assistant): adapt native DSH layout and commands into diagnostic workspace

This commit is contained in:
abaishu0730 committed 2026-10-27 16:30:52 +08:00
1 parent e0860afeb3
commit f136e1e503
20 files changed
+415 -54

No files matched your search

+3
View File
@@ -49,6 +49,9 @@ function createAssets(){
'/notifications.js':{path:path.join(webRoot,'modules/notifications/view.js'),type:'text/javascript'},
'/assistant-operations.js':{path:path.join(webRoot,'modules/assistant/operations.js'),type:'text/javascript'},
'/assistant.js':{path:path.join(webRoot,'modules/assistant/view.js'),type:'text/javascript'},
...Object.fromEntries(['dsh-native','layout','conversation','commands','context-panel','events-client'].map(name=>['/assistant-'+name+'.js',{path:path.join(webRoot,'modules/assistant',name+'.js'),type:'text/javascript'}])),
'/assistant-workspace.css':{path:path.join(webRoot,'modules/assistant/workspace.css'),type:'text/css'},
'/vendor/marked.js':{path:path.join(path.dirname(require.resolve('marked')),'marked.umd.js'),type:'text/javascript'},
'/health.js':{path:path.join(webRoot,'modules/health/view.js'),type:'text/javascript'},
'/app.css':{path:path.join(webRoot,'app.css'),type:'text/css'},
'/vendor/tabler.css':{path:require.resolve('@tabler/core/dist/css/tabler.min.css'),type:'text/css'},