Skip to content

Commit 0e00ef5

Browse files
committed
feat: coordinate concurrent CBM sessions
Signed-off-by: Martin Vogel <[email protected]>
1 parent a688d85 commit 0e00ef5

112 files changed

Lines changed: 63114 additions & 2241 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Makefile.cbm‎

Lines changed: 49 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ CXXFLAGS_TSAN = $(CXXFLAGS_COMMON) -g -O1 \
7878

7979
# Windows needs ws2_32 (Winsock), psapi (GetProcessMemoryInfo), shell32
8080
# (CommandLineToArgvW — the UTF-8 argv path in main.c, #423/#20), and
81+
# advapi32 (owner-only activation-candidate ACLs), plus
8182
# --allow-multiple-definition (MinGW CRT symbol clashes).
8283
# Auto-detected via compiler; no manual override needed.
8384
IS_MINGW := $(shell echo | $(CC) -dM -E - 2>/dev/null | grep -q 'define _WIN32 ' && echo yes || echo no)
8485
WIN32_LIBS :=
8586
ifeq ($(IS_MINGW),yes)
86-
WIN32_LIBS := -lws2_32 -lpsapi -lshell32 -Wl,--allow-multiple-definition -Wl,--stack,8388608 -static
87+
WIN32_LIBS := -lws2_32 -lpsapi -lshell32 -ladvapi32 -Wl,--allow-multiple-definition -Wl,--stack,8388608 -static
8788
endif
8889

8990
# STATIC=1 produces a fully static binary (for Alpine/musl portable builds)
@@ -117,7 +118,10 @@ FOUNDATION_SRCS = \
117118
src/foundation/dump_verify.c \
118119
src/foundation/limits.c \
119120
src/foundation/subprocess.c \
120-
src/foundation/sha256.c
121+
src/foundation/sha256.c \
122+
src/foundation/macos_acl.c \
123+
src/foundation/private_file_lock.c \
124+
src/foundation/lock_registry.c
121125

122126
# Existing extraction C code (compiled from current location)
123127
EXTRACTION_SRCS = \
@@ -181,6 +185,19 @@ CYPHER_SRCS = src/cypher/cypher.c
181185
# MCP server module (new)
182186
MCP_SRCS = src/mcp/mcp.c src/mcp/index_supervisor.c src/mcp/compact_out.c
183187

188+
# Shared MCP daemon coordination and local transport
189+
DAEMON_SRCS = \
190+
src/daemon/daemon.c \
191+
src/daemon/project_lock.c \
192+
src/daemon/version_cohort.c \
193+
src/daemon/service.c \
194+
src/daemon/runtime.c \
195+
src/daemon/application.c \
196+
src/daemon/frontend.c \
197+
src/daemon/host.c \
198+
src/daemon/bootstrap.c \
199+
src/daemon/ipc.c
200+
184201
# Discover module (new)
185202
DISCOVER_SRCS = \
186203
src/discover/language.c \
@@ -245,7 +262,7 @@ GIT_SRCS = src/git/git_context.c
245262
CLI_SRCS = src/cli/cli.c src/cli/progress_sink.c src/cli/hook_augment.c \
246263
src/cli/agent_clients.c src/cli/agent_profiles.c \
247264
src/cli/config_json_like.c src/cli/config_toml_edit.c src/cli/config_yaml_edit.c \
248-
src/cli/config_text_edit.c
265+
src/cli/config_text_edit.c src/cli/activation_transaction.c
249266

250267
# UI module (graph visualization)
251268
UI_SRCS = \
@@ -304,7 +321,7 @@ TRE_CFLAGS = -std=c11 -g -O1 -w -Ivendored/tre
304321
YYJSON_SRC = vendored/yyjson/yyjson.c
305322

