This commit is contained in:
@@ -13,6 +13,7 @@ import { SshConnectionsPanel } from './SshConnectionsPanel';
|
||||
import { NotesPanel } from './NotesPanel';
|
||||
import { SubscriptionsPanel } from './SubscriptionsPanel';
|
||||
import { SkillsPanel } from './SkillsPanel';
|
||||
import { MemoryPanel } from './MemoryPanel';
|
||||
/** All subdirs shown in the tree — both real file-based and virtual. */
|
||||
const ALL_SUBDIRS: SubdirId[] = ['agents-md', 'browser-macros', 'recordings', 'notes', 'subscribed-notes', 'pets', 'browser-sessions', 'mcp', 'skills', 'ssh-connections', 'trash', 'memory'];
|
||||
|
||||
@@ -63,8 +64,8 @@ const SUBDIR_INFO: { id: SubdirId; icon: string; title: string; desc: string; ag
|
||||
id: 'memory',
|
||||
icon: '🧠',
|
||||
title: 'memory/',
|
||||
desc: 'エージェントの永続事実置き場。`MEMORY.md` (index) がタスク起動時に system prompt へ自動注入 (32 KB cap)。`{name}.md` は frontmatter (type ∈ user/feedback/project/reference) + 本文の構造。UpdateUserMemory / ReadUserMemory ツール経由でエージェントが管理。',
|
||||
agency: 'エージェント管理 / UI からは read-only',
|
||||
desc: 'エージェントの永続事実置き場。`MEMORY.md` (index) がタスク起動時に system prompt へ自動注入 (32 KB cap)。エントリの閲覧・編集・削除はこのパネルで行う。reflection の実行履歴・revert は Settings → Reflection 履歴。',
|
||||
agency: 'エージェント管理 + ユーザー編集(このパネル)',
|
||||
},
|
||||
{
|
||||
id: 'mcp',
|
||||
@@ -169,7 +170,7 @@ async function apiFolderDelete(subdir: SubdirId, path: string): Promise<void> {
|
||||
}
|
||||
|
||||
/** Virtual subdirs don't have real files on disk */
|
||||
const VIRTUAL_SUBDIRS = new Set<SubdirId>(['agents-md', 'browser-sessions', 'mcp', 'skills', 'pets', 'ssh-connections', 'subscribed-notes']);
|
||||
const VIRTUAL_SUBDIRS = new Set<SubdirId>(['agents-md', 'browser-sessions', 'mcp', 'skills', 'pets', 'ssh-connections', 'subscribed-notes', 'memory']);
|
||||
|
||||
/** Subdirs where users can create new files from the UI */
|
||||
const WRITABLE_USER_SUBDIRS = new Set<SubdirId>(['browser-macros']);
|
||||
@@ -353,6 +354,11 @@ export function UserFolderTab({ showToast }: UserFolderTabProps = {}) {
|
||||
<SkillsPanel />
|
||||
)}
|
||||
|
||||
{/* memory virtual pane */}
|
||||
{isVirtualSelected && selectedSubdir === 'memory' && (
|
||||
<MemoryPanel />
|
||||
)}
|
||||
|
||||
{/* pets virtual pane */}
|
||||
{isVirtualSelected && selectedSubdir === 'pets' && (
|
||||
<PetsPanel showToast={showToast} />
|
||||
|
||||
Reference in New Issue
Block a user