新增: 初始化 DevFlow 项目仓库
Tauri 2 + Vue 3 + Vite 6 桌面应用,Rust workspace 含 13 个 crate (df-ai / df-storage / df-workflow / df-core / df-execute 等)。 核心能力:AI 聊天 agentic 循环(工具调用+人工审批)、工作流引擎、 任务/想法/项目/阶段管理、可追溯性,及配套前端组件。
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<div class="ai-detached-shell">
|
||||
<AiChat :detached="true" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import AiChat from '../components/AiChat.vue'
|
||||
import { onMounted } from 'vue'
|
||||
import { useAiStore } from '../stores/ai'
|
||||
|
||||
const store = useAiStore()
|
||||
|
||||
onMounted(async () => {
|
||||
// 标记为分离模式
|
||||
store.state.detached = true
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.ai-detached-shell {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background: var(--df-bg);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user