SYMBOL INDEX (2489 symbols across 359 files) FILE: app/cli/api/clients.go constant dialTimeout (line 14) | dialTimeout = 10 * time.Second constant fastReqTimeout (line 15) | fastReqTimeout = 30 * time.Second constant slowReqTimeout (line 16) | slowReqTimeout = 5 * time.Minute type Api (line 18) | type Api struct function init (line 23) | func init() { function GetApiHost (line 34) | func GetApiHost() string { type authenticatedTransport (line 44) | type authenticatedTransport struct method RoundTrip (line 48) | func (t *authenticatedTransport) RoundTrip(req *http.Request) (*http.R... type unauthenticatedTransport (line 57) | type unauthenticatedTransport struct method RoundTrip (line 61) | func (t *unauthenticatedTransport) RoundTrip(req *http.Request) (*http... type retryTransport (line 66) | type retryTransport struct method RoundTrip (line 75) | func (t *retryTransport) RoundTrip(req *http.Request) (*http.Response,... FILE: app/cli/api/errors.go function HandleApiError (line 14) | func HandleApiError(r *http.Response, errBody []byte) *shared.ApiError { function refreshAuthIfNeeded (line 44) | func refreshAuthIfNeeded(apiErr *shared.ApiError) (bool, *shared.ApiErro... FILE: app/cli/api/methods.go method CreateCliTrialSession (line 19) | func (a *Api) CreateCliTrialSession() (string, *shared.ApiError) { method GetCliTrialSession (line 45) | func (a *Api) GetCliTrialSession(token string) (*shared.SessionResponse,... method CreateProject (line 75) | func (a *Api) CreateProject(req shared.CreateProjectRequest) (*shared.Cr... method ListProjects (line 108) | func (a *Api) ListProjects() ([]*shared.Project, *shared.ApiError) { method SetProjectPlan (line 135) | func (a *Api) SetProjectPlan(projectId string, req shared.SetProjectPlan... method RenameProject (line 167) | func (a *Api) RenameProject(projectId string, req shared.RenameProjectRe... method ListPlans (line 199) | func (a *Api) ListPlans(projectIds []string) ([]*shared.Plan, *shared.Ap... method ListArchivedPlans (line 234) | func (a *Api) ListArchivedPlans(projectIds []string) ([]*shared.Plan, *s... method ListPlansRunning (line 267) | func (a *Api) ListPlansRunning(projectIds []string, includeRecent bool) ... method GetCurrentBranchByPlanId (line 303) | func (a *Api) GetCurrentBranchByPlanId(projectId string, req shared.GetC... method CreatePlan (line 347) | func (a *Api) CreatePlan(projectId string, req shared.CreatePlanRequest)... method GetPlan (line 379) | func (a *Api) GetPlan(planId string) (*shared.Plan, *shared.ApiError) { method DeletePlan (line 408) | func (a *Api) DeletePlan(planId string) *shared.ApiError { method DeleteAllPlans (line 436) | func (a *Api) DeleteAllPlans(projectId string) *shared.ApiError { method TellPlan (line 465) | func (a *Api) TellPlan(planId, branch string, req shared.TellPlanRequest... method BuildPlan (line 514) | func (a *Api) BuildPlan(planId, branch string, req shared.BuildPlanReque... method RespondMissingFile (line 567) | func (a *Api) RespondMissingFile(planId, branch string, req shared.Respo... method ConnectPlan (line 602) | func (a *Api) ConnectPlan(planId, branch string, onStream types.OnStream... method StopPlan (line 633) | func (a *Api) StopPlan(ctx context.Context, planId, branch string) *shar... method GetCurrentPlanState (line 660) | func (a *Api) GetCurrentPlanState(planId, branch string) (*shared.Curren... method GetCurrentPlanStateAtSha (line 664) | func (a *Api) GetCurrentPlanStateAtSha(planId, sha string) (*shared.Curr... method getCurrentPlanState (line 668) | func (a *Api) getCurrentPlanState(planId, branch, sha string) (*shared.C... method ApplyPlan (line 701) | func (a *Api) ApplyPlan(planId, branch string, req shared.ApplyPlanReque... method ArchivePlan (line 741) | func (a *Api) ArchivePlan(planId string) *shared.ApiError { method UnarchivePlan (line 769) | func (a *Api) UnarchivePlan(planId string) *shared.ApiError { method RenamePlan (line 797) | func (a *Api) RenamePlan(planId string, name string) *shared.ApiError { method RejectAllChanges (line 836) | func (a *Api) RejectAllChanges(planId, branch string) *shared.ApiError { method RejectFile (line 864) | func (a *Api) RejectFile(planId, branch, filePath string) *shared.ApiErr... method RejectFiles (line 898) | func (a *Api) RejectFiles(planId, branch string, paths []string) *shared... method LoadContext (line 932) | func (a *Api) LoadContext(planId, branch string, req shared.LoadContextR... method UpdateContext (line 965) | func (a *Api) UpdateContext(planId, branch string, req shared.UpdateCont... method DeleteContext (line 1007) | func (a *Api) DeleteContext(planId, branch string, req shared.DeleteCont... method ListContext (line 1045) | func (a *Api) ListContext(planId, branch string) ([]*shared.Context, *sh... method LoadCachedFileMap (line 1073) | func (a *Api) LoadCachedFileMap(planId, branch string, req shared.LoadCa... method ListConvo (line 1101) | func (a *Api) ListConvo(planId, branch string) ([]*shared.ConvoMessage, ... method GetPlanStatus (line 1129) | func (a *Api) GetPlanStatus(planId, branch string) (string, *shared.ApiE... method GetPlanDiffs (line 1157) | func (a *Api) GetPlanDiffs(planId, branch string, plain bool) (string, *... method ListLogs (line 1189) | func (a *Api) ListLogs(planId, branch string) (*shared.LogResponse, *sha... method RewindPlan (line 1218) | func (a *Api) RewindPlan(planId, branch string, req shared.RewindPlanReq... method SignIn (line 1257) | func (a *Api) SignIn(req shared.SignInRequest, customHost string) (*shar... method CreateAccount (line 1289) | func (a *Api) CreateAccount(req shared.CreateAccountRequest, customHost ... method CreateOrg (line 1321) | func (a *Api) CreateOrg(req shared.CreateOrgRequest) (*shared.CreateOrgR... method GetOrgSession (line 1353) | func (a *Api) GetOrgSession() (*shared.Org, *shared.ApiError) { method ListOrgs (line 1382) | func (a *Api) ListOrgs() ([]*shared.Org, *shared.ApiError) { method GetOrgUserConfig (line 1409) | func (a *Api) GetOrgUserConfig() (*shared.OrgUserConfig, *shared.ApiErro... method UpdateOrgUserConfig (line 1436) | func (a *Api) UpdateOrgUserConfig(c shared.OrgUserConfig) *shared.ApiErr... method DeleteUser (line 1471) | func (a *Api) DeleteUser(userId string) *shared.ApiError { method ListOrgRoles (line 1497) | func (a *Api) ListOrgRoles() ([]*shared.OrgRole, *shared.ApiError) { method InviteUser (line 1525) | func (a *Api) InviteUser(req shared.InviteRequest) *shared.ApiError { method ListPendingInvites (line 1552) | func (a *Api) ListPendingInvites() ([]*shared.Invite, *shared.ApiError) { method ListAcceptedInvites (line 1579) | func (a *Api) ListAcceptedInvites() ([]*shared.Invite, *shared.ApiError) { method ListAllInvites (line 1606) | func (a *Api) ListAllInvites() ([]*shared.Invite, *shared.ApiError) { method DeleteInvite (line 1633) | func (a *Api) DeleteInvite(inviteId string) *shared.ApiError { method CreateEmailVerification (line 1660) | func (a *Api) CreateEmailVerification(email, customHost, userId string) ... method CreateSignInCode (line 1692) | func (a *Api) CreateSignInCode() (string, *shared.ApiError) { method SignOut (line 1720) | func (a *Api) SignOut() *shared.ApiError { method ListUsers (line 1742) | func (a *Api) ListUsers() (*shared.ListUsersResponse, *shared.ApiError) { method ListBranches (line 1769) | func (a *Api) ListBranches(planId string) ([]*shared.Branch, *shared.Api... method CreateBranch (line 1798) | func (a *Api) CreateBranch(planId, branch string, req shared.CreateBranc... method DeleteBranch (line 1826) | func (a *Api) DeleteBranch(planId, branch string) *shared.ApiError { method GetSettings (line 1854) | func (a *Api) GetSettings(planId, branch string) (*shared.PlanSettings, ... method UpdateSettings (line 1883) | func (a *Api) UpdateSettings(planId, branch string, req shared.UpdateSet... method GetOrgDefaultSettings (line 1926) | func (a *Api) GetOrgDefaultSettings() (*shared.PlanSettings, *shared.Api... method UpdateOrgDefaultSettings (line 1955) | func (a *Api) UpdateOrgDefaultSettings(req shared.UpdateSettingsRequest)... method GetPlanConfig (line 1997) | func (a *Api) GetPlanConfig(planId string) (*shared.PlanConfig, *shared.... method UpdatePlanConfig (line 2025) | func (a *Api) UpdatePlanConfig(planId string, req shared.UpdatePlanConfi... method GetDefaultPlanConfig (line 2058) | func (a *Api) GetDefaultPlanConfig() (*shared.PlanConfig, *shared.ApiErr... method UpdateDefaultPlanConfig (line 2086) | func (a *Api) UpdateDefaultPlanConfig(req shared.UpdateDefaultPlanConfig... method CreateCustomModels (line 2119) | func (a *Api) CreateCustomModels(input *shared.ModelsInput) *shared.ApiE... method ListCustomModels (line 2146) | func (a *Api) ListCustomModels() ([]*shared.CustomModel, *shared.ApiErro... method ListCustomProviders (line 2174) | func (a *Api) ListCustomProviders() ([]*shared.CustomProvider, *shared.A... method ListModelPacks (line 2201) | func (a *Api) ListModelPacks() ([]*shared.ModelPack, *shared.ApiError) { method GetCreditsTransactions (line 2231) | func (a *Api) GetCreditsTransactions(pageSize, pageNum int, req shared.C... method GetCreditsSummary (line 2265) | func (a *Api) GetCreditsSummary(req shared.CreditsLogRequest) (*shared.C... method GetBalance (line 2298) | func (a *Api) GetBalance() (decimal.Decimal, *shared.ApiError) { method GetFileMap (line 2326) | func (a *Api) GetFileMap(req shared.GetFileMapRequest) (*shared.GetFileM... method GetContextBody (line 2358) | func (a *Api) GetContextBody(planId, branch, contextId string) (*shared.... method AutoLoadContext (line 2386) | func (a *Api) AutoLoadContext(ctx context.Context, planId, branch string... method GetBuildStatus (line 2428) | func (a *Api) GetBuildStatus(planId, branch string) (*shared.GetBuildSta... FILE: app/cli/api/stream.go constant HeartbeatTimeout (line 17) | HeartbeatTimeout = 16 * time.Second function connectPlanRespStream (line 19) | func connectPlanRespStream(body io.ReadCloser, onStream types.OnStreamPl... function readUntilSeparator (line 72) | func readUntilSeparator(reader *bufio.Reader, separator string) (string,... FILE: app/cli/auth/account.go constant AddAccountOption (line 12) | AddAccountOption = "Add another account" function SelectOrSignInOrCreate (line 14) | func SelectOrSignInOrCreate() error { function SignInWithCode (line 113) | func SignInWithCode(code, host string) error { function promptInitialAuth (line 128) | func promptInitialAuth() error { constant SignInLocalOption (line 142) | SignInLocalOption = "Local mode host" constant SignInOtherOption (line 143) | SignInOtherOption = "Another host" function promptSignInNewAccount (line 146) | func promptSignInNewAccount() error { type verifyEmailRes (line 201) | type verifyEmailRes struct function verifyEmail (line 207) | func verifyEmail(email, host string) (*verifyEmailRes, error) { function signIn (line 239) | func signIn(email, pin, host string) error { function handleSignInResponse (line 254) | func handleSignInResponse(res *shared.SessionResponse, host string) error { function createAccount (line 296) | func createAccount(email, pin, host string, isLocalMode bool) error { FILE: app/cli/auth/api.go function SetApiClient (line 16) | func SetApiClient(client types.ApiClient) { function SetAuthHeader (line 20) | func SetAuthHeader(req *http.Request) error { function SetVersionHeader (line 46) | func SetVersionHeader(req *http.Request) { FILE: app/cli/auth/auth.go function SetOpenUnauthenticatedCloudURLFn (line 16) | func SetOpenUnauthenticatedCloudURLFn(fn func(msg, path string)) { function SetOpenAuthenticatedURLFn (line 20) | func SetOpenAuthenticatedURLFn(fn func(msg, path string)) { function MustResolveAuthWithOrg (line 24) | func MustResolveAuthWithOrg() { function MustResolveAuth (line 28) | func MustResolveAuth(requireOrg bool) { function RefreshInvalidToken (line 90) | func RefreshInvalidToken() error { function RefreshAuth (line 114) | func RefreshAuth() error { FILE: app/cli/auth/org.go function resolveOrgAuth (line 11) | func resolveOrgAuth(orgs []*shared.Org, isLocalMode bool) (*shared.Org, ... function promptNoOrgs (line 39) | func promptNoOrgs() (*shared.Org, error) { function createOrg (line 55) | func createOrg(isLocalMode bool) (*shared.Org, error) { function promptAutoAddUsersIfValid (line 90) | func promptAutoAddUsersIfValid(email string) (bool, error) { constant CreateOrgOption (line 105) | CreateOrgOption = "Create a new org" function selectOrg (line 107) | func selectOrg(orgs []*shared.Org, isLocalMode bool) (*shared.Org, error) { FILE: app/cli/auth/state.go function loadAccounts (line 14) | func loadAccounts() ([]*shared.ClientAccount, error) { function setAuth (line 36) | func setAuth(auth *shared.ClientAuth) error { function storeAccount (line 54) | func storeAccount(toStore *shared.ClientAccount) error { function writeCurrentAuth (line 89) | func writeCurrentAuth() error { FILE: app/cli/auth/trial.go function ConvertTrial (line 9) | func ConvertTrial() { function startTrial (line 41) | func startTrial() { FILE: app/cli/cmd/apply.go function init (line 15) | func init() { function apply (line 30) | func apply(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/archive.go function init (line 26) | func init() { function archive (line 30) | func archive(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/billing.go function init (line 17) | func init() { function billing (line 21) | func billing(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/branches.go function init (line 25) | func init() { function branches (line 29) | func branches(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/browser.go function init (line 31) | func init() { function browser (line 37) | func browser(cmd *cobra.Command, args []string) error { function findChrome (line 56) | func findChrome() (string, error) { function openChromeWithLogs (line 90) | func openChromeWithLogs(urls []string) error { function openWithOSDefault (line 241) | func openWithOSDefault(urls []string) error { FILE: app/cli/cmd/build.go function init (line 25) | func init() { function build (line 38) | func build(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/cd.go function init (line 19) | func init() { function cd (line 31) | func cd(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/chat.go function init (line 24) | func init() { function doChat (line 39) | func doChat(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/checkout.go constant OptCreateNewBranch (line 19) | OptCreateNewBranch = "Create a new branch" function init (line 32) | func init() { function checkout (line 37) | func checkout(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/claude_max.go function connectClaude (line 31) | func connectClaude(cmd *cobra.Command, args []string) { function disconnectClaude (line 36) | func disconnectClaude(cmd *cobra.Command, args []string) { function claudeStatus (line 41) | func claudeStatus(cmd *cobra.Command, args []string) { function init (line 71) | func init() { FILE: app/cli/cmd/clear.go function clearAllContext (line 22) | func clearAllContext(cmd *cobra.Command, args []string) { function init (line 60) | func init() { FILE: app/cli/cmd/config.go function init (line 14) | func init() { function config (line 31) | func config(cmd *cobra.Command, args []string) { function defaultConfig (line 57) | func defaultConfig(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/connect.go function init (line 25) | func init() { function connect (line 30) | func connect(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/context_show.go function init (line 14) | func init() { FILE: app/cli/cmd/continue.go function init (line 25) | func init() { function doContinue (line 36) | func doContinue(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/convo.go function init (line 28) | func init() { constant stoppedEarlyMsg (line 38) | stoppedEarlyMsg = "You stopped the reply early" function convo (line 40) | func convo(cmd *cobra.Command, args []string) { function convertCodeBlocks (line 180) | func convertCodeBlocks(msg string) string { FILE: app/cli/cmd/current.go function init (line 22) | func init() { function current (line 26) | func current(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/debug.go constant DebugDefaultTries (line 29) | DebugDefaultTries = 5 function init (line 39) | func init() { function doDebug (line 44) | func doDebug(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/delete_branch.go function init (line 24) | func init() { function deleteBranch (line 28) | func deleteBranch(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/delete_plan.go function init (line 22) | func init() { function matchPlansByPattern (line 36) | func matchPlansByPattern(pattern string, plans []*shared.Plan) []*shared... function del (line 46) | func del(cmd *cobra.Command, args []string) { function delAll (line 172) | func delAll() { FILE: app/cli/cmd/diffs.go function init (line 35) | func init() { function diffs (line 49) | func diffs(cmd *cobra.Command, args []string) { function showGitDiff (line 249) | func showGitDiff() { FILE: app/cli/cmd/invite.go function init (line 21) | func init() { function invite (line 25) | func invite(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/load.go function init (line 32) | func init() { function contextLoad (line 42) | func contextLoad(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/log.go function init (line 24) | func init() { function runLog (line 29) | func runLog(cmd *cobra.Command, args []string) { function convertTimestampsToLocal (line 58) | func convertTimestampsToLocal(input string) (string, error) { FILE: app/cli/cmd/ls.go function listContext (line 27) | func listContext(cmd *cobra.Command, args []string) { function init (line 112) | func init() { FILE: app/cli/cmd/model_helpers.go function warnModelsFileLocalChanges (line 13) | func warnModelsFileLocalChanges(path, cmd string) (bool, error) { type maybePromptAndOpenModelsFileResult (line 35) | type maybePromptAndOpenModelsFileResult struct function maybePromptAndOpenModelsFile (line 40) | func maybePromptAndOpenModelsFile(filePath, pathArg, cmd string, default... FILE: app/cli/cmd/model_packs.go function init (line 51) | func init() { function listModelPacks (line 61) | func listModelPacks(cmd *cobra.Command, args []string) { function showModelPack (line 125) | func showModelPack(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/model_providers.go function init (line 42) | func init() { function listProviders (line 49) | func listProviders(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/models.go function init (line 28) | func init() { function manageCustomModels (line 93) | func manageCustomModels(cmd *cobra.Command, args []string) { function models (line 240) | func models(cmd *cobra.Command, args []string) { function defaultModels (line 279) | func defaultModels(cmd *cobra.Command, args []string) { function listAvailableModels (line 304) | func listAvailableModels(cmd *cobra.Command, args []string) { function renderSettings (line 364) | func renderSettings(settings *shared.PlanSettings, allProperties bool) { function renderModelPack (line 384) | func renderModelPack(modelPack *shared.ModelPack, customModelsById map[s... function customModelsNotImplemented (line 509) | func customModelsNotImplemented(cmd *cobra.Command, args []string) { function getExampleTemplate (line 516) | func getExampleTemplate(isCloud, isCloudIntegratedModels bool) shared.Cl... FILE: app/cli/cmd/new.go function init (line 31) | func init() { function new (line 39) | func new(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/plan_exec_helpers.go constant EditorTypeVim (line 16) | EditorTypeVim string = "vim" constant EditorTypeNano (line 17) | EditorTypeNano string = "nano" constant defaultAutoDebugTries (line 22) | defaultAutoDebugTries = 5 function init (line 40) | func init() { type initExecFlagsParams (line 51) | type initExecFlagsParams struct function initExecFlags (line 64) | func initExecFlags(cmd *cobra.Command, params initExecFlagsParams) { function initApplyFlags (line 110) | func initApplyFlags(cmd *cobra.Command, applyFlag bool) { function initExecScriptFlags (line 124) | func initExecScriptFlags(cmd *cobra.Command) { function validatePlanExecFlags (line 131) | func validatePlanExecFlags(isApply bool) { function mustSetPlanExecFlags (line 158) | func mustSetPlanExecFlags(cmd *cobra.Command, isApply bool) { type autoDebugValue (line 222) | type autoDebugValue struct method Set (line 231) | func (f *autoDebugValue) Set(s string) error { method String (line 247) | func (f *autoDebugValue) String() string { method Type (line 254) | func (f *autoDebugValue) Type() string { function newAutoDebugValue (line 226) | func newAutoDebugValue(p *int) *autoDebugValue { type editorValue (line 259) | type editorValue struct method Set (line 268) | func (f *editorValue) Set(s string) error { method String (line 278) | func (f *editorValue) String() string { method Type (line 285) | func (f *editorValue) Type() string { function newEditorValue (line 263) | func newEditorValue(p *string) *editorValue { FILE: app/cli/cmd/plan_start_helpers.go function AddNewPlanFlags (line 36) | func AddNewPlanFlags(cmd *cobra.Command) { function resolveAutoMode (line 58) | func resolveAutoMode(config *shared.PlanConfig) (bool, *shared.PlanConfi... function resolveAutoModeSilent (line 63) | func resolveAutoModeSilent(config *shared.PlanConfig) (bool, *shared.Pla... function resolveAutoModeWithArgs (line 67) | func resolveAutoModeWithArgs(config *shared.PlanConfig, silent bool) (bo... function resolveModelPack (line 114) | func resolveModelPack() { function resolveModelPackSilent (line 118) | func resolveModelPackSilent(settings *shared.PlanSettings) (*shared.Plan... function resolveModelPackWithArgs (line 122) | func resolveModelPackWithArgs(settings *shared.PlanSettings, silent bool... function printModelPackTable (line 209) | func printModelPackTable(packName string) { function printAutoModeTable (line 216) | func printAutoModeTable(config *shared.PlanConfig) { FILE: app/cli/cmd/plans.go function init (line 31) | func init() { function plans (line 44) | func plans(cmd *cobra.Command, args []string) { function listActive (line 55) | func listActive() { function listArchived (line 355) | func listArchived() { FILE: app/cli/cmd/ps.go function init (line 24) | func init() { function ps (line 28) | func ps(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/reject.go function init (line 17) | func init() { function reject (line 30) | func reject(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/rename.go function init (line 21) | func init() { function rename (line 25) | func rename(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/repl.go function init (line 45) | func init() { function setReplConfig (line 64) | func setReplConfig() { function runRepl (line 68) | func runRepl(cmd *cobra.Command, args []string) { function getSuggestions (line 224) | func getSuggestions() []prompt.Suggest { function executeOnEnter (line 296) | func executeOnEnter(p *prompt.Prompt, indentSize int) (int, bool) { constant cancelOpt (line 311) | cancelOpt = "Cancel" function executor (line 313) | func executor(in string, p *prompt.Prompt) { function completer (line 526) | func completer(in prompt.Document) ([]prompt.Suggest, pstrings.RuneNumbe... type replWelcomeParams (line 769) | type replWelcomeParams struct function replWelcome (line 778) | func replWelcome(params replWelcomeParams) { function replHelp (line 886) | func replHelp() { function showReplMode (line 894) | func showReplMode() { function showMultiLineMode (line 906) | func showMultiLineMode() { function parseCommand (line 919) | func parseCommand(in string) (string, string) { function isFileInProjectPaths (line 1042) | func isFileInProjectPaths(filePath string) bool { function handleRunCommand (line 1062) | func handleRunCommand(args []string) error { function getPromptOpt (line 1091) | func getPromptOpt(cmd string) string { type suggestCmdsResult (line 1099) | type suggestCmdsResult struct function suggestCmds (line 1104) | func suggestCmds(cmds []string, promptOpt string) suggestCmdsResult { type execWithInputParams (line 1127) | type execWithInputParams struct type execWithInputResult (line 1140) | type execWithInputResult struct function execWithInput (line 1146) | func execWithInput(params execWithInputParams) execWithInputResult { function findSimilarCommands (line 1367) | func findSimilarCommands(input string, commands []string) []string { FILE: app/cli/cmd/revoke.go function init (line 21) | func init() { function revoke (line 25) | func revoke(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/rewind.go function init (line 44) | func init() { function rewind (line 53) | func rewind(cmd *cobra.Command, args []string) { function formatLogMessage (line 495) | func formatLogMessage(msg string) string { FILE: app/cli/cmd/rm.go function contextRm (line 33) | func contextRm(cmd *cobra.Command, args []string) { function init (line 102) | func init() { function parseIndices (line 106) | func parseIndices(args []string) map[int]bool { FILE: app/cli/cmd/root.go function Execute (line 28) | func Execute() { function run (line 72) | func run(cmd *cobra.Command, args []string) { function init (line 76) | func init() { FILE: app/cli/cmd/set_config.go function init (line 19) | func init() { function setAuto (line 54) | func setAuto(cmd *cobra.Command, args []string) { function setAutoDefault (line 58) | func setAutoDefault(cmd *cobra.Command, args []string) { function setConfig (line 62) | func setConfig(cmd *cobra.Command, args []string) { function defaultSetConfig (line 123) | func defaultSetConfig(cmd *cobra.Command, args []string) { type sortableSetting (line 161) | type sortableSetting struct function updateConfig (line 166) | func updateConfig(args []string, originalConfig *shared.PlanConfig) (str... function parseBooleanArg (line 320) | func parseBooleanArg(value string) (bool, error) { function loadMapIfNeeded (line 332) | func loadMapIfNeeded(originalConfig, updatedConfig *shared.PlanConfig) { function removeMapIfNeeded (line 355) | func removeMapIfNeeded(originalConfig, updatedConfig *shared.PlanConfig) { FILE: app/cli/cmd/set_model.go function init (line 23) | func init() { function modelsSet (line 52) | func modelsSet(cmd *cobra.Command, args []string) { function defaultModelsSet (line 95) | func defaultModelsSet(cmd *cobra.Command, args []string) { function updateModelSettings (line 137) | func updateModelSettings(args []string, originalSettings *shared.PlanSet... FILE: app/cli/cmd/sign_in.go function init (line 19) | func init() { function signIn (line 25) | func signIn(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/stop.go function init (line 22) | func init() { function stop (line 26) | func stop(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/summary.go function init (line 21) | func init() { function status (line 27) | func status(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/tell.go function init (line 33) | func init() { function doTell (line 41) | func doTell(cmd *cobra.Command, args []string) { function getTellPrompt (line 102) | func getTellPrompt(args []string) string { function prepareEditorCommand (line 144) | func prepareEditorCommand(editor string, filename string) *exec.Cmd { function getEditorInstructions (line 155) | func getEditorInstructions() string { function getEditorPrompt (line 167) | func getEditorPrompt() string { FILE: app/cli/cmd/unarchive.go function init (line 26) | func init() { function unarchive (line 30) | func unarchive(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/update.go function init (line 22) | func init() { function update (line 27) | func update(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/usage.go constant MaxCreditsLogPageSize (line 24) | MaxCreditsLogPageSize = 500 function init (line 45) | func init() { function usage (line 59) | func usage(cmd *cobra.Command, args []string) { function showUsage (line 67) | func showUsage() { function showLog (line 236) | func showLog(cmd *cobra.Command, args []string) { function formatSpend (line 542) | func formatSpend(spend decimal.Decimal) string { FILE: app/cli/cmd/users.go function init (line 22) | func init() { function listUsersAndInvites (line 26) | func listUsersAndInvites(cmd *cobra.Command, args []string) { FILE: app/cli/cmd/version.go function init (line 20) | func init() { FILE: app/cli/format/file.go function GetFileNameWithoutExt (line 8) | func GetFileNameWithoutExt(path string) string { FILE: app/cli/format/time.go constant Day (line 13) | Day = 24 * time.Hour constant Week (line 14) | Week = 7 * Day constant Month (line 15) | Month = 30 * Day constant Year (line 16) | Year = 12 * Month constant LongTime (line 17) | LongTime = 37 * Year function Time (line 23) | func Time(then time.Time) string { type relTimeMagnitude (line 42) | type relTimeMagnitude struct function relTime (line 63) | func relTime(a, b time.Time, albl, blbl string) string { function customRelTime (line 67) | func customRelTime(a, b time.Time, albl, blbl string, magnitudes []relTi... FILE: app/cli/fs/fs.go function init (line 20) | func init() { function FindOrCreatePlandex (line 64) | func FindOrCreatePlandex() (string, bool, error) { function ProjectRootIsGitRepo (line 89) | func ProjectRootIsGitRepo() bool { function IsGitRepo (line 97) | func IsGitRepo(dir string) bool { function FindPlandexDir (line 116) | func FindPlandexDir() { function findPlandex (line 120) | func findPlandex(baseDir string) string { function isCommandAvailable (line 134) | func isCommandAvailable(name string) bool { FILE: app/cli/fs/paths.go function GetProjectPaths (line 17) | func GetProjectPaths(baseDir string) (*types.ProjectPaths, error) { function GetPaths (line 25) | func GetPaths(baseDir, currentDir string) (*types.ProjectPaths, error) { function GetPlandexIgnore (line 352) | func GetPlandexIgnore(dir string) (*ignore.GitIgnore, error) { function GetBaseDirForContexts (line 370) | func GetBaseDirForContexts(contexts []*shared.Context) string { function GetBaseDirForFilePaths (line 382) | func GetBaseDirForFilePaths(paths []string) string { function IsSubpathOf (line 413) | func IsSubpathOf(parent, child, baseDir string) (bool, error) { function IsIgnored (line 448) | func IsIgnored(paths *types.ProjectPaths, path, baseDir string) (bool, s... function ShouldSkipDir (line 506) | func ShouldSkipDir(path string) bool { function IsInSkippedDir (line 523) | func IsInSkippedDir(path string) bool { FILE: app/cli/fs/projects.go function GetParentProjectIdsWithPaths (line 14) | func GetParentProjectIdsWithPaths(currentUserId string) ([][2]string, er... function GetChildProjectIdsWithPaths (line 49) | func GetChildProjectIdsWithPaths(ctx context.Context, currentUserId stri... FILE: app/cli/fs/utils.go function FileExists (line 8) | func FileExists(path string) (bool, error) { FILE: app/cli/lib/active_stream.go function SelectActiveStream (line 11) | func SelectActiveStream(args []string) (string, string, bool) { FILE: app/cli/lib/apply.go type ApplyPlanParams (line 28) | type ApplyPlanParams struct function MustApplyPlan (line 37) | func MustApplyPlan( function MustApplyPlanAttempt (line 43) | func MustApplyPlanAttempt( function handleApplyScript (line 254) | func handleApplyScript( function execApplyScript (line 332) | func execApplyScript( function apiApplyPlan (line 576) | func apiApplyPlan(planId, branch string) (string, error) { function commitApplied (line 594) | func commitApplied(autoCommit bool, commitSummary string, updatedFiles [... function ApplyFiles (line 622) | func ApplyFiles(toApply map[string]string, toRemove map[string]bool, pro... function Rollback (line 752) | func Rollback(rollbackPlan *types.ApplyRollbackPlan, msg bool) error { FILE: app/cli/lib/apply_cgroup_linux.go constant cgroupCallTimeout (line 18) | cgroupCallTimeout = 1 * time.Second function MaybeIsolateCgroup (line 20) | func MaybeIsolateCgroup(cmd *exec.Cmd) (deleteFn func()) { FILE: app/cli/lib/apply_cgroup_other.go function MaybeIsolateCgroup (line 8) | func MaybeIsolateCgroup(cmd *exec.Cmd) (deleteFn func()) { FILE: app/cli/lib/apply_proc.go function SetPlatformSpecificAttrs (line 8) | func SetPlatformSpecificAttrs(cmd *exec.Cmd) { function KillProcessGroup (line 14) | func KillProcessGroup(cmd *exec.Cmd, signal syscall.Signal) error { FILE: app/cli/lib/build.go function SetBuildPlanInlineFn (line 7) | func SetBuildPlanInlineFn(fn func(autoConfirm bool, maybeContexts []*sha... FILE: app/cli/lib/claude_max.go constant claudeMaxClientId (line 23) | claudeMaxClientId = "9d1c250a-e61b-44d9-88ed-5944d1962f5e" constant claudeMaxScopes (line 24) | claudeMaxScopes = "org:create_api_key user:profile user:inference" constant claudeMaxRedirect (line 25) | claudeMaxRedirect = "https://console.anthropic.com/oauth/code/callback" constant claudeMaxTokenUrl (line 26) | claudeMaxTokenUrl = "https://console.anthropic.com/v1/oauth/token" function hasAnthropicModels (line 28) | func hasAnthropicModels(opts shared.ModelProviderOptions) bool { function promptClaudeMaxIfNeeded (line 37) | func promptClaudeMaxIfNeeded() bool { function connectClaudeMaxIfNeeded (line 67) | func connectClaudeMaxIfNeeded() bool { function refreshClaudeMaxCredsIfNeeded (line 92) | func refreshClaudeMaxCredsIfNeeded() { function ConnectClaudeMax (line 128) | func ConnectClaudeMax() { function DisconnectClaudeMax (line 145) | func DisconnectClaudeMax() { function connectClaudeMaxOauth (line 172) | func connectClaudeMaxOauth() { function exchangeCode (line 231) | func exchangeCode(code, verifier, state string) (*types.OauthResponse, e... function genCodeVerifier (line 267) | func genCodeVerifier() (string, error) { function sha256Base64 (line 275) | func sha256Base64(verifier string) string { function needsRefresh (line 280) | func needsRefresh(creds *types.OauthCreds) bool { function refreshCreds (line 285) | func refreshCreds(accountCreds *types.AccountCredentials) (*types.OauthC... FILE: app/cli/lib/context_auto_load.go function AutoLoadContextFiles (line 17) | func AutoLoadContextFiles(ctx context.Context, files []string) (string, ... function MustLoadAutoContextMap (line 154) | func MustLoadAutoContextMap() { FILE: app/cli/lib/context_conflict.go function checkContextConflicts (line 12) | func checkContextConflicts(filesByPath map[string]string) (bool, error) { FILE: app/cli/lib/context_display.go function GetContextLabelAndIcon (line 5) | func GetContextLabelAndIcon(contextType shared.ContextType) (string, str... function FindContextByIndex (line 35) | func FindContextByIndex(contexts []*shared.Context, index int) *shared.C... function FindContextByName (line 44) | func FindContextByName(contexts []*shared.Context, name string) *shared.... FILE: app/cli/lib/context_load.go constant maxSkippedFileList (line 24) | maxSkippedFileList = 20 function MustLoadContext (line 26) | func MustLoadContext(resources []string, params *types.LoadContextParams) { function printAlreadyLoadedMsg (line 759) | func printAlreadyLoadedMsg(alreadyLoadedByComposite map[string]*shared.C... function printIgnoredMsg (line 773) | func printIgnoredMsg() { FILE: app/cli/lib/context_paths.go type ParseInputPathsParams (line 9) | type ParseInputPathsParams struct function ParseInputPaths (line 16) | func ParseInputPaths(params ParseInputPathsParams) ([]string, error) { FILE: app/cli/lib/context_shared.go constant ContextMapMaxClientConcurrency (line 18) | ContextMapMaxClientConcurrency = 250 type filePathWithSize (line 20) | type filePathWithSize struct type mapFileDetails (line 25) | type mapFileDetails struct function getMapFileDetails (line 34) | func getMapFileDetails(path string, size, mapSize int64) (mapFileDetails... type mapFileContent (line 103) | type mapFileContent struct function getMapFileContent (line 110) | func getMapFileContent(path string) (mapFileContent, error) { function processMapBatches (line 138) | func processMapBatches(mapInputBatches []shared.FileMapInputs) (shared.F... function readImageTokensForDefsOnly (line 177) | func readImageTokensForDefsOnly(path string, size int64, detail openai.I... function printSkippedFilesMsg (line 191) | func printSkippedFilesMsg( function getSkippedFilesMsg (line 201) | func getSkippedFilesMsg( FILE: app/cli/lib/context_update.go function CheckOutdatedContextWithOutput (line 24) | func CheckOutdatedContextWithOutput(quiet, autoConfirm bool, maybeContex... type UpdateContextParams (line 198) | type UpdateContextParams struct type UpdateContextResult (line 204) | type UpdateContextResult struct function UpdateContextWithOutput (line 209) | func UpdateContextWithOutput(params UpdateContextParams) (UpdateContextR... function UpdateContext (line 224) | func UpdateContext(params UpdateContextParams) (UpdateContextResult, err... function CheckOutdatedContext (line 291) | func CheckOutdatedContext(maybeContexts []*shared.Context, projectPaths ... type mapState (line 295) | type mapState struct function checkOutdatedAndMaybeUpdateContext (line 305) | func checkOutdatedAndMaybeUpdateContext(doUpdate bool, maybeContexts []*... function tableForContextOutdated (line 1027) | func tableForContextOutdated(updatedContexts []*shared.Context, tokenDif... FILE: app/cli/lib/current.go function MustResolveOrCreateProject (line 30) | func MustResolveOrCreateProject() { function MustResolveProject (line 34) | func MustResolveProject() { function MaybeResolveProject (line 38) | func MaybeResolveProject() { function resolveProject (line 42) | func resolveProject(mustResolve, shouldCreate bool) { function MustLoadCurrentPlan (line 124) | func MustLoadCurrentPlan() { function loadCurrentBranch (line 173) | func loadCurrentBranch() error { function GetCurrentPlanTable (line 211) | func GetCurrentPlanTable(plan *shared.Plan, currentBranchesByPlanId map[... function mustInitProject (line 258) | func mustInitProject(existingSettings *types.CurrentProjectSettingsByAcc... FILE: app/cli/lib/custom_models.go type CustomModelsCheckLocalChangesResult (line 19) | type CustomModelsCheckLocalChangesResult struct function GetCustomModelsPath (line 24) | func GetCustomModelsPath(userId string) string { function GetServerModelsInput (line 28) | func GetServerModelsInput() (*shared.ModelsInput, error) { function CustomModelsCheckLocalChanges (line 93) | func CustomModelsCheckLocalChanges(path string) (CustomModelsCheckLocalC... function WriteCustomModelsFile (line 135) | func WriteCustomModelsFile(path string, modelsInput *shared.ModelsInput)... function SaveCustomModelsHash (line 162) | func SaveCustomModelsHash(basePath string, modelsInput *shared.ModelsInp... function MustSyncCustomModels (line 178) | func MustSyncCustomModels(path string, serverModelsInput *shared.ModelsI... function SyncCustomModels (line 330) | func SyncCustomModels() error { FILE: app/cli/lib/editor.go function MaybePromptAndOpen (line 14) | func MaybePromptAndOpen(path string, defaultConfig *shared.PlanConfig, p... type SelectEditorResult (line 83) | type SelectEditorResult struct function SelectEditor (line 90) | func SelectEditor(includeOpenManuallyOpt bool) SelectEditorResult { type editorCandidate (line 155) | type editorCandidate struct constant maxEditorOpts (line 162) | maxEditorOpts = 5 function detectEditors (line 164) | func detectEditors() []editorCandidate { FILE: app/cli/lib/git.go function GitAddAndCommit (line 15) | func GitAddAndCommit(dir, message string, lockMutex bool) error { function GitAddAndCommitPaths (line 34) | func GitAddAndCommitPaths(dir, message string, paths []string, lockMutex... function GitAdd (line 59) | func GitAdd(repoDir, path string, lockMutex bool) error { function GitCommit (line 73) | func GitCommit(repoDir, commitMsg string, paths []string, lockMutex bool... function CheckUncommittedChanges (line 93) | func CheckUncommittedChanges() (bool, error) { function GitStashCreate (line 107) | func GitStashCreate(message string) error { constant PopStashConflictMsg (line 122) | PopStashConflictMsg = "overwritten by merge" constant ConflictMsgFilesEnd (line 123) | ConflictMsgFilesEnd = "commit your changes" function GitStashPop (line 125) | func GitStashPop(forceOverwrite bool) error { function GitClearUncommittedChanges (line 172) | func GitClearUncommittedChanges() error { function GitFileHasUncommittedChanges (line 191) | func GitFileHasUncommittedChanges(path string) (bool, error) { function GitCheckoutFile (line 203) | func GitCheckoutFile(path string) error { constant GitLogTimestampFormat (line 217) | GitLogTimestampFormat = "Mon Jan 2, 2006 | 3:04:05pm" function GetGitLogTimestamp (line 221) | func GetGitLogTimestamp(log string) (time.Time, error) { function parseConflictFiles (line 230) | func parseConflictFiles(gitOutput string) []string { FILE: app/cli/lib/legacy_files.go function MigrateLegacyProjectFile (line 13) | func MigrateLegacyProjectFile(currentUserId string) { function MigrateLegacyCurrentPlanFile (line 62) | func MigrateLegacyCurrentPlanFile(currentUserId string) { function MigrateLegacyPlanSettingsFile (line 114) | func MigrateLegacyPlanSettingsFile(currentUserId string) { FILE: app/cli/lib/log_format.go type LogEntry (line 25) | type LogEntry struct function ParseLogEntry (line 33) | func ParseLogEntry(raw string) LogEntry { function FormatCompactSummary (line 58) | func FormatCompactSummary(entry LogEntry) string { function parseTimestamp (line 99) | func parseTimestamp(ts string) string { function cleanType (line 111) | func cleanType(t string) string { function extractFirstLine (line 117) | func extractFirstLine(s string) string { FILE: app/cli/lib/model_credentials.go type ProviderAuthStatus (line 23) | type ProviderAuthStatus constant FullySatisfied (line 26) | FullySatisfied ProviderAuthStatus = iota constant PartiallySatisfied (line 27) | PartiallySatisfied constant FullyMissing (line 28) | FullyMissing type ProviderCredentialStatus (line 31) | type ProviderCredentialStatus struct type PublisherCredentialStatus (line 37) | type PublisherCredentialStatus struct type CredentialCheckResult (line 43) | type CredentialCheckResult struct function CheckCredentialStatus (line 49) | func CheckCredentialStatus(opts shared.ModelProviderOptions, claudeMaxEn... function groupProvidersByPublisher (line 108) | func groupProvidersByPublisher(opts shared.ModelProviderOptions) map[sha... function checkProviderCredentialStatus (line 124) | func checkProviderCredentialStatus(cfg *shared.ModelProviderConfigSchema... function MustVerifyAuthVars (line 171) | func MustVerifyAuthVars(integratedModels bool) map[string]string { function MustVerifyAuthVarsSilent (line 175) | func MustVerifyAuthVarsSilent(integratedModels bool) map[string]string { function mustVerifyAuthVars (line 179) | func mustVerifyAuthVars(integratedModels, silent bool) map[string]string { function ResolveProviderAuthVars (line 237) | func ResolveProviderAuthVars(cfg *shared.ModelProviderConfigSchema) (map... function maybeLoadFile (line 301) | func maybeLoadFile(pathOrJson string) (string, error) { function loadAWSVars (line 324) | func loadAWSVars(vars map[string]string) error { function mergeAuthVars (line 348) | func mergeAuthVars(dest, src map[string]string) { function showCredentialErrorMessage (line 354) | func showCredentialErrorMessage(res CredentialCheckResult, opts shared.M... function requiredVars (line 506) | func requiredVars(cfg *shared.ModelProviderConfigSchema) []string { function providersByPublisher (line 519) | func providersByPublisher(opts shared.ModelProviderOptions) map[shared.M... function allPublishersHaveProvider (line 536) | func allPublishersHaveProvider(byPub map[shared.ModelPublisher][]shared.... function mark (line 558) | func mark(ok bool) string { function SetAccountCredentials (line 567) | func SetAccountCredentials(creds *types.AccountCredentials) error { function GetAccountCredentials (line 591) | func GetAccountCredentials() (*types.AccountCredentials, error) { FILE: app/cli/lib/model_settings.go function init (line 19) | func init() { function GetPlanModelSettingsPath (line 23) | func GetPlanModelSettingsPath(planId string) string { type ModelSettingsCheckLocalChangesResult (line 27) | type ModelSettingsCheckLocalChangesResult struct function ModelSettingsCheckLocalChanges (line 32) | func ModelSettingsCheckLocalChanges(path string) (ModelSettingsCheckLoca... function WriteModelSettingsFile (line 73) | func WriteModelSettingsFile(path string, originalSettings *shared.PlanSe... function SaveModelPackRolesHash (line 101) | func SaveModelPackRolesHash(basePath string, serverModelPack *shared.Mod... function ApplyModelSettings (line 117) | func ApplyModelSettings(path string, originalSettings *shared.PlanSettin... function SaveLatestPlanModelSettingsIfNeeded (line 153) | func SaveLatestPlanModelSettingsIfNeeded() (bool, error) { function SyncPlanModelSettings (line 199) | func SyncPlanModelSettings() error { function SyncDefaultModelSettings (line 228) | func SyncDefaultModelSettings() error { FILE: app/cli/lib/models_sync.go function PromptSyncModelsIfNeeded (line 11) | func PromptSyncModelsIfNeeded() error { FILE: app/cli/lib/org_user_config.go function MustGetOrgUserConfig (line 12) | func MustGetOrgUserConfig() *shared.OrgUserConfig { function MustUpdateOrgUserConfig (line 25) | func MustUpdateOrgUserConfig(orgUserConfig shared.OrgUserConfig) { function SetCachedOrgUserConfig (line 33) | func SetCachedOrgUserConfig(orgUserConfig *shared.OrgUserConfig) { FILE: app/cli/lib/plan_config.go function MustGetCurrentPlanConfig (line 16) | func MustGetCurrentPlanConfig() *shared.PlanConfig { function SetCachedPlanConfig (line 29) | func SetCachedPlanConfig(planConfig *shared.PlanConfig) { function ShowPlanConfig (line 33) | func ShowPlanConfig(config *shared.PlanConfig, key string) { FILE: app/cli/lib/plans.go function WriteCurrentPlan (line 14) | func WriteCurrentPlan(id string) error { function ClearCurrentPlan (line 60) | func ClearCurrentPlan() error { function WriteCurrentBranch (line 100) | func WriteCurrentBranch(branch string) error { function GetCurrentBranchNamesByPlanId (line 164) | func GetCurrentBranchNamesByPlanId(planIds []string) (map[string]string,... function getPlanCurrentBranch (line 200) | func getPlanCurrentBranch(planId string) (string, error) { FILE: app/cli/lib/repl.go type ReplMode (line 17) | type ReplMode constant ReplModeTell (line 20) | ReplModeTell ReplMode = "tell" constant ReplModeChat (line 21) | ReplModeChat ReplMode = "chat" type ReplState (line 24) | type ReplState struct type ReplSettings (line 34) | type ReplSettings struct function init (line 49) | func init() { function EnsureReplSettingsFile (line 53) | func EnsureReplSettingsFile() { function writeSettings (line 80) | func writeSettings(settings *ReplSettings) { function getSettings (line 92) | func getSettings() *ReplSettings { function LoadState (line 112) | func LoadState() { function WriteState (line 123) | func WriteState() { function WriteHistory (line 129) | func WriteHistory(input string) { function GetHistory (line 136) | func GetHistory() []string { function ExecPlandexCommand (line 143) | func ExecPlandexCommand(args []string) (string, error) { type ExecPlandexCommandParams (line 147) | type ExecPlandexCommandParams struct function ExecPlandexCommandWithParams (line 152) | func ExecPlandexCommandWithParams(args []string, params ExecPlandexComma... FILE: app/cli/lib/rewind.go function GetUndonePlanApplies (line 17) | func GetUndonePlanApplies(currentState *shared.CurrentPlanState, timesta... function GetAffectedFilePaths (line 40) | func GetAffectedFilePaths(currentState *shared.CurrentPlanState, applies... type RewindAnalysis (line 97) | type RewindAnalysis struct function AnalyzeRewind (line 107) | func AnalyzeRewind(targetState, currentState *shared.CurrentPlanState) (... function RemoveEmptyDirs (line 217) | func RemoveEmptyDirs(path string, baseDir string) error { function ApplyRewindChanges (line 258) | func ApplyRewindChanges(requiredChanges map[string]string) error { FILE: app/cli/main.go function init (line 22) | func init() { function main (line 63) | func main() { FILE: app/cli/plan_exec/action_menu.go type hotkeyOption (line 17) | type hotkeyOption struct function showHotkeyMenu (line 77) | func showHotkeyMenu(diffs []string) { function handleHotkey (line 152) | func handleHotkey(diffs []string, params ExecParams) { function handleHotkeyOption (line 200) | func handleHotkeyOption(option hotkeyOption, diffs []string, params Exec... function getDiffs (line 276) | func getDiffs(params ExecParams) ([]string, *shared.ApiError) { FILE: app/cli/plan_exec/apply_exec.go function GetOnApplyExecFail (line 18) | func GetOnApplyExecFail(applyFlags types.ApplyFlags, tellFlags types.Tel... function GetOnApplyExecFailWithCommand (line 22) | func GetOnApplyExecFailWithCommand(applyFlags types.ApplyFlags, tellFlag... function getOnApplyExecFail (line 26) | func getOnApplyExecFail(applyFlags types.ApplyFlags, tellFlags types.Tel... FILE: app/cli/plan_exec/build.go function Build (line 16) | func Build(params ExecParams, flags types.BuildFlags) (bool, error) { FILE: app/cli/plan_exec/params.go type ExecParams (line 8) | type ExecParams struct function SetPromptSyncModelsIfNeeded (line 17) | func SetPromptSyncModelsIfNeeded(fn func() error) { FILE: app/cli/plan_exec/tell.go constant CloudTrialBalanceWarningThreshold (line 24) | CloudTrialBalanceWarningThreshold = 1 function TellPlan (line 26) | func TellPlan( FILE: app/cli/schema/schemas.go constant scheme (line 18) | scheme = "embed://" type SchemaPath (line 20) | type SchemaPath constant SchemaPathInputConfig (line 23) | SchemaPathInputConfig SchemaPath = "json-schemas/models-input.schema... constant SchemaPathPlanConfig (line 24) | SchemaPathPlanConfig SchemaPath = "json-schemas/plan-config.schema.... constant SchemaPathModelPackInline (line 25) | SchemaPathModelPackInline SchemaPath = "json-schemas/model-pack-inline.s... type embeddedSchemaLoader (line 31) | type embeddedSchemaLoader struct method JsonSource (line 90) | func (l *embeddedSchemaLoader) JsonSource() interface{} { method LoadJSON (line 94) | func (l *embeddedSchemaLoader) LoadJSON() (interface{}, error) { method JsonReference (line 133) | func (l *embeddedSchemaLoader) JsonReference() (gojsonreference.JsonRe... method LoaderFactory (line 144) | func (l *embeddedSchemaLoader) LoaderFactory() gojsonschema.JSONLoader... function ValidateModelsInputJSON (line 36) | func ValidateModelsInputJSON(jsonData []byte) (shared.ClientModelsInput,... function ValidateModelPackInlineJSON (line 40) | func ValidateModelPackInlineJSON(jsonData []byte) (shared.ClientModelPac... function validateJSON (line 44) | func validateJSON[T any](jsonData []byte, schemaPath SchemaPath) (T, err... function newEmbeddedSchemaLoader (line 83) | func newEmbeddedSchemaLoader(source SchemaPath) *embeddedSchemaLoader { type embeddedLoaderFactory (line 137) | type embeddedLoaderFactory struct method New (line 139) | func (embeddedLoaderFactory) New(source string) gojsonschema.JSONLoader { FILE: app/cli/stream/stream.go function init (line 17) | func init() { FILE: app/cli/stream_tui/debouncer.go type UpdateDebouncer (line 9) | type UpdateDebouncer struct method ShouldUpdate (line 23) | func (d *UpdateDebouncer) ShouldUpdate() bool { function NewUpdateDebouncer (line 16) | func NewUpdateDebouncer(minInterval time.Duration) *UpdateDebouncer { FILE: app/cli/stream_tui/model.go constant MissingFileLoadLabel (line 19) | MissingFileLoadLabel = "Load the file into context" constant MissingFileSkipLabel (line 20) | MissingFileSkipLabel = "Skip generating this file" constant MissingFileOverwriteLabel (line 21) | MissingFileOverwriteLabel = "Allow Plandex to overwrite this file" type streamUIModel (line 38) | type streamUIModel struct method Init (line 105) | func (m streamUIModel) Init() tea.Cmd { method pollBuildStatus (line 116) | func (m streamUIModel) pollBuildStatus() tea.Cmd { method Tick (line 214) | func (m streamUIModel) Tick() tea.Cmd { method cleanup (line 221) | func (m *streamUIModel) cleanup() { method readState (line 228) | func (m *streamUIModel) readState() streamUIModel { method updateState (line 234) | func (m *streamUIModel) updateState(updateFn func()) { type buildStatusPollMsg (line 114) | type buildStatusPollMsg function initialModel (line 122) | func initialModel(prestartReply, prompt string, buildOnly bool, canSendT... FILE: app/cli/stream_tui/run.go function StartStreamUI (line 24) | func StartStreamUI(prompt string, buildOnly, canSendToBg bool) error { function Quit (line 113) | func Quit() { function Send (line 127) | func Send(msg shared.StreamMessage) { function ToggleVisibility (line 145) | func ToggleVisibility(hide bool) { FILE: app/cli/stream_tui/update.go method Update (line 25) | func (m streamUIModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method windowResized (line 171) | func (m *streamUIModel) windowResized(w, h int) { method updateReplyDisplay (line 197) | func (m *streamUIModel) updateReplyDisplay() { method updateViewportDimensions (line 235) | func (m *streamUIModel) updateViewportDimensions() { method getViewportDimensions (line 245) | func (m *streamUIModel) getViewportDimensions() (int, int) { method replyScrollable (line 275) | func (m streamUIModel) replyScrollable() bool { method scrollDown (line 279) | func (m *streamUIModel) scrollDown() { method scrollUp (line 295) | func (m *streamUIModel) scrollUp() { method pageDown (line 306) | func (m *streamUIModel) pageDown() { method pageUp (line 322) | func (m *streamUIModel) pageUp() { method scrollStart (line 333) | func (m *streamUIModel) scrollStart() { method scrollEnd (line 344) | func (m *streamUIModel) scrollEnd() { method streamUpdate (line 355) | func (m *streamUIModel) streamUpdate(msg *shared.StreamMessage, deferUIU... type delayFileRestartMsg (line 551) | type delayFileRestartMsg struct function startDelay (line 555) | func startDelay(path string, delay time.Duration) tea.Cmd { method resolveEscapeSequence (line 565) | func (m *streamUIModel) resolveEscapeSequence(val string) { method up (line 594) | func (m *streamUIModel) up() { method down (line 608) | func (m *streamUIModel) down() { method selectedMissingFileOpt (line 622) | func (m *streamUIModel) selectedMissingFileOpt() (tea.Model, tea.Cmd) { method checkMissingFile (line 668) | func (m *streamUIModel) checkMissingFile(msg *shared.StreamMessage) (tea... type contextLoadDoneMsg (line 744) | type contextLoadDoneMsg struct function loadContextCmd (line 749) | func loadContextCmd(loadContextFiles []string) tea.Cmd { FILE: app/cli/stream_tui/view.go method View (line 17) | func (m streamUIModel) View() string { method renderMainView (line 38) | func (m streamUIModel) renderMainView() string { method renderHelp (line 42) | func (m streamUIModel) renderHelp() string { method renderProcessing (line 61) | func (m streamUIModel) renderProcessing() string { method renderBuild (line 69) | func (m streamUIModel) renderBuild() string { method renderStaticBuild (line 73) | func (m streamUIModel) renderStaticBuild() string { method doRenderBuild (line 77) | func (m streamUIModel) doRenderBuild(outputStatic bool) string { method didBuild (line 143) | func (m streamUIModel) didBuild() bool { method getBuildHeader (line 147) | func (m streamUIModel) getBuildHeader(static bool) string { method getRows (line 177) | func (m streamUIModel) getRows(static bool) []string { method renderMissingFilePrompt (line 279) | func (m streamUIModel) renderMissingFilePrompt() string { FILE: app/cli/term/color.go function init (line 17) | func init() { FILE: app/cli/term/errors.go function SetOpenUnauthenticatedCloudURLFn (line 18) | func SetOpenUnauthenticatedCloudURLFn(fn func(msg, path string)) { function SetOpenAuthenticatedURLFn (line 21) | func SetOpenAuthenticatedURLFn(fn func(msg, path string)) { function SetConvertTrialFn (line 24) | func SetConvertTrialFn(fn func()) { function OutputSimpleError (line 28) | func OutputSimpleError(msg string, args ...interface{}) { function OutputErrorAndExit (line 33) | func OutputErrorAndExit(msg string, args ...interface{}) { function OutputUnformattedErrorAndExit (line 107) | func OutputUnformattedErrorAndExit(msg string) { function OutputNoCurrentPlanErrorAndExit (line 113) | func OutputNoCurrentPlanErrorAndExit() { function HandleApiError (line 120) | func HandleApiError(apiError *shared.ApiError) { function maybeJSON (line 218) | func maybeJSON(s string) bool { function prettyJSON (line 229) | func prettyJSON(s string) string { FILE: app/cli/term/format.go function init (line 14) | func init() { function getGlamourRenderer (line 24) | func getGlamourRenderer() (*glamour.TermRenderer, error) { function GetMarkdown (line 58) | func GetMarkdown(input string) (string, error) { function GetPlain (line 74) | func GetPlain(input string) string { FILE: app/cli/term/help.go type CmdConfig (line 12) | type CmdConfig struct function init (line 165) | func init() { function PrintCmds (line 171) | func PrintCmds(prefix string, cmds ...string) { function PrintCmdsWithColors (line 175) | func PrintCmdsWithColors(prefix string, colors []color.Attribute, cmds .... function printCmds (line 179) | func printCmds(w io.Writer, prefix string, colors []color.Attribute, cmd... function PrintCustomCmd (line 227) | func PrintCustomCmd(prefix, cmd, alias, desc string) { function PrintCustomHelp (line 235) | func PrintCustomHelp(all bool) { function PrintHelpAllCommands (line 296) | func PrintHelpAllCommands() { function ShowCmd (line 367) | func ShowCmd(cmd string) string { FILE: app/cli/term/os.go function GetOsDetails (line 9) | func GetOsDetails() string { FILE: app/cli/term/prompt.go function GetRequiredUserStringInput (line 13) | func GetRequiredUserStringInput(msg string) (string, error) { function GetUserStringInput (line 27) | func GetUserStringInput(msg string) (string, error) { function GetUserStringInputWithDefault (line 31) | func GetUserStringInputWithDefault(msg, def string) (string, error) { function GetRequiredUserStringInputWithDefault (line 44) | func GetRequiredUserStringInputWithDefault(msg, def string) (string, err... function GetUserPasswordInput (line 58) | func GetUserPasswordInput(msg string) (string, error) { function GetUserKeyInput (line 71) | func GetUserKeyInput() (rune, keyboard.Key, error) { function ConfirmYesNo (line 87) | func ConfirmYesNo(fmtStr string, fmtArgs ...interface{}) (bool, error) { function ConfirmYesNoCancel (line 113) | func ConfirmYesNoCancel(fmtStr string, fmtArgs ...interface{}) (bool, bo... function disableBracketedPaste (line 141) | func disableBracketedPaste() { function enableBracketedPaste (line 145) | func enableBracketedPaste() { FILE: app/cli/term/repl.go function SetIsRepl (line 7) | func SetIsRepl(value bool) { FILE: app/cli/term/select.go function SelectFromList (line 11) | func SelectFromList(msg string, options []string) (string, error) { function convertToStringSlice (line 30) | func convertToStringSlice[T any](input []T) []string { FILE: app/cli/term/spinner.go constant withMessageMinDuration (line 10) | withMessageMinDuration = 700 * time.Millisecond constant withoutMessageMinDuration (line 11) | withoutMessageMinDuration = 350 * time.Millisecond function StartSpinner (line 20) | func StartSpinner(msg string) { function StopSpinner (line 36) | func StopSpinner() { function ResumeSpinner (line 51) | func ResumeSpinner() { function LongSpinnerWithWarning (line 57) | func LongSpinnerWithWarning(msg, warning string) { FILE: app/cli/term/utils.go function init (line 14) | func init() { function AlternateScreen (line 22) | func AlternateScreen() { function ClearScreen (line 27) | func ClearScreen() { function MoveCursorToTopLeft (line 31) | func MoveCursorToTopLeft() { function ClearCurrentLine (line 35) | func ClearCurrentLine() { function MoveUpLines (line 39) | func MoveUpLines(numLines int) { function BackToMain (line 43) | func BackToMain() { function PageOutput (line 48) | func PageOutput(output string) { function PageOutputReverse (line 60) | func PageOutputReverse(output string) { function GetDivisionLine (line 74) | func GetDivisionLine() string { function GetTerminalWidth (line 83) | func GetTerminalWidth() int { function GetStreamForegroundColor (line 120) | func GetStreamForegroundColor() termenv.Color { function HasDarkBackground (line 141) | func HasDarkBackground() bool { function IsTerminal (line 153) | func IsTerminal() bool { FILE: app/cli/types/api.go type OnStreamPlanParams (line 10) | type OnStreamPlanParams struct type OnStreamPlan (line 15) | type OnStreamPlan type ApiClient (line 17) | type ApiClient interface FILE: app/cli/types/apply.go type ApplyFlags (line 7) | type ApplyFlags struct type ApplyRollbackOption (line 16) | type ApplyRollbackOption constant ApplyRollbackOptionKeep (line 19) | ApplyRollbackOptionKeep ApplyRollbackOption = "Apply file changes" constant ApplyRollbackOptionRollback (line 20) | ApplyRollbackOptionRollback ApplyRollbackOption = "Roll back file changes" type OnApplyExecFailFn (line 23) | type OnApplyExecFailFn type ApplyReversion (line 25) | type ApplyReversion struct type ApplyRollbackPlan (line 30) | type ApplyRollbackPlan struct method HasChanges (line 36) | func (r *ApplyRollbackPlan) HasChanges() bool { FILE: app/cli/types/exec.go type TellFlags (line 3) | type TellFlags struct type BuildFlags (line 19) | type BuildFlags struct FILE: app/cli/types/fs.go type ProjectPaths (line 5) | type ProjectPaths struct FILE: app/cli/types/types.go type LoadContextParams (line 10) | type LoadContextParams struct type ContextOutdatedResult (line 22) | type ContextOutdatedResult struct constant PlanOutdatedStrategyOverwrite (line 37) | PlanOutdatedStrategyOverwrite string = "Clear the modifications a... constant PlanOutdatedStrategyApplyUnmodified (line 38) | PlanOutdatedStrategyApplyUnmodified string = "Apply only new and unmodi... constant PlanOutdatedStrategyApplyNoConflicts (line 39) | PlanOutdatedStrategyApplyNoConflicts string = "Apply anyway since there ... constant PlanOutdatedStrategyRebuild (line 40) | PlanOutdatedStrategyRebuild string = "Rebuild the plan with upd... constant PlanOutdatedStrategyCancel (line 41) | PlanOutdatedStrategyCancel string = "Cancel" type CurrentPlanSettings (line 44) | type CurrentPlanSettings struct type PlanSettings (line 48) | type PlanSettings struct type CurrentProjectSettings (line 52) | type CurrentProjectSettings struct type CurrentPlanSettingsByAccount (line 56) | type CurrentPlanSettingsByAccount type PlanSettingsByAccount (line 57) | type PlanSettingsByAccount type CurrentProjectSettingsByAccount (line 58) | type CurrentProjectSettingsByAccount type ChangesUIScrollReplacement (line 60) | type ChangesUIScrollReplacement struct type ChangesUIViewportsUpdate (line 66) | type ChangesUIViewportsUpdate struct type OnErrFn (line 70) | type OnErrFn type OauthResponse (line 72) | type OauthResponse struct type OauthCreds (line 78) | type OauthCreds struct type AccountCredentials (line 83) | type AccountCredentials struct FILE: app/cli/ui/ui.go function OpenAuthenticatedURL (line 18) | func OpenAuthenticatedURL(msg, path string) { function OpenUnauthenticatedCloudURL (line 45) | func OpenUnauthenticatedCloudURL(msg, path string) { function OpenURL (line 54) | func OpenURL(msg, url string) { FILE: app/cli/upgrade.go function checkForUpgrade (line 27) | func checkForUpgrade() { function doUpgrade (line 99) | func doUpgrade(version string) error { function restartPlandex (line 161) | func restartPlandex() { FILE: app/cli/url/url.go constant maxRedirections (line 18) | maxRedirections = 10 constant httpTimeout (line 19) | httpTimeout = 30 * time.Second constant maxContentSizeInMB (line 20) | maxContentSizeInMB = 10 function FetchURLContent (line 23) | func FetchURLContent(url string) (string, error) { function ExtractTextualContent (line 60) | func ExtractTextualContent(htmlContent string) string { function SanitizeURL (line 70) | func SanitizeURL(url string) string { function IsValidURL (line 88) | func IsValidURL(str string) bool { FILE: app/cli/utils/utils.go function EnsureMinDuration (line 7) | func EnsureMinDuration(start time.Time, minDuration time.Duration) { FILE: app/scripts/cmd/gen/gen.go function main (line 11) | func main() { FILE: app/scripts/cmd/provider/gen_provider.go function main (line 15) | func main() { FILE: app/server/db/account_helpers.go type CreateAccountResult (line 10) | type CreateAccountResult struct function CreateAccount (line 16) | func CreateAccount(name, email, emailVerificationId string, tx *sqlx.Tx)... FILE: app/server/db/auth_helpers.go constant tokenExpirationDays (line 16) | tokenExpirationDays = 90 function CreateAuthToken (line 18) | func CreateAuthToken(userId string, tx *sqlx.Tx) (token, id string, err ... function ValidateAuthToken (line 33) | func ValidateAuthToken(token string) (*AuthToken, error) { function CreateEmailVerification (line 60) | func CreateEmailVerification(email string, userId, pinHash string) error { constant emailVerificationExpirationMinutes (line 76) | emailVerificationExpirationMinutes = 5 constant InvalidOrExpiredPinError (line 78) | InvalidOrExpiredPinError = "invalid or expired pin" function ValidateEmailVerification (line 80) | func ValidateEmailVerification(email, pin string) (id string, err error) { function ValidateEmailPreviouslyVerified (line 84) | func ValidateEmailPreviouslyVerified(email, pin string) (id string, err ... function validateEmailVerification (line 88) | func validateEmailVerification(email, pin string, enforceExpiration bool... function CreateSignInCode (line 122) | func CreateSignInCode(userId, orgId, pinHash string) error { constant signInCodeExpirationMinutes (line 132) | signInCodeExpirationMinutes = 5 type ValidateSignInCodeRes (line 134) | type ValidateSignInCodeRes struct function ValidateSignInCode (line 140) | func ValidateSignInCode(pin string) (*ValidateSignInCodeRes, error) { function GetUserPermissions (line 160) | func GetUserPermissions(userId, orgId string) ([]string, error) { FILE: app/server/db/branch_helpers.go function CreateBranch (line 14) | func CreateBranch(repo *GitRepo, plan *Plan, parentBranch *Branch, name ... function GetDbBranch (line 105) | func GetDbBranch(planId, name string) (*Branch, error) { function ListPlanBranches (line 120) | func ListPlanBranches(repo *GitRepo, planId string) ([]*Branch, error) { function ListBranchesForPlans (line 153) | func ListBranchesForPlans(orgId string, planIds []string) ([]*Branch, er... function DeleteBranch (line 164) | func DeleteBranch(ctx context.Context, repo *GitRepo, planId, branch str... FILE: app/server/db/build_helpers.go function StorePlanBuild (line 8) | func StorePlanBuild(build *PlanBuild) error { function SetBuildError (line 40) | func SetBuildError(build *PlanBuild) error { FILE: app/server/db/context_helpers_conflicts.go type invalidateConflictedResultsParams (line 11) | type invalidateConflictedResultsParams struct function invalidateConflictedResults (line 19) | func invalidateConflictedResults(params invalidateConflictedResultsParam... FILE: app/server/db/context_helpers_get.go function GetPlanContexts (line 16) | func GetPlanContexts(orgId, planId string, includeBody, includeMapParts ... function GetContext (line 78) | func GetContext(orgId, planId, contextId string, includeBody, includeMap... FILE: app/server/db/context_helpers_load.go type Ctx (line 19) | type Ctx type LoadContextsParams (line 21) | type LoadContextsParams struct function LoadContexts (line 32) | func LoadContexts(ctx Ctx, params LoadContextsParams) (*shared.LoadConte... FILE: app/server/db/context_helpers_map.go function GetCachedMap (line 14) | func GetCachedMap(orgId, projectId, filePath string) (*Context, error) { type CachedMap (line 42) | type CachedMap struct FILE: app/server/db/context_helpers_remove.go function ContextRemove (line 13) | func ContextRemove(orgId, planId string, contexts []*Context) error { type contextRemoveParams (line 21) | type contextRemoveParams struct function contextRemove (line 29) | func contextRemove(params contextRemoveParams) error { type ClearContextParams (line 79) | type ClearContextParams struct function ClearContext (line 86) | func ClearContext(params ClearContextParams) error { FILE: app/server/db/context_helpers_store.go function StoreContext (line 19) | func StoreContext(context *Context, skipMapCache bool) error { FILE: app/server/db/context_helpers_update.go type UpdateContextsParams (line 14) | type UpdateContextsParams struct function UpdateContexts (line 23) | func UpdateContexts(params UpdateContextsParams) (*shared.UpdateContextR... FILE: app/server/db/convo_helpers.go function GetPlanConvo (line 22) | func GetPlanConvo(orgId, planId string) ([]*ConvoMessage, error) { function GetConvoMessage (line 83) | func GetConvoMessage(orgId, planId, messageId string) (*ConvoMessage, er... function StoreConvoMessage (line 102) | func StoreConvoMessage(repo *GitRepo, message *ConvoMessage, currentUser... FILE: app/server/db/data_models.go type AuthToken (line 19) | type AuthToken struct type Org (line 27) | type Org struct method ToApi (line 39) | func (org *Org) ToApi() *shared.Org { type User (line 48) | type User struct method ToApi (line 59) | func (user *User) ToApi() *shared.User { type Invite (line 70) | type Invite struct method ToApi (line 83) | func (invite *Invite) ToApi() *shared.Invite { type OrgUser (line 97) | type OrgUser struct method ToApi (line 107) | func (orgUser *OrgUser) ToApi() *shared.OrgUser { type Project (line 116) | type Project struct method ToApi (line 124) | func (project *Project) ToApi() *shared.Project { type Plan (line 131) | type Plan struct method ToApi (line 146) | func (plan *Plan) ToApi() *shared.Plan { type Branch (line 162) | type Branch struct method ToApi (line 180) | func (branch *Branch) ToApi() *shared.Branch { type ConvoSummary (line 197) | type ConvoSummary struct method ToApi (line 209) | func (summary *ConvoSummary) ToApi() *shared.ConvoSummary { type PlanBuild (line 221) | type PlanBuild struct method ToApi (line 232) | func (build *PlanBuild) ToApi() *shared.PlanBuild { type OrgRole (line 243) | type OrgRole struct method ToApi (line 253) | func (role *OrgRole) ToApi() *shared.OrgRole { type ModelStream (line 262) | type ModelStream struct type LockScope (line 284) | type LockScope constant LockScopeRead (line 287) | LockScopeRead LockScope = "r" constant LockScopeWrite (line 288) | LockScopeWrite LockScope = "w" type repoLock (line 291) | type repoLock struct type ModelPack (line 303) | type ModelPack struct method ToApi (line 337) | func (modelPack *ModelPack) ToApi() *shared.ModelPack { function ModelPackFromApi (line 321) | func ModelPackFromApi(apiModelPack *shared.ModelPack) *ModelPack { type CustomModel (line 354) | type CustomModel struct method ToApi (line 425) | func (model *CustomModel) ToApi() *shared.CustomModel { function CustomModelFromApi (line 388) | func CustomModelFromApi(apiModel *shared.CustomModel) *CustomModel { type ExtraAuthVars (line 463) | type ExtraAuthVars method Scan (line 465) | func (e *ExtraAuthVars) Scan(src interface{}) error { method Value (line 480) | func (e ExtraAuthVars) Value() (driver.Value, error) { type CustomProvider (line 484) | type CustomProvider struct method ToApi (line 507) | func (provider *CustomProvider) ToApi() *shared.CustomProvider { function CustomProviderFromApi (line 496) | func CustomProviderFromApi(apiProvider *shared.CustomProvider) *CustomPr... type CustomModelUsesProvider (line 518) | type CustomModelUsesProvider struct method ToApi (line 524) | func (usesProvider *CustomModelUsesProvider) ToApi() *shared.BaseModel... type CustomModelProviders (line 532) | type CustomModelProviders method Scan (line 534) | func (providers *CustomModelProviders) Scan(src interface{}) error { method Value (line 549) | func (providers CustomModelProviders) Value() (driver.Value, error) { type DefaultPlanSettings (line 553) | type DefaultPlanSettings struct type Context (line 564) | type Context struct method ToMeta (line 589) | func (context *Context) ToMeta() *Context { method ToApi (line 615) | func (context *Context) ToApi() *shared.Context { type ConvoMessage (line 639) | type ConvoMessage struct method ToApi (line 658) | func (msg *ConvoMessage) ToApi() *shared.ConvoMessage { type ConvoMessageDescription (line 679) | type ConvoMessageDescription struct method ToApi (line 697) | func (desc *ConvoMessageDescription) ToApi() *shared.ConvoMessageDescr... type PlanFileResult (line 715) | type PlanFileResult struct method ToApi (line 741) | func (res *PlanFileResult) ToApi() *shared.PlanFileResult { type PlanApply (line 760) | type PlanApply struct method ToApi (line 772) | func (apply *PlanApply) ToApi() *shared.PlanApply { type Subtask (line 784) | type Subtask struct method ToApi (line 792) | func (subtask *Subtask) ToApi() *shared.Subtask { FILE: app/server/db/db.go constant LockTimeout (line 20) | LockTimeout = 4000 constant IdleInTransactionSessionTimeout (line 21) | IdleInTransactionSessionTimeout = 90000 constant StatementTimeout (line 22) | StatementTimeout = 30000 function Connect (line 24) | func Connect() error { function MigrationsUp (line 96) | func MigrationsUp() error { function MigrationsUpWithDir (line 105) | func MigrationsUpWithDir(dir string) error { function migrationsUp (line 109) | func migrationsUp(dir string) error { FILE: app/server/db/diff_helpers.go function GetPlanDiffs (line 15) | func GetPlanDiffs(orgId, planId string, plain bool) (string, error) { FILE: app/server/db/fs.go function init (line 12) | func init() { function InitPlan (line 38) | func InitPlan(orgId, planId string) error { function DeletePlanDir (line 67) | func DeletePlanDir(orgId, planId string) error { function getOrgDir (line 78) | func getOrgDir(orgId string) string { function getProjectDir (line 82) | func getProjectDir(orgId, projectId string) string { function getProjectMapCacheDir (line 86) | func getProjectMapCacheDir(orgId, projectId string) string { function getPlanDir (line 90) | func getPlanDir(orgId, planId string) string { function getPlanContextDir (line 94) | func getPlanContextDir(orgId, planId string) string { function getPlanConversationDir (line 98) | func getPlanConversationDir(orgId, planId string) string { function getPlanResultsDir (line 102) | func getPlanResultsDir(orgId, planId string) string { function getPlanAppliesDir (line 106) | func getPlanAppliesDir(orgId, planId string) string { function getPlanDescriptionsDir (line 110) | func getPlanDescriptionsDir(orgId, planId string) string { FILE: app/server/db/git.go constant maxGitRetries (line 20) | maxGitRetries = 5 constant baseGitRetryDelay (line 21) | baseGitRetryDelay = 100 * time.Millisecond function init (line 24) | func init() { type GitRepo (line 32) | type GitRepo struct method GitAddAndCommit (line 67) | func (repo *GitRepo) GitAddAndCommit(branch, message string) error { method GitRewindToSha (line 95) | func (repo *GitRepo) GitRewindToSha(branch, sha string) error { method GetCurrentCommitSha (line 111) | func (repo *GitRepo) GetCurrentCommitSha() (sha string, err error) { method GetCommitTime (line 127) | func (repo *GitRepo) GetCommitTime(branch, ref string) (time.Time, err... method GitResetToSha (line 151) | func (repo *GitRepo) GitResetToSha(sha string) error { method GitCheckoutSha (line 174) | func (repo *GitRepo) GitCheckoutSha(sha string) error { method GetGitCommitHistory (line 197) | func (repo *GitRepo) GetGitCommitHistory(branch string) (body string, ... method GetLatestCommit (line 211) | func (repo *GitRepo) GetLatestCommit(branch string) (sha, body string,... method GetLatestCommitShaBeforeTime (line 225) | func (repo *GitRepo) GetLatestCommitShaBeforeTime(branch string, befor... method GitListBranches (line 265) | func (repo *GitRepo) GitListBranches() ([]string, error) { method GitCreateBranch (line 289) | func (repo *GitRepo) GitCreateBranch(newBranch string) error { method GitDeleteBranch (line 311) | func (repo *GitRepo) GitDeleteBranch(branchName string) error { method GitClearUncommittedChanges (line 333) | func (repo *GitRepo) GitClearUncommittedChanges(branch string) error { method GitCheckoutBranch (line 385) | func (repo *GitRepo) GitCheckoutBranch(branch string) error { method LogGitRepoState (line 692) | func (repo *GitRepo) LogGitRepoState() { function InitGitRepo (line 37) | func InitGitRepo(orgId, planId string) error { function initGitRepo (line 42) | func initGitRepo(dir string) error { function getGitRepo (line 60) | func getGitRepo(orgId, planId string) *GitRepo { function gitAdd (line 402) | func gitAdd(repoDir, path string) error { function gitCommit (line 415) | func gitCommit(repoDir, commitMsg string) error { function gitCheckoutBranch (line 428) | func gitCheckoutBranch(repoDir, branch string) error { function gitRewindToSha (line 460) | func gitRewindToSha(repoDir, sha string) error { function getLatestCommit (line 469) | func getLatestCommit(dir string) (sha, body string, err error) { function getGitCommitHistory (line 490) | func getGitCommitHistory(dir string) (body string, shas []string, err er... function processGitHistoryOutput (line 513) | func processGitHistoryOutput(raw string) [][2]string { function removeLockFile (line 557) | func removeLockFile(lockFilePath string) error { function gitRemoveIndexLockFileIfExists (line 604) | func gitRemoveIndexLockFileIfExists(repoDir string) error { function setGitConfig (line 647) | func setGitConfig(repoDir, key, value string) error { function gitWriteOperation (line 655) | func gitWriteOperation(operation func() error, repoDir, label string) er... FILE: app/server/db/invite_helpers.go function CreateInvite (line 12) | func CreateInvite(invite *Invite, tx *sqlx.Tx) error { function GetInvite (line 22) | func GetInvite(id string) (*Invite, error) { function GetActiveInviteByEmail (line 37) | func GetActiveInviteByEmail(orgId, email string) (*Invite, error) { function ListPendingInvites (line 52) | func ListPendingInvites(orgId string) ([]*Invite, error) { function ListAllInvites (line 63) | func ListAllInvites(orgId string) ([]*Invite, error) { function ListAcceptedInvites (line 74) | func ListAcceptedInvites(orgId string) ([]*Invite, error) { function GetPendingInvitesForEmail (line 85) | func GetPendingInvitesForEmail(email string) ([]*Invite, error) { function DeleteInvite (line 100) | func DeleteInvite(id string, tx *sqlx.Tx) error { function AcceptInvite (line 117) | func AcceptInvite(ctx context.Context, invite *Invite, inviteeId string)... FILE: app/server/db/locks.go constant locksVerboseLogging (line 25) | locksVerboseLogging = false constant lockHeartbeatInterval (line 27) | lockHeartbeatInterval = 3 * time.Second constant lockHeartbeatTimeout (line 28) | lockHeartbeatTimeout = 60 * time.Second constant maxLockRetries (line 29) | maxLockRetries = 6 constant initialLockRetryDelay (line 30) | initialLockRetryDelay = 300 * time.Millisecond constant backoffFactor (line 31) | backoffFactor = 2 constant jitterFraction (line 32) | jitterFraction = 0.3 constant maxDeleteRetries (line 35) | maxDeleteRetries = 60 constant deleteRetryDelay (line 36) | deleteRetryDelay = 50 * time.Millisecond type LockRepoParams (line 42) | type LockRepoParams struct function lockRepoDB (line 54) | func lockRepoDB(params LockRepoParams, numRetry int) (string, error) { function deleteRepoLockDB (line 480) | func deleteRepoLockDB(id, planId, reason string, numRetry int) error { function formatStackTrace (line 523) | func formatStackTrace(stack []byte) string { function formatStackTraceLong (line 531) | func formatStackTraceLong(stack []byte) string { function formatStackTraceWithNumLines (line 535) | func formatStackTraceWithNumLines(stack []byte, numLines int) string { function getGoroutineID (line 543) | func getGoroutineID() uint64 { function isDeadlockError (line 552) | func isDeadlockError(err error) bool { function retryWithExponentialBackoff (line 564) | func retryWithExponentialBackoff( function retryDeleteLock (line 600) | func retryDeleteLock(ctx context.Context, cause error, attempt int, next... function CleanupActiveLocks (line 613) | func CleanupActiveLocks(ctx context.Context) error { FILE: app/server/db/models.go function UpsertCustomModel (line 11) | func UpsertCustomModel(tx *sqlx.Tx, model *CustomModel) error { function ListCustomModels (line 90) | func ListCustomModels(orgId string) ([]*CustomModel, error) { function ListCustomModelsForModelIds (line 96) | func ListCustomModelsForModelIds(orgId string, modelIds []string) ([]*Cu... function GetCustomModel (line 103) | func GetCustomModel(orgId, id string) (*CustomModel, error) { function DeleteCustomModels (line 115) | func DeleteCustomModels(tx *sqlx.Tx, orgId string, ids []string) error { function UpsertCustomProvider (line 126) | func UpsertCustomProvider(tx *sqlx.Tx, p *CustomProvider) error { function GetCustomProvider (line 158) | func GetCustomProvider(orgId, id string) (*CustomProvider, error) { function ListCustomProviders (line 170) | func ListCustomProviders(orgId string) ([]*CustomProvider, error) { function ListCustomProvidersForNames (line 176) | func ListCustomProvidersForNames(orgId string, names []string) ([]*Custo... function DeleteCustomProviders (line 183) | func DeleteCustomProviders(tx *sqlx.Tx, orgId string, ids []string) error { function UpsertModelPack (line 194) | func UpsertModelPack(tx *sqlx.Tx, mp *ModelPack) error { function ListModelPacks (line 242) | func ListModelPacks(orgId string) ([]*ModelPack, error) { function ListModelPacksForNames (line 255) | func ListModelPacksForNames(orgId string, names []string) ([]*ModelPack,... function DeleteModelPacks (line 262) | func DeleteModelPacks(tx *sqlx.Tx, orgId string, ids []string) error { FILE: app/server/db/org_helpers.go constant orgFields (line 15) | orgFields = "id, name, domain, auto_add_domain_users, owner_id, is_trial... function GetAccessibleOrgsForUser (line 17) | func GetAccessibleOrgsForUser(user *User) ([]*Org, error) { function GetOrg (line 69) | func GetOrg(orgId string) (*Org, error) { function ValidateOrgMembership (line 85) | func ValidateOrgMembership(userId string, orgId string) (bool, error) { function CreateOrg (line 96) | func CreateOrg(req *shared.CreateOrgRequest, userId string, domain *stri... function GetOrgForDomain (line 130) | func GetOrgForDomain(domain string) (*Org, error) { function AddOrgDomainUsers (line 146) | func AddOrgDomainUsers(orgId, domain string, tx *sqlx.Tx) error { function DeleteOrgUser (line 181) | func DeleteOrgUser(orgId, userId string, tx *sqlx.Tx) error { function CreateOrgUser (line 193) | func CreateOrgUser(orgId, userId, orgRoleId string, tx *sqlx.Tx) error { function ListOrgRoles (line 209) | func ListOrgRoles(orgId string) ([]*OrgRole, error) { function AddToOrgForDomain (line 220) | func AddToOrgForDomain(userId, domain string, tx *sqlx.Tx) (string, erro... FILE: app/server/db/plan_config_helpers.go function GetPlanConfig (line 11) | func GetPlanConfig(planId string) (*shared.PlanConfig, error) { function StorePlanConfig (line 24) | func StorePlanConfig(planId string, config *shared.PlanConfig) error { function GetDefaultPlanConfig (line 40) | func GetDefaultPlanConfig(userId string) (*shared.PlanConfig, error) { function StoreDefaultPlanConfig (line 53) | func StoreDefaultPlanConfig(userId string, config *shared.PlanConfig, tx... FILE: app/server/db/plan_helpers.go function CreatePlan (line 23) | func CreatePlan(ctx context.Context, orgId, projectId, userId, name stri... function ListOwnedPlans (line 97) | func ListOwnedPlans(projectIds []string, userId string, archived bool) (... function GetPlanNamesById (line 119) | func GetPlanNamesById(planIds []string) (map[string]string, error) { function AddPlanContextTokens (line 134) | func AddPlanContextTokens(planId, branch string, addTokens int) error { function AddPlanConvoMessage (line 142) | func AddPlanConvoMessage(msg *ConvoMessage, branch string) error { function SyncPlanTokens (line 195) | func SyncPlanTokens(orgId, planId, branch string) error { function GetPlan (line 252) | func GetPlan(planId string) (*Plan, error) { function SetPlanStatus (line 264) | func SetPlanStatus(planId, branch string, status shared.PlanStatus, errS... function RenamePlan (line 274) | func RenamePlan(planId string, name string, tx *sqlx.Tx) error { function IncActiveBranches (line 289) | func IncActiveBranches(planId string, inc int, tx *sqlx.Tx) error { function IncNumNonDraftPlans (line 299) | func IncNumNonDraftPlans(userId string, tx *sqlx.Tx) error { function StoreDescription (line 309) | func StoreDescription(description *ConvoMessageDescription) error { function DeleteDraftPlans (line 352) | func DeleteDraftPlans(orgId, projectId, userId string) error { function DeleteOwnerPlans (line 400) | func DeleteOwnerPlans(orgId, projectId, userId string) error { function ValidatePlanAccess (line 448) | func ValidatePlanAccess(planId, userId, orgId string) (*Plan, error) { function BumpPlanUpdatedAt (line 487) | func BumpPlanUpdatedAt(planId string, t time.Time) error { function GetPlanIdsForProject (line 497) | func GetPlanIdsForProject(projectId string) ([]string, error) { FILE: app/server/db/project_helpers.go function ProjectExists (line 9) | func ProjectExists(orgId, projectId string) (bool, error) { function CreateProject (line 20) | func CreateProject(orgId, name string, tx *sqlx.Tx) (string, error) { FILE: app/server/db/queue.go type repoOpFn (line 13) | type repoOpFn type repoOperation (line 15) | type repoOperation struct type repoQueue (line 31) | type repoQueue struct method add (line 70) | func (q *repoQueue) add(op *repoOperation) int { method nextBatch (line 95) | func (q *repoQueue) nextBatch() []*repoOperation { method runQueue (line 150) | func (q *repoQueue) runQueue() { type repoQueueMap (line 37) | type repoQueueMap method getQueue (line 42) | func (m repoQueueMap) getQueue(planId string) *repoQueue { method add (line 61) | func (m repoQueueMap) add(op *repoOperation) int { type ExecRepoOperationParams (line 300) | type ExecRepoOperationParams struct function ExecRepoOperation (line 313) | func ExecRepoOperation( FILE: app/server/db/rbac_helpers.go function GetOrgOwnerRoleId (line 11) | func GetOrgOwnerRoleId() (string, error) { function GetOrgMemberRoleId (line 26) | func GetOrgMemberRoleId() (string, error) { function GetOrgOwners (line 41) | func GetOrgOwners(orgId string) ([]*User, error) { function CacheOrgRoleIds (line 52) | func CacheOrgRoleIds() error { function cacheOrgOwnerRoleId (line 75) | func cacheOrgOwnerRoleId() error { function cacheOrgMemberRoleId (line 88) | func cacheOrgMemberRoleId() error { FILE: app/server/db/result_helpers.go function StorePlanResult (line 22) | func StorePlanResult(result *PlanFileResult) error { type CurrentPlanStateParams (line 56) | type CurrentPlanStateParams struct function GetFullCurrentPlanStateParams (line 64) | func GetFullCurrentPlanStateParams(orgId, planId string) (CurrentPlanSta... function GetCurrentPlanState (line 141) | func GetCurrentPlanState(params CurrentPlanStateParams) (*shared.Current... function GetConvoMessageDescriptions (line 309) | func GetConvoMessageDescriptions(orgId, planId string) ([]*ConvoMessageD... function GetPlanFileResults (line 378) | func GetPlanFileResults(orgId, planId string) ([]*PlanFileResult, error) { function GetPlanFileResultById (line 443) | func GetPlanFileResultById(orgId, planId, resultId string) (*PlanFileRes... function GetPlanResult (line 462) | func GetPlanResult(planFileResults []*shared.PlanFileResult) *shared.Pla... type ApplyPlanParams (line 499) | type ApplyPlanParams struct function ApplyPlan (line 509) | func ApplyPlan(repo *GitRepo, ctx context.Context, params ApplyPlanParam... function RejectAllResults (line 790) | func RejectAllResults(orgId, planId string) error { function DeletePendingResultsForPaths (line 838) | func DeletePendingResultsForPaths(orgId, planId string, paths map[string... function RejectPlanFiles (line 906) | func RejectPlanFiles(orgId, planId string, files []string, now time.Time... function RejectPlanFile (line 939) | func RejectPlanFile(orgId, planId, filePathOrResultId string, now time.T... function RejectReplacement (line 991) | func RejectReplacement(orgId, planId, resultId, replacementId string) er... function GetPlanApplies (line 1029) | func GetPlanApplies(orgId, planId string) ([]*PlanApply, error) { FILE: app/server/db/settings_helpers.go function GetPlanSettings (line 17) | func GetPlanSettings(plan *Plan) (settings *shared.PlanSettings, err err... function StorePlanSettings (line 72) | func StorePlanSettings(plan *Plan, settings shared.PlanSettings) error { function GetOrgDefaultSettings (line 106) | func GetOrgDefaultSettings(orgId string) (settings *shared.PlanSettings,... function GetOrgDefaultSettingsForUpdate (line 140) | func GetOrgDefaultSettingsForUpdate(orgId string, tx *sqlx.Tx) (settings... function StoreOrgDefaultSettings (line 173) | func StoreOrgDefaultSettings(orgId string, settings *shared.PlanSettings... type GetCustomModelsResult (line 190) | type GetCustomModelsResult struct function GetApiCustomModels (line 196) | func GetApiCustomModels(orgId string) (result *GetCustomModelsResult, er... FILE: app/server/db/stream_helpers.go constant modelStreamHeartbeatInterval (line 17) | modelStreamHeartbeatInterval = 1 * time.Second constant modelStreamHeartbeatTimeout (line 18) | modelStreamHeartbeatTimeout = 5 * time.Second function StoreModelStream (line 20) | func StoreModelStream(stream *ModelStream, ctx context.Context, cancelFn... function SetModelStreamFinished (line 85) | func SetModelStreamFinished(id string) error { function GetActiveModelStream (line 99) | func GetActiveModelStream(planId, branch string) (*ModelStream, error) { function GetActiveOrRecentModelStreams (line 134) | func GetActiveOrRecentModelStreams(planIds []string) ([]*ModelStream, er... function GetActiveModelStreams (line 145) | func GetActiveModelStreams(planIds []string) ([]*ModelStream, error) { FILE: app/server/db/subtask_helpers.go function GetPlanSubtasks (line 10) | func GetPlanSubtasks(orgId, planId string) ([]*Subtask, error) { function StorePlanSubtasks (line 34) | func StorePlanSubtasks(orgId, planId string, subtasks []*Subtask) error { FILE: app/server/db/summary_helpers.go function GetPlanSummaries (line 10) | func GetPlanSummaries(planId string, convoMessageIds []string) ([]*Convo... function StoreSummary (line 21) | func StoreSummary(summary *ConvoSummary) error { FILE: app/server/db/transactions.go function WithTx (line 13) | func WithTx(ctx context.Context, reason string, fn func(tx *sqlx.Tx) err... function WithTxOpts (line 17) | func WithTxOpts(ctx context.Context, opts *sql.TxOptions, reason string,... function withTx (line 21) | func withTx(ctx context.Context, opts *sql.TxOptions, reason string, fn ... FILE: app/server/db/user_helpers.go function GetUser (line 13) | func GetUser(userId string) (*User, error) { function GetUserByEmail (line 28) | func GetUserByEmail(email string) (*User, error) { function GetUsersForDomain (line 43) | func GetUsersForDomain(domain string) ([]*User, error) { function GetOrgUser (line 58) | func GetOrgUser(userId, orgId string) (*OrgUser, error) { function GetOrgUserConfig (line 73) | func GetOrgUserConfig(userId, orgId string) (*shared.OrgUserConfig, erro... function UpdateOrgUserConfig (line 88) | func UpdateOrgUserConfig(userId, orgId string, config *shared.OrgUserCon... function ListOrgUsers (line 98) | func ListOrgUsers(orgId string) ([]*OrgUser, error) { function ListUsers (line 109) | func ListUsers(orgId string) ([]*User, error) { function CreateUser (line 132) | func CreateUser(name, email string, tx *sqlx.Tx) (*User, error) { function NumUsersWithRole (line 157) | func NumUsersWithRole(orgId, roleId string) (int, error) { FILE: app/server/db/utils.go function IsNonUniqueErr (line 7) | func IsNonUniqueErr(err error) bool { FILE: app/server/diff/diff.go function GetDiffs (line 18) | func GetDiffs(original, updated string) (string, error) { type change (line 60) | type change struct function GetDiffReplacements (line 67) | func GetDiffReplacements(original, updated string) ([]*shared.Replacemen... function processHunk (line 147) | func processHunk(oldLines, newLines []string, startLine int) *change { FILE: app/server/email/email.go function SendEmailViaSES (line 14) | func SendEmailViaSES(recipient, subject, htmlBody, textBody string) error { function sendEmailViaSMTP (line 55) | func sendEmailViaSMTP(recipient, subject, htmlBody, textBody string) err... FILE: app/server/email/invite.go function SendInviteEmail (line 10) | func SendInviteEmail(email, inviteeFirstName, inviterName, orgName strin... FILE: app/server/email/verification.go function SendVerificationEmail (line 12) | func SendVerificationEmail(email string, pin string) error { FILE: app/server/handlers/accounts.go function CreateAccountHandler (line 20) | func CreateAccountHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/auth_helpers.go function Authenticate (line 22) | func Authenticate(w http.ResponseWriter, r *http.Request, requireOrg boo... function AuthenticateOptional (line 26) | func AuthenticateOptional(w http.ResponseWriter, r *http.Request, requir... function GetAuthHeader (line 30) | func GetAuthHeader(r *http.Request) (*shared.AuthHeader, error) { function ClearAuthCookieIfBrowser (line 80) | func ClearAuthCookieIfBrowser(w http.ResponseWriter, r *http.Request) er... function ClearAccountFromCookies (line 119) | func ClearAccountFromCookies(w http.ResponseWriter, r *http.Request, use... function SetAuthCookieIfBrowser (line 161) | func SetAuthCookieIfBrowser(w http.ResponseWriter, r *http.Request, user... function GetAccountsFromCookie (line 270) | func GetAccountsFromCookie(r *http.Request) ([]*shared.ClientAccount, er... function ValidateAndSignIn (line 293) | func ValidateAndSignIn(w http.ResponseWriter, r *http.Request, req share... function requireMinClientVersion (line 442) | func requireMinClientVersion(w http.ResponseWriter, r *http.Request, min... function execAuthenticate (line 463) | func execAuthenticate(w http.ResponseWriter, r *http.Request, requireOrg... function authorizeProject (line 617) | func authorizeProject(w http.ResponseWriter, projectId string, auth *typ... function authorizeProjectOptional (line 621) | func authorizeProjectOptional(w http.ResponseWriter, projectId string, a... function authorizeProjectRename (line 641) | func authorizeProjectRename(w http.ResponseWriter, projectId string, aut... function authorizeProjectDelete (line 655) | func authorizeProjectDelete(w http.ResponseWriter, projectId string, aut... function authorizePlan (line 669) | func authorizePlan(w http.ResponseWriter, planId string, auth *types.Ser... function authorizePlanUpdate (line 689) | func authorizePlanUpdate(w http.ResponseWriter, planId string, auth *typ... function authorizePlanDelete (line 705) | func authorizePlanDelete(w http.ResponseWriter, planId string, auth *typ... function authorizePlanRename (line 721) | func authorizePlanRename(w http.ResponseWriter, planId string, auth *typ... function authorizePlanArchive (line 737) | func authorizePlanArchive(w http.ResponseWriter, planId string, auth *ty... FILE: app/server/handlers/branches.go function ListBranchesHandler (line 18) | func ListBranchesHandler(w http.ResponseWriter, r *http.Request) { function CreateBranchHandler (line 80) | func CreateBranchHandler(w http.ResponseWriter, r *http.Request) { function DeleteBranchHandler (line 160) | func DeleteBranchHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/client_helper.go type initClientsParams (line 14) | type initClientsParams struct type initClientsResult (line 28) | type initClientsResult struct function initClients (line 33) | func initClients(params initClientsParams) initClientsResult { FILE: app/server/handlers/context_helper.go type loadContextsParams (line 18) | type loadContextsParams struct function loadContexts (line 29) | func loadContexts( FILE: app/server/handlers/err_helper.go function writeApiError (line 11) | func writeApiError(w http.ResponseWriter, apiErr shared.ApiError) { FILE: app/server/handlers/file_maps.go function GetFileMapHandler (line 18) | func GetFileMapHandler(w http.ResponseWriter, r *http.Request) { function LoadCachedFileMapHandler (line 105) | func LoadCachedFileMapHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/file_maps_queue.go constant fileMapMaxQueueSize (line 18) | fileMapMaxQueueSize = 20 constant mapJobTimeout (line 20) | mapJobTimeout = 60 * time.Second type projectMapJob (line 22) | type projectMapJob struct function init (line 32) | func init() { function processProjectMapQueue (line 50) | func processProjectMapQueue() { function queueProjectMapJob (line 72) | func queueProjectMapJob(job projectMapJob) error { function mapWorker (line 82) | func mapWorker(job projectMapJob) { function safeSend (line 133) | func safeSend(ch chan shared.FileMapBodies, v shared.FileMapBodies) { FILE: app/server/handlers/invites.go function InviteUserHandler (line 19) | func InviteUserHandler(w http.ResponseWriter, r *http.Request) { function ListPendingInvitesHandler (line 162) | func ListPendingInvitesHandler(w http.ResponseWriter, r *http.Request) { function ListAcceptedInvitesHandler (line 220) | func ListAcceptedInvitesHandler(w http.ResponseWriter, r *http.Request) { function ListAllInvitesHandler (line 278) | func ListAllInvitesHandler(w http.ResponseWriter, r *http.Request) { function DeleteInviteHandler (line 336) | func DeleteInviteHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/models.go constant CustomModelsMinClientVersion (line 17) | CustomModelsMinClientVersion = "2.2.0" function UpsertCustomModelsHandler (line 19) | func UpsertCustomModelsHandler(w http.ResponseWriter, r *http.Request) { function GetCustomModelHandler (line 341) | func GetCustomModelHandler(w http.ResponseWriter, r *http.Request) { function ListCustomModelsHandler (line 373) | func ListCustomModelsHandler(w http.ResponseWriter, r *http.Request) { function GetCustomProviderHandler (line 407) | func GetCustomProviderHandler(w http.ResponseWriter, r *http.Request) { function ListCustomProvidersHandler (line 431) | func ListCustomProvidersHandler(w http.ResponseWriter, r *http.Request) { function CreateModelPackHandler (line 463) | func CreateModelPackHandler(w http.ResponseWriter, r *http.Request) { function UpdateModelPackHandler (line 478) | func UpdateModelPackHandler(w http.ResponseWriter, r *http.Request) { function ListModelPacksHandler (line 493) | func ListModelPacksHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/org_helpers.go function toApiOrgs (line 11) | func toApiOrgs(orgs []*db.Org) ([]*shared.Org, *shared.ApiError) { function getApiOrg (line 39) | func getApiOrg(orgId string) (*shared.Org, *shared.ApiError) { FILE: app/server/handlers/orgs.go function ListOrgsHandler (line 18) | func ListOrgsHandler(w http.ResponseWriter, r *http.Request) { function CreateOrgHandler (line 55) | func CreateOrgHandler(w http.ResponseWriter, r *http.Request) { function GetOrgSessionHandler (line 166) | func GetOrgSessionHandler(w http.ResponseWriter, r *http.Request) { function ListOrgRolesHandler (line 203) | func ListOrgRolesHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/plan_config.go function GetPlanConfigHandler (line 16) | func GetPlanConfigHandler(w http.ResponseWriter, r *http.Request) { function UpdatePlanConfigHandler (line 56) | func UpdatePlanConfigHandler(w http.ResponseWriter, r *http.Request) { function GetDefaultPlanConfigHandler (line 92) | func GetDefaultPlanConfigHandler(w http.ResponseWriter, r *http.Request) { function UpdateDefaultPlanConfigHandler (line 122) | func UpdateDefaultPlanConfigHandler(w http.ResponseWriter, r *http.Reque... FILE: app/server/handlers/plans_changes.go function CurrentPlanHandler (line 19) | func CurrentPlanHandler(w http.ResponseWriter, r *http.Request) { function ApplyPlanHandler (line 106) | func ApplyPlanHandler(w http.ResponseWriter, r *http.Request) { function RejectAllChangesHandler (line 251) | func RejectAllChangesHandler(w http.ResponseWriter, r *http.Request) { function RejectFileHandler (line 302) | func RejectFileHandler(w http.ResponseWriter, r *http.Request) { function RejectFilesHandler (line 362) | func RejectFilesHandler(w http.ResponseWriter, r *http.Request) { function ArchivePlanHandler (line 432) | func ArchivePlanHandler(w http.ResponseWriter, r *http.Request) { function UnarchivePlanHandler (line 480) | func UnarchivePlanHandler(w http.ResponseWriter, r *http.Request) { function GetPlanDiffsHandler (line 528) | func GetPlanDiffsHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/plans_context.go function ListContextHandler (line 17) | func ListContextHandler(w http.ResponseWriter, r *http.Request) { function GetContextBodyHandler (line 80) | func GetContextBodyHandler(w http.ResponseWriter, r *http.Request) { function LoadContextHandler (line 154) | func LoadContextHandler(w http.ResponseWriter, r *http.Request) { function UpdateContextHandler (line 214) | func UpdateContextHandler(w http.ResponseWriter, r *http.Request) { function DeleteContextHandler (line 320) | func DeleteContextHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/plans_convo.go function ListConvoHandler (line 15) | func ListConvoHandler(w http.ResponseWriter, r *http.Request) { function GetPlanStatusHandler (line 81) | func GetPlanStatusHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/plans_crud.go function CreatePlanHandler (line 22) | func CreatePlanHandler(w http.ResponseWriter, r *http.Request) { function GetPlanHandler (line 129) | func GetPlanHandler(w http.ResponseWriter, r *http.Request) { function RenamePlanHandler (line 159) | func RenamePlanHandler(w http.ResponseWriter, r *http.Request) { function DeletePlanHandler (line 208) | func DeletePlanHandler(w http.ResponseWriter, r *http.Request) { function DeleteAllPlansHandler (line 265) | func DeleteAllPlansHandler(w http.ResponseWriter, r *http.Request) { function ListPlansHandler (line 293) | func ListPlansHandler(w http.ResponseWriter, r *http.Request) { function ListArchivedPlansHandler (line 350) | func ListArchivedPlansHandler(w http.ResponseWriter, r *http.Request) { function ListPlansRunningHandler (line 403) | func ListPlansRunningHandler(w http.ResponseWriter, r *http.Request) { function GetCurrentBranchByPlanIdHandler (line 576) | func GetCurrentBranchByPlanIdHandler(w http.ResponseWriter, r *http.Requ... FILE: app/server/handlers/plans_exec.go function TellPlanHandler (line 23) | func TellPlanHandler(w http.ResponseWriter, r *http.Request) { function BuildPlanHandler (line 121) | func BuildPlanHandler(w http.ResponseWriter, r *http.Request) { function ConnectPlanHandler (line 216) | func ConnectPlanHandler(w http.ResponseWriter, r *http.Request) { function StopPlanHandler (line 258) | func StopPlanHandler(w http.ResponseWriter, r *http.Request) { function RespondMissingFileHandler (line 334) | func RespondMissingFileHandler(w http.ResponseWriter, r *http.Request) { function AutoLoadContextHandler (line 428) | func AutoLoadContextHandler(w http.ResponseWriter, r *http.Request) { function GetBuildStatusHandler (line 570) | func GetBuildStatusHandler(w http.ResponseWriter, r *http.Request) { function authorizePlanExecUpdate (line 619) | func authorizePlanExecUpdate(w http.ResponseWriter, planId string, auth ... FILE: app/server/handlers/plans_versions.go function ListLogsHandler (line 16) | func ListLogsHandler(w http.ResponseWriter, r *http.Request) { function RewindPlanHandler (line 82) | func RewindPlanHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/projects.go function CreateProjectHandler (line 17) | func CreateProjectHandler(w http.ResponseWriter, r *http.Request) { function ListProjectsHandler (line 84) | func ListProjectsHandler(w http.ResponseWriter, r *http.Request) { function ProjectSetPlanHandler (line 123) | func ProjectSetPlanHandler(w http.ResponseWriter, r *http.Request) { function RenameProjectHandler (line 166) | func RenameProjectHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/proxy_helper.go function proxyActivePlanMethod (line 16) | func proxyActivePlanMethod(w http.ResponseWriter, r *http.Request, planI... function proxyRequest (line 57) | func proxyRequest(w http.ResponseWriter, originalRequest *http.Request, ... FILE: app/server/handlers/sessions.go function CreateEmailVerificationHandler (line 18) | func CreateEmailVerificationHandler(w http.ResponseWriter, r *http.Reque... function CheckEmailPinHandler (line 138) | func CheckEmailPinHandler(w http.ResponseWriter, r *http.Request) { function CreateSignInCodeHandler (line 176) | func CreateSignInCodeHandler(w http.ResponseWriter, r *http.Request) { function SignInHandler (line 211) | func SignInHandler(w http.ResponseWriter, r *http.Request) { function SignOutHandler (line 252) | func SignOutHandler(w http.ResponseWriter, r *http.Request) { function GetOrgUserConfigHandler (line 287) | func GetOrgUserConfigHandler(w http.ResponseWriter, r *http.Request) { function UpdateOrgUserConfigHandler (line 314) | func UpdateOrgUserConfigHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/handlers/settings.go function GetSettingsHandler (line 19) | func GetSettingsHandler(w http.ResponseWriter, r *http.Request) { function UpdateSettingsHandler (line 80) | func UpdateSettingsHandler(w http.ResponseWriter, r *http.Request) { function GetDefaultSettingsHandler (line 225) | func GetDefaultSettingsHandler(w http.ResponseWriter, r *http.Request) { function UpdateDefaultSettingsHandler (line 254) | func UpdateDefaultSettingsHandler(w http.ResponseWriter, r *http.Request) { function getUpdateCommitMsg (line 344) | func getUpdateCommitMsg(settings *shared.PlanSettings, originalSettings ... function compareSettings (line 373) | func compareSettings(original, updated *shared.PlanSettings, changes []s... function compareAny (line 391) | func compareAny(a, b interface{}, path string, changes []string) []string { function short (line 510) | func short(v reflect.Value) string { FILE: app/server/handlers/stream_helper.go constant HeartbeatInterval (line 17) | HeartbeatInterval = 5 * time.Second function startResponseStream (line 19) | func startResponseStream(reqCtx context.Context, w http.ResponseWriter, ... function sendStreamMessage (line 112) | func sendStreamMessage(w http.ResponseWriter, msg string) error { function initConnectActive (line 127) | func initConnectActive(auth *types.ServerAuth, planId, branch string, w ... FILE: app/server/handlers/users.go function ListUsersHandler (line 18) | func ListUsersHandler(w http.ResponseWriter, r *http.Request) { function DeleteOrgUserHandler (line 93) | func DeleteOrgUserHandler(w http.ResponseWriter, r *http.Request) { FILE: app/server/hooks/hooks.go constant HealthCheck (line 16) | HealthCheck = "health_check" constant CreateAccount (line 18) | CreateAccount = "create_account" constant WillCreatePlan (line 19) | WillCreatePlan = "will_create_plan" constant WillTellPlan (line 20) | WillTellPlan = "will_tell_plan" constant WillExecPlan (line 21) | WillExecPlan = "will_exec_plan" constant WillSendModelRequest (line 22) | WillSendModelRequest = "will_send_model_request" constant DidSendModelRequest (line 23) | DidSendModelRequest = "did_send_model_request" constant DidFinishBuilderRun (line 24) | DidFinishBuilderRun = "did_finish_builder_run" constant CreateOrg (line 25) | CreateOrg = "create_org" constant Authenticate (line 26) | Authenticate = "authenticate" constant GetIntegratedModels (line 27) | GetIntegratedModels = "get_integrated_models" constant GetApiOrgs (line 28) | GetApiOrgs = "get_api_orgs" constant CallFastApply (line 29) | CallFastApply = "call_fast_apply" type WillSendModelRequestParams (line 32) | type WillSendModelRequestParams struct type DidSendModelRequestParams (line 41) | type DidSendModelRequestParams struct type DidFinishBuilderRunParams (line 72) | type DidFinishBuilderRunParams struct type CreateOrgHookRequestParams (line 120) | type CreateOrgHookRequestParams struct type AuthenticateHookRequestParams (line 124) | type AuthenticateHookRequestParams struct type FastApplyParams (line 129) | type FastApplyParams struct type HookParams (line 141) | type HookParams struct type GetIntegratedModelsResult (line 155) | type GetIntegratedModelsResult struct type FastApplyResult (line 160) | type FastApplyResult struct type HookResult (line 164) | type HookResult struct type Hook (line 170) | type Hook function RegisterHook (line 174) | func RegisterHook(name string, hook Hook) { function ExecHook (line 178) | func ExecHook(name string, params HookParams) (HookResult, *shared.ApiEr... function TestUpdate (line 186) | func TestUpdate() { FILE: app/server/host/ip.go function LoadIp (line 15) | func LoadIp() error { type ecsMetadata (line 39) | type ecsMetadata struct function getAwsIp (line 47) | func getAwsIp() (string, error) { FILE: app/server/litellm_proxy.py function _oauth_get_hdrs (line 6) | def _oauth_get_hdrs( function health (line 61) | async def health(): function passthrough (line 65) | async def passthrough(request: Request): function error_response (line 158) | def error_response(exc: Exception) -> JSONResponse: function normalise_for_ollama (line 167) | def normalise_for_ollama(p): FILE: app/server/main.go function main (line 14) | func main() { FILE: app/server/migrations/2023120500_init.up.sql function update_updated_at_column (line 3) | CREATE OR REPLACE FUNCTION update_updated_at_column() type users (line 11) | CREATE TABLE IF NOT EXISTS users ( type users_domain_idx (line 24) | CREATE INDEX users_domain_idx ON users(domain) type orgs (line 26) | CREATE TABLE IF NOT EXISTS orgs ( type orgs_users (line 40) | CREATE TABLE IF NOT EXISTS orgs_users ( type orgs_users_user_idx (line 49) | CREATE INDEX orgs_users_user_idx ON orgs_users(user_id) type orgs_users_org_idx (line 50) | CREATE INDEX orgs_users_org_idx ON orgs_users(org_id) type invites (line 52) | CREATE TABLE IF NOT EXISTS invites ( type invites_pending_idx (line 65) | CREATE INDEX invites_pending_idx ON invites(org_id, (accepted_at IS NULL)) type invites_email_idx (line 66) | CREATE INDEX invites_email_idx ON invites(email, (accepted_at IS NULL)) type invites_org_user_idx (line 67) | CREATE INDEX invites_org_user_idx ON invites(org_id, invitee_id) type auth_tokens (line 69) | CREATE TABLE IF NOT EXISTS auth_tokens ( type auth_tokens_idx (line 77) | CREATE UNIQUE INDEX auth_tokens_idx ON auth_tokens(token_hash) type email_verifications (line 79) | CREATE TABLE IF NOT EXISTS email_verifications ( type email_verifications_idx (line 90) | CREATE UNIQUE INDEX email_verifications_idx ON email_verifications(pin_h... type projects (line 92) | CREATE TABLE IF NOT EXISTS projects ( type plans (line 101) | CREATE TABLE IF NOT EXISTS plans ( type plans_name_idx (line 116) | CREATE INDEX plans_name_idx ON plans(project_id, owner_id, name) type plans_archived_idx (line 117) | CREATE INDEX plans_archived_idx ON plans(project_id, owner_id, archived_at) type branches (line 119) | CREATE TABLE IF NOT EXISTS branches ( type branches_name_idx (line 138) | CREATE UNIQUE INDEX branches_name_idx ON branches(plan_id, name, archive... type users_projects (line 141) | CREATE TABLE IF NOT EXISTS users_projects ( type users_projects_idx (line 152) | CREATE INDEX users_projects_idx ON users_projects(user_id, org_id, proje... type convo_summaries (line 154) | CREATE TABLE IF NOT EXISTS convo_summaries ( type plan_builds (line 166) | CREATE TABLE IF NOT EXISTS plan_builds ( FILE: app/server/migrations/2024011700_rbac.up.sql type org_roles (line 2) | CREATE TABLE IF NOT EXISTS org_roles ( type org_roles_org_idx (line 13) | CREATE UNIQUE INDEX org_roles_org_idx ON org_roles(org_id, name) type orgs_users_org_role_idx (line 16) | CREATE INDEX orgs_users_org_role_idx ON orgs_users(org_id, org_role_id) type invites_org_role_idx (line 19) | CREATE INDEX invites_org_role_idx ON invites(org_id, org_role_id) type permissions (line 21) | CREATE TABLE IF NOT EXISTS permissions ( type org_roles_permissions (line 29) | CREATE TABLE IF NOT EXISTS org_roles_permissions ( FILE: app/server/migrations/2024012400_streams.up.sql type model_streams (line 1) | CREATE TABLE IF NOT EXISTS model_streams ( type model_streams_plan_idx (line 11) | CREATE UNIQUE INDEX model_streams_plan_idx ON model_streams(plan_id, bra... FILE: app/server/migrations/2024012500_locks.up.sql type repo_locks (line 1) | CREATE UNLOGGED TABLE IF NOT EXISTS repo_locks ( type repo_locks_plan_idx (line 12) | CREATE INDEX repo_locks_plan_idx ON repo_locks(plan_id) FILE: app/server/migrations/2024032701_drop_users_projects.down.sql type users_projects (line 1) | CREATE TABLE IF NOT EXISTS users_projects ( type users_projects_idx (line 12) | CREATE INDEX users_projects_idx ON users_projects(user_id, org_id, proje... FILE: app/server/migrations/2024041500_model_sets_models.up.sql type model_sets (line 1) | CREATE TABLE IF NOT EXISTS model_sets ( type model_sets_org_idx (line 18) | CREATE INDEX model_sets_org_idx ON model_sets(org_id) type custom_models (line 20) | CREATE TABLE IF NOT EXISTS custom_models ( type custom_models_org_idx (line 47) | CREATE INDEX custom_models_org_idx ON custom_models(org_id) FILE: app/server/migrations/2024042600_default_plan_settings.up.sql type default_plan_settings (line 1) | CREATE TABLE IF NOT EXISTS default_plan_settings ( type default_plan_settings_org_idx (line 12) | CREATE UNIQUE INDEX default_plan_settings_org_idx ON default_plan_settin... FILE: app/server/migrations/2024091800_sign_in_codes.up.sql type sign_in_codes (line 1) | CREATE TABLE IF NOT EXISTS sign_in_codes ( type sign_in_codes_idx (line 12) | CREATE UNIQUE INDEX sign_in_codes_idx ON sign_in_codes(pin_hash, created... FILE: app/server/migrations/2025021101_locks_unique.up.sql type repo_locks_single_write_lock (line 2) | CREATE UNIQUE INDEX repo_locks_single_write_lock type lockable_plan_ids (line 6) | CREATE TABLE IF NOT EXISTS lockable_plan_ids ( FILE: app/server/migrations/2025051600_custom_models_refactor.up.sql type custom_models (line 5) | CREATE TABLE IF NOT EXISTS custom_models ( type cmv_org_idx (line 38) | CREATE INDEX IF NOT EXISTS cmv_org_idx ON custom_models(org_id) type cmv_unique_idx (line 39) | CREATE UNIQUE INDEX IF NOT EXISTS cmv_unique_idx ON custom_models(org_id... type custom_providers (line 44) | CREATE TABLE IF NOT EXISTS custom_providers ( type cp_org_idx (line 58) | CREATE INDEX IF NOT EXISTS cp_org_idx ON custom_providers(org_id) type cp_unique_idx (line 59) | CREATE UNIQUE INDEX IF NOT EXISTS cp_unique_idx ON custom_providers(org_... FILE: app/server/migrations/2025052200_model_pack_cols.up.sql type model_set_unique_idx (line 7) | CREATE UNIQUE INDEX IF NOT EXISTS model_set_unique_idx ON model_sets(org... FILE: app/server/model/client.go constant ACTIVE_STREAM_CHUNK_TIMEOUT (line 30) | ACTIVE_STREAM_CHUNK_TIMEOUT = time.Duration(60) * time.Second constant USAGE_CHUNK_TIMEOUT (line 31) | USAGE_CHUNK_TIMEOUT = time.Duration(10) * time.Second constant MAX_ADDITIONAL_RETRIES_WITH_FALLBACK (line 32) | MAX_ADDITIONAL_RETRIES_WITH_FALLBACK = 1 constant MAX_RETRIES_WITHOUT_FALLBACK (line 33) | MAX_RETRIES_WITHOUT_FALLBACK = 3 constant MAX_RETRY_DELAY_SECONDS (line 34) | MAX_RETRY_DELAY_SECONDS = 10 type ClientInfo (line 39) | type ClientInfo struct function InitClients (line 46) | func InitClients(authVars map[string]string, settings *shared.PlanSettin... function newClient (line 57) | func newClient(providerConfig shared.ModelProviderConfigSchema, authVars... type ExtendedChatCompletionStream (line 83) | type ExtendedChatCompletionStream struct method Recv (line 472) | func (stream *ExtendedChatCompletionStream) Recv() (*types.ExtendedCha... method Close (line 495) | func (stream *ExtendedChatCompletionStream) Close() error { type StreamReader (line 90) | type StreamReader struct type ErrorAccumulator (line 99) | type ErrorAccumulator struct method Add (line 405) | func (ea *ErrorAccumulator) Add(err error) { method GetErrors (line 411) | func (ea *ErrorAccumulator) GetErrors() []error { type JSONUnmarshaler (line 105) | type JSONUnmarshaler struct method Unmarshal (line 417) | func (ju *JSONUnmarshaler) Unmarshal(data []byte, v interface{}) error { function CreateChatCompletionStream (line 107) | func CreateChatCompletionStream( function createChatCompletionStreamExtended (line 216) | func createChatCompletionStreamExtended( function NewErrorAccumulator (line 399) | func NewErrorAccumulator() *ErrorAccumulator { method Recv (line 422) | func (stream *StreamReader[T]) Recv() (*T, error) { method Close (line 464) | func (stream *StreamReader[T]) Close() error { function resolveReq (line 502) | func resolveReq(req *types.ExtendedChatCompletionRequest, modelConfig *s... function addOpenRouterHeaders (line 534) | func addOpenRouterHeaders(req *http.Request) { function handleClaudeMaxRateLimitedIfNeeded (line 543) | func handleClaudeMaxRateLimitedIfNeeded(modelErr *shared.ModelError, mod... FILE: app/server/model/client_stream.go type OnStreamFn (line 17) | type OnStreamFn function CreateChatCompletionWithInternalStream (line 19) | func CreateChatCompletionWithInternalStream( function processChatCompletionStream (line 86) | func processChatCompletionStream( function withStreamingRetries (line 230) | func withStreamingRetries[T any]( FILE: app/server/model/litellm.go function EnsureLiteLLM (line 20) | func EnsureLiteLLM(numWorkers int) error { function ShutdownLiteLLMServer (line 63) | func ShutdownLiteLLMServer() error { function isLiteLLMHealthy (line 86) | func isLiteLLMHealthy() bool { function startLiteLLMServer (line 106) | func startLiteLLMServer(numWorkers int) error { FILE: app/server/model/model_error.go type HTTPError (line 14) | type HTTPError struct method Error (line 20) | func (e *HTTPError) Error() string { function ClassifyErrMsg (line 38) | func ClassifyErrMsg(msg string) *shared.ModelError { function ClassifyModelError (line 90) | func ClassifyModelError(code int, message string, headers http.Header, i... function extractRetryAfter (line 167) | func extractRetryAfter(h http.Header, body string) (sec int) { function normalizeUnit (line 217) | func normalizeUnit(numStr, unit string) int { function classifyBasicError (line 230) | func classifyBasicError(err error, isClaudeMax bool) shared.ModelError { function isNonRetriableBasicErr (line 255) | func isNonRetriableBasicErr(err error) bool { FILE: app/server/model/model_request.go type ModelRequestParams (line 20) | type ModelRequestParams struct function ModelRequest (line 52) | func ModelRequest( function FilterEmptyMessages (line 265) | func FilterEmptyMessages(messages []types.ExtendedChatMessage) []types.E... function CheckSingleSystemMessage (line 284) | func CheckSingleSystemMessage(modelConfig *shared.ModelRoleConfig, baseM... FILE: app/server/model/name.go function GenPlanName (line 17) | func GenPlanName( type GenPipedDataNameParams (line 115) | type GenPipedDataNameParams struct function GenPipedDataName (line 127) | func GenPipedDataName( function GenNoteName (line 227) | func GenNoteName( FILE: app/server/model/parse/subtasks.go function ParseSubtasks (line 10) | func ParseSubtasks(replyContent string) []*db.Subtask { function ParseRemoveSubtasks (line 91) | func ParseRemoveSubtasks(replyContent string) []string { FILE: app/server/model/parse/subtasks_test.go function TestParseSubtasks (line 8) | func TestParseSubtasks(t *testing.T) { function sliceEqual (line 131) | func sliceEqual(a, b []string) bool { FILE: app/server/model/plan/activate.go function activatePlan (line 15) | func activatePlan( FILE: app/server/model/plan/build_exec.go type BuildParams (line 19) | type BuildParams struct function Build (line 30) | func Build(params BuildParams) (int, error) { method queueBuild (line 95) | func (state *activeBuildStreamState) queueBuild(activeBuild *types.Activ... method queueBuilds (line 132) | func (state *activeBuildStreamState) queueBuilds(activeBuilds []*types.A... method execPlanBuild (line 140) | func (buildState *activeBuildStreamState) execPlanBuild(activeBuild *typ... method buildFile (line 225) | func (fileState *activeBuildStreamFileState) buildFile() { method resolvePreBuildState (line 400) | func (fileState *activeBuildStreamFileState) resolvePreBuildState() { FILE: app/server/model/plan/build_finish.go method onFinishBuild (line 18) | func (state *activeBuildStreamFileState) onFinishBuild() { method onFinishBuildFile (line 165) | func (fileState *activeBuildStreamFileState) onFinishBuildFile(planRes *... method onBuildProcessed (line 242) | func (fileState *activeBuildStreamFileState) onBuildProcessed(activeBuil... method onBuildFileError (line 276) | func (fileState *activeBuildStreamFileState) onBuildFileError(err error) { method buildNextInQueue (line 315) | func (fileState *activeBuildStreamFileState) buildNextInQueue() bool { FILE: app/server/model/plan/build_load.go method loadPendingBuilds (line 17) | func (state *activeBuildStreamState) loadPendingBuilds(sessionId string)... method loadBuildFile (line 159) | func (state *activeBuildStreamFileState) loadBuildFile(activeBuild *type... FILE: app/server/model/plan/build_race.go type raceResult (line 16) | type raceResult struct type buildRaceParams (line 21) | type buildRaceParams struct method buildRace (line 34) | func (fileState *activeBuildStreamFileState) buildRace( FILE: app/server/model/plan/build_state.go constant MaxBuildErrorRetries (line 14) | MaxBuildErrorRetries = 3 type activeBuildStreamState (line 16) | type activeBuildStreamState struct type activeBuildStreamFileState (line 31) | type activeBuildStreamFileState struct FILE: app/server/model/plan/build_structured_edits.go method buildStructuredEdits (line 20) | func (fileState *activeBuildStreamFileState) buildStructuredEdits() { method validateSyntax (line 223) | func (fileState *activeBuildStreamFileState) validateSyntax(buildCtx con... FILE: app/server/model/plan/build_validate_and_fix.go constant MaxValidationFixAttempts (line 22) | MaxValidationFixAttempts = 3 type buildValidateLoopParams (line 24) | type buildValidateLoopParams struct type buildValidateLoopResult (line 38) | type buildValidateLoopResult struct method buildValidateLoop (line 44) | func (fileState *activeBuildStreamFileState) buildValidateLoop( type buildValidateParams (line 161) | type buildValidateParams struct type buildValidateResult (line 176) | type buildValidateResult struct method buildValidate (line 182) | func (fileState *activeBuildStreamFileState) buildValidate( function handleXMLResponse (line 327) | func handleXMLResponse( method validationRetryOrError (line 455) | func (fileState *activeBuildStreamFileState) validationRetryOrError(buil... FILE: app/server/model/plan/build_whole_file.go method buildWholeFileFallback (line 20) | func (fileState *activeBuildStreamFileState) buildWholeFileFallback(buil... method wholeFileRetryOrError (line 143) | func (fileState *activeBuildStreamFileState) wholeFileRetryOrError(build... FILE: app/server/model/plan/commit_msg.go method genPlanDescription (line 21) | func (state *activeTellStreamState) genPlanDescription() (*db.ConvoMessa... type GenCommitMsgForPendingResultsParams (line 176) | type GenCommitMsgForPendingResultsParams struct function GenCommitMsgForPendingResults (line 187) | func GenCommitMsgForPendingResults(params GenCommitMsgForPendingResultsP... FILE: app/server/model/plan/exec_status.go constant MaxPreviousMessages (line 24) | MaxPreviousMessages = 4 type execStatusShouldContinueResult (line 26) | type execStatusShouldContinueResult struct method execStatusShouldContinue (line 30) | func (state *activeTellStreamState) execStatusShouldContinue(currentMess... FILE: app/server/model/plan/state.go function GetActivePlan (line 21) | func GetActivePlan(planId, branch string) *types.ActivePlan { function CreateActivePlan (line 25) | func CreateActivePlan(orgId, userId, planId, branch, prompt string, buil... function DeleteActivePlan (line 99) | func DeleteActivePlan(orgId, userId, planId, branch string) { function UpdateActivePlan (line 139) | func UpdateActivePlan(planId, branch string, fn func(*types.ActivePlan)) { function SubscribePlan (line 143) | func SubscribePlan(ctx context.Context, planId, branch string) (string, ... function UnsubscribePlan (line 160) | func UnsubscribePlan(planId, branch, subscriptionId string) { function NumActivePlans (line 176) | func NumActivePlans() int { FILE: app/server/model/plan/stop.go function Stop (line 10) | func Stop(planId, branch, currentUserId, currentOrgId string) error { function StorePartialReply (line 23) | func StorePartialReply(repo *db.GitRepo, planId, branch, currentUserId, ... FILE: app/server/model/plan/tell_build_pending.go method queuePendingBuilds (line 13) | func (state *activeTellStreamState) queuePendingBuilds() { FILE: app/server/model/plan/tell_context.go type formatModelContextParams (line 16) | type formatModelContextParams struct method formatModelContext (line 29) | func (state *activeTellStreamState) formatModelContext(params formatMode... type checkAutoLoadContextResult (line 370) | type checkAutoLoadContextResult struct method checkAutoLoadContext (line 377) | func (state *activeTellStreamState) checkAutoLoadContext() checkAutoLoad... FILE: app/server/model/plan/tell_exec.go type TellParams (line 23) | type TellParams struct function Tell (line 32) | func Tell(params TellParams) error { type execTellPlanParams (line 73) | type execTellPlanParams struct function execTellPlan (line 86) | func execTellPlan(params execTellPlanParams) { method doTellRequest (line 494) | func (state *activeTellStreamState) doTellRequest() { method dryRunCalculateTokensWithoutContext (line 584) | func (state *activeTellStreamState) dryRunCalculateTokensWithoutContext(... FILE: app/server/model/plan/tell_load.go method loadTellPlan (line 20) | func (state *activeTellStreamState) loadTellPlan() error { method setActivePlan (line 429) | func (state *activeTellStreamState) setActivePlan() error { FILE: app/server/model/plan/tell_missing_file.go method handleMissingFileResponse (line 13) | func (state *activeTellStreamState) handleMissingFileResponse(unfinished... FILE: app/server/model/plan/tell_prompt_message.go method resolvePromptMessage (line 13) | func (state *activeTellStreamState) resolvePromptMessage( FILE: app/server/model/plan/tell_stage.go method lastSuccessfulConvoMessage (line 11) | func (state *activeTellStreamState) lastSuccessfulConvoMessage() *db.Con... method resolveCurrentStage (line 22) | func (state *activeTellStreamState) resolveCurrentStage() (activatePaths... FILE: app/server/model/plan/tell_state.go type activeTellStreamState (line 14) | type activeTellStreamState struct type chunkProcessor (line 71) | type chunkProcessor struct FILE: app/server/model/plan/tell_stream_error.go type onErrorParams (line 19) | type onErrorParams struct type onErrorResult (line 29) | type onErrorResult struct method onError (line 34) | func (state *activeTellStreamState) onError(params onErrorParams) onErro... method onActivePlanMissingError (line 262) | func (state *activeTellStreamState) onActivePlanMissingError() { FILE: app/server/model/plan/tell_stream_finish.go constant MaxAutoContinueIterations (line 18) | MaxAutoContinueIterations = 200 type handleStreamFinishedResult (line 20) | type handleStreamFinishedResult struct method handleStreamFinished (line 25) | func (state *activeTellStreamState) handleStreamFinished() handleStreamF... FILE: app/server/model/plan/tell_stream_main.go method listenStream (line 20) | func (state *activeTellStreamState) listenStream(stream *model.ExtendedC... function firstTokenTimeout (line 286) | func firstTokenTimeout(tok int, isLocalModel bool) time.Duration { FILE: app/server/model/plan/tell_stream_processor.go constant verboseLogging (line 20) | verboseLogging = false type processChunkResult (line 24) | type processChunkResult struct method processChunk (line 29) | func (state *activeTellStreamState) processChunk(choice types.ExtendedCh... type bufferOrStreamResult (line 158) | type bufferOrStreamResult struct method bufferOrStream (line 165) | func (processor *chunkProcessor) bufferOrStream(content string, parserRe... method handleNewOperations (line 522) | func (state *activeTellStreamState) handleNewOperations(parserRes *types... method handleMissingFile (line 595) | func (state *activeTellStreamState) handleMissingFile(content, currentFi... function getCroppedChunk (line 728) | func getCroppedChunk(uncropped, cropped, chunk string) string { function replaceCodeBlockOpeningTag (line 737) | func replaceCodeBlockOpeningTag(content string, replaceWithFn func(lang ... FILE: app/server/model/plan/tell_stream_processor_test.go function TestBufferOrStream (line 9) | func TestBufferOrStream(t *testing.T) { FILE: app/server/model/plan/tell_stream_status.go type handleDescAndExecStatusResult (line 12) | type handleDescAndExecStatusResult struct method handleDescAndExecStatus (line 18) | func (state *activeTellStreamState) handleDescAndExecStatus() handleDesc... type willContinuePlanParams (line 130) | type willContinuePlanParams struct method willContinuePlan (line 138) | func (state *activeTellStreamState) willContinuePlan(params willContinue... FILE: app/server/model/plan/tell_stream_store.go type storeOnFinishedParams (line 15) | type storeOnFinishedParams struct type storeOnFinishedResult (line 25) | type storeOnFinishedResult struct method storeOnFinished (line 30) | func (state *activeTellStreamState) storeOnFinished(params storeOnFinish... type storeAssistantReplyParams (line 239) | type storeAssistantReplyParams struct method storeAssistantReply (line 248) | func (state *activeTellStreamState) storeAssistantReply(repo *db.GitRepo... FILE: app/server/model/plan/tell_stream_usage.go method handleUsageChunk (line 14) | func (state *activeTellStreamState) handleUsageChunk(usage *openai.Usage) { method execHookOnStop (line 76) | func (state *activeTellStreamState) execHookOnStop(sendStreamErr bool) { FILE: app/server/model/plan/tell_subtasks.go method formatSubtasks (line 14) | func (state *activeTellStreamState) formatSubtasks() string { type checkNewSubtasksResult (line 80) | type checkNewSubtasksResult struct method checkNewSubtasks (line 85) | func (state *activeTellStreamState) checkNewSubtasks() checkNewSubtasksR... type checkRemoveSubtasksResult (line 174) | type checkRemoveSubtasksResult struct method checkRemoveSubtasks (line 179) | func (state *activeTellStreamState) checkRemoveSubtasks() checkRemoveSub... FILE: app/server/model/plan/tell_summary.go method addConversationMessages (line 22) | func (state *activeTellStreamState) addConversationMessages() bool { type summarizeConvoParams (line 233) | type summarizeConvoParams struct function summarizeConvo (line 246) | func summarizeConvo(clients map[string]model.ClientInfo, authVars map[st... FILE: app/server/model/plan/tell_sys_prompt.go constant AllTasksCompletedMsg (line 14) | AllTasksCompletedMsg = "All tasks have been completed. There is no curre... type getTellSysPromptParams (line 16) | type getTellSysPromptParams struct method getTellSysPrompt (line 24) | func (state *activeTellStreamState) getTellSysPrompt(params getTellSysPr... FILE: app/server/model/plan/utils.go function StripBackticksWrapper (line 8) | func StripBackticksWrapper(s string) string { FILE: app/server/model/prompts/apply_exec.go constant ApplyScriptSharedPrompt (line 3) | ApplyScriptSharedPrompt = ` constant ApplyScriptPlanningPrompt (line 242) | ApplyScriptPlanningPrompt = ApplyScriptSharedPrompt + ` constant ApplyScriptImplementationPrompt (line 305) | ApplyScriptImplementationPrompt = ApplyScriptSharedPrompt + ` constant ApplyScriptResetUpdateSharedPrompt (line 531) | ApplyScriptResetUpdateSharedPrompt = ` constant ApplyScriptResetUpdatePlanningPrompt (line 561) | ApplyScriptResetUpdatePlanningPrompt = ApplyScriptResetUpdateSharedPromp... constant ApplyScriptResetUpdateImplementationPrompt (line 776) | ApplyScriptResetUpdateImplementationPrompt = ApplyScriptResetUpdateShare... constant ApplyScriptPlanningPromptSummary (line 847) | ApplyScriptPlanningPromptSummary = ` constant ApplyScriptImplementationPromptSummary (line 917) | ApplyScriptImplementationPromptSummary = ` constant ApplyScriptResetUpdateSharedSummary (line 987) | ApplyScriptResetUpdateSharedSummary = ` constant ApplyScriptResetUpdatePlanningSummary (line 1001) | ApplyScriptResetUpdatePlanningSummary = ` constant ApplyScriptResetUpdateImplementationSummary (line 1024) | ApplyScriptResetUpdateImplementationSummary = ` constant ApplyScriptExecutionSummary (line 1050) | ApplyScriptExecutionSummary = ` constant SharedPlanningDebugPrompt (line 1124) | SharedPlanningDebugPrompt = ` constant UserPlanningDebugPrompt (line 1143) | UserPlanningDebugPrompt = SharedPlanningDebugPrompt + `You are debugging... constant ApplyPlanningDebugPrompt (line 1152) | ApplyPlanningDebugPrompt = SharedPlanningDebugPrompt + `The _apply.sh sc... constant ExitCodePrompt (line 1163) | ExitCodePrompt = ` constant ApplyScriptStartupLogic (line 1167) | ApplyScriptStartupLogic = ` FILE: app/server/model/prompts/architect_context.go function GetArchitectContextSummary (line 5) | func GetArchitectContextSummary(tokenLimit int) string { function GetAutoContextTellPrompt (line 119) | func GetAutoContextTellPrompt(params CreatePromptParams) string { function GetAutoContextChatPrompt (line 168) | func GetAutoContextChatPrompt(params CreatePromptParams) string { function GetAutoContextShared (line 202) | func GetAutoContextShared(params CreatePromptParams, tellMode bool) stri... FILE: app/server/model/prompts/build_helpers.go constant ExampleReferences (line 3) | ExampleReferences = ` constant CommentClassifierPrompt (line 27) | CommentClassifierPrompt = ` FILE: app/server/model/prompts/build_validation_replacements.go type ValidationPromptParams (line 11) | type ValidationPromptParams struct function GetValidationReplacementsXmlPrompt (line 22) | func GetValidationReplacementsXmlPrompt(params ValidationPromptParams) (... function getBuildPromptHead (line 220) | func getBuildPromptHead(filePath string, preBuildStateWithLineNums share... FILE: app/server/model/prompts/build_whole_file.go function GetWholeFilePrompt (line 5) | func GetWholeFilePrompt(filePath string, preBuildStateWithLineNums share... constant WholeFilePrompt (line 23) | WholeFilePrompt = ` FILE: app/server/model/prompts/chat.go function GetChatSysPrompt (line 3) | func GetChatSysPrompt(params CreatePromptParams) string { FILE: app/server/model/prompts/code_block_langs.go constant ValidLangIdentifiers (line 3) | ValidLangIdentifiers = ` FILE: app/server/model/prompts/describe.go constant SysDescribeXml (line 9) | SysDescribeXml = `You are an AI parser. You turn an AI's plan for a prog... constant SysDescribe (line 14) | SysDescribe = "You are an AI parser. You turn an AI's plan for a program... constant SysPendingResults (line 29) | SysPendingResults = "You are an AI commit message summarizer. You take a... FILE: app/server/model/prompts/exec_status.go constant SysExecStatusFinishedSubtaskXml (line 10) | SysExecStatusFinishedSubtaskXml = `You are tasked with evaluating a resp... constant SysExecStatusFinishedSubtask (line 30) | SysExecStatusFinishedSubtask = `You are tasked with evaluating a respons... type GetExecStatusFinishedSubtaskParams (line 48) | type GetExecStatusFinishedSubtaskParams struct function GetExecStatusFinishedSubtask (line 56) | func GetExecStatusFinishedSubtask(params GetExecStatusFinishedSubtaskPar... FILE: app/server/model/prompts/explanation_format.go constant ChangeExplanationPrompt (line 3) | ChangeExplanationPrompt = ` FILE: app/server/model/prompts/file_ops.go constant FileOpsPlanningPrompt (line 3) | FileOpsPlanningPrompt = ` constant FileOpsImplementationPrompt (line 31) | FileOpsImplementationPrompt = ` constant FileOpsImplementationPromptSummary (line 122) | FileOpsImplementationPromptSummary = ` FILE: app/server/model/prompts/implement.go function GetImplementationPrompt (line 3) | func GetImplementationPrompt(task string) string { constant CurrentSubtaskPrompt (line 271) | CurrentSubtaskPrompt = ` constant MarkSubtaskDonePrompt (line 278) | MarkSubtaskDonePrompt = ` FILE: app/server/model/prompts/missing_file.go function GetSkipMissingFilePrompt (line 5) | func GetSkipMissingFilePrompt(path string) string { function GetMissingFileContinueGeneratingPrompt (line 9) | func GetMissingFileContinueGeneratingPrompt(path string) string { FILE: app/server/model/prompts/name.go constant SysPlanNameXml (line 8) | SysPlanNameXml = `You are an AI namer that creates a name for the plan. ... constant SysPlanName (line 13) | SysPlanName = "You are an AI namer that creates a name for the plan. Mos... type PlanNameRes (line 28) | type PlanNameRes struct function GetPlanNamePrompt (line 32) | func GetPlanNamePrompt(sysPrompt, text string) string { type PipedDataNameRes (line 36) | type PipedDataNameRes struct constant SysPipedDataNameXml (line 40) | SysPipedDataNameXml = `You are an AI namer that creates a name for outpu... constant SysPipedDataName (line 45) | SysPipedDataName = "You are an AI namer that creates a name for output t... function GetPipedDataNamePrompt (line 60) | func GetPipedDataNamePrompt(sysPrompt, text string) string { type NoteNameRes (line 64) | type NoteNameRes struct constant SysNoteNameXml (line 68) | SysNoteNameXml = `You are an AI namer that creates a name for an arbitra... constant SysNoteName (line 73) | SysNoteName = "You are an AI namer that creates a name for an arbitrary ... function GetNoteNamePrompt (line 88) | func GetNoteNamePrompt(sysPrompt, text string) string { FILE: app/server/model/prompts/planning.go type CreatePromptParams (line 3) | type CreatePromptParams struct function GetPlanningPrompt (line 12) | func GetPlanningPrompt(params CreatePromptParams) string { function getUsesPrompt (line 206) | func getUsesPrompt(params CreatePromptParams) string { constant SharedPlanningImplementationPrompt (line 254) | SharedPlanningImplementationPrompt = ` constant ReviseSubtasksPrompt (line 311) | ReviseSubtasksPrompt = ` FILE: app/server/model/prompts/shared.go constant Identity (line 3) | Identity = "You are Plandex, an AI programming and system administration... FILE: app/server/model/prompts/summary.go constant PlanSummary (line 3) | PlanSummary = ` FILE: app/server/model/prompts/update_format.go constant UpdateFormatPrompt (line 3) | UpdateFormatPrompt = ` constant UpdateFormatAdditionalExamples (line 854) | UpdateFormatAdditionalExamples = ` FILE: app/server/model/prompts/user_prompt.go constant SharedPromptWrapperFormatStr (line 9) | SharedPromptWrapperFormatStr = "# The user's latest prompt:\n```\n%s\n``... function GetContextLoadingPromptWrapperFormatStr (line 27) | func GetContextLoadingPromptWrapperFormatStr(params CreatePromptParams) ... function GetPlanningPromptWrapperFormatStr (line 34) | func GetPlanningPromptWrapperFormatStr(params CreatePromptParams) string { function GetImplementationPromptWrapperFormatStr (line 107) | func GetImplementationPromptWrapperFormatStr(params CreatePromptParams) ... type UserPromptParams (line 259) | type UserPromptParams struct function GetWrappedPrompt (line 267) | func GetWrappedPrompt(params UserPromptParams) string { constant UserContinuePrompt (line 321) | UserContinuePrompt = "Continue the plan according to your instructions f... constant AutoContinuePlanningPrompt (line 323) | AutoContinuePlanningPrompt = UserContinuePrompt constant AutoContinueImplementationPrompt (line 325) | AutoContinueImplementationPrompt = `Continue the plan from where you lef... constant SkippedPathsPrompt (line 341) | SkippedPathsPrompt = "\n\nSome files have been skipped by the user and *... constant CombineSubtasksPrompt (line 343) | CombineSubtasksPrompt = ` type ChatUserPromptParams (line 417) | type ChatUserPromptParams struct function GetWrappedChatOnlyPrompt (line 423) | func GetWrappedChatOnlyPrompt(params ChatUserPromptParams) string { function GetPlanningFlowControl (line 509) | func GetPlanningFlowControl(params CreatePromptParams) string { FILE: app/server/model/summarize.go type PlanSummaryParams (line 18) | type PlanSummaryParams struct function PlanSummary (line 31) | func PlanSummary(clients map[string]ClientInfo, authVars map[string]stri... FILE: app/server/model/tokens.go constant TokensPerMessage (line 14) | TokensPerMessage = 4 constant TokensPerName (line 17) | TokensPerName = 1 constant TokensPerRequest (line 20) | TokensPerRequest = 3 constant TokensPerExtendedPart (line 22) | TokensPerExtendedPart = 6 function GetMessagesTokenEstimate (line 25) | func GetMessagesTokenEstimate(messages ...types.ExtendedChatMessage) int { FILE: app/server/notify/errors.go type Severity (line 11) | type Severity constant SeverityInfo (line 14) | SeverityInfo Severity = iota constant SeverityError (line 15) | SeverityError function RegisterNotifyErrFn (line 20) | func RegisterNotifyErrFn(fn func(severity Severity, data ...interface{})) { function NotifyErr (line 24) | func NotifyErr(severity Severity, data ...interface{}) { FILE: app/server/routes/routes.go type PlandexHandler (line 15) | type PlandexHandler type HandlePlandex (line 16) | type HandlePlandex function RegisterHandlePlandex (line 20) | func RegisterHandlePlandex(fn HandlePlandex) { function EnsureHandlePlandex (line 24) | func EnsureHandlePlandex() { function AddHealthRoutes (line 30) | func AddHealthRoutes(r *mux.Router) { function AddApiRoutes (line 73) | func AddApiRoutes(r *mux.Router) { function AddApiRoutesWithPrefix (line 77) | func AddApiRoutesWithPrefix(r *mux.Router, prefix string) { function AddProxyableApiRoutes (line 81) | func AddProxyableApiRoutes(r *mux.Router) { function AddProxyableApiRoutesWithPrefix (line 85) | func AddProxyableApiRoutesWithPrefix(r *mux.Router, prefix string) { function addApiRoutes (line 89) | func addApiRoutes(r *mux.Router, prefix string) { function addProxyableApiRoutes (line 192) | func addProxyableApiRoutes(r *mux.Router, prefix string) { FILE: app/server/setup/setup.go function MustLoadIp (line 20) | func MustLoadIp() { function MustInitDb (line 27) | func MustInitDb() { function RegisterShutdownHook (line 46) | func RegisterShutdownHook(hook func()) { function loggingMiddleware (line 50) | func loggingMiddleware(next http.Handler) http.Handler { function StartServer (line 66) | func StartServer(handler http.Handler, configureFn func(handler http.Han... function waitForActivePlans (line 187) | func waitForActivePlans() chan struct{} { function maxBytesMiddleware (line 206) | func maxBytesMiddleware(next http.Handler, maxBytes int64) http.Handler { FILE: app/server/syntax/comments.go function GetCommentSymbols (line 91) | func GetCommentSymbols(lang shared.Language) (string, string) { FILE: app/server/syntax/file_map/cli/main.go function main (line 14) | func main() { FILE: app/server/syntax/file_map/examples/c_example.c type Person (line 10) | typedef struct { type Weekday (line 15) | typedef enum { function add (line 42) | int add(int a, int b) { function subtract (line 46) | int subtract(int a, int b) { function printPerson (line 50) | void printPerson(const Person* p) { function factorial (line 54) | int factorial(int n) { function main (line 60) | int main() { FILE: app/server/syntax/file_map/examples/cpp_example.cpp type Color (line 13) | enum Color { RED, GREEN, BLUE } class Container (line 18) | class Container { method add (line 22) | void add(T item) { items.push_back(item); } class Animal (line 33) | class Animal { class Dog (line 42) | class Dog : virtual public Animal { method Dog (line 44) | Dog(const std::string& dogName) { name = dogName; } method makeSound (line 45) | void makeSound() const override { type Utils (line 51) | namespace Utils { function T (line 58) | T max(T a, T b) { class Resource (line 69) | class Resource { method Resource (line 71) | Resource(const std::string& data) : data_(data) { method Resource (line 77) | Resource(Resource&& other) noexcept : data_(std::move(other.data_)) {} method getData (line 78) | std::string getData() const { return data_; } class Counter (line 84) | class Counter { method getCount (line 86) | static int getCount() { return count; } method Counter (line 87) | Counter() { ++count; } class Box (line 95) | class Box { method Box (line 98) | Box(int w, int h) : width(w), height(h) {} function main (line 109) | int main() { FILE: app/server/syntax/file_map/examples/csharp_example.cs type IProcessor (line 10) | public interface IProcessor method ProcessAsync (line 12) | Task ProcessAsync(T input); method Validate (line 13) | bool Validate(T input); type Status (line 17) | public enum Status class DataProcessor (line 29) | public class DataProcessor : IProcessor where T : class method DataProcessor (line 41) | public DataProcessor() method ProcessAsync (line 47) | public async Task ProcessAsync(T input) method Validate (line 67) | public bool Validate(T input) => input != null; method OnStatusChanged (line 70) | protected virtual void OnStatusChanged(Status oldStatus, Status newSta... method GetProcessedCount (line 76) | public static int GetProcessedCount() where TItem : class type Person (line 83) | public record Person(string Name, int Age) class StringExtensions (line 90) | public static class StringExtensions method WordCount (line 92) | public static int WordCount(this string str) class Program (line 99) | public class Program method Main (line 101) | public static async Task Main(string[] args) FILE: app/server/syntax/file_map/examples/elixir_example.ex class ExampleApp (line 1) | defmodule ExampleApp method validate_email (line 36) | defp validate_email(email) do method handle_result (line 41) | def handle_result({:ok, value}), do: "Success: #{value}" method handle_result (line 42) | def handle_result({:error, reason}), do: "Error: #{reason}" method handle_result (line 43) | def handle_result(_), do: "Unknown result" method create_user (line 70) | def create_user(params) do FILE: app/server/syntax/file_map/examples/go_example.go type DataProcessor (line 14) | type DataProcessor interface type ValidationError (line 20) | type ValidationError struct method Error (line 25) | func (e *ValidationError) Error() string { type User (line 30) | type User struct constant MaxRetries (line 43) | MaxRetries = 3 constant DefaultLimit (line 44) | DefaultLimit = 100 constant singleLineConst (line 48) | singleLineConst string = "single line const" type Result (line 60) | type Result struct type UserProcessor (line 67) | type UserProcessor struct method Process (line 78) | func (p *UserProcessor) Process(ctx context.Context, data interface{})... method Validate (line 91) | func (p *UserProcessor) Validate(data interface{}) bool { function NewUserProcessor (line 72) | func NewUserProcessor() *UserProcessor { function processUsers (line 97) | func processUsers(ctx context.Context, users <-chan *User) <-chan *Resul... function createUser (line 115) | func createUser(name, email string) (user *User, err error) { function main (line 135) | func main() { FILE: app/server/syntax/file_map/examples/java_example.java type DataProcessor (line 10) | interface DataProcessor> { method processAsync (line 11) | CompletableFuture processAsync(T input); method validate (line 12) | boolean validate(T input); type Status (line 16) | enum Status { method Status (line 24) | Status(String code) { method getCode (line 28) | public String getCode() { class BaseEntity (line 34) | abstract class BaseEntity { method validate (line 39) | public abstract void validate(); class Example (line 56) | public class Example extends BaseEntity implements DataProcessor> List sort(Collection it... method processItems (line 126) | public void processItems( class ProcessingException (line 137) | public static class ProcessingException extends RuntimeException { method ProcessingException (line 138) | public ProcessingException(String message) { method main (line 144) | public static void main(String[] args) { FILE: app/server/syntax/file_map/examples/javascript_example.js constant MAX_RETRIES (line 6) | const MAX_RETRIES = 3; constant DEFAULT_TIMEOUT (line 7) | const DEFAULT_TIMEOUT = 5000; class DataProcessor (line 13) | class DataProcessor extends EventEmitter { method constructor (line 21) | constructor({ maxRetries = MAX_RETRIES, timeout = DEFAULT_TIMEOUT } = ... method processData (line 27) | async processData(data) { method #validateAndTransform (line 39) | async #validateAndTransform(data) { method iterateCache (line 45) | *iterateCache() { function deprecated (line 54) | function deprecated(target, context) { method get (line 66) | get(target, prop) { class ValidationError (line 97) | class ValidationError extends Error { method constructor (line 98) | constructor(message, field) { method theme (line 108) | get theme() { method theme (line 111) | set theme(value) { FILE: app/server/syntax/file_map/examples/php_example.php type DataProcessor (line 14) | interface DataProcessor method process (line 16) | public function process(mixed $data): mixed; method validate (line 17) | public function validate(mixed $data): bool; type Loggable (line 21) | trait Loggable method setLogger (line 25) | public function setLogger(LoggerInterface $logger): void method log (line 30) | protected function log(string $message, array $context = []): void class Entity (line 37) | abstract class Entity implements JsonSerializable method __construct (line 42) | public function __construct() method validate (line 47) | abstract public function validate(): bool; method jsonSerialize (line 49) | public function jsonSerialize(): mixed method label (line 66) | public function label(): string class User (line 78) | class User extends Entity implements DataProcessor method __construct (line 84) | public function __construct( method getInstanceCount (line 94) | public static function getInstanceCount(): int method getEmail (line 100) | public function getEmail(): string method setEmail (line 106) | public function setEmail(string $email): void method __get (line 116) | public function __get(string $name) method __set (line 121) | public function __set(string $name, mixed $value): void method process (line 127) | public function process(mixed $data): mixed method validate (line 143) | public function validate(mixed $data): bool method validate (line 149) | public function validate(): bool method getMetadataValues (line 155) | public function getMetadataValues(): array method jsonSerialize (line 164) | public function jsonSerialize(): mixed class ProcessingException (line 177) | class ProcessingException extends Exception method __construct (line 179) | public function __construct( method getErrorCode (line 188) | public function getErrorCode(): ?string method validateUser (line 196) | public function validateUser(User $user): bool FILE: app/server/syntax/file_map/examples/python_example.py class Processable (line 21) | class Processable(Protocol): method process (line 22) | def process(self) -> None: ... method validate (line 23) | def validate(self) -> bool: ... class Status (line 26) | class Status(enum.Enum): method __str__ (line 32) | def __str__(self) -> str: class UserCredentials (line 37) | class UserCredentials: class BaseProcessor (line 43) | class BaseProcessor(ABC, Generic[T]): method __init__ (line 44) | def __init__(self) -> None: method process_item (line 49) | async def process_item(self, item: T) -> None: method processed_count (line 53) | def processed_count(self) -> int: function log_execution (line 57) | def log_execution(func: Callable) -> Callable: class DataProcessor (line 71) | class DataProcessor(BaseProcessor[UserCredentials], Processable): method __init__ (line 75) | def __init__(self, batch_size: Optional[int] = None) -> None: method status (line 82) | def status(self) -> Status: method status (line 86) | def status(self, value: Status) -> None: method __aenter__ (line 92) | async def __aenter__(self) -> DataProcessor: method __aexit__ (line 96) | async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: method process_batch (line 100) | async def process_batch(self) -> AsyncIterator[List[UserCredentials]]: method process_item (line 108) | async def process_item(self, item: UserCredentials) -> None: method process (line 115) | def process(self) -> None: method validate (line 120) | def validate(self) -> bool: class ProcessingError (line 124) | class ProcessingError(Exception): method __init__ (line 125) | def __init__(self, message: str, item: Any) -> None: function main (line 130) | async def main() -> None: FILE: app/server/syntax/file_map/examples/ruby_example.rb type Loggable (line 6) | module Loggable function log (line 7) | def log(message) type Utils (line 13) | module Utils function generate_id (line 15) | def generate_id class BaseProcessor (line 22) | class BaseProcessor method register (line 31) | def register(processor) method initialize (line 40) | def initialize method process (line 48) | def process class ProcessingError (line 54) | class ProcessingError < StandardError method initialize (line 57) | def initialize(message, item) function valid? (line 65) | def valid? type Status (line 71) | module Status class DataProcessor (line 81) | class DataProcessor < BaseProcessor method instance_count (line 89) | def self.instance_count method initialize (line 93) | def initialize(options = {}) method add_item (line 101) | def add_item(item:, priority: :normal) method validate_item (line 109) | def validate_item(item) method with_retry (line 115) | def with_retry method process_items (line 127) | def process_items method process_item (line 136) | def process_item(item) class Configuration (line 144) | class Configuration method initialize (line 147) | def initialize method [] (line 151) | def [](key) method []= (line 155) | def []=(key, value) FILE: app/server/syntax/file_map/examples/rust_example.rs type Result (line 11) | type Result = std::result::Result { method process (line 33) | async fn process(&self, data: T) -> Result; method validate (line 34) | fn validate(&self, data: &T) -> bool; type ProcessorState (line 39) | pub struct ProcessorState<'a, T> { type Status (line 47) | pub enum Status { type ItemProcessor (line 55) | pub struct ItemProcessor { method process (line 64) | async fn process(&self, data: String) -> Result { method validate (line 71) | fn validate(&self, data: &String) -> bool { type Config (line 78) | pub struct Config { type Storage (line 87) | pub trait Storage { method store (line 91) | fn store(&mut self, item: Self::Item) -> std::result::Result<(), Self:... method retrieve (line 92) | fn retrieve(&self, id: &str) -> std::result::Result... type Item (line 101) | type Item = Vec; type Error (line 102) | type Error = std::io::Error; method store (line 104) | fn store(&mut self, item: Self::Item) -> std::result::Result<(), Self:... method retrieve (line 109) | fn retrieve(&self, id: &str) -> std::result::Result... type MemoryStorage (line 96) | pub struct MemoryStorage { function main (line 116) | async fn main() -> Result<()> { FILE: app/server/syntax/file_map/examples/tsx_example.tsx type User (line 5) | interface User { type ValidationResult (line 12) | type ValidationResult = { type DataListProps (line 18) | interface DataListProps { function useDebounce (line 25) | function useDebounce(value: T, delay: number): T { function withLoading (line 42) | function withLoading

( FILE: app/server/syntax/file_map/examples/typescript_example.ts type DataProcessor (line 7) | interface DataProcessor { type Result (line 13) | type Result = { type Status (line 20) | enum Status { type ValidationResult (line 28) | type ValidationResult = type AdminUser (line 33) | type AdminUser = User & { type Readonly (line 39) | type Readonly = { type Partial (line 44) | type Partial = { function validate (line 51) | function validate(target: any, propertyKey: string, descriptor: Property... class User (line 62) | @logger method constructor (line 73) | constructor(name: string, email: string) { method updateEmail (line 81) | public updateEmail(newEmail: string): void { method isAdmin (line 86) | public get isAdmin(): this is AdminUser { method validate (line 98) | validate(data: T): boolean { class StringProcessor (line 104) | class StringProcessor extends BaseProcessor { method process (line 105) | async process(data: string): Promise { method transform (line 112) | private async transform(data: string): Promise { function process (line 120) | function process(data: string | number): Promise { function validateData (line 125) | async function validateData( function withRetry (line 135) | function withRetry( type Middleware (line 155) | type Middleware = ( function main (line 178) | async function main() { constant SOME_CONST (line 202) | const SOME_CONST: number = 123; constant SOME_LET (line 204) | let SOME_LET: boolean = true; type SOME_TYPE (line 205) | type SOME_TYPE = string; type SOME_INTERFACE (line 206) | interface SOME_INTERFACE { class SOME_CLASS (line 209) | class SOME_CLASS { method constructor (line 210) | constructor(public name: string) { } function fn (line 213) | function fn() { function asyncFn (line 217) | async function asyncFn() { type Enum (line 221) | enum Enum { function makeId (line 232) | function makeId() { return '' as T } class DefaultCls (line 233) | class DefaultCls { } type Flags (line 241) | const enum Flags { None = 0, Read = 1 } type Ambient (line 242) | enum Ambient { X } function greet (line 245) | function greet() { } class C (line 257) | class C { method inc (line 259) | static get inc() { return ++this.value } class Modern (line 263) | class Modern { type Route (line 268) | type Route = `/api/${T}` type Flatten (line 269) | type Flatten = T extends (infer U)[] ? U : T type Window (line 273) | interface Window { myLib: unknown } FILE: app/server/syntax/file_map/map.go type FileMap (line 18) | type FileMap struct method String (line 414) | func (m *FileMap) String() string { type Definition (line 22) | type Definition struct type Node (line 32) | type Node struct function MapFile (line 39) | func MapFile(ctx context.Context, filename string, content []byte) (*Fil... function mapNode (line 135) | func mapNode(node *tree_sitter.Node, content []byte, lang shared.Languag... function mapTraditional (line 151) | func mapTraditional(baseNode Node, parentNode *Node) []Definition { function mapMarkdownSimple (line 465) | func mapMarkdownSimple(content []byte) []Definition { FILE: app/server/syntax/file_map/markup.go function mapMarkup (line 11) | func mapMarkup(content []byte) []Definition { function areMarkupDefinitionsEqual (line 69) | func areMarkupDefinitionsEqual(a, b Definition) bool { function consolidateRepeatedTags (line 85) | func consolidateRepeatedTags(defs []Definition) []Definition { function isSignificantTag (line 155) | func isSignificantTag(tag string) bool { FILE: app/server/syntax/file_map/multi.go function ProcessMapFiles (line 21) | func ProcessMapFiles(ctx context.Context, inputs map[string]string) (sha... type MapTrees (line 77) | type MapTrees method CombinedTrees (line 127) | func (m MapTrees) CombinedTrees() string { function ProcessMapTrees (line 79) | func ProcessMapTrees(ctx context.Context, inputs map[string]string) (Map... FILE: app/server/syntax/file_map/nodes_config.go type nodeType (line 5) | type nodeType type matchType (line 7) | type matchType constant matchTypeEqual (line 10) | matchTypeEqual matchType = "equal" constant matchTypePrefix (line 11) | matchTypePrefix matchType = "prefix" constant matchTypeSuffix (line 12) | matchTypeSuffix matchType = "suffix" type langSet (line 15) | type langSet type nodeConfig (line 17) | type nodeConfig struct type nodeMap (line 27) | type nodeMap FILE: app/server/syntax/file_map/nodes_find.go function isDefinitionNode (line 10) | func isDefinitionNode(node Node, parentNode *Node) bool { function isAssignmentNode (line 39) | func isAssignmentNode(node Node) bool { function isParentNode (line 48) | func isParentNode(node Node) bool { function isImplBoundaryNode (line 57) | func isImplBoundaryNode(node Node) bool { function isAssignmentBoundaryNode (line 66) | func isAssignmentBoundaryNode(node Node) bool { function isIdentifierNode (line 75) | func isIdentifierNode(node Node) bool { function isPassThroughParentNode (line 84) | func isPassThroughParentNode(node Node) bool { function isIncludeAndContinueNode (line 93) | func isIncludeAndContinueNode(node Node) bool { method getConfig (line 102) | func (m nodeMap) getConfig(t string, lang shared.Language) *nodeConfig { function findImplementationBoundary (line 153) | func findImplementationBoundary(node Node) *Node { function findIdentifier (line 184) | func findIdentifier(node Node) []Node { function firstDefinitionChild (line 211) | func firstDefinitionChild(node Node) *Node { function findAssignmentBoundary (line 233) | func findAssignmentBoundary(node Node) *Node { function findAssignmentBoundaryOnly (line 237) | func findAssignmentBoundaryOnly(node Node, only map[nodeType]bool) *Node { function skipForwardIfNeeded (line 268) | func skipForwardIfNeeded(node Node) *Node { function setNodeType (line 295) | func setNodeType(node *Node) { FILE: app/server/syntax/file_map/svelte.go function mapSvelte (line 16) | func mapSvelte(content []byte) []Definition { function getSvelteScriptAndStyle (line 74) | func getSvelteScriptAndStyle(content []byte) (scriptContent, scriptLang,... FILE: app/server/syntax/parsers.go function GetLanguageForPath (line 42) | func GetLanguageForPath(path string) shared.Language { function GetParserForPath (line 74) | func GetParserForPath(path string) (*tree_sitter.Parser, shared.Language... function GetParserForLanguage (line 92) | func GetParserForLanguage(lang shared.Language) *tree_sitter.Parser { FILE: app/server/syntax/structured_edits_apply.go type Reference (line 19) | type Reference type Removal (line 20) | type Removal type Anchor (line 22) | type Anchor type NeedsVerifyReason (line 24) | type NeedsVerifyReason constant NeedsVerifyReasonCodeRemoved (line 27) | NeedsVerifyReasonCodeRemoved NeedsVerifyReason = "code_removed" constant NeedsVerifyReasonCodeDuplicated (line 28) | NeedsVerifyReasonCodeDuplicated NeedsVerifyReason = "code_duplicated" constant NeedsVerifyReasonAmbiguousLocation (line 29) | NeedsVerifyReasonAmbiguousLocation NeedsVerifyReason = "ambiguous_location" type ApplyChangesResult (line 32) | type ApplyChangesResult struct type ReferenceBlock (line 46) | type ReferenceBlock struct type Comment (line 51) | type Comment struct type RemovalRange (line 56) | type RemovalRange struct method Overlaps (line 61) | func (r RemovalRange) Overlaps(other RemovalRange) bool { constant verboseLogging (line 67) | verboseLogging = false function isRef (line 69) | func isRef(content string) bool { function isRemoval (line 78) | func isRemoval(content string) bool { type ApplyChangesParams (line 82) | type ApplyChangesParams struct function ApplyChanges (line 91) | func ApplyChanges( FILE: app/server/syntax/structured_edits_generic.go type execApplyGenericParams (line 11) | type execApplyGenericParams struct function ExecApplyGeneric (line 22) | func ExecApplyGeneric( function buildAnchorMap (line 464) | func buildAnchorMap( FILE: app/server/syntax/structured_edits_sections.go type TreeSitterSection (line 12) | type TreeSitterSection method String (line 296) | func (s TreeSitterSection) String(sourceLines []string, bytes []byte) ... type NodeIndex (line 14) | type NodeIndex struct function getSections (line 19) | func getSections(parent *tree_sitter.Node, bytes []byte, numSections, fr... function isStructuralNode (line 185) | func isStructuralNode(node *tree_sitter.Node) bool { function BuildNodeIndex (line 212) | func BuildNodeIndex(tree *tree_sitter.Tree) *NodeIndex { function getNodeDepth (line 286) | func getNodeDepth(node *tree_sitter.Node) int { FILE: app/server/syntax/structured_edits_test.go function TestStructuredReplacements (line 12) | func TestStructuredReplacements(t *testing.T) { FILE: app/server/syntax/structured_edits_tree_sitter.go type tsAnchor (line 13) | type tsAnchor struct type execApplyTreeSitterParams (line 18) | type execApplyTreeSitterParams struct function ExecApplyTreeSitter (line 29) | func ExecApplyTreeSitter( FILE: app/server/syntax/unique_replacement.go function FindUniqueReplacement (line 5) | func FindUniqueReplacement(originalFile, old string) string { FILE: app/server/syntax/unique_replacement_test.go function TestFindUniqueReplacement (line 7) | func TestFindUniqueReplacement(t *testing.T) { FILE: app/server/syntax/validate.go constant parserTimeout (line 15) | parserTimeout = 500 * time.Millisecond function ValidateFile (line 25) | func ValidateFile(ctx context.Context, path string, file string) (*Valid... function ValidateWithParsers (line 35) | func ValidateWithParsers(ctx context.Context, lang shared.Language, pars... function insertErrorMarkers (line 93) | func insertErrorMarkers(source string, node *tree_sitter.Node) []string { function visitNodes (line 139) | func visitNodes(n *tree_sitter.Node, f func(node *tree_sitter.Node)) { FILE: app/server/types/active_plan.go constant MaxStreamRate (line 21) | MaxStreamRate = 70 * time.Millisecond constant ActivePlanTimeout (line 22) | ActivePlanTimeout = 2 * time.Hour type ActiveBuild (line 24) | type ActiveBuild struct method BuildFinished (line 386) | func (b *ActiveBuild) BuildFinished() bool { method IsFileOperation (line 444) | func (ab *ActiveBuild) IsFileOperation() bool { type subscription (line 39) | type subscription struct method processMessages (line 404) | func (sub *subscription) processMessages() { method enqueueMessage (line 430) | func (sub *subscription) enqueueMessage(msg string) { type ActivePlan (line 48) | type ActivePlan struct method FlushStreamBuffer (line 161) | func (ap *ActivePlan) FlushStreamBuffer() { method Stream (line 186) | func (ap *ActivePlan) Stream(msg shared.StreamMessage) { method ResetModelCtx (line 313) | func (ap *ActivePlan) ResetModelCtx() { method BuildFinished (line 317) | func (ap *ActivePlan) BuildFinished() bool { method PathQueueEmpty (line 327) | func (ap *ActivePlan) PathQueueEmpty(path string) bool { method Subscribe (line 339) | func (ap *ActivePlan) Subscribe(reqCtx context.Context) (string, chan ... method Unsubscribe (line 367) | func (ap *ActivePlan) Unsubscribe(id string) { method NumSubscribers (line 380) | func (ap *ActivePlan) NumSubscribers() int { method Finish (line 438) | func (ap *ActivePlan) Finish() { function NewActivePlan (line 95) | func NewActivePlan(orgId, userId, planId, branch, prompt string, buildOn... constant verboseStreamLogging (line 184) | verboseStreamLogging = false function newSubscription (line 390) | func newSubscription(ctx context.Context) *subscription { FILE: app/server/types/active_plan_pending_builds.go method PendingBuildsByPath (line 11) | func (ap *ActivePlan) PendingBuildsByPath(orgId, userId string, convoMes... FILE: app/server/types/auth.go type ServerAuth (line 9) | type ServerAuth struct method HasPermission (line 16) | func (a *ServerAuth) HasPermission(permission shared.Permission) bool { method HasPermissionForResource (line 20) | func (a *ServerAuth) HasPermissionForResource(permission shared.Permis... FILE: app/server/types/convo_message_desc.go function HasPendingBuilds (line 9) | func HasPendingBuilds(planDescs []*db.ConvoMessageDescription) bool { FILE: app/server/types/exec_status.go type ExecStatusResponse (line 3) | type ExecStatusResponse struct FILE: app/server/types/message.go type CacheControlType (line 12) | type CacheControlType constant CacheControlTypeEphemeral (line 15) | CacheControlTypeEphemeral CacheControlType = "ephemeral" type CacheControlSpec (line 18) | type CacheControlSpec struct type ExtendedChatMessagePart (line 22) | type ExtendedChatMessagePart struct type ExtendedChatMessage (line 29) | type ExtendedChatMessage struct method ToOpenAI (line 34) | func (msg *ExtendedChatMessage) ToOpenAI() *openai.ChatCompletionMessa... type OpenAIPrediction (line 59) | type OpenAIPrediction struct type ReasoningConfig (line 64) | type ReasoningConfig struct type OpenRouterProviderConfig (line 70) | type OpenRouterProviderConfig struct type ExtendedChatCompletionRequest (line 79) | type ExtendedChatCompletionRequest struct method ToOpenAI (line 169) | func (req *ExtendedChatCompletionRequest) ToOpenAI() *ExtendedOpenAICh... type ExtendedOpenAIChatCompletionRequest (line 162) | type ExtendedOpenAIChatCompletionRequest struct type ExtendedChatCompletionStreamChoiceDelta (line 213) | type ExtendedChatCompletionStreamChoiceDelta struct type ExtendedChatCompletionStreamChoice (line 222) | type ExtendedChatCompletionStreamChoice struct type ExtendedChatCompletionStreamError (line 230) | type ExtendedChatCompletionStreamError struct type ExtendedChatCompletionStreamResponse (line 239) | type ExtendedChatCompletionStreamResponse struct type ModelResponse (line 256) | type ModelResponse struct type StreamCompletionAccumulator (line 266) | type StreamCompletionAccumulator struct method AddContent (line 282) | func (a *StreamCompletionAccumulator) AddContent(content string) { method SetUsage (line 287) | func (a *StreamCompletionAccumulator) SetUsage(usage *openai.Usage) { method SetGenerationId (line 291) | func (a *StreamCompletionAccumulator) SetGenerationId(generationId str... method SetFirstTokenAt (line 295) | func (a *StreamCompletionAccumulator) SetFirstTokenAt(firstTokenAt tim... method Content (line 299) | func (a *StreamCompletionAccumulator) Content() string { method Result (line 304) | func (a *StreamCompletionAccumulator) Result(stopped bool, err error) ... function NewStreamCompletionAccumulator (line 274) | func NewStreamCompletionAccumulator() *StreamCompletionAccumulator { FILE: app/server/types/model.go type ChangesWithLineNums (line 7) | type ChangesWithLineNums struct FILE: app/server/types/reply.go constant verboseLogging (line 13) | verboseLogging = false type ReplyParserRes (line 15) | type ReplyParserRes struct method FileOperationBlockOpen (line 385) | func (r *ReplyParserRes) FileOperationBlockOpen() bool { type ReplyParser (line 25) | type ReplyParser struct method AddChunk (line 54) | func (r *ReplyParser) AddChunk(chunk string, addToTotal bool) { method Read (line 322) | func (r *ReplyParser) Read() ReplyParserRes { method FinishAndRead (line 334) | func (r *ReplyParser) FinishAndRead() ReplyParserRes { method GetReplyBeforeCurrentPath (line 339) | func (r *ReplyParser) GetReplyBeforeCurrentPath() string { method GetReplyBeforePath (line 343) | func (r *ReplyParser) GetReplyBeforePath(path string) string { method GetReplyForMissingFile (line 360) | func (r *ReplyParser) GetReplyForMissingFile() string { function NewReplyParser (line 43) | func NewReplyParser() *ReplyParser { function LineHasXmlPath (line 389) | func LineHasXmlPath(line string) bool { function LineMaybeHasFilePath (line 393) | func LineMaybeHasFilePath(line string) bool { function extractFilePath (line 412) | func extractFilePath(line string) string { function extractMoveFile (line 458) | func extractMoveFile(line string) *shared.Operation { function extractRemoveOrResetFile (line 487) | func extractRemoveOrResetFile(opType shared.OperationType, line string) ... FILE: app/server/types/reply_test.go type TestExample (line 12) | type TestExample struct function TestReplyParser (line 148) | func TestReplyParser(t *testing.T) { FILE: app/server/types/safe_map.go type SafeMap (line 5) | type SafeMap struct function NewSafeMap (line 10) | func NewSafeMap[V any]() *SafeMap[V] { method Get (line 14) | func (sm *SafeMap[V]) Get(key string) V { method Set (line 20) | func (sm *SafeMap[V]) Set(key string, value V) { method Delete (line 26) | func (sm *SafeMap[V]) Delete(key string) { method Update (line 32) | func (sm *SafeMap[V]) Update(key string, fn func(V)) { method Items (line 41) | func (sm *SafeMap[V]) Items() map[string]V { method Keys (line 47) | func (sm *SafeMap[V]) Keys() []string { method Len (line 59) | func (sm *SafeMap[V]) Len() int { FILE: app/server/types/trial.go constant TrialMaxReplies (line 3) | TrialMaxReplies = 20 constant TrialMaxPlans (line 4) | TrialMaxPlans = 10 FILE: app/server/utils/whitespace.go function StripAddedBlankLines (line 5) | func StripAddedBlankLines(orig, upd string) string { FILE: app/server/utils/whitespace_test.go function TestStripAddedBlankLines (line 5) | func TestStripAddedBlankLines(t *testing.T) { FILE: app/server/utils/xml.go function EscapeInvalidXMLAttributeCharacters (line 8) | func EscapeInvalidXMLAttributeCharacters(xmlString string) string { function EscapeCdata (line 27) | func EscapeCdata(xmlString string) string { function UnescapeCdata (line 32) | func UnescapeCdata(xmlString string) string { function StripCdata (line 37) | func StripCdata(xmlString, tagName string) string { function WrapCdata (line 45) | func WrapCdata(xmlString, tagName string) string { function GetXMLTag (line 56) | func GetXMLTag(xmlString, tagName string, wrapCdata bool) string { function GetXMLContent (line 82) | func GetXMLContent(xmlString, tagName string) string { function GetAllXMLContent (line 104) | func GetAllXMLContent(xmlString, tagName string) []string { FILE: app/shared/ai_models_available.go function init (line 597) | func init() { function GetAvailableModel (line 719) | func GetAvailableModel(provider ModelProvider, modelId ModelId) *Availab... FILE: app/shared/ai_models_compatibility.go function FilterBuiltInCompatibleModels (line 19) | func FilterBuiltInCompatibleModels(models []*BaseModelConfigSchema, role... function FilterCustomCompatibleModels (line 32) | func FilterCustomCompatibleModels(models []*CustomModel, role ModelRole)... FILE: app/shared/ai_models_credentials.go type ModelProviderOption (line 3) | type ModelProviderOption struct type ModelProviderOptions (line 9) | type ModelProviderOptions method Condense (line 93) | func (m ModelProviderOptions) Condense(opts ...ModelProviderOptions) M... method GetModelProviderOptions (line 11) | func (m ModelRoleConfig) GetModelProviderOptions(settings *PlanSettings)... function copyPublishersMap (line 123) | func copyPublishersMap(src map[ModelPublisher]bool) map[ModelPublisher]b... FILE: app/shared/ai_models_custom.go type SchemaUrl (line 15) | type SchemaUrl constant SchemaUrlInputConfig (line 18) | SchemaUrlInputConfig SchemaUrl = "https://plandex.ai/schemas/models-... constant SchemaUrlPlanConfig (line 19) | SchemaUrlPlanConfig SchemaUrl = "https://plandex.ai/schemas/plan-co... constant SchemaUrlInlineModelPack (line 20) | SchemaUrlInlineModelPack SchemaUrl = "https://plandex.ai/schemas/model-p... type CustomModel (line 25) | type CustomModel struct method ToBaseModelConfig (line 275) | func (input *CustomModel) ToBaseModelConfig(authVars map[string]string... method ToBaseModelConfigForProvider (line 286) | func (input *CustomModel) ToBaseModelConfigForProvider(authVars map[st... type CustomProvider (line 39) | type CustomProvider struct method ToModelProviderConfigSchema (line 263) | func (cp *CustomProvider) ToModelProviderConfigSchema() ModelProviderC... type ModelsInput (line 57) | type ModelsInput struct method FilterUnchanged (line 63) | func (input ModelsInput) FilterUnchanged(existing *ModelsInput) Models... method Equals (line 100) | func (input ModelsInput) Equals(other ModelsInput) bool { method CheckNoDuplicates (line 107) | func (input ModelsInput) CheckNoDuplicates() (bool, string) { method IsEmpty (line 140) | func (input ModelsInput) IsEmpty() bool { method Hash (line 181) | func (input ModelsInput) Hash() (string, error) { method ToClientModelsInput (line 249) | func (input ModelsInput) ToClientModelsInput() ClientModelsInput { function modelsEqual (line 144) | func modelsEqual(a, b *CustomModel) bool { function providersEqual (line 152) | func providersEqual(a, b *CustomProvider) bool { function packsEqual (line 161) | func packsEqual(a, b *ModelPackSchema) bool { method Equals (line 170) | func (s *ModelPackSchema) Equals(other *ModelPackSchema) bool { method Equals (line 174) | func (mp *ModelPack) Equals(other *ModelPack) bool { type ClientModelPackSchema (line 191) | type ClientModelPackSchema struct method ToModelPackSchema (line 198) | func (input *ClientModelPackSchema) ToModelPackSchema() *ModelPackSche... method ToClientModelPackSchema (line 206) | func (input *ModelPackSchema) ToClientModelPackSchema() *ClientModelPack... type ClientModelsInput (line 214) | type ClientModelsInput struct method ToModelsInput (line 222) | func (input ClientModelsInput) ToModelsInput() ModelsInput { method PrepareUpdate (line 235) | func (input *ClientModelsInput) PrepareUpdate() { FILE: app/shared/ai_models_data_models.go type ModelCompatibility (line 14) | type ModelCompatibility struct type ModelOutputFormat (line 18) | type ModelOutputFormat constant ModelOutputFormatToolCallJson (line 21) | ModelOutputFormatToolCallJson ModelOutputFormat = "tool-call-json" constant ModelOutputFormatXml (line 22) | ModelOutputFormatXml ModelOutputFormat = "xml" type ModelName (line 26) | type ModelName type ModelId (line 27) | type ModelId type ModelTag (line 28) | type ModelTag type VariantTag (line 29) | type VariantTag type BaseModelShared (line 31) | type BaseModelShared struct type BaseModelProviderConfig (line 52) | type BaseModelProviderConfig struct type BaseModelConfig (line 57) | type BaseModelConfig struct type BaseModelUsesProvider (line 65) | type BaseModelUsesProvider struct method ToComposite (line 71) | func (b BaseModelUsesProvider) ToComposite() string { type BaseModelConfigSchema (line 78) | type BaseModelConfigSchema struct method IsLocalOnly (line 102) | func (b *BaseModelConfigSchema) IsLocalOnly() bool { method ToAvailableModels (line 122) | func (b *BaseModelConfigSchema) ToAvailableModels() []*AvailableModel { type BaseModelConfigVariant (line 92) | type BaseModelConfigVariant struct type AvailableModel (line 256) | type AvailableModel struct method ModelString (line 265) | func (m *AvailableModel) ModelString() string { type PlannerModelConfig (line 274) | type PlannerModelConfig struct type ReasoningEffort (line 278) | type ReasoningEffort constant ReasoningEffortLow (line 281) | ReasoningEffortLow ReasoningEffort = "low" constant ReasoningEffortMedium (line 282) | ReasoningEffortMedium ReasoningEffort = "medium" constant ReasoningEffortHigh (line 283) | ReasoningEffortHigh ReasoningEffort = "high" type ModelRoleConfig (line 286) | type ModelRoleConfig struct method ToModelRoleConfigSchema (line 515) | func (m *ModelRoleConfig) ToModelRoleConfigSchema() ModelRoleConfigSch... method GetModelId (line 578) | func (m ModelRoleConfig) GetModelId() ModelId { method GetBaseModelConfig (line 586) | func (m ModelRoleConfig) GetBaseModelConfig(authVars map[string]string... method GetBaseModelConfigForProvider (line 595) | func (m ModelRoleConfig) GetBaseModelConfigForProvider(authVars map[st... method GetProviderComposite (line 618) | func (m ModelRoleConfig) GetProviderComposite(authVars map[string]stri... method GetReservedOutputTokens (line 628) | func (m ModelRoleConfig) GetReservedOutputTokens(customModelsById map[... method GetSharedBaseConfig (line 637) | func (m ModelRoleConfig) GetSharedBaseConfig(settings *PlanSettings) *... method GetSharedBaseConfigWithCustomModels (line 641) | func (m ModelRoleConfig) GetSharedBaseConfigWithCustomModels(customMod... method Scan (line 659) | func (m *ModelRoleConfig) Scan(src interface{}) error { method Value (line 673) | func (m ModelRoleConfig) Value() (driver.Value, error) { type ModelRoleModelConfig (line 305) | type ModelRoleModelConfig struct type ModelRoleConfigSchema (line 311) | type ModelRoleConfigSchema struct method ToClientVal (line 329) | func (m *ModelRoleConfigSchema) ToClientVal() RoleJSON { method bareRole (line 373) | func (m *ModelRoleConfigSchema) bareRole() bool { method AllModelIds (line 403) | func (m *ModelRoleConfigSchema) AllModelIds() []ModelId { method ToModelRoleConfig (line 429) | func (m *ModelRoleConfigSchema) ToModelRoleConfig(role ModelRole) Mode... method toModelRoleConfig (line 433) | func (m *ModelRoleConfigSchema) toModelRoleConfig(role ModelRole) Mode... method MarshalJSON (line 488) | func (m *ModelRoleConfigSchema) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 503) | func (m *ModelRoleConfigSchema) UnmarshalJSON(data []byte) error { type PlannerRoleConfig (line 677) | type PlannerRoleConfig struct method ToModelRoleConfigSchema (line 566) | func (p PlannerRoleConfig) ToModelRoleConfigSchema() ModelRoleConfigSc... method Scan (line 682) | func (p *PlannerRoleConfig) Scan(src interface{}) error { method Value (line 696) | func (p PlannerRoleConfig) Value() (driver.Value, error) { method GetMaxConvoTokens (line 700) | func (p PlannerRoleConfig) GetMaxConvoTokens(settings *PlanSettings) i... type RoleJSON (line 708) | type RoleJSON type ClientModelPackSchemaRoles (line 710) | type ClientModelPackSchemaRoles struct method ToModelPackSchemaRoles (line 727) | func (c *ClientModelPackSchemaRoles) ToModelPackSchemaRoles() ModelPac... type ModelPackSchemaRoles (line 797) | type ModelPackSchemaRoles struct method ToClientModelPackSchemaRoles (line 810) | func (m *ModelPackSchemaRoles) ToClientModelPackSchemaRoles() ClientMo... method Hash (line 992) | func (m ModelPackSchemaRoles) Hash() (string, error) { type ModelPackSchema (line 838) | type ModelPackSchema struct method AllModelIds (line 845) | func (m *ModelPackSchema) AllModelIds() []ModelId { method ToModelPack (line 872) | func (m *ModelPackSchema) ToModelPack() ModelPack { type ModelPack (line 920) | type ModelPack struct method GetCoder (line 936) | func (m *ModelPack) GetCoder() ModelRoleConfig { method GetWholeFileBuilder (line 943) | func (m *ModelPack) GetWholeFileBuilder() ModelRoleConfig { method GetArchitect (line 950) | func (m *ModelPack) GetArchitect() ModelRoleConfig { method ToModelPackSchema (line 957) | func (m *ModelPack) ToModelPackSchema() *ModelPackSchema { FILE: app/shared/ai_models_errors.go type ModelErrKind (line 10) | type ModelErrKind constant ErrOverloaded (line 13) | ErrOverloaded ModelErrKind = "ErrOverloaded" constant ErrContextTooLong (line 14) | ErrContextTooLong ModelErrKind = "ErrContextTooLong" constant ErrRateLimited (line 15) | ErrRateLimited ModelErrKind = "ErrRateLimited" constant ErrSubscriptionQuotaExhausted (line 16) | ErrSubscriptionQuotaExhausted ModelErrKind = "ErrSubscriptionQuotaExhaus... constant ErrOther (line 17) | ErrOther ModelErrKind = "ErrOther" constant ErrCacheSupport (line 18) | ErrCacheSupport ModelErrKind = "ErrCacheSupport" type ModelError (line 21) | type ModelError struct method ShouldIncrementRetry (line 27) | func (m ModelError) ShouldIncrementRetry() bool { type FallbackType (line 32) | type FallbackType constant FallbackTypeError (line 35) | FallbackTypeError FallbackType = "error" constant FallbackTypeContext (line 36) | FallbackTypeContext FallbackType = "context" constant FallbackTypeProvider (line 37) | FallbackTypeProvider FallbackType = "provider" type FallbackResult (line 40) | type FallbackResult struct constant MAX_RETRIES_BEFORE_FALLBACK (line 47) | MAX_RETRIES_BEFORE_FALLBACK = 1 method GetFallbackForModelError (line 49) | func (m *ModelRoleConfig) GetFallbackForModelError( method GetProviderFallback (line 111) | func (m ModelRoleConfig) GetProviderFallback(authVars map[string]string,... FILE: app/shared/ai_models_large_context.go constant maxFallbackDepth (line 3) | maxFallbackDepth = 10 method GetFinalLargeContextFallback (line 5) | func (m ModelRoleConfig) GetFinalLargeContextFallback() ModelRoleConfig { method GetFinalLargeOutputFallback (line 24) | func (m ModelRoleConfig) GetFinalLargeOutputFallback() ModelRoleConfig { method GetRoleForInputTokens (line 49) | func (m ModelRoleConfig) GetRoleForInputTokens(inputTokens int, settings... method GetRoleForOutputTokens (line 78) | func (m ModelRoleConfig) GetRoleForOutputTokens(outputTokens int, settin... FILE: app/shared/ai_models_openrouter.go type OpenRouterFamily (line 3) | type OpenRouterFamily constant OpenRouterFamilyAnthropic (line 6) | OpenRouterFamilyAnthropic OpenRouterFamily = "anthropic" constant OpenRouterFamilyGoogle (line 7) | OpenRouterFamilyGoogle OpenRouterFamily = "google" constant OpenRouterFamilyOpenAI (line 8) | OpenRouterFamilyOpenAI OpenRouterFamily = "openai" constant OpenRouterFamilyQwen (line 9) | OpenRouterFamilyQwen OpenRouterFamily = "qwen" constant OpenRouterFamilyDeepSeek (line 10) | OpenRouterFamilyDeepSeek OpenRouterFamily = "deepseek" FILE: app/shared/ai_models_packs.go function getModelRoleConfig (line 47) | func getModelRoleConfig(role ModelRole, modelId ModelId, fns ...func(*Mo... function getLargeContextFallback (line 57) | func getLargeContextFallback(role ModelRole, modelId ModelId, fns ...fun... function getErrorFallback (line 67) | func getErrorFallback(role ModelRole, modelId ModelId, fns ...func(*Mode... function getStrongModelFallback (line 77) | func getStrongModelFallback(role ModelRole, modelId ModelId, fns ...func... function init (line 124) | func init() { function cloneSchema (line 454) | func cloneSchema(schema ModelPackSchema) ModelPackSchema { FILE: app/shared/ai_models_providers.go constant OpenAIV1BaseUrl (line 7) | OpenAIV1BaseUrl = "https://api.openai.com/v1" constant OpenRouterBaseUrl (line 8) | OpenRouterBaseUrl = "https://openrouter.ai/api/v1" constant LiteLLMBaseUrl (line 9) | LiteLLMBaseUrl = "http://localhost:4000/v1" constant OpenAIEnvVar (line 11) | OpenAIEnvVar = "OPENAI_API_KEY" constant OpenRouterApiKeyEnvVar (line 12) | OpenRouterApiKeyEnvVar = "OPENROUTER_API_KEY" constant AnthropicApiKeyEnvVar (line 13) | AnthropicApiKeyEnvVar = "ANTHROPIC_API_KEY" constant GoogleAIStudioApiKeyEnvVar (line 14) | GoogleAIStudioApiKeyEnvVar = "GEMINI_API_KEY" constant AzureOpenAIEnvVar (line 15) | AzureOpenAIEnvVar = "AZURE_OPENAI_API_KEY" constant DeepSeekApiKeyEnvVar (line 16) | DeepSeekApiKeyEnvVar = "DEEPSEEK_API_KEY" constant PerplexityApiKeyEnvVar (line 17) | PerplexityApiKeyEnvVar = "PERPLEXITY_API_KEY" constant AnthropicClaudeMaxTokenEnvVar (line 20) | AnthropicClaudeMaxTokenEnvVar = "ANTHROPIC_CLAUDE_MAX_TOKEN" constant AnthropicClaudeMaxBetaHeader (line 21) | AnthropicClaudeMaxBetaHeader = "oauth-2025-04-20" constant LiteLLMAnthropicBaseUrl (line 22) | LiteLLMAnthropicBaseUrl = "https://api.anthropic.com" type ModelPublisher (line 24) | type ModelPublisher constant ModelPublisherOpenAI (line 27) | ModelPublisherOpenAI ModelPublisher = "OpenAI" constant ModelPublisherAnthropic (line 28) | ModelPublisherAnthropic ModelPublisher = "Anthropic" constant ModelPublisherGoogle (line 29) | ModelPublisherGoogle ModelPublisher = "Google" constant ModelPublisherDeepSeek (line 30) | ModelPublisherDeepSeek ModelPublisher = "DeepSeek" constant ModelPublisherPerplexity (line 31) | ModelPublisherPerplexity ModelPublisher = "Perplexity" constant ModelPublisherQwen (line 32) | ModelPublisherQwen ModelPublisher = "Qwen" constant ModelPublisherMistral (line 33) | ModelPublisherMistral ModelPublisher = "Mistral" type ModelProvider (line 36) | type ModelProvider constant ModelProviderOpenRouter (line 39) | ModelProviderOpenRouter ModelProvider = "openrouter" constant ModelProviderOpenAI (line 40) | ModelProviderOpenAI ModelProvider = "openai" constant ModelProviderAnthropic (line 42) | ModelProviderAnthropic ModelProvider = "anthropic" constant ModelProviderAnthropicClaudeMax (line 43) | ModelProviderAnthropicClaudeMax ModelProvider = "anthropic-pro" constant ModelProviderGoogleAIStudio (line 44) | ModelProviderGoogleAIStudio ModelProvider = "google-ai-studio" constant ModelProviderGoogleVertex (line 45) | ModelProviderGoogleVertex ModelProvider = "google-vertex" constant ModelProviderAzureOpenAI (line 46) | ModelProviderAzureOpenAI ModelProvider = "azure-openai" constant ModelProviderDeepSeek (line 47) | ModelProviderDeepSeek ModelProvider = "deepseek" constant ModelProviderPerplexity (line 48) | ModelProviderPerplexity ModelProvider = "perplexity" constant ModelProviderAmazonBedrock (line 50) | ModelProviderAmazonBedrock ModelProvider = "aws-bedrock" constant ModelProviderOllama (line 52) | ModelProviderOllama ModelProvider = "ollama" constant ModelProviderCustom (line 54) | ModelProviderCustom ModelProvider = "custom" type ModelProviderExtraAuthVars (line 79) | type ModelProviderExtraAuthVars struct type ModelProviderConfigSchema (line 86) | type ModelProviderConfigSchema struct method ToComposite (line 105) | func (m *ModelProviderConfigSchema) ToComposite() string { constant DefaultAzureApiVersion (line 112) | DefaultAzureApiVersion = "2025-04-01-preview" constant AnthropicMaxReasoningBudget (line 113) | AnthropicMaxReasoningBudget = 32000 constant GoogleMaxReasoningBudget (line 114) | GoogleMaxReasoningBudget = 32000 function init (line 223) | func init() { function GetProvidersForAuthVars (line 229) | func GetProvidersForAuthVars(authVars map[string]string, settings *PlanS... function GetProvidersForAuthVarsWithModelId (line 290) | func GetProvidersForAuthVarsWithModelId(authVars map[string]string, sett... method GetProvidersForAuthVars (line 337) | func (m ModelRoleConfig) GetProvidersForAuthVars(authVars map[string]str... method GetFirstProviderForAuthVars (line 341) | func (m ModelRoleConfig) GetFirstProviderForAuthVars(authVars map[string... FILE: app/shared/ai_models_roles.go type ModelRole (line 3) | type ModelRole constant ModelRolePlanner (line 6) | ModelRolePlanner ModelRole = "planner" constant ModelRoleCoder (line 7) | ModelRoleCoder ModelRole = "coder" constant ModelRoleArchitect (line 8) | ModelRoleArchitect ModelRole = "architect" constant ModelRolePlanSummary (line 9) | ModelRolePlanSummary ModelRole = "summarizer" constant ModelRoleBuilder (line 10) | ModelRoleBuilder ModelRole = "builder" constant ModelRoleWholeFileBuilder (line 11) | ModelRoleWholeFileBuilder ModelRole = "whole-file-builder" constant ModelRoleName (line 12) | ModelRoleName ModelRole = "names" constant ModelRoleCommitMsg (line 13) | ModelRoleCommitMsg ModelRole = "commit-messages" constant ModelRoleExecStatus (line 14) | ModelRoleExecStatus ModelRole = "auto-continue" FILE: app/shared/auth.go type AuthHeader (line 11) | type AuthHeader struct type ApiErrorType (line 17) | type ApiErrorType constant ApiErrorTypeInvalidToken (line 20) | ApiErrorTypeInvalidToken ApiErrorType = "invalid_token" constant ApiErrorTypeAuthOutdated (line 21) | ApiErrorTypeAuthOutdated ApiErrorType = "auth_outdated" constant ApiErrorTypeTrialPlansExceeded (line 22) | ApiErrorTypeTrialPlansExceeded ApiErrorType = "trial_plans_exceeded" constant ApiErrorTypeTrialMessagesExceeded (line 23) | ApiErrorTypeTrialMessagesExceeded ApiErrorType = "trial_messages_exceeded" constant ApiErrorTypeTrialActionNotAllowed (line 24) | ApiErrorTypeTrialActionNotAllowed ApiErrorType = "trial_action_not_allowed" constant ApiErrorTypeContinueNoMessages (line 26) | ApiErrorTypeContinueNoMessages ApiErrorType = "continue_no_messages" constant ApiErrorTypeCloudInsufficientCredits (line 28) | ApiErrorTypeCloudInsufficientCredits ApiErrorType = "cloud_insufficient_... constant ApiErrorTypeCloudMonthlyMaxReached (line 29) | ApiErrorTypeCloudMonthlyMaxReached ApiErrorType = "cloud_monthly_max_r... constant ApiErrorTypeCloudSubscriptionPaused (line 30) | ApiErrorTypeCloudSubscriptionPaused ApiErrorType = "cloud_subscription_... constant ApiErrorTypeCloudSubscriptionOverdue (line 31) | ApiErrorTypeCloudSubscriptionOverdue ApiErrorType = "cloud_subscription_... constant ApiErrorTypeOther (line 33) | ApiErrorTypeOther ApiErrorType = "other" type TrialPlansExceededError (line 36) | type TrialPlansExceededError struct type TrialMessagesExceededError (line 40) | type TrialMessagesExceededError struct type BillingError (line 44) | type BillingError struct type ApiError (line 49) | type ApiError struct method Error (line 64) | func (e *ApiError) Error() string { type ClientAccount (line 68) | type ClientAccount struct type ClientAuth (line 80) | type ClientAuth struct method ToHash (line 89) | func (c *ClientAuth) ToHash() string { FILE: app/shared/context.go constant MaxContextBodySize (line 13) | MaxContextBodySize = 25 * 1024 * 1024 constant MaxContextCount (line 14) | MaxContextCount = 1000 constant MaxContextMapPaths (line 15) | MaxContextMapPaths = 3000 constant MaxContextMapSingleInputSize (line 16) | MaxContextMapSingleInputSize = 500 * 1024 constant MaxContextMapTotalInputSize (line 17) | MaxContextMapTotalInputSize = 250 * 1024 * 1024 constant MaxTotalContextSize (line 18) | MaxTotalContextSize = 1 * 1024 * 1024 * 1024 constant ContextMapMaxBatchBytes (line 20) | ContextMapMaxBatchBytes = 10 * 1024 * 1024 constant ContextMapMaxBatchSize (line 21) | ContextMapMaxBatchSize = 500 type ContextUpdateResult (line 24) | type ContextUpdateResult struct method TypeAndIcon (line 37) | func (c *Context) TypeAndIcon() (string, string) { function TableForLoadContext (line 67) | func TableForLoadContext(contexts []*Context, plaintext bool) string { function MarkdownTableForLoadContext (line 97) | func MarkdownTableForLoadContext(contexts []*Context) string { function SummaryForLoadContext (line 111) | func SummaryForLoadContext(contexts []*Context, tokensAdded, totalTokens... function TableForRemoveContext (line 194) | func TableForRemoveContext(contexts []*Context) string { function SummaryForRemoveContext (line 220) | func SummaryForRemoveContext(contexts []*Context, previousTotalTokens in... type SummaryForUpdateContextParams (line 237) | type SummaryForUpdateContextParams struct function SummaryForUpdateContext (line 246) | func SummaryForUpdateContext(params SummaryForUpdateContextParams) string { function TableForContextUpdate (line 309) | func TableForContextUpdate(updateRes *ContextUpdateResult) string { FILE: app/shared/convo_message.go method GetReplyTags (line 3) | func (f *ConvoMessageFlags) GetReplyTags() []string { FILE: app/shared/data_models.go type Org (line 10) | type Org struct type User (line 21) | type User struct type OrgUser (line 31) | type OrgUser struct type Invite (line 39) | type Invite struct type Project (line 51) | type Project struct type Plan (line 56) | type Plan struct type Branch (line 70) | type Branch struct type ContextType (line 85) | type ContextType constant ContextFileType (line 88) | ContextFileType ContextType = "file" constant ContextURLType (line 89) | ContextURLType ContextType = "url" constant ContextNoteType (line 90) | ContextNoteType ContextType = "note" constant ContextDirectoryTreeType (line 91) | ContextDirectoryTreeType ContextType = "directory tree" constant ContextPipedDataType (line 92) | ContextPipedDataType ContextType = "piped data" constant ContextImageType (line 93) | ContextImageType ContextType = "image" constant ContextMapType (line 94) | ContextMapType ContextType = "map" type FileMapBodies (line 97) | type FileMapBodies type Context (line 99) | type Context struct type TellStage (line 121) | type TellStage constant TellStagePlanning (line 124) | TellStagePlanning TellStage = "planning" constant TellStageImplementation (line 125) | TellStageImplementation TellStage = "implementation" type PlanningPhase (line 128) | type PlanningPhase constant PlanningPhaseContext (line 131) | PlanningPhaseContext PlanningPhase = "context" constant PlanningPhaseTasks (line 132) | PlanningPhaseTasks PlanningPhase = "tasks" type CurrentStage (line 135) | type CurrentStage struct type ConvoMessageFlags (line 140) | type ConvoMessageFlags struct type Subtask (line 156) | type Subtask struct type ConvoMessage (line 163) | type ConvoMessage struct type ConvoSummary (line 179) | type ConvoSummary struct type OperationType (line 189) | type OperationType constant OperationTypeFile (line 192) | OperationTypeFile OperationType = "file" constant OperationTypeMove (line 193) | OperationTypeMove OperationType = "move" constant OperationTypeRemove (line 194) | OperationTypeRemove OperationType = "remove" constant OperationTypeReset (line 195) | OperationTypeReset OperationType = "reset" type Operation (line 198) | type Operation struct method Name (line 208) | func (o *Operation) Name() string { type ConvoMessageDescription (line 216) | type ConvoMessageDescription struct type PlanBuild (line 232) | type PlanBuild struct type Replacement (line 241) | type Replacement struct type PlanFileResult (line 252) | type PlanFileResult struct type CurrentPlanFiles (line 271) | type CurrentPlanFiles struct type PlanFileResultsByPath (line 277) | type PlanFileResultsByPath type PlanResult (line 278) | type PlanResult struct type PlanApply (line 285) | type PlanApply struct type CurrentPlanState (line 295) | type CurrentPlanState struct type OrgRole (line 303) | type OrgRole struct type CloudBillingFields (line 310) | type CloudBillingFields struct type CreditsTransactionType (line 331) | type CreditsTransactionType constant CreditsTransactionTypeCredit (line 334) | CreditsTransactionTypeCredit CreditsTransactionType = "credit" constant CreditsTransactionTypeDebit (line 335) | CreditsTransactionTypeDebit CreditsTransactionType = "debit" type CreditType (line 338) | type CreditType constant CreditTypeTrial (line 341) | CreditTypeTrial CreditType = "trial" constant CreditTypeGrant (line 342) | CreditTypeGrant CreditType = "grant" constant CreditTypeAdminGrant (line 343) | CreditTypeAdminGrant CreditType = "admin_grant" constant CreditTypePurchase (line 344) | CreditTypePurchase CreditType = "purchase" constant CreditTypeSwitch (line 345) | CreditTypeSwitch CreditType = "switch" type CreditsTransaction (line 348) | type CreditsTransaction struct method ModelString (line 390) | func (t *CreditsTransaction) ModelString() string { FILE: app/shared/email.go function IsEmailServiceDomain (line 3) | func IsEmailServiceDomain(domain string) bool { FILE: app/shared/file_maps.go method CombinedMap (line 9) | func (m FileMapBodies) CombinedMap(tokensByPath map[string]int) string { function MapFileHeading (line 31) | func MapFileHeading(path string, tokens int) string { FILE: app/shared/images.go function GetImageTokens (line 23) | func GetImageTokens(base64Image string, detail openai.ImageURLDetail) (i... function GetImageTokensFromHeader (line 33) | func GetImageTokensFromHeader(reader io.Reader, detail openai.ImageURLDe... function GetImageTokensEstimateFromBytes (line 62) | func GetImageTokensEstimateFromBytes(l int64) int { function getAnthropicImageTokens (line 66) | func getAnthropicImageTokens(width, height int) int { function getGoogleImageTokens (line 72) | func getGoogleImageTokens(width, height int) int { function getOpenAIImageTokens (line 84) | func getOpenAIImageTokens(width, height int, detail openai.ImageURLDetai... function GetImageDataURI (line 121) | func GetImageDataURI(base64Image, path string) string { function IsImageFile (line 126) | func IsImageFile(filePath string) bool { function ImageMimeType (line 131) | func ImageMimeType(filePath string) string { FILE: app/shared/org_user_config.go constant claudeSubscriptionCooldownDuration (line 12) | claudeSubscriptionCooldownDuration = 10 * time.Minute type OrgUserConfig (line 14) | type OrgUserConfig struct method IsClaudeSubscriptionCooldownActive (line 20) | func (p *OrgUserConfig) IsClaudeSubscriptionCooldownActive() bool { method Scan (line 27) | func (p *OrgUserConfig) Scan(src interface{}) error { method Value (line 50) | func (p *OrgUserConfig) Value() (driver.Value, error) { FILE: app/shared/plan_config.go constant defaultAutoDebugTries (line 10) | defaultAutoDebugTries = 5 constant EditorTypeVim (line 13) | EditorTypeVim string = "vim" constant EditorTypeNano (line 14) | EditorTypeNano string = "nano" constant defaultEditor (line 17) | defaultEditor = EditorTypeVim type AutoModeType (line 19) | type AutoModeType constant AutoModeFull (line 22) | AutoModeFull AutoModeType = "full" constant AutoModeSemi (line 23) | AutoModeSemi AutoModeType = "semi" constant AutoModePlus (line 24) | AutoModePlus AutoModeType = "plus" constant AutoModeBasic (line 25) | AutoModeBasic AutoModeType = "basic" constant AutoModeNone (line 26) | AutoModeNone AutoModeType = "none" constant AutoModeCustom (line 27) | AutoModeCustom AutoModeType = "custom" type PlanConfig (line 53) | type PlanConfig struct method Scan (line 101) | func (p *PlanConfig) Scan(src interface{}) error { method Value (line 124) | func (p PlanConfig) Value() (driver.Value, error) { method SetAutoMode (line 128) | func (p *PlanConfig) SetAutoMode(mode AutoModeType) { type ConfigSetting (line 205) | type ConfigSetting struct function init (line 491) | func init() { FILE: app/shared/plan_model_settings.go type PlanSettings (line 10) | type PlanSettings struct method Configure (line 23) | func (p *PlanSettings) Configure(customModelPacks []*ModelPack, custom... method GetModelPack (line 39) | func (p PlanSettings) GetModelPack() *ModelPack { method SetModelPackByName (line 76) | func (p *PlanSettings) SetModelPackByName(modelPackName string) { method SetCustomModelPack (line 81) | func (p *PlanSettings) SetCustomModelPack(modelPack *ModelPack) { method Scan (line 86) | func (p *PlanSettings) Scan(src interface{}) error { method Value (line 100) | func (p PlanSettings) Value() (driver.Value, error) { method GetPlannerMaxTokens (line 104) | func (ps PlanSettings) GetPlannerMaxTokens() int { method GetPlannerMaxReservedOutputTokens (line 112) | func (ps PlanSettings) GetPlannerMaxReservedOutputTokens() int { method GetArchitectMaxTokens (line 118) | func (ps PlanSettings) GetArchitectMaxTokens() int { method GetArchitectMaxReservedOutputTokens (line 125) | func (ps PlanSettings) GetArchitectMaxReservedOutputTokens() int { method GetCoderMaxTokens (line 132) | func (ps PlanSettings) GetCoderMaxTokens() int { method GetCoderMaxReservedOutputTokens (line 139) | func (ps PlanSettings) GetCoderMaxReservedOutputTokens() int { method GetWholeFileBuilderMaxTokens (line 146) | func (ps PlanSettings) GetWholeFileBuilderMaxTokens() int { method GetWholeFileBuilderMaxReservedOutputTokens (line 153) | func (ps PlanSettings) GetWholeFileBuilderMaxReservedOutputTokens() int { method GetPlannerMaxConvoTokens (line 160) | func (ps PlanSettings) GetPlannerMaxConvoTokens() int { method GetPlannerEffectiveMaxTokens (line 172) | func (ps PlanSettings) GetPlannerEffectiveMaxTokens() int { method GetArchitectEffectiveMaxTokens (line 179) | func (ps PlanSettings) GetArchitectEffectiveMaxTokens() int { method GetCoderEffectiveMaxTokens (line 186) | func (ps PlanSettings) GetCoderEffectiveMaxTokens() int { method GetWholeFileBuilderEffectiveMaxTokens (line 193) | func (ps PlanSettings) GetWholeFileBuilderEffectiveMaxTokens() int { method GetModelProviderOptions (line 200) | func (ps PlanSettings) GetModelProviderOptions() ModelProviderOptions { method Equals (line 224) | func (ps *PlanSettings) Equals(other *PlanSettings) bool { method ForCompare (line 228) | func (ps PlanSettings) ForCompare() PlanSettings { method DeepCopy (line 238) | func (ps PlanSettings) DeepCopy() (*PlanSettings, error) { function getOptionalModelProviderOptions (line 251) | func getOptionalModelProviderOptions(settings *PlanSettings, cfg *ModelR... FILE: app/shared/plan_result.go method IsPending (line 7) | func (rep *Replacement) IsPending() bool { method SetRejected (line 11) | func (rep *Replacement) SetRejected(t time.Time) { method NumPendingReplacements (line 15) | func (res *PlanFileResult) NumPendingReplacements() int { method IsPending (line 25) | func (res *PlanFileResult) IsPending() bool { method SetApplied (line 29) | func (p PlanFileResultsByPath) SetApplied(t time.Time) { method SetRejected (line 40) | func (p PlanFileResultsByPath) SetRejected(t time.Time) int { method NumPending (line 58) | func (p PlanFileResultsByPath) NumPending() int { method ConflictedPaths (line 70) | func (p PlanFileResultsByPath) ConflictedPaths(filesByPath map[string]st... method NumPendingForPath (line 123) | func (r PlanResult) NumPendingForPath(path string) int { method NumBuildsPendingByPath (line 134) | func (desc *ConvoMessageDescription) NumBuildsPendingByPath() map[string... method HasPendingBuilds (line 144) | func (desc *ConvoMessageDescription) HasPendingBuilds() bool { function NumBuildsPendingByPath (line 148) | func NumBuildsPendingByPath(planDescs []*ConvoMessageDescription) map[st... function HasPendingBuilds (line 158) | func HasPendingBuilds(planDescs []*ConvoMessageDescription) bool { method NumBuildsPendingByPath (line 162) | func (c *CurrentPlanState) NumBuildsPendingByPath() map[string]int { method HasPendingBuilds (line 166) | func (c *CurrentPlanState) HasPendingBuilds() bool { FILE: app/shared/plan_result_exec_history.go method ExecHistory (line 3) | func (state *CurrentPlanState) ExecHistory() string { FILE: app/shared/plan_result_pending_summary.go method PendingChangesSummaryForBuild (line 10) | func (state *CurrentPlanState) PendingChangesSummaryForBuild() string { method PendingChangesSummaryForApply (line 14) | func (state *CurrentPlanState) PendingChangesSummaryForApply(commitSumma... method pendingChangesSummary (line 18) | func (state *CurrentPlanState) pendingChangesSummary(forApply bool, comm... FILE: app/shared/plan_result_replacements.go function ApplyReplacements (line 12) | func ApplyReplacements(content string, replacements []*Replacement, setF... function ApplyReplacementsVerbose (line 16) | func ApplyReplacementsVerbose(content string, replacements []*Replacemen... function applyReplacements (line 20) | func applyReplacements(content string, replacements []*Replacement, setF... method GetFiles (line 139) | func (planState *CurrentPlanState) GetFiles() (*CurrentPlanFiles, error) { method GetFilesBeforeReplacement (line 143) | func (planState *CurrentPlanState) GetFilesBeforeReplacement( FILE: app/shared/plan_status.go type PlanStatus (line 3) | type PlanStatus constant PlanStatusDraft (line 6) | PlanStatusDraft PlanStatus = "draft" constant PlanStatusReplying (line 7) | PlanStatusReplying PlanStatus = "replying" constant PlanStatusDescribing (line 8) | PlanStatusDescribing PlanStatus = "describing" constant PlanStatusBuilding (line 9) | PlanStatusBuilding PlanStatus = "building" constant PlanStatusMissingFile (line 10) | PlanStatusMissingFile PlanStatus = "missingFile" constant PlanStatusFinished (line 11) | PlanStatusFinished PlanStatus = "finished" constant PlanStatusStopped (line 12) | PlanStatusStopped PlanStatus = "stopped" constant PlanStatusError (line 13) | PlanStatusError PlanStatus = "error" FILE: app/shared/rbac.go type Permission (line 7) | type Permission constant PermissionDeleteOrg (line 10) | PermissionDeleteOrg Permission = "delete_org" constant PermissionManageEmailDomainAuth (line 11) | PermissionManageEmailDomainAuth Permission = "manage_email_domain_auth" constant PermissionManageBilling (line 12) | PermissionManageBilling Permission = "manage_billing" constant PermissionInviteUser (line 13) | PermissionInviteUser Permission = "invite_user" constant PermissionRemoveUser (line 14) | PermissionRemoveUser Permission = "remove_user" constant PermissionSetUserRole (line 15) | PermissionSetUserRole Permission = "set_user_role" constant PermissionListOrgRoles (line 16) | PermissionListOrgRoles Permission = "list_org_roles" constant PermissionCreateProject (line 17) | PermissionCreateProject Permission = "create_project" constant PermissionRenameAnyProject (line 18) | PermissionRenameAnyProject Permission = "rename_any_project" constant PermissionDeleteAnyProject (line 19) | PermissionDeleteAnyProject Permission = "delete_any_project" constant PermissionCreatePlan (line 20) | PermissionCreatePlan Permission = "create_plan" constant PermissionManageAnyPlanShares (line 21) | PermissionManageAnyPlanShares Permission = "manage_any_plan_shares" constant PermissionRenameAnyPlan (line 22) | PermissionRenameAnyPlan Permission = "rename_any_plan" constant PermissionDeleteAnyPlan (line 23) | PermissionDeleteAnyPlan Permission = "delete_any_plan" constant PermissionUpdateAnyPlan (line 24) | PermissionUpdateAnyPlan Permission = "update_any_plan" constant PermissionArchiveAnyPlan (line 25) | PermissionArchiveAnyPlan Permission = "archive_any_plan" type Permissions (line 28) | type Permissions method HasPermission (line 30) | func (perms Permissions) HasPermission(permission Permission) bool { method HasPermissionForResource (line 42) | func (perms Permissions) HasPermissionForResource(permission Permissio... FILE: app/shared/req_res.go type CreateEmailVerificationRequest (line 10) | type CreateEmailVerificationRequest struct type CreateEmailVerificationResponse (line 17) | type CreateEmailVerificationResponse struct type VerifyEmailPinRequest (line 22) | type VerifyEmailPinRequest struct type SignInRequest (line 27) | type SignInRequest struct type UiSignInToken (line 33) | type UiSignInToken struct type CreateAccountRequest (line 38) | type CreateAccountRequest struct type SessionResponse (line 44) | type SessionResponse struct type CreateOrgRequest (line 53) | type CreateOrgRequest struct type ConvertTrialRequest (line 58) | type ConvertTrialRequest struct type CreateOrgResponse (line 66) | type CreateOrgResponse struct type InviteRequest (line 70) | type InviteRequest struct type CreateProjectRequest (line 76) | type CreateProjectRequest struct type CreateProjectResponse (line 80) | type CreateProjectResponse struct type SetProjectPlanRequest (line 84) | type SetProjectPlanRequest struct type RenameProjectRequest (line 88) | type RenameProjectRequest struct type CreatePlanRequest (line 92) | type CreatePlanRequest struct type CreatePlanResponse (line 96) | type CreatePlanResponse struct type GetCurrentBranchByPlanIdRequest (line 101) | type GetCurrentBranchByPlanIdRequest struct type ListPlansRunningResponse (line 105) | type ListPlansRunningResponse struct type BuildMode (line 113) | type BuildMode constant BuildModeAuto (line 116) | BuildModeAuto BuildMode = "auto" constant BuildModeNone (line 117) | BuildModeNone BuildMode = "none" type TellPlanRequest (line 120) | type TellPlanRequest struct type BuildPlanRequest (line 145) | type BuildPlanRequest struct constant NoBuildsErr (line 157) | NoBuildsErr string = "No builds" type RespondMissingFileChoice (line 159) | type RespondMissingFileChoice constant RespondMissingFileChoiceLoad (line 162) | RespondMissingFileChoiceLoad RespondMissingFileChoice = "load" constant RespondMissingFileChoiceSkip (line 163) | RespondMissingFileChoiceSkip RespondMissingFileChoice = "skip" constant RespondMissingFileChoiceOverwrite (line 164) | RespondMissingFileChoiceOverwrite RespondMissingFileChoice = "overwrite" type RespondMissingFileRequest (line 167) | type RespondMissingFileRequest struct type FileMapInputs (line 173) | type FileMapInputs method NumFiles (line 175) | func (f FileMapInputs) NumFiles() int { method TotalSize (line 179) | func (f FileMapInputs) TotalSize() int64 { type LoadContextParams (line 187) | type LoadContextParams struct type LoadContextRequest (line 212) | type LoadContextRequest type LoadContextResponse (line 214) | type LoadContextResponse struct type UpdateContextParams (line 222) | type UpdateContextParams struct type GetFileMapRequest (line 231) | type GetFileMapRequest struct type GetFileMapResponse (line 235) | type GetFileMapResponse struct type LoadCachedFileMapRequest (line 239) | type LoadCachedFileMapRequest struct type LoadCachedFileMapResponse (line 243) | type LoadCachedFileMapResponse struct type GetContextBodyRequest (line 248) | type GetContextBodyRequest struct type GetContextBodyResponse (line 252) | type GetContextBodyResponse struct type UpdateContextRequest (line 256) | type UpdateContextRequest type DeleteContextRequest (line 260) | type DeleteContextRequest struct type DeleteContextResponse (line 264) | type DeleteContextResponse struct type RejectFileRequest (line 270) | type RejectFileRequest struct type RejectFilesRequest (line 274) | type RejectFilesRequest struct type RewindPlanRequest (line 278) | type RewindPlanRequest struct type RewindPlanResponse (line 282) | type RewindPlanResponse struct type LogResponse (line 287) | type LogResponse struct type CreateBranchRequest (line 292) | type CreateBranchRequest struct type UpdateSettingsRequest (line 296) | type UpdateSettingsRequest struct type UpdateSettingsResponse (line 301) | type UpdateSettingsResponse struct type UpdatePlanConfigRequest (line 305) | type UpdatePlanConfigRequest struct type UpdateDefaultPlanConfigRequest (line 309) | type UpdateDefaultPlanConfigRequest struct type GetPlanConfigResponse (line 313) | type GetPlanConfigResponse struct type GetDefaultPlanConfigResponse (line 317) | type GetDefaultPlanConfigResponse struct type ListUsersResponse (line 321) | type ListUsersResponse struct type ApplyPlanRequest (line 326) | type ApplyPlanRequest struct type RenamePlanRequest (line 336) | type RenamePlanRequest struct type GetBuildStatusResponse (line 340) | type GetBuildStatusResponse struct type CreditsLogRequest (line 346) | type CreditsLogRequest struct type CreditsLogResponse (line 354) | type CreditsLogResponse struct type CreditsSummaryResponse (line 362) | type CreditsSummaryResponse struct type GetBalanceResponse (line 378) | type GetBalanceResponse struct FILE: app/shared/stream.go constant STREAM_MESSAGE_SEPARATOR (line 3) | STREAM_MESSAGE_SEPARATOR = "@@PX@@" type BuildInfo (line 5) | type BuildInfo struct type StreamMessageType (line 12) | type StreamMessageType constant StreamMessageStart (line 15) | StreamMessageStart StreamMessageType = "start" constant StreamMessageConnectActive (line 16) | StreamMessageConnectActive StreamMessageType = "connectActive" constant StreamMessageHeartbeat (line 17) | StreamMessageHeartbeat StreamMessageType = "heartbeat" constant StreamMessageReply (line 18) | StreamMessageReply StreamMessageType = "reply" constant StreamMessageDescribing (line 19) | StreamMessageDescribing StreamMessageType = "describing" constant StreamMessageRepliesFinished (line 20) | StreamMessageRepliesFinished StreamMessageType = "repliesFinished" constant StreamMessageBuildInfo (line 21) | StreamMessageBuildInfo StreamMessageType = "buildInfo" constant StreamMessagePromptMissingFile (line 22) | StreamMessagePromptMissingFile StreamMessageType = "promptMissingFile" constant StreamMessageLoadContext (line 23) | StreamMessageLoadContext StreamMessageType = "loadContext" constant StreamMessageAborted (line 24) | StreamMessageAborted StreamMessageType = "aborted" constant StreamMessageFinished (line 25) | StreamMessageFinished StreamMessageType = "finished" constant StreamMessageError (line 26) | StreamMessageError StreamMessageType = "error" constant StreamMessageMulti (line 28) | StreamMessageMulti StreamMessageType = "multi" type StreamMessage (line 31) | type StreamMessage struct FILE: app/shared/streamed_change.go type StreamedChangeSection (line 10) | type StreamedChangeSection struct method GetLines (line 24) | func (streamedChangeSection StreamedChangeSection) GetLines() (int, in... method GetLinesWithPrefix (line 28) | func (streamedChangeSection StreamedChangeSection) GetLinesWithPrefix(... type StreamedChangeWithLineNums (line 17) | type StreamedChangeWithLineNums struct function ExtractLineNumber (line 77) | func ExtractLineNumber(line string) (int, error) { function ExtractLineNumberWithPrefix (line 81) | func ExtractLineNumberWithPrefix(line, prefix string) (int, error) { FILE: app/shared/syntax.go type Language (line 8) | type Language constant LanguageBash (line 11) | LanguageBash Language = "bash" constant LanguageC (line 12) | LanguageC Language = "c" constant LanguageCpp (line 13) | LanguageCpp Language = "cpp" constant LanguageCsharp (line 14) | LanguageCsharp Language = "csharp" constant LanguageCss (line 15) | LanguageCss Language = "css" constant LanguageCue (line 16) | LanguageCue Language = "cue" constant LanguageDockerfile (line 17) | LanguageDockerfile Language = "dockerfile" constant LanguageElixir (line 18) | LanguageElixir Language = "elixir" constant LanguageElm (line 19) | LanguageElm Language = "elm" constant LanguageGo (line 20) | LanguageGo Language = "go" constant LanguageGroovy (line 21) | LanguageGroovy Language = "groovy" constant LanguageHcl (line 22) | LanguageHcl Language = "hcl" constant LanguageHtml (line 23) | LanguageHtml Language = "html" constant LanguageJava (line 24) | LanguageJava Language = "java" constant LanguageJavascript (line 25) | LanguageJavascript Language = "javascript" constant LanguageJson (line 26) | LanguageJson Language = "json" constant LanguageKotlin (line 27) | LanguageKotlin Language = "kotlin" constant LanguageLua (line 28) | LanguageLua Language = "lua" constant LanguageOCaml (line 29) | LanguageOCaml Language = "ocaml" constant LanguagePhp (line 30) | LanguagePhp Language = "php" constant LanguageProtobuf (line 31) | LanguageProtobuf Language = "protobuf" constant LanguagePython (line 32) | LanguagePython Language = "python" constant LanguageRuby (line 33) | LanguageRuby Language = "ruby" constant LanguageRust (line 34) | LanguageRust Language = "rust" constant LanguageScala (line 35) | LanguageScala Language = "scala" constant LanguageSvelte (line 36) | LanguageSvelte Language = "svelte" constant LanguageSwift (line 37) | LanguageSwift Language = "swift" constant LanguageToml (line 38) | LanguageToml Language = "toml" constant LanguageTypescript (line 39) | LanguageTypescript Language = "typescript" constant LanguageJsx (line 40) | LanguageJsx Language = "jsx" constant LanguageTsx (line 41) | LanguageTsx Language = "tsx" constant LanguageYaml (line 42) | LanguageYaml Language = "yaml" constant LanguageMarkdown (line 43) | LanguageMarkdown Language = "markdown" function init (line 104) | func init() { function IsTreeSitterLanguage (line 114) | func IsTreeSitterLanguage(lang Language) bool { function HasTreeSitterSupport (line 118) | func HasTreeSitterSupport(path string) bool { function HasFileMapSupport (line 125) | func HasFileMapSupport(path string) bool { FILE: app/shared/tokens.go constant EstimatedBytesPerToken (line 11) | EstimatedBytesPerToken = 4 function init (line 13) | func init() { function GetNumTokensEstimate (line 21) | func GetNumTokensEstimate(text string) int { function GetFastNumTokensEstimate (line 25) | func GetFastNumTokensEstimate(text string) int { function GetBytesToTokensEstimate (line 29) | func GetBytesToTokensEstimate(bytes int64) int { FILE: app/shared/utils.go function Pointer (line 13) | func Pointer[T any](v T) *T { constant TsFormat (line 17) | TsFormat = "2006-01-02T15:04:05.999Z" function StringTs (line 19) | func StringTs() string { function GetRandomAlphanumeric (line 25) | func GetRandomAlphanumeric(n int) ([]byte, error) { function Dasherize (line 36) | func Dasherize(s string) string { function Compact (line 63) | func Compact(s string) string { function Capitalize (line 67) | func Capitalize(s string) string { type LineNumberedTextType (line 74) | type LineNumberedTextType function AddLineNums (line 76) | func AddLineNums(s string) LineNumberedTextType { function AddLineNumsWithPrefix (line 80) | func AddLineNumsWithPrefix(s, prefix string) LineNumberedTextType { function RemoveLineNums (line 88) | func RemoveLineNums(s LineNumberedTextType) string { function RemoveLineNumsWithPrefix (line 92) | func RemoveLineNumsWithPrefix(s LineNumberedTextType, prefix string) str... function IndexRunes (line 98) | func IndexRunes(haystack []rune, needle []rune) int { function ReplaceReverse (line 123) | func ReplaceReverse(s, old, new string, n int) string { function NormalizeEOL (line 146) | func NormalizeEOL(data []byte) []byte { function looksTextish (line 163) | func looksTextish(b []byte) bool { FILE: app/shared/utils_struct.go function Merge (line 5) | func Merge[T any](base T, ov T) T { function FieldsDefined (line 21) | func FieldsDefined(v any, fields []string) (ok bool, missing string) { FILE: test/evals/promptfoo-poc/build/assets/shared/pre_build.go function contextRm (line 24) | func contextRm(cmd *cobra.Command, args []string) { function init (line 89) | func init() { FILE: test/evals/promptfoo-poc/fix/assets/shared/pre_build.go function contextRm (line 23) | func contextRm(cmd *cobra.Command, args []string) { function init (line 88) | func init() { FILE: test/evals/promptfoo-poc/verify/assets/removal/post_build.go function parseRange (line 16) | func parseRange(arg string) ([]int, error) { function contextRm (line 41) | func contextRm(cmd *cobra.Command, args []string) { function init (line 119) | func init() { FILE: test/evals/promptfoo-poc/verify/assets/valid/post_build.go function parseRange (line 16) | func parseRange(arg string) ([]int, error) { function contextRm (line 50) | func contextRm(cmd *cobra.Command, args []string) { function init (line 115) | func init() { FILE: test/project/react-redux-foobar/action.ts constant INCREMENT_COUNT (line 1) | const INCREMENT_COUNT = 'INCREMENT_COUNT'; type IncrementCountAction (line 3) | interface IncrementCountAction { FILE: test/project/react-redux-foobar/component.ts type Props (line 3) | interface Props { FILE: test/project/react-redux-foobar/lib/constants.ts constant SOME_CONSTANT (line 1) | const SOME_CONSTANT = 'SOME_CONSTANT_VALUE'; FILE: test/project/react-redux-foobar/reducer.ts type State (line 4) | interface State {