@geminilight/mindos 0.1.0
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.
- package/.env.local.example +38 -0
- package/LICENSE +21 -0
- package/README.md +423 -0
- package/README_zh.md +423 -0
- package/app/README.md +152 -0
- package/app/app/api/ask/route.ts +170 -0
- package/app/app/api/ask-sessions/route.ts +90 -0
- package/app/app/api/auth/route.ts +37 -0
- package/app/app/api/backlinks/route.ts +22 -0
- package/app/app/api/bootstrap/route.ts +37 -0
- package/app/app/api/extract-pdf/route.ts +82 -0
- package/app/app/api/file/route.ts +138 -0
- package/app/app/api/files/route.ts +12 -0
- package/app/app/api/git/route.ts +42 -0
- package/app/app/api/graph/route.ts +113 -0
- package/app/app/api/recent-files/route.ts +10 -0
- package/app/app/api/search/route.ts +17 -0
- package/app/app/api/settings/reset-token/route.ts +21 -0
- package/app/app/api/settings/route.ts +123 -0
- package/app/app/error.tsx +33 -0
- package/app/app/globals.css +368 -0
- package/app/app/icon.svg +35 -0
- package/app/app/layout.tsx +103 -0
- package/app/app/login/page.tsx +120 -0
- package/app/app/page.tsx +12 -0
- package/app/app/view/[...path]/ViewPageClient.tsx +343 -0
- package/app/app/view/[...path]/error.tsx +33 -0
- package/app/app/view/[...path]/loading.tsx +15 -0
- package/app/app/view/[...path]/page.tsx +93 -0
- package/app/components/AskFab.tsx +59 -0
- package/app/components/AskModal.tsx +398 -0
- package/app/components/Backlinks.tsx +75 -0
- package/app/components/Breadcrumb.tsx +31 -0
- package/app/components/CsvView.tsx +325 -0
- package/app/components/DirView.tsx +138 -0
- package/app/components/Editor.tsx +124 -0
- package/app/components/EditorWrapper.tsx +17 -0
- package/app/components/ErrorBoundary.tsx +53 -0
- package/app/components/FileTree.tsx +369 -0
- package/app/components/HomeContent.tsx +262 -0
- package/app/components/JsonView.tsx +27 -0
- package/app/components/MarkdownEditor.tsx +95 -0
- package/app/components/MarkdownView.tsx +118 -0
- package/app/components/SearchModal.tsx +193 -0
- package/app/components/SettingsModal.tsx +237 -0
- package/app/components/Sidebar.tsx +136 -0
- package/app/components/SidebarLayout.tsx +36 -0
- package/app/components/TableOfContents.tsx +150 -0
- package/app/components/ThemeToggle.tsx +34 -0
- package/app/components/WysiwygEditor.tsx +75 -0
- package/app/components/ask/FileChip.tsx +30 -0
- package/app/components/ask/MentionPopover.tsx +52 -0
- package/app/components/ask/MessageList.tsx +126 -0
- package/app/components/ask/SessionHistory.tsx +49 -0
- package/app/components/renderers/AgentInspectorRenderer.tsx +277 -0
- package/app/components/renderers/BacklinksRenderer.tsx +147 -0
- package/app/components/renderers/ConfigRenderer.tsx +236 -0
- package/app/components/renderers/CsvRenderer.tsx +77 -0
- package/app/components/renderers/DiffRenderer.tsx +310 -0
- package/app/components/renderers/GraphRenderer.tsx +428 -0
- package/app/components/renderers/SummaryRenderer.tsx +251 -0
- package/app/components/renderers/TimelineRenderer.tsx +213 -0
- package/app/components/renderers/TodoRenderer.tsx +474 -0
- package/app/components/renderers/WorkflowRenderer.tsx +404 -0
- package/app/components/renderers/csv/BoardView.tsx +146 -0
- package/app/components/renderers/csv/ConfigPanel.tsx +117 -0
- package/app/components/renderers/csv/EditableCell.tsx +43 -0
- package/app/components/renderers/csv/GalleryView.tsx +40 -0
- package/app/components/renderers/csv/TableView.tsx +164 -0
- package/app/components/renderers/csv/types.ts +87 -0
- package/app/components/settings/AiTab.tsx +111 -0
- package/app/components/settings/AppearanceTab.tsx +101 -0
- package/app/components/settings/KnowledgeTab.tsx +157 -0
- package/app/components/settings/PluginsTab.tsx +82 -0
- package/app/components/settings/Primitives.tsx +60 -0
- package/app/components/settings/ShortcutsTab.tsx +22 -0
- package/app/components/settings/types.ts +41 -0
- package/app/components/ui/button.tsx +60 -0
- package/app/components/ui/dialog.tsx +157 -0
- package/app/components/ui/input.tsx +20 -0
- package/app/components/ui/scroll-area.tsx +55 -0
- package/app/components/ui/toggle.tsx +44 -0
- package/app/components/ui/tooltip.tsx +66 -0
- package/app/components.json +25 -0
- package/app/data/pages/home-dark.png +0 -0
- package/app/data/pages/home-mobile-crop.png +0 -0
- package/app/data/pages/home-mobile.png +0 -0
- package/app/data/pages/home.png +0 -0
- package/app/data/pages/view-dir.png +0 -0
- package/app/data/pages/view-file-bot.png +0 -0
- package/app/data/pages/view-file-dark-crop.png +0 -0
- package/app/data/pages/view-file-dark.png +0 -0
- package/app/data/pages/view-file-mobile.png +0 -0
- package/app/data/pages/view-file-sm.png +0 -0
- package/app/data/pages/view-file-top.png +0 -0
- package/app/data/pages/view-file.png +0 -0
- package/app/eslint.config.mjs +18 -0
- package/app/hooks/useAskSession.ts +181 -0
- package/app/hooks/useFileUpload.ts +126 -0
- package/app/hooks/useMention.ts +65 -0
- package/app/lib/LocaleContext.tsx +40 -0
- package/app/lib/actions.ts +40 -0
- package/app/lib/agent/index.ts +3 -0
- package/app/lib/agent/model.ts +18 -0
- package/app/lib/agent/prompt.ts +32 -0
- package/app/lib/agent/tools.ts +151 -0
- package/app/lib/api.ts +55 -0
- package/app/lib/core/backlinks.ts +40 -0
- package/app/lib/core/csv.ts +28 -0
- package/app/lib/core/fs-ops.ts +118 -0
- package/app/lib/core/git.ts +50 -0
- package/app/lib/core/index.ts +58 -0
- package/app/lib/core/lines.ts +89 -0
- package/app/lib/core/search.ts +79 -0
- package/app/lib/core/security.ts +43 -0
- package/app/lib/core/tree.ts +113 -0
- package/app/lib/core/types.ts +40 -0
- package/app/lib/fs.ts +467 -0
- package/app/lib/i18n.ts +300 -0
- package/app/lib/jwt.ts +58 -0
- package/app/lib/renderers/index.ts +79 -0
- package/app/lib/renderers/registry.ts +70 -0
- package/app/lib/settings.ts +150 -0
- package/app/lib/types.ts +32 -0
- package/app/lib/utils.ts +34 -0
- package/app/next-env.d.ts +6 -0
- package/app/next.config.ts +10 -0
- package/app/package-lock.json +15306 -0
- package/app/package.json +71 -0
- package/app/postcss.config.mjs +7 -0
- package/app/proxy.ts +64 -0
- package/app/public/file.svg +1 -0
- package/app/public/globe.svg +1 -0
- package/app/public/landing/index.html +353 -0
- package/app/public/landing/style.css +216 -0
- package/app/public/logo-square.svg +37 -0
- package/app/public/logo.svg +37 -0
- package/app/public/next.svg +1 -0
- package/app/public/vercel.svg +1 -0
- package/app/public/window.svg +1 -0
- package/app/scripts/extract-pdf.cjs +56 -0
- package/app/tsconfig.json +34 -0
- package/app/vitest.config.ts +14 -0
- package/assets/demo-flow-zh.html +622 -0
- package/assets/images/demo-flow-dark.png +0 -0
- package/assets/images/demo-flow-light.png +0 -0
- package/assets/images/demo-flow-zh-dark.png +0 -0
- package/assets/images/demo-flow-zh-light.png +0 -0
- package/assets/images/gui-sync-cv.png +0 -0
- package/assets/logo-square.svg +37 -0
- package/bin/cli.js +894 -0
- package/mcp/README.md +113 -0
- package/mcp/package-lock.json +1717 -0
- package/mcp/package.json +18 -0
- package/mcp/src/index.ts +494 -0
- package/mcp/tsconfig.json +13 -0
- package/package.json +49 -0
- package/scripts/setup.js +675 -0
- package/scripts/upgrade-prompt.md +147 -0
- package/skills/mindos/SKILL.md +319 -0
- package/skills/mindos-zh/SKILL.md +318 -0
- package/templates/README.md +31 -0
- package/templates/empty/CHANGELOG.md +9 -0
- package/templates/empty/CONFIG.json +197 -0
- package/templates/empty/CONFIG.md +73 -0
- package/templates/empty/INSTRUCTION.md +177 -0
- package/templates/empty/README.md +27 -0
- package/templates/en/CHANGELOG.md +9 -0
- package/templates/en/CONFIG.json +197 -0
- package/templates/en/CONFIG.md +73 -0
- package/templates/en/INSTRUCTION.md +177 -0
- package/templates/en/README.md +27 -0
- package/templates/en/TODO.md +13 -0
- package/templates/en//360/237/221/244 Profile/INSTRUCTION.md" +21 -0
- package/templates/en//360/237/221/244 Profile/README.md" +15 -0
- package/templates/en//360/237/221/244 Profile//342/232/231/357/270/217 Preferences.md" +21 -0
- package/templates/en//360/237/221/244 Profile//360/237/216/257 Focus.md" +31 -0
- package/templates/en//360/237/221/244 Profile//360/237/221/244 Identity.md" +22 -0
- package/templates/en//360/237/223/232 Resources/INSTRUCTION.md" +29 -0
- package/templates/en//360/237/223/232 Resources/README.md" +21 -0
- package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Influencers.csv" +1 -0
- package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Products.csv" +1 -0
- package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Scholars.csv" +1 -0
- package/templates/en//360/237/223/232 Resources//360/237/247/276 AI Tools.csv" +1 -0
- package/templates/en//360/237/223/235 Notes/INSTRUCTION.md" +31 -0
- package/templates/en//360/237/223/235 Notes/Ideas/README.md" +8 -0
- package/templates/en//360/237/223/235 Notes/Ideas//360/237/247/252_example_product_idea.md" +16 -0
- package/templates/en//360/237/223/235 Notes/Inbox/README.md" +8 -0
- package/templates/en//360/237/223/235 Notes/Inbox//360/237/247/252_example_quick_capture.md" +14 -0
- package/templates/en//360/237/223/235 Notes/Meetings/README.md" +8 -0
- package/templates/en//360/237/223/235 Notes/Meetings//360/237/247/252_example_meeting_note.md" +17 -0
- package/templates/en//360/237/223/235 Notes/README.md" +24 -0
- package/templates/en//360/237/223/235 Notes/Waiting/README.md" +8 -0
- package/templates/en//360/237/223/235 Notes/Waiting//360/237/247/252_example_blocked_item.md" +16 -0
- package/templates/en//360/237/224/204 Workflows/Configurations/README.md" +3 -0
- package/templates/en//360/237/224/204 Workflows/Configurations//360/237/247/252_example_config_update_sop.md" +14 -0
- package/templates/en//360/237/224/204 Workflows/INSTRUCTION.md" +21 -0
- package/templates/en//360/237/224/204 Workflows/Information/README.md" +16 -0
- package/templates/en//360/237/224/204 Workflows/Information//360/237/247/252_example_info_capture_sop.md" +13 -0
- package/templates/en//360/237/224/204 Workflows/Media/README.md" +16 -0
- package/templates/en//360/237/224/204 Workflows/Media//360/237/247/252_example_content_publish_sop.md" +13 -0
- package/templates/en//360/237/224/204 Workflows/README.md" +22 -0
- package/templates/en//360/237/224/204 Workflows/Research/README.md" +16 -0
- package/templates/en//360/237/224/204 Workflows/Research//360/237/247/252_example_lit_review_sop.md" +16 -0
- package/templates/en//360/237/224/204 Workflows/Startup/README.md" +3 -0
- package/templates/en//360/237/224/204 Workflows/Startup//360/237/247/252_example_weekly_founder_ops.md" +22 -0
- package/templates/en//360/237/224/227 Connections/Classmates/README.md" +11 -0
- package/templates/en//360/237/224/227 Connections/Classmates//360/237/247/252_example_leo_chen.md" +16 -0
- package/templates/en//360/237/224/227 Connections/Colleagues/README.md" +11 -0
- package/templates/en//360/237/224/227 Connections/Colleagues//360/237/247/252_example_ethan_zhao.md" +16 -0
- package/templates/en//360/237/224/227 Connections/Connections Overview.csv" +5 -0
- package/templates/en//360/237/224/227 Connections/Family/README.md" +11 -0
- package/templates/en//360/237/224/227 Connections/Family//360/237/247/252_example_james_wang.md" +16 -0
- package/templates/en//360/237/224/227 Connections/Friends/README.md" +11 -0
- package/templates/en//360/237/224/227 Connections/Friends//360/237/247/252_example_lily_lin.md" +16 -0
- package/templates/en//360/237/224/227 Connections/INSTRUCTION.md" +56 -0
- package/templates/en//360/237/224/227 Connections/README.md" +20 -0
- package/templates/en//360/237/232/200 Projects/Archived/README.md" +9 -0
- package/templates/en//360/237/232/200 Projects/Archived//360/237/247/252_example_archived_project_note.md" +14 -0
- package/templates/en//360/237/232/200 Projects/INSTRUCTION.md" +29 -0
- package/templates/en//360/237/232/200 Projects/Products/README.md" +16 -0
- package/templates/en//360/237/232/200 Projects/Products//360/237/247/252_example_product_project_brief.md" +20 -0
- package/templates/en//360/237/232/200 Projects/README.md" +21 -0
- package/templates/en//360/237/232/200 Projects/Research/README.md" +16 -0
- package/templates/en//360/237/232/200 Projects/Research//360/237/247/252_example_research_project_brief.md" +16 -0
- package/templates/template-generation-skill.md +79 -0
- package/templates/zh/CHANGELOG.md +9 -0
- package/templates/zh/CONFIG.json +197 -0
- package/templates/zh/CONFIG.md +66 -0
- package/templates/zh/INSTRUCTION.md +177 -0
- package/templates/zh/README.md +27 -0
- package/templates/zh/TODO.md +13 -0
- package/templates/zh//360/237/221/244 /347/224/273/345/203/217/INSTRUCTION.md" +28 -0
- package/templates/zh//360/237/221/244 /347/224/273/345/203/217/README.md" +20 -0
- package/templates/zh//360/237/221/244 /347/224/273/345/203/217//342/232/231/357/270/217 Preferences.md" +21 -0
- package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/216/257 Focus.md" +31 -0
- package/templates/zh//360/237/221/244 /347/224/273/345/203/217//360/237/221/244 Identity.md" +22 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220/INSTRUCTION.md" +29 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220/README.md" +21 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI Inferencers.csv" +1 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /344/272/247/345/223/201.csv" +1 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/255/246/350/200/205/346/270/205/345/215/225.csv" +1 -0
- package/templates/zh//360/237/223/232 /350/265/204/346/272/220//360/237/247/276 AI /345/267/245/345/205/267/346/270/205/345/215/225.csv" +1 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260/INSTRUCTION.md" +31 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260/README.md" +24 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//344/274/232/350/256/256/README.md" +8 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//344/274/232/350/256/256//360/237/247/252_example_/344/274/232/350/256/256/347/272/252/350/246/201.md" +17 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//345/276/205/345/217/215/351/246/210/README.md" +8 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//345/276/205/345/217/215/351/246/210//360/237/247/252_example_/345/276/205/345/217/215/351/246/210/344/272/213/351/241/271.md" +16 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/203/263/346/263/225/README.md" +8 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/203/263/346/263/225//360/237/247/252_example_/344/272/247/345/223/201/346/203/263/346/263/225.md" +16 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/224/266/344/273/266/347/256/261/README.md" +8 -0
- package/templates/zh//360/237/223/235 /347/254/224/350/256/260//346/224/266/344/273/266/347/256/261//360/237/247/252_example_/344/270/264/346/227/266/351/200/237/350/256/260.md" +13 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213/INSTRUCTION.md" +29 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213/README.md" +21 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//344/277/241/346/201/257/README.md" +16 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//344/277/241/346/201/257//360/237/247/252_example_/344/277/241/346/201/257/351/207/207/351/233/206/346/265/201/347/250/213.md" +13 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/252/222/344/275/223/README.md" +16 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//345/252/222/344/275/223//360/237/247/252_example_/345/206/205/345/256/271/345/217/221/345/270/203/346/265/201/347/250/213.md" +13 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//347/247/221/347/240/224/README.md" +16 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//347/247/221/347/240/224//360/237/247/252_example_/346/226/207/347/214/256/347/273/274/350/277/260/346/265/201/347/250/213.md" +16 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//351/205/215/347/275/256/README.md" +3 -0
- package/templates/zh//360/237/224/204 /346/265/201/347/250/213//351/205/215/347/275/256//360/237/247/252_example_/351/205/215/347/275/256/346/233/264/346/226/260/346/265/201/347/250/213.md" +26 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273/INSTRUCTION.md" +62 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273/README.md" +20 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/205/263/347/263/273/346/200/273/350/247/210.csv" +5 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/344/272/213/README.md" +11 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/344/272/213//360/237/247/252_example_/345/220/214/344/272/213/350/265/265/344/270/200/350/276/260.md" +16 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/345/255/246/README.md" +11 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/220/214/345/255/246//360/237/247/252_example_/345/220/214/345/255/246/351/231/210/347/253/213/346/254/247.md" +16 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/256/266/344/272/272/README.md" +11 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//345/256/266/344/272/272//360/237/247/252_example_/345/256/266/344/272/272/347/216/213/345/273/272/345/233/275.md" +16 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//346/234/213/345/217/213/README.md" +11 -0
- package/templates/zh//360/237/224/227 /345/205/263/347/263/273//346/234/213/345/217/213//360/237/247/252_example_/346/234/213/345/217/213/346/236/227/345/260/217/344/270/275.md" +16 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256/INSTRUCTION.md" +31 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256/README.md" +21 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//344/272/247/345/223/201/README.md" +16 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//344/272/247/345/223/201//360/237/247/252_example_/344/272/247/345/223/201/351/241/271/347/233/256/347/256/200/346/212/245.md" +20 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//345/267/262/345/275/222/346/241/243/README.md" +9 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//345/267/262/345/275/222/346/241/243//360/237/247/252_example_/345/275/222/346/241/243/351/241/271/347/233/256/350/256/260/345/275/225.md" +15 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//347/247/221/347/240/224/README.md" +16 -0
- package/templates/zh//360/237/232/200 /351/241/271/347/233/256//347/247/221/347/240/224//360/237/247/252_example_/347/247/221/347/240/224/351/241/271/347/233/256/347/256/200/346/212/245.md" +16 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# 🔬 文献综述 SOP 示例:为产品主张提供证据
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
- 为 MindOS 的核心价值主张补充可靠研究证据。
|
|
5
|
+
|
|
6
|
+
## 步骤
|
|
7
|
+
1. 检索 10 篇与记忆系统、Agent 可靠性相关论文。
|
|
8
|
+
2. 提炼 3 条可支撑产品叙事的证据结论。
|
|
9
|
+
3. 每条结论写成“研究结论 -> 产品含义 -> 可宣传语句”。
|
|
10
|
+
4. 将可复用证据沉淀到资源索引,便于后续传播复用。
|
|
11
|
+
|
|
12
|
+
## 产出格式
|
|
13
|
+
- 结论:
|
|
14
|
+
- 证据来源:
|
|
15
|
+
- 产品含义:
|
|
16
|
+
- 对外表达(合规):
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# ⚙️ Agent MCP/Skill 一次配置 SOP 示例
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
- 把 Agent 的 MCP 与 Skill 配置固化到 MindOS。
|
|
5
|
+
- 避免每次新会话都重复手动配置。
|
|
6
|
+
|
|
7
|
+
## 触发条件
|
|
8
|
+
- 新增或更换 MCP 服务。
|
|
9
|
+
- 新增或升级常用 Skill。
|
|
10
|
+
- Agent 行为协议有变更(读取顺序、执行边界、安全规则等)。
|
|
11
|
+
|
|
12
|
+
## 前置输入
|
|
13
|
+
- 目标配置清单(MCP、Skill、行为规则)。
|
|
14
|
+
- 当前模板路径:`templates/zh/`。
|
|
15
|
+
|
|
16
|
+
## 步骤
|
|
17
|
+
1. 新建或更新 Agent 协议文档。
|
|
18
|
+
2. 新建或更新 MCP 清单文档(仅记录流程,不写明文密钥)。
|
|
19
|
+
3. 新建或更新 Skill 清单文档。
|
|
20
|
+
4. 同步 `CONFIG.json` 与 `CONFIG.md`。
|
|
21
|
+
5. 运行 `rg` 清理旧路径与失效引用。
|
|
22
|
+
|
|
23
|
+
## 验收标准
|
|
24
|
+
- 新会话可直接按文档加载 MCP/Skill,无需二次手配。
|
|
25
|
+
- 配置策略与目录规则一致。
|
|
26
|
+
- 对外演示时可体现“低摩擦、可复用、可持续”的产品价值。
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# 关系目录 Instruction Set
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
|
|
5
|
+
- 定义 `🔗 关系/` 目录的局部执行规则。
|
|
6
|
+
- 保证总览索引与人物详情文档的一致性。
|
|
7
|
+
|
|
8
|
+
## 规则优先级
|
|
9
|
+
|
|
10
|
+
- 本目录内规则优先级:
|
|
11
|
+
`根 INSTRUCTION.md` > `本目录 INSTRUCTION.md` > `README.md` > 内容文件。
|
|
12
|
+
- 发生冲突时,一律以根规则为准。
|
|
13
|
+
|
|
14
|
+
## 局部规则
|
|
15
|
+
|
|
16
|
+
- 在目录根下维护总览索引:`关系总览.csv`。
|
|
17
|
+
- 每个人必须有独立 `*.md`,存放在分类目录:`家人/`、`朋友/`、`同学/`、`同事/`。
|
|
18
|
+
- `关系总览.csv` 的 `MdPath` 使用相对路径并指向真实文件。
|
|
19
|
+
- 示例内容只用于参考,不可作为用户真实事实。
|
|
20
|
+
|
|
21
|
+
## 执行顺序
|
|
22
|
+
|
|
23
|
+
1. 先读根 `INSTRUCTION.md`
|
|
24
|
+
2. 再读本文件(`🔗 关系/INSTRUCTION.md`)
|
|
25
|
+
3. 再读 `🔗 关系/README.md` 与 `关系总览.csv`
|
|
26
|
+
4. 再读各分类目录下目标人物 `*.md`
|
|
27
|
+
5. 开始执行
|
|
28
|
+
|
|
29
|
+
## 边界
|
|
30
|
+
|
|
31
|
+
- 与根规则冲突时,根规则优先。
|
|
32
|
+
|
|
33
|
+
## 字段规范
|
|
34
|
+
|
|
35
|
+
`关系总览.csv` 首行表头:
|
|
36
|
+
|
|
37
|
+
- `Name`
|
|
38
|
+
- `Category`
|
|
39
|
+
- `Relationship`
|
|
40
|
+
- `CurrentRole`
|
|
41
|
+
- `Location`
|
|
42
|
+
- `Status`
|
|
43
|
+
- `LastInteraction`
|
|
44
|
+
- `MdPath`
|
|
45
|
+
- `UpdatedAt`
|
|
46
|
+
|
|
47
|
+
说明:
|
|
48
|
+
|
|
49
|
+
- `Category` 取值:`家人|朋友|同学|同事`
|
|
50
|
+
- `MdPath` 使用相对路径(例如 `朋友/张三.md`)
|
|
51
|
+
- `UpdatedAt` 使用 `YYYY-MM-DD`
|
|
52
|
+
|
|
53
|
+
## 同步规则(关系)
|
|
54
|
+
|
|
55
|
+
- 新增人物:在对应分类目录创建人物 `*.md`,并在 `关系总览.csv` 追加一行。
|
|
56
|
+
- 删除或重命名人物文件:同步更新 `关系总览.csv` 与所有引用路径。
|
|
57
|
+
- 人物跨分类迁移:同步更新目录位置、`Category` 与 `MdPath`。
|
|
58
|
+
|
|
59
|
+
## 示例文件约定
|
|
60
|
+
|
|
61
|
+
- 示例文件应直接放在对应分类目录下,命名格式:`🧪_example_xxx.md`。
|
|
62
|
+
- 名称包含 `_example` 或 `_examples` 的文件均不属于用户正式数据。
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 关系
|
|
2
|
+
|
|
3
|
+
用于维护可复用的人际关系信息,帮助 Agent 在沟通与协作中更贴合你的真实语境。
|
|
4
|
+
|
|
5
|
+
## 目录结构
|
|
6
|
+
|
|
7
|
+
- `关系总览.csv`(总览索引)
|
|
8
|
+
- `家人/`
|
|
9
|
+
- `朋友/`
|
|
10
|
+
- `同学/`
|
|
11
|
+
- `同事/`
|
|
12
|
+
|
|
13
|
+
示例文件放在各分类目录下,命名为 `🧪_example_xxx.md`。
|
|
14
|
+
|
|
15
|
+
## 使用说明
|
|
16
|
+
|
|
17
|
+
- 总览数据:先看 `关系总览.csv`,再按需要读取各分类目录下人物 `*.md`。
|
|
18
|
+
- 示例数据:各分类目录下 `🧪_example_xxx.md` 仅用于演示,不作为用户真实信息。
|
|
19
|
+
- 新增人物时,直接在对应分类目录新增人物 `*.md`,并同步更新总览。
|
|
20
|
+
- 字段规范与执行细则以 `INSTRUCTION.md` 为准。
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Name,Category,Relationship,CurrentRole,Location,Status,LastInteraction,MdPath,UpdatedAt
|
|
2
|
+
James Wang,家人,父亲,退休教师,Hangzhou,active,2026-03-01,家人/🧪_example_家人王建国.md,2026-03-10
|
|
3
|
+
Lily Lin,朋友,大学好友,产品经理,Shanghai,active,2026-03-05,朋友/🧪_example_朋友林小丽.md,2026-03-10
|
|
4
|
+
Leo Chen,同学,研究生同学,算法工程师,Beijing,warm,2026-02-20,同学/🧪_example_同学陈立欧.md,2026-03-10
|
|
5
|
+
Ethan Zhao,同事,前同事,技术负责人,Shenzhen,active,2026-03-08,同事/🧪_example_同事赵一辰.md,2026-03-10
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# 项目目录 Instruction Set
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
|
|
5
|
+
- 定义 `🚀 项目/` 目录的局部执行规则。
|
|
6
|
+
- 统一产品项目与科研项目的结构管理方式。
|
|
7
|
+
|
|
8
|
+
## 局部规则
|
|
9
|
+
|
|
10
|
+
- 先读取根 `INSTRUCTION.md`,再读取本文件。
|
|
11
|
+
- 产品项目放在 `产品/`,科研项目放在 `科研/`。
|
|
12
|
+
- 已结束、暂停或终止的项目放在 `已归档/`。
|
|
13
|
+
- 每个项目建议独立目录,避免跨项目文件混放。
|
|
14
|
+
- 项目命名与文档命名应遵守全局命名策略与语言配置。
|
|
15
|
+
|
|
16
|
+
## 执行顺序
|
|
17
|
+
|
|
18
|
+
1. 根 `INSTRUCTION.md`
|
|
19
|
+
2. 本目录 `INSTRUCTION.md`
|
|
20
|
+
3. 本目录 `README.md` 与目标文件
|
|
21
|
+
|
|
22
|
+
## 边界
|
|
23
|
+
|
|
24
|
+
- 与根规则冲突时,根规则优先。
|
|
25
|
+
|
|
26
|
+
## 同步规则(项目)
|
|
27
|
+
|
|
28
|
+
- 新增产品项目:在 `产品/` 下创建项目目录。
|
|
29
|
+
- 新增科研项目:在 `科研/` 下创建项目目录。
|
|
30
|
+
- 项目归档:迁移到 `已归档/` 后,更新相关引用路径。
|
|
31
|
+
- 重命名/删除/移动项目后:同步更新 `🚀 项目/README.md` 与所有路径引用。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# 项目
|
|
2
|
+
|
|
3
|
+
本文件是 `🚀 项目/` 目录的总览与使用约定。
|
|
4
|
+
|
|
5
|
+
## 📁 目录结构
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
🚀 项目/
|
|
9
|
+
├── README.md
|
|
10
|
+
├── INSTRUCTION.md
|
|
11
|
+
├── 科研/
|
|
12
|
+
├── 产品/
|
|
13
|
+
└── 已归档/
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## 💡 使用说明
|
|
17
|
+
|
|
18
|
+
- `科研/`:存放科研项目文档。
|
|
19
|
+
- `产品/`:存放产品项目文档。
|
|
20
|
+
- `已归档/`:存放已结束、暂停或不再活跃的项目资料。
|
|
21
|
+
- 执行与同步规则以 `INSTRUCTION.md` 为准。
|