MCPcopy Create free account

hub / github.com/Quorinex/Kiro-Go / functions

Functions794 in github.com/Quorinex/Kiro-Go

↓ 2 callersFunctionprofileArnCooldownKey
(account *config.Account)
proxy/kiro_api.go:241
↓ 2 callersMethodpruneExpiredLocked
(now time.Time)
proxy/cache_tracker.go:225
↓ 2 callersMethodrefreshAllAccounts
refreshAllAccounts 刷新所有账户信息
proxy/handler.go:279
↓ 2 callersFunctionregionFromProfileArn
(profileArn string)
proxy/kiro_api.go:24
↓ 2 callersFunctionrenderApiKeys
()
web/app.js:1723
↓ 2 callersFunctionrenderCustomSelectOptions
(select)
web/app.js:164
↓ 2 callersFunctionrenderTestModal
()
web/app.js:1430
↓ 2 callersFunctionrenderVersionBadge
()
web/app.js:2568
↓ 2 callersFunctionresolveClaudeThinkingResponseOptions
(thinking *ClaudeThinkingConfig, defaultFormat string)
proxy/handler.go:171
↓ 2 callersFunctionrunTestAccount
(id, model)
web/app.js:1506
↓ 2 callersFunctionsanitizeResponseID
(id string)
proxy/responses_store.go:148
↓ 2 callersMethodsaveStats
saveStats 保存统计到配置文件
proxy/handler.go:1313
↓ 2 callersFunctionsetActivePassword
(nextPassword, remember)
web/app.js:598
↓ 2 callersFunctionsetLang
(lang)
web/app.js:124
↓ 2 callersFunctionsetUpdateButtonLoading
(loading)
web/app.js:2590
↓ 2 callersFunctionshortenToolName
(name string)
proxy/translator.go:913
↓ 2 callersFunctionshow
(message, variant, opts)
web/toast.js:181
↓ 2 callersFunctionshowDetail
(id)
web/app.js:1182
↓ 2 callersFunctionshowMain
()
web/app.js:656
↓ 2 callersFunctiontrimLeadingAssistantHistory
(history []KiroHistoryMessage)
proxy/translator.go:1773
↓ 2 callersFunctiontruncatePayloadToLimit
truncatePayloadToLimit drops the oldest conversation history turns until the serialized payload fits within maxPayloadBytes. It preserves, in order: -
proxy/translator.go:1624
↓ 2 callersFunctionusageLine
(label, used, limit, options)
web/app.js:1714
↓ 2 callersFunctionvalidateClaudeRequestShape
(req *ClaudeRequest)
proxy/handler.go:88
↓ 2 callersFunctionwithApiKeyContext
withApiKeyContext attaches the matched entry to the request context so downstream handlers (recordSuccess, etc.) can credit usage against the correct
proxy/auth.go:96
↓ 2 callersFunctionwithProfileArnQuery
(rawURL string, account *config.Account)
proxy/kiro_api.go:386
↓ 1 callersFunctionCompleteIamSsoLogin
CompleteIamSsoLogin 完成 IAM SSO 登录
auth/iam_sso.go:99
↓ 1 callersFunctionDeleteAccount
(id string)
config/config.go:514
↓ 1 callersMethodDisableAccount
DisableAccount marks an account as disabled (auth revoked / unrecoverable), removes it from the in-memory pool so subsequent requests skip it, and per
pool/account.go:361
↓ 1 callersFunctionFatalf
Fatalf logs a formatted message at ERROR level and terminates the process.
logger/logger.go:138
↓ 1 callersFunctionGetAuthClientForProxy
GetAuthClientForProxy returns an auth HTTP client for the given proxy URL. If proxyURL is empty, returns the global auth HTTP client.
auth/http_client.go:29
↓ 1 callersFunctionGetBuilderIdSession
GetBuilderIdSession 获取会话信息
auth/builderid.go:239
↓ 1 callersFunctionGetClientForProxy
GetClientForProxy returns an http.Client configured for the given proxy URL. If proxyURL is empty, returns the global kiro HTTP client.
proxy/kiro.go:66
↓ 1 callersFunctionGetConfigDir
GetConfigDir returns the directory containing the config JSON file. Useful for sibling state (e.g. stored Responses, caches) that should live alongsid
config/config.go:355
↓ 1 callersFunctionGetFilterClaudeCode
GetFilterClaudeCode returns whether Claude Code system prompt detection is enabled. Also checks the legacy SanitizeClaudeCodePrompt flag for backward
config/config.go:647
↓ 1 callersFunctionGetFilterEnvNoise
GetFilterEnvNoise returns whether environment noise line stripping is enabled.
config/config.go:657
↓ 1 callersFunctionGetFilterStripBoundaries
GetFilterStripBoundaries returns whether boundary marker stripping is enabled.
config/config.go:667
↓ 1 callersFunctionGetKiroClientConfig
()
config/config.go:864
↓ 1 callersFunctionGetLevel
GetLevel returns the active log level.
logger/logger.go:81
↓ 1 callersFunctionGetLogLevel
GetLogLevel returns the configured log level (debug/info/warn/error). Defaults to "info".
config/config.go:841
↓ 1 callersFunctionGetPromptFilterRules
GetPromptFilterRules returns the current prompt filter rules.
config/config.go:717
↓ 1 callersFunctionGetStats
()
config/config.go:591
↓ 1 callersFunctionGetUsageLimits
GetUsageLimits 获取账户使用量和订阅信息
proxy/kiro_api.go:76
↓ 1 callersFunctionImportFromSsoToken
ImportFromSsoToken 从 SSO Token (x-amz-sso_authn) 导入账号
auth/sso_token.go:15
↓ 1 callersFunctionInit
Init configures the logger. The LOG_LEVEL environment variable, if set, overrides the supplied fallback (typically config.GetLogLevel()).
logger/logger.go:95
↓ 1 callersFunctionKiroToOpenAIResponseWithReasoning
KiroToOpenAIResponseWithReasoning 带 reasoning_content 的 OpenAI 响应
proxy/translator.go:2094
↓ 1 callersFunctionLevelName
LevelName returns the canonical lowercase name of a Level.
logger/logger.go:61
↓ 1 callersFunctionLoad
()
config/config.go:250
↓ 1 callersFunctionNewHandler
()
proxy/handler.go:231
↓ 1 callersFunctionParseLevel
ParseLevel converts a textual level ("debug", "info", "warn", "error") to a Level. The ok flag is false when the input is empty or unknown.
logger/logger.go:46
↓ 1 callersFunctionPollBuilderIdAuth
PollBuilderIdAuth 轮询 Builder ID 授权状态
auth/builderid.go:149
↓ 1 callersFunctionSetAccountBanStatus
SetAccountBanStatus marks an account as banned/disabled with a reason. Reason is recorded so operators can see why the account was auto-disabled.
config/config.go:485
↓ 1 callersFunctionSetLevel
SetLevel sets the active log level.
logger/logger.go:76
↓ 1 callersFunctionSetOverageStatus
SetOverageStatus calls AWS Q `POST /setUserPreference` to flip the user-level Overages switch, then re-fetches the snapshot for cache write-through.
proxy/kiro_overage.go:113
↓ 1 callersFunctionSetPassword
SetPassword updates the admin password. Primarily used for environment variable override in containerized deployments.
config/config.go:346
↓ 1 callersFunctionStartBuilderIdLogin
StartBuilderIdLogin 开始 Builder ID 登录
auth/builderid.go:32
↓ 1 callersFunctionStartIamSsoLogin
StartIamSsoLogin 发起 IAM SSO 登录
auth/iam_sso.go:44
↓ 1 callersMethodSum
([]byte)
proxy/cache_tracker.go:606
↓ 1 callersFunctionUpdateAccountOverageStatus
UpdateAccountOverageStatus persists the cached upstream overage status fields. Called after a successful setUserPreference or getUsageLimits round-tri
config/config.go:441
↓ 1 callersFunctionUpdateAccountStats
(id string, requestCount, errorCount, totalTokens int, totalCredits float64, lastUsed int64)
config/config.go:597
↓ 1 callersFunctionUpdatePromptFilterConfig
UpdatePromptFilterConfig saves all prompt filter settings atomically.
config/config.go:702
↓ 1 callersFunctionUpdateProxySettings
UpdateProxySettings 更新出站代理配置
config/config.go:815
↓ 1 callersFunctionUpdateThinkingConfig
UpdateThinkingConfig 更新 thinking 配置
config/config.go:762
↓ 1 callersFunctionacceptUserCode
(oidcBase, userCode, deviceSessionToken string)
auth/sso_token.go:185
↓ 1 callersFunctionaccountLabel
(id)
web/app.js:700
↓ 1 callersMethodaddCredits
addCredits 线程安全增加 credits
proxy/handler.go:1331
↓ 1 callersMethodapiAddAccount
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2335
↓ 1 callersMethodapiBatchAccounts
apiBatchAccounts 批量操作账号(启用/禁用/刷新)
proxy/handler.go:2527
↓ 1 callersMethodapiClearLogs
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3121
↓ 1 callersMethodapiCompleteIamSso
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2664
↓ 1 callersMethodapiCreateApiKey
(w http.ResponseWriter, r *http.Request)
proxy/admin_apikeys.go:70
↓ 1 callersMethodapiDeleteAccount
(w http.ResponseWriter, r *http.Request, id string)
proxy/handler.go:2368
↓ 1 callersMethodapiDeleteApiKey
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:168
↓ 1 callersMethodapiExportAccounts
apiExportAccounts 导出账号凭证
proxy/handler.go:3584
↓ 1 callersMethodapiGenerateMachineId
apiGenerateMachineId 生成新的机器码
proxy/handler.go:3129
↓ 1 callersMethodapiGetAccountFull
apiGetAccountFull 获取单个账号的完整信息(包含敏感字段)
proxy/handler.go:3304
↓ 1 callersMethodapiGetAccountModels
apiGetAccountModels 获取账户可用模型
proxy/handler.go:3383
↓ 1 callersMethodapiGetAccountModelsCached
apiGetAccountModelsCached 返回账号已缓存的模型列表(不实时拉取)
proxy/handler.go:3424
↓ 1 callersMethodapiGetAccountOverage
apiGetAccountOverage 拉取并返回单个账号的上游 Overages 状态。 同步把结果写回 config.json 缓存,确保 UI 与持久化一致。
proxy/handler.go:2439
↓ 1 callersMethodapiGetAccounts
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2273
↓ 1 callersMethodapiGetApiKey
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:52
↓ 1 callersMethodapiGetEndpointConfig
apiGetEndpointConfig 获取端点配置
proxy/handler.go:3489
↓ 1 callersMethodapiGetLogs
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3115
↓ 1 callersMethodapiGetPromptFilter
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3016
↓ 1 callersMethodapiGetProxy
apiGetProxy 获取当前代理配置
proxy/handler.go:3535
↓ 1 callersMethodapiGetSettings
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3006
↓ 1 callersMethodapiGetStats
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3092
↓ 1 callersMethodapiGetStatus
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2992
↓ 1 callersMethodapiGetThinkingConfig
apiGetThinkingConfig 获取 thinking 配置
proxy/handler.go:3444
↓ 1 callersMethodapiGetVersion
apiGetVersion 获取版本信息
proxy/handler.go:3577
↓ 1 callersMethodapiImportSsoToken
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2808
↓ 1 callersMethodapiListApiKeys
(w http.ResponseWriter, r *http.Request)
proxy/admin_apikeys.go:43
↓ 1 callersMethodapiPollBuilderIdAuth
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2737
↓ 1 callersMethodapiRefreshAccount
apiRefreshAccount 刷新账户信息(使用量、订阅等)
proxy/handler.go:3202
↓ 1 callersMethodapiRefreshAccountModels
apiRefreshAccountModels POST /admin/api/accounts/{id}/models/refresh 立即为指定账号拉取并更新模型路由缓存。
proxy/handler.go:644
↓ 1 callersMethodapiRefreshAllAccountsModels
apiRefreshAllAccountsModels POST /admin/api/accounts/models/refresh 直接复用 refreshModelsCache,为所有已启用账号刷新模型路由缓存。
proxy/handler.go:678
↓ 1 callersMethodapiResetApiKeyUsage
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:177
↓ 1 callersMethodapiResetStats
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3103
↓ 1 callersMethodapiSetAccountOverage
apiSetAccountOverage 翻转单个账号的上游 Overages 开关,并刷新缓存。 Body: {"enabled": true|false}
proxy/handler.go:2479
↓ 1 callersMethodapiStartBuilderIdLogin
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2716
↓ 1 callersMethodapiStartIamSso
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:2633
← previousnext →301–400 of 794, ranked by callers