lea_code 0.0.9
lea_code: ^0.0.9 copied to clipboard
lea_code is a Dart command-line coding assistant powered by Genkit.
0.0.9 #
- Replaced the single
GeneralAgentimplementation with a staged agent workflow made up ofAnalysisAgent,ExecuteAgent, andVerifyAgent. - Added
BaseAgentplus shared read-only and full-access tool mixins so each stage can expose only the tools it needs. - Updated
LeaCodeto orchestrate analysis, execution, and verification passes for each request, including retrying execution up to three times when verification fails. - Added verification prompt/status handling so verifier responses start with
STATUS: PASSorSTATUS: FAILand only the final user-facing result is shown in the terminal. - Turned
lib/agents/general_agent.dartinto a compatibility export for the staged agent classes. - Bumped the package version from
0.0.7to0.0.8.
0.0.7 #
- Replaced the older file and web tool set with a larger runtime-managed tool suite:
read,write,edit,glob,grep,sleep,powershell,ask_user_question,task_create,task_update,task_list,list_mcp_resources, andread_mcp_resource. - Added
ToolRuntimeto track workspace state, remembered file reads, the current working directory, session tasks, approval requests, and interactive multiple-choice questions. - Updated
bashso it runs in the workspace, supportsworkdirandtimeout_ms, formats structured command output, and requests approval for mutating, networked, or otherwise non-read-only commands. - Replaced generated schema-backed tool input models with lightweight JSON schema helpers and removed the old generated files from
lib/models/. - Added tests for command safety rules and runtime file/task behavior.
- Bumped the package version from
0.0.6to0.0.7.
0.0.6 #
- Added OpenAI provider support via
genkit_openai. - Added
--provider/-pto choose betweengoogle(default) andopenai. - Added
--api_key/-kand--base_url/-bfor provider configuration. - Added
--help/-hand--version/-v. - Made
--system_promptoptional and routed it through the agent as output instructions. - Bumped the package version from
0.0.5to0.0.6.
0.0.5 #
- Refactored the CLI around new
LeaCodeandGeneralAgentclasses, replacingLeaCodeEngine. - Added a new
file_edittool backed bysedfor in-place file edits. - Added tool status messaging so tool start and completion updates are shown in the terminal.
- Added a
--max_turns/-tCLI option to control the maximum number of model turns per request. - Changed the installed executable from
lea_codetolea. - Bumped the package version from
0.0.3to0.0.5.
0.0.3 #
- Added a new
web_fetchtool so the assistant can fetch web pages as text. - Registered
web_fetchinLeaCodeEngineso it is available during model generation. - Bumped the package version from
0.0.2to0.0.3.
0.0.2 #
- Bumped the package version from
0.0.1to0.0.2.
0.0.1 #
- Added the initial
lea_codeinteractive CLI entrypoint. - Added Gemini-powered response generation through Genkit and
genkit_google_genai. - Added support for selecting a model with
--model. - Added support for passing a custom system prompt with
--system_prompt. - Added conversation management commands for resetting and exiting the session.
- Added local assistant tools for shell execution, file reads, file writes, string search, and file discovery.
- Added typed tool input models and generated schema files for tool registration.