A B C D E F G H I L M N O P R S T U W 
All Classes All Packages

A

abbreviate(String, int) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
AbstractPluginAction - Class in net.stoerr.chatgpt.codevengine
 
AbstractPluginAction() - Constructor for class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
addHttpsConnector(Server) - Method in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
 
addShortContentReport(String, StringBuilder) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
 

B

BINARY_FILES_PATTERN - Static variable in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
A pattern for filenames of binary files where grep would not work.

C

CHECKER - Static variable in class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
checkRequestRepetition(HttpServletResponse, HttpServlet, Object...) - Method in class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
CoDeveloperEngine - Class in net.stoerr.chatgpt.codevengine
 
CoDeveloperEngine() - Constructor for class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
compileReplacement(HttpServletResponse, String) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
Transforms our simpler specification of replacement patterns (group references $0, $1, ..., $9 with the corresponding groups from the match; a literal $ must be given as $$) to what Matcher.appendReplacement(StringBuffer, String) expects.
COOKIE_CODEVACCESSTOKEN - Static variable in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
For local verification of responses from the browser - a cookie that can contain the service access token.

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.GrepAction
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ListFilesAction
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ReadFileAction
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.UrlAction
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ReplaceRegexAction
Deprecated.
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.WriteFileAction
 

E

enc - Variable in class net.stoerr.chatgpt.codevengine.ExecuteAction
Tokenizer used for GPT-4o*
enc - Variable in class net.stoerr.chatgpt.codevengine.ReadFileAction
Tokenizer used for GPT-3.5 and GPT-4.
ERRLOG - Static variable in class net.stoerr.chatgpt.codevengine.TbUtils
 
ERRORMESSAGE_PATTERNNOTFOUND - Static variable in class net.stoerr.chatgpt.codevengine.ReplaceRegexAction
Deprecated.
 
ERRORMSG - Static variable in class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
execute(Runnable) - Static method in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
ExecuteAction - Class in net.stoerr.chatgpt.codevengine
 
ExecuteAction() - Constructor for class net.stoerr.chatgpt.codevengine.ExecuteAction
 
ExecutionAbortedException - Exception in net.stoerr.chatgpt.codevengine
Thrown to abort an execution, but only when the error has been duly reported with sendError to ChatGPT, so that the exception can be ignored.
ExecutionAbortedException() - Constructor for exception net.stoerr.chatgpt.codevengine.ExecutionAbortedException
 

F

findMatchingFiles(HttpServletResponse, Path, Pattern, Pattern) - Static method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 

G

getBodyParameter(HttpServletResponse, String, String, boolean) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
Returns a parameter encoded in JSON the request body; returns "" if that parameter isn't there.
getExternUrl() - Method in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
 
getMandatoryQueryParam(HttpServletRequest, HttpServletResponse, String) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
getOpenaiToken() - Method in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
 
getPath(HttpServletRequest, HttpServletResponse, boolean) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
Returns the path parameter from the request, checks if it is within the current directory.
getQueryParam(HttpServletRequest, String) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
getReplace() - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.Replacement
 
getReplacements() - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.ReplaceInFileRequest
 
getSearch() - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.Replacement
 
getSecretFilter() - Method in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
 
getSimilarFilesMessage(HttpServletResponse, Path, String) - Static method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
The URL it is deployed at, e.g.
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.GrepAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ListFilesAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ReadFileAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ReplaceRegexAction
Deprecated.
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.UrlAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.WriteFileAction
 
gitIgnored(Path) - Static method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
gitIgnoreRules - Static variable in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
GrepAction - Class in net.stoerr.chatgpt.codevengine
 
GrepAction() - Constructor for class net.stoerr.chatgpt.codevengine.GrepAction
 

H

hasActions() - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
 

I

IGNORE_FILES_PATTERN - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
Files that are inaccessible to the program.
initServlets() - Static method in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
intArrayListFromList(List<Integer>) - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
 
isIgnored(Path) - Static method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
isNotEmpty(String) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 

L

limitOutput(String, int) - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
Turns output to tokens and replaces the middle by if that's more than maxTokens.
lineNumberAfter(String) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
 
ListFilesAction - Class in net.stoerr.chatgpt.codevengine
 
