[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-augmentcode--augment.vim":3,"tool-augmentcode--augment.vim":65},[4,19,29,38,46,54],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":18},9989,"n8n","n8n-io\u002Fn8n","n8n 是一款面向技术团队的公平代码（fair-code）工作流自动化平台，旨在让用户在享受低代码快速构建便利的同时，保留编写自定义代码的灵活性。它主要解决了传统自动化工具要么过于封闭难以扩展、要么完全依赖手写代码效率低下的痛点，帮助用户轻松连接 400 多种应用与服务，实现复杂业务流程的自动化。\n\nn8n 特别适合开发者、工程师以及具备一定技术背景的业务人员使用。其核心亮点在于“按需编码”：既可以通过直观的可视化界面拖拽节点搭建流程，也能随时插入 JavaScript 或 Python 代码、调用 npm 包来处理复杂逻辑。此外，n8n 原生集成了基于 LangChain 的 AI 能力，支持用户利用自有数据和模型构建智能体工作流。在部署方面，n8n 提供极高的自由度，支持完全自托管以保障数据隐私和控制权，也提供云端服务选项。凭借活跃的社区生态和数百个现成模板，n8n 让构建强大且可控的自动化系统变得简单高效。",184740,2,"2026-04-19T23:22:26",[13,14,15,16,17],"数据工具","开发框架","Agent","图像","插件","ready",{"id":20,"name":21,"github_repo":22,"description_zh":23,"stars":24,"difficulty_score":25,"last_commit_at":26,"category_tags":27,"status":18},10095,"AutoGPT","Significant-Gravitas\u002FAutoGPT","AutoGPT 是一个旨在让每个人都能轻松使用和构建 AI 的强大平台，核心功能是帮助用户创建、部署和管理能够自动执行复杂任务的连续型 AI 智能体。它解决了传统 AI 应用中需要频繁人工干预、难以自动化长流程工作的痛点，让用户只需设定目标，AI 即可自主规划步骤、调用工具并持续运行直至完成任务。\n\n无论是开发者、研究人员，还是希望提升工作效率的普通用户，都能从 AutoGPT 中受益。开发者可利用其低代码界面快速定制专属智能体；研究人员能基于开源架构探索多智能体协作机制；而非技术背景用户也可直接选用预置的智能体模板，立即投入实际工作场景。\n\nAutoGPT 的技术亮点在于其模块化“积木式”工作流设计——用户通过连接功能块即可构建复杂逻辑，每个块负责单一动作，灵活且易于调试。同时，平台支持本地自托管与云端部署两种模式，兼顾数据隐私与使用便捷性。配合完善的文档和一键安装脚本，即使是初次接触的用户也能在几分钟内启动自己的第一个 AI 智能体。AutoGPT 正致力于降低 AI 应用门槛，让人人都能成为 AI 的创造者与受益者。",183572,3,"2026-04-20T04:47:55",[15,28,17,14,16],"语言模型",{"id":30,"name":31,"github_repo":32,"description_zh":33,"stars":34,"difficulty_score":35,"last_commit_at":36,"category_tags":37,"status":18},8272,"opencode","anomalyco\u002Fopencode","OpenCode 是一款开源的 AI 编程助手（Coding Agent），旨在像一位智能搭档一样融入您的开发流程。它不仅仅是一个代码补全插件，而是一个能够理解项目上下文、自主规划任务并执行复杂编码操作的智能体。无论是生成全新功能、重构现有代码，还是排查难以定位的 Bug，OpenCode 都能通过自然语言交互高效完成，显著减少开发者在重复性劳动和上下文切换上的时间消耗。\n\n这款工具专为软件开发者、工程师及技术研究人员设计，特别适合希望利用大模型能力来提升编码效率、加速原型开发或处理遗留代码维护的专业人群。其核心亮点在于完全开源的架构，这意味着用户可以审查代码逻辑、自定义行为策略，甚至私有化部署以保障数据安全，彻底打破了传统闭源 AI 助手的“黑盒”限制。\n\n在技术体验上，OpenCode 提供了灵活的终端界面（Terminal UI）和正在测试中的桌面应用程序，支持 macOS、Windows 及 Linux 全平台。它兼容多种包管理工具，安装便捷，并能无缝集成到现有的开发环境中。无论您是追求极致控制权的资深极客，还是渴望提升产出的独立开发者，OpenCode 都提供了一个透明、可信",144296,1,"2026-04-16T14:50:03",[15,17],{"id":39,"name":40,"github_repo":41,"description_zh":42,"stars":43,"difficulty_score":10,"last_commit_at":44,"category_tags":45,"status":18},6121,"gemini-cli","google-gemini\u002Fgemini-cli","gemini-cli 是一款由谷歌推出的开源 AI 命令行工具，它将强大的 Gemini 大模型能力直接集成到用户的终端环境中。对于习惯在命令行工作的开发者而言，它提供了一条从输入提示词到获取模型响应的最短路径，无需切换窗口即可享受智能辅助。\n\n这款工具主要解决了开发过程中频繁上下文切换的痛点，让用户能在熟悉的终端界面内直接完成代码理解、生成、调试以及自动化运维任务。无论是查询大型代码库、根据草图生成应用，还是执行复杂的 Git 操作，gemini-cli 都能通过自然语言指令高效处理。\n\n它特别适合广大软件工程师、DevOps 人员及技术研究人员使用。其核心亮点包括支持高达 100 万 token 的超长上下文窗口，具备出色的逻辑推理能力；内置 Google 搜索、文件操作及 Shell 命令执行等实用工具；更独特的是，它支持 MCP（模型上下文协议），允许用户灵活扩展自定义集成，连接如图像生成等外部能力。此外，个人谷歌账号即可享受免费的额度支持，且项目基于 Apache 2.0 协议完全开源，是提升终端工作效率的理想助手。",100752,"2026-04-10T01:20:03",[17,15,16,14],{"id":47,"name":48,"github_repo":49,"description_zh":50,"stars":51,"difficulty_score":10,"last_commit_at":52,"category_tags":53,"status":18},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[17,14],{"id":55,"name":56,"github_repo":57,"description_zh":58,"stars":59,"difficulty_score":10,"last_commit_at":60,"category_tags":61,"status":18},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",85267,"2026-04-18T11:00:28",[16,13,62,17,15,63,28,14,64],"视频","其他","音频",{"id":66,"github_repo":67,"name":68,"description_en":69,"description_zh":70,"ai_summary_zh":70,"readme_en":71,"readme_zh":72,"quickstart_zh":73,"use_case_zh":74,"hero_image_url":75,"owner_login":76,"owner_name":77,"owner_avatar_url":78,"owner_bio":79,"owner_company":80,"owner_location":80,"owner_email":81,"owner_twitter":76,"owner_website":82,"owner_url":83,"languages":84,"stars":93,"forks":94,"last_commit_at":95,"license":96,"difficulty_score":10,"env_os":97,"env_gpu":98,"env_ram":98,"env_deps":99,"category_tags":105,"github_topics":106,"view_count":10,"oss_zip_url":80,"oss_zip_packed_at":80,"status":18,"created_at":111,"updated_at":112,"faqs":113,"releases":144},10028,"augmentcode\u002Faugment.vim","augment.vim","AI-augmented development in Vim and Neovim","augment.vim 是一款专为 Vim 和 Neovim 开发者打造的 AI 编程辅助插件，旨在将智能代码补全与多轮对话聊天功能无缝集成到经典的编辑器环境中。它主要解决了开发者在纯键盘操作的终端界面中难以高效利用大模型能力、以及传统补全工具缺乏项目整体上下文理解的痛点。\n\n无论是习惯使用 Vim 的老牌工程师，还是偏好 Neovim 的现代开发者，只要希望在不离开编辑器的情况下获得更精准的编码建议，都适合使用 augment.vim。其核心亮点在于拥有与 VSCode 及 IntelliJ 插件相同的底层上下文引擎：通过配置“工作区文件夹”，augment.vim 能深入理解整个项目的代码结构与规范，而不仅仅局限于当前打开的文件。这使得它提供的行内代码补全更加符合项目风格，同时支持通过 `:Augment chat` 命令发起针对代码库的深度问答或重构请求。只需简单的安装与登录配置，用户即可在熟悉的 Vim 环境中享受上下文感知的智能开发体验，显著提升编码效率与准确性。","# Augment Vim & Neovim Plugin\n\n## A Quick Tour\n\nAugment's Vim\u002FNeovim plugin provides inline code completions and multi-turn\nchat conversations specially tailored to your codebase. The plugin is designed\nto work with any modern Vim or Neovim setup, and features the same underlying\ncontext engine that powers our VSCode and IntelliJ plugins.\n\nOnce you've installed the plugin, tell Augment about your project by adding\n[workspace folders](#workspace-folders) to your config file, and then sign-in\nto the Augment service. You can now open a source file in your project, begin\ntyping, and you should receive context-aware code completions. Use tab to\naccept a suggestion, or keep typing to refine the suggestions. To ask questions\nabout your codebase or request specific changes, use the `:Augment chat` command\nto start a chat conversation.\n\n## Getting Started\n\n1. Sign up for a free trial of Augment at\n   [augmentcode.com](https:\u002F\u002Faugmentcode.com).\n\n1. Ensure you have a compatible editor version installed. Both Vim and Neovim\n   are supported, but the plugin may require a newer version than what is\n   installed on your system by default.\n\n   - For [Vim](https:\u002F\u002Fgithub.com\u002Fvim\u002Fvim?tab=readme-ov-file#installation),\n     version 9.1.0 or newer.\n\n   - For\n     [Neovim](https:\u002F\u002Fgithub.com\u002Fneovim\u002Fneovim\u002Ftree\u002Fmaster?tab=readme-ov-file#install-from-package),\n     version 0.10.0 or newer.\n\n1. Install [Node.js](https:\u002F\u002Fnodejs.org\u002Fen\u002Fdownload\u002Fpackage-manager\u002Fall),\n   version 22.0.0 or newer, which is a required dependency.\n\n1. Install the plugin\n\n    - Manual installation (Vim):\n\n        ```bash\n        git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git \\\n            ~\u002F.vim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n        ```\n\n    - Manual installation (Neovim):\n\n        ```bash\n        git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git \\\n            ~\u002F.config\u002Fnvim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n        ```\n\n    - Vim Plug:\n\n        ```vim\n        Plug 'augmentcode\u002Faugment.vim'\n        ```\n\n    - Lazy.nvim:\n\n        ```lua\n        { 'augmentcode\u002Faugment.vim' },\n        ```\n\n1. Add workspace folders to your config file. This is really essential to getting the most out of augment! See the [Workspace Folders](#workspace-folders) section for more information.\n\n1. Open Vim and sign in to Augment with the `:Augment signin` command.\n\n## Basic Usage\n\nOpen a file in vim, start typing, and use tab to accept suggestions as they\nappear.\n\nThe following commands are provided:\n\n```vim\n:Augment status        \" View the current status of the plugin\n:Augment signin        \" Start the sign in flow\n:Augment signout       \" Sign out of Augment\n:Augment log           \" View the plugin log\n:Augment chat          \" Send a chat message to Augment AI\n:Augment chat-new      \" Start a new chat conversation\n:Augment chat-toggle   \" Toggle the chat panel visibility\n```\n\n## Workspace Folders\n\nWorkspace folders help Augment understand your codebase better by providing\nadditional context. Adding your project's root directory as a workspace folder\nallows Augment to take advantage of context from across your project, rather\nthan just the currently open file, improving the accuracy and style of\ncompletions and chat.\n\nYou can configure workspace folders by setting\n`g:augment_workspace_folders` in your vimrc:\n\n```vim\nlet g:augment_workspace_folders = ['\u002Fpath\u002Fto\u002Fproject', '~\u002Fanother-project']\n```\n\nWorkspace folders can be specified using absolute paths or paths relative to\nyour home directory (~). Adding your project's root directory as a workspace\nfolder helps Augment generate completions that match your codebase's patterns\nand conventions.\n\nNote: This option must be set before the plugin is loaded.\n\nAfter adding a workspace folder and restarting vim, the output of the\n`:Augment status` command will include the syncing progress for the added\nfolder.\n\nIf you want to ignore particular files or directories from your workspace, you\ncan create a `.augmentignore` file in the root of your workspace folder. This\nfile is treated similar to a `.gitignore` file. For example, to ignore all\nfiles within the `node_modules` directory, you can add\nthe following lines to your `.augmentignore` file:\n\n```\nnode_modules\u002F\n```\n\nFor more information on how to use the `.augmentignore` file, see the [documentation](https:\u002F\u002Fdocs.augmentcode.com\u002Fsetup-augment\u002Fsync).\n\n\n## Chat\n\nAugment chat supports multi-turn conversations using your project's full\ncontext. Once a conversation is started, subsequent chat exchanges will include\nthe history from the previous exchanges. This is useful for asking follow-up\nquestions or getting context-specific help.\n\nYou can interact with chat in two ways:\n\n1. Direct command with message:\n\n    ```vim\n    :Augment chat How do I implement binary search?\n    ```\n\n2. With selected text:\n\n   - Select text in visual mode\n\n   - Type `:Augment chat` followed by your question about the selection\n\nThe response will appear in a separate chat buffer with markdown formatting.\n\nTo start a new conversation, use the `:Augment chat-new` command. This will\nclear the chat history from your context.\n\nUse the `:Augment chat-toggle` command to open and close the chat panel. When\nthe chat panel is closed, the chat conversation will be preserved and can be\nreopened with the same command.\n\n## Alternate Keybinds\n\nBy default, tab is used to accept a suggestion. If you want to use a\ndifferent key, create a mapping that calls `augment#Accept()`. The function\ntakes an optional argument used to specify the fallback text to insert if no\nsuggestion is available.\n\n```vim\n\" Use Ctrl-Y to accept a suggestion\ninoremap \u003Cc-y> \u003Ccmd>call augment#Accept()\u003Ccr>\n\n\" Use enter to accept a suggestion, falling back to a newline if no suggestion\n\" is available\ninoremap \u003Ccr> \u003Ccmd>call augment#Accept(\"\\n\")\u003Ccr>\n```\n\nThe default tab mapping can be disabled by setting\n`g:augment_disable_tab_mapping = v:true` before the plugin is loaded.\n\nCompletions can be disabled entirely by setting\n`g:augment_disable_completions = v:true` in your vimrc or at any time during\nediting.\n\nIf another plugin uses tab in insert mode, the Augment tab mapping may be\noverridden depending on the order in which the plugins are loaded. If tab isn't\nworking for you, the `imap \u003Ctab>` command can be used to check if the mapping is\npresent.\n\n## FAQ\n\n**Q: I'm not seeing any completions. Is the plugin working?**\n\nA: You may want to first check the output of the `:Augment status` command.\nThis command will show the current status of the plugin, including whether\nyou're signed in and whether your workspace folders are synced. If you're not\nsigned in, you'll need to sign in using the `:Augment signin` command. If those\nare not indicating a problem, you can check the plugin log using the `:Augment\nlog` command. This will show any errors that may have occurred.\n\n**Q: Can I create shortcuts for the Augment commands?**\n\nA: Absolutely! You can create mappings for any of the Augment commands. For\nexample, to create a shortcut for the `:Augment chat*` commands, you can add the\nfollowing to your vimrc:\n\n```vim\nnnoremap \u003Cleader>ac :Augment chat\u003CCR>\nvnoremap \u003Cleader>ac :Augment chat\u003CCR>\nnnoremap \u003Cleader>an :Augment chat-new\u003CCR>\nnnoremap \u003Cleader>at :Augment chat-toggle\u003CCR>\n```\n\n**Q: My workspace is taking a long time to sync. What should I do?**\n\nA: It may take a while to sync if you have a very large codebase that has not\nbeen synced before. It's also not uncommon to inadvertenly include a large\ndirectory like `node_modules\u002F`. You can use `:Augment status` to see the\nprogress of the sync. If the sync is making progress but just slow, it may be\nworth checking if you have a large directory that you don't need to sync. You\ncan add these directories to your `.augmentignore` file to exclude it from the\nsync. If you're still having trouble, please file a github issue with a\ndescription of the problem and include the output of `:Augment log`.\n\n\n## Licensing and Distribution\n\nThis repository includes two main components:\n\n1. **Vim Plugin:** This includes all files in the repository except `dist` folder. These files are licensed under the [MIT License](LICENSE.md#vim-plugin).\n2. **Server (`dist` folder):** This file is proprietary and licensed under a [Custom Proprietary License](LICENSE.md#server).\n\nFor details on usage restrictions, refer to the [LICENSE.md](LICENSE.md) file.\n\n## Reporting Issues\n\nWe encourage users to report any bugs or issues directly to us. Please use the [Issues](https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues) section of this repository to share your feedback.\n\nFor any other questions, feel free to reach out to support@augmentcode.com.\n","# Augment Vim & Neovim 插件\n\n## 快速入门\n\nAugment 的 Vim\u002FNeovim 插件提供内联代码补全和多轮聊天对话，这些功能专为您的代码库量身定制。该插件设计用于与任何现代 Vim 或 Neovim 环境无缝协作，并采用了与我们的 VSCode 和 IntelliJ 插件相同的底层上下文引擎。\n\n安装插件后，您需要通过在配置文件中添加[工作区文件夹](#workspace-folders)来告知 Augment 您的项目信息，然后登录 Augment 服务。之后，您可以在项目中打开一个源文件并开始输入，系统应会为您提供基于上下文的代码补全建议。您可以使用 Tab 键接受建议，也可以继续输入以进一步优化建议。若要询问有关代码库的问题或请求特定更改，可以使用 `:Augment chat` 命令启动聊天对话。\n\n## 开始使用\n\n1. 在 [augmentcode.com](https:\u002F\u002Faugmentcode.com) 注册 Augment 的免费试用版。\n\n2. 确保已安装兼容的编辑器版本。Vim 和 Neovim 均受支持，但该插件可能需要比系统默认安装的更新版本。\n\n   - 对于 [Vim](https:\u002F\u002Fgithub.com\u002Fvim\u002Fvim?tab=readme-ov-file#installation)，版本需为 9.1.0 或更高。\n   \n   - 对于 [Neovim](https:\u002F\u002Fgithub.com\u002Fneovim\u002Fneovim\u002Ftree\u002Fmaster?tab=readme-ov-file#install-from-package)，版本需为 0.10.0 或更高。\n\n3. 安装 [Node.js](https:\u002F\u002Fnodejs.org\u002Fen\u002Fdownload\u002Fpackage-manager\u002Fall)，版本需为 22.0.0 或更高，这是必需的依赖项。\n\n4. 安装插件：\n\n   - 手动安装（Vim）：\n     ```bash\n     git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git ~\u002F.vim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n     ```\n\n   - 手动安装（Neovim）：\n     ```bash\n     git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git ~\u002F.config\u002Fnvim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n     ```\n\n   - Vim Plug：\n     ```vim\n     Plug 'augmentcode\u002Faugment.vim'\n     ```\n\n   - Lazy.nvim：\n     ```lua\n     { 'augmentcode\u002Faugment.vim' },\n     ```\n\n5. 在配置文件中添加工作区文件夹。这是充分发挥 Augment 功能的关键步骤！更多信息请参阅[工作区文件夹](#workspace-folders)部分。\n\n6. 打开 Vim 并使用 `:Augment signin` 命令登录 Augment。\n\n## 基本用法\n\n在 Vim 中打开一个文件，开始输入，并在出现建议时使用 Tab 键接受。\n\n插件提供了以下命令：\n\n```vim\n:Augment status        \" 查看插件当前状态\n:Augment signin        \" 启动登录流程\n:Augment signout       \" 退出 Augment 登录\n:Augment log           \" 查看插件日志\n:Augment chat          \" 向 Augment AI 发送聊天消息\n:Augment chat-new      \" 开始新的聊天对话\n:Augment chat-toggle   \" 切换聊天面板的可见性\n```\n\n## 工作区文件夹\n\n工作区文件夹通过提供额外的上下文，帮助 Augment 更好地理解您的代码库。将项目的根目录添加为工作区文件夹，可以让 Augment 利用整个项目中的上下文信息，而不仅仅是当前打开的文件，从而提高补全和聊天的准确性和一致性。\n\n您可以通过在 vimrc 文件中设置 `g:augment_workspace_folders` 来配置工作区文件夹：\n\n```vim\nlet g:augment_workspace_folders = ['\u002Fpath\u002Fto\u002Fproject', '~\u002Fanother-project']\n```\n\n工作区文件夹可以使用绝对路径或相对于用户主目录 (~) 的路径来指定。将项目根目录添加为工作区文件夹，有助于 Augment 生成符合您代码库风格和规范的补全建议。\n\n注意：此选项必须在插件加载之前设置。\n\n添加工作区文件夹并重启 Vim 后，`:Augment status` 命令的输出将包含已添加文件夹的同步进度。\n\n如果您希望忽略工作区中的某些文件或目录，可以在工作区文件夹的根目录下创建 `.augmentignore` 文件。该文件的处理方式类似于 `.gitignore` 文件。例如，要忽略 `node_modules` 目录中的所有文件，您可以在 `.augmentignore` 文件中添加以下内容：\n\n```\nnode_modules\u002F\n```\n\n有关如何使用 `.augmentignore` 文件的更多信息，请参阅 [文档](https:\u002F\u002Fdocs.augmentcode.com\u002Fsetup-augment\u002Fsync)。\n\n## 聊天\n\nAugment 聊天支持利用项目完整上下文的多轮对话。一旦开始对话，后续的每轮交流都会包含之前的对话历史。这对于提出后续问题或获取特定于上下文的帮助非常有用。\n\n您可以通过两种方式与聊天交互：\n\n1. 直接输入命令及消息：\n   ```vim\n   :Augment chat 如何实现二分查找？\n   ```\n\n2. 使用选中文本：\n   - 在可视模式下选择文本\n   - 输入 `:Augment chat`，后跟您对所选内容的提问\n   随后，回复将以 Markdown 格式显示在一个独立的聊天缓冲区中。\n\n要开始新的对话，可以使用 `:Augment chat-new` 命令。这将清除上下文中已有的聊天记录。\n\n使用 `:Augment chat-toggle` 命令可以打开或关闭聊天面板。当聊天面板关闭时，聊天对话仍会被保留，可通过同一命令重新打开。\n\n## 替代快捷键\n\n默认情况下，Tab 键用于接受建议。如果您想使用其他按键，可以创建一个调用 `augment#Accept()` 的映射。该函数接受一个可选参数，用于指定在没有可用建议时插入的后备文本。\n\n```vim\n\" 使用 Ctrl-Y 接受建议\ninoremap \u003Cc-y> \u003Ccmd>call augment#Accept()\u003Ccr>\n\n\" 使用 Enter 接受建议，若无建议则插入换行符\ninoremap \u003Ccr> \u003Ccmd>call augment#Accept(\"\\n\")\u003Ccr>\n```\n\n默认的 Tab 映射可以通过在插件加载前设置 `g:augment_disable_tab_mapping = v:true` 来禁用。\n\n您还可以通过在 vimrc 中或编辑过程中随时设置 `g:augment_disable_completions = v:true` 来完全禁用代码补全功能。\n\n如果其他插件在插入模式下使用了 Tab 键，Augment 的 Tab 映射可能会被覆盖，具体取决于插件加载的顺序。如果 Tab 键无法正常工作，可以使用 `imap \u003Ctab>` 命令检查该映射是否存在。\n\n## 常见问题解答\n\n**问：我没有看到任何补全提示。插件是否正常工作？**\n\n答：您可以先检查 `:Augment status` 命令的输出。该命令会显示插件的当前状态，包括您是否已登录以及工作区文件夹是否已同步。如果您尚未登录，需要使用 `:Augment signin` 命令进行登录。如果这些信息并未显示问题，您可以使用 `:Augment log` 命令查看插件日志，以了解可能发生的错误。\n\n**问：我可以为 Augment 命令创建快捷键吗？**\n\n答：当然可以！您可以为任何 Augment 命令创建映射。例如，要为 `:Augment chat*` 命令创建快捷键，可以在您的 vimrc 文件中添加以下内容：\n\n```vim\nnnoremap \u003Cleader>ac :Augment chat\u003CCR>\nvnoremap \u003Cleader>ac :Augment chat\u003CCR>\nnnoremap \u003Cleader>an :Augment chat-new\u003CCR>\nnnoremap \u003Cleader>at :Augment chat-toggle\u003CCR>\n```\n\n**问：我的工作区同步花费了很长时间。我该怎么办？**\n\n答：如果您的代码库非常庞大且之前从未同步过，同步可能需要较长时间。此外，无意中包含像 `node_modules\u002F` 这样的大目录也很常见。您可以使用 `:Augment status` 查看同步进度。如果同步正在进行但速度很慢，建议检查是否存在不需要同步的大目录。您可以将这些目录添加到 `.augmentignore` 文件中，以将其排除在同步之外。如果您仍然遇到问题，请提交一个 GitHub 问题，并附上问题描述及 `:Augment log` 的输出。\n\n## 许可与分发\n\n本仓库包含两个主要组件：\n\n1. **Vim 插件：** 包括仓库中除 `dist` 文件夹外的所有文件。这些文件采用 [MIT 许可证](LICENSE.md#vim-plugin) 许可。\n2. **服务器（`dist` 文件夹）：** 该文件为专有软件，采用 [自定义专有许可证](LICENSE.md#server) 许可。\n\n有关使用限制的详细信息，请参阅 [LICENSE.md](LICENSE.md) 文件。\n\n## 报告问题\n\n我们鼓励用户直接向我们报告任何错误或问题。请使用本仓库的 [Issues](https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues) 部分分享您的反馈。\n\n如有其他问题，欢迎随时联系 support@augmentcode.com。","# Augment.vim 快速上手指南\n\nAugment 是一款专为 Vim 和 Neovim 设计的 AI 编程助手插件，提供基于项目上下文的行内代码补全和多轮对话功能。\n\n## 环境准备\n\n在开始之前，请确保您的系统满足以下要求：\n\n*   **编辑器版本**：\n    *   **Vim**: 9.1.0 或更高版本\n    *   **Neovim**: 0.10.0 或更高版本\n*   **前置依赖**：\n    *   **Node.js**: 22.0.0 或更高版本（必需）\n\n> **提示**：如果系统默认包管理器提供的版本过旧，建议通过官方源或版本管理工具（如 `nvm`）安装最新版的 Node.js。\n\n## 安装步骤\n\n### 1. 注册账号\n访问 [augmentcode.com](https:\u002F\u002Faugmentcode.com) 注册免费试用账号。\n\n### 2. 安装插件\n根据您的插件管理器选择以下一种方式安装：\n\n**方式 A：使用 vim-plug**\n在 `.vimrc` 或 `init.vim` 中添加：\n```vim\nPlug 'augmentcode\u002Faugment.vim'\n```\n然后重启 Vim 并运行 `:PlugInstall`。\n\n**方式 B：使用 lazy.nvim (Neovim)**\n在配置文件中添加：\n```lua\n{ 'augmentcode\u002Faugment.vim' },\n```\n\n**方式 C：手动安装**\n*   **Vim**:\n    ```bash\n    git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git \\\n        ~\u002F.vim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n    ```\n*   **Neovim**:\n    ```bash\n    git clone https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim.git \\\n        ~\u002F.config\u002Fnvim\u002Fpack\u002Faugment\u002Fstart\u002Faugment.vim\n    ```\n\n### 3. 配置工作区 (关键步骤)\n为了让 AI 理解您的整个项目上下文，必须在插件加载前配置工作区文件夹。请在配置文件（`.vimrc` 或 `init.lua` 对应的 vimscript 部分）中添加：\n\n```vim\n\" 将路径替换为您项目的实际根目录\nlet g:augment_workspace_folders = ['\u002Fpath\u002Fto\u002Fyour\u002Fproject']\n```\n*支持绝对路径或以 `~` 开头的相对路径。*\n\n### 4. 登录服务\n重启编辑器后，运行以下命令进行登录：\n```vim\n:Augment signin\n```\n按照提示完成认证流程。\n\n## 基本使用\n\n### 代码补全\n1. 打开项目中的源代码文件。\n2. 开始输入代码，AI 会根据项目上下文提供灰色的补全建议。\n3. 按 **Tab** 键接受建议，或继续打字以忽略建议。\n\n### AI 对话\n您可以随时与 AI 讨论代码或请求修改：\n\n*   **直接提问**：\n    ```vim\n    :Augment chat 如何实现二分查找？\n    ```\n*   **基于选中代码提问**：\n    1. 在可视模式（Visual Mode）下选中代码。\n    2. 输入 `:Augment chat` 并按回车，随后输入您的问题。\n\n回答将在独立的聊天缓冲区中以 Markdown 格式显示。\n\n### 常用命令速查\n| 命令 | 功能描述 |\n| :--- | :--- |\n| `:Augment status` | 查看插件状态及工作区同步进度 |\n| `:Augment chat` | 发送消息或开始对话 |\n| `:Augment chat-new` | 开启新的对话会话（清除历史） |\n| `:Augment chat-toggle` | 显示\u002F隐藏聊天面板 |\n| `:Augment log` | 查看插件日志（用于排查问题） |\n\n### 自定义快捷键 (可选)\n默认使用 `Tab` 接受补全。如需修改，可在配置中映射 `augment#Accept()` 函数：\n\n```vim\n\" 使用 Ctrl-Y 接受建议\ninoremap \u003Cc-y> \u003Ccmd>call augment#Accept()\u003Ccr>\n\n\" 使用 Enter 接受建议，若无建议则换行\ninoremap \u003Ccr> \u003Ccmd>call augment#Accept(\"\\n\")\u003Ccr>\n```","资深后端工程师正在使用 Neovim 重构一个遗留的单体电商项目，需要在不破坏现有架构的前提下快速添加新的支付接口。\n\n### 没有 augment.vim 时\n- **上下文割裂**：编写新代码时，必须手动切换缓冲区去查找项目中分散的工具类函数和数据库模型定义，频繁中断编码心流。\n- **风格不一致**：由于不熟悉旧项目的命名规范和错误处理模式，编写的代码常需经过多轮人工审查才能符合团队标准。\n- **沟通成本高**：遇到复杂的业务逻辑疑问时，只能暂停工作去查阅文档或在即时通讯软件中向同事提问，等待回复耗时较长。\n- **配置繁琐**：试图寻找支持 Vim 的智能补全插件时，发现大多数现代 AI 工具仅支持 VSCode，难以在终端环境中获得同等体验。\n\n### 使用 augment.vim 后\n- **全局感知补全**：通过在配置中设定 `g:augment_workspace_folders`，augment.vim 自动索引整个项目，输入时即可基于跨文件的上下文提供精准的行内代码补全。\n- **风格自动对齐**：生成的代码片段天然契合项目现有的架构模式和编码规范，显著减少了后续代码审查和返工的时间。\n- **即时交互问答**：直接在编辑器内运行 `:Augment chat` 命令，即可针对当前代码库的具体逻辑进行多轮对话，瞬间获取重构建议或解释复杂流程。\n- **原生无缝集成**：无需离开熟悉的 Neovim 环境或妥协于轻量级编辑器，直接享受与主流 IDE 同级别的 AI 辅助开发能力。\n\naugment.vim 让开发者在保持高效终端工作流的同时，获得了理解全项目上下文的智能编程伙伴，极大提升了重构与维护效率。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Faugmentcode_augment.vim_a217518c.png","augmentcode","Augment Code","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Faugmentcode_083527b4.png","Developer AI that deeply understands your codebase and how your team builds software.",null,"auggie@augmentcode.com","https:\u002F\u002Faugmentcode.com\u002F","https:\u002F\u002Fgithub.com\u002Faugmentcode",[85,89],{"name":86,"color":87,"percentage":88},"Vim Script","#199f4b",95.4,{"name":90,"color":91,"percentage":92},"Lua","#000080",4.6,612,67,"2026-04-13T11:46:44","NOASSERTION","未说明 (支持任何可运行兼容版本 Vim\u002FNeovim 和 Node.js 的系统)","未说明",{"notes":100,"python":101,"dependencies":102},"该工具为客户端插件，核心逻辑依赖云端服务。用户需注册 Augment 账号并登录使用。需在配置文件中设置工作区文件夹以获取上下文感知功能。可通过 .augmentignore 文件排除不需要同步的目录。","不需要",[103,104],"Vim >= 9.1.0 或 Neovim >= 0.10.0","Node.js >= 22.0.0",[17],[107,108,109,110],"neovim","neovim-plugin","vim","vim-plugin","2026-03-27T02:49:30.150509","2026-04-20T16:46:07.050536",[114,119,124,129,134,139],{"id":115,"question_zh":116,"answer_zh":117,"source_url":118},45049,"在 Neovim 中使用 :Augment signin 登录时失败，提示错误且剪贴板中复制的是包含 code 的 JSON 对象而非纯代码，如何解决？","这是旧版本的已知问题。维护者已在 0.25.1 版本中修复了认证 URL 过长和错误提示不明确的问题，请升级到最新版本重试。\n如果是 Mac 用户，尝试使用 Cmd+Shift+Click 点击链接可能有效。\n若仍无法解决，可以通过修改 client.vim 强制输出完整的认证 URL 进行手动登录。在 `s:HandleLogin` 函数中添加 `echo url` 来打印 URL，然后在浏览器打开该 URL 获取代码并粘贴回 Neovim。\n修改示例：\n```vim\nlet url = a:result.url\necho url \u003C---------- 在此处添加 echo\nlet prompt = printf(\"Please complete authentication in your browser...\\n%s\\n\\nAfter authenticating, you will receive a code.\\nPaste the code in the prompt below.\", url)\nlet code = inputsecret(prompt . \"\\n\\nEnter the authentication code: \")\ncall a:client.Request('augment\u002Ftoken', {'code': code})\n```","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F4",{"id":120,"question_zh":121,"answer_zh":122,"source_url":123},45050,"Vim\u002FNeovim 插件是否支持 Agent 模式（智能体模式）？","目前不支持。维护者明确表示，Agent 模式仅在 VSCode 和 JetBrains IDE 中可用，暂时没有任何计划在 Vim 或 Neovim 插件中实现该功能。如果您主要需要 Agent 功能，可能需要继续使用其他编辑器或等待官方未来的规划。","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F24",{"id":125,"question_zh":126,"answer_zh":127,"source_url":128},45051,"Vim\u002FNeovim 插件是否实现了\"Next Edit\"（下一步编辑）功能？","目前没有实现，且官方暂无计划（not planned）在 Vim 插件中支持此功能。该功能目前仅在其他支持的编辑器中可用。","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F25",{"id":130,"question_zh":131,"answer_zh":132,"source_url":133},45052,"如何在聊天窗口中直接应用 AI 生成的代码建议（如 EDIT 代码块），而不是手动复制粘贴？","该功能目前尚未实现，也没有在积极开发中。用户目前仍需手动将聊天窗口中生成的代码（Markdown 或 XML 格式）复制并粘贴到编辑器中进行应用。建议关注官方后续更新，但目前需接受这一限制。","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F5",{"id":135,"question_zh":136,"answer_zh":137,"source_url":138},45053,"遇到登录失败或防火墙相关错误（如提示添加 allowlist），但在 Vim 插件仓库提问未获解决怎么办？","请注意该 GitHub 仓库专门用于 Augment 的 Vim\u002FNeovim 插件。如果您使用的是 VS Code 或其他编辑器遇到登录或防火墙问题（例如需要放行 https:\u002F\u002Fd18.api.augmentcode.com\u002F），请访问官方的支持页面或加入 Discord 社区寻求帮助，因为 Vim 插件维护者不处理其他编辑器的问题。\nVS Code 用户支持链接：https:\u002F\u002Fdocs.augmentcode.com\u002Ftroubleshooting\u002Fsupport#getting-help-with-augment","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F15",{"id":140,"question_zh":141,"answer_zh":142,"source_url":143},45054,"有没有推荐的替代方案或配合使用的插件来获得更好的 UI 体验或自动补全支持？","由于原生插件在某些 UI 交互上较为简陋，社区推荐以下方案：\n1. 使用 `folke\u002Fsidekick.nvim`（需禁用 Copilot 扩展）配合 Auggie CLI 以获得更好的侧边栏体验。\n2. 如果更喜欢类似 CodeCompanion 的 polished UI 且需要 ACP（自动补全协议）支持，可以尝试 `olimorris\u002Fcodecompanion.nvim`，但需注意它可能尚未支持所有 CLI 功能。\n3. 对于自动补全集成，官方正在 prerelease 分支中开发与 blink.cmp 的集成，以替代默认的 Tab 键触发方式。","https:\u002F\u002Fgithub.com\u002Faugmentcode\u002Faugment.vim\u002Fissues\u002F10",[]]