306323
# All production sources
307-
PROD_SRCS = $(FOUNDATION_SRCS) $(STORE_SRCS) $(CYPHER_SRCS) $(MCP_SRCS) $(DISCOVER_SRCS) $(GRAPH_BUFFER_SRCS) $(PIPELINE_SRCS) $(SIMHASH_SRCS) $(SEMANTIC_SRCS) $(TRACES_SRCS) $(WATCHER_SRCS) $(GIT_SRCS) $(CLI_SRCS) $(UI_SRCS) $(YYJSON_SRC)
324+
PROD_SRCS = $(FOUNDATION_SRCS) $(STORE_SRCS) $(CYPHER_SRCS) $(MCP_SRCS) $(DAEMON_SRCS) $(DISCOVER_SRCS) $(GRAPH_BUFFER_SRCS) $(PIPELINE_SRCS) $(SIMHASH_SRCS) $(SEMANTIC_SRCS) $(TRACES_SRCS) $(WATCHER_SRCS) $(GIT_SRCS) $(CLI_SRCS) $(UI_SRCS) $(YYJSON_SRC)
308325
EXISTING_C_SRCS = $(EXTRACTION_SRCS) $(LSP_SRCS) $(TS_RUNTIME_SRC) \
309326
$(GRAMMAR_SRCS) $(AC_LZ4_SRCS) $(ZSTD_SRCS) $(SQLITE_WRITER_SRC)
310327

@@ -320,7 +337,9 @@ TEST_FOUNDATION_SRCS = \
320337
tests/test_str_util.c \
321338
tests/test_platform.c \
322339
tests/test_dump_verify.c \
323-
tests/test_subprocess.c
340+
tests/test_subprocess.c \
341+
tests/test_private_file_lock.c \
342+
tests/test_lock_registry.c
324343

325344
TEST_EXTRACTION_SRCS = \
326345
tests/test_extraction.c \
@@ -346,7 +365,19 @@ TEST_CYPHER_SRCS = \
346365
tests/test_cypher.c
347366

348367
TEST_MCP_SRCS = \
349-
tests/test_mcp.c
368+
tests/test_mcp.c \
369+
tests/test_index_supervisor.c
370+
371+
TEST_DAEMON_SRCS = \
372+
tests/test_daemon.c \
373+
tests/test_project_lock.c \
374+
tests/test_version_cohort.c \
375+
tests/test_daemon_version.c \
376+
tests/test_daemon_runtime.c \
377+
tests/test_daemon_application.c \
378+
tests/test_daemon_frontend.c \
379+
tests/test_daemon_bootstrap.c \
380+
tests/test_daemon_ipc.c
350381

351382
TEST_DISCOVER_SRCS = \
352383
tests/test_language.c \
@@ -357,7 +388,7 @@ TEST_DISCOVER_SRCS = \
357388

358389
TEST_GRAPH_BUFFER_SRCS = tests/test_graph_buffer.c
359390

360-
TEST_PIPELINE_SRCS = tests/test_registry.c tests/test_pipeline.c tests/test_fqn.c tests/test_route_canon.c tests/test_path_alias.c tests/test_configlink.c tests/test_infrascan.c tests/test_worker_pool.c tests/test_parallel.c tests/test_index_resilience.c
391+
TEST_PIPELINE_SRCS = tests/test_registry.c tests/test_pipeline.c tests/test_cross_repo.c tests/test_fqn.c tests/test_route_canon.c tests/test_path_alias.c tests/test_configlink.c tests/test_infrascan.c tests/test_worker_pool.c tests/test_parallel.c tests/test_index_resilience.c
361392

362393
TEST_WATCHER_SRCS = tests/test_watcher.c
363394

@@ -403,7 +434,8 @@ TEST_TRACES_SRCS = tests/test_traces.c
403434

404435
TEST_CLI_SRCS = tests/test_cli.c tests/test_agent_clients.c tests/test_agent_profiles.c \
405436
tests/test_config_json_like.c \
406-
tests/test_config_toml_edit.c tests/test_config_yaml_edit.c tests/test_config_text_edit.c
437+
tests/test_config_toml_edit.c tests/test_config_yaml_edit.c tests/test_config_text_edit.c \
438+
tests/test_activation_transaction.c
407439

408440
TEST_MEM_SRCS = tests/test_mem.c
409441

@@ -485,7 +517,7 @@ TEST_REPRO_SRCS = \
485517
tests/repro/repro_lsp_java_cs.c \
486518
tests/repro/repro_lsp_kt_php_rust.c
487519

