refactor(agent): remove legacy memory subsystem
This commit is contained in:
parent
700e64342c
commit
0f5bd5fff1
26 changed files with 15 additions and 599 deletions
|
|
@ -48,7 +48,6 @@ ${cyan("Profile Structure:")}
|
|||
- soul.md Agent identity, personality and behavior
|
||||
- user.md Information about the user
|
||||
- workspace.md Workspace rules and conventions
|
||||
- memory.md Persistent knowledge
|
||||
|
||||
${cyan("Examples:")}
|
||||
${dim("# Create a new profile")}
|
||||
|
|
@ -94,7 +93,6 @@ function cmdNew(profileId: string | undefined) {
|
|||
console.log(" - soul.md (identity, personality and behavior)");
|
||||
console.log(" - user.md (information about the user)");
|
||||
console.log(" - workspace.md (workspace rules and conventions)");
|
||||
console.log(" - memory.md (persistent knowledge)");
|
||||
console.log("");
|
||||
console.log("Run interactive setup to personalize your agent:");
|
||||
console.log(` multica profile setup ${profileId}`);
|
||||
|
|
@ -165,11 +163,6 @@ function cmdShow(profileId: string | undefined) {
|
|||
console.log("");
|
||||
}
|
||||
|
||||
if (profile.memory) {
|
||||
console.log(`${green("=== memory.md ===")}`);
|
||||
console.log(profile.memory.trim());
|
||||
console.log("");
|
||||
}
|
||||
}
|
||||
|
||||
async function cmdEdit(profileId: string | undefined) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ function printUsage() {
|
|||
console.log(`${cyan("Usage:")} pnpm agent:interactive [options]`);
|
||||
console.log("");
|
||||
console.log(`${cyan("Options:")}`);
|
||||
console.log(` ${yellow("--profile")} ID Load agent profile (identity, soul, tools, memory)`);
|
||||
console.log(` ${yellow("--profile")} ID Load agent profile (identity, soul, tools)`);
|
||||
console.log(` ${yellow("--provider")} NAME LLM provider (e.g., openai, anthropic, kimi)`);
|
||||
console.log(` ${yellow("--model")} NAME Model name`);
|
||||
console.log(` ${yellow("--system")} TEXT System prompt (ignored if --profile is set)`);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ function printUsage() {
|
|||
console.log(" echo \"your prompt\" | pnpm agent:cli");
|
||||
console.log("");
|
||||
console.log("Options:");
|
||||
console.log(" --profile ID Load agent profile (identity, soul, tools, memory)");
|
||||
console.log(" --profile ID Load agent profile (identity, soul, tools)");
|
||||
console.log(" --provider NAME LLM provider (e.g., openai, anthropic, kimi)");
|
||||
console.log(" --model NAME Model name");
|
||||
console.log(" --api-key KEY API key (overrides environment variable)");
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ function cmdNew(profileId: string | undefined) {
|
|||
console.log(" - soul.md (identity, personality and behavior)");
|
||||
console.log(" - user.md (information about the user)");
|
||||
console.log(" - workspace.md (workspace rules and conventions)");
|
||||
console.log(" - memory.md (persistent knowledge)");
|
||||
console.log("");
|
||||
console.log("Edit these files to customize your agent, then run:");
|
||||
console.log(` pnpm agent:cli --profile ${profileId} "Hello"`);
|
||||
|
|
@ -137,11 +136,6 @@ function cmdShow(profileId: string | undefined) {
|
|||
console.log("");
|
||||
}
|
||||
|
||||
if (profile.memory) {
|
||||
console.log("=== memory.md ===");
|
||||
console.log(profile.memory.trim());
|
||||
console.log("");
|
||||
}
|
||||
}
|
||||
|
||||
async function cmdEdit(profileId: string | undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue