MCPcopy Create free account

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

Functions794 in github.com/Quorinex/Kiro-Go

↓ 1 callersMethodapiTestAccount
apiTestAccount tests a specific account by sending a real model request through its proxy.
proxy/handler.go:3135
↓ 1 callersMethodapiUpdateAccount
(w http.ResponseWriter, r *http.Request, id string)
proxy/handler.go:2378
↓ 1 callersMethodapiUpdateApiKey
(w http.ResponseWriter, r *http.Request, id string)
proxy/admin_apikeys.go:118
↓ 1 callersMethodapiUpdateEndpointConfig
apiUpdateEndpointConfig 更新端点配置
proxy/handler.go:3497
↓ 1 callersMethodapiUpdatePromptFilter
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3020
↓ 1 callersMethodapiUpdateProxy
apiUpdateProxy 更新代理配置并立即生效
proxy/handler.go:3542
↓ 1 callersMethodapiUpdateSettings
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:3059
↓ 1 callersMethodapiUpdateThinkingConfig
apiUpdateThinkingConfig 更新 thinking 配置
proxy/handler.go:3454
↓ 1 callersFunctionappendMessageCacheBlocks
(blocks *[]cacheablePromptBlock, messageIndex int, msg ClaudeMessage)
proxy/cache_tracker.go:319
↓ 1 callersFunctionappendSystemCacheBlocks
(blocks *[]cacheablePromptBlock, system interface{})
proxy/cache_tracker.go:286
↓ 1 callersFunctionapplyFilterRule
applyFilterRule applies a single user-defined filter rule.
proxy/translator.go:397
↓ 1 callersFunctionapplyPromptFilters
applyPromptFilters applies all enabled prompt filter rules to the system prompt. Order: (1) Claude Code detection → full replacement, (2) strip bounda
proxy/translator.go:362
↓ 1 callersFunctionapplyUsageBars
(root)
web/app.js:922
↓ 1 callersFunctionapproveAuth
(oidcBase string, deviceContext *deviceContextInfo, deviceSessionToken string)
auth/sso_token.go:215
↓ 1 callersMethodbackgroundRefresh
backgroundRefresh 后台定时刷新账户信息
proxy/handler.go:258
↓ 1 callersMethodbackgroundStatsSaver
backgroundStatsSaver 后台定时保存统计数据
proxy/handler.go:1297
↓ 1 callersFunctionbatchAction
(action)
web/app.js:1067
↓ 1 callersFunctionbatchDelete
()
web/app.js:1123
↓ 1 callersFunctionbatchRefreshModels
()
web/app.js:1100
↓ 1 callersFunctionbindAccountEvents
()
web/app.js:2766
↓ 1 callersFunctionbindApiKeyEvents
()
web/app.js:1915
↓ 1 callersFunctionbindDetailEvents
()
web/app.js:2867
↓ 1 callersFunctionbindLoginEvents
()
web/app.js:2695
↓ 1 callersFunctionbindModalEvents
()
web/app.js:2843
↓ 1 callersFunctionbindPromptFilterEvents
()
web/app.js:2821
↓ 1 callersFunctionbindSettingsEvents
()
web/app.js:2809
↓ 1 callersFunctionbindShellEvents
()
web/app.js:2714
↓ 1 callersFunctionbindTestEvents
()
web/app.js:2884
↓ 1 callersFunctionbuildCachePreludeBlock
(req *ClaudeRequest)
proxy/cache_tracker.go:274
↓ 1 callersFunctionbuildClaudeSystemPrompt
(system interface{}, thinking bool)
proxy/translator.go:347
↓ 1 callersFunctionbuildIcon
(variant, customFa)
web/toast.js:127
↓ 1 callersFunctioncancelBuilderIdLogin
()
web/app.js:2427
↓ 1 callersFunctionclassifyError
classifyError categorizes an error message into a type for display.
proxy/handler.go:1412
↓ 1 callersFunctioncleanSchema
cleanSchema 递归清理会导致 Kiro 400 的 schema 字段。
proxy/translator.go:841
↓ 1 callersFunctioncleanupExpiredBuilderIdSessions
cleanupExpiredBuilderIdSessions 清理过期会话
auth/builderid.go:246
↓ 1 callersFunctioncleanupExpiredSessions
()
auth/iam_sso.go:256
↓ 1 callersFunctionclearTestLog
()
web/app.js:1426
↓ 1 callersFunctioncloneSchemaValue
(v interface{})
proxy/translator.go:825
↓ 1 callersFunctioncloseTestModal
()
web/app.js:1502
↓ 1 callersFunctioncollectAncestorChain
collectAncestorChain walks previous_response_id backwards, returning the chain in oldest-first order: [root, ..., parent, prev]. The walker is bounded
proxy/responses_history.go:49
↓ 1 callersFunctioncollectUsageMaps
(v interface{}, out *[]map[string]interface{})
proxy/kiro.go:615
↓ 1 callersFunctioncompareVersions
(a, b)
web/app.js:2580
↓ 1 callersFunctionconvertClaudeTools
(tools []ClaudeTool)
proxy/translator.go:778
↓ 1 callersFunctioncopyAccountJSON
(id, btn)
web/app.js:1042
↓ 1 callersFunctioncurrentMessageModelID
(payload *KiroPayload)
proxy/translator.go:1722
↓ 1 callersFunctiondefaultSystemVersion
()
config/config.go:893
↓ 1 callersFunctiondeleteAccount
(id)
web/app.js:1025
↓ 1 callersFunctiondeleteApiKeyEntry
(id, name)
web/app.js:1855
↓ 1 callersMethoddisableAccountOverage
(account *config.Account)
proxy/account_failover.go:72
↓ 1 callersFunctiondropLeadingAssistant
dropLeadingAssistant removes a leading assistant message from a history tail so it does not directly follow the placeholder user turn with a broken pa
proxy/translator.go:1706
↓ 1 callersFunctioneffectiveWeight
(weight int)
pool/account.go:496
↓ 1 callersFunctionensureRoot
()
web/toast.js:92
↓ 1 callersFunctionerrorTypeLabel
(type)
web/app.js:687
↓ 1 callersFunctionestimateOpenAIContentTokens
(content interface{})
proxy/token_estimator.go:179
↓ 1 callersFunctionexchangeToken
(oidcBase, clientID, clientSecret, code, codeVerifier, redirectUri string)
auth/iam_sso.go:196
↓ 1 callersFunctionextractClaudeAssistantContent
(content interface{})
proxy/translator.go:738
↓ 1 callersFunctionextractEventType
extractEventType extracts the event type string from AWS Event Stream message headers.
proxy/kiro.go:799
↓ 1 callersFunctionextractProvidedKey
extractProvidedKey reads the API key from Authorization (Bearer ...) or X-Api-Key header.
proxy/auth.go:28
↓ 1 callersFunctionextractToolResultContent
(content interface{})
proxy/translator.go:705
↓ 1 callersFunctionfaAvailable
()
web/toast.js:107
↓ 1 callersFunctionfallbackAnthropicModels
(thinkingSuffix string)
proxy/handler.go:514
↓ 1 callersFunctionfirstBoolField
(m map[string]interface{}, keys ...string)
proxy/kiro.go:789
↓ 1 callersFunctionfirstClaudeConversationAnchor
(messages []ClaudeMessage)
proxy/translator.go:1787
↓ 1 callersFunctionfirstOpenAIConversationAnchor
(messages []OpenAIMessage)
proxy/translator.go:1804
↓ 1 callersFunctionflashCopySuccess
(btn)
web/app.js:1057
↓ 1 callersFunctionflattenClaudeCacheBlocks
(req *ClaudeRequest)
proxy/cache_tracker.go:245
↓ 1 callersFunctionformatLogTime
(ts)
web/app.js:693
↓ 1 callersFunctionformatNumber
(n)
web/app.js:1696
↓ 1 callersFunctionformatTokenExpiry
(ts)
web/app.js:909
↓ 1 callersFunctionformatTrialExpiry
(ts)
web/app.js:870
↓ 1 callersFunctionformatUptime
(seconds)
web/app.js:2906
↓ 1 callersFunctiongenerateCodeChallenge
(verifier string)
auth/iam_sso.go:240
↓ 1 callersFunctiongenerateCodeVerifier
()
auth/iam_sso.go:234
↓ 1 callersFunctiongenerateMachineId
()
web/app.js:1279
↓ 1 callersFunctiongenerateResponseID
()
proxy/responses_store.go:25
↓ 1 callersFunctiongetActiveLoginTime
()
web/app.js:594
↓ 1 callersFunctiongetCustomSelectLabelElement
(select)
web/app.js:247
↓ 1 callersFunctiongetDeviceSessionToken
(portalBase, bearerToken string)
auth/sso_token.go:155
↓ 1 callersFunctiongetModelFamily
(id)
web/app.js:2973
↓ 1 callersFunctiongetModelFamilyColor
(family)
web/app.js:3005
↓ 1 callersFunctiongetModelFamilyLabel
(family)
web/app.js:2988
↓ 1 callersMethodgetRequestLogs
getRequestLogs returns a copy of request logs (newest first).
proxy/handler.go:1430
↓ 1 callersFunctiongetSortedEndpoints
getSortedEndpoints returns endpoints ordered by user preference, with optional fallback.
proxy/kiro.go:260
↓ 1 callersFunctiongetStatusBadge
(a)
web/app.js:889
↓ 1 callersFunctiongetSubBadge
(type)
web/app.js:857
↓ 1 callersFunctiongetTestAccount
(id)
web/app.js:1398
↓ 1 callersFunctiongetTrialBadge
(a)
web/app.js:864
↓ 1 callersMethodhandleAdminAPI
==================== 管理 API ====================
proxy/handler.go:2147
↓ 1 callersMethodhandleClaudeMessages
handleClaudeMessages Claude API 处理
proxy/handler.go:798
↓ 1 callersMethodhandleClaudeMessagesInternal
(w http.ResponseWriter, r *http.Request)
proxy/handler.go:802
↓ 1 callersMethodhandleClaudeStream
handleClaudeStream Claude 流式响应
proxy/handler.go:847
↓ 1 callersMethodhandleCountTokens
handleCountTokens Token 计数(Claude Code 会调用)
proxy/handler.go:761
↓ 1 callersMethodhandleHealth
handleHealth 健康检查(不暴露统计数据)
proxy/handler.go:436
↓ 1 callersMethodhandleModels
handleModels 模型列表
proxy/handler.go:463
↓ 1 callersMethodhandleOpenAIChat
handleOpenAIChat OpenAI API 处理
proxy/handler.go:1578
↓ 1 callersMethodhandleOpenAINonStream
handleOpenAINonStream OpenAI 非流式响应
proxy/handler.go:2008
↓ 1 callersMethodhandleOpenAIStream
handleOpenAIStream OpenAI 流式响应
proxy/handler.go:1617
↓ 1 callersMethodhandleResponsesNonStream
( w http.ResponseWriter, payload *KiroPayload, model string, thinking bool, estimatedInputTokens int, apiKey
proxy/responses_handler.go:126
↓ 1 callersMethodhandleResponsesStream
( w http.ResponseWriter, payload *KiroPayload, model string, thinking bool, estimatedInputTokens int, apiKey
proxy/responses_handler.go:274
↓ 1 callersMethodhandleStats
handleStats 统计数据(需要 API Key 鉴权)
proxy/handler.go:446
← previousnext →401–500 of 794, ranked by callers