Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Project-N-E-K-O/N.E.K.O
/ types & classes
Types & classes
3,756 in github.com/Project-N-E-K-O/N.E.K.O
⨍
Functions
42,303
◇
Types & classes
3,756
↳
Endpoints
913
↓ 1,278 callers
Class
Path
* A 2D path representation. The class provides methods for creating paths * and contours of 2D shapes similar to the 2D Canvas API. * * ```js * co
static/libs/three.core.js:33874
↓ 1,034 callers
Class
x
static/libs/index.min.js:1
↓ 494 callers
Class
Err
错误结果 包装错误信息,支持链式操作和 pattern matching。 Attributes: error: 错误对象(通常是 Exception) code: 错误码 message: 可选的错误消息
plugin/_types/result.py:105
↓ 494 callers
Class
SdkError
Base error for all SDK v2 failures.
plugin/sdk/shared/models/exceptions.py:6
↓ 426 callers
Class
Ok
成功结果 包装成功的返回值,支持链式操作和 pattern matching。 Attributes: value: 成功的值 Example: >>> result = Ok(42) >>> re
plugin/_types/result.py:38
↓ 232 callers
Class
_Ctx
plugin/tests/unit/plugins/test_study_event_bus.py:16
↓ 178 callers
Class
ServerDomainError
plugin/server/domain/errors.py:7
↓ 152 callers
Class
_Logger
plugin/tests/unit/plugins/test_pomodoro_timer.py:13
↓ 146 callers
Class
OcrReaderManager
plugin/plugins/galgame_plugin/ocr_reader.py:143
↓ 115 callers
Class
DetectedGameWindow
plugin/plugins/galgame_plugin/ocr_runtime_types.py:895
↓ 111 callers
Class
GameLLMAgent
plugin/plugins/galgame_plugin/agent_core.py:24
↓ 109 callers
Class
_FakeHostAdapter
plugin/tests/unit/plugins/_galgame_bridge_support.py:439
↓ 103 callers
Class
_FakeLLMGateway
plugin/tests/unit/plugins/_galgame_bridge_support.py:471
↓ 102 callers
Class
StudyConfig
plugin/plugins/study_companion/models.py:335
↓ 95 callers
Class
_Logger
plugin/tests/unit/plugins/test_galgame_ocr_reader.py:85
↓ 94 callers
Class
HumanMessage
utils/llm_client.py:348
↓ 85 callers
Class
Err
Failed result value.
plugin/sdk/shared/models/result.py:90
↓ 83 callers
Class
LLMStreamChunk
utils/llm_client.py:442
↓ 82 callers
Class
OcrReaderBridgeWriter
plugin/plugins/galgame_plugin/ocr_bridge_writer.py:120
↓ 81 callers
Class
_FakeCaptureBackend
plugin/tests/unit/plugins/test_galgame_ocr_reader.py:144
↓ 76 callers
Class
_FakeOcrBackend
plugin/tests/unit/plugins/test_galgame_ocr_reader.py:165
↓ 74 callers
Class
_FakeRequest
tests/unit/test_game_router.py:23
↓ 62 callers
Class
TransportError
Transport/runtime boundary failure (RPC, bus, capability unavailable).
plugin/sdk/shared/models/exceptions.py:33
↓ 61 callers
Class
DummyConfig
tests/unit/test_tutorial_prompt_state.py:39
↓ 61 callers
Class
Ok
Successful result value.
plugin/sdk/shared/models/result.py:51
↓ 58 callers
Class
SystemMessage
utils/llm_client.py:343
↓ 55 callers
Class
TopicHookPool
In-memory per-character topic pool prepared by background work.
main_logic/topic/pipeline.py:216
↓ 53 callers
Class
StudyCompanionPlugin
plugin/plugins/study_companion/__init__.py:256
↓ 51 callers
Class
AIMessage
utils/llm_client.py:353
↓ 50 callers
Class
FakeClient
tests/unit/test_meme_moderation.py:112
↓ 50 callers
Class
FakeResponse
tests/unit/test_meme_moderation.py:64
↓ 50 callers
Class
VoiceScenario
plugin/tests/unit/plugins/test_study_companion_voice_scenarios.py:13
↓ 49 callers
Class
_Ctx
plugin/tests/unit/plugins/test_study_companion.py:153
↓ 48 callers
Class
PersonaManager
Manages per-character persona files with dynamic entity sections. Core entities: 'master', 'neko', 'relationship'. Storage is entity-agnostic
memory/persona.py:139
↓ 44 callers
Class
_FakeOcrBackend
plugin/tests/unit/plugins/test_study_companion.py:775
↓ 39 callers
Class
STS2AutoplayService
plugin/plugins/sts2_autoplay/service.py:28
↓ 38 callers
Class
ToolLeakFilter
Streaming filter for provider-emitted tool-call markup in assistant text.
utils/llm_tool_leak_filter.py:32
↓ 38 callers
Class
_FakeCaptureBackend
plugin/tests/unit/plugins/test_study_companion.py:785
↓ 38 callers
Class
_Logger
plugin/tests/unit/plugins/test_study_companion.py:130
↓ 34 callers
Class
DocumentParseError
utils/document_parser.py:31
↓ 34 callers
Class
FactStore
Manages raw fact extraction, deduplication, and persistence.
memory/facts.py:126
↓ 34 callers
Class
_DummyConfigManager
tests/unit/test_storage_location_router.py:27
↓ 33 callers
Class
LLMGateway
plugin/plugins/galgame_plugin/llm_gateway.py:57
↓ 33 callers
Class
StudyStore
SQLite main store with JSON import/export support for seeds and backups.
plugin/plugins/study_companion/store.py:194
↓ 33 callers
Class
ToolDefinition
Canonical, provider-agnostic tool description. ``parameters`` is an OpenAI-flavoured JSON Schema object (``{"type": "object", "properties": {
main_logic/tool_calling.py:52
↓ 33 callers
Class
TutorReply
plugin/plugins/study_companion/models.py:529
↓ 33 callers
Class
VoiceConfig
One character's voice, as two orthogonal dimensions + a ref + optional config. Frozen so it can be passed around dispatch without aliasing surpri
utils/voice_config.py:51
↓ 33 callers
Class
t
static/libs/index.min.js:1
↓ 32 callers
Class
ActivityPreferences
Resolved activity tracker preferences. All fields have safe defaults — accessing the dataclass when ``user_preferences.json`` is missing or e
utils/activity_config.py:163
↓ 32 callers
Class
StudyEvent
plugin/plugins/study_companion/_event_bus.py:19
↓ 31 callers
Class
StudyOcrPipeline
plugin/plugins/study_companion/study_ocr_pipeline.py:85
↓ 30 callers
Class
MemoryOpError
Raised for trigger/commit problems the router should translate to HTTP. Attributes ---------- code Stable machine-readable error
tests/testbench/pipeline/memory_runner.py:159
↓ 29 callers
Class
ConnectivityTestRequest
Request model for connectivity testing. Two modes: 1. Built-in provider: provide provider_key + provider_scope + api_key. Backend reso
main_routers/config_router.py:1381
↓ 29 callers
Class
_DummyRequest
tests/unit/test_cloudsave_router.py:89
↓ 29 callers
Class
_FakeService
Minimal stand-in for EmbeddingService used by recall tests. The reranker only touches a handful of methods; keep the stub narrow so tests stay
tests/unit/test_memory_recall.py:30
↓ 28 callers
Class
ReflectionEngine
Synthesizes facts into reflections and manages the pending → confirmed lifecycle.
memory/reflection.py:233
↓ 28 callers
Class
ToolResult
Outcome of executing a ``ToolCall``.
main_logic/tool_calling.py:129
↓ 28 callers
Class
_FakeOmniOffline
最小 OmniOfflineClient 替身。``prompt_ephemeral`` 行为由测试注入。 继承自 ``OmniOfflineClient`` 以通过 ``isinstance(...)`` 分支;跳过父类 ``__init__`` 避免拉起真实 LLM 客户端。
tests/unit/test_proactive_sm_integration.py:40
↓ 27 callers
Class
PersistenceError
Raised for any recoverable save/load/import failure. Carries a ``code`` string that the router maps to HTTP status: - ``InvalidName``
tests/testbench/pipeline/persistence.py:158
↓ 27 callers
Class
StudyEventBus
Throttle study events and forward them through push_message v2.
plugin/plugins/study_companion/_event_bus.py:64
↓ 25 callers
Class
ActivityStateMachine
Stateful classifier — one instance per ``UserActivityTracker``. All update methods are synchronous (no awaits) so they're safe to call from a
main_logic/activity/state_machine.py:374
↓ 25 callers
Class
CloudSaveManager
utils/cloudsave_autocloud.py:193
↓ 24 callers
Class
ConfigManager
Config file manager
utils/config_manager.py:994
↓ 24 callers
Class
DummyLogger
plugin/plugins/sts2_autoplay/tests/test_service_runtime.py:12
↓ 24 callers
Class
FocusScorer
Per-session Focus signal scorer. Cheap, synchronous, no I/O.
main_logic/activity/focus_scorer.py:71
↓ 24 callers
Class
OcrCaptureProfile
plugin/plugins/galgame_plugin/ocr_capture_profile.py:47
↓ 24 callers
Class
Response
plugin/tests/unit/plugins/test_lifekit_routing.py:51
↓ 24 callers
Class
SdkBusMessageRecord
plugin/sdk/shared/core/bus_context.py:81
↓ 23 callers
Class
LoginFailedError
登录失败错误
plugin/plugins/mijia/mijia_api/domain/exceptions.py:40
↓ 23 callers
Class
_Ctx
plugin/tests/unit/sdk/plugin/test_sdk_v2_plugin_base.py:25
↓ 23 callers
Class
_DummyRequest
tests/unit/test_character_memory_regression.py:73
↓ 23 callers
Class
_FakeClient
Stand-in for ``GameAgentClient`` — captures send_task calls and lets the test drive on_task_finished from the outside.
tests/unit/test_game_agent_minecraft_plugin.py:60
↓ 23 callers
Class
fn
static/libs/pixi.min.js:492
↓ 22 callers
Class
ClassifyResult
Outcome of classifying one observation. ``category`` is the broad bucket the tracker reasons over; subcategory and canonical are the specific
config/activity_keywords.py:137
↓ 22 callers
Class
OcrTextBox
plugin/plugins/galgame_plugin/ocr_runtime_types.py:703
↓ 22 callers
Class
_DummyRequest
tests/unit/test_character_persona_router.py:45
↓ 21 callers
Class
DetectedGameProcess
plugin/plugins/galgame_plugin/_types.py:13
↓ 21 callers
Class
EventLog
Per-character append-only event journal with reconciliation support. Public API is dual (sync + async twins). Sync methods are safe to call f
memory/event_log.py:148
↓ 21 callers
Class
KnowledgeTracker
plugin/plugins/study_companion/knowledge_tracker.py:471
↓ 21 callers
Class
_FakeGameRouteManager
tests/unit/test_game_router.py:3702
↓ 21 callers
Class
_Pattern
One entry in the detection library. ``regex`` is compiled once at module load. ``category`` groups hits for the UI (e.g., show a single "Chat
tests/testbench/pipeline/prompt_injection_detect.py:59
↓ 20 callers
Class
DocExporter
plugin/plugins/study_companion/doc_exporter.py:58
↓ 20 callers
Class
TopicSignalStore
Slow evidence store, scoped per character. The in-memory view may be backed by a small local-state JSON file so short restart loops merge int
main_logic/topic/signals.py:144
↓ 20 callers
Class
VoiceFilter
Rule-based V1 voice filter for study self-talk. The class is intentionally independent from the plugin runtime. Phase 9's SDK voice bridge ca
plugin/plugins/study_companion/voice_filter.py:68
↓ 20 callers
Class
_DemoPlugin
plugin/tests/unit/sdk/plugin/test_sdk_v2_plugin_base.py:101
↓ 19 callers
Class
MemoryReaderManager
plugin/plugins/galgame_plugin/memory_reader.py:518
↓ 19 callers
Class
MijiaAPIException
米家API基类异常
plugin/plugins/mijia/mijia_api/domain/exceptions.py:9
↓ 19 callers
Class
PluginUiQueryService
plugin/server/application/plugins/ui_query_service.py:1265
↓ 19 callers
Class
TutorLLMAgent
plugin/plugins/study_companion/tutor_llm_agent.py:159
↓ 19 callers
Class
_Logger
plugin/tests/unit/plugins/test_study_companion_vision.py:32
↓ 18 callers
Class
JukeboxConfig
Jukebox configuration manager.
main_routers/jukebox_router.py:181
↓ 18 callers
Class
MemoryDeckStore
plugin/plugins/study_companion/memory_deck_store.py:34
↓ 18 callers
Class
PipelineStep
plugin/plugins/neko_roast/core/contracts.py:248
↓ 18 callers
Class
STS2HeuristicPlanner
plugin/plugins/sts2_autoplay/heuristic_planner.py:8
↓ 18 callers
Class
SelectedOcrBackendPlan
plugin/plugins/galgame_plugin/ocr_runtime_types.py:1702
↓ 18 callers
Class
SessionStateMachine
Event-driven state machine for a single ``(lanlan_name, user)`` session. The write path (``fire``) holds ``_write_lock``; the read path (``is
main_logic/session_state.py:100
↓ 18 callers
Class
TtsStreamNormalizer
跨 chunk 安全的 TTS 文本规范化器。 Gemini Live 等 realtime 后端的 output transcript 会在中文 token 之间 插入 ASCII 空格("你 好 世 界"),MiniMax / CosyVoice 等 streaming
utils/frontend_utils.py:229
↓ 18 callers
Class
ValidationError
Input validation failure (bad arguments, config schema, filter syntax, etc.).
plugin/sdk/shared/models/exceptions.py:25
↓ 18 callers
Class
_Logger
plugin/tests/unit/plugins/test_galgame_memory_reader.py:33
↓ 18 callers
Class
_TaskError
Bridge-internal structured error. Carries a stable ``code`` so the front-end can reliably switch on error type (R10.1) plus a human-readable
plugin/server/routes/market_bridge.py:1201
next →
1–100 of 3,756, ranked by callers