feat: letta code

This commit is contained in:
cpacker
2025-10-24 21:19:24 -07:00
commit 70ac76040d
139 changed files with 15340 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/**
* ExitPlanMode tool implementation
* Exits plan mode by presenting the plan to the user for approval
*/
interface ExitPlanModeArgs {
plan: string;
}
export async function exit_plan_mode(
args: ExitPlanModeArgs,
): Promise<{ message: string }> {
const { plan: _plan } = args;
// Return confirmation message that plan was approved
// Note: The plan itself should be displayed by the UI/system before this return is shown
return {
message:
"User has approved your plan. You can now start coding.\nStart with updating your todo list if applicable",
};
}