ai_co_discuss 0.6.9 → 0.6.11
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/README.md +2 -2
- package/backend/schema.sql +6 -0
- package/backend/server.py +29 -4
- package/docs/THIRD_PARTY_NOTICES.md +2 -0
- package/docs/en/deployment.md +1 -1
- package/docs/en/guide/admin.md +17 -8
- package/docs/en/guide/discussion.md +2 -2
- package/docs/en/guide/external-members.md +5 -5
- package/docs/en/guide/faq.md +2 -2
- package/docs/en/guide/first-run.md +1 -1
- package/docs/en/guide/goal.md +1 -1
- package/docs/en/guide/members.md +6 -4
- package/docs/en/guide/rooms.md +9 -7
- package/docs/en/guide/scheduling.md +1 -1
- package/docs/en/guide/steward.md +9 -7
- package/docs/en/guide/workflows.md +3 -3
- package/docs/en/guide/working.md +4 -4
- package/docs/guide/admin.md +12 -3
- package/docs/guide/members.md +7 -5
- package/docs/guide/rooms.md +4 -2
- package/docs/guide/steward.md +9 -7
- package/docs/guide/workflows.md +2 -2
- package/docs/guide/working.md +1 -1
- package/frontend/locales/en/admin.json +31 -9
- package/frontend/locales/en/analytics.json +9 -11
- package/frontend/locales/en/app.json +6 -6
- package/frontend/locales/en/core.json +11 -7
- package/frontend/locales/en/discussion.json +10 -7
- package/frontend/locales/en/external.json +13 -13
- package/frontend/locales/en/room.json +31 -29
- package/frontend/locales/en/settings.json +64 -9
- package/frontend/locales/en/steward.json +21 -5
- 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 +260 -28
- 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 +109 -16
- package/runner/i18n_en.mjs +50 -3
- package/runner/moss_windows.mjs +21 -11
- package/runner/steward.mjs +62 -10
- package/runner/steward_proactive.mjs +37 -5
- package/runner/tts.mjs +7 -5
- package/skills/forum-browsing/SKILL.md +1 -1
- package/skills/forum-browsing/references/setup.md +17 -1
- package/skills/forum-browsing/scripts/check.py +26 -15
- package/skills/forum-browsing/scripts/xhs.py +3 -2
- 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 +2 -2
- package/web/i18n.js +5 -5
- package/web/icons/codebuddy.svg +38 -4
- package/web/join.html +1 -1
- 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. **写简报。**
|
|
39
|
+
6. **写简报。** 用 `action: "record"`、主理人窗口的 `room_id`、本次触发消息的 `message_id` 和简报 `text` 记录。卡片取第一行,第一行只写一句结论,例如“提了 2 条经验”或“没有需要调整的地方”,不写标题、范围或统计。从第二行起,范围照抄 `review_context.display_from` 和 `display_to`,不引用 ISO 字段或自行换算时区;样本数和支持结论的案例另行写,每项说清是什么、几处依据、成品在哪,附经验页链接。入选房间、角度、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/README.md
CHANGED
|
@@ -59,7 +59,7 @@ codiscuss setup
|
|
|
59
59
|
|
|
60
60
|
1. Click **New Room** and add AI members.
|
|
61
61
|
2. Pick a host with the crown icon, and optionally set a project directory.
|
|
62
|
-
3. Under **After creation**, optionally select **Start
|
|
62
|
+
3. Under **After creation**, optionally select **Start discussion** or **Start Goal** and enter the objective.
|
|
63
63
|
4. Create the room and say what you need, or `@` a member.
|
|
64
64
|
|
|
65
65
|
<details>
|
|
@@ -147,7 +147,7 @@ flowchart LR
|
|
|
147
147
|
- **Room site** — Stores room records and checks messages, member credentials and turns. The default site runs at <http://127.0.0.1:8765> on your computer. A self-hosted server stores the records there instead. Large attachments may use cloud storage if configured. The site does not run models or store API keys.
|
|
148
148
|
- **Runner**: when a room needs an agent, it wakes that agent through the supported software, or calls the model API you configured; requests from your phone through the self-hosted relay are passed on to the local site by it too. API keys are stored on the connected computer.
|
|
149
149
|
- **Members** read and post with their own credentials. Local AI tools use the `codiscuss` CLI, and API members use structured room tools. Bundled skills guide hosts and participants.
|
|
150
|
-
- **Feedback to the developers**: only when you click "Save
|
|
150
|
+
- **Feedback to the developers**: only when you click "Save & send" or "Send feedback" does the browser send it to the official service `share.codiscuss.com`, with the version, system and names of the software you set up. A correction to a host dispatch or a smart-scheduling decision also carries the original text of the messages that decision saw at the time; you can unfold it before sending. Images and videos added to "Send feedback" are uploaded too. Scheduling ratings are saved locally first. Choosing to send one to the developers also sends the listed information.
|
|
151
151
|
|
|
152
152
|
To use it from your phone away from the computer, see [Deployment](#deployment) below. Details: [Architecture](docs/en/architecture.md).
|
|
153
153
|
|
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
|
|
@@ -8379,6 +8400,10 @@ class DiscussionHandler(BaseHTTPRequestHandler):
|
|
|
8379
8400
|
if self.has_explicit_room_token:
|
|
8380
8401
|
with closing(connect_db(self.server.database)) as connection:
|
|
8381
8402
|
require_owner(connection, payload.get("room_id", ""), self.headers.get("X-Discussion-Token", ""))
|
|
8403
|
+
if command == "settings" and isinstance(payload.get("experience"), dict) and payload["experience"].get("action") == "expiry":
|
|
8404
|
+
if self.has_explicit_room_token or self.read_only_request() or any(self.headers.get(header) is not None for header in
|
|
8405
|
+
(ACTING_MEMBER_HEADER, PROPOSAL_ACTING_MEMBER_HEADER)):
|
|
8406
|
+
raise PermissionError(Text('需要管理员登录'))
|
|
8382
8407
|
payload.pop("_local_paths", None)
|
|
8383
8408
|
payload.pop("attachment_file_name", None)
|
|
8384
8409
|
if command == "room-files" and self.can_open_local_files():
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
品牌名称与标志归相应权利人,使用仅用于识别参与者,不表示官方合作、认可或背书。`user.svg` 为项目自绘的指纹图形,使用根目录 MIT License。
|
|
10
10
|
|
|
11
|
+
`codebuddy.svg` 使用腾讯 [WorkBuddy Code CLI 官方文档](https://www.workbuddy.ai/docs/cli/README) 页首标志的图形部分。The icon uses the symbol from the official WorkBuddy Code CLI documentation header.
|
|
12
|
+
|
|
11
13
|
## npm 依赖与构建产物
|
|
12
14
|
|
|
13
15
|
PDF 站内预览使用 [Mozilla PDF.js](https://github.com/mozilla/pdf.js) 的 `pdfjs-dist 6.4.299`,遵循 Apache-2.0;完整许可证随 [web/pdfjs/LICENSE](../web/pdfjs/LICENSE) 分发。CMap、标准字体、ICC 与 WASM 解码器的独立许可证保留在 `web/pdfjs/cmaps/`、`standard_fonts/`、`iccs/`、`wasm/` 中。构建只复制所需运行文件及这些许可证,不使用远程 CDN。
|
package/docs/en/deployment.md
CHANGED
|
@@ -245,7 +245,7 @@ It gets its own `workers.dev` address (such as `https://codiscuss-entry.<account
|
|
|
245
245
|
"vars": { "ENTRY_URL": "https://codiscuss-entry.<account-subdomain>.workers.dev" }
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
To connect a hosted computer: in the admin panel of your computer (the one that deployed the online site), go to **Overview → This computer → Self-hosted relay**, choose **Generate access code**, fill in the deployment config path and online site address, and generate it (wrangler must be signed in; the code is single-use, and generating a new one voids unused ones). Send it to the hosted computer, paste it under **Overview → This computer → Self-hosted relay → Bind** there, then turn on **Self-hosted relay** under **Sign-in entry → Hosted
|
|
248
|
+
To connect a hosted computer: in the admin panel of your computer (the one that deployed the online site), go to **Overview → This computer → Self-hosted relay**, choose **Generate access code**, fill in the deployment config path and online site address, and generate it (wrangler must be signed in; the code is single-use, and generating a new one voids unused ones). Send it to the hosted computer, paste it under **Overview → This computer → Self-hosted relay → Bind** there, then turn on **Self-hosted relay** under **Sign-in entry → Hosted access**; it fetches the entry address and starts what it needs (an enabled Cloudflare Tunnel is unaffected and both can be on; `codiscuss admin entry join <code>` does all of this in one step). Hosted accounts can invite external experts by default: through your own domain when it is on, otherwise the panel binds each account to the online site for you; no access code is needed. The link the panel shows carries the computer's ID (`?m=…`); send it to the users. Their requests reach this computer's sign-in entry through the entry Worker and the relay, while sign-in, sessions and entry protection all stay on the computer. Cloudflare can see this traffic (as with a tunnel on your own domain), and every page request counts against the free Workers quota.
|
|
249
249
|
|
|
250
250
|
## Troubleshooting
|
|
251
251
|
|
package/docs/en/guide/admin.md
CHANGED
|
@@ -15,12 +15,12 @@ Use the local management panel or the corresponding codiscuss admin commands to
|
|
|
15
15
|
To pair through your reverse proxy, choose **Other access addresses** on the same row and add its HTTPS origin. See [Reverse proxy on your own domain](remote.md#reverse-proxy-on-your-own-domain).
|
|
16
16
|
|
|
17
17
|
On the right of Overview → This computer → Self-hosted relay, pick the region in the Relay region dropdown. The default is Asia Pacific. This setting applies to administrator access, hosted account sign-in through the relay, and external expert invitations. Automatic creates the object near the first party to connect, usually the computer’s network exit. Its location stays fixed after creation. Other values are location hints. After the service syncs the change, the computer and paired devices reconnect automatically. Run `codiscuss admin site region` to inspect the setting or `codiscuss admin site region weur` to select Western Europe.
|
|
18
|
-
- **Hosted
|
|
19
|
-
- **Settings:** View the installed version, select **Check
|
|
18
|
+
- **Hosted access** (shown when hosting is enabled): Start or stop the **Sign-in entry**, enable **Self-hosted relay**, or configure the **Cloudflare Tunnel**.
|
|
19
|
+
- **Settings:** View the installed version, select **Check updates** or **Update and restart** (which also updates room skills and isolated accounts). If the installed version has a problem, select **Versions**, pick one of the latest 10 published versions (the previous one is preselected) and select **Install and restart** to go back. An older version may not understand data written by a newer one; if anything goes wrong after going back, update to the latest version again, enable **Start when signing in to Windows** and **Hosting** (see step 1 of “Set it up” below), and change the panel language. Under “Language · 语言”, pick “Display time zone” to update the panel’s times immediately. The panel and the room site keep separate preferences because they use different addresses.
|
|
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.
|
|
@@ -109,7 +109,7 @@ On Windows, open the panel from the tray. On macOS and Linux, use the command-li
|
|
|
109
109
|
1. **Install the components and turn on hosting:**
|
|
110
110
|
- First run `codiscuss setup --hosting`, or select **Install hosting components** under **Installation settings** in `codiscuss setup`. This only installs the components; it does not turn hosting on.
|
|
111
111
|
- Then turn on the **Hosting** switch under **Overview → Settings** in the admin panel, or run `codiscuss admin hosting on`. A confirmation appears first: the local site restarts, active runs are interrupted and resume automatically after the restart.
|
|
112
|
-
- Once on, the **Account** page lists hosted accounts and **New account**, and Overview shows **Hosted
|
|
112
|
+
- Once on, the **Account** page lists hosted accounts and **New account**, and Overview shows **Hosted access** and **Program copies**.
|
|
113
113
|
- Turn it off in the same place, or run `codiscuss admin hosting off`. It cannot be turned off while hosted accounts exist: the switch is disabled with a note to delete the hosted accounts first, and the command is refused. Hosting is only available on Windows; on other systems the switch is disabled.
|
|
114
114
|
- Computers that already turned hosting on through `setup` stay on; nothing needs to be redone.
|
|
115
115
|
2. **Create an account and isolate it:** In the panel, go to **Accounts** → **New account** and enter an account name. On Windows, **Isolation** is selected by default. This creates a separate Windows user and prompts for administrator approval. The setup installs a program copy, room skills, system prompt, and bundled workflows, then starts the account’s site. The password is shown once, so save it before closing.
|
|
@@ -117,9 +117,9 @@ On Windows, open the panel from the tray. On macOS and Linux, use the command-li
|
|
|
117
117
|
- If the automatic attachment download before wake-up cannot start Python, install or sync Python under **Overview → Program copies** in the admin panel. Automatic downloads and `codiscuss attachment download` use the same Python configured for the isolated account.
|
|
118
118
|
- **Entry protection:** This is enabled by default on the hosted account details page and is available on Windows only. It restricts site access to users authenticated by the sign-in entry and that account’s own AI, blocking direct access by other local programs.
|
|
119
119
|
3. **Configure remote access** using either or both options:
|
|
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
|
|
121
|
-
- **Cloudflare Tunnel:** Under **Hosted
|
|
122
|
-
4. **Manage the account:** Start or stop its instance, enable, disable or remove the account, reset its password, and provide API keys.
|
|
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 access**. You can also run codiscuss admin entry join <access-code>.
|
|
121
|
+
- **Cloudflare Tunnel:** Under **Hosted access** → **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. 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>.
|
|
@@ -9,13 +9,13 @@ Start a structured, multi-member discussion around a clear goal. Set round and t
|
|
|
9
9
|
There are three ways to start:
|
|
10
10
|
|
|
11
11
|
- **From the sidebar:** Select “Start discussion” in the room’s right sidebar.
|
|
12
|
-
- **When creating a room:** Under “How to work (optional)”, choose “Start discussion” under “After creation”, enter the objective and limits, then select “
|
|
12
|
+
- **When creating a room:** Under “How to work (optional)”, choose “Start discussion” under “After creation”, enter the objective and limits, then select “Start discussion”.
|
|
13
13
|
- **From the composer:** Send `/discuss <discussion goal>`. If you send only `/discuss`, the host derives a goal from recent conversation. If it cannot, it will explain what is missing and will not start. While the host is busy, this command queues like a message that @mentions the host and goes out once the host is free; the other commands, such as `/discuss pause`, take effect at once.
|
|
14
14
|
|
|
15
15
|
When starting from the sidebar, fill in these fields in the dialog and select “Start discussion”. The slash command uses the room’s default limits.
|
|
16
16
|
|
|
17
17
|
1. **Discussion objective.** Describe the question to resolve, the background, or your concerns.
|
|
18
|
-
2. **
|
|
18
|
+
2. **Rounds** and **Duration.** The dialog fills in the room’s saved defaults. Changes in this dialog apply only to this discussion.
|
|
19
19
|
3. **Individual follow-ups** (optional). When enabled, the host asks each member a targeted question at the end of every round. When off (the default), members respond to a shared question and the host bridges the rounds. Smart scheduling can handle the between-round decision when enabled.
|
|
20
20
|
|
|
21
21
|
After starting, the host breaks down the topic and schedules speaking turns. Members first state their views independently, then respond to one another’s arguments. The right sidebar shows progress and “Speaking order”. Drag members who have not spoken to change their order.
|
|
@@ -13,7 +13,7 @@ Invite an AI running on another computer to your room. It can read the project f
|
|
|
13
13
|
### 1. Send an invitation from the room owner’s computer
|
|
14
14
|
|
|
15
15
|
1. When creating a room, choose **External expert** in the **Who takes part** section under **External**. In an existing room, select **Invite AI** → **Invite an external expert** in the right sidebar. You can add more than one.
|
|
16
|
-
2. On the external expert card, set **
|
|
16
|
+
2. On the external expert card, set **Visibility** to **Messages** or **Messages + project**. The latter opens all project folders in this room. The person joining chooses the loan duration.
|
|
17
17
|
3. Select **Invite** (or create the room with the seat). The member list shows **Awaiting check-in**, and a notice above the composer asks you to send the invitation link.
|
|
18
18
|
4. Select **Copy invitation link**, or open **Invitation details** to show a QR code. Send it to the invitee. The link is valid for 10 minutes and for one member only. Creating a new link invalidates the previous one. An open Invitation details panel refreshes an expired link.
|
|
19
19
|
5. Redeeming the link completes check-in. There is no additional approval step. Before check-in, the seat receives no work and does not take part in replies to all members or discussions. An unchecked seat expires after 7 days.
|
|
@@ -25,11 +25,11 @@ Invite an AI running on another computer to your room. It can read the project f
|
|
|
25
25
|
|
|
26
26
|
If an older client cannot find the computer, update AI CoDiscuss and reopen the invitation. With a bare code, specify the inviting site and computer ID using `--site` and `--machine`.
|
|
27
27
|
The duration can be 1h, today, or 3d.
|
|
28
|
-
2. On the member card, choose a local AI or model API to lend. You can use a new session or resume an existing one. “Manual start” and desktop apps are not supported. Choose the model and effort, set “Speed” if supported, then choose the settings below. External members have no dedicated prompt. The default is **Room only ·
|
|
28
|
+
2. On the member card, choose a local AI or model API to lend. You can use a new session or resume an existing one. “Manual start” and desktop apps are not supported. Choose the model and effort, set “Speed” if supported, then choose the settings below. External members have no dedicated prompt. The default is **Room only · Auto-reply · 1 hour**.
|
|
29
29
|
|
|
30
30
|
| Setting | Options |
|
|
31
31
|
| --- | --- |
|
|
32
|
-
| **When named** | **
|
|
32
|
+
| **When named** | **Auto-reply**, with no wake limit, or **Ask first**, which asks you to approve each wake. If you refuse or do not respond within 15 minutes, the other room sees “Not accepted by the other side.” |
|
|
33
33
|
| **Local access** | **Room only**, which runs with standard read-only access from an empty working folder and allows drafts and web lookups, or **Unrestricted**, which can access files on the lending computer and the network. |
|
|
34
34
|
| **Loan duration** | 1 hour, today, or 3 days, up to 3 days. |
|
|
35
35
|
|
|
@@ -40,7 +40,7 @@ Add `--service-tier priority` to `codiscuss join` to select Fast. After joining,
|
|
|
40
40
|
### 3. Renew, pause, leave, or revoke
|
|
41
41
|
|
|
42
42
|
- **Renew from the lending computer:** Change the loan duration in the external room’s right sidebar. The new duration starts when saved and can also shorten the loan. After natural expiry, select **Renew**, choose a duration, and select **Save** to rejoin. A loan revoked by the room owner cannot be renewed.
|
|
43
|
-
- **Pause or leave from the lending computer:** In the external room’s right sidebar, select **Pause** or **Resume**. Use the room menu to **Leave
|
|
43
|
+
- **Pause or leave from the lending computer:** In the external room’s right sidebar, select **Pause** or **Resume**. Use the room menu to **Leave**. After the room ends, **Delete record** removes it from the local list. Paired phones and tablets can also change these settings.
|
|
44
44
|
- **Inspect access and revoke from the room owner’s computer:** In the right sidebar, open the member menu and select **Read log and access**. The same controls appear on the external expert card under **Room → Members and settings** in the tabs at the top of the room. Review the files it read, narrow access to **Messages only**, or select **Revoke** to end access. For a seat still awaiting check-in, select “Remove seat”.
|
|
45
45
|
- **Invite again:** Ended members appear dimmed below the active list with a reason. If the invitee left or you revoked access, select **Invite back** to make a new link. The member name and history remain.
|
|
46
46
|
|
|
@@ -54,6 +54,6 @@ Add `--service-tier priority` to `codiscuss join` to select Fast. After joining,
|
|
|
54
54
|
- **Room-only access support:** Claude Code CLI, Antigravity CLI, and model APIs support **Room only**. On Windows, Codex CLI can use only **Unrestricted** for lending because its sandbox account cannot unlock the external-room key saved by the signed-in account. On other systems, availability depends on whether the runner can start the software with read-only access. Desktop apps cannot join as external members.
|
|
55
55
|
- **Use Unrestricted only between computers you trust:** The borrowed AI can access files on its own computer. Room content may lead it to read local files, so use this only between computers you trust completely.
|
|
56
56
|
- **Read data cannot be recalled:** Files already read remain in the external AI’s session and may have been sent to its model provider. Revocation prevents future reads.
|
|
57
|
-
- **Propose changes:** With **Messages
|
|
57
|
+
- **Propose changes:** With **Messages + project** access, an external member can pull files into its own mirror, edit or create files, or mark them for deletion, then submit the proposal with its answer. Nothing changes on the owner's computer automatically. The owner can expand the changes card to review the diff, select **Apply to workspace**, or select **Undo application**. Reverting skips files changed since application. A room rewind with file restoration also undoes applied proposals in reverse application order.
|
|
58
58
|
|
|
59
59
|
- **Protect invitation links:** Anyone who redeems the link first becomes a room member. Send it only to the intended person and revoke access if anything looks wrong.
|
package/docs/en/guide/faq.md
CHANGED
|
@@ -18,7 +18,7 @@ Windows, macOS, and Linux support the local site and service, launching local AI
|
|
|
18
18
|
|
|
19
19
|
### 4. What should I do first?
|
|
20
20
|
|
|
21
|
-
Open `http://127.0.0.1:8765`. Choose **New room**, enter a **Topic**, then select **Add AI** and choose a configured member. Check that its card has a crown and choose **Create
|
|
21
|
+
Open `http://127.0.0.1:8765`. Choose **New room**, enter a **Topic**, then select **Add AI** and choose a configured member. Check that its card has a crown and choose **Create & connect**. Type `@`, select the member, and send a short test message. A reply in the room confirms the setup works. [Create a room and get a reply](first-run.md#3-create-a-room-and-get-a-reply).
|
|
22
22
|
|
|
23
23
|
### 5. When should I use a room, a discussion, Goal, or a workflow?
|
|
24
24
|
|
|
@@ -73,7 +73,7 @@ To see what changed in this version, click the version number after "AI CoDiscus
|
|
|
73
73
|
| Appearance | Channel, Channel · Light | Choose a theme. Changes take effect immediately. |
|
|
74
74
|
| Appearance → Language · 语言 | 简体中文, English | Choose the display language. Changes take effect immediately. |
|
|
75
75
|
| Appearance → Visual effects | Full, Compact | Compact turns off background blur and layered shadows for smoother scrolling on slower devices. |
|
|
76
|
-
| Appearance → Archive button in room list | Menu only,
|
|
76
|
+
| Appearance → Archive button in room list | Menu only, Hover | Menu only is the default: hovering a room on desktop shows just “…”, and you archive from that menu. Hover adds the archive button next to it. Applies to this device only. |
|
|
77
77
|
| Reading → Conversation width | Narrow, Default, Wide | Changes the column width in Messages and Private chat immediately. On narrow screens the column uses the available width. |
|
|
78
78
|
| Reading → Card text size | Small, Medium, Large | Text size inside message cards. Medium is the default; the choice applies to this device only. |
|
|
79
79
|
| Reading → Fold answers longer than | 0.5 screens, 0.7 screens, 1.2 screens | Answers longer than the chosen number of screen heights fold. 1.2 screens is the default; the choice applies to this device only. |
|
|
@@ -41,7 +41,7 @@ Later, use `codiscuss local open` to open the site, `codiscuss local status` to
|
|
|
41
41
|
2. Under **Who takes part**, choose **Add AI** and select a configured platform. Its member card appears below. One member is enough for this test.
|
|
42
42
|
3. For an API member such as OpenAI, select **Settings** on the front of the card. Check **Address** and **Protocol**, enter the **Key**, select a **Model**, and choose **Done**.
|
|
43
43
|
4. The crown marks the host. To change hosts, select **Make host** on the desired card. For your first room, under **How to work (optional)** set **After creation** to **Off**.
|
|
44
|
-
5. Select **Create
|
|
44
|
+
5. Select **Create & connect**. The right sidebar lists the members. If all members start manually, the button reads **Create room**. [Register a manual member](members.md#manual-connection) before sending work.
|
|
45
45
|
6. Type `@` in the composer, select the member, and write “Reply with one sentence to confirm you received this.” Choose **Send**. The card shows the processing status, followed by the member's reply in the conversation.
|
|
46
46
|
|
|
47
47
|
## 4. Create a room from an existing Claude Code or Codex conversation
|
package/docs/en/guide/goal.md
CHANGED
|
@@ -9,7 +9,7 @@ Goal lets the host keep working toward an objective. When the room becomes idle,
|
|
|
9
9
|
You can start Goal in three ways:
|
|
10
10
|
|
|
11
11
|
- **From the right panel:** Click “Start Goal” in the room’s right panel, enter the objective, and confirm.
|
|
12
|
-
- **When creating a room:** Under “How to work (optional)”, choose “Start Goal” in “After creation,” enter the objective, then click “
|
|
12
|
+
- **When creating a room:** Under “How to work (optional)”, choose “Start Goal” in “After creation,” enter the objective, then click “Start Goal.”
|
|
13
13
|
- **With a command:** Send /goal objective in the composer. The host uses the text as written. If you send only /goal, the host derives an objective from recent messages. If it cannot, it tells you what is missing. Type / at the start of the composer to find Goal commands under “Modes.” While the host is busy, this command queues like a message that @mentions the host and goes out once the host is free; the other commands, such as /goal pause, take effect at once.
|
|
14
14
|
|
|
15
15
|
### 2. Set budgets and the idle delay
|
package/docs/en/guide/members.md
CHANGED
|
@@ -54,16 +54,18 @@ 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 a column of pages on the left (a row on top when narrow): “Overview” holds the daily review card, everything waiting for you (grouped by source, each marked “Prompt” or “Workflow”) and the 5 latest log entries; the four “Prompts” pages are described next; “Workflow ideas” lists only workflow suggestions and how they were handled, with “View draft” opening the Workflows page; “Log” holds every review. “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. Short-term rules show the days left (in warning color on the last day); “End date” in “⋯” changes the date or makes the rule long-term, taking effect at once without a MOSS check. “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.
|
|
61
61
|
- Below are three tabs. “Rules” groups rules by origin into “Written by you”, “Learned from reviews” and “Settled”, with “Add” beside “Written by you”. Expand “Sources” on a rule and select “Remove this source” to withdraw one; the rule menu has “Edit”, “Discuss this with MOSS”, “Make durable” and “Delete”, and a settled rule no longer shows its sources. “What the host reads” shows MOSS’s current organized text, where the small number after a sentence is the position of the rule it rests on and opens that rule; without one the host receives the enabled rules one by one. Each row in “Review log” shows the outcome and opens where it happened, and a MOSS review expands to the items it raised. The “Experience” row in the MOSS window’s right panel leads back here.
|
|
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
|
-
- A scheduled MOSS review
|
|
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. After opening a source message from Experience, use the return button at the bottom to restore your tab and reading position, or select × to stay in the room. You can still choose if the room takes too long to load. Under each waiting rule, labels such as “New” sit on the left and “Activate” and “⋯” on the right.
|
|
63
|
+
- A scheduled MOSS review, and the host’s answer to “/Summarize lessons”, have a “Results of this review” section that only you can see. 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.
|
|
66
|
+
- To change a deadline, run `codiscuss launch experience expiry --id ID --at ISO` with a time zone. Use `--clear` instead of `--at ISO` to remove the deadline. Changing a deadline does not re-enable a disabled rule.
|
|
65
67
|
- 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.**
|
|
68
|
+
- **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
69
|
- **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
70
|
|
|
69
71
|
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,11 +15,11 @@ 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).
|
|
22
|
-
5. Select “Create
|
|
22
|
+
5. Select “Create & connect”, “Create room” for an all-manual setup, “Start discussion”, or “Start Goal”, as applicable.
|
|
23
23
|
|
|
24
24
|
For a quick one-off question, select “Quick create”: an empty topic is filled with “Quick room MM-DD HH:MM”, and if no member has been added yet, the first configured AI in the “Official” row joins and hosts; the room is then created at once. To change the order of the “Official” row, select “Manage” at the end of the row, press and drag the AIs (or use the left and right arrow keys), then select “Done”; the same order is used in the invite panel. A quick room archives itself after a day without new messages, and each message restarts that day. It is not archived while members are working or queued, or while a question awaits your answer. A pinned room is not archived, but if it has had no new message for a day when you unpin it, it is archived within minutes. If you chose “Auto-destroy” under “Advanced settings”, that applies instead and the room is not auto-archived. An hourglass after the room name in the left sidebar marks a room that will archive itself; hover it to see roughly how many hours are left. The “Auto-archive” row in the room’s “Room” tab shows the same and lets you turn it off or on. To keep the room, rename it or choose “Keep room” in its menu; it is then no longer auto-archived. You can restore it from “Archived”; a restored room is no longer auto-archived.
|
|
25
25
|
|
|
@@ -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.
|
|
@@ -39,7 +41,7 @@ Rooms created by a host inherit its folder. Select the arrow to the left of the
|
|
|
39
41
|
- On desktop, room tabs leave the center width unchanged while the right panel is open. During an active or paused discussion, select “Host brief” to read it without moving the room content.
|
|
40
42
|
- **Folders.** Select “New folder” next to the “Rooms” heading (on phones, the top item of the “…” menu there) to group rooms by project. A folder can have a default project directory, which is used for new rooms created inside it. Its menu offers “Edit”, “Move up”, “Move down”, “Archive folder”, and “Remove folder”. You can remove just the folder or delete its rooms as well.
|
|
41
43
|
- **Child rooms.** A room the host creates stays in the current folder, nested under its parent room. Select the arrow left of the parent’s title to expand or collapse it. When sorted by “Recent activity”, an expanded child list shows the 5 most recent rooms first, reveals 5 more on each “Show more”, and offers “Collapse” once all are shown; running or currently open child rooms always stay visible. A child room moved to another folder, or whose parent is archived or destroyed, is listed on its own. To keep a child room in the same folder but list it like an ordinary room, open its menu and select “Make standalone room”. The link between the two rooms is kept, and “Nest under parent room” puts it back.
|
|
42
|
-
- **Room actions.** Open a room’s menu to “Rename”, “Share” (with “Share room”, “Copy share link”, “Revoke share link”, and “Export conversation”), “Move to folder”, “Pin room”, “Archive room”, or “Destroy room”. To show an archive button when hovering a room on desktop, set “Settings → Appearance → Archive button in room list” to “
|
|
44
|
+
- **Room actions.** Open a room’s menu to “Rename”, “Share” (with “Share room”, “Copy share link”, “Revoke share link”, and “Export conversation”), “Move to folder”, “Pin room”, “Archive room”, or “Destroy room”. To show an archive button when hovering a room on desktop, set “Settings → Appearance → Archive button in room list” to “Hover” (the default is “Menu only”). To reorder rooms, drag the handle on the left of a room. On a phone, selecting “Archive room” closes the menu and keeps the sidebar open. Continue organizing rooms or tap “Undo” in the notification. “Rename” turns the name into a text box in place: press Enter or click elsewhere to save, or Esc to cancel. On desktop, you can also double-click a room name in the sidebar. Use the panel icon at the right of the header to open or close the room panel.
|
|
43
45
|
- **Pin a room.** Select “Pin room” in the room’s menu. A pin appears after its name and message count; it keeps its place (it is not moved to the top). A pinned room cannot be archived or destroyed, is never auto-destroyed, and is skipped by “Archive folder”. Select “Unpin” to undo.
|
|
44
46
|
- Video attachments use the current theme’s background while loading. The preview appears as soon as the first frame is ready.
|
|
45
47
|
- When you return to a recent room, the speaking order shows the last known model and reasoning effort immediately. These update when the roster or executions change.
|
|
@@ -48,7 +50,7 @@ Rooms created by a host inherit its folder. Select the arrow to the left of the
|
|
|
48
50
|
- **Destruction records and destroying all rooms.** Open “…” at the top right of the room list and select “Destruction records” to see what each destruction deleted and kept (the room name is cleared once it finishes). Select “Retry” on an unfinished one. “Destroy all rooms” at the bottom asks you to type a confirmation word, then destroys every room, archived ones included, one by one; project files are kept. A hosted account running as its own Windows user then also deletes every conversation in its AI software and the preferences the AI remembered, keeping logins. “Export all rooms” leaves drafts out; export rooms one at a time to include them. Destruction also deletes that room’s temporary cloud attachments and transfer copies in the background. Its receipt shows how many were deleted and how many remain, and failures are retried automatically. Files saved to the drive are kept and show “Destroyed room” as their source.
|
|
49
51
|
- **Ratings after destruction.** Personal sites retain rated assignments, nearby messages, and final execution outcomes for later review. Hosted accounts delete these records with the room.
|
|
50
52
|
- **Auto-destroy.** Choose it under “Advanced settings” when creating a room, or later in the “Room” tab at the top of the room, set “Auto-destroy” to 1, 7, or 30 days (the room is destroyed after that many days without activity); the time left is shown beside it. The count starts when you set it and restarts with each new message or private chat. Archived rooms, rooms with members at work or queued work, an open question for you, or a published share page are not destroyed automatically. The page warns once when less than a day is left, and again after a room is destroyed. The default is “Keep”.
|
|
51
|
-
- **Restore or clear archived rooms.** Open “Archived” and filter by keyword or whether rooms contain messages. Select “Restore” to return a room to the active list. Select “Destroy room” for one room or “Destroy all” for the current filtered results. Both open a standalone dialog showing what will be deleted or kept and offering “Export package”. Select “Destroy now”, then “Destroy” in “Confirm destroying again”. The affected rows dissolve into particles.
|
|
53
|
+
- **Restore or clear archived rooms.** Open “Archived” and filter by keyword or whether rooms contain messages. Select “Restore” to return a room to the active list. Select “Destroy room” for one room or “Destroy all” for the current filtered results. Both open a standalone dialog showing what will be deleted or kept and offering “Export package”. Select “Destroy now”, then “Destroy” in “Confirm destroying again”. The affected rows dissolve into particles. You can also act on the archived room you are viewing: select “Restore” in the status line of the right sidebar to restore it at once, or open “Archived” there and select “Destroy room” to open the same confirmation dialog.
|
|
52
54
|
|
|
53
55
|
### 3. Set project directories and browse project files
|
|
54
56
|
|
|
@@ -72,7 +74,7 @@ When viewing a project image through the relay on another device, supported imag
|
|
|
72
74
|
- **Share:** “Share” in the “…” menu creates a share link valid for 1 to 30 days (7 by default). Tick “Require an access code” to make visitors enter a 4-character code; five wrong codes in a row lock the link for 10 minutes. The link and code are shown only once, with “Copy link and access code”; links can be revoked. Share links open through your hosted entry or online site and are checked by this computer, so they do not open while it is offline.
|
|
73
75
|
- **Transfers:** the up-and-down arrows icon to the left of “More actions” at the top right is “Transfers”, and it is always there. While transfers are running it shows how many, and the number turns red when one has failed. Clicking it opens the list below the icon (from the bottom on a phone), over the page; click outside it or press Esc to close it. Each row shows a type icon on the left; in the middle, the file name (shortened in the middle when too long; hover to see it all) and “type · progress or state”, with a progress bar while running and the full reason when it failed; on the right, the actions: cancel a running transfer, retry or remove a failed one, remove a finished one. Running and failed transfers come first; the top line says how many are running, with “Clear finished” on the right. Uploads, copies kept in the cloud drive, download preparation, batch downloads, deletions, and permanent deletions all show here; the “Files” tab also shows how many are running. After a reload, tasks the computer or site runs in the background keep showing progress, while uploads made by the browser show “Interrupted; choose the file again”. Leaving the page during an upload asks first.
|
|
74
76
|
- **Tabs, split view, and collapse.** Open multiple files and switch between tabs. Use the preview controls to split the view on the right or use “File location” to return to the containing folder. HTML previews also offer “Open in new tab”. Select “Collapse” in the title bar to keep the preview as a floating button in the corner. It restores the same file and scroll position when you return to the room. Close it to clear the preview.
|
|
75
|
-
- **Quote and annotate.** Select text in a Markdown preview or a member’s answer and choose “Add to
|
|
77
|
+
- **Quote and annotate.** Select text in a Markdown preview or a member’s answer and choose “Add to chat”. Enter a note and press Enter. The source is marked with a number and the composer shows the number of notes. On a computer, open the notes list, choose “Edit annotation”, and drag the bottom-right corner of the editor to resize it. Sending the message adds a file path and line number, the member and message ID, or for a message attachment its message ID and attachment ID. An `@` inside a quote does not wake a member.
|
|
76
78
|
- **Manage project files.** Select “Project” at the start of the path bar to open your projects and drafts. Use the top controls to create folders and upload files (the administrator’s “local page” streams straight to disk without a size cap; other entries follow the administrator’s limit, 50 MiB by default; read-only folders cannot be uploaded to). File menus offer “Download” (“Download folder” for a folder, packed as a ZIP), “Rename”, “Copy”, “Cut”, and “Delete”. Paste into the destination folder. Project files have no recycle bin: deleting asks for confirmation first, saying the files cannot be recovered, and then deletes them for good; choosing “Replace” when pasting, uploading, or retrieving a file from the cloud overwrites the existing item without keeping the old version. The “Recycle bin” button (a restore-box icon with its name) at the top right is the cloud space’s recycle bin and has nothing to do with project files. “Refresh” is under “More actions”, though the list refreshes itself. In source view, the pencil button edits text files up to 1 MB. Folders in use by a room cannot be renamed, moved, or deleted. You can permanently delete an entire draft or hosted project from the project list only if it is marked as deletable and no room uses it.
|
|
77
79
|
- **Preview and publish a web page.** Preview a multi-file page from an online host computer without publishing it first. If remote preview fails, open the room in your system browser or choose password-protected deployment. Use the rocket on the HTML card under the answer to deploy the site publicly or require an access password. Published protected sites are marked “Password required”. To update a site, select “Deploy a new version” from the live card’s “…” menu. This is separate from a room share link. See [Deploy a page as a website](working.md#8-deploy-a-page-as-a-website).
|
|
78
80
|
- **Open locally and local paths.** Only on the administrator’s “local page” of a computer-hosted install (`127.0.0.1` or `localhost`), the file page’s row menus, the preview window’s “…” menu, the “⋯” on project file cards under an answer, the “⋯” on message attachment cards, and the image viewer’s bottom toolbar offer “Open locally” and “Show in folder”: the first opens the file or folder with this computer’s default program, the second opens its folder in File Explorer on Windows or Finder on macOS with it selected (on Linux, opens the containing folder). For room message attachments, both actions use the verified copy in this computer’s attachment cache (temporary cloud attachments are cached locally first) without altering the original stored in the room. On the administrator’s local page, real paths on this computer also appear in the file page’s path bar, project list, “Properties”, preview header, answer file cards, and attachment tooltips. Docker installs, hosted accounts, the online website, other devices, share pages, and exported backups never show local paths in those file and attachment views or offer these two actions. To avoid running programs by accident, “Open locally” is greyed out for executable files and scripts (such as `.exe`, `.bat`, `.ps1`, `.py`, `.sh`) and macOS `.app` bundles, which can still be shown in their folder; non-local items such as interactive visualizations, archive entries, cloud drive files, or cleared/expired attachments keep both greyed out when previewed.
|
|
@@ -89,10 +91,10 @@ When viewing a project image through the relay on another device, supported imag
|
|
|
89
91
|
|
|
90
92
|
#### Generate images, video, or 3D models from the composer
|
|
91
93
|
|
|
92
|
-
You can open any media mode without setting up a service first. Only “API
|
|
94
|
+
You can open any media mode without setting up a service first. Only “API images”, “Video model”, and Tripo require enabling and configuring a service when creating a room or under “Room → Collaboration settings”. The “Settings” button in each media panel opens the matching room settings. Existing room settings still enable the image API under “API images” and “Both”. Turning the switch off or selecting “Subscription” keeps the API off. Subscription availability is determined separately.
|
|
93
95
|
|
|
94
96
|
- On desktop (over 700 px), hover over the mode capsule on the left of the composer. On narrow screens (700 px or less), tap the slim tab on the left. Choose a media mode. The button next to the paperclip shows the current generation method (for example “Host decides”); select it to open the options panel and set the “Generation method”. A line under the method cards says who does the work, roughly how long it takes, and whose allowance it uses. Unavailable methods are dimmed; selecting one shows the reason on that line. The method last chosen for each mode is remembered in this browser and used again next time and in other rooms; the first time it is “Host decides”. For methods that go to the host the send button is an up arrow; for methods that call an API directly it is a sparkle.
|
|
95
|
-
- In “Image generation”, both “Host decides” and “Subscription
|
|
97
|
+
- In “Image generation”, both “Host decides” and “Subscription” send your description, size, quality, format, background, complexity, count, and reference attachments to the host as a regular message. “Subscription” requires a configured native image-capable adapter or an existing member using one. The host needs roster permission to invite a member. “API images” calls the service directly and posts the result as an attachment without waking members. Controls only the API understands, such as “Model”, “Moderation”, compression, GIF and SVG options, and reference roles for edits, stay in place but are disabled for the other methods.
|
|
96
98
|
- “Generate model” sends the description, method, split-parts setting and reference files to the host as an ordinary user message. Paired devices use the same composer. The room owner selects a modeling specialist on the Tripo card under “Generate model”. The host assigns modeling requests to that member. Enter a description or attach a reference. Add reference images and reference models (GLB, glTF, OBJ, FBX, STL and so on) with the paperclip. Add Tripo under “Generate model” in Create Room or the room’s collaboration settings. The “Settings” button at the top right of “Model options” takes you to that section. Open “Configure Tripo” on the card, enter an API key and select Global (default) or Mainland China. Tripo becomes selectable when the room has the card and the computer has a saved key. Use the same dialog to replace or clear the key. Clearing it affects all rooms on that computer. The local service stores the key privately and passes it to the owner-selected specialist during room tasks. Administrators can read status with `codiscuss admin media model-settings` or pass a private JSON file with `--file FILE`. It accepts `api_key`, `region` (`global` or `cn`), or `{"clear":true}`.
|
|
97
99
|
- “Video generation” mode can be entered without a video service. Under “Generation method” in the options panel, choose “Host decides”, “AI-coded”, or “Video model”. The first two do not call a video API: the description, method, resolution, duration and attachments go to the host as an ordinary user message, and a member writes animation code and renders it to a video. This needs a host in the room, and a browser and ffmpeg on the computer that runs the work. The “Model” field is greyed out for these methods, “Resolution” is chosen by aspect ratio and definition (for example “16:9 · 1080p”), and the duration presets are 10, 30 and 60 seconds, up to 600 seconds. With “Video model”, “Resolution” and the duration presets switch to what that video service supports; the number and positions of the buttons stay the same. “Video model” calls the room’s video service directly; the result appears as an attachment without waking members. When the room has video generation off or no key, this option is greyed out with the reason shown below it.
|
|
98
100
|
- To edit an image through the API, add image attachments and assign reference, mask, or markup in the options panel. “Video model” uses the first image attachment as its reference.
|
|
@@ -39,7 +39,7 @@ Adding clear role descriptions for members can improve routing. Open the member
|
|
|
39
39
|
- **Decision cards:** Each judgment appears in the transcript. Cards show whom the model selected or why it returned the request to the host. In recommendation mode, click “Accept” when the host is idle to dispatch the recommendation. If the host is busy, first choose how to handle its current work. “Cancel acceptance” closes the pending choice. It cannot withdraw a request that has already been sent.
|
|
40
40
|
- **All decisions in one place:** In a MOSS window (Steward, Direct messages, or a group), the “Scheduling” tab after “Private chat” at the top (ordinary rooms have no such tab) lists every decision in the room, newest first: the message it judged (click to jump back to it), what it chose and its confidence. Filter by “All”, “Applied”, “Not applied” or “Poor decision”; expanding, “Model input” and rating work as on the transcript cards. Smart scheduling writes no reasoning: it gives each option of a few fixed questions a probability, and the program applies the result only above a threshold. Share pages don't include these records.
|
|
41
41
|
- **Inspect the input:** Click “Model input” on a decision card to review the prompt, context, and candidate options the model saw. Confidence appears beside the decision title.
|
|
42
|
-
- **Rate the result:** Room owners can click 👍 (“Good decision”) or 👎 (“Poor decision”). When giving a negative rating, you can add the member who should have answered and a note. This feedback is used to improve how scheduling decides. The 👎 form also has “Save
|
|
42
|
+
- **Rate the result:** Room owners can click 👍 (“Good decision”) or 👎 (“Poor decision”). When giving a negative rating, you can add the member who should have answered and a note. This feedback is used to improve how scheduling decides. The 👎 form also has “Save & send”: it saves as usual, then sends the decision (question, options, choice and the context at the time) with your note, the version, system and names of the software you set up to the official service. Click “See what will be sent” to read it first. If sending fails you are told, and your rating stays saved here.
|
|
43
43
|
|
|
44
44
|
## Things to know
|
|
45
45
|
|