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

canonicalName(Path) - Static method in class net.stoerr.chatgpt.codevengine.CoDeveloperEngine
 
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.ExecuteExternalAction
Support that for debugging purposes, too.
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.ExecuteExternalAction
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.stoerr.chatgpt.codevengine.ExecuteOpenAIToolCallAction
 
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.ExecuteExternalAction
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
 
ExecuteExternalAction - Class in net.stoerr.chatgpt.codevengine
 
ExecuteExternalAction() - Constructor for class net.stoerr.chatgpt.codevengine.ExecuteExternalAction
 
ExecuteOpenAIToolCallAction - Class in net.stoerr.chatgpt.codevengine
Executes an OpenAI tool call coming in as JSON - for usage outside ChatGPT.
ExecuteOpenAIToolCallAction(Map<String, AbstractPluginAction>) - Constructor for class net.stoerr.chatgpt.codevengine.ExecuteOpenAIToolCallAction
 
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(boolean, HttpServletResponse, Path, Pattern, Pattern, boolean, boolean) - 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, 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, boolean) - 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.ExecuteExternalAction
 
getUrl() - Method in class net.stoerr.chatgpt.codevengine.ExecuteOpenAIToolCallAction
 
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
 
gson - Variable in class net.stoerr.chatgpt.codevengine.AbstractPluginAction
 

H

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

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.ExecuteExternalAction
 
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.ExecuteExternalAction
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
 
MAX_REPETITIONS - Static variable in class net.stoerr.chatgpt.codevengine.RepeatedRequestChecker
 
MIDDLE_MARKER - Variable in class net.stoerr.chatgpt.codevengine.ExecuteExternalAction
 

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.ExecuteExternalAction
 
openApiDescription() - Method in class net.stoerr.chatgpt.codevengine.ExecuteOpenAIToolCallAction
This is not registered in the yaml description since it's not a normal action, but rather distributes to actions.
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

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.ExecuteExternalAction
 
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.
setQuiet(boolean) - Static method in class net.stoerr.chatgpt.codevengine.TbUtils
 
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.

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