diff --git a/.gitignore b/.gitignore index da0aafe5..d36f5530 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ bin/ .myeclipse node_modules/ dist/ +.gitnexus +/.claude/skills + diff --git a/magic-api-plugins/magic-api-plugin-ai/src/console/src/components/magic-ai-dialog.vue b/magic-api-plugins/magic-api-plugin-ai/src/console/src/components/magic-ai-dialog.vue index 78a6f3d6..e734ec75 100644 --- a/magic-api-plugins/magic-api-plugin-ai/src/console/src/components/magic-ai-dialog.vue +++ b/magic-api-plugins/magic-api-plugin-ai/src/console/src/components/magic-ai-dialog.vue @@ -2,19 +2,46 @@
- AI Coding 助手 - +
+ + + + + + + AI Coding 助手 +
+ + +
-
+
+ + + + + + + + + + + + + +
AI Coding 助手
我可以帮你按照 magic-api 脚本语法生成代码,请描述你的需求。
- {{ s }} + + + + {{ s }}
@@ -25,32 +52,48 @@ :class="['magic-ai-message', msg.role === 'user' ? 'magic-ai-message--user' : 'magic-ai-message--assistant']" >
- - AI + + + + + +
-
-
-
{{ msg.content }}
+
+
+
+
{{ msg.content }}
+ +
-
+
- -
-
AI
-
-
- + +
+
+ + + +
+
+
+
+ +
@@ -59,13 +102,29 @@
+ +
+
+ + +
+
+ + +
+
@@ -73,12 +132,15 @@ ref="inputRef" v-model="inputText" class="magic-ai-textarea" - placeholder="描述你需要实现的功能,按 Enter 发送,Shift+Enter 换行..." + placeholder="描述你需要实现的功能... Enter 发送,Shift+Enter 换行" @keydown="onKeydown" :disabled="loading" + rows="3" >
@@ -88,7 +150,7 @@