MCPcopy Create free account

hub / github.com/OpenSecretCloud/opensecret / functions

Functions1,278 in github.com/OpenSecretCloud/opensecret

↓ 1 callersMethodfill_buffer
(&self)
src/encrypt.rs:548
↓ 1 callersMethodfill_bytes
(&mut self, dest: &mut [u8])
src/main.rs:2628
↓ 1 callersFunctionfinal_assistant_finish_reason
(tools_enabled: bool, finish_reason: Option<String>)
src/web/responses/handlers.rs:299
↓ 1 callersMethodfrontend_url
(&self)
src/main.rs:415
↓ 1 callersFunctiongenerateKeypair
* Generates a P-384 (secp384r1) ECDSA keypair. * @returns {Object} An object containing the keypair information
pcr_sign.js:10
↓ 1 callersMethodgenerate_authorize_url
(&self, client: &BasicClient)
src/oauth.rs:72
↓ 1 callersFunctiongenerate_jwt_secret
( aws_credential_manager: Arc<tokio::sync::RwLock<Option<AwsCredentialManager>>>, )
src/jwt.rs:558
↓ 1 callersFunctiongenerate_mock_attestation
( data: Arc<AppState>, request: Request, )
src/web/attestation_routes.rs:102
↓ 1 callersFunctiongenerate_real_attestation
( _data: Arc<AppState>, request: Request, )
src/web/attestation_routes.rs:342
↓ 1 callersFunctiongenerate_test_ec_keypair_pems
()
src/apple_signin.rs:395
↓ 1 callersFunctiongenerate_test_rsa_key_material
()
src/apple_signin.rs:415
↓ 1 callersMethodget_account_deletion_request_by_user_id_and_code
( &self, user_id: Uuid, encrypted_code: Vec<u8>, )
src/db.rs:2102
↓ 1 callersMethodget_all_invite_codes_for_org
(&self, org_id: i32)
src/db.rs:1479
↓ 1 callersMethodget_all_org_memberships_with_users_for_org
( &self, org_id: i32, )
src/db.rs:1651
↓ 1 callersMethodget_all_org_project_secrets_for_project
( &self, project_id: i32, )
src/db.rs:1408
↓ 1 callersMethodget_all_org_projects_for_org
(&self, org_id: i32)
src/db.rs:1332
↓ 1 callersMethodget_all_user_oauth_connections_for_user
( &self, user_id: Uuid, )
src/db.rs:1183
↓ 1 callersMethodget_and_remove_ephemeral_secret
(&self, nonce: &str)
src/main.rs:1502
↓ 1 callersMethodget_assistant_message_by_uuid
( &self, message_uuid: Uuid, )
src/db.rs:2829
↓ 1 callersMethodget_conversation_context_metadata
Fetch only message metadata (no content) for efficient truncation logic
src/models/responses.rs:1700
↓ 1 callersMethodget_conversation_project_by_id_and_user
( &self, project_id: i64, user_id: Uuid, )
src/db.rs:2217
↓ 1 callersMethodget_default_user_instruction
User instructions implementations
src/db.rs:2496
↓ 1 callersMethodget_email_verification_by_code
(&self, code: Uuid)
src/db.rs:909
↓ 1 callersMethodget_key_for_kid
Get the appropriate key for the given kid, refreshing from Apple if needed
src/apple_signin.rs:207
↓ 1 callersFunctionget_kms_key_id
(app_mode: &AppMode)
src/main.rs:2378
↓ 1 callersMethodget_messages_by_ids
Fetch messages by specific IDs (for targeted retrieval after metadata-based truncation)
src/models/responses.rs:1524
↓ 1 callersMethodget_oauth_provider_by_id
(&self, id: i32)
src/db.rs:1115
↓ 1 callersMethodget_or_create_client
(&self)
src/sqs.rs:137
↓ 1 callersFunctionget_or_create_enclave_key
( app_mode: &AppMode, aws_credential_manager: Arc<tokio::sync::RwLock<Option<AwsCredentialManager>>>,
src/main.rs:2237
↓ 1 callersFunctionget_or_create_jwt_secret
( app_mode: &AppMode, aws_credential_manager: Arc<tokio::sync::RwLock<Option<AwsCredentialManager>>>,
src/main.rs:2338
↓ 1 callersMethodget_org_by_name
(&self, name: &str)
src/db.rs:1245
↓ 1 callersMethodget_org_membership_by_platform_user_and_org_with_user
( &self, platform_user_id: Uuid, org_id: i32, )
src/db.rs:1608
↓ 1 callersMethodget_password_reset_request_by_user_id_and_code
( &self, user_id: Uuid, encrypted_code: Vec<u8>, )
src/db.rs:946
↓ 1 callersMethodget_platform_email_verification_by_code
( &self, code: Uuid, )
src/db.rs:1924
↓ 1 callersMethodget_platform_password_reset_request_by_user_id_and_code
( &self, user_id: Uuid, encrypted_code: Vec<u8>, )
src/db.rs:1986
↓ 1 callersMethodget_project_instruction_for_conversation
( &self, conversation_id: i64, user_id: Uuid, )
src/db.rs:2532
↓ 1 callersMethodget_project_secret
( &self, project_id: i32, key_name: &str, )
src/main.rs:2166
↓ 1 callersMethodget_response_context_messages
( &self, response_id: i64, )
src/db.rs:2910
↓ 1 callersFunctionget_secret
(key_name: &str)
src/main.rs:2201
↓ 1 callersMethodget_session_key
(&self)
src/web/attestation_routes.rs:33
↓ 1 callersMethodget_tinfoil_base_url
(&self)
src/proxy_config.rs:69
↓ 1 callersMethodget_tool_call_by_uuid
(&self, uuid: Uuid, user_id: Uuid)
src/db.rs:2887
↓ 1 callersMethodget_user_by_api_key_hash
(&self, key_hash: &str)
src/db.rs:2046
↓ 1 callersMethodget_user_flags
( &self, user_uuid: Uuid, keys: Option<&[&str]>, )
src/os_flags.rs:139
↓ 1 callersMethodget_user_instruction_by_uuid_and_user
( &self, uuid: Uuid, user_id: Uuid, )
src/db.rs:2564
↓ 1 callersMethodget_user_oauth_connection_by_user_and_provider
( &self, user_id: Uuid, provider_id: i32, )
src/db.rs:1157
↓ 1 callersMethodgithub_client_id
(mut self, github_client_id: Option<String>)
src/main.rs:566
↓ 1 callersMethodgithub_client_secret
(mut self, github_client_secret: Option<String>)
src/main.rs:561
↓ 1 callersMethodgoogle_client_id
(mut self, google_client_id: Option<String>)
src/main.rs:576
↓ 1 callersMethodgoogle_client_secret
(mut self, google_client_secret: Option<String>)
src/main.rs:571
↓ 1 callersFunctionhas_finish_reason
Helper to check if a streaming chunk has a finish_reason This indicates it's the final chunk in the stream
src/web/openai.rs:1117
↓ 1 callersFunctionhas_streamed_tool_call_entries
(tool_call_delta: &Value)
src/web/responses/handlers.rs:271
↓ 1 callersFunctionheaderSkipSet
(src http.Header)
tinfoil-proxy/main.go:84
↓ 1 callersFunctionimage_part_url
(part: &Value)
src/web/openai.rs:338
↓ 1 callersFunctioninsert_copied_attacker_reset_request_for_victim
( app_state: &AppState, project_id: i32, attacker: &User, victim: &User, reset_code: &str,
src/aead_db_tamper_tests.rs:1500
↓ 1 callersFunctioninsert_response_storage_stack_for_user
(app_state: &AppState, user_id: Uuid)
src/aead_db_tamper_tests.rs:1155
↓ 1 callersFunctionis_default_openai_domain
(domain: &str)
src/main.rs:2388
↓ 1 callersMethodis_enabled
(&self, user_uuid: Uuid, key: &str)
src/os_flags.rs:189
↓ 1 callersFunctionis_terminal_stream_chunk
(json: &Value)
src/web/openai.rs:1131
↓ 1 callersFunctionis_tool_choice_allowed
Helper function to check if tool_choice allows tool execution Returns false if tool_choice is explicitly set to "none", true otherwise
src/web/responses/handlers.rs:2111
↓ 1 callersFunctionis_web_search_enabled
Helper function to check if web_search tool is enabled in the request Returns true if the tools array contains an object with type="web_search"
src/web/responses/handlers.rs:2118
↓ 1 callersFunctionlist
( pool: &diesel::r2d2::Pool<diesel::r2d2::ConnectionManager<PgConnection>>, user_id: Uuid, user_se
src/kv.rs:133
↓ 1 callersMethodlist_conversation_projects
( &self, user_id: Uuid, limit: i64, after: Option<Uuid>, order: &str,
src/db.rs:2292
↓ 1 callersMethodlist_conversations
( &self, user_id: Uuid, limit: i64, after: Option<Uuid>, order: &str,
src/db.rs:2278
↓ 1 callersMethodlist_user_instructions
( &self, user_id: Uuid, limit: i64, after: Option<Uuid>, order: &str,
src/db.rs:2686
↓ 1 callersFunctionlogin_internal_platform
( data: Arc<AppState>, login_request: PlatformLoginRequest, )
src/web/platform/login_routes.rs:209
↓ 1 callersFunctionmain
* Main verification function
pcr_verify.js:71
↓ 1 callersFunctionmain
* Main function to handle CLI commands
pcr_sign.js:106
↓ 1 callersMethodmark_and_delete_user
( &self, user: &User, deletion_request: &AccountDeletionRequest, )
src/db.rs:2139
↓ 1 callersMethodmark_platform_password_reset_as_complete
( &self, request: &PlatformPasswordResetRequest, )
src/db.rs:2001
↓ 1 callersFunctionmigrate_maple_project_settings
( app_state: &Arc<AppState>, github_client_secret: Option<String>, google_client_secret: Option<St
src/migrations.rs:31
↓ 1 callersFunctionmodel_context_window
(model: &str)
src/model_config.rs:476
↓ 1 callersFunctionmodel_entry
(model: &str)
src/model_config.rs:438
↓ 1 callersFunctionmodel_uses_kimi_tool_call_ids
(model: &str)
src/web/responses/context_builder.rs:791
↓ 1 callersFunctionnewProxyServer
()
tinfoil-proxy/main.go:42
↓ 1 callersFunctionnext_assistant_message_id
(next_message_id: &mut Option<Uuid>)
src/web/responses/handlers.rs:2299
↓ 1 callersMethodnormalize
Normalize any input format to our standard format: always MessageContent::Parts Also validates that unsupported features are not used (e.g., file_id
src/web/responses/handlers.rs:728
↓ 1 callersFunctionnormalize_email_login_identifier
(email: &str)
src/seed_wrapping.rs:57
↓ 1 callersFunctionnormalize_keys
(keys: Option<&[&str]>)
src/os_flags.rs:221
↓ 1 callersFunctionnormalize_tool_call_ids_for_kimi
(messages: &mut [Value])
src/web/responses/context_builder.rs:795
↓ 1 callersMethodopenai_api_key
(mut self, openai_api_key: Option<String>)
src/main.rs:536
↓ 1 callersMethodopenai_model_json
(self)
src/model_config.rs:239
↓ 1 callersMethodos_flags_api_key
(mut self, os_flags_api_key: Option<String>)
src/main.rs:619
↓ 1 callersMethodos_flags_base_url
(mut self, os_flags_base_url: Option<String>)
src/main.rs:614
↓ 1 callersFunctionperform_maple_settings_migration
( app_state: &Arc<AppState>, maple_id: i32, github_client_secret: Option<String>, google_clien
src/migrations.rs:71
↓ 1 callersFunctionpersist_request_data
Phase 3: Persist request data Writes to database after all validation and billing checks have passed. Database operations: - Creates Response record
src/web/responses/handlers.rs:2008
↓ 1 callersFunctionpersist_tool_call
( db: &Arc<dyn DBConnection + Send + Sync>, user_key: &SecretKey, conversation_id: i64, respon
src/web/responses/storage.rs:185
↓ 1 callersFunctionpersist_tool_output
( db: &Arc<dyn DBConnection + Send + Sync>, user_key: &SecretKey, conversation_id: i64, respon
src/web/responses/storage.rs:216
↓ 1 callersMethodproject_id
Set the project UUID if the conversation is assigned to a project
src/web/responses/builders.rs:277
↓ 1 callersMethodprovider_config
(&self, provider: ProviderName)
src/provider_routing.rs:332
↓ 1 callersMethodprovider_routing_preference
( &self, user_uuid: Uuid, requested_model: &str, )
src/main.rs:802
↓ 1 callersMethodproxy
(c *gin.Context, path string)
tinfoil-proxy/main.go:173
↓ 1 callersFunctionproxy_for_provider
(proxy_router: &ProxyRouter, provider: ProviderName)
src/provider_routing.rs:392
↓ 1 callersMethodpublish_event
(&self, event: UsageEvent)
src/sqs.rs:202
↓ 1 callersMethodpush_tool_call
(&mut self, item_id: Uuid, name: String, arguments: Value)
src/web/responses/handlers.rs:1450
↓ 1 callersMethodpush_tool_output
(&mut self, item_id: Uuid, call_id: Uuid, output: String)
src/web/responses/handlers.rs:1463
↓ 1 callersMethodrecord_assistant_tool_calls
( &mut self, tool_calls: Option<&Value>, tool_call_ids: &mut HashSet<String>, )
src/web/openai.rs:271
↓ 1 callersMethodrecord_content
(&mut self, content: Option<&Value>)
src/web/openai.rs:224
↓ 1 callersMethodrecord_content_part
(&mut self, part: &Value)
src/web/openai.rs:252
↓ 1 callersMethodrefresh_jwks
Fetch fresh keys from Apple's JWKS endpoint
src/apple_signin.rs:236
← previousnext →401–500 of 1,278, ranked by callers