diff --git a/editor/App.vue b/editor/App.vue
index a75810f..f0a8c2d 100644
--- a/editor/App.vue
+++ b/editor/App.vue
@@ -143,9 +143,10 @@ onMounted(() => restoreOrLoad())
@delete-scene="delNode"
@close="store.selectedNodeId = null"
/>
-
+
+
@@ -158,7 +159,7 @@ html, body { width: 100%; height: 100%; overflow: hidden; background: #0a0a16; c
diff --git a/editor/stores/editorStore.ts b/editor/stores/editorStore.ts
index 02b207a..29ffa65 100644
--- a/editor/stores/editorStore.ts
+++ b/editor/stores/editorStore.ts
@@ -26,6 +26,7 @@ export const useEditorStore = defineStore('editor', () => {
const sourcePath = ref('/scenes/demo.json')
const deepseekKey = ref(localStorage.getItem('deepseek_key') || '')
const showAIPanel = ref(false)
+ const aiCollapsed = ref(true)
const aiSessionId = ref('')
const aiChanges = ref(null)
const versions = ref([])
@@ -234,7 +235,7 @@ export const useEditorStore = defineStore('editor', () => {
return {
gameData, selectedNodeId, selectedScene, startSceneId, dirty, sourcePath,
- deepseekKey, showAIPanel, aiSessionId, aiChanges, versions,
+ deepseekKey, showAIPanel, aiSessionId, aiCollapsed, aiChanges, versions,
markDirty, loadJSON, exportJSON, addScene, deleteScene,
updateScene, addChoice, updateChoice, deleteChoice, generateId,
setSourcePath, setDeepseekKey, setAISessionId, clearAISession, autoSave, reloadFromDisk,