MCPcopy Create free account

hub / github.com/cft0808/edict / functions

Functions535 in github.com/cft0808/edict

↓ 1 callersFunctioncmd_flow
(task_id, from_dept, to_dept, remark)
edict/scripts/kanban_update_edict.py:243
↓ 1 callersFunctioncmd_memory
写入 Agent 永久记忆。 mem_type: feedback | experience | preference tags: 逗号分隔的相关性标签
scripts/kanban_update.py:722
↓ 1 callersFunctioncmd_progress
(task_id, now_text, todos_pipe='', tokens=0, cost=0.0, elapsed=0)
edict/scripts/kanban_update_edict.py:294
↓ 1 callersFunctioncmd_progress
🔥 实时进展汇报 — Agent 主动调用,不改变状态,只更新 now + todos now_text: 当前正在做什么的一句话描述(必填) todos_pipe: 可选,用 | 分隔的 todo 列表,格式: "已完成的事项✅|正在做的事项🔄|计划做的事项"
scripts/kanban_update.py:556
↓ 1 callersFunctioncmd_shared_memo
写入全局共享记忆(所有 Agent 可读的规则)。
scripts/kanban_update.py:798
↓ 1 callersFunctioncmd_state
(task_id, new_state, now_text=None)
edict/scripts/kanban_update_edict.py:221
↓ 1 callersFunctioncmd_task_memo
写入任务上下文记忆(跨 Agent 传递决策链)。 decisions: 逗号分隔的关键决策 warnings: 逗号分隔的风险提示
scripts/kanban_update.py:762
↓ 1 callersFunctioncmd_todo
(task_id, todo_id, title, status='not-started', detail='')
edict/scripts/kanban_update_edict.py:338
↓ 1 callersFunctioncmd_todo
添加或更新子任务 todo(原子操作) status: not-started / in-progress / completed detail: 可选,该子任务的详细产出/说明(Markdown 格式) 约束:同一时刻最多只有 1 个 in-progress 状态的 t
scripts/kanban_update.py:648
↓ 1 callersMethodconsume
从消费者组消费事件。 Returns: list of (entry_id, event_dict)
edict/backend/app/services/event_bus.py:116
↓ 1 callersMethodconsume_multi
从多个 topic 同时消费事件(单次 XREADGROUP 多 stream)。 Returns: list of (topic, entry_id, event_dict)
edict/backend/app/services/event_bus.py:194
↓ 1 callersMethodcount_tasks
(self, state: TaskState | None = None)
edict/backend/app/services/task_service.py:285
↓ 1 callersFunctioncreate_token
创建 JWT-like token。
dashboard/auth.py:92
↓ 1 callersFunctioncurl_rss
用 curl 抓取 RSS
scripts/fetch_morning_news.py:48
↓ 1 callersFunctioncycle
()
edict/frontend/src/components/CourtDiscussion.tsx:188
↓ 1 callersFunctiondeploy_soul_files
将项目 agents/xxx/SOUL.md 部署到 ~/.openclaw/workspace-xxx/SOUL.md
scripts/sync_agent_config.py:297
↓ 1 callersFunctiondetect_official
(agent_id)
scripts/sync_from_openclaw_runtime.py:44
↓ 1 callersFunctionextract_token
从请求头中提取 token (Authorization header 或 Cookie)。
dashboard/auth.py:132
↓ 1 callersFunctionfetch_category
抓取一个分类的新闻
scripts/fetch_morning_news.py:111
↓ 1 callersFunctionfmtStalled
(sec: number)
edict/frontend/src/components/TaskModal.tsx:37
↓ 1 callersFunctionget_agent_activity_by_keywords
从 agent session 中按关键词匹配获取活动条目。 找到包含关键词的 session 文件,只读该文件的活动。
dashboard/server.py:1620
↓ 1 callersFunctionget_agents_status
获取所有 Agent 的在线状态。 返回各 Agent 的: - status: 'running' | 'idle' | 'offline' | 'unconfigured' - lastActive: 最后活跃时间 - sessions: 会话数 - ha
dashboard/server.py:887
↓ 1 callersFunctionget_channel_info
()
edict/backend/app/channels/__init__.py:34
↓ 1 callersMethodget_delivery_count
获取某条消息的累计投递次数。
edict/backend/app/services/event_bus.py:261
↓ 1 callersFunctionget_hb
(agent_id, live_tasks)
scripts/sync_officials_stats.py:154
↓ 1 callersMethodget_live_status
生成兼容旧 live_status.json 格式的全局状态。
edict/backend/app/services/task_service.py:268
↓ 1 callersFunctionget_model
(agent_id)
scripts/sync_officials_stats.py:65
↓ 1 callersMethodget_pending
查看未 ACK 的 pending 事件(用于诊断和恢复)。
edict/backend/app/services/event_bus.py:155
↓ 1 callersFunctionget_scheduler_state
(task_id)
dashboard/server.py:1128
↓ 1 callersMethodget_task
(self, task_id: uuid.UUID)
edict/backend/app/services/task_service.py:243
↓ 1 callersFunctionget_task_activity
获取任务的实时进展数据。 数据来源: 1. 任务自身的 now / todos / flow_log 字段(由 Agent 通过 progress 命令主动上报) 2. Agent session JSONL 中的对话日志(thinking / tool_result / u
dashboard/server.py:1842
↓ 1 callersFunctionget_task_stats
(org_label, tasks)
scripts/sync_officials_stats.py:137
↓ 1 callersFunctionhandleDecree
()
edict/frontend/src/components/CourtDiscussion.tsx:217
↓ 1 callersFunctionhandleEmperor
()
edict/frontend/src/components/CourtDiscussion.tsx:209
↓ 1 callersFunctionhandleQuickImport
(skillUrl: string, skillName: string)
edict/frontend/src/components/SkillsConfig.tsx:195
↓ 1 callersFunctionhandleRemove
(skill: RemoteSkillItem)
edict/frontend/src/components/SkillsConfig.tsx:177
↓ 1 callersFunctionhandleSelect
(agentId: string, val: string)
edict/frontend/src/components/ModelConfig.tsx:64
↓ 1 callersFunctionhandleUpdate
(skill: RemoteSkillItem)
edict/frontend/src/components/SkillsConfig.tsx:160
↓ 1 callersFunctionhandleWake
(agentId: string)
edict/frontend/src/components/MonitorPanel.tsx:27
↓ 1 callersFunctionhandle_advance_state
手动推进任务到下一阶段(解卡用),推进后自动派发对应 Agent。
dashboard/server.py:2294
↓ 1 callersFunctionhandle_archive_task
Archive or unarchive a task, or batch-archive all Done/Cancelled tasks.
dashboard/server.py:249
↓ 1 callersFunctionhandle_create_task
从看板创建新任务(圣旨模板下旨)。
dashboard/server.py:665
↓ 1 callersFunctionhandle_repair_flow_order
修复历史任务中首条流转为“皇上->中书省”的错序问题。
dashboard/server.py:1415
↓ 1 callersFunctionhandle_review_action
门下省御批:准奏/封驳。
dashboard/server.py:739
↓ 1 callersFunctionhandle_scheduler_escalate
(task_id, reason='')
dashboard/server.py:1180
↓ 1 callersFunctionhandle_scheduler_retry
(task_id, reason='')
dashboard/server.py:1150
↓ 1 callersFunctionhandle_scheduler_rollback
(task_id, reason='')
dashboard/server.py:1214
↓ 1 callersFunctionhandle_task_action
Stop/cancel/resume a task from the dashboard.
dashboard/server.py:200
↓ 1 callersFunctionimport_official_hub
从默认 Skills 源或自定义 Hub 导入 skills 到指定 agents。 如果未指定 agents,使用该 skill 的推荐 agents。
scripts/skill_manager.py:271
↓ 1 callersFunctionis_enabled
认证是否启用。仅当 auth.json 存在且配置了密码时启用。
dashboard/auth.py:50
↓ 1 callersFunctionlastMessage
(t: Task)
edict/frontend/src/components/SessionsPanel.tsx:50
↓ 1 callersFunctionlist_remote
列出所有已添加的远程 skills
scripts/skill_manager.py:120
↓ 1 callersFunctionload
()
scripts/kanban_update.py:108
↓ 1 callersFunctionmain
()
edict/migration/migrate_json_to_pg.py:168
↓ 1 callersFunctionmain
()
scripts/sync_from_openclaw_runtime.py:208
↓ 1 callersFunctionmain
()
scripts/refresh_watcher.py:46
↓ 1 callersFunctionmain
()
scripts/record_demo.py:11
↓ 1 callersFunctionmain
()
scripts/apply_model_changes.py:37
↓ 1 callersFunctionmain
()
scripts/take_screenshots.py:9
↓ 1 callersFunctionmain
()
scripts/fetch_morning_news.py:143
↓ 1 callersFunctionmain
()
scripts/skill_manager.py:312
↓ 1 callersFunctionmain
()
scripts/sync_officials_stats.py:160
↓ 1 callersFunctionmain
()
scripts/sync_agent_config.py:122
↓ 1 callersFunctionmain
()
scripts/refresh_live_data.py:21
↓ 1 callersFunctionmain
()
dashboard/server.py:2895
↓ 1 callersFunctionmatch_category
判断新闻是否属于该分类(用于军事/AI过滤)
scripts/fetch_morning_news.py:103
↓ 1 callersFunctionmigrate
执行迁移。
edict/migration/migrate_json_to_pg.py:107
↓ 1 callersFunctionmodifier
(logs)
scripts/kanban_update.py:149
↓ 1 callersFunctionopenAddForm
(agentId: string, agentLabel: string)
edict/frontend/src/components/SkillsConfig.tsx:114
↓ 1 callersFunctionopenForm
(tpl: Template)
edict/frontend/src/components/TemplatePanel.tsx:19
↓ 1 callersFunctionoutput_meta
(path)
scripts/refresh_live_data.py:13
↓ 1 callersFunctionparse_rss
解析 RSS XML → list of {title, desc, link, pub_date, image}
scripts/fetch_morning_news.py:72
↓ 1 callersFunctionpush_notification
通用消息推送 (支持多渠道)
dashboard/server.py:614
↓ 1 callersFunctionpush_to_feishu
Push morning brief link to Feishu via webhook. (已弃用,使用 push_notification)
dashboard/server.py:651
↓ 1 callersFunctionread_skill_content
Read SKILL.md content for a specific skill.
dashboard/server.py:288
↓ 1 callersFunctionremove_remote
移除远程 skill
scripts/skill_manager.py:198
↓ 1 callersFunctionremove_remote_skill
移除已添加的远程 skill
dashboard/server.py:554
↓ 1 callersMethodrequest_dispatch
发布 task.dispatch 事件到 outbox,由 OutboxRelay 投递后 DispatchWorker 消费。
edict/backend/app/services/task_service.py:174
↓ 1 callersFunctionrequires_auth
判断该路径是否需要认证。
dashboard/auth.py:159
↓ 1 callersFunctionresetMC
(agentId: string)
edict/frontend/src/components/ModelConfig.tsx:68
↓ 1 callersFunctionrun_async_migrations
Run migrations in 'online' mode with async engine.
edict/migration/env.py:53
↓ 1 callersFunctionrun_dispatcher
入口函数 — 用于直接运行 worker。
edict/backend/app/workers/dispatch_worker.py:633
↓ 1 callersFunctionrun_migrations_offline
Run migrations in 'offline' mode.
edict/migration/env.py:34
↓ 1 callersFunctionrun_migrations_online
Run migrations in 'online' mode.
edict/migration/env.py:70
↓ 1 callersFunctionrun_orchestrator
入口函数 — 用于直接运行 worker。
edict/backend/app/workers/orchestrator_worker.py:385
↓ 1 callersFunctionrun_outbox_relay
入口函数 — 用于直接运行 worker。
edict/backend/app/workers/outbox_relay.py:117
↓ 1 callersFunctionscan_agent
从 sessions.json 读取 token 统计(累计所有 session)
scripts/sync_officials_stats.py:78
↓ 1 callersMethodsend
(cls, webhook: str, title: str, content: str, url: str | None = None)
edict/backend/app/channels/qq.py:99
↓ 1 callersFunctionsetup_password
首次设置密码。如已设置则拒绝。
dashboard/auth.py:55
↓ 1 callersFunctionskip
()
edict/frontend/src/components/CourtCeremony.tsx:20
↓ 1 callersMethodstart
(self)
edict/backend/app/workers/outbox_relay.py:35
↓ 1 callersMethodstart
(self)
edict/backend/app/workers/dispatch_worker.py:337
↓ 1 callersMethodstart
启动 worker 主循环。
edict/backend/app/workers/orchestrator_worker.py:78
↓ 1 callersFunctionstartPolling
()
edict/frontend/src/store.ts:410
↓ 1 callersFunctionstate_from_session
(age_ms, aborted)
scripts/sync_from_openclaw_runtime.py:34
↓ 1 callersMethodstop
(self)
edict/backend/app/workers/outbox_relay.py:49
↓ 1 callersMethodstop
(self)
edict/backend/app/workers/dispatch_worker.py:353
↓ 1 callersMethodstop
(self)
edict/backend/app/workers/orchestrator_worker.py:102
↓ 1 callersFunctionstopPolling
()
edict/frontend/src/store.ts:425
↓ 1 callersMethodstream_info
获取 Stream 信息(长度、消费者组等)。
edict/backend/app/services/event_bus.py:185
← previousnext →201–300 of 535, ranked by callers