MCPcopy Create free account

hub / github.com/Xuanwo/luban / functions

Functions2,094 in github.com/Xuanwo/luban

↓ 392 callersMethodpush
(&mut self, chunk: Bytes)
crates/luban_server/src/pty.rs:133
↓ 299 callersMethodapply
(&mut self, action: Action)
crates/luban_domain/src/reducer.rs:298
↓ 124 callersMethodas_str
(self)
crates/luban_domain/src/state/task.rs:15
↓ 120 callersFunctioncn
(...inputs: ClassValue[])
web/lib/utils.ts:4
↓ 93 callersMethodnext
(&mut self)
crates/luban_backend/src/services/codex_bin.rs:51
↓ 86 callersFunctionunixSeconds
(offsetSeconds: number = 0)
web/lib/mock/fixtures.ts:77
↓ 80 callersMethodset
(key: &'static str, value: impl AsRef<OsStr>)
crates/luban_backend/src/test_support.rs:9
↓ 68 callersMethodas_u64
(self)
crates/luban_domain/src/state/ids.rs:5
↓ 44 callersMethodlock
(keys: Vec<&'static str>)
crates/luban_server/src/lib.rs:133
↓ 43 callersFunctionagentActivity
(kind: AgentItemKind, payload: unknown)
web/lib/mock/fixtures.ts:138
↓ 39 callersFunctionassert_git_success
(repo_path: &Path, args: &[&str])
crates/luban_backend/src/services/test_support.rs:27
↓ 39 callersFunctionnewEntryId
(prefix: string)
web/lib/mock/fixtures.ts:116
↓ 39 callersFunctionnextEntryCreatedAtUnixMs
(stepMs: number = 250)
web/lib/mock/fixtures.ts:72
↓ 39 callersMethodprocess_action_queue
(&mut self, initial: Action)
crates/luban_server/src/engine.rs:2912
↓ 38 callersFunctionclone
(value: T)
web/lib/mock/mock-runtime.ts:71
↓ 38 callersFunctionsleep
(ms)
web/tests/ui/lib/utils.mjs:1
↓ 38 callersFunctiontemp_dir
(prefix: &str)
crates/luban_backend/src/services/codex_cli.rs:359
↓ 35 callersMethodworkspace_thread_conversation
( &self, workspace_id: WorkspaceId, thread_id: WorkspaceThreadId, )
crates/luban_domain/src/reducer.rs:2699
↓ 34 callersFunctionsystemEvent
(args: { id: string createdAtUnixMs: number event: | { event_type: "task_created" } | { event_ty
web/lib/mock/fixtures.ts:196
↓ 34 callersFunctionunixMs
(offsetMs: number = 0)
web/lib/mock/fixtures.ts:68
↓ 30 callersMethodappend_conversation_entries
( &self, project_slug: String, workspace_name: String, thread_id: u64,
crates/luban_backend/src/services.rs:888
↓ 30 callersFunctionworkspace_id_by_name
(state: &AppState, name: &str)
crates/luban_domain/src/reducer.rs:3148
↓ 29 callersFunctionuserMessage
(text: string)
web/lib/mock/fixtures.ts:120
↓ 28 callersMethodapp_snapshot
(&self)
crates/luban_server/src/engine.rs:44
↓ 28 callersFunctiondefault_thread_id
()
crates/luban_domain/src/reducer.rs:3130
↓ 28 callersFunctionisMockMode
()
web/lib/luban-mode.ts:14
↓ 28 callersMethodsend_message
( &self, chat_id: i64, message_thread_id: Option<i64>, text: &str, rep
crates/luban_server/src/telegram.rs:1945
↓ 26 callersMethodensure_conversation
( &self, project_slug: String, workspace_name: String, thread_local_id: u64,
crates/luban_backend/src/sqlite_store.rs:993
↓ 25 callersFunctionunixMsToIso
(unixMs: unknown)
web/lib/conversation-ui.ts:486
↓ 24 callersMethodremove
(key: &'static str)
crates/luban_backend/src/test_support.rs:17
↓ 24 callersFunctionunix_epoch_nanos_now
()
crates/luban_backend/src/time.rs:10
↓ 23 callersMethodfile_name
(self)
crates/luban_domain/src/adapters.rs:296
↓ 23 callersFunctiongetRuntime
()
web/lib/mock/mock-runtime.ts:196
↓ 23 callersFunctionresolveCssColor
(scope: Element, name: string, fallback: { r: number; g: number; b: number })
web/components/pty-terminal.tsx:242
↓ 22 callersFunctionconversationBase
(args: { workdirId: WorkspaceId taskId: WorkspaceThreadId title: string runner?: AgentRunnerKind run
web/lib/mock/fixtures.ts:236
↓ 22 callersFunctionkey
(workdirId: WorkspaceId, taskId: WorkspaceThreadId)
web/lib/mock/fixtures.ts:112
↓ 22 callersMethodworkspace_conversation
( &self, workspace_id: WorkspaceId, )
crates/luban_domain/src/reducer.rs:2691
↓ 22 callersMethodworkspace_tabs
(&self, workspace_id: WorkspaceId)
crates/luban_domain/src/reducer.rs:2707
↓ 21 callersFunctionemitAppChanged
(args: { state: RuntimeState; onEvent: (event: ServerEvent) => void })
web/lib/mock/mock-runtime.ts:227
↓ 21 callersMethodensure_conversation_mut
( &mut self, workspace_id: WorkspaceId, thread_id: WorkspaceThreadId, )
crates/luban_domain/src/reducer.rs:2732
↓ 21 callersFunctionopen_db
(path: &Path)
crates/luban_backend/src/sqlite_store.rs:5080
↓ 21 callersMethodworkspace
(&self, workspace_id: WorkspaceId)
crates/luban_domain/src/reducer.rs:2684
↓ 20 callersMethodremove
(&self, key: &'static str)
crates/luban_server/src/lib.rs:150
↓ 20 callersFunctiontemp_db_path
(test_name: &str)
crates/luban_backend/src/sqlite_store.rs:5068
↓ 20 callersFunctionuseLuban
()
web/lib/luban-context.tsx:486
↓ 19 callersFunctionconversations_root
(luban_root: &Path)
crates/luban_domain/src/paths.rs:20
↓ 19 callersFunctionfirst_non_main_workspace_id
(state: &AppState)
crates/luban_domain/src/reducer.rs:3157
↓ 19 callersFunctionrgbToHex
(rgb: { r: number; g: number; b: number })
web/components/pty-terminal.tsx:261
↓ 19 callersFunctionsqlite_path
(luban_root: &Path)
crates/luban_domain/src/paths.rs:24
↓ 19 callersFunctionworkspace_scope
(state: &AppState, workspace_id: WorkspaceId)
crates/luban_server/src/engine.rs:5293
↓ 18 callersFunctionagentMessage
(text: string)
web/lib/mock/fixtures.ts:129
↓ 18 callersMethodensure_workspace_tabs_mut
(&mut self, workspace_id: WorkspaceId)
crates/luban_domain/src/reducer.rs:2723
↓ 18 callersFunctionlock_env_for_tests
()
crates/luban_backend/src/env.rs:11
↓ 18 callersFunctionrecv_ws_msg
( socket: &mut tokio_tungstenite::WebSocketStream< tokio_tungstenite::MaybeTlsStream<tokio::net::T
crates/luban_server/tests/contracts_http.rs:55
↓ 18 callersFunctiontask_prompts_root
(luban_root: &Path)
crates/luban_domain/src/paths.rs:28
↓ 18 callersFunctionworktrees_root
(luban_root: &Path)
crates/luban_domain/src/paths.rs:12
↓ 17 callersMethodparse
(raw: &str)
crates/luban_domain/src/state/appearance.rs:18
↓ 17 callersFunctionwaitForDataAttribute
(locator, attr, expected, timeoutMs)
web/tests/ui/lib/utils.mjs:19
↓ 16 callersFunctionworkdirTaskKey
(workdirId: WorkspaceId, taskId: WorkspaceThreadId)
web/lib/mock/mock-runtime.ts:76
↓ 15 callersFunctionlock_env
()
crates/luban_backend/src/services/test_support.rs:9
↓ 15 callersFunctionnow_unix_seconds
()
crates/luban_backend/src/sqlite_store.rs:4946
↓ 15 callersFunctionparse_droid_stream_json_line
Parse a single JSONL line from Droid's `--output-format stream-json` output. Droid emits these event types: - `system`: session info (may contain ses
crates/luban_backend/src/services/droid_cli.rs:136
↓ 15 callersMethodrun_git
(&self, repo_path: &Path, args: I)
crates/luban_backend/src/services/git.rs:16
↓ 14 callersMethodappend_conversation_entries
( &self, project_slug: String, workspace_name: String, thread_local_id: u64,
crates/luban_backend/src/sqlite_store.rs:1081
↓ 13 callersFunctionenv_var_opt
(key: &str)
dev/src/main.rs:72
↓ 13 callersFunctionnormalize_thinking_effort
(model_id: &str, effort: ThinkingEffort)
crates/luban_domain/src/agent_settings.rs:410
↓ 13 callersMethodpush_entry
(&mut self, entry: ConversationEntry)
crates/luban_domain/src/state/conversation.rs:357
↓ 13 callersMethodto_persisted
(&self)
crates/luban_domain/src/reducer.rs:2676
↓ 12 callersFunctionclose
()
web/components/shared/agent-selector.tsx:107
↓ 12 callersFunctioninline_keyboard
(rows: Vec<Vec<InlineButton>>)
crates/luban_server/src/telegram.rs:2386
↓ 12 callersMethodload_conversation
( &self, project_slug: String, workspace_name: String, thread_local_id: u64,
crates/luban_backend/src/sqlite_store.rs:1143
↓ 12 callersFunctionwaitForLocatorCount
(locator, expected, timeoutMs = 20_000)
web/tests/ui/scenarios/inbox-read.mjs:3
↓ 11 callersFunctionderive_thread_title
(text: &str)
crates/luban_domain/src/reducer/title.rs:1
↓ 11 callersMethodlist_conversation_threads
( &self, _project_slug: String, _workspace_name: String, )
crates/luban_server/src/engine.rs:6722
↓ 11 callersFunctionop
(value: OperationStatus)
web/lib/mock/fixtures.ts:90
↓ 11 callersMethodsave_app_state
(&self, snapshot: PersistedAppState)
crates/luban_backend/src/sqlite_store.rs:955
↓ 11 callersFunctionwriteMockPrompt
()
web/components/pty-terminal.tsx:648
↓ 10 callersMethodactive_thread_id
(&self, workspace_id: WorkspaceId)
crates/luban_domain/src/reducer.rs:2711
↓ 10 callersMethodconversation_snapshot
( &self, workspace_id: luban_api::WorkspaceId, thread_id: luban_api::WorkspaceThreadId
crates/luban_server/src/engine.rs:68
↓ 10 callersMethodlist_conversation_threads
( &self, project_slug: String, workspace_name: String, )
crates/luban_backend/src/sqlite_store.rs:1065
↓ 10 callersFunctionnormalizePathLike
(raw: string)
web/components/new-task-modal.tsx:75
↓ 10 callersFunctionnormalizeUnixMs
(unixMs: unknown)
web/lib/conversation-ui.ts:386
↓ 10 callersFunctionrestore_env
(name: &str, prev: Option<std::ffi::OsString>)
crates/luban_backend/src/services/roots.rs:103
↓ 9 callersFunctionemitConversationChanged
(args: { state: RuntimeState; workdirId: WorkspaceId; taskId: WorkspaceThreadId; onEvent: (event: ServerEvent)
web/lib/mock/mock-runtime.ts:264
↓ 9 callersFunctionemitTaskSummariesChanged
(args: { state: RuntimeState; workdirId: WorkspaceId; onEvent: (event: ServerEvent) => void })
web/lib/mock/mock-runtime.ts:238
↓ 9 callersMethodhandle
(&mut self, cmd: EngineCommand)
crates/luban_server/src/engine.rs:986
↓ 9 callersFunctionhome_dir
()
crates/luban_backend/src/env.rs:18
↓ 9 callersMethodset_conversation_thread_id
( &self, project_slug: String, workspace_name: String, thread_local_id: u64,
crates/luban_backend/src/sqlite_store.rs:1045
↓ 9 callersMethodset_last_error
(&self, message: String)
crates/luban_server/src/telegram.rs:2148
↓ 9 callersFunctiontruncate_label
(raw: &str, max_chars: usize)
crates/luban_server/src/telegram.rs:2492
↓ 8 callersFunctionagentTurnDuration
(durationMs: number)
web/lib/mock/fixtures.ts:147
↓ 8 callersFunctionclearGoPrefix
()
web/components/global-sequence-shortcuts.tsx:50
↓ 8 callersFunctioncodex_item_id
(item: &CodexThreadItem)
crates/luban_backend/src/services/codex_thread.rs:12
↓ 8 callersFunctionenv_var
(key: &str)
dev/src/main.rs:68
↓ 8 callersFunctionextract_string_field
(value: &Value, keys: &[&str])
crates/luban_backend/src/services/stream_json.rs:31
↓ 8 callersMethodfind_workspace_indices
(&self, workspace_id: WorkspaceId)
crates/luban_domain/src/reducer.rs:3019
↓ 8 callersFunctionjson_text
(value: &T)
crates/luban_server/src/server.rs:1097
↓ 8 callersMethodload_conversation_page
( &self, project_slug: String, workspace_name: String, thread_local_id: u64,
crates/luban_backend/src/sqlite_store.rs:1161
↓ 8 callersFunctionparse_strict_relative_file_path
(path: &str)
crates/luban_backend/src/services/config_path.rs:47
↓ 8 callersFunctionrun_git
(dir: &PathBuf, args: &[&str])
crates/luban_server/tests/contracts_http.rs:72
next →1–100 of 2,094, ranked by callers