MCPcopy Create free account

hub / github.com/cft0808/edict / functions

Functions535 in github.com/cft0808/edict

↓ 1 callersFunctionsync_scripts_to_workspaces
将项目 scripts/ 目录同步到各 agent workspace(保持 kanban_update.py 等最新) Uses symlinks so that ``__file__`` in workspace copies resolves to the project `
scripts/sync_agent_config.py:258
↓ 1 callersFunctiontimeAgo
(iso: string | undefined)
edict/frontend/src/store.ts:443
↓ 1 callersFunctiontoggleOfficial
(id: string)
edict/frontend/src/components/CourtDiscussion.tsx:116
↓ 1 callersFunctionupdate_remote
更新远程 skill 为最新版本
scripts/skill_manager.py:171
↓ 1 callersFunctionupdate_remote_skill
更新已添加的远程 skill 为最新版本(重新从源 URL 下载)
dashboard/server.py:522
↓ 1 callersMethodupdate_scheduler
( self, task_id: uuid.UUID, scheduler: dict, )
edict/backend/app/services/task_service.py:230
↓ 1 callersFunctionupdate_task_todos
Update the todos list for a task.
dashboard/server.py:275
↓ 1 callersFunctionuseAgentMaps
()
edict/frontend/src/components/SessionsPanel.tsx:7
↓ 1 callersFunctionverify_password
校验密码。
dashboard/auth.py:74
↓ 1 callersFunctionverify_token
验证 token 签名和有效期。
dashboard/auth.py:108
FunctionActivityEntryView
({ entry: a }: { entry: ActivityEntry })
edict/frontend/src/components/TaskModal.tsx:597
FunctionApp
()
edict/frontend/src/App.tsx:18
FunctionConfirmDialog
({ title, message, okLabel, okClass, onOk, onCancel }: Props)
edict/frontend/src/components/ConfirmDialog.tsx:12
FunctionCourtCeremony
()
edict/frontend/src/components/CourtCeremony.tsx:4
FunctionCourtDiscussion
()
edict/frontend/src/components/CourtDiscussion.tsx:67
FunctionEdictBoard
()
edict/frontend/src/components/EdictBoard.tsx:155
FunctionEdictCard
({ task }: { task: Task })
edict/frontend/src/components/EdictBoard.tsx:27
FunctionLiveActivitySection
({ data, isDone, logRef, }: { data: TaskActivityData | null; isDone: boolean; logRef: React.RefObj
edict/frontend/src/components/TaskModal.tsx:433
FunctionMemorialDetailModal
({ task: t, onClose, onExport, }: { task: Task; onClose: () => void; onExport: (t: Task) => void;
edict/frontend/src/components/MemorialPanel.tsx:103
FunctionMemorialPanel
()
edict/frontend/src/components/MemorialPanel.tsx:5
FunctionMessageBubble
({ msg, officials, }: { msg: CourtMessage; officials: Array<{ id: string; name: string; emoji: string
edict/frontend/src/components/CourtDiscussion.tsx:693
FunctionMiniPipe
({ task }: { task: Task })
edict/frontend/src/components/EdictBoard.tsx:10
FunctionModelConfig
()
edict/frontend/src/components/ModelConfig.tsx:28
FunctionMonitorPanel
()
edict/frontend/src/components/MonitorPanel.tsx:5
FunctionMorningPanel
()
edict/frontend/src/components/MorningPanel.tsx:15
FunctionOfficialDetail
({ official: o, maxTk, onOpenTask, }: { official: NonNullable<ReturnType<typeof useStore.getState>['of
edict/frontend/src/components/OfficialPanel.tsx:108
FunctionOfficialPanel
()
edict/frontend/src/components/OfficialPanel.tsx:6
FunctionSessionDetailModal
({ task: t, labelMap, emojiMap, onClose, }: { task: Task; labelMap: Record<string, string>; emoj
edict/frontend/src/components/SessionsPanel.tsx:162
FunctionSessionsPanel
()
edict/frontend/src/components/SessionsPanel.tsx:64
FunctionSkillsConfig
()
edict/frontend/src/components/SkillsConfig.tsx:56
FunctionSubConfigPanel
({ config, enabledSet, onToggleCat, onAddKeyword, onRemoveKeyword, onAddFeed, onRemoveFeed, on
edict/frontend/src/components/MorningPanel.tsx:289
FunctionTaskModal
()
edict/frontend/src/components/TaskModal.tsx:50
FunctionTemplatePanel
()
edict/frontend/src/components/TemplatePanel.tsx:6
FunctionToaster
()
edict/frontend/src/components/Toaster.tsx:3
FunctionTodoSection
({ todos, todoDone, todoTotal }: { todos: TodoItem[]; todoDone: number; todoTotal: number })
edict/frontend/src/components/TaskModal.tsx:396
Method__init__
(self, redis_url: str | None = None)
edict/backend/app/services/event_bus.py:46
Method__init__
(self, db: AsyncSession, event_bus=None)
edict/backend/app/services/task_service.py:32
Method__init__
(self)
edict/backend/app/workers/outbox_relay.py:31
Method__init__
(self, msg: str, retryable: bool = True)
edict/backend/app/workers/dispatch_worker.py:47
Method__init__
(self)
edict/backend/app/workers/dispatch_worker.py:318
Method__init__
(self)
edict/backend/app/workers/orchestrator_worker.py:73
Method__init__
(self, target=None, daemon=None)
tests/test_dashboard_dispatch.py:43
Function_apply
(task)
dashboard/server.py:1121
Function_backup_and_restore
每个测试前备份数据,测试后恢复并清理测试任务。
tests/test_e2e_kanban.py:32
Function_build_soul_context
拼装三层 prompt 层级:GLOBAL.md → group/*.md → {agent}/SOUL.md。
edict/backend/app/workers/dispatch_worker.py:76
Function_do_dispatch
()
dashboard/server.py:2176
Method_mark_all_done
(tasks)
tests/test_task_mutation_race.py:88
Function_modifier
(tasks)
dashboard/server.py:187
Function_periodic_scheduler_scan
()
dashboard/server.py:2925
Method_process_task_events
(task_events: list[tuple[str, str, dict]])
edict/backend/app/workers/orchestrator_worker.py:134
Function_refresh
()
dashboard/server.py:155
Function_relevance
(m)
edict/backend/app/workers/dispatch_worker.py:216
Method_run
()
edict/backend/app/workers/dispatch_worker.py:602
Function_scan
(tasks)
dashboard/server.py:1273
Method_set_channel
(cfg)
dashboard/server.py:2844
Function_shutdown
(signum, frame)
scripts/refresh_watcher.py:40
Function_startup_recover_queued_dispatches
服务启动后扫描 lastDispatchStatus=queued 的任务,重新派发。 解决:kill -9 重启导致派发线程中断、任务永久卡住的问题。
dashboard/server.py:1393
FunctionaddFeed
(name: string, url: string, category: string)
edict/frontend/src/components/MorningPanel.tsx:110
FunctionaddKeyword
(kw: string)
edict/frontend/src/components/MorningPanel.tsx:96
Functionadd_progress
添加进度记录。
edict/backend/app/api/tasks.py:192
Functionadvance_discussion
推进一轮讨论,使用内置模拟或 LLM。
dashboard/court_discuss.py:147
Functionapi_root
()
edict/backend/app/main.py:81
Methodapply_async
()
dashboard/server.py:2827
Functionbroadcast
向所有连接的 WebSocket 客户端广播事件(服务端内部调用用)。
edict/backend/app/api/websocket.py:142
Functionconclude_session
结束议政,生成总结。
dashboard/court_discuss.py:220
Functioncreate_session
创建新的朝堂议政会话。
dashboard/court_discuss.py:115
Functioncreate_task
创建新任务。
edict/backend/app/api/tasks.py:122
Methoddatabase_url
(self)
edict/backend/app/config.py:51
Methoddatabase_url_sync
同步 URL,供 Alembic 使用。
edict/backend/app/config.py:60
Functiondeep_health
深度健康检查:Postgres + Redis 连通性。
edict/backend/app/api/admin.py:19
Functiondestroy_session
(session_id: str)
dashboard/court_discuss.py:269
Functiondispatch_task
手动派发任务给指定 agent。
edict/backend/app/api/tasks.py:177
FunctiondoAdvance
()
edict/frontend/src/components/TaskModal.tsx:157
Methoddo_GET
(self)
dashboard/server.py:2403
Methoddo_OPTIONS
(self)
dashboard/server.py:2347
Methoddo_POST
(self)
dashboard/server.py:2528
Methoddo_refresh
()
dashboard/server.py:2660
Functiondo_run_migrations
(connection: Connection)
edict/migration/env.py:47
Functiondo_wake
()
dashboard/server.py:986
Functiondowngrade
()
edict/migration/versions/001_initial.py:118
Functionesc
(s: string | undefined | null)
edict/frontend/src/store.ts:434
Functionexecute
(e: React.FormEvent)
edict/frontend/src/components/TemplatePanel.tsx:42
FunctionexportMemorial
(t: Task)
edict/frontend/src/components/MemorialPanel.tsx:15
Methodfake_add_remote
(agent_id, skill_name, source_url, description="")
tests/test_skill_manager.py:65
Functionget_agent
获取 Agent 详情。
edict/backend/app/api/agents.py:39
Functionget_agent_config
获取 Agent 运行时配置。
edict/backend/app/api/agents.py:59
Functionget_agent_latest_segment
获取 Agent 最新一轮对话段(最后一条 user 消息起的所有内容)。 用于活跃任务没有精确匹配时,展示 Agent 的实时工作状态。
dashboard/server.py:1706
Functionget_all_channels
()
edict/backend/app/channels/__init__.py:30
Functionget_config
获取当前运行配置(脱敏)。
edict/backend/app/api/admin.py:80
Functionget_db
FastAPI 依赖注入 — 获取异步数据库 session。 提交策略:由服务层显式 commit/flush 控制, 此处仅负责异常时 rollback,避免双重提交。
edict/backend/app/db.py:30
Functionget_fate_event
获取随机命运骰子事件。
dashboard/court_discuss.py:273
Functionget_session
(session_id: str)
dashboard/court_discuss.py:213
Functionget_task
获取任务详情。
edict/backend/app/api/tasks.py:140
Functionget_task_service
( db: AsyncSession = Depends(get_db), )
edict/backend/app/api/tasks.py:75
Methodhandle
(self)
dashboard/server.py:2341
FunctionhandleArchive
(e: React.MouseEvent)
edict/frontend/src/components/EdictBoard.tsx:64
FunctionhandleArchiveAll
()
edict/frontend/src/components/EdictBoard.tsx:176
FunctionhandleCancel
()
edict/frontend/src/components/TaskModal.tsx:212
FunctionhandleConclude
()
edict/frontend/src/components/CourtDiscussion.tsx:256
FunctionhandleDice
()
edict/frontend/src/components/CourtDiscussion.tsx:228
← previousnext →301–400 of 535, ranked by callers