488-
ALL_TEST_SRCS =$(TEST_FOUNDATION_SRCS) $(TEST_EXTRACTION_SRCS) $(TEST_STORE_SRCS) $(TEST_CYPHER_SRCS) $(TEST_MCP_SRCS) $(TEST_DISCOVER_SRCS) $(TEST_GRAPH_BUFFER_SRCS) $(TEST_PIPELINE_SRCS) $(TEST_WATCHER_SRCS) $(TEST_LZ4_SRCS) $(TEST_ZSTD_SRCS) $(TEST_ARTIFACT_SRCS) $(TEST_SQLITE_WRITER_SRCS) $(TEST_GO_LSP_SRCS) $(TEST_C_LSP_SRCS) $(TEST_PHP_LSP_SRCS) $(TEST_CS_LSP_SRCS) $(TEST_CS_LSP_BENCH_SRCS) $(TEST_PERL_LSP_SRCS) $(TEST_SCOPE_SRCS) $(TEST_TYPE_REP_SRCS) $(TEST_PY_LSP_SRCS) $(TEST_PY_LSP_BENCH_SRCS) $(TEST_PY_LSP_STRESS_SRCS) $(TEST_PY_LSP_SCALE_SRCS) $(TEST_TS_LSP_SRCS) $(TEST_JAVA_LSP_SRCS) $(TEST_KOTLIN_LSP_SRCS) $(TEST_RUST_LSP_SRCS) $(TEST_TRACES_SRCS) $(TEST_CLI_SRCS) $(TEST_MEM_SRCS) $(TEST_UI_SRCS) $(TEST_HTTPD_SRCS) $(TEST_SECURITY_SRCS) $(TEST_YAML_SRCS) $(TEST_SEMANTIC_SRCS) $(TEST_AST_PROFILE_SRCS) $(TEST_SLAB_ALLOC_SRCS) $(TEST_SIMHASH_SRCS) $(TEST_STACK_OVERFLOW_SRCS) $(TEST_INTEGRATION_SRCS)
520+
ALL_TEST_SRCS =$(TEST_FOUNDATION_SRCS) $(TEST_EXTRACTION_SRCS) $(TEST_STORE_SRCS) $(TEST_CYPHER_SRCS) $(TEST_MCP_SRCS) $(TEST_DAEMON_SRCS) $(TEST_DISCOVER_SRCS) $(TEST_GRAPH_BUFFER_SRCS) $(TEST_PIPELINE_SRCS) $(TEST_WATCHER_SRCS) $(TEST_LZ4_SRCS) $(TEST_ZSTD_SRCS) $(TEST_ARTIFACT_SRCS) $(TEST_SQLITE_WRITER_SRCS) $(TEST_GO_LSP_SRCS) $(TEST_C_LSP_SRCS) $(TEST_PHP_LSP_SRCS) $(TEST_CS_LSP_SRCS) $(TEST_CS_LSP_BENCH_SRCS) $(TEST_PERL_LSP_SRCS) $(TEST_SCOPE_SRCS) $(TEST_TYPE_REP_SRCS) $(TEST_PY_LSP_SRCS) $(TEST_PY_LSP_BENCH_SRCS) $(TEST_PY_LSP_STRESS_SRCS) $(TEST_PY_LSP_SCALE_SRCS) $(TEST_TS_LSP_SRCS) $(TEST_JAVA_LSP_SRCS) $(TEST_KOTLIN_LSP_SRCS) $(TEST_RUST_LSP_SRCS) $(TEST_TRACES_SRCS) $(TEST_CLI_SRCS) $(TEST_MEM_SRCS) $(TEST_UI_SRCS) $(TEST_HTTPD_SRCS) $(TEST_SECURITY_SRCS) $(TEST_YAML_SRCS) $(TEST_SEMANTIC_SRCS) $(TEST_AST_PROFILE_SRCS) $(TEST_SLAB_ALLOC_SRCS) $(TEST_SIMHASH_SRCS) $(TEST_STACK_OVERFLOW_SRCS) $(TEST_INTEGRATION_SRCS)
489521

490522

491523
# ── Build directories ────────────────────────────────────────────
@@ -513,7 +545,7 @@ PP_OBJ_TSAN = $(BUILD_DIR)/tsan_preprocessor.o
513545

514546
# ── Targets ──────────────────────────────────────────────────────
515547

