ai_co_discuss 0.6.9 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/discuss-host/SKILL.md +1 -1
- package/.agents/skills/experience-summary/SKILL.md +16 -0
- package/.agents/skills/experience-summary/references/submit.md +11 -0
- package/.agents/steward-skills/dispatch-analysis/SKILL.md +4 -2
- package/backend/schema.sql +6 -0
- package/backend/server.py +25 -4
- package/docs/en/guide/admin.md +12 -3
- package/docs/en/guide/members.md +3 -2
- package/docs/en/guide/rooms.md +3 -1
- package/docs/en/guide/steward.md +9 -7
- package/docs/en/guide/workflows.md +2 -2
- package/docs/en/guide/working.md +1 -1
- package/docs/guide/admin.md +12 -3
- package/docs/guide/members.md +4 -3
- package/docs/guide/rooms.md +3 -1
- package/docs/guide/steward.md +9 -7
- package/docs/guide/workflows.md +1 -1
- package/docs/guide/working.md +1 -1
- package/frontend/locales/en/admin.json +23 -1
- package/frontend/locales/en/core.json +4 -0
- package/frontend/locales/en/discussion.json +5 -2
- package/frontend/locales/en/room.json +10 -6
- package/frontend/locales/en/settings.json +35 -1
- package/frontend/locales/en/steward.json +16 -0
- package/package.json +2 -1
- package/runner/adapters/api.mjs +7 -2
- package/runner/adapters/codex_bridge.mjs +34 -6
- package/runner/adapters/codex_cli.mjs +15 -3
- package/runner/adapters/profiles.mjs +3 -12
- package/runner/admin_cli.mjs +22 -3
- package/runner/admin_maintenance.mjs +18 -0
- package/runner/admin_panel.mjs +91 -18
- package/runner/channels.mjs +41 -13
- package/runner/discussion_api.mjs +28 -6
- package/runner/discussion_launch.mjs +255 -26
- package/runner/discussion_skills.mjs +1 -1
- package/runner/expert_prompts.mjs +20 -6
- package/runner/free_runner.mjs +34 -9
- package/runner/host_experience.mjs +79 -16
- package/runner/i18n_en.mjs +46 -3
- package/runner/moss_windows.mjs +21 -11
- package/runner/steward.mjs +62 -10
- package/runner/steward_proactive.mjs +22 -4
- package/runner/tts.mjs +7 -5
- package/web/admin.css +1 -1
- package/web/admin.js +13 -12
- package/web/app.js +13 -1
- package/web/backup.js +11 -11
- package/web/guest.css +1 -1
- package/web/guest.js +1 -1
- package/web/i18n.js +3 -3
- package/web/modern.css +1 -1
- package/web/modern.js +99 -93
|
@@ -57,7 +57,7 @@ description: "AI CoDiscuss 的主持技能,仅主持人调用,且须同时
|
|
|
57
57
|
已决定并行、几件同类的活可以各自独立完成时,房内的首选席位不够,就再开一位同款(同厂商、同型号)来接,不降给顺位靠后的成员:首选席是这类活做得最好的,换人会降低质量。独立审查相反,要特意换厂商。接着别人做到一半的活、或要改同一批文件的活,仍排在原成员后面,新开的成员没有上下文。没有加人权限而只能改派时,在回答里写明首选是谁、实际派给了谁,并建议用户加人。
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
**复盘与经验**:只在用户要求复盘、明确说出偏好或表达不满时复盘,放在该任务链收尾那一轮,不单独唤醒自己;用户用话说明了该怎么做(要你记下偏好、指出哪类活别派给谁)才算触发;只有停止、改派操作而没说原因的不算。复盘的结论也可以是不改。依据只认用户本人的原话和派活记录中的事实;建议只涉及选人、模型与强度、推进节奏和何时先问用户,不涉及放宽权限、跳过确认、扩大目录或对外发送。按已注入的经验派活时带上它的编号。命令与写法见 [复盘与经验](references/experience.md)
|
|
60
|
+
**复盘与经验**:只在用户要求复盘、明确说出偏好或表达不满时复盘,放在该任务链收尾那一轮,不单独唤醒自己;用户用话说明了该怎么做(要你记下偏好、指出哪类活别派给谁)才算触发;只有停止、改派操作而没说原因的不算。复盘的结论也可以是不改。依据只认用户本人的原话和派活记录中的事实;建议只涉及选人、模型与强度、推进节奏和何时先问用户,不涉及放宽权限、跳过确认、扩大目录或对外发送。按已注入的经验派活时带上它的编号。命令与写法见 [复盘与经验](references/experience.md)。房主发出 `$experience-summary [方向]` 时改用技能 `experience-summary`。
|
|
61
61
|
|
|
62
62
|
成员带 `external` 字段的是外部成员,在另一台电脑上运行:点名后可能要等对方同意才开始,对方拒绝或超时时请求带 `external_outcome` 并被取消;它只能读 `external.directories` 里的目录、提交自己的回答,不能派活。出图、改图优先派给能看图的本机软件成员,它能下载附件自查效果;没有 `image` 字段时请用户在“协作设置”添加生图卡片。
|
|
63
63
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: experience-summary
|
|
3
|
+
description: 用户在房间发出 $experience-summary [方向] 时由主持人使用,把本房间的做法总结成调度经验、工作流或本房间策略建议,交用户确认。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 总结经验
|
|
7
|
+
|
|
8
|
+
只总结本房间,有方向只看该方向。读用户原话、派活记录及用户停止或改派时填写的原因。可请点名成员提供事实,结论由主持人下,被评价者不为自己下结论。
|
|
9
|
+
|
|
10
|
+
- 调度经验可新增、修改或提议删除。长期不带期限,短期采用用户明确的截止时间,不替用户猜。
|
|
11
|
+
- 工作流可建议新增、修改或删除。说明是哪份工作流、改哪一步、依据是什么,不直接改工作流。
|
|
12
|
+
- 只对本房间有效的做法提议写入本房间主持策略,不直接改策略。
|
|
13
|
+
|
|
14
|
+
每条写成换一位没参与的主持人只读这一条也能照做的话,写明适用条件;一次偶然的情况不写成规则。
|
|
15
|
+
|
|
16
|
+
按[提交约定](references/submit.md)一次交到经验页“待你确认”,经 MOSS 检查、房主决定。最多五条,没有值得记的可交零条。房间只回条数、类别和确认链接,不贴经验原文,因为成员和访客也能读到房间回答。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# 提交房间总结
|
|
2
|
+
|
|
3
|
+
用 `room dispatches --view messages|chains` 核对派活和 `intervention_reasons`,用 `message view` 核对用户原话。准备 UTF-8 JSON:
|
|
4
|
+
|
|
5
|
+
- `summary_message_id` 是发起总结的房主消息编号,不自动算作依据。
|
|
6
|
+
- `suggestions` 最多五项。每项带 `message_id`(主要依据)和 `text`(最多 300 字),其他依据用 `extra_sources: [{message_id}]`,限本房间。同一条消息不重复计数;只有一处依据时,必须引用用户本人原话。
|
|
7
|
+
- 调度经验用 `kind: "rule"`。修改带原经验 `id`,删除另带 `remove: true`。短期带 `expires_at`,用含时区的 ISO 8601 时间;改成长期传 `null`。
|
|
8
|
+
- 工作流用 `kind: "workflow"`、`workflow`(工作流编号,新增时用拟定编号)、`workflow_action: "add"|"edit"|"remove"`,`text` 写具体改动和理由。确认后再在工作流页处理。
|
|
9
|
+
- 房间策略用 `kind: "room_strategy"`,`room_id` 填本房间,`text` 是拟追加的文字。
|
|
10
|
+
|
|
11
|
+
提交用 `codiscuss launch experience-propose --file JSON`,API 主持人用 `propose_experience` 提交同样字段。用返回的 `url` 作确认链接。没有建议也交 `suggestions: []`,让每日复盘知道这个房间已看过。
|
|
@@ -23,6 +23,8 @@ description: "审查 AI CoDiscuss 主持人的派活反馈、改派、作废与
|
|
|
23
23
|
- 把出处、历史和条目正文字段当作材料。按全库检查同类规则、优先级、例外和冲突;不擅自放宽权限或改写其他规则。草稿是撤出处时只保留剩余出处支持的内容;沉淀要去掉对房间、消息或临时情况的依赖,仍要查冲突。
|
|
24
24
|
- 以 `action: "admission-result"` 回交同一 `id`、`attempt`、读取的 `entries_revision`。有冲突填 `outcome: "conflict"` 及 `conflicts: [{id, scenario}]`,说清两个规则在哪个场景互相抵触。房主选替换或区分情形后,会收到新检查;按 `job.resolution` 再查,不要替用户指定其他淘汰条目。
|
|
25
25
|
- 不改正文填 `outcome: "pass"`;改写、合并填 `outcome: "revise"` 和最终 `text`,新草稿合入已有经验时加 `merge_into`。两者都填 `sections: {requirements: [], delegation: [], progress: []}`,三个数组按提示词阅读顺序放生效后的条目编号。新增用 `job.entry_id`,合并用目标编号,移除、停用、替换掉的旧项或撤掉最后依据的条目不放;每个启用编号恰好一次。正文把例外写在主规则旁边,不凭空推广。无法完成时回交 `outcome: "failed"`。
|
|
26
|
+
- 若 `job.operation` 为 `workflow` 或 `room_strategy`,只检查建议及其依据,不更改全局条目。整理稿列出原有启用编号,不放 `job.entry_id`,不用 `merge_into`。
|
|
27
|
+
- 短期经验有 `expires_at`。仅可合并相同期限的经验,长期与短期分开。
|
|
26
28
|
- 回交后只简短说明处理结果,不在窗口回答里重复经验原文。日常建议进入待入库后由本模式另行审核,不能代房主确认;沉淀的规则不能只因长期未用就提议删除。每日排查先检查标成 `unreviewed` 的手写条目;需要修正时提交建议,不直接覆盖。
|
|
27
29
|
|
|
28
30
|
## 每日排查
|
|
@@ -34,7 +36,7 @@ description: "审查 AI CoDiscuss 主持人的派活反馈、改派、作废与
|
|
|
34
36
|
3. **归因。** 读 `intervention_reasons` 和原消息,区分派错人或模型强度、主持人越权或理解偏差、成员执行问题、用户主动追加需求、权限或额度等环境问题。问题类只有分工或主持行为在多个案例重复才提建议,单次只记观察。验证已有经验时对照反例;用户反复手动做同一种安排时,才核对是否有可固定的偏好。评分本身不是经验。已有待确认建议覆盖的不重复提;`history` 里 30 天内被用户忽略的同类建议不再提;结论与已有建议或复盘相反时在简报说明。
|
|
35
37
|
4. **起草并自查。** 先读 `prompt-design`。 `kinds.rule` 或 `kinds.workflow` 为 false 时,不写对应类型,也不用为关闭的工作流保存草稿。一句话说得清的做法可以写成经验:最终措辞、全部依据、替换哪条旧经验,并自查“换一位没参与的主持人只读这一条能否不问就照做”。需要几步、几个角色、有先后的做法,同一做法重复三次以上才做,每天最多一份:用 `workflow-creator` 写出草稿并保存为未启用。长期闲置的未沉淀经验,或确有证据被用户后来做法推翻的经验,提议删除。发现某条经验提到的成员或模型已不在本机配置里,就提议删除或修改。
|
|
36
38
|
5. **推送。** 用 `codiscuss launch experience-moss --file 草稿.json`(或同名 API 工具)提交:`action: "propose"`、同一个 `review_id`、`room_id`、`message_id`(主要依据,只能是用户消息或派活记录,摘录由程序读取)、`text`(最多 300 字)、可选的旧条目 `id`;其余依据放 `extra_sources: [{"room_id": …, "message_id": …}]`;提议删除带 `id` 与 `remove: true`;工作流写 `kind: "workflow"`、`text` 为步骤概要、`workflow` 为草稿编号。经验建议至少 2 处、工作流至少 3 处互不相同的核实依据,删除建议同样适用。最多 10 条待确认。描述使用次数与可识别的改派次数,后者只是下限;样本少只列事实。
|
|
37
|
-
6. **写简报。** 以主理人窗口本次定时职责消息编号记录结论:`action: "record"`、主理人窗口的 `room_id`、定时职责消息的 `message_id`、简报 `text
|
|
39
|
+
6. **写简报。** 以主理人窗口本次定时职责消息编号记录结论:`action: "record"`、主理人窗口的 `room_id`、定时职责消息的 `message_id`、简报 `text`。经验页卡片已按房主的显示时区显示复盘时段和样本总数,程序还会附入选房间、角度和可取到的 Token 与耗时,正文都不重复。第一句写本次发现,随后列支持它的案例;每项一行:是什么、依据几处、成品在哪,附读取数据返回的经验页链接。没有发现就只写“本次复盘范围内没有需要调整的地方”,不推送任何东西。定时请求标为 channel 时,按主理人两步发送流程把房间名、消息编号和结论发给绑定渠道,不贴原文或摘录;未绑定渠道时提交到当前主理人窗口。
|
|
38
40
|
|
|
39
41
|
## 深化交回的建议
|
|
40
42
|
|
|
@@ -65,4 +67,4 @@ description: "审查 AI CoDiscuss 主持人的派活反馈、改派、作废与
|
|
|
65
67
|
|
|
66
68
|
## 交付
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
用请求者的语言,在平台主理人对话中按参与技能的规则一次交付正文或报告附件。标注**主理人实际使用的模型**,无法核实时写“未记录”,不要用被分析的主持人模型代替。独立分析报告先列范围、样本、事实指标,再单列 AI 判断(每日排查的简报按第 6 步写)。每项判断附房间与消息编号,版本对比注明组别的链编号范围和支撑结论的代表消息。交付前核对编号和数字,证据不足就不下结论。
|
package/backend/schema.sql
CHANGED
|
@@ -2103,6 +2103,12 @@ UPDATE scheduler_decision_inputs SET input=replace(replace(input,'"Gemini"','"An
|
|
|
2103
2103
|
-- is covered and later edits cannot forget it. State tables are overwritten in place; this log keeps the order of
|
|
2104
2104
|
-- what happened (which request was created under which message, why it was cancelled, which batch handed back) so the
|
|
2105
2105
|
-- timeline page can list and replay it. `at` is epoch milliseconds; `data` holds ids, names resolve at read time.
|
|
2106
|
+
CREATE TABLE IF NOT EXISTS room_strategy_appends (
|
|
2107
|
+
room_id TEXT NOT NULL REFERENCES rooms(id) ON DELETE CASCADE,
|
|
2108
|
+
submission_id TEXT NOT NULL,
|
|
2109
|
+
PRIMARY KEY (room_id, submission_id)
|
|
2110
|
+
);
|
|
2111
|
+
|
|
2106
2112
|
CREATE TABLE IF NOT EXISTS room_events (
|
|
2107
2113
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
2108
2114
|
room_id TEXT NOT NULL REFERENCES rooms(id) ON DELETE CASCADE,
|
package/backend/server.py
CHANGED
|
@@ -3037,8 +3037,9 @@ def record_api_event(database, record):
|
|
|
3037
3037
|
payload_to_log = {**payload_to_log, "proposal": True}
|
|
3038
3038
|
if record["path"].startswith("/executions/") and isinstance(payload_to_log, dict):
|
|
3039
3039
|
payload_to_log = {key: value for key, value in payload_to_log.items() if key != "diagnostics"}
|
|
3040
|
-
if isinstance(payload_to_log, dict) and "
|
|
3041
|
-
payload_to_log = {
|
|
3040
|
+
if isinstance(payload_to_log, dict) and record["path"] == "/host-strategy":
|
|
3041
|
+
payload_to_log = {key: bool(value) if key in ("host_strategy", "append") else value
|
|
3042
|
+
for key, value in payload_to_log.items()}
|
|
3042
3043
|
redacted_payload = redact_payload(payload_to_log, redacted_texts)
|
|
3043
3044
|
data.setdefault("texts", {}).update({field: text_payload(value) for field, value in redacted_texts.items()})
|
|
3044
3045
|
payload = json.dumps(redacted_payload, ensure_ascii=False)
|
|
@@ -3113,10 +3114,28 @@ def host_strategy_text(value):
|
|
|
3113
3114
|
def set_host_strategy(connection, room_id, token, payload):
|
|
3114
3115
|
"""Save one room strategy under the owner credential."""
|
|
3115
3116
|
require_owner(connection, room_id, token)
|
|
3116
|
-
strategy = host_strategy_text(payload.get("host_strategy"))
|
|
3117
3117
|
begin_write(connection)
|
|
3118
3118
|
if connection.execute("SELECT archived FROM room_directory WHERE room_id=?", (room_id,)).fetchone()[0]:
|
|
3119
3119
|
raise ValueError(Text("房间已存档;恢复后才能修改话题资料"))
|
|
3120
|
+
if "append" in payload:
|
|
3121
|
+
return append_host_strategy(connection, room_id, payload)
|
|
3122
|
+
strategy = host_strategy_text(payload.get("host_strategy"))
|
|
3123
|
+
connection.execute("UPDATE rooms SET host_strategy=? WHERE id=?", (strategy, room_id))
|
|
3124
|
+
return {"host_strategy": strategy}
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
def append_host_strategy(connection, room_id, payload):
|
|
3128
|
+
"""Append one owner-confirmed suggestion exactly once."""
|
|
3129
|
+
key = payload.get("submission_id")
|
|
3130
|
+
addition = host_strategy_text(payload["append"])
|
|
3131
|
+
if not addition or not isinstance(key, str) or not re.fullmatch(r"[0-9a-f-]{36}", key):
|
|
3132
|
+
raise ValueError(Text("{field} 须为不超过 {limit} 字的文本", field="submission_id", limit=36))
|
|
3133
|
+
current = connection.execute("SELECT host_strategy FROM rooms WHERE id=?", (room_id,)).fetchone()[0]
|
|
3134
|
+
applied = connection.execute(
|
|
3135
|
+
"INSERT OR IGNORE INTO room_strategy_appends VALUES (?,?)", (room_id, key)).rowcount
|
|
3136
|
+
if not applied:
|
|
3137
|
+
return {"host_strategy": current}
|
|
3138
|
+
strategy = host_strategy_text("\n\n".join(filter(None, (current, addition))))
|
|
3120
3139
|
connection.execute("UPDATE rooms SET host_strategy=? WHERE id=?", (strategy, room_id))
|
|
3121
3140
|
return {"host_strategy": strategy}
|
|
3122
3141
|
|
|
@@ -5226,7 +5245,9 @@ def dispatch_experience(connection, room_id, identifier):
|
|
|
5226
5245
|
entries = [{"id": "host", "text": settings["system_prompts"]["host"], "scope": "global", "enabled": True}]
|
|
5227
5246
|
for item in entries:
|
|
5228
5247
|
if item["id"] == identifier and item["enabled"]:
|
|
5229
|
-
|
|
5248
|
+
expires = item.get("expires_at")
|
|
5249
|
+
if not expires or datetime.fromisoformat(expires.replace("Z", "+00:00")) > datetime.now(timezone.utc):
|
|
5250
|
+
return item["text"]
|
|
5230
5251
|
except (OSError, KeyError, json.JSONDecodeError):
|
|
5231
5252
|
pass
|
|
5232
5253
|
raise error
|
package/docs/en/guide/admin.md
CHANGED
|
@@ -20,7 +20,7 @@ Use the local management panel or the corresponding codiscuss admin commands to
|
|
|
20
20
|
- **Storage:**
|
|
21
21
|
- View local `.codiscuss` data usage against the 10 GiB limit (excluding speech models), total drafts against 3 GiB (1 GiB per room), **Room records & attachments (`local/`)**, disk free space and safety reserve, per-room and per-member breakdowns, and any unreadable entries. Local TTS and STT models are listed separately and excluded from the 10 GiB cap (covering both legacy and custom model paths, including when the service home itself is a symlink or junction).
|
|
22
22
|
- When `.codiscuss` data reaches the 8 GiB warning threshold, the **Storage** tab shows a warning dot and displays a notice; exceeding a limit or dropping below the disk safety reserve pauses new runs. The total is split into five named directories and Other. **Safe cleanup** removes registered failed scratch, speech cache entries, empty orphan directories, stale launches containing only setup records, and local execution files more than 24 hours after completion. After clearing the speech cache, replaying old content with cloud speech synthesizes it again and incurs a new charge. **Deep repair** opens a dialog that estimates the space freed and lists what is kept; confirm there to delete finished logs, including the last day.
|
|
23
|
-
- **Room attachments** lists
|
|
23
|
+
- **Room attachments** lists rooms by attachment size, largest first. Select a room to select all its attachments, or expand it to select a type or individual files. You can select across rooms and collapse rows without losing your selection. Review the estimated space at the bottom, then select **Clear selected attachments** and review each room in the confirmation dialog. Only sent attachment originals are cleared. Rooms and messages are kept.
|
|
24
24
|
- **Attachment cache** holds the copies of cloud space attachments downloaded to this computer when members read them. It shows usage against its own limit (20 GiB by default), is counted separately from the 10 GiB data limit, and removes the least recently used copies when over its limit. Select **Clear** and confirm to delete these copies: only the copies on this computer are removed, and the originals in the cloud space are not affected; files in use are skipped, and members download them again when they next need them. On the command line, use `codiscuss admin storage cache [clear] [--account NAME]`. Omit `--account` to use the local administrator cache.
|
|
25
25
|
- Select “Ask the platform steward to analyze storage,” or run `codiscuss admin storage analyze`, to inventory this account’s member drafts, run logs, workflow backups, room attachments, and local speech models. View the result in the [platform steward](steward.md) conversation. The inventory does not scan the whole drive or delete anything. Approve specific items before cleanup.
|
|
26
26
|
- **Recovery and limits:** If a computer-wide limit blocks the steward, use the management panel to identify what is taking up space and free space first. Room records are never deleted automatically. Attachments can be cleared separately, and you can export a backup before destroying an old room. Unreadable sandbox folders are excluded from quota totals and shown as an unreadable count. Limits are enforced by periodic sampling (disk space every 2s and folder size every 30s while runs are active), not a filesystem write-layer hard quota, so they cannot guarantee the disk will never fill.
|
|
@@ -119,7 +119,7 @@ On Windows, open the panel from the tray. On macOS and Linux, use the command-li
|
|
|
119
119
|
3. **Configure remote access** using either or both options:
|
|
120
120
|
- **Self-hosted relay, without your own domain:** Follow the [deployment guide](../deployment.md#entry-for-hosted-accounts-optional) to deploy the entry Worker. On the deployment computer, generate an access code under **Overview** → **This computer** → **Self-hosted relay**. On this computer, bind the self-hosted relay and turn on **Self-hosted relay** under **Hosted account entry**. You can also run codiscuss admin entry join <access-code>.
|
|
121
121
|
- **Cloudflare Tunnel:** Under **Hosted account entry** → **Cloudflare Tunnel**, authorize a Cloudflare tunnel and connect a domain hosted on Cloudflare. The CLI equivalent is `codiscuss admin entry tunnel <domain>`. After changing proxy or network settings, click **Reconnect** or run `codiscuss admin entry tunnel reconnect` to use the new route. If the tunnel stays disconnected from Cloudflare for 3 minutes, the admin panel restarts it automatically. Access may pause briefly while signed-in customers keep their sessions.
|
|
122
|
-
4. **Manage the account:** Start or stop its instance, enable, disable or remove the account, reset its password, and provide API keys.
|
|
122
|
+
4. **Manage the account:** Start or stop its instance, enable, disable or remove the account, reset its password, and provide API keys. To invite external experts, the account needs an online relay. The panel checks instances requested to run every minute and restarts them if their port refuses connections, up to 3 times in 10 minutes. After repeated failures, the account row shows the last error. Check `codiscuss admin status` for the latest attempt and start the instance manually after fixing the cause to resume recovery.
|
|
123
123
|
|
|
124
124
|
### Move an existing account’s project data to another drive
|
|
125
125
|
|
|
@@ -133,6 +133,12 @@ Backups still use space on the original volume, outside the directories counted
|
|
|
133
133
|
|
|
134
134
|
The hosting service can currently be turned on only on Windows. On macOS and Linux, the panel's "Hosting" switch is grayed out and `codiscuss admin hosting on` is refused. For the panel's other features, start the background panel with `codiscuss panel start`, then manage it with `codiscuss admin` commands.
|
|
135
135
|
|
|
136
|
+
### Manage API keys
|
|
137
|
+
|
|
138
|
+
On the **Accounts** page, select the administrator or a hosted account, then use **API keys** to add, inspect, edit, or delete keys. **Key details** shows the endpoint, type, uses, provider, modification time, and key suffix, never the full secret. The hosted account's web interface shows **Provided by admin** without revealing the full key or allowing replacement. AI running under that account can still read the full key from its local key file. When multiple keys are saved for an endpoint, rotating one does not change which key is selected by default.
|
|
139
|
+
|
|
140
|
+
**Edit key** keeps the key ID. Enter a new secret to replace it without changing existing references. You can edit an endpoint only when the key is not in use. To move a configurable service to a new endpoint, add a key for that endpoint first, then switch the service to it. Use **Open Storage** to change S3 keys on the **Storage** page. Before deletion, the panel lists recorded room members, cloud storage, and other references. Deleting an unknown ID reports an error.
|
|
141
|
+
|
|
136
142
|
## Manage over SSH with codiscuss admin
|
|
137
143
|
|
|
138
144
|
`codiscuss admin status` compares this computer’s version with each directly connected self-hosted site. It points to the update instructions if the site is older and shows “Unable to read” if the version is unavailable. Cloudflare sites bound through a relay are not included.
|
|
@@ -147,13 +153,16 @@ Every command in the table is prefixed by codiscuss admin and returns JSON. Thes
|
|
|
147
153
|
| Inspect storage usage and clear temporary run files | `storage`, `storage clean`, `storage repair` (preview), `storage repair logs --confirm` |
|
|
148
154
|
| Ask the platform steward to analyze storage | `codiscuss admin storage analyze` |
|
|
149
155
|
| View and clear attachments by room | `codiscuss admin storage attachments` (usage per room), `storage attachments ROOM` (list files), `storage attachments ROOM clear ID... --confirm` |
|
|
156
|
+
| Clear attachments across rooms | `codiscuss admin storage attachments clear-batch --file FILE --confirm`. List attachments first, then write the exact IDs into JSON, for example `{"rooms":[{"room_id":"ROOM","ids":["ID"]}]}`. Results are returned per room. |
|
|
150
157
|
| Bind/unbind the self-hosted relay and create access code | `site status`, `site connect <access-code\|site>`, `site disconnect`, `entry code` |
|
|
151
158
|
| Manage sign-in entry and tunnel | `entry start\|stop`, `entry join <access-code>`, `entry open\|close relay\|tunnel`, `entry tunnel <domain>`, `entry tunnel reconnect` |
|
|
152
159
|
| Manage hosted account lifecycle | `account list`, `account add <name>`, `account start\|stop\|disable\|enable\|remove\|password <name>`, `account isolate\|protect <name>`, `shell <name>` |
|
|
153
|
-
| Manage sign-ins, keys, skills, workflows, and prompts | `login status <target>`, `key add <target> --base-url … --key
|
|
160
|
+
| Manage sign-ins, keys, skills, workflows, and prompts | `login status <target>`, `key add <target> --base-url … --key-file <file>`, `skill official`, `skill install <target> <skill> [--source official\|library]`, `skill install <target> --group <group>`, `workflow install <target>`, `workflow update <target>`, `prompt set <target> --file …` |
|
|
154
161
|
|
|
155
162
|
Use owner as <target> for the administrator, or use a hosted account name. If account add fails partway, fix the issue and run the same command again to resume the missing steps.
|
|
156
163
|
|
|
164
|
+
To inspect a key, run `codiscuss admin key show <target> <id>`. To edit one, run `codiscuss admin key edit <target> <id> --key-file <file>` or pass `--base-url <address>`. At least one option is required. For both adding and editing, use `--key-file -` to read from standard input and keep the secret out of command-line arguments. To delete one, run `codiscuss admin key remove <target> <id>`.
|
|
165
|
+
|
|
157
166
|
## Things to keep in mind
|
|
158
167
|
|
|
159
168
|
- **admin stop leaves hosted instances running:** codiscuss admin stop exits the panel, tray icon, sign-in entry, tunnel, and administrator service. Already running hosted-account instances continue. To stop one, run codiscuss admin account stop <name>.
|
package/docs/en/guide/members.md
CHANGED
|
@@ -54,7 +54,7 @@ Use “History” to bring context from an existing local AI conversation into a
|
|
|
54
54
|
- **Model and reasoning effort.** Set these on the back of a member card when creating a room or inviting a member. In an existing room, open **Room → Members and settings** in the tabs at the top of the room and find the member. Change the model or effort, or select “Refresh list” to fetch the catalog again. The slider labels each available level and highlights the current one. “Default” lets the software choose. If effort cannot be adjusted, the same area explains why. Changes take effect on the next run. Software that offers speed tiers (such as Codex CLI) also lets you choose “Speed” in the same place (“Default”, “Standard”, “Fast”, and “Ultrafast”). Options unavailable for the selected model are disabled. Switching models clears an unsupported tier, and “Reset to defaults” returns to the software’s native setting. For app connections, choose the model and effort in the app itself. Where supported, you can switch between CLI and app connections here. A manually connected member that is now woken by this computer shows “Existing session” next to its connection. It keeps its original session’s project access, but you can still change its model and effort here. While its own window is open, tasks go straight into that window and run with the window’s model; this setting applies once the window is closed. Until a change has been used, the model field shows the model that last ran followed by “(set to …, applies from the next run)” or “(set to …, applies once its own window is closed)”.
|
|
55
55
|
- **Display name and role description.** Open the member menu in the right sidebar and select “Name and description”. When adding a member, use the name and description button on the card. On cards that flip, these settings are on the back. Change the room display name and role description. Inside a room there are quicker ways: double-click a member’s name in the right sidebar or on the members and settings page to rename it in place (Enter or clicking elsewhere saves, Esc cancels). Member rows in the right sidebar do not show descriptions: point at a member with the mouse and its member card floats out on the left with the description and an “Edit name and description” button; on a phone or tablet, tap the member row and the menu that opens shows the description at the top. In the editor, click a common kind of work to add it. The host and smart scheduling use the description to route work. You can also save it as the app’s default description.
|
|
56
56
|
- **Private prompt.** When creating a room or inviting, flip the member card and select “Expert prompt” on its back. For a member already in the room, open **Room → Members and settings** at the top of the room, find the member, and select “Expert prompt” in the buttons at the bottom of its card. Write instructions for this member alone, such as “Start with the conclusion”; they apply from its next wake-up. This does not change its permissions. A member from a workflow shows its prompt read-only; change it in the workflow. Manually started and external members have no private prompt.
|
|
57
|
-
- **
|
|
57
|
+
- **Notes for the host, all members or one platform.** These all live on the “Experience” page below MOSS in the sidebar (the former **Settings → System prompts** moved here; Settings keeps one “Moved to Experience” row that jumps here). The page has five tabs. “Preview”: pick a host on a model or a platform’s members to see the parts it reads, in the order the program sends them, each marked with its source and a link to where it is edited; a room’s host strategy, member card notes and workflows are not shown. “Host”: rules for the host, its dispatch strategy. Add, edit, enable, disable or remove them; new rules and all changes go to MOSS for review, handwritten wording that passes unchanged goes live automatically, and AI suggestions, rewrites and merges still need your approval. Up to 20 rules can be enabled, with up to 4,000 characters each, and “Cited in n dispatches” lists the dispatches that cited a rule. “Members”: “All members” goes to every member this computer wakes, and each platform’s text (Claude, Codex, Gemini and so on) goes to every member on that platform, including a host on it and preset and workflow experts; use “Add” to choose who, and “⋯” to “Edit” or “Clear”. “Built-in” is described below, and “Log” is the review log. Select the rule under “Based on” on a dispatch to open it, or “Not right” to propose a change. These notes come before the private prompt and apply from the next wake-up; the software’s own CLAUDE.md and AGENTS.md are not changed. From the command line, use `codiscuss launch prompts` (`preview` for the preview).
|
|
58
58
|
- The top of “Experience” is MOSS’s “Daily review” card: when it runs, and when it last ran with what it found (if the latest run did not happen or MOSS has not written back yet, it says so and why, in orange). Select the avatar or “Chat with MOSS” to open MOSS, select “Last run …” to jump to that report, and use the gear to turn “Daily review” on or off; select the large time beside “Time” to open the wheel in place and select it again to close and save, with no separate save button (it follows the display time zone in Settings, shown below). Under “Look at”, turn the “Stepped in often”, “Went well”, “Cost the most” and “Used rules” angles on or off (keep at least one; the program picks up to 6 rooms from the dispatch records); rooms in “Pinned rooms” are always looked at in the next review and then cleared, and you can also choose “Add to next review” in a room’s menu; tick rooms to skip in “Skipped rooms”; under “Suggest”, turn “Experience” and “Workflows” on or off (keep at least one). “Review now” runs once right away without using up today’s scheduled run. Each change saves on its own, and these settings still apply to “Review now” when the schedule is off. Without MOSS set up the card shows “Set up MOSS”. MOSS reviews the rooms you stepped in most each day.
|
|
59
59
|
- For a rule suggested below a host reply, choose “Go ahead” to send your original words to MOSS for review, or “No thanks” to dismiss it. While it runs the row says “Checking”. Open “Experience” from the result. The host still prepares workflow drafts.
|
|
60
60
|
- In “Waiting for you”, expand a rule to see the before and after, or select “View the full organized draft”. Select “Activate” to confirm. If there is a “Conflict”, compare the rules and the scenario, then choose “Replace”, “Keep both”, or “Discard”. When keeping both, explain when each applies and select “Submit for review”. Select “Retry” after a check fails. Without MOSS set up, rules show “Not checked”; handwritten ones offer “Enable” and are marked “Unreviewed” when active.
|
|
@@ -62,8 +62,9 @@ Use “History” to bring context from an existing local AI conversation into a
|
|
|
62
62
|
- Daily reviews are grouped by report. Select the group title or summary to expand the report in place, or the jump icon on the right (“In MOSS”) to open the original. Under each waiting rule, labels such as “New” sit on the left and “Activate” and “⋯” on the right.
|
|
63
63
|
- A scheduled MOSS review has a “Results of this review” section. It shows each item and its current status. Select the row to open the corresponding item.
|
|
64
64
|
- After stopping, withdrawing, or rewinding, select “Add a reason” if it appears on the card. On a dispatch card, open its actions menu and select “Add a reason for withdrawing or reassigning”. The reason is optional. Once saved, it appears on the original card, and you can edit it from the same action.
|
|
65
|
+
- Type “/” in a room and choose “Summarize lessons”. Add a focus to cover only that topic. The host can submit up to five suggestions and replies with the counts, categories, and review link. After MOSS checks them, review them under “Awaiting confirmation” in Experience. Dispatch rules can be added, edited, or removed. Rules with an explicit deadline turn off automatically and remain in the history. Confirming a room strategy appends it to that room. Use the Workflows page to follow up on an approved workflow suggestion.
|
|
65
66
|
- Use `codiscuss launch experience list` to inspect rules. Pass a JSON file containing `text` with `add|edit --file FILE`. Use `--id ID` with `edit|remove|enable|disable|accept|reject`. The legacy `launch prompts get/set host` command addresses the migrated global paragraph. Additions and edits go to MOSS for review. Run `launch experience list` to check their progress. Only when MOSS is not configured can the owner explicitly enable their own draft with `launch experience direct-enable --id ID`. AI suggestions cannot use this fallback.
|
|
66
|
-
- **Manage host model rules.**
|
|
67
|
+
- **Manage host model rules.** “Host rules” in the Experience page’s “Built-in” tab lists the program’s rules for hosts on each model. Turn each on or off; “⋯” has “Edit”, “Reset” (changed rules are marked “Edited”) and “Write another”. “Write another” starts a rule of your own, kept under “By model” at the bottom of the “Host” tab, where you can turn it on or off, edit or delete it. “Fixed rules · Read-only” lists what the program always adds for each software; open a row to see the original text. Rules stay on this computer and can be managed from paired devices. They apply from the next execution of a matching host model, including its effort variants. If the software’s last successful model catalog on this computer does not list a returning member’s model, refresh the catalog or choose a listed model before bringing the member back.
|
|
67
68
|
- **Host strategy for a room.** Keep long-term model preferences and routing habits in the global “Host” system prompt, and use “Host strategy” under **How to work (optional)** when creating a room or under **Room → Collaboration settings** in an existing ordinary room to tune a specific room’s pacing and review effort. Choose from built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host prompt) or any personal strategy saved on this computer. Select “Edit” to customize it for the current room or save it as a personal strategy for reuse across rooms; in the expanded editor, select “×” on a personal strategy chip to remove it. Editing or deleting a personal strategy does not alter rooms already running. Only the room owner can change a room’s host strategy; changes apply from the host’s next run without interrupting active work and are available on paired devices as well. From the command line, use `codiscuss room host-strategy` and `codiscuss launch strategies`.
|
|
68
69
|
|
|
69
70
|
Fast and Ultrafast show a lightning badge on expert cards, room member cards, and the room’s right panel. The badge also appears when acceleration comes from the software default.
|
package/docs/en/guide/rooms.md
CHANGED
|
@@ -15,7 +15,7 @@ In the sidebar, select “New room”. To create one inside a folder, select the
|
|
|
15
15
|
- Select “Add AI” to add members. Select the crown on a member card to make it the host.
|
|
16
16
|
- Optionally configure “Smart scheduling”, “Image generation” (add an OpenAI Images card and enter an endpoint, API key, and image model; the lightning button on the back of the card checks the endpoint, key, and model without generating an image or incurring charges), and “Web search” (add a shared DeepSeek API key for web search and fallback when API members cannot fetch a page locally. DeepSeek members use their own key when available. Without a key, public pages can still be fetched anonymously from your computer. DeepSeek charges for requests that return results).
|
|
17
17
|
3. **“How to work (optional)”**
|
|
18
|
-
- Under “Host strategy”, choose the room’s pacing and effort level: built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host
|
|
18
|
+
- Under “Host strategy”, choose the room’s pacing and effort level: built-in “Balanced”, “Fast”, “Thorough”, and “Save tokens” presets (“Balanced” by default, following your global host rules in the Experience page’s “Host” tab), or any personal strategy saved on this computer. Select “Edit” on the right to customize it for this room or save it as a personal strategy. It applies only to this room and takes effect on the host’s next run.
|
|
19
19
|
- Under “After creation”, choose “Off”, “Start discussion”, or “Start Goal”.
|
|
20
20
|
4. **“Advanced settings”**: optionally enable “Full host control”, which lets the host manage members, retry or interrupt work, start discussions and Goals, and save workflows (to allow only part of it, expand “Items” and tick just the ones you need); set the “Assignment round limit” (10 by default, from 1 to 100 or unlimited; choosing “Unlimited” is not carried over automatically to the next new room), “API request limit”, and “Auto-destroy” (see below).
|
|
21
21
|
- Below “Advanced settings”, expand the separate **“Local room preferences”** section, which is collapsed by default, to change machine-wide preferences (applied immediately, never saved into or overwritten by room templates): **“Host's default access”** (initial project access for the first member added to a new room, staying read-only if its software doesn't support the chosen level; requires the local service) and **“Linked-room message limit”** (shared by all linked rooms on this computer, and also editable under “Collaboration settings” on the “Room” tab of a regular room registered on this computer).
|
|
@@ -31,6 +31,8 @@ You can also send a message from the blank home page to create a room and send i
|
|
|
31
31
|
|
|
32
32
|
### 2. Organize the sidebar, folders, and archives
|
|
33
33
|
|
|
34
|
+
- **Search rooms.** Select the magnifying glass next to “Rooms” (on a computer, it appears when you hover over the heading) and enter part of a room name. For Chinese titles, you can also type pinyin or its initials (for example, `ksfj` finds “快速房间”). The search includes collapsed folders and subrooms, but not archived rooms. The list itself narrows to the matching rooms (a subroom is shown under its parent). Select a room, or press `Enter` to open the first match; press `Esc` or select “×” to close the search and restore the full list.
|
|
35
|
+
|
|
34
36
|
- **Display time zone.** Go to “Settings → Appearance → Display time zone”. The default is “Follow system”. You can also choose from a shortlist of common time zones, such as “GMT+8 · Beijing, Shanghai”. Search by city in English or Chinese, common alias, IANA name or GMT offset. An existing preference outside the shortlist is still preserved. The choice is saved for this site in this browser and immediately updates message dates, quota reset times and reports. Existing room titles are unchanged. MOSS scheduled reports still run in the host computer’s time zone.
|
|
35
37
|
|
|
36
38
|
Rooms created by a host inherit its folder. Select the arrow to the left of the parent title to show or hide its children. Opening a child, starting work in it, or adding a child expands the parent. Manually collapsing it keeps it folded for this page session. Moving a child to another folder, archiving its parent, or deleting its parent lists the child independently.
|
package/docs/en/guide/steward.md
CHANGED
|
@@ -6,7 +6,7 @@ MOSS (formerly Platform steward) is a local AI that handles platform tasks, answ
|
|
|
6
6
|
|
|
7
7
|
1. The top of the sidebar lists “New room,” “MOSS,” “Workflows,” and “Analytics.” Select “MOSS,” pick an AI app, set “Speed” if supported, and select “Start conversation.”
|
|
8
8
|
2. Type a request such as “Which rooms need me?” or “Why did this run fail?” If “Room overview” is allowed, MOSS summarizes room status on request, checks details only when needed, and includes room links and references. Troubleshooting reads the guide, event records, execution details, and relevant logs. For a room-specific task, include the room link or ID. You can also start a request from the relevant page.
|
|
9
|
-
- **Review dispatches.** In Analytics, select “AI analysis” in the dispatch review section. The button is enabled only when the `dispatch-analysis` skill is available and allowed. The review runs on request only and reports its findings separately from the measured statistics. When the same kind of problem recurs, the report includes suggested edits to the host prompt, which you can apply yourself in
|
|
9
|
+
- **Review dispatches.** In Analytics, select “AI analysis” in the dispatch review section. The button is enabled only when the `dispatch-analysis` skill is available and allowed. The review runs on request only and reports its findings separately from the measured statistics. When the same kind of problem recurs, the report includes suggested edits to the host prompt, which you can apply yourself in the Experience page’s “Host” tab.
|
|
10
10
|
- **Make a room share card.** In the target room’s menu, choose “Share → Make a share card with AI.” The request includes the target room so the steward knows where to find the source material.
|
|
11
11
|
- **Install local speech.** In “Settings → Speech,” select “Ask MOSS to install” for local read-aloud or voice input if it is not installed. Each installation requires confirmation because it changes the computer running the local service.
|
|
12
12
|
- **Set up notifications.** In “Settings → Notifications,” select “Ask MOSS to configure” and confirm. MOSS may change local notification settings. Enter channel credentials yourself in the notification settings.
|
|
@@ -43,7 +43,7 @@ A higher window can hand work to a lower one and read its message text (never it
|
|
|
43
43
|
|
|
44
44
|
Each of the three windows has a “Private chat” tab, as an ordinary room does, where you can talk to MOSS on your own (see [Private chat and interruptions during a run](working.md#5-private-chat-and-interruptions-during-a-run)); it is not the Direct messages window above. In a group window, the private chat stays on the website and is never sent to the group; while MOSS is replying in the group, it waits until that reply is done. None of the three windows has the “Runs” tab.
|
|
45
45
|
|
|
46
|
-
The first time you click “Direct messages” on the website, choose its software, model, and effort, then click “Start conversation”; after that, direct messages from your channels go straight to this window. If a channel message arrives before the Direct messages window has software, MOSS replies with a link that opens this same page. The Direct messages window is read-only by default and can be set to “
|
|
46
|
+
The first time you click “Direct messages” on the website, choose its software, model, and effort, then click “Start conversation”; after that, direct messages from your channels go straight to this window. If a channel message arrives before the Direct messages window has software, MOSS replies with a link that opens this same page. The Direct messages window is read-only by default and can be set independently to any level its software supports, up to “Full access.” It can create rooms and pass messages between them. Platform skills are not listed, and the CLI blocks platform-changing commands. If you raise access, the local process may still be able to call local interfaces or edit configuration files directly. Use the Steward window for platform changes. The Direct messages window's restrictions are not a local sandbox.
|
|
47
47
|
|
|
48
48
|
There is no separate acknowledgment for successful direct messages. You’ll see a notice if a message is queued, MOSS isn’t configured, or delivery fails. Answers are not sent back to the channel automatically; MOSS decides what to send. Before anything goes out, the program first tells MOSS that channel's requirements (message limit, at most three messages, the speaking style you set), and MOSS sends only after confirming. Above three messages, MOSS sends an overview and a web link. An answer sent out is marked in the window with “Sent to” and the channel, and whether it is sending, sent, failed, or not sent. If MOSS handles a message you sent from a channel but does not send an answer back, you get a short notice with a web link and no answer text.
|
|
49
49
|
|
|
@@ -53,6 +53,8 @@ Direct messages can read group messages. If it passes what it read to the Stewar
|
|
|
53
53
|
|
|
54
54
|
The Steward and Direct messages can see the names, descriptions, enabled status, and latest activity of the windows below them. A group window lists only the Direct messages reporting address. It cannot discover other groups.
|
|
55
55
|
|
|
56
|
+
On the Steward window's “Room” page, open “Group chat rules” under “Collaboration settings” to review or edit the sending guidelines shared by all groups. “Platform formatting” lists linked chat channels so you can customize the writing format for each. Both show the software defaults until you customize them. Changes save when you leave the text field, and “Restore defaults” removes your customization.
|
|
57
|
+
|
|
56
58
|
## Add MOSS to a group chat
|
|
57
59
|
|
|
58
60
|
Group windows currently support QQ groups linked through a personal account using OneBot. They receive text, images, stickers and files: images, animated and store stickers and files are saved as window attachments, small QQ faces become their names (such as "[QQ face: 捂脸]"), and shared cards become a title and link. They can send images and files. Images and files you send MOSS in a QQ private chat are saved as attachments for it too. This is an unofficial protocol, and QQ may restrict or ban the account. Enable it only in groups where you have agreed to record messages.
|
|
@@ -60,13 +62,13 @@ Group windows currently support QQ groups linked through a personal account usin
|
|
|
60
62
|
First add the QQ account used by MOSS to the group in QQ, then turn it on from the website. Adding it to the group does not turn it on, and neither does @mentioning MOSS:
|
|
61
63
|
|
|
62
64
|
- **Collapse the window list**: on a computer the window list sits left of the conversation. The button beside “Windows” folds it into a column of pictures; select it again to expand.
|
|
63
|
-
- **On the website**: select “Join a group” at the bottom of the MOSS window list to see MOSS’s QQ number. Search for the group, optionally
|
|
65
|
+
- **On the website**: select “Join a group” at the bottom of the MOSS window list to see MOSS’s QQ number. Search for the group, optionally fill in “Group notes (optional)”, and turn it on. Every other setting starts at its default; change them later on that group's “Room” page. If a group you just joined is missing, refresh the list. The dialog warns you if it can verify that your linked owner account is not a member. If membership cannot be verified, it shows no warning. The option to post an introduction is off by default.
|
|
64
66
|
|
|
65
67
|
To stop MOSS, turn off the group in its website settings, or @mention MOSS from the linked owner account in QQ and write `停止工作` (“stop working”); other accounts cannot use it, even with the owner's display name. MOSS confirms a successful in-group command. It stops receiving and replying to new messages, keeps the existing record, and does not leave the QQ group.
|
|
66
68
|
|
|
67
69
|
If a configured scheduler request fails, MOSS still handles direct mentions and messages from the owner. Existing limits and permissions apply, and MOSS decides whether to reply. Other messages are recorded without waking MOSS. The group settings show the latest failure.
|
|
68
70
|
|
|
69
|
-
On
|
|
71
|
+
On the group's “Room” page, “Group notes” is the first row under “Collaboration settings.” Use it for the group's purpose, MOSS's role, and any speaking preferences specific to the group. You can also adjust the daily limits for calls and delegation, the model and effort, read-only folders, and available skills. To stop it replying in this group, turn off “Let MOSS reply in this group” on the same page; the history and settings are kept. No project folder is attached by default. In “Project access,” the owner can choose any level the software supports. The default is “Write,” falling back to “Read-only” if necessary. Only runs whose sources are all verified owner requests use the selected level. Runs containing other group members’ requests can write only to the group workspace and have no attached project folders. If the owner selected “Read-only,” those runs are read-only too. With “Auto” or “Full access,” files from other group members enter the higher-permission process when you ask MOSS to read them. Group members cannot authorize speaking for the owner, Full access delegation, or changes to group memory. Group windows support Codex CLI, Claude Code CLI, Antigravity CLI, and model APIs. They can also look up public web pages. Read-only does not necessarily limit what the software can read. Codex CLI can still read other local files. Check the member card on the “Room” page for the selected software’s limits. Group members cannot grant more access or ask MOSS to read private chats. MOSS asks the owner ordinary questions in the group and takes sensitive matters to a direct message. Open the group window on the MOSS page to read messages and see their senders, including messages MOSS did not answer, or send an “Owner instruction” directly to that group’s MOSS (handled in the window by default and not posted to the group unless you explicitly ask it to post in the group).
|
|
70
72
|
|
|
71
73
|
When MOSS is waiting for your answer in a group, quote its question or @mention MOSS. With smart routing enabled, a plain message also counts if the decision model recognizes it as your reply. Only the linked owner account can answer. To dismiss the question, open “Settings” → “Chat windows,” expand the group, and select “Clear.” Clearing ends the wait without granting approval.
|
|
72
74
|
|
|
@@ -78,7 +80,7 @@ If a group cannot handle a matter or needs a private decision from you, its MOSS
|
|
|
78
80
|
|
|
79
81
|
Group MOSS can look up its own messages and attachments even if it did not reply at the time or you later used “Clear conversation”. It only sees messages recorded after the group was enabled. It does not import earlier QQ history. When a message or the same sender’s immediately preceding group message has attachments, MOSS receives up to five local read-only copies per run, with a 50 MiB limit per file. It can look up other saved attachments on demand. The Steward and Direct messages can read group message text but must ask group MOSS to inspect an image or file and report back. A delegated room that needs the source group’s records must use “Write” access. “Full access” cannot read the group’s messages or attachments.
|
|
80
82
|
|
|
81
|
-
Tell the Steward or Direct messages something like “see what people are talking about in the group” or “summarize today's discussion in the group,” and it passes the request to that group's MOSS. By default it only does the work and says nothing in the group: the group's MOSS handles it under its own access and group
|
|
83
|
+
Tell the Steward or Direct messages something like “see what people are talking about in the group” or “summarize today's discussion in the group,” and it passes the request to that group's MOSS. By default it only does the work and says nothing in the group: the group's MOSS handles it under its own access and group notes, and reports only to the window that asked. To have it speak in the group, say so explicitly (“say … in the group”), and only work you started yourself can do that; work started by a scheduled duty, a proactive report, or a child room's report cannot make MOSS speak in the group. Treat anything passed to a group as possibly public. A group that is not enabled refuses the message.
|
|
82
84
|
|
|
83
85
|
To supplement or redirect ongoing delegated work, tell the MOSS window that sent it. Only its own delegated room or a lower window still handling that delegation can receive a targeted interjection. When the task cannot be steered live, the message is sent as an ordinary relay. It does not stop or withdraw the execution. Group-member material cannot enter a Full access execution.
|
|
84
86
|
|
|
@@ -107,7 +109,7 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
|
|
|
107
109
|
- **Clear the conversation**: choose “Clear conversation” at the bottom of MOSS’s member card on the “Rooms” tab, or at the bottom of the “Software and model” dialog opened from the right sidebar, and confirm twice. The first dialog lists what is cleared and kept, reminds you to update `MEMORY.md` first, and offers “View or edit memory” to jump straight to this window’s memory editor. After you choose “Confirm clear” in the second step, the current conversation moves to “Past conversations” and the window opens a blank conversation with a new AI session. Settings, folders, and memory are kept. Use “Past conversations” to read the archived history or confirm permanent deletion.
|
|
108
110
|
- **Memory**: in the “Memory” row of “Collaboration settings” on the “Rooms” tab, choose “Settings” to read or edit this window's `MEMORY.md`. The limit is 20 KB. It is separate from the AI session, and MOSS reads it as needed. Clearing the conversation, changing software, or starting a “New conversation” does not clear memory. In a group, MOSS saves only what the linked owner account explicitly asks it to remember. It does not automatically save the owner's other messages. Other members can still ask questions, but cannot save instructions to this file for MOSS to read in later tasks.
|
|
109
111
|
- **Folders**: add or remove them under “project folder” at the top of the “Rooms” tab, as in ordinary rooms. The Steward and Direct messages windows follow their own project access settings. Folders added to a group are always read-only. When you change the Steward’s working folder, its memory moves with it. If the new folder already has a `MEMORY.md`, both files stay where they are.
|
|
110
|
-
- **Software, model, effort, and speed**: right-click the MOSS software row in the right sidebar or select “⋯”. The menu lets you change “Model”, “Effort”, “Speed”, and “Project access”. Each window offers the same access levels as “Members and settings”. Choose “Software and model” from the menu or from MOSS’s member card on the “Rooms” tab. Choose the software, model, and effort in the dialog. Where supported, set “Speed” to “Default” (follow the app), “Standard,” Fast, or Ultrafast. The Steward, Direct messages, and each group save their speed separately. “New conversation” keeps that window’s speed unless you change it. Then pick one of two actions. “Switch” carries on the current conversation: with the same software it keeps the session and applies the new settings from the next turn; with other software, the new software starts a session that picks up from this window’s recent conversation, though work in the old session that never reached the conversation does not carry over. “New conversation” starts a fresh session on the chosen software and model and clears the current session’s context; you can also use it without changing anything. To clear the window’s messages as well, use “Clear conversation” at the bottom of the dialog. Groups offer only software the runner can start with read-only access, not desktop apps. Both actions affect only the current window and keep the conversation history, duties, settings and memory. A divider appears when the session actually changes. You can also change the model with the pencil on the member card, which works like “Switch”. For project access, select the level directly (Direct messages
|
|
112
|
+
- **Software, model, effort, and speed**: right-click the MOSS software row in the right sidebar or select “⋯”. The menu lets you change “Model”, “Effort”, “Speed”, and “Project access”. Each window offers the same access levels as “Members and settings”. Choose “Software and model” from the menu or from MOSS’s member card on the “Rooms” tab. Choose the software, model, and effort in the dialog. Where supported, set “Speed” to “Default” (follow the app), “Standard,” Fast, or Ultrafast. The Steward, Direct messages, and each group save their speed separately. “New conversation” keeps that window’s speed unless you change it. Then pick one of two actions. “Switch” carries on the current conversation: with the same software it keeps the session and applies the new settings from the next turn; with other software, the new software starts a session that picks up from this window’s recent conversation, though work in the old session that never reached the conversation does not carry over. “New conversation” starts a fresh session on the chosen software and model and clears the current session’s context; you can also use it without changing anything. To clear the window’s messages as well, use “Clear conversation” at the bottom of the dialog. Groups offer only software the runner can start with read-only access, not desktop apps. Both actions affect only the current window and keep the conversation history, duties, settings and memory. A divider appears when the session actually changes. You can also change the model with the pencil on the member card, which works like “Switch”. For project access, select the level directly (Direct messages offers any level its software supports, and groups apply the source rules above).
|
|
111
113
|
|
|
112
114
|
## Things to know
|
|
113
115
|
|
|
@@ -120,6 +122,6 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
|
|
|
120
122
|
- The “MOSS” section in “Analytics” shows task and project rooms created, work sent to existing rooms, rework, missing reports, work brought back to the main conversation, and run counts and durations. It also shows how often notification channels sent a queued-message acknowledgment.
|
|
121
123
|
- For terminal use, see [Command Line](cli.md#platform-steward).
|
|
122
124
|
|
|
123
|
-
Daily review in Experience appears in the MOSS duty list and can be removed there. After sleep, shutdown, or a service outage, it catches up only the latest missed review, with at most one run per calendar day in the schedule’s time zone. The brief goes through the duty’s delivery channel. For an unread review, select “Report” or “In MOSS” in “Experience”. The “Results of this review” section under the scheduled report shows whether each suggestion is checking, awaiting confirmation, or in conflict. Choose any of four review lenses: more interventions, went well, higher cost, or cited experience. The first two are selected by default. CoDiscuss picks up to six rooms in total. Rooms you pin are included in addition to those six, and their pins clear when the review is recorded successfully. A room cannot be both pinned and excluded. You can turn experience and workflow suggestions off independently. Each review looks back to the last successfully recorded review, up to seven days. The first review covers 24 hours. “Run review now” does not count toward the daily schedule.
|
|
125
|
+
Daily review in Experience appears in the MOSS duty list and can be removed there. After sleep, shutdown, or a service outage, it catches up only the latest missed review, with at most one run per calendar day in the schedule’s time zone. The brief goes through the duty’s delivery channel. For an unread review, select “Report” or “In MOSS” in “Experience”. The “Results of this review” section under the scheduled report shows whether each suggestion is checking, awaiting confirmation, or in conflict. Choose any of four review lenses: more interventions, went well, higher cost, or cited experience. The first two are selected by default. CoDiscuss picks up to six rooms in total. Rooms you pin are included in addition to those six, and their pins clear when the review is recorded successfully. A room cannot be both pinned and excluded. You can turn experience and workflow suggestions off independently. Each review looks back to the last successfully recorded review, up to seven days. The first review covers 24 hours. “Run review now” does not count toward the daily schedule. Scheduled reviews skip rooms summarized in the last seven days unless a new dispatch followed the summary or you pinned the room.
|
|
124
126
|
|
|
125
127
|
From the CLI, run `codiscuss launch experience review status|on|off|set|run`. For example, `codiscuss launch experience review set --workflow off --lenses smooth` looks for what went well without suggesting workflows. Set the schedule with `--at HH:MM` and `--timezone IANA`. If no time zone has been set, it uses the computer’s system time zone.
|
|
@@ -28,7 +28,7 @@ Rerunning setup replaces selected bundled workflows with the package versions. B
|
|
|
28
28
|
- Each card in the main workflow defines a role, including its description, member prompt, software, model, effort, and project access. Members already mapped to a card and present in the room keep their identity. Away members are invited back. Sub-workflow roles join when used. Workflow prompts are read-only in a room. Edit them on the Workflows page.
|
|
29
29
|
3. **Start with a workflow yourself, without the host** (no “Full host control” needed):
|
|
30
30
|
- **When creating a room:** In the new-room panel, open the “Workflows” row under “Who takes part” and pick one by category. Each of its cards is added as a member in the member area below (if the panel has no members yet, a host is added first), and members you added yourself stay. A project workflow also selects its project folder. Picking another workflow, or clearing it with the “×” beside it, removes only the members the last workflow added. After you click create, the room starts with this workflow enabled. If you later change the project folder, or remove a workflow member or switch it to manual, creating tells you why it cannot go ahead.
|
|
31
|
-
- **From the Workflows page:** In a card's “…” menu (or the editor's header bar on a desktop layout), choose “
|
|
31
|
+
- **From the Workflows page:** In a card's “…” menu (or the editor's header bar on a desktop layout), choose “Use in new room”. The new-room panel opens with that workflow already chosen. If the editor has unsaved changes, you are asked whether to discard them first. A paused or unreadable workflow, or one whose cards use software not set up on this computer, cannot start a room this way.
|
|
32
32
|
- **In a blank room:** While a room has no messages yet and no workflow in use, “Start with a workflow” appears below the room title, listing the workflows this room can use by category (workflows with the same name are marked “Global” or with their project name). A workflow without member cards is enabled right away; one with cards opens “Invite members,” where one confirmation invites the members and enables the workflow. Only people who can manage the room see it; MOSS rooms and archived rooms do not show it.
|
|
33
33
|
4. **Add new roles:** If you add cards to a workflow later, existing rooms do not add those members automatically. The host adds them when needed, or you can click the refresh icon on the workflow row in the right panel.
|
|
34
34
|
5. **Use a sub-workflow:** While a workflow is active, type / in the composer and choose an item under “Sub-workflows of ‘name’.” Send it to the host to run that procedure. Members used only by the sub-workflow are marked away when it is done. Their sessions are kept.
|
|
@@ -41,7 +41,7 @@ Select “Workflows” at the top of the sidebar to open its own page. Use “Ne
|
|
|
41
41
|
- **Ask the host in a room:** Enable “Full host control,” then describe the division of work you want. You can also type / and choose “Create / edit workflow” under platform skills. The host uses the skill to create SKILL.md, role cards, and a canvas, validates them, saves, and enables the workflow. By default, it saves to the room’s main project when there is one, or to the global library otherwise. Ask the host to save it globally if you plan to reuse it across projects.
|
|
42
42
|
- **Ask an AI in an external session:** In a Claude Code or Codex session with the CoDiscuss skills installed, ask it to create or edit a workflow with workflow-creator. It validates a folder with codiscuss launch workflow-check --dir <directory>. After you approve, it saves the workflow with codiscuss launch workflow-save --dir <directory>. If the library already has that ID, the save is refused unless it explicitly overwrites (--overwrite) or names the revision it read (--revision). For a project workflow, pass `--scope project --project <folder>` when validating and saving.
|
|
43
43
|
- **Where workflows are stored.** Global workflows are available across projects and live in `~/.codiscuss/workflows/<id>/`. A project workflow lives in `<project-root>/.codiscuss/workflows/<id>/` and is available in rooms that use that project folder. The Workflows page has filters at the top: “All”, “Global”, and each saved project that has workflows. The list is grouped by category (default order: Project, Development, Office, Business, 2D design, 3D design, Video editing, Writing, Entertainment; categories without workflows are not shown). Project workflows serve a single project and have no category; they are all listed under “Project”. Older global workflows without a category appear last, under “Unclassified”. The “Category order” button at the top right moves categories up or down; the order is saved on this computer and used on the Workflows page and wherever you pick a workflow in a room, which opens on the first category that has workflows. Each card shows a thumbnail of the canvas, the name, description, avatars for the software its experts use, sub-workflows, status, and where it belongs (“Global” or the project name). Hover over the avatars for the total expert count, including sub-workflows. Use the card menu to rename, disable, delete, export, move, or copy the workflow where applicable. The button left of “New” switches between card view and list view; list view shows one row per workflow without thumbnails, and the browser remembers your choice.
|
|
44
|
-
- **Choose where to save.**
|
|
44
|
+
- **Choose where to save.** The “New” menu has two entries: “New global workflow” and “New project workflow”; the latter opens your saved projects, where you pick one. It is greyed while you have no saved project. The global library belongs to the current account: a hosted account has its own global library and projects and cannot see other accounts’. “Import” saves to the global library by default. On desktop, a scope button at the right of the editor’s top bar shows “Global” or “Project · name”: open it to change where an unsaved workflow is saved; once saved it stays greyed, and a read-only project shows a lock icon. You can open workflows from read-only projects and copy them to the global library.
|
|
45
45
|
- **Move, copy, or export.** Open the project workflow’s “…” menu and choose “Move to global” or “Copy to global”. Moving requires a writable source, updates the current room’s binding, and is refused if the global library already has the same ID. Copying keeps the original. Use “Copy to current project” to copy a global workflow when there is one writable project. If several are writable, choose the matching “Copy to project ‘name’” action. Choose “Export” to download a ZIP. The export notice lists files skipped because they were too large or were not text.
|
|
46
46
|
|
|
47
47
|
### 4. The canvas and SKILL.md
|
package/docs/en/guide/working.md
CHANGED
|
@@ -11,7 +11,7 @@ Message a member or host, understand main and branch work and assignment labels,
|
|
|
11
11
|
- **Send without a mention.** The host routes messages without an `@` mention. If the room has only one member, the message goes directly to it. With smart scheduling enabled, a message clearly addressed to one member may go directly to that member.
|
|
12
12
|
- **Ask all members.** Type `@all` to have everyone present answer in parallel. If the room has a host, it first answers on its own like everyone else, then, once all answers are in, sums up where they agree and differ and arranges follow-up work if needed. Type `@all-seq` to have members answer in the order shown in the sidebar’s “Speaking order”.
|
|
13
13
|
- **Check the hint before sending.** The line under the composer says what sending will do, given who is busy right now: when the mentioned member is free it reads “Goes to … now, alongside the work in progress (a branch)”; when it is busy it says the message waits in the queue; with nobody mentioned while the room is busy, it suggests mentioning a free member to have it start right away.
|
|
14
|
-
- **Reply, search, and filter.** Use “Reply” in a message menu to link a reply to the original. Clicking a `#number` anywhere (in messages, the brief, executions or the event log) jumps to that message in the conversation; click “Back to where you were” to return. A number from another room opens that room at the message; click “Back to “room name”” at the bottom to return to the room and place you jumped from, or click × to dismiss the prompt and stay in the current room. At the top of the room, “Filter messages and cards” filters by user, host, member, or card type.
|
|
14
|
+
- **Reply, search, and filter.** Use “Reply” in a message menu to link a reply to the original. Clicking a `#number` anywhere (in messages, the brief, executions or the event log) jumps to that message in the conversation; click “Back to where you were” to return, or the × beside it to dismiss the prompt and stay put. A number from another room opens that room at the message; click “Back to “room name”” at the bottom to return to the room and place you jumped from, or click × to dismiss the prompt and stay in the current room. At the top of the room, “Filter messages and cards” filters by user, host, member, or card type.
|
|
15
15
|
- **Find in a room.** The find box at the top of the room (`Ctrl+F` opens it) searches message text and `#numbers`, the progress and failure reasons on run cards, and attachment names; private chats and withdrawn messages are not searched. Its three switches are “Match case”, “Match whole word” and “Use regular expression”. To the right it shows which match you are on out of how many; `Enter`, `Shift+Enter` or the up and down arrows step through them. Every match is marked and the current one is darker. “Show only matches” uses the same words and switches to narrow the message list to the messages with a match (including ones matched only on a run card or an attachment name); `Esc` or × clears it and closes the find box. The find box stays folded into one search button at the top of the room; click it or press `Ctrl+F` to open it over the tab bar. × or `Esc` clears and closes it, and clicking elsewhere does not close it while it has search words. On a phone there is no separate search button: tap the filter button at the top right and choose the first item, “Search messages”, to open the find box; the filter button stays highlighted while there are search words.
|
|
16
16
|
- **Search all rooms.** Turn on the fourth switch in the find box (the layers icon; its tooltip names the current scope: on is all rooms, off is this room), or press `Ctrl+Shift+F` to open the find box on all rooms, and the same words and switches search the collaboration rooms and MOSS on this computer, archived rooms included (external rooms are not on this computer and are not searched). The results float under the find box, grouped by room with the room name and match count in each heading; each shows the author, the time and the words around the match, and the list scrolls when it is long. “Sort” at the top of the list switches between “Relevance” (rooms whose name matches come first, then rooms with more matches, each room's results in time order) and “Recent activity” (rooms and their results newest first, each room listing its newest 50); switching searches again at once, and the order is not remembered either. The count is the number of results you can step through, with + after it when some room was cut short. Clicking a result opens the room it is in, shows it there and closes the list; `Enter` or the up and down arrows then step on to the next result, opening its room when it is in another one, with the switch staying on. `Esc` first closes the list, and a second press clears the search and closes the find box; clicking back in the find box, or changing the words or a switch, opens the list again. Each room lists at most 50 results; when there are more, click “… more in this room” under it to open that room, back in this-room scope with the same words, and step through all of them there. The scope switch is not remembered: the page opens on this room next time.
|
|
17
17
|
|
package/docs/guide/admin.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
- **“存储”页**:
|
|
21
21
|
- 查看本机 `.codiscuss` 数据总量(上限 10 GiB,不含语音模型)、全机草稿区占用(上限 3 GiB,单房间 1 GiB)、**房间记录与附件(`local/`)**占用、所在磁盘剩余空间与安全线,以及按房间与成员拆分的草稿占用和权限不可读条目计数;本机朗读与语音识别模型单独列出,不计入 10 GiB 上限(兼容旧目录与自定义模型目录,服务根目录为目录联接时也可正常计量)。
|
|
22
22
|
- 当 `.codiscuss` 数据达到 8 GiB 预警线时,“存储”标签显示提示圆点并弹出警告;超过上限或磁盘低于安全线时停止新的派活。总量分为五个具名目录和“其他”。“安全清理”回收已登记的失败执行临时目录、朗读缓存、无主空目录和仅剩登记文件的过期启动目录,以及本机站点已结束超过 24 小时的执行文件。清除朗读缓存后,用云端语音重听旧内容会重新合成并计费。“深度修理”打开弹窗预估可释放的容量并列出会保留的内容,确认后删除含最近一天在内的已结束执行日志。
|
|
23
|
-
-
|
|
23
|
+
- “房间附件”按占用从大到小列出各房间。勾选房间可一次选中其全部附件,也可展开后按类型或单个附件选取。可以跨房间勾选,收起不丢选择。核对底部预计释放空间后,点“清理所选附件”,在确认框里核对各房间的清理范围。只清理已发送附件的原件,保留房间与消息。
|
|
24
24
|
- “附件缓存”是成员读取云空间附件时下载到这台电脑的副本,显示占用与上限(默认 20 GiB),单独计算、不计入 10 GiB 数据上限,超过上限时按最久未用自动清理。点“清空”并确认后删除这些副本:只清掉本机下载的副本,云空间里的原件不受影响;正在使用的文件会跳过,成员下次需要时会重新下载。命令行为 `codiscuss admin storage cache [clear] [--account NAME]`。省略 `--account` 操作本机管理员缓存。
|
|
25
25
|
- 点“让平台主理人分析占用”,或运行 `codiscuss admin storage analyze`,可盘点本账号的成员草稿、运行日志、工作流备份、房间附件和本机语音模型。结果在[平台主理人](steward.md)对话查看。默认不删除,清理前须逐项确认,不扫描整个磁盘。
|
|
26
26
|
- **超限脱困与边界**:若全机限制已拦住主理人,先从管理面板查看占用并释放空间。房间记录不会自动删除;附件可单独清理,销毁旧房间前请先导出备份。沙箱创建的不可读目录不计入配额,页面会标出数量;所有限额均为定期采样检查(有执行时每 2 秒查磁盘余量、每 30 秒扫描占用),并非文件系统写入层硬拦截,不能保证磁盘绝不写满。
|
|
@@ -119,7 +119,7 @@ Windows 可以从托盘打开面板。macOS 和 Linux 的命令行入口见下
|
|
|
119
119
|
3. **配置外网入口(二选一或同时开启)**:
|
|
120
120
|
- **自建中转(无需自己的域名)**:先按[部署指南](../deployment.md#托管账号的入口可选)部署好入口 Worker;在部署电脑的“概览 → 本机 → 自建中转”生成接入码后,在这台电脑的管理面板“概览 → 本机 → 自建中转”绑定并打开“托管账号入口”里的“自建中转”(命令行一步完成:`codiscuss admin entry join <接入码>`)。
|
|
121
121
|
- **Cloudflare 隧道**:在“托管账号入口 → Cloudflare 隧道”点配置,按提示授权 Cloudflare 隧道并绑定托管在 Cloudflare 上的域名(命令行 `codiscuss admin entry tunnel <域名>`)。更改代理或网络设置后,点“重新连接”或运行 `codiscuss admin entry tunnel reconnect` 让隧道使用新路由。隧道持续 3 分钟连不上 Cloudflare 时,管理面板会自动重启它。切换时访问可能短暂中断,已登录的客户保留会话。
|
|
122
|
-
4. **管理账号**:在托管账号页面可以启动/停止实例、停用/启用账号、重设密码、删除账号、配置由管理员提供的 API
|
|
122
|
+
4. **管理账号**:在托管账号页面可以启动/停止实例、停用/启用账号、重设密码、删除账号、配置由管理员提供的 API 密钥,并复制登录地址与账号发给对方。邀请外部专家需要该实例具备可用的线上中转入口。面板每分钟检查已要求运行的实例,端口拒绝连接时自动重启,10 分钟内最多 3 次。达到上限仍失败时,账号行显示最后原因,`codiscuss admin status` 可查最近一次尝试。修好原因后手动启动可恢复巡检。
|
|
123
123
|
|
|
124
124
|
### 把已有账号的项目数据迁到另一块盘
|
|
125
125
|
|
|
@@ -133,6 +133,12 @@ Windows 可以从托盘打开面板。macOS 和 Linux 的命令行入口见下
|
|
|
133
133
|
|
|
134
134
|
- **托管服务目前只能在 Windows 上开启。** 在 macOS 和 Linux 上,面板的“托管服务”开关置灰,`codiscuss admin hosting on` 会拒绝。管理面板的其他功能可以先运行 `codiscuss panel start` 启动后台,再用 `codiscuss admin` 命令管理。
|
|
135
135
|
|
|
136
|
+
### 管理 API 密钥
|
|
137
|
+
|
|
138
|
+
在“账号”页选中管理员或托管账号,在“API 密钥”区块添加、查看、修改或删除密钥。“密钥详情”只显示地址、类型、用途、提供者、修改时间和尾号,不显示明文。托管账号的网页只显示“管理员提供”,不显示密钥明文,也不能在网页上更换。该账号运行的 AI 仍可从本机密钥文件读取明文。同一地址保存多把密钥时,轮换不会改变默认选用的密钥。
|
|
139
|
+
|
|
140
|
+
“修改密钥”保留编号,填写新密钥即可替换,现有引用不用改。没有被引用的密钥可以修改接口地址。仍在使用的密钥不可直接改地址,要迁移请先为新地址添加密钥,再到对应设置中切换。S3 密钥通过“前往存储”到“存储”页修改。删除前会列出已记录的房间成员、云空间和其他引用,删除不存在的编号会报错。
|
|
141
|
+
|
|
136
142
|
## 经 SSH 用命令行管理(`codiscuss admin`)
|
|
137
143
|
|
|
138
144
|
`codiscuss admin status` 会比较这台电脑与直接连接的自托管站点的版本。站点较旧时会给出更新指引,读不到版本时显示“无法读取”。绑定式 Cloudflare 站点不参与这项比较。
|
|
@@ -147,13 +153,16 @@ Windows 可以从托盘打开面板。macOS 和 Linux 的命令行入口见下
|
|
|
147
153
|
| 查看存储占用与清理临时文件 | `codiscuss admin storage`、`storage clean`、`storage repair`(预览)、`storage repair logs --confirm` |
|
|
148
154
|
| 让平台主理人分析占用 | `codiscuss admin storage analyze` |
|
|
149
155
|
| 按房间查看与清理附件 | `codiscuss admin storage attachments`(各房间占用)、`storage attachments ROOM`(列出附件)、`storage attachments ROOM clear ID... --confirm` |
|
|
156
|
+
| 批量清理多房间附件 | `codiscuss admin storage attachments clear-batch --file FILE --confirm`。先列出各房间附件,用明确的 ID 写入 JSON,例如 `{"rooms":[{"room_id":"ROOM","ids":["ID"]}]}`。结果按房间返回。 |
|
|
150
157
|
| 绑定/解绑自建中转、生成接入码 | `codiscuss admin site status`、`site connect <接入码\|站点>`、`site disconnect`、`entry code` |
|
|
151
158
|
| 托管入口与隧道 | `codiscuss admin entry start\|stop`、`entry join <接入码>`、`entry open\|close relay\|tunnel`、`entry tunnel <域名>`、`entry tunnel reconnect` |
|
|
152
159
|
| 托管账号生命周期 | `codiscuss admin account list`、`account add <名>`、`account start\|stop\|disable\|enable\|remove\|password <名>`、`account isolate\|protect <名>`、`shell <名>` |
|
|
153
|
-
| 登录、密钥、技能与提示词 | `codiscuss admin login status <对象>`、`key add <对象> --base-url … --key
|
|
160
|
+
| 登录、密钥、技能与提示词 | `codiscuss admin login status <对象>`、`key add <对象> --base-url … --key-file <文件>`、`skill official`、`skill install <对象> <技能> [--source official\|library]`、`skill install <对象> --group <组名>`、`workflow install <对象>`、`workflow update <对象>`、`prompt set <对象> --file …` |
|
|
154
161
|
|
|
155
162
|
注:`<对象>` 填 `owner` 代表管理员自己,填托管账号名代表对应托管账号。`account add` 中途失败时,解决问题后重跑同一命令会自动从缺少的步骤续做。
|
|
156
163
|
|
|
164
|
+
查看密钥详情用 `codiscuss admin key show <对象> <编号>`。修改用 `codiscuss admin key edit <对象> <编号> --key-file <文件>` 或 `--base-url <地址>`,至少提供一项。添加和修改均可用 `--key-file -` 从标准输入读取,避免把密钥明文写在命令行里。删除用 `codiscuss admin key remove <对象> <编号>`。
|
|
165
|
+
|
|
157
166
|
## 要注意什么
|
|
158
167
|
|
|
159
168
|
- **`admin stop` 不停托管实例**:`codiscuss admin stop` 会彻底退出面板、托盘图标、登录入口、隧道和管理员共议服务,但已启动的托管账号实例照常运行;要停某个托管实例用 `codiscuss admin account stop <名>`。
|
package/docs/guide/members.md
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
- **改模型与思考强度**:新建房间或邀请时在成员卡背面设置;已有房间在顶部“房间”页 → “成员与设置”里找到该成员,调整模型、思考强度,或点“刷新列表”重新读取模型列表(更改从下一次执行生效)。弹窗的滑条会标出可选档位并高亮当前档,“默认”表示由软件决定;不能调整时会在同一位置说明原因。支持速度档位的软件(如 Codex CLI)可在同一处调整“速度”(“默认”“标准”“Fast”“Ultrafast”;所选模型不支持的档位置灰,切模型会自动清空不兼容的档位,“恢复默认”回到软件原生设置)。App 接入的成员在原 App 聊天里选模型与强度,网页不覆盖。支持切换入口的软件也可在这里切换 CLI 与 App。由手动接入转为本机唤醒的成员,“接入”后会标“接管已有会话”:它的项目权限沿用原会话,模型与思考强度同样可以在这里改;但它自己的窗口开着时,任务会直接发进那个窗口,用的是窗口里的模型,关掉窗口后才按这里的设置运行。改过还没用上时,模型一栏在上次实际所用的模型后标“(设置为 …,下次生效)”或“(设置为 …,它自己的窗口关闭后生效)”。
|
|
55
55
|
- **改显示名与分工描述**:右栏 → 成员菜单 → “名称与描述”(建房或邀请时点成员卡的名称与描述按钮,可翻面的卡片在背面设置),修改房间里的“显示名称”和分工说明。在房间里还有更快的入口:双击右栏或“成员与设置”页里的成员名称直接改名(Enter 或点别处保存,Esc 取消)。右栏的成员行不显示描述:鼠标指向某位成员,左侧浮出它的成员卡片,显示描述,并可点“编辑名称与描述”;手机、平板上点一下成员行,弹出的菜单顶部显示描述。编辑框里可点常见分工快速填入。分工说明会发给主持人和智能调度,帮助更准确地派活,也可存为该软件的默认描述。
|
|
56
56
|
- **设专属提示词**:建房或邀请时翻开成员卡,点背面的“专属提示词”按钮;已在房间里的成员,在顶部“房间”页 → “成员与设置”里找到该成员,点卡片下方的“专属提示词”按钮。写下只发给这位成员的要求(例如“回答先给结论”),从下一次唤醒起生效。专属提示词不改变权限;来自工作流的成员只读,要到工作流里改。手动启动和外部成员没有专属提示词。
|
|
57
|
-
-
|
|
57
|
+
- **给主持人、所有成员或某个平台写提示**:都在左栏 MOSS 下方的“经验”页(原“设置 → 系统提示词”已移到这里,设置里只留一行“已移到经验”的跳转)。页面下方五个标签:“预览”选一个对象(某模型的主持人或某平台的成员),按程序实际发送的顺序列出它读到的各段,每段标明来源,点右上角跳到对应位置去改,房间里选的主持策略、成员卡片上的提示和工作流另算;“主持人”是给主持人的经验(调度策略),添加、编辑、启停、删除,新增和修改先交 MOSS 检查,你手写的原文通过且未被改写会自动生效,AI 建议、改写和合并仍须确认,总计最多启用 20 条,每条最多 4000 字,“n 次派活引用”点开列出引用过它的派活;“成员”里“所有成员”一段发给本机唤醒的全部成员,各平台一段(Claude、Codex、Gemini 等)发给用该平台的全部成员,包括同平台的主持人、预设和工作流里的专家,点“添加”选对象,“⋯”里可“编辑”“清空”;“内置”见下一条;“记录”是复盘记录。派活卡“派活依据”一行可点进对应经验,点“这条不对”可提交修改。这些提示排在专属提示词之前,从下一次唤醒起生效;不修改各软件自己的 CLAUDE.md、AGENTS.md。命令行用 `codiscuss launch prompts`(`preview` 查看预览)。
|
|
58
58
|
- “经验”页顶部是 MOSS 的“每日复盘”卡:显示每天几点、上次复盘的时间和结果(最近一次没跑成或还在等 MOSS 写回时,改为用橙色写明时间和原因),点头像或“和 MOSS 聊”打开 MOSS,点“上次……”跳到那次汇报,齿轮里开关“每日复盘”;点“时间”右侧的大号时刻在原处展开滚轮,再点一次收起并保存,不需要另点保存(按“设置”里的显示时区计算,下方写明当前时区)。“看什么”里可开关“介入多的”“做得好的”“花得多的”“用过经验的”四个角度(至少留一个,程序按派活记录挑房间,合计最多 6 个);“指定的房间”下次复盘一定看、看过就清掉,也可以在房间菜单里点“加入下次复盘”;“不看的房间”里勾选要跳过的房间;“提什么”里分别开关“经验”和“工作流”(至少留一个);“立即复盘”马上跑一次,不占当天的定时。每项改完即保存,关掉定时后这些设置仍对“立即复盘”生效。没配置 MOSS 时这里显示“配置 MOSS”。MOSS 每天复盘你介入较多的房间。
|
|
59
59
|
- 主持人回答下出现“想记下”时,点“去做”把原话交给 MOSS 检查,点“不用”忽略。回交前会显示“检查中”,有结果后从原处点进“经验”。工作流意图仍由主持人准备。
|
|
60
60
|
- 在“待你确认”展开待确认的经验,查看修改前后或点“查看整理稿全文”,再点“生效”。若显示“有冲突”,查看新旧原文和冲突场景,然后选“替换”“都保留”或“放弃”。选“都保留”时,写明各自的适用场景并点“提交检查”。“检查失败”时可点“重试”。没配置 MOSS 时条目显示“未检查”,手写条目可点“启用”,生效后标记“未经整理”。
|
|
@@ -62,9 +62,10 @@
|
|
|
62
62
|
- 每日复盘按组显示。点组标题或摘要在原处展开报告,点右侧的跳转图标(“MOSS 记录”)到原汇报。每条待确认的经验下方一行,左边是“新增”等标签,右边是“生效”和“⋯”。
|
|
63
63
|
- MOSS 的定时复盘汇报下方有“本次产出”。每项显示内容和当前状态,点整行打开对应条目。
|
|
64
64
|
- 停止、撤回或回退后,如果卡片显示“补记原因”,可点开填写。在派活卡的“更多操作”菜单里选“补充撤回或改派原因”。原因选填,保存后可在原卡片看到,再点同一入口即可修改。
|
|
65
|
+
- 在房间输入“/”,选择“总结经验”。可加方向,只总结这个方向。主持人最多提五条,房间回答只列条数、类别和确认链接。建议先经 MOSS 检查,再到经验页“待你确认”处理。调度经验可新增、修改或删除。明确截止时间的短期经验到期自动停用,记录仍保留。确认房间策略建议会追加到对应房间,工作流建议确认后到工作流页处理。
|
|
65
66
|
- 命令行用 `codiscuss launch experience list` 查看,`add|edit --file FILE` 读取含 `text` 的 JSON;`edit|remove|enable|disable|accept|reject` 用 `--id ID` 指定条目或建议。`launch prompts get/set host` 仅操作旧提示词迁移的全局条目。新增和编辑先交 MOSS 检查;`launch experience list` 可查看待入库状态。只有未配置 MOSS 时,房主才可用 `launch experience direct-enable --id ID` 明确启用自己写的待入库条目,AI 建议不能走这一步。
|
|
66
|
-
-
|
|
67
|
-
-
|
|
67
|
+
- **管理主持模型规则**:经验页“内置”标签的“主持规则”列出程序给各模型主持人的规则,可开关,“⋯”里可“编辑”“重置”(改过的标“已改”)、“另写一条”;“另写一条”写的是你自己的规则,放在“主持人”标签最下面的“按模型”一组,可开关、编辑、删除。“固定规则 · 只读”是程序给各软件固定附加的规则,点开可看原文。规则保存在本机,已配对设备也可管理,从匹配模型的主持人下一次执行起生效,包括该模型的思考强度变体。请回成员时,若本机软件上次成功读取的模型目录未列出该模型,请先刷新目录或换成可用模型,再请回。
|
|
68
|
+
- **设定房间的主持策略**:经验页“主持人”标签里的经验适合写长期的模型搭配与选人偏好;若想按房间单独控制推进节奏与审查投入,可在新建房间“协作方式(可选)”或已有普通房间“房间”页 → “协作设置”的“主持策略”一行选择内置的“均衡”“求快”“深入”“省 Token”四档,或选用自己保存的本机个人策略(默认“均衡”直接沿用全局主持人提示词)。点右侧“编辑”可为当前房间临时自定义,也可在编辑区“存为个人策略”跨房间复用,展开态下点个人策略胶囊上的“×”即可删除;修改或删除个人策略不影响已在运行中的房间。主持策略只能由房主修改,从主持人下一次接活起生效、不打断进行中的执行,已配对设备与本机对等可用。命令行用 `codiscuss room host-strategy` 与 `codiscuss launch strategies`。
|
|
68
69
|
|
|
69
70
|
使用 Fast 或 Ultrafast 时,专家卡片、房间成员卡片和右栏会显示对应的闪电徽章。继承软件默认并启用加速时也会显示。
|
|
70
71
|
|
package/docs/guide/rooms.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
- 点“添加 AI”加入成员,点卡片上的皇冠指定主持人。
|
|
16
16
|
- 按需配置下方的“智能调度”、“生图”(添加“OpenAI Images”卡片并填地址、API Key 和图片模型;点卡片背面的闪电按钮可检查地址、密钥与模型,不生成图片、不计费)以及“联网搜索”(可填所有房间共用的 DeepSeek API Key,供 API 成员搜索网页和在本机抓取失败时兜底。DeepSeek 成员优先使用自己的 Key。没有可用 Key 时仍可从本机匿名读取公开网页。DeepSeek 按有结果的请求计费)。
|
|
17
17
|
3. **“协作方式(可选)”**
|
|
18
|
-
- 在“主持策略”中选择本房间的推进节奏与投入:内置“均衡”“求快”“深入”“省 Token
|
|
18
|
+
- 在“主持策略”中选择本房间的推进节奏与投入:内置“均衡”“求快”“深入”“省 Token”四档(默认“均衡”,沿用经验页“主持人”标签中的全局配置),也可直接选用你保存的本机个人策略,或点右侧“编辑”临时自定义、存为个人策略。策略只在当前房间生效,切换后从主持人下一次接活起生效。
|
|
19
19
|
- 在“创建后”选择“不开启”、“开启讨论”或“开启 Goal”。
|
|
20
20
|
4. **展开“高级设置”**:按需勾选“主持人完整权限”,允许主持人自行管理成员、重试或打断执行、开启讨论与 Goal 及保存工作流,不想全部放开时展开“具体权限”只勾选需要的几项;调整“连续派活上限”(默认 10 轮,可设 1–100 轮或不限;选过“不限”不会自动带入下一次新建房间)、“API 请求上限”和“自动销毁”(见下文)。
|
|
21
21
|
- 展开“高级设置”下方默认收起的独立区块**“本机房间偏好”**,即可调整本机全局偏好(修改即时生效,不随房间模板保存或覆盖),包括**“主持人默认权限”**(新建房间时第一位加入的成员默认的项目权限,软件不支持时为只读;需连接本机服务)和**“关联房间互传上限”**(本机所有关联房间共用,也在本机已登记的普通房间的“房间”页“协作设置”提供同一入口)。
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
|
|
32
32
|
### 2. 管理左栏目录、文件夹与存档
|
|
33
33
|
|
|
34
|
+
- **搜索房间**:点“协作房间”标题旁的放大镜(电脑上鼠标移到标题上才显示),输入房间名的一部分,或用拼音、拼音首字母找中文标题(如 `ksfj` 找“快速房间”)。折叠文件夹和子房间也能搜到,已存档的房间不在此处搜索。目录直接只留下匹配的房间(子房间连同上级一起显示),点房间或按回车进入第一个匹配的房间,按 `Esc` 或点“×”关闭搜索、恢复完整目录。
|
|
35
|
+
|
|
34
36
|
- **显示时区**:到“设置 → 外观 → 显示时区”选择。默认“跟随系统”,也可从精选常用时区中选择,例如“GMT+8 · 北京、上海”。支持按中英文城市、常用别名、IANA 时区名或 GMT 偏移搜索。列表外的旧偏好仍然保留。选择保存在当前浏览器的这个站点,立刻更新消息日期、额度重置与统计时间。已有房间名不变,MOSS 定时汇报仍按宿主机时区运行。
|
|
35
37
|
|
|
36
38
|
- **排序**:点目录右上角选项,在“手动排序”(拖动或用上下方向键调序)和“最近发言”之间切换。按“最近发言”排序时,指针或键盘焦点离开目录后,现有房间才自动重排。新建房间仍立即显示在所属分组顶部。
|