ListFilesAction() - Constructor for class net.stoerr.chatgpt.codevengine.ListFilesAction
 
LOCAL_CONFIG_DIR - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
LOG - Static variable in class net.stoerr.chatgpt.codevengine.TbUtils
 
logBody(String, String) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
 
logRequest(HttpServletRequest) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
If there is a file named .cgptcodeveloper/.requestlog.txt, we append the request data to it.

M

main(String[]) - Static method in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
mappedFilename(Path) - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 
MAX_REPETITIONS - Static variable in class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
MIDDLE_MARKER - Variable in class net.stoerr.chatgpt.codevengine.ExecuteAction
 

N

net.stoerr.chatgpt.codevengine - package net.stoerr.chatgpt.codevengine
 

O

openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
The OpenAPI description for this operation.
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ExecuteAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.GrepAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ListFilesAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ReadFileAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ReplaceRegexAction
Deprecated.
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.UrlAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.WriteFileAction
 
OVERRIDE_IGNORE_PATTERN - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
Exceptions overriding IGNORE_FILES_PATTERN.

P

PATH_AI_PLUGIN_JSON - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
PATH_SPEC - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 

R

readAndCheckConfiguration(String) - Method in class net.stoerr.chatgpt.codevengine.UserGlobalConfig
Reads the httpsConfigFile if it exists.
ReadFileAction - Class in net.stoerr.chatgpt.codevengine
 
ReadFileAction() - Constructor for class net.stoerr.chatgpt.codevengine.ReadFileAction
 
registry - Variable in class net.stoerr.chatgpt.codevengine.ExecuteAction
 
registry - Variable in class net.stoerr.chatgpt.codevengine.ReadFileAction
 
RepeatedRequestChecker - Class in net.stoerr.chatgpt.codevengine
It happens sometimes that ChatGPT goes into a loop, repeating the same request again and again, which destroys the current 3h quota.
RepeatedRequestChecker() - Constructor for class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
ReplaceAction - Class in net.stoerr.chatgpt.codevengine
 
ReplaceAction() - Constructor for class net.stoerr.chatgpt.codevengine.ReplaceAction
 
ReplaceAction.ReplaceInFileRequest - Class in net.stoerr.chatgpt.codevengine
 
ReplaceAction.Replacement - Class in net.stoerr.chatgpt.codevengine
 
ReplaceInFileRequest() - Constructor for class net.stoerr.chatgpt.codevengine.ReplaceAction.ReplaceInFileRequest
 
Replacement() - Constructor for class net.stoerr.chatgpt.codevengine.ReplaceAction.Replacement
 
ReplaceRegexAction - Class in net.stoerr.chatgpt.codevengine
Deprecated.
ReplaceRegexAction() - Constructor for class net.stoerr.chatgpt.codevengine.ReplaceRegexAction
Deprecated.
 

S

sendError(HttpServletResponse, int, String) - Static method in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
Logs an error and sends it to ChatGPT, always throws ExecutionAbortedException.
setReplace(String) - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.Replacement
 
setReplacements(List<ReplaceAction.Replacement>) - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.ReplaceInFileRequest
 
setSearch(String) - Method in class net.stoerr.chatgpt.codevengine.ReplaceAction.Replacement
 
stop() - Static method in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 

T

TbUtils - Class in net.stoerr.chatgpt.codevengine
Catch-all class for various utilities not related to a class.
TbUtils() - Constructor for class net.stoerr.chatgpt.codevengine.TbUtils
 

U

UNPROTECTED_PATHS - Static variable in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
UrlAction - Class in net.stoerr.chatgpt.codevengine
 
UrlAction() - Constructor for class net.stoerr.chatgpt.codevengine.UrlAction
 
UserGlobalConfig - Class in net.stoerr.chatgpt.codevengine
Reads the global configuration from the configuration directory in the users homedir, which is used everywhere, no matter where the plugin is started.
UserGlobalConfig() - Constructor for class net.stoerr.chatgpt.codevengine.UserGlobalConfig
 

W

WriteFileAction - Class in net.stoerr.chatgpt.codevengine
an operation that writes the message into the file at path.
WriteFileAction() - Constructor for class net.stoerr.chatgpt.codevengine.WriteFileAction
 
A B C D E F G H I L M N O P R S T U W 
All Classes All Packages