516-
.PHONY: test test-repro test-foundation test-tsan cbm cbm-with-ui frontend embed clean-c lint lint-tidy lint-cppcheck lint-format security
548+
.PHONY: test test-repro test-foundation test-tsan test-daemon-smoke cbm cbm-with-ui frontend embed clean-c lint lint-tidy lint-cppcheck lint-format security
517549

518550
$(BUILD_DIR):
519551
mkdir -p $(BUILD_DIR)
@@ -676,6 +708,12 @@ $(BUILD_DIR)/test-runner-tsan: $(ALL_TEST_SRCS) $(PROD_SRCS) $(EXTRACTION_SRCS)
676708
test-tsan: $(BUILD_DIR)/test-runner-tsan
677709
cd $(CURDIR) && TSAN_OPTIONS="$(TSAN_OPTIONS)" $(BUILD_DIR)/test-runner-tsan $(TEST_TSAN_SUITES)
678710

711+
# Real-binary POSIX lifecycle smoke. The endpoint is deliberately account-wide;
712+
# an explicit Make invocation requires a clean rendezvous and fails rather than
713+
# silently skipping an occupied one. Deterministic C tests cover Windows IPC.
714+
test-daemon-smoke: $(BUILD_DIR)/codebase-memory-mcp
715+
cd $(CURDIR) && CBM_DAEMON_SMOKE_REQUIRE_RUN=1 python3 tests/test_daemon_smoke.py $(BUILD_DIR)/codebase-memory-mcp
716+
679717
# ── Production binary ────────────────────────────────────────────
680718

681719
# Grammar/TS/LSP objects for production (compiled with relaxed warnings, -O2)
@@ -763,7 +801,7 @@ SYSROOT = $(shell xcrun --show-sdk-path 2>/dev/null)
763801
SYSROOT_FLAG = $(if $(SYSROOT),-isysroot $(SYSROOT),)
764802

765803
# Our source files (excluding vendored, grammars, tree-sitter runtime)
766-
LINT_SRCS = $(FOUNDATION_SRCS) $(STORE_SRCS) $(CYPHER_SRCS) $(MCP_SRCS) \
804+
LINT_SRCS = $(FOUNDATION_SRCS) $(STORE_SRCS) $(CYPHER_SRCS) $(MCP_SRCS) $(DAEMON_SRCS) \
767805
$(DISCOVER_SRCS) $(GRAPH_BUFFER_SRCS) $(PIPELINE_SRCS) $(SIMHASH_SRCS) $(SEMANTIC_SRCS) \
768806
$(TRACES_SRCS) $(WATCHER_SRCS) $(CLI_SRCS) $(EXTRACTION_SRCS) $(AC_LZ4_SRCS) \
769807
$(ZSTD_SRCS) $(SQLITE_WRITER_SRC) $(MAIN_SRC)

‎README.md‎

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,18 @@ The `install` command automatically strips macOS quarantine attributes and ad-ho
102102

103103
The `install` command auto-detects installed coding agents and configures their documented MCP entries plus durable instructions, skills, and lifecycle hooks where supported.
104104

