Refactor: standardize 'agent' -> 'agents' for params and prompts

This commit is contained in:
2026-01-16 12:01:42 -05:00
parent 10c1de8843
commit 6a69a524ea
56 changed files with 64 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.diff Prompts and UI strings for diff view and bash approval
---@mod codetyper.prompts.agents.diff Prompts and UI strings for diff view and bash approval
local M = {}
--- Bash approval dialog strings

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent Agent prompts for Codetyper.nvim
---@mod codetyper.prompts.agents.init Agent prompts for Codetyper.nvim
---
--- System prompts for the agentic mode with tool use.

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.intent Intent-specific system prompts
---@mod codetyper.prompts.agents.intent Intent-specific system prompts
local M = {}
M.modifiers = {

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.linter Linter prompts
---@mod codetyper.prompts.agents.linter Linter prompts
local M = {}
M.fix_request = [[

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.loop Agent Loop prompts
---@mod codetyper.prompts.agents.loop Agent Loop prompts
local M = {}
M.default_system_prompt = [[You are a helpful coding assistant with access to tools.

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.modal Prompts and UI strings for context modal
---@mod codetyper.prompts.agents.modal Prompts and UI strings for context modal
local M = {}
--- Modal UI strings

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.scheduler Scheduler prompts
---@mod codetyper.prompts.agents.scheduler Scheduler prompts
local M = {}
M.retry_context = [[

View File

@@ -1,4 +1,4 @@
---@mod codetyper.prompts.agent.tools Tool system prompts
---@mod codetyper.prompts.agents.tools Tool system prompts
local M = {}
M.instructions = {

View File

@@ -11,7 +11,7 @@ M.code = require("codetyper.prompts.code")
M.ask = require("codetyper.prompts.ask")
M.refactor = require("codetyper.prompts.refactor")
M.document = require("codetyper.prompts.document")
M.agent = require("codetyper.prompts.agent")
M.agent = require("codetyper.prompts.agents")
--- Get a prompt by category and name
---@param category string Category name (system, code, ask, refactor, document)