Refactor: standardize 'agent' -> 'agents' for params and prompts
This commit is contained in:
@@ -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
|
||||
@@ -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.
|
||||
|
||||
@@ -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 = {
|
||||
@@ -1,4 +1,4 @@
|
||||
---@mod codetyper.prompts.agent.linter Linter prompts
|
||||
---@mod codetyper.prompts.agents.linter Linter prompts
|
||||
local M = {}
|
||||
|
||||
M.fix_request = [[
|
||||
@@ -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.
|
||||
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
---@mod codetyper.prompts.agent.scheduler Scheduler prompts
|
||||
---@mod codetyper.prompts.agents.scheduler Scheduler prompts
|
||||
local M = {}
|
||||
|
||||
M.retry_context = [[
|
||||
@@ -1,4 +1,4 @@
|
||||
---@mod codetyper.prompts.agent.tools Tool system prompts
|
||||
---@mod codetyper.prompts.agents.tools Tool system prompts
|
||||
local M = {}
|
||||
|
||||
M.instructions = {
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user