105+
### Session Coordination Daemon
106+
107+
CBM automatically shares one per-account coordination daemon across Claude Code, Codex, OpenCode, and every other configured client. There is no opt-in setting for MCP servers or hook clients: the first daemon-backed CBM session starts it, each session registers its own work, and the final session shuts it down. The daemon owns long-lived background services such as watchers, shared indexing jobs, and the optional UI. Closing one session cancels work owned only by that session, while work still needed by another session continues.
108+
109+
All active CBM processes must run the exact same version, executable build, and coordination ABI. MCP servers, hooks, one-shot CLI commands, temporary index workers, and the daemon share a crash-safe OS admission barrier; starting an ordinary newer or older CBM process while another build is active fails before doing work and records an explicit conflict in `daemon-conflicts.ndjson` in the private log directory.
110+
111+
The native `install`, `update`, and `uninstall` commands are the deliberate exception to that conflict rule. Download, verification, and private same-filesystem staging happen first so a bad candidate never disrupts active work. Activation then publishes account-wide maintenance intent, asks the daemon and every temporary local operation to cancel, and waits to a finite deadline for all coordinated CBM processes to exit. It holds the admission and lifetime barriers exclusively while changing the active binary, configuration, PATH, or indexes. New CBM work cannot enter during this window. Activation progress and results are recorded in the private `activation-events.ndjson` log, and a successful command tells you to restart open coding-agent sessions so they launch the activated build.
112+
113+
Package-manager setup (npm, PyPI, or Go) only verifies and atomically publishes that package's private cached binary; it does not replace the active native installation and therefore does not stop running CBM sessions. When that cached binary is executed, it still enters the same exact-build admission barrier. The shell and PowerShell installers invoke the verified candidate's native `install` command, so they do receive the full account-wide activation guarantee.
114+
115+
The ordinary `cli` mode is intentionally separate: it runs one command locally and never starts or connects to the coordination daemon, registers a daemon session, or starts watchers/UI. Its only shared state is the OS admission barrier plus per-project locks for graph mutations. While the command is running, a temporary monitor lets activation cancel that operation and its supervised worker safely; the monitor exits with the command and never becomes a standing daemon. See [CLI Mode](#cli-mode) for details.
116+
105117
### Graph Visualization UI
106118

107119
The UI ships as a separate `ui` build (it embeds the frontend). The default install on every channel is the lean, headless server; opt into the UI build with:
@@ -117,7 +129,7 @@ Then run it:
117129
codebase-memory-mcp --ui=true --port=9749
118130
```
119131

120-
Open `http://localhost:9749` in your browser. The UI runs as a background thread alongside the MCP server — it's available whenever your agent is connected.
132+
Open `http://localhost:9749` in your browser. The UI is owned by the shared coordination daemon, so concurrent agent sessions do not start duplicate HTTP servers.
121133

122134
### Auto-Index
123135

@@ -521,19 +533,30 @@ no longer a suitable automatic global target.
521533

522534
## CLI Mode
523535

524-
Every MCP tool can be invoked from the command line:
536+
Every MCP tool can be invoked as a local, one-shot command. CLI tools neither start nor connect to the coordination daemon and leave no standing process behind. They hold a crash-safe exact-build admission lease only for the command lifetime. `index_repository` is the only exception internally: it starts a temporary, exact-build supervised worker for the index, then stops that worker before the CLI command exits; the worker holds its own lease until exit.
537+
538+
Commands that mutate graph data use shared OS-backed, per-project locks. This serializes conflicting work from CLI and MCP sessions on the same project while allowing unrelated projects to proceed independently.
539+
540+
When stderr is an interactive terminal, the CLI automatically shows lifecycle and indexing progress. Pass `--progress` to force the same feedback when stderr is redirected or the command is run non-interactively. Progress is written only to stderr; stdout remains reserved for the command result, so pipes and scripts stay machine-safe. Pass `--json` when the full MCP result envelope is needed.
541+
542+
Use `cli <tool> --help` to see the flags generated from that tool's input schema:
525543

526544
```bash
527-
codebase-memory-mcp cli index_repository '{"repo_path": "/path/to/repo"}'
545+
codebase-memory-mcp cli index_repository --repo-path /path/to/repo
528546
codebase-memory-mcp cli list_projects
529547

530548
# Use the "name" returned by list_projects as the project value.
531-
codebase-memory-mcp cli search_graph '{"project": "my-project", "name_pattern": ".*Handler.*", "label": "Function"}'
532-
codebase-memory-mcp cli trace_path '{"project": "my-project", "function_name": "Search", "direction": "both"}'
533-
codebase-memory-mcp cli query_graph '{"project": "my-project", "query": "MATCH (f:Function) RETURN f.name LIMIT 5"}'
534-
codebase-memory-mcp cli --raw search_graph '{"project": "my-project", "label": "Function"}' | jq '.results[].name'
549+
codebase-memory-mcp cli search_graph --project my-project --name-pattern '.*Handler.*' --label Function
550+
codebase-memory-mcp cli trace_path --project my-project --function-name Search --direction both
551+
codebase-memory-mcp cli query_graph --project my-project --query 'MATCH (f:Function) RETURN f.name LIMIT 5'
552+
553+
# Force human-readable progress without contaminating stdout.
554+
codebase-memory-mcp cli --progress index_repository --repo-path /path/to/repo
555+
codebase-memory-mcp cli search_graph --project my-project --label Function | jq '.results[].name'
535556
```
536557

558+
JSON arguments can also be piped on stdin. Inline JSON remains accepted for backward compatibility but is deprecated in favor of flags, `--args-file`, or stdin.
559+
537560
## MCP Tools
538561

539562
### Indexing
@@ -706,6 +729,7 @@ Also supported (not yet benchmarked): Ada, Agda, Apex, Assembly (NASM), Astro, A
706729
```
707730
src/
708731
main.c Entry point (MCP stdio server + CLI + install/update/config)
732+
daemon/ Per-account session coordination, IPC, lifecycle, shared jobs/watchers
709733
mcp/ MCP server (15 tools, JSON-RPC 2.0, session detection, auto-index)
710734
cli/ Install/uninstall/update/config (43 client surfaces, hooks, instructions)
711735
store/ SQLite graph storage (nodes, edges, traversal, search, Louvain)

‎graph-ui/src/components/ControlTab.tsx‎

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function Gauge({ label, value, max, unit, color }: {
2727

2828
/* ── Process card ───────────────────────────────────────── */
2929

30-
function ProcessCard({ proc, selected, onSelect, onKill }: {
30+
function ProcessCard({ proc, selected, onSelect }: {
3131
proc: ProcessInfo; selected: boolean;
32-
onSelect: () => void; onKill: () => void;
32+
onSelect: () => void;
3333
}) {
3434
const t = useUiMessages();
3535
return (
@@ -51,14 +51,6 @@ function ProcessCard({ proc, selected, onSelect, onKill }: {
5151
<span className="text-[9px] px-1.5 py-0.5 rounded bg-primary/15 text-primary font-medium">{t.control.thisProcess}</span>
5252
)}
5353
</div>
54-
{!proc.is_self && (
55-
<button
56-
onClick={(e) => { e.stopPropagation(); onKill(); }}
57-
className="px-2 py-1 rounded-lg text-[10px] text-foreground/20 hover:text-destructive hover:bg-destructive/10 transition-all"
58-
>
59-
{t.control.kill}
60-
</button>
61-
)}
6254
</div>
6355

6456
<div className="grid grid-cols-3 gap-3 mb-2">
@@ -159,18 +151,6 @@ export function ControlTab() {
159151
return () => clearInterval(interval);
160152
}, [fetchProcesses]);
161153

162-
const killProcess = useCallback(async (pid: number) => {
163-
if (!confirm(t.control.killConfirm(pid))) return;
164-
try {
165-
await fetch("/api/process-kill", {
166-
method: "POST",
167-
headers: { "Content-Type": "application/json" },
168-
body: JSON.stringify({ pid }),
169-
});
170-
setTimeout(fetchProcesses, 1000);
171-
} catch { /* ignore */ }
172-
}, [fetchProcesses, t.control]);
173-
174154
/* Aggregates */
175155
const totalCpu = processes.reduce((s, p) => s + p.cpu, 0);
176156
const totalRam = processes.reduce((s, p) => s + p.rss_mb, 0);
@@ -212,7 +192,6 @@ export function ControlTab() {
212192
proc={p}
213193
selected={selectedPid === p.pid}
214194
onSelect={() => setSelectedPid(selectedPid === p.pid ? null : p.pid)}
215-
onKill={() => killProcess(p.pid)}
216195
/>
217196
))}
218197
</div>

‎graph-ui/src/lib/i18n.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ export const messages = {
7070
processLogs: "Process Logs",
7171
noProcesses: "No processes found",
7272
noLogs: "No logs yet",
73-
kill: "Kill",
7473
thisProcess: "THIS",
7574
uptime: "Uptime",
76-
killConfirm: (pid: number) => `Kill process ${pid}?`,
7775
},
7876
},
7977
zh: {
@@ -143,10 +141,8 @@ export const messages = {
143141
processLogs: "进程日志",
144142
noProcesses: "未找到进程",
145143
noLogs: "暂无日志",
146-
kill: "结束",
147144
thisProcess: "本进程",
148145
uptime: "运行时间",
149-
killConfirm: (pid: number) => `结束进程 ${pid}?`,
150146
},
151147
},
152148
} as const;

0 commit comments

Comments
 (0)