ai_co_discuss 0.6.2 → 0.6.4

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.
Files changed (39) hide show
  1. package/.agents/skills/discuss-host/references/room.md +1 -1
  2. package/.agents/skills/discuss-participant/references/situations.md +1 -1
  3. package/.agents/skills/screen-acceptance/SKILL.md +1 -1
  4. package/backend/room_search.py +21 -6
  5. package/docs/en/guide/cli.md +2 -1
  6. package/docs/en/guide/external-members.md +3 -1
  7. package/docs/en/guide/members.md +1 -1
  8. package/docs/en/guide/rooms.md +8 -8
  9. package/docs/en/guide/steward.md +3 -3
  10. package/docs/en/guide/workflows.md +1 -0
  11. package/docs/en/guide/working.md +2 -2
  12. package/docs/guide/cli.md +2 -1
  13. package/docs/guide/external-members.md +3 -1
  14. package/docs/guide/members.md +1 -1
  15. package/docs/guide/rooms.md +8 -8
  16. package/docs/guide/steward.md +3 -3
  17. package/docs/guide/workflows.md +1 -0
  18. package/docs/guide/working.md +2 -2
  19. package/frontend/locales/en/core.json +2 -0
  20. package/frontend/locales/en/discussion.json +24 -1
  21. package/frontend/locales/en/room.json +4 -0
  22. package/frontend/locales/en/steward.json +2 -2
  23. package/package.json +2 -1
  24. package/runner/adapters/profiles.mjs +1 -1
  25. package/runner/codiscuss.mjs +1 -0
  26. package/runner/discuss.py +3 -1
  27. package/runner/discussion_launch.mjs +151 -54
  28. package/runner/external_client.mjs +29 -9
  29. package/runner/free_runner.mjs +22 -19
  30. package/runner/i18n_en.mjs +6 -4
  31. package/runner/image_service.mjs +17 -10
  32. package/runner/moss_windows.mjs +4 -4
  33. package/runner/steward.mjs +22 -19
  34. package/runner/steward_proactive.mjs +30 -5
  35. package/web/app.js +23 -1
  36. package/web/backup.js +1 -1
  37. package/web/i18n.js +2 -2
  38. package/web/modern.css +1 -1
  39. package/web/modern.js +90 -90
@@ -36,7 +36,7 @@
36
36
 
37
37
  ### 订阅生图
38
38
 
39
- `task.image.subscription` 存在时,优先用 `specialist_members` 中现有专家的显示名派活。名单没有合适成员且 `can_invite` 为 true 时,可用 `codiscuss launch host-control invite --preset Codex-image` 请进只读的 Codex 生图专家,再用加入后的显示名派活;不能邀请时请房主添加,不自行扩权。派活说明生成要求和参考附件编号,让专家按[生图规则](../../discuss-participant/references/situations.md#生图)把图片直接作为房间附件交付。两种入口都在时尊重用户指定的 API 或订阅,不重复调用。
39
+ `task.image.subscription` 存在时,优先用 `specialist_members` 中现有专家的显示名派活。名单没有合适成员且 `can_invite` 为 true 时,从 `invite_platforms` 选一个平台,用 `codiscuss launch host-control invite --name 平台 --new` 请进只读的生图成员,再用加入后的显示名派活;不能邀请时请房主添加,不自行扩权。用户指定订阅但该入口不可用时,说明原因,不改走 API。派活说明生成要求和参考附件编号,让专家按[生图规则](../../discuss-participant/references/situations.md#生图)把图片直接作为房间附件交付。两种入口都在时尊重用户指定的 API 或订阅,不重复调用。
40
40
 
41
41
  ### 生成模型
42
42
 
@@ -19,7 +19,7 @@
19
19
  任务没有 `image` 时不能生图或改图,不改走其他服务。看本次任务里实际存在的入口:`api` 走房间配置的 API,`subscription` 走订阅专家。两者都在时按用户指定的入口,否则一般请求走 API,需要订阅或内置工具时交订阅专家,不重复生成,不擅自切换计费方式。旧任务只有 `image.model` 和 `image.command`,按 API 处理。
20
20
 
21
21
  - **API**:按张计费,想清楚再调用。UTF-8 JSON 草稿示例 `{"action":"generate","prompt":"画面、风格、文字","size":"1536x1024","n":1}`。按 `image.api.catalog`、模型支持范围和 `image.api.limits` 选参数,可填 `model`、`size`、`quality`、`complexity`、`background`、`output_format`、`output_compression`、`n`、`moderation`、`file_name`、`save_path`。GIF 可填 `frame_count`、`frame_duration_ms`,SVG 生成可填 `svg_model`、`svg_reasoning_effort`。改图用 `"action":"edit"`、`images`(第一张为主图),可填 `mask` 或 `markup`(二选一)及模型支持的 `input_fidelity`;图源为 `{attachment_id}` 或 `{file_path}`,路径须符合本次权限。运行 `image.api.command`(旧任务用 `image.command`),把 `REQUEST.json` 换成草稿路径。返回的附件 ID 用 `message post --attachment` 附上,能看图时先下载核对。API 成员用 `generate_image` / `edit_image` 并遵循工具参数,不走命令;看不到图就只说明已知参数与结果。
22
- - **订阅**:由 `image.subscription.specialist_members` 中的订阅专家用 Codex 内置 `image_gen` 生成或修改。参考图用任务中的本机副本,或用 `attachment download` 获取后用 `view_image` 查看。核对工具报告的实际输出路径(通常在 `~/.codex/generated_images/`),用 `attachment upload --file FILE --submission-id ID` 上传,再用 `message post --attachment ID` 附上,正文引用 `[图片 #n]`。你不是订阅专家时,把用户要求及参考附件编号交给主持人,由主持人安排;普通成员点名不会唤醒他人。工具不可用或上传失败时说明原因,不改走 API。
22
+ - **订阅**:由 `image.subscription.specialist_members` 中的订阅专家用接入软件自带的生图能力生成或修改,不用另配的 API。参考图用任务中的本机副本,或用 `attachment download` 获取后用 `view_image` 查看。核对工具报告的实际输出路径,用 `attachment upload --file FILE --submission-id ID` 上传,再用 `message post --attachment ID` 附上,正文引用 `[图片 #n]`。你不是订阅专家时,把用户要求及参考附件编号交给主持人,由主持人安排;普通成员点名不会唤醒他人。工具不可用或上传失败时说明原因,不改走 API。
23
23
 
24
24
  ## 主动发言
25
25
 
@@ -7,7 +7,7 @@ description: 交付界面改动或收到实机截图、录屏验收请求时使
7
7
 
8
8
  ## 环境
9
9
 
10
- - 桌面默认 1440 × 900 CSS 像素、缩放 100%,手机宽度 390 × 844;用户或项目另有要求时以其为准。交付时写明实际视口、缩放和浏览器,没达到要求的写明差在哪里。
10
+ - 桌面默认 1440 × 900 CSS 像素、缩放 100%,手机宽度 390 × 844,优先用 WebKit 引擎(iPhone 上的浏览器都用它);用户或项目另有要求时以其为准。交付时写明实际视口、缩放和浏览器,没达到要求的写明差在哪里。
11
11
  - 需要另起服务时用隔离数据和空闲端口,不占用用户正在用的端口。
12
12
  - 工具自选,交付时写明用了什么。
13
13
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from bisect import bisect_right
4
4
  from contextlib import closing
5
- from heapq import nsmallest
5
+ from heapq import nlargest, nsmallest
6
6
  import json
7
7
  import os
8
8
  from pathlib import Path
@@ -191,8 +191,13 @@ def execution_hits(connection, scope, layout):
191
191
  yield (*order, 2, row["seq"] or 0), row["text"], False, field
192
192
 
193
193
 
194
- def search_transcript(connection, scope, pattern, message_query, limit):
195
- """Search one room, count all matching fields and return only the earliest matches."""
194
+ def hit_time(item):
195
+ """Order a hit by when it was said; message and execution times share the first 19 ISO characters."""
196
+ return (item[3]["created_at"] or "")[:19], item[0]
197
+
198
+
199
+ def search_transcript(connection, scope, pattern, message_query, limit, newest=False):
200
+ """Search one room, count all matching fields and return the earliest matches, or the newest first."""
196
201
  connection.create_function("regexp", 2, pattern.matches, deterministic=True)
197
202
  room = scope["room"]
198
203
  messages = message_rows(connection, room, scope["cutoff"], message_query)
@@ -207,7 +212,8 @@ def search_transcript(connection, scope, pattern, message_query, limit):
207
212
  total += 1
208
213
  yield hit
209
214
 
210
- earliest = nsmallest(limit, counted_hits(), key=lambda item: item[0])
215
+ earliest = (nlargest(limit, counted_hits(), key=hit_time) if newest
216
+ else nsmallest(limit, counted_hits(), key=lambda item: item[0]))
211
217
  names = member_display_names(connection, room) if earliest else {}
212
218
  matches = []
213
219
  for _, text, by_number, field in earliest:
@@ -219,18 +225,27 @@ def search_transcript(connection, scope, pattern, message_query, limit):
219
225
 
220
226
 
221
227
  def search(connection, scopes, params, message_query, grouped):
222
- """Apply the same search and caps to a single room or a directory of authorized rooms."""
228
+ """Apply the same search and caps to a single room or a directory of authorized rooms.
229
+
230
+ Across rooms `order=recent` lists the rooms and their matches newest first; otherwise (relevance) rooms whose title
231
+ matches come first, then rooms with more matches, each room's matches in timeline order.
232
+ """
223
233
  pattern = SearchPattern(params)
224
234
  if not grouped:
225
235
  return (search_transcript(connection, scopes[0][1], pattern, message_query, ROOM_LIMIT)
226
236
  if pattern.query else {"matches": [], "total": 0, "truncated": False})
237
+ newest = params.get("order") == "recent"
227
238
  rooms, total, truncated = [], 0, False
228
239
  for summary, scope in scopes if pattern.query else ():
229
- result = search_transcript(connection, scope, pattern, message_query, GROUP_LIMIT)
240
+ result = search_transcript(connection, scope, pattern, message_query, GROUP_LIMIT, newest)
230
241
  if result["total"]:
231
242
  rooms.append({**summary, "matches": result["matches"], "total": result["total"]})
232
243
  total += result["total"]
233
244
  truncated |= result["truncated"]
245
+ if newest:
246
+ rooms.sort(key=lambda room: (room["matches"][0]["created_at"] or "")[:19], reverse=True)
247
+ else:
248
+ rooms.sort(key=lambda room: (not pattern.matches(1, room.get("title") or ""), -room["total"]))
234
249
  return {"rooms": rooms, "total": total, "truncated": truncated}
235
250
 
236
251
 
@@ -96,7 +96,8 @@ Used by room AI members or locally from the terminal to build custom share-card
96
96
  ### Platform steward
97
97
 
98
98
  - `codiscuss steward status` shows the [platform steward](steward.md) conversation, settings, and skill availability.
99
- - `codiscuss steward settings --help` lists options for software, model, effort, working directory, and allowed skills.
99
+ - `codiscuss steward settings --help` lists options for software, model, effort, speed, working directory, and allowed skills.
100
+ - Where the app and model support it, add `--service-tier TIER` to `codiscuss steward settings` for the Steward or `codiscuss steward settings --private` for Direct messages. To start a new conversation, use `codiscuss steward renew [--window main|private|CHANNEL:CHAT] [--service-tier TIER]`. The Steward is the default window. Values are `default` (Standard), `priority` (Fast), and `ultrafast`. Omit the option to keep the current speed, or pass `--service-tier=` to follow the app’s default.
100
101
  - `codiscuss steward duty add --text "Report how yesterday's runs went" --at 09:00 [--weekdays 1,3] [--deliver channel|window]` gives MOSS a scheduled duty: `--at` is a time on the computer running MOSS; `--weekdays` uses 0–6 for Sunday to Saturday and means every day when left out; `--deliver channel` sends the result to your message channel and `window` keeps it in the Steward window, with `channel` the default once a channel is linked. Without `--at`, the duty reminds you from room state. `codiscuss steward duty list` lists duties and `codiscuss steward duty remove --id ID` deletes one.
101
102
  - `codiscuss steward ask share-card --room ROOM` requests a share card for a room. View the result in the steward conversation.
102
103
  - `codiscuss steward ask codiscuss-draft-cleanup --note "Inspect drafts only; do not delete"` requests a local draft inventory. The service must still be able to dispatch steward tasks.
@@ -25,7 +25,7 @@ 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, effort, and these settings. External members have no dedicated prompt. The default is **Room only · Answer at once · 1 hour**.
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 · Answer at once · 1 hour**.
29
29
 
30
30
  | Setting | Options |
31
31
  | --- | --- |
@@ -35,6 +35,8 @@ Invite an AI running on another computer to your room. It can read the project f
35
35
 
36
36
  3. After joining, the other room appears under **External rooms**. Open it to read the room conversation and recorded local results. Private chats, execution details, room settings, and the file browser are unavailable.
37
37
 
38
+ Add `--service-tier priority` to `codiscuss join` to select Fast. After joining, use `codiscuss invited ai <ID> --service-tier ultrafast` to switch to Ultrafast. Supported values are `default` (Standard), `priority` (Fast), and `ultrafast`. Use `--service-tier=` to follow the app’s default.
39
+
38
40
  ### 3. Renew, pause, leave, or revoke
39
41
 
40
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.
@@ -45,7 +45,7 @@ Use “History” to bring context from an existing local AI conversation into a
45
45
  - **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.
46
46
  - **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.
47
47
  - **System prompts for all members, the host, or one platform.** In **Settings → System prompts**, the “All members” row goes to every member this computer wakes; the “Experience” button in the “Host” row opens the page below MOSS in the sidebar. Add, edit, enable, disable or remove rules. Enabled rules apply to all rooms on this account. New rules and all changes go to MOSS for review. Handwritten wording that passes unchanged goes live automatically. AI suggestions, rewrites, and merges still need your approval. Up to 20 rules can be enabled in total, with up to 4,000 characters each. Select the rule under “Based on” on a dispatch to open it, or “Not right” to propose a change; and each platform row (Claude, Codex, Gemini, DeepSeek and so on) goes to every member on that platform, including preset and workflow experts. They come before the private prompt and apply from the next wake-up. The software’s own CLAUDE.md and AGENTS.md are not changed, so using that software outside CoDiscuss is not affected. From the command line, use `codiscuss launch prompts`.
48
- - Set up MOSS first, then open “Daily review” in “Experience”. It starts off and defaults to 08:00 when enabled. To change the schedule, edit “Time” in “Daily review” and select “Save”. MOSS reviews the rooms you intervened in most often. Open “Review history” to see the source message, then select **Back to “Experience”** to return to the record.
48
+ - Set up MOSS first, then open “Daily review” in “Experience”. It starts off and defaults to 08:00 when enabled. To change the schedule, edit “Time” in “Daily review” and select “Save”. The time follows the display time zone in Settings. MOSS reviews the rooms you intervened in most often. Open “Review history” to see the source message, then select **Back to “Experience”** to return to the record.
49
49
  - 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.
50
50
  - 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 with the new rule”, “Keep both”, or “Drop the new rule”. When keeping both, explain when each applies and select “Submit for review”. Select “Retry” after a check fails. When MOSS is not configured, eligible handwritten rules offer “Enable without review” and are marked “Unreviewed” when active.
51
51
  - Expand “Sources” on an active rule and select “Remove this source” to withdraw one source. “Make durable” in the rule menu also submits a check and hides sources once approved. “What the host reads” shows the current organized draft. If there is no usable draft, the host receives the enabled rules individually.
@@ -83,19 +83,19 @@ When viewing a project image through the relay on another device, supported imag
83
83
  - **Attach files.** Paste or drag files into the composer, or use the paperclip button at the bottom-left. Each message can contain up to 10 files (the administrator’s “local page” streams straight to disk without the default 50 MiB per-file cap, while still counting toward `.codiscuss`’s 10 GiB local data cap—upload very large files under “Project files” instead, or free space via “Manage attachments” in the room menu; other entries default to 50 MiB, configurable in the management panel). Thumbnails appear above the composer. A placeholder such as `[Image #1]` or `[File #2]` is inserted at the cursor. Thumbnails and sent attachments follow the order in which their placeholders first appear in the text. Cutting or deleting a placeholder hides its thumbnail. Paste or retype the placeholder to restore it. Attachments whose placeholders are missing when you send are left out. Click × on a thumbnail to remove both the attachment and its placeholder. After sending, images first referenced in a paragraph or list item appear right below it in a two-column half-width grid (full width for a single image on phones, two columns for multiple, with `#n` badges when a message carries more than one image) and are not listed again below; other attachments stay listed under the message. Windows sites automatically generate smaller previews for eligible PNG and JPEG uploads. Open the image to view the original. The site automatically clears uploads left unsent for more than 24 hours. Attachments in sent or queued messages are kept.
84
84
  - **Large files are sent as temporary files.** On the administrator’s “local page” of a computer-hosted install (`127.0.0.1` or `localhost`), attachments stream straight onto this computer without using the cloud space or the default 50 MiB per-file cap (they still count toward `.codiscuss`’s 10 GiB local data cap; upload very large files under “Project files” instead), and videos are not force-compressed (local AI members sending or downloading attachments on the local site likewise stream directly without using the cloud space). With cloud space configured, the app estimates whether switching makes sense for uploads, whole-file downloads with measurable progress, and original image previews on paired devices, including GIFs without thumbnails. It uses recent measured speeds before starting, trying the original route on every fourth eligible prediction. During that recheck, it waits one second for the first chunk before using a prior speed sample. It checks again around 300 and 800 milliseconds and as soon as the first progress arrives. For attachments of at least 256 KiB, it can switch if it expects to save at least 1.5 seconds and 40% of the remaining time. Before the first chunk arrives, it estimates using the slower of the recent speed in the same direction and the current upper bound. It can switch as soon as both thresholds are met without running both routes at once. Later in the transfer, a slowdown must meet the same thresholds twice in a row. An eligible transfer that makes no progress for 3–6 seconds can also switch if it is not nearly finished. Each file switches at most once, and the app periodically tries the original route to detect recovery. Native previews and PDFs loaded page by page are never interrupted. They only show a tip for opening or downloading via cloud drive, after six seconds when no recent measurements are available. Opening the image viewer immediately stops the relay read for that card and reuses any cloud transfer already in progress. As soon as the viewer gets a cloud link, it shows cloud loading status at the top if a thumbnail is visible, or in the loading placeholder otherwise. The status disappears when the original is ready. A failed preview offers “Open via cloud drive”. Document previews that read the file contents need the bucket to allow cross-origin reads from your CoDiscuss site. Once every byte has been sent, the app waits for confirmation without resending. If an automatic switch fails, the current transfer returns to its original route. If a switch fails or does not save enough time, automatic switching in that direction pauses for 90 seconds. Larger hosted downloads prefer a cloud link immediately. For eligible attachments, the “…” menu on the message card or in the file preview also offers “Download via cloud drive”. Opening and downloading use a 24-hour transfer copy. When a small attachment switches to cloud drive because the upload is slow, the computer retrieves it, saves it as a regular local attachment, and deletes the temporary cloud copy. Images (including GIFs), videos, and other files keep their usual attachment previews and do not expire under the cloud retention policy. On other devices, hosted accounts, or the online website, when an administrator has set up the cloud space (see [Management panel](admin.md)), files larger than the threshold (20 MiB by default, up to 2 GiB each) upload straight to the account's cloud space. Upload progress shows under the thumbnail; removing the thumbnail cancels the upload. They are temporary files, kept 7 days by default (an administrator can set 1–90 days): their cards say “Temporary file · size · Expires in N days” with a clock, “Expires today” in the warning colour under a day, and the card greys out with “Expired” afterwards. To keep one, choose “Keep in cloud drive” before it expires. Messages do not load their thumbnails or players; selecting the card downloads the file, and the “⋯” at its right offers “Preview” (images, audio, video and PDF), “Keep in cloud drive” and “Download”. A preview reads straight from the cloud space: video can be dragged to any point, and when the link expires during a long stop it renews itself and carries on from the same place; a PDF opens in a new tab. When the cloud space cannot be reached or the file was deleted, the card shows “Object storage is unavailable right now” or “Deleted”. Once the cloud space is full, new large uploads fail; delete old files under “Cloud space” on the Files page. Editing, taking back, or taking a queued message back into the composer leaves these files out; add them again. Share pages and exported backups do not include these files. Without the cloud space, files over the attachment limit cannot be added.
85
85
  - **Read cloud attachments as a member.** Before waking a local member, CoDiscuss caches the attachment on that computer and gives the member its path. Read-only members can read that copy, and other members reuse it. The cache holds up to 20 GiB and evicts the least recently used files that no active task needs. If the automatic download fails, or to retrieve an earlier attachment, use `codiscuss attachment download ROOM ID` to save it to the same cache. To keep working on it in a project, have a member copy it from the cache into the project, or download it and upload it to the project.
86
- - **View attachments.** After sending a message, select its placeholder or attachment card. Images can be enlarged full-screen, zoomed, rotated, and saved; when the room has several images, the side buttons, the left and right arrow keys, or a sideways swipe on a phone step between them (the side buttons hide when idle and return when you move the mouse or tap the image). Audio and video play in the message. Documents and code open in the file preview. An attachment card has at most one button: images have none, and “Keep in cloud drive” and “Download” (save the image) are in the image viewer's bottom toolbar; file, audio and video cards have a “⋯” at their right (beside the file name for audio and video) offering “Keep in cloud drive” (with the cloud space set up) and “Download”. On the administrator's local page, the image viewer's bottom toolbar, attachment card “⋯” menus, and the preview window's “…” menu also offer these two actions. Files that open in the file preview (both project files and message attachments) offer “Download” on the top bar and, when cloud space is configured, “Keep in cloud drive” to its left (temporary files also show “Expires in N days”). Wherever both appear, “Keep in cloud drive” is on the left (on top in a menu) and “Download” on the right. “Keep in cloud drive” copies the attachment into a long-term cloud drive file of the account, leaving the original on the computer or the temporary file as it is; its progress shows in the Files page's transfer list, with one notice at the bottom right when it is done. For one this page has already kept, the viewer's button is greyed out and says “Kept in the cloud drive”.
86
+ - **View attachments.** After sending a message, select its placeholder or attachment card. Images can be enlarged full-screen, zoomed, rotated, and saved; when the room has several images, the side buttons, the left and right arrow keys, or a sideways swipe on a phone step between them (a swipe starting within 24 pixels of either screen edge is left to the browser; the side buttons hide when idle and return when you move the mouse or tap the image). Audio and video play in the message. Documents and code open in the file preview. An attachment card has at most one button: images have none, and “Keep in cloud drive” and “Download” (save the image) are in the image viewer's bottom toolbar; file, audio and video cards have a “⋯” at their right (beside the file name for audio and video) offering “Keep in cloud drive” (with the cloud space set up) and “Download”. On the administrator's local page, the image viewer's bottom toolbar, attachment card “⋯” menus, and the preview window's “…” menu also offer these two actions. Files that open in the file preview (both project files and message attachments) offer “Download” on the top bar and, when cloud space is configured, “Keep in cloud drive” to its left (temporary files also show “Expires in N days”). Wherever both appear, “Keep in cloud drive” is on the left (on top in a menu) and “Download” on the right. “Keep in cloud drive” copies the attachment into a long-term cloud drive file of the account, leaving the original on the computer or the temporary file as it is; its progress shows in the Files page's transfer list, with one notice at the bottom right when it is done. For one this page has already kept, the viewer's button is greyed out and says “Kept in the cloud drive”.
87
87
  - **Interactive visualizations.** A member can place a small web page you can operate (drag a slider, press a button, watch the result change) inside the answer text. It appears at that point in the answer, follows the room theme and light or dark mode, and also appears in place on a phone. It starts running when you scroll near it. Hover over the visualization with a mouse to show its toolbar beside the message, outside the frame. You can view the “Source”, “Open larger preview” in the file preview, open it in a “New tab”, “Download” it as an `.html` file, or “Collapse” it (your choice is remembered). On phones and touchscreens the first row keeps the “…” menu and collapse button. A collapsed visualization shows as one “Interactive visualization” line. Select “Expand” where the collapse button was to bring it back. Members add these on their own when you ask for an illustrated answer, or when they explain a structure, process, or data. When a long answer is folded, its visualizations still appear, and one the fold cuts through shows only its top; select “Show full text” to see all of it. Read-only share pages and read-aloud show a single “Interactive visualization” line instead, so rely on the member's written conclusion. `.html` attachments do not run inside messages; select the file card to open them in the preview or a new tab. Some visualizations are question panels: after you rank, allocate, or adjust and press the panel's submit button, the result is added above the message box as a quote rather than sent. You can edit or remove it, and it counts as your reply only when you send it. Submitting the same panel again replaces its earlier result.
88
88
  - **Member access to attachments.** For supported automatic runs, the local service downloads the file and passes its information to the receiving member. Supported members can receive your ordinary image attachments directly with the task. Images sent by the host or another member are opened on demand. Local software uses the attachment path, and image-capable API members use the attachment ID. For API members, enable “Images” on the member card to view images. UTF-8 text attachments can be read on request. Members will say when they cannot read a format such as PDF. Temporary files (large attachments in the cloud) are also downloaded by the local service, into the attachment cache, and the task gives their local path, so read-only members can read them too; over 2 GiB or when a download fails, the task says so and gives the download command. A temporary file can no longer be downloaded once it has expired. External members cannot download room attachments.
89
89
 
90
- #### Generate images or video from the composer
90
+ #### Generate images, video, or 3D models from the composer
91
91
 
92
- Enable “Image generation” or “Video generation” in the new-room panel or under “Room → Collaboration settings”. For images, choose “API image generation”, “Codex subscription image generation”, or “Enable both”. API images and video use the service settings on the connected computer. After entering an endpoint, key, model, and limits, select “Test connection” to check the configuration without generating media. Local administrators and owners on paired devices can generate media without importing a separate room credential when the page can manage the room.
92
+ You can open any media mode without setting up a service first. Only “API image generation”, “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 image generation” and “Enable both”. Turning the switch off or selecting “Subscription images” keeps the API off. Subscription availability is determined separately.
93
93
 
94
- - On desktop (over 700 px), point at the mode capsule outside the left edge of the composer to expand it and select “Text”, “Image generation”, or “Video generation”. On narrow screens (700 px or less), tap the slim mode tab outside the left edge of the composer to expand the mode panel and switch modes (selecting a mode or tapping outside collapses it back; use the same tab to return to “Text”). In a media mode, select “Media options” next to the paperclip to adjust model, size, quality, or format, enter a prompt, and select generate. The result appears as an attachment without waking the host or other members. Image generation defaults to one image. Use the “Image count” section at the bottom of “Media options” to choose more, up to the configured “Maximum image count” (at most 10).
95
- - On a tablet or touchscreen computer (over 700 px), tap the capsule outside the left edge of the composer to expand it, then tap a mode. Selecting an available mode or tapping outside collapses it. Tapping a dimmed mode tells you why it is unavailable.
96
- - “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. The default method is “Host decides”. Add Tripo under “Generate model” in Create Room or the room’s collaboration settings. Open “Configure Tripo” on the card, or select “Media options” in the composer and then “Settings” at the top right of the “Model options” panel, 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
- - “Video generation” mode can be entered without a video service. Under “Generation method” in “Media options”, choose “Host decides” (default), “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. “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
- - To edit an image, add image attachments and choose the reference, mask, or markup in “Media options”. “Video model” uses the first image attachment as its reference. In a room that only uses Codex subscription image generation, stay in “Text” mode and ask the host or an image specialist.
94
+ - 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 images” send your description, size, quality, format, background, complexity, count, and reference attachments to the host as a regular message. “Subscription images” requires a configured native image-capable adapter or an existing member using one. The host needs roster permission to invite a member. “API image generation” 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
+ - “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
+ - “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
+ - 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.
99
99
  - If something fails, the notice at the bottom right explains why and the draft stays in place. Refreshing the page or returning to the room resumes checking unfinished jobs. If only some images were saved or posting failed, you can post the retained attachments without generating again. Select “Discard media job” if you no longer want to post them.
100
100
 
101
101
  ### 5. Export, import, and branch rooms
@@ -4,7 +4,7 @@ MOSS (formerly Platform steward) is a local AI that handles platform tasks, answ
4
4
 
5
5
  ## How to use it
6
6
 
7
- 1. The top of the sidebar lists “New room,” “MOSS,” “Workflows,” and “Analytics.” Select “MOSS,” pick an AI app, and select “Start conversation.”
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
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 “Settings → System prompts → Host”.
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.
@@ -97,7 +97,7 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
97
97
  - **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.
98
98
  - **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.
99
99
  - **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.
100
- - **Software, model, and effort**: select the button at the right of MOSS’s software row in the right sidebar, or “Software and model” on MOSS’s member card on the “Rooms” tab. Choose the software, model and effort in the dialog, then pick one of two actions. “Switch” carries on the current conversation: with the same software it keeps the session and uses the new model 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 allows only read-only or Auto, groups are always read-only).
100
+ - **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 allows only read-only or Auto, groups are always read-only).
101
101
 
102
102
  ## Things to know
103
103
 
@@ -110,4 +110,4 @@ Manage the Steward, Direct messages, and group windows separately. Open the wind
110
110
  - 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.
111
111
  - For terminal use, see [Command Line](cli.md#platform-steward).
112
112
 
113
- Daily review in Experience appears in the MOSS duty list and can be removed there. 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. From the CLI, run `codiscuss launch experience review on|off [--at HH:MM]`.
113
+ Daily review in Experience appears in the MOSS duty list and can be removed there. 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. From the CLI, run `codiscuss launch experience review on|off [--at HH:MM [--timezone IANA]]`. Without `--timezone`, the computer’s system time zone is used.
@@ -53,6 +53,7 @@ Select a card on the Workflows page. The canvas opens in the center, and its SKI
53
53
  - **The host follows SKILL.md:** The skill file defines order, parallel work, when to return to the host, and when to revise. The host follows those written instructions. When workflow-creator creates or edits a workflow, it updates the canvas to reflect the skill file.
54
54
  - **Steps and attached sub-workflows:** The canvas can group nodes into steps, shown as named dashed frames that list the sub-workflows attached to each step. Steps and attachments live in flow.json and in each sub-workflow's SKILL.md (workflow-creator maintains them). Like the canvas they are only a diagram; the host still decides from SKILL.md whether to use a sub-workflow at that step.
55
55
  - **Several members for one card:** The host can bring in several members for the same card under different display names, for example one member per character. A display name applies to this room only, and asking for the same name again brings back the same member with its own session.
56
+ - In “Agent settings” → “Basics,” set “Speed” for each supported expert and select “Save” to write it to the workflow. Adding an expert from a panel preset also copies its speed.
56
57
  - **Experts with skills:** A workflow expert can be a folder instead of a file: `experts/<card-id>/` holds its definition <card-id>.md (the same format as a card file) and skills/<skill>/, each skill a SKILL.md plus references/. Older workflows with `agents/` can still be opened. The member playing that card may read and write its own skills while the rest of the workflow stays read-only; its writing does not change the workflow’s revision, and ordinary saves from the page or the command line keep the skills as they are; only an explicit overwrite or an import replaces them with the folder’s. Exporting the expert gives exactly that folder. “Experts” is a large dialog: every card on the left, and on the right three tabs, “Basics”, “Prompt” and “Skills”. Changes to basics and prompts are written to the workflow by “Save” at the bottom of the dialog (the same save as the Workflows page’s); skill files are saved one at a time. On a phone you pick an expert from the list first, then open its settings, with a back button at the top left. Every expert with skills, in the main flow or a sub-workflow, is listed under Advisors, marked with where it sits; its “Skills” tab lists its skills under a path bar, each with its description, and you open files one folder at a time, to view and edit each skill’s SKILL.md and references and to create or delete skills and reference files. These edits are written to the expert’s folder at once, without saving the workflow or changing its revision; a file the expert changed meanwhile is refused with a reload offered, never overwritten. On another expert, the “Skills” tab takes its first skill’s name and description (“Add skill”); after you save the workflow it becomes a folder with skills. “Import expert package” below the list puts an md, zip or folder into the main flow or the sub-workflow open on the canvas. Removing an expert with skills, replacing its skills by an overwrite, or deleting the workflow first backs its folder up into backups in the service folder. codiscuss launch expert-import --from <path> --workflow <id> [--sub <sub-workflow-id>] puts an expert package into a workflow and refuses a card ID that exists. A panel expert has skills of its own under `experts/<id>/skills/` in its global or project scope, never shared with a workflow’s; “Save as preset” in “Experts” copies them there; skills already on this computer are kept, and the notice offers to replace them with the workflow’s. On the new-room panel, an expert added from a preset shows only the basic settings on its back, like any other expert, plus an “Advanced settings” button that opens the same dialog as the workflow’s, for its own skills in the selected scope; a preset without skills gets its first one there with “New skill” and becomes an advisor. For an ordinary card, choose “Save as preset” first and add it from the Presets row. If a preset of that name exists, choose “Replace the preset of this name” to replace it; skills already there are kept. In the page, “Import / export experts” under “添加 AI” on the new-room panel imports an .md, a zip or a folder and exports any preset; “Export” in a workflow’s “Experts” exports the current card as saved. Without skills you get one md, otherwise a zip. On import, a preset of the same name asks you to “Replace” or cancel; skills already on this computer are kept unless you choose “Use the imported one (the current one is backed up)”; ignored files and access lowered to read-only are listed. On the command line, codiscuss launch expert-export exports an expert and codiscuss launch expert-import imports one as a preset; an existing preset or skills are never replaced silently. When an expert names software this computer has not set up, or a model missing from this computer’s list for that software, the import still succeeds and its notice says so; the panel button is then greyed (software) or the card is marked “… is not available here and cannot run” (model), and starting a room or inviting it is refused until the software is set up or the model changed to a listed one (empty means the software default). Only a model list already read here counts: no list yet, a failed read or no model at all is never flagged, and Claude’s list, being only its model picker, never blocks.
57
58
 
58
59
  ### 5. “Full host control” and workflows
@@ -13,7 +13,7 @@ Message a member or host, understand main and branch work and assignment labels,
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
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.
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
- - **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. 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.
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
 
18
18
  - When you send an image, the page keeps its local preview. The message receipt and member status updates preserve your reading position after sending.
19
19
  - **Send several messages in a row.** You can send the next message while the previous one still shows “Sending…”. If the room is busy and a message is expected to queue, it appears immediately above the composer. The confirmed queue entry takes its place. The browser submits messages in order and continues if one fails. The failed card keeps the original text and attachments so you can resend or discard it. Sending and network retries continue if you switch rooms. Return to the original room to find its failed cards. Refreshing or closing the page clears unsent messages held by that page.
@@ -133,4 +133,4 @@ Addresses without an extension (such as `/about`) opened in a browser return the
133
133
  - **Question cards are part of the room record.** People who can read the room can see the questions and answers. Do not enter passwords, API keys, or tokens.
134
134
  - **During a discussion.** You cannot use `@all`, `@all-seq`, withdraw or edit and rewind a message, or branch.
135
135
 
136
- Choose “Generate model” beside the composer, then select “Media options” to open the “Model options” panel and set “Generation method”, “Reference image”, “Reference model”, and “Split parts”. Sending posts the description and attachments to the host as an ordinary message. The owner selects a modeling specialist on the Tripo card under “Generate model”. The host sends the description and references to that member. Open a GLB or a self-contained glTF attachment or project file to preview it. Drag to orbit, scroll to zoom and right-drag to pan. On touchscreens, use two fingers to zoom and pan.
136
+ Choose “Generate model” beside the composer, then select the button next to the paperclip that shows the current generation method to open the “Model options” panel and set “Generation method” and “Split parts”. Add reference images and reference models with the paperclip. Sending posts the description and attachments to the host as an ordinary message. The owner selects a modeling specialist on the Tripo card under “Generate model”. The host sends the description and references to that member. Open a GLB or a self-contained glTF attachment or project file to preview it. Drag to orbit, scroll to zoom and right-drag to pan. On touchscreens, use two fingers to zoom and pan.
package/docs/guide/cli.md CHANGED
@@ -96,7 +96,8 @@
96
96
  ### 平台主理人
97
97
 
98
98
  - `codiscuss steward status` 查看[平台主理人](steward.md)的房间、设置与技能是否可用。
99
- - `codiscuss steward settings --help` 查看软件、模型、强度、工作目录与允许技能的设置选项。
99
+ - `codiscuss steward settings --help` 查看软件、模型、强度、速度、工作目录与允许技能的设置选项。
100
+ - 软件和模型支持时,`codiscuss steward settings`(主理人)和 `codiscuss steward settings --private`(私信)可加 `--service-tier TIER`。新开对话时用 `codiscuss steward renew [--window main|private|CHANNEL:CHAT] [--service-tier TIER]`,默认窗口是主理人。档位值为 `default`(标准)、`priority`(Fast)、`ultrafast`。省略该选项保留当前速度,用 `--service-tier=` 恢复跟随软件。
100
101
  - `codiscuss steward duty add --text "汇报昨天的运行状态" --at 09:00 [--weekdays 1,3] [--deliver channel|window]` 给 MOSS 加一项定时职责:`--at` 是运行 MOSS 的电脑上的时间点;`--weekdays` 用 0–6 表示周日到周六,省略即每天;`--deliver channel` 把结果发到消息渠道,`window` 只留在主理人窗口,已绑定渠道时默认 `channel`。不带 `--at` 的是按房间状态提醒的职责。`codiscuss steward duty list` 列出职责,`codiscuss steward duty remove --id ID` 删除。
101
102
  - `codiscuss steward ask share-card --room ROOM` 为指定房间发起分享卡请求,结果在主理人对话中查看。
102
103
  - `codiscuss steward ask codiscuss-draft-cleanup --note "盘点草稿,不删除"` 盘点本机草稿。服务必须仍能派发主理人任务。
@@ -26,7 +26,7 @@
26
26
  ```
27
27
 
28
28
  旧版客户端若提示找不到电脑,请更新 AI CoDiscuss,再打开这个邀请链接。手工输入邀请码时,用 `--site` 和 `--machine` 指定对方的站点与电脑编号。
29
- 2. 在弹出的成员卡片上选好要借出的本地 AI 或模型 API(可选新会话或续接已有会话;不支持“手动启动”和桌面 App),设置模型、强度及以下三项(外部成员不设专属提示词)(默认“只在房间里发言 · 直接回答 · 1 小时”):
29
+ 2. 在弹出的成员卡片上选好要借出的本地 AI 或模型 API(可选新会话或续接已有会话;不支持“手动启动”和桌面 App),设置模型、强度,支持时在“速度”选档,再设置以下三项(外部成员不设专属提示词)(默认“只在房间里发言 · 直接回答 · 1 小时”):
30
30
 
31
31
  | 设置 | 选项 |
32
32
  | --- | --- |
@@ -36,6 +36,8 @@
36
36
 
37
37
  3. 确认加入后,左栏“外部房间”会出现对方房间,点进去可只读查看聊天记录与本机处理结果;对方房间的私聊、执行详情、房间设置和文件页不开放。
38
38
 
39
+ 命令行加入时可在 `codiscuss join` 上加 `--service-tier priority` 选 Fast。加入后用 `codiscuss invited ai <ID> --service-tier ultrafast` 改为 Ultrafast。支持的档位值为 `default`(标准)、`priority`(Fast)、`ultrafast`。用 `--service-tier=` 恢复跟随软件。
40
+
39
41
  ### 3. 续期、暂停、退出与撤销
40
42
 
41
43
  - **续期(对方电脑)**:在外部房间右栏调整借出时间,从调整时起重新计时,也可改短;**自然到期后,在原外部房间右栏点“续期”,选好借出时间并点“保存”,即可回到对方房间**(被房主撤销的不能自行续期)。命令行用 `codiscuss invited lend <ID> 1h|today|3d`。
@@ -45,7 +45,7 @@
45
45
  - **改显示名与分工描述**:右栏 → 成员菜单 → “名称与描述”(建房或邀请时点成员卡的名称与描述按钮,可翻面的卡片在背面设置),修改房间里的“显示名称”和分工说明。在房间里还有更快的入口:双击右栏或“成员与设置”页里的成员名称直接改名(Enter 或点别处保存,Esc 取消)。右栏的成员行不显示描述:鼠标指向某位成员,左侧浮出它的成员卡片,显示描述,并可点“编辑名称与描述”;手机、平板上点一下成员行,弹出的菜单顶部显示描述。编辑框里可点常见分工快速填入。分工说明会发给主持人和智能调度,帮助更准确地派活,也可存为该软件的默认描述。
46
46
  - **设专属提示词**:建房或邀请时翻开成员卡,点背面的“专属提示词”按钮;已在房间里的成员,在顶部“房间”页 → “成员与设置”里找到该成员,点卡片下方的“专属提示词”按钮。写下只发给这位成员的要求(例如“回答先给结论”),从下一次唤醒起生效。专属提示词不改变权限;来自工作流的成员只读,要到工作流里改。手动启动和外部成员没有专属提示词。
47
47
  - **给所有成员、主持人或某个平台设系统提示词**:“设置”→“系统提示词”里,“所有成员”一行发给本机唤醒的全部成员;“主持人”一行的“经验”打开与左栏 MOSS 下方相同的页面。在这里添加、编辑、启停、删除经验。启用的经验适用于本机账号的所有房间。新增和所有修改先交 MOSS 检查。你手写的原文通过且未被改写会自动生效,AI 建议、改写和合并仍须确认。总计最多启用 20 条,每条最多 4000 字。派活卡“派活依据”一行可点进对应经验,点“这条不对”可提交修改;各平台一行(Claude、Codex、Gemini、DeepSeek 等)发给用该平台的全部成员,包括预设和工作流里的专家。它们排在专属提示词之前,从下一次唤醒起生效;不修改各软件自己的 CLAUDE.md、AGENTS.md,所以不影响你在共议之外直接使用这些软件。命令行用 `codiscuss launch prompts`。
48
- - 先配置 MOSS,再到“经验”页打开“每日排查”。默认关闭,启用时默认为 08:00。要改时间,在“每日排查”中修改“时间”并点“保存”。MOSS 每天复盘你介入较多的房间。“复盘记录”可打开原消息,再点“返回「经验」”回到记录。
48
+ - 先配置 MOSS,再到“经验”页打开“每日排查”。默认关闭,启用时默认为 08:00。要改时间,在“每日排查”中修改“时间”并点“保存”;时间按“设置”里的显示时区计算。MOSS 每天复盘你介入较多的房间。“复盘记录”可打开原消息,再点“返回「经验」”回到记录。
49
49
  - 主持人回答下出现“想记下”时,点“去做”把原话交给 MOSS 检查,点“不用”忽略。回交前会显示“检查中”,有结果后从原处点进“经验”。工作流意图仍由主持人准备。
50
50
  - 在“待你确认”展开待确认的经验,查看修改前后或点“查看整理稿全文”,再点“生效”。若显示“有冲突”,查看新旧原文和冲突场景,然后选“用新的替换旧的”“两条都留”或“不要新的”。选“两条都留”时,写明各自的适用场景并点“提交检查”。“检查失败”时可点“重试”。只有没配置 MOSS 时,手写条目才可能显示“直接启用”,生效后标记“未经整理”。
51
51
  - 已生效经验可展开“出处”,每处可点“撤掉这处依据”。条目菜单的“沉淀”也会提交检查,生效后该条不再显示出处。点“主持人读到的”可看当前整理稿。没有可用整理稿时,主持人按条收到启用的经验。
@@ -81,19 +81,19 @@
81
81
  - **添加附件**:在输入框粘贴、拖入文件,或点左下角回形针按钮选择文件(每条消息最多 10 个;管理员“本地网页”直接流式保存不受默认 50 MiB 单个上限限制,但仍计入 `.codiscuss` 的 10 GiB 本机数据上限,超大素材建议改传“项目文件”或在房间菜单“管理附件”清理旧附件;其他入口默认上限 50 MiB,可在管理面板调整)。添加后输入框上方出现缩略图,正文光标处插入 `[图片 #1]`、`[文件 #2]` 等房间内连续编号的占位标签;缩略图和发送的附件按占位在正文中的首次出现顺序排列。剪切或删除占位只隐藏缩略图,粘贴或重新输入占位即可恢复,发送时没有对应占位的附件不会发出。点缩略图上的 × 才会同时删除附件和占位。发出后,正文里首次写到 `[图片 #n]` 的图片会紧跟在所在段落或列表项下方以半宽两列排布显示(手机上单张占满整宽、多张两列并排,多图消息附带 `#n` 角标),附件列表不再重复列出;其他附件仍列在消息下方。 Windows 站点会为上传的 PNG、JPG 自动生成较小的预览,点击图片可读原图。 已上传但一直未发送的附件超过 24 小时后会自动清理;已发送或仍在排队消息里的附件会保留。
82
82
  - **大文件作为临时文件发送**:在本机部署的管理员“本地网页”(`127.0.0.1` 或 `localhost`)里发附件时,文件直接流式保存在这台电脑上,不经过云空间、不受默认 50 MiB 单个上限限制(计入 `.codiscuss` 10 GiB 本机数据上限,超大素材建议改传“项目文件”),视频也不会强制压缩(同机 AI 成员在本地站点收发附件同样流式直传、不经过云空间)。配置云空间后,可测进度的上传、整包下载和配对设备上的原图预览(含无缩略图的 GIF)会估算换路是否划算。系统先用近期实测速率预测,每四次符合条件的预判保留一次原路回探,回探满 1 秒仍无首片才使用旧测速判断。开传后约 300 和 800 毫秒会复查,首个进度也会立即参与判断。至少 256 KiB 的附件,预计可省 1.5 秒且省 40% 时间才按预测切换。首片未到会持续估算,优先比较近期同方向速度与当前上界,取较慢者。达标即可切换,不会同时启动两条路。传输后段若掉速,连续两次达到同一门槛,或连续 3–6 秒无新字节且尚未接近完成,仍可切换,每个文件最多一次。系统会定期试走原路以发现网速恢复。原生预览和按页加载的 PDF 不会被自动打断,只提示可手动通过云盘打开或下载,缺少样本时等 6 秒再提示。点开看图器会立即中止该卡片的原图中转,已有云盘任务则直接复用。看图器一拿到云盘直链就显示云盘加速状态,已有缩略图时在顶部显示,原图就绪后收起。失败时可手动点“通过云盘打开”。需要读取文件内容的文档预览,要求存储桶允许来自共议站点的跨域读取。全部字节传完后只等确认,不重新上传。自动换路失败时,当前传输回到原路径。换路失败或没达到预估收益时,该方向暂停自动切换 90 秒。托管大附件下载优先用云盘直链。支持云盘下载的附件,也可在消息卡片或文件预览的“⋯”菜单选“通过云盘下载”。打开和下载使用 24 小时中转副本。小附件因上传慢而切到云盘时,电脑会把文件拉回,存成普通本地附件,再删除云端暂存。图片(含 GIF)、视频等沿用普通附件的预览方式,这类附件不会按云空间期限过期。在其他设备、托管账号或线上网站上,管理员配置了云空间(见[管理面板](admin.md))时,大于门槛(默认 20 MiB)的文件(单个最大 2 GiB)会直接上传到本账号的云空间,缩略图下方显示上传进度,删掉缩略图即取消上传。这类附件是临时文件,默认保留 7 天(管理员可设 1–90 天):卡片标“临时文件 · 大小 · N 天后过期”(时钟图标),不足 1 天显示“今天过期”并变成警示色,过期后卡片变灰并显示“已过期”。想长期保留,在到期前选“转存到云盘”。消息里不自动显示缩略图或播放器;点卡片下载;卡片右侧的“⋯”里有“预览”(图片、音视频、PDF)、“转存到云盘”和“下载”。预览直接从云空间读取,视频可拖动进度,放久了链接过期会自动续上、从原位置接着播放;PDF 在新标签页打开。云空间暂时连不上或文件已被删除时,卡片显示“对象存储暂不可用”或“已删除”。云空间用满后新的大文件会上传失败,请到文件页的“云空间”删除旧文件。编辑、撤回或取回排队消息时,这类附件不会放回输入框,需要重新添加。分享页和导出备份不带这类附件的原文件。没有配置云空间时,超过单个附件上限的文件不能添加。
83
83
  - **成员读取云空间附件**:共议在唤醒本机成员前把附件放进账号的本机附件缓存,并给成员本机路径。只读成员也可读取,同一附件不用为每位成员重复下载。缓存上限 20 GiB,空间不足时优先清理最久没用且没有任务在用的文件。自动下载失败或查看历史附件时,可用 `codiscuss attachment download ROOM ID` 下载到同一缓存。要放进项目继续加工,由成员从缓存里复制进项目,或你下载后上传到项目。
84
- - **查看附件**:消息发出后点正文占位或附件卡片即可打开;图片支持全屏缩放、旋转与保存,房间里有多张图片时可用两侧按钮、键盘左右方向键或手机上左右滑动切换(两侧按钮无操作时自动隐藏,移动鼠标或轻点图片即重新出现),音视频直接在消息里播放,文档与代码在文件预览窗口打开。附件卡片上最多只有一个按钮:图片上没有按钮,“转存到云盘”和“下载”(保存图片)在图片查看器底部的工具栏里;文件和音视频卡片右侧(音视频在文件名右侧)有一个“⋯”,点开是“转存到云盘”(配置了云空间才有)和“下载”。在管理员“本地网页”上,图片查看器底部工具栏、附件卡片的“⋯”和预览窗口的“…”更多操作菜单还会提供这两项操作。能预览的文件(项目文件与消息附件)在预览窗口顶部提供“下载”,配置了云空间时其左侧同时提供“转存到云盘”(临时文件同时显示“N 天后过期”)。两者同时出现时,“转存到云盘”总在左边(菜单里在上面),“下载”在右边。“转存到云盘”把附件复制一份成本账号的云盘文件长期保留,电脑上的原件或原来的临时文件不变;进度显示在文件页的传输列表里,完成时右下角提示一次。本页已转存过的,查看器里的这个按钮置灰并提示“已转存到云盘”。
84
+ - **查看附件**:消息发出后点正文占位或附件卡片即可打开;图片支持全屏缩放、旋转与保存,房间里有多张图片时可用两侧按钮、键盘左右方向键或手机上左右滑动切换(从屏幕左右两侧最外 24 像素内起手的滑动留给浏览器;两侧按钮无操作时自动隐藏,移动鼠标或轻点图片即重新出现),音视频直接在消息里播放,文档与代码在文件预览窗口打开。附件卡片上最多只有一个按钮:图片上没有按钮,“转存到云盘”和“下载”(保存图片)在图片查看器底部的工具栏里;文件和音视频卡片右侧(音视频在文件名右侧)有一个“⋯”,点开是“转存到云盘”(配置了云空间才有)和“下载”。在管理员“本地网页”上,图片查看器底部工具栏、附件卡片的“⋯”和预览窗口的“…”更多操作菜单还会提供这两项操作。能预览的文件(项目文件与消息附件)在预览窗口顶部提供“下载”,配置了云空间时其左侧同时提供“转存到云盘”(临时文件同时显示“N 天后过期”)。两者同时出现时,“转存到云盘”总在左边(菜单里在上面),“下载”在右边。“转存到云盘”把附件复制一份成本账号的云盘文件长期保留,电脑上的原件或原来的临时文件不变;进度显示在文件页的传输列表里,完成时右下角提示一次。本页已转存过的,查看器里的这个按钮置灰并提示“已转存到云盘”。
85
85
  - **交互式可视化**:成员可以在回答正文里放一段可以操作的网页(拖动滑块、点按钮看结果变化),它显示在正文中的原位置,跟随房间主题和深浅色,手机上同样直接显示。滚到它附近才开始运行。用鼠标悬停时,工具栏显示在消息卡片右侧、可视化框外,不遮挡页面。可看“源码”、“放大”到文件预览窗口、在“新标签页”打开、“下载”为 `.html` 文件或“收起”(会记住选择)。手机与触屏保留框内第一行的“…”菜单与收起按钮。收起后显示为一行“交互式可视化”,在原来的收起位置点“展开”恢复。成员在你要求“图文并茂”、或讲结构、流程、数据时会主动配图。长回答折叠时,可视化照常显示,被折叠线截到的只露出顶部,点“展开全文”看完整的。只读分享页和朗读只显示“交互式可视化”一行,结论以成员写在正文里的文字为准。`.html` 附件不在消息内显示,点文件卡片在预览窗口或新标签页打开。有的可视化是提问面板:你在里面排序、分配或调整后点它的提交按钮,结果会作为引用放到输入框上方,不会直接发出;你可以删改,点发送才算回答。同一面板再次提交会替换上一次的结果。
86
86
  - **成员读取附件**:本机服务为支持附件的自动执行下载文件,并把文件信息交给接收任务的成员。你发的普通图片可随任务直接交给支持看图的成员。主持人或成员发的图片按需打开,本机软件读附件路径,支持看图的 API 成员按附件编号读取。API 成员需在卡片设置中打开“看图”才能看图,UTF-8 文本附件可按需读取,PDF 等其他文件读不到时会如实说明。临时文件(云上的大附件)也由本机服务下载到附件缓存,任务里直接给本机路径,只读成员也能读;超过 2 GiB 或下载失败时,任务里如实说明并给出下载命令;临时文件过期后无法再下载。外部成员无法下载房间附件。
87
87
 
88
- #### 从输入框生成图片或视频
88
+ #### 从输入框生成图片、视频或三维模型
89
89
 
90
- 在新建房间面板或“房间 → 协作设置”开启“生图”或“视频生成”。生图可选择“API 生图”、“Codex 订阅生图”或“两者都开”。API 生图和视频生成用的是连接电脑上的服务配置。填写地址、密钥、模型及限额后,可以点“测试连接”检查配置,不会生成媒体。 本机管理员和已配对设备上的房主只要有房间管理权限,就能直接生成,不必单独导入房间凭据。
90
+ 打开媒体模式不要求预先配置服务。API 生图、视频模型和 Tripo 才需要在新建房间或“房间 → 协作设置”启用并配置。三个媒体面板的标题行均有“设置”,点开可到对应的协作设置。现有生图设置中,“API 生图”和“两者都开”仍开启 API,关闭或选“订阅生图”则不开放 API。订阅生图的可用性独立判断。
91
91
 
92
- - 桌面(>700px)将鼠标移到输入框左外侧的模式胶囊上展开并选择“文字”、“生图”或“视频生成”;手机等窄屏(≤700px)点输入框左外侧的极窄模式侧翼,展开选择面板切换(切回“文字”同样点该侧翼选择,选完或点面板外自动收起)。进入媒体模式后,可点底部回形针右侧的“媒体参数”调整模型、尺寸、画质、格式等选项,填写提示词后点右下角生成按钮提交。结果以附件出现在对话里,不会唤醒主持人或其他成员。生图默认生成 1 张,可在“媒体参数”浮层底部的“生成数量”区块选择更多,选项不超过生图设置的“最大张数”(最多 10 张)。
93
- - 平板或触屏电脑(>700px)用手指点输入框左外侧胶囊,先展开,再点所需模式。点选可用模式或点胶囊外会收起。点置灰的模式会提示不可用原因。
94
- - “生成模型”会把描述、生成方式、拆分选择和参考附件作为普通用户消息发给主持人,已配对设备使用相同入口。房主在“生成模型”的 Tripo 卡片中指定一位建模专家,主持人按所选成员派活。至少填写描述或添加一个参考附件;生成方式默认“由主持人判断”。要使用 Tripo,在“新建房间”或右栏“协作设置”的“生成模型”下添加 Tripo。打开卡片的“设置 Tripo”,或在输入框点“媒体参数”、再点“模型参数”面板右上角的“设置”,填写 API Key 并选择国际(默认)或中国大陆。只有已添加 Tripo 且电脑已有密钥的房间才能选择它。弹窗也可更换或清除密钥;清除会影响这台电脑上的所有房间。密钥由电脑私有保存,只在房间任务中传给指定的建模专家。管理员可用 `codiscuss admin media model-settings` 查看状态,用 `--file FILE` 指定含 `api_key`、`region`(`global` 或 `cn`)或 `{"clear":true}` 的私有 JSON 文件。
95
- - “视频生成”模式不需要先开启视频服务就能进入。在“媒体参数”的“生成方式”里选“由主持人判断”(默认)、“AI 代码制作”或“视频模型”。前两种不调用视频接口:描述、生成方式、分辨率、时长和附件会作为普通用户消息发给主持人,由成员写动画代码并渲染成视频交回,需要房间有主持人,执行电脑要有浏览器和 ffmpeg;这时“模型”一项置灰。“视频模型”调用房间的视频服务直接生成,结果以附件出现、不唤醒成员;房间没开启视频生成或没填密钥时,这一项置灰并在下方说明原因。
96
- - 改图时先添加图片附件,再在“媒体参数”指定参考图、蒙版或标注。用“视频模型”生成视频时使用第一张图片附件作为参考图。仅开启 Codex 订阅生图的房间,请在“文字”模式下让主持人或生图专家代画。
92
+ - 桌面(>700px)将鼠标移到输入框左侧的模式胶囊上展开,手机等窄屏(≤700px)点左侧的模式侧翼展开。选中媒体模式后,回形针右侧的按钮显示当前生成方式(如“主持人判断”),点它打开参数面板选择“生成方式”。方式卡片下面有一行说明,写明谁来做、大约多久、用谁的额度;不可用的方式会置灰,点它时这一行改为说明原因。每种模式上次选的生成方式会记在这个浏览器里,下次和在其他房间都沿用;第一次使用时是“由主持人判断”。发给主持人的方式,发送按钮是向上箭头;直接调用接口的方式是星形。
93
+ - “生图”里,“由主持人判断”和“订阅生图”都将描述、尺寸、画质、格式、背景、复杂度、数量和参考附件作为普通消息发给主持人。选择“订阅生图”需要本机或现有成员的接入方式支持原生生图;如需邀请,主持人须有管理成员名单的权限。“API 生图”直接调用服务,结果作为附件发出,不唤醒成员。只有接口才用得上的“模型”“内容审核”,以及压缩率、GIF、SVG 和改图的参考图角色等选项,在其他方式下保留原位但不可改。
94
+ - “生成模型”会把描述、生成方式、拆分选择和参考附件作为普通用户消息发给主持人,已配对设备使用相同入口。房主在“生成模型”的 Tripo 卡片中指定一位建模专家,主持人按所选成员派活。至少填写描述或添加一个参考附件;参考图和参考模型(GLB、glTF、OBJ、FBX、STL 等)都用回形针添加。要使用 Tripo,在“新建房间”或右栏“协作设置”的“生成模型”下添加 Tripo。也可以从“模型参数”标题行的“设置”跳转到该项。打开卡片的“设置 Tripo”,填写 API Key 并选择国际(默认)或中国大陆。只有已添加 Tripo 且电脑已有密钥的房间才能选择它。弹窗也可更换或清除密钥;清除会影响这台电脑上的所有房间。密钥由电脑私有保存,只在房间任务中传给指定的建模专家。管理员可用 `codiscuss admin media model-settings` 查看状态,用 `--file FILE` 指定含 `api_key`、`region`(`global` 或 `cn`)或 `{"clear":true}` 的私有 JSON 文件。
95
+ - “视频生成”模式不需要先开启视频服务就能进入。在参数面板的“生成方式”里选“由主持人判断”、“AI 代码制作”或“视频模型”。前两种不调用视频接口:描述、生成方式、分辨率、时长和附件会作为普通用户消息发给主持人,由成员写动画代码并渲染成视频交回,需要房间有主持人,执行电脑要有浏览器和 ffmpeg;这时“模型”一项置灰,“分辨率”按比例和清晰度选择(如“16:9 · 1080p”),时长预设为 10、30、60 秒,最长 600 秒。选“视频模型”时,“分辨率”和时长预设换成该视频服务支持的规格,按钮个数和位置不变。“视频模型”调用房间的视频服务直接生成,结果以附件出现、不唤醒成员;房间没开启视频生成或没填密钥时,这一项置灰并在下方说明原因。
96
+ - API 改图时先添加图片附件,再在参数面板指定参考图、蒙版或标注。“视频模型”使用第一张图片附件作为参考图。
97
97
  - 失败会在右下角显示原因,原草稿保留。刷新页面或回到房间后,会继续查询未完成的任务。部分图片已保存或发消息失败时,可以发布保留的附件,不会重新生成。若不再需要,点“放弃媒体任务”清除待发布状态。
98
98
 
99
99
  ### 5. 导出、导入与分支房间
@@ -4,7 +4,7 @@ MOSS(原“平台主理人”)是处理平台事务的本机 AI。它能回
4
4
 
5
5
  ## 怎么操作
6
6
 
7
- 1. 侧栏顶部依次是“新建房间”“MOSS”“工作流”“统计”。点“MOSS”,首次使用时选一个 AI 软件,再点“开始对话”。
7
+ 1. 侧栏顶部依次是“新建房间”“MOSS”“工作流”“统计”。点“MOSS”,首次使用时选一个 AI 软件。支持时可设置“速度”,再点“开始对话”。
8
8
  2. 在对话里直接打字。你可以问“哪些房间等我处理”或“这个执行为什么失败”。允许“房间总览”时,MOSS 按请求概括房间状态,需要时才细查,并附房间链接和对应编号,排障只读取手册、事件记录、执行详情和相关日志。要处理某个房间的事务,可以写明房间链接或编号,也可以从对应页面发起请求。
9
9
  - **分析派活**:在“统计”的“主持人调度得怎样”一节点“AI 分析”。只有 `dispatch-analysis` 技能可用且获准使用时才可点。分析仅手动触发,结果单独呈现,不会改写统计数字。同类问题反复出现时,结果会附上主持人提示词的修改建议,由你在“设置 → 系统提示词 → 主持人”里决定是否采纳。
10
10
  - **制作房间分享卡**:在目标房间的菜单选择“分享 → AI 制作分享卡”。请求会附上目标房间,供主理人取材。
@@ -97,7 +97,7 @@ MOSS 在群里等你答复时,你可以引用那条提问或 @ MOSS。有智
97
97
  - **清空对话**:在“房间”标签 MOSS 成员卡片底部,或右栏点开的“软件与模型”弹窗底部点“清空对话”,经过两步弹窗确认后执行。第一步会列出清空与保留范围,并提醒先更新记忆文档(`MEMORY.md`),可直接点“查看或编辑记忆”跳到本窗口记忆区补充;第二步点“确认清空”后,当前对话移入“旧对话”存档,窗口打开一段新对话,MOSS 也开始新的 AI 会话。设置、目录和记忆保留。旧记录可在“旧对话”查看,或确认后永久删除。
98
98
  - **记忆**:在“房间”标签“协作设置”的“记忆”一行点“设置”,查看或编辑当前窗口的 `MEMORY.md`,上限 20 KB。它与会话上下文分开,MOSS 按需读取。清空对话、换软件或“新开对话”都不会清掉记忆。在群里,MOSS 只把绑定的房主本人明确要求记住的内容写进群记忆,不会自动记下房主的其他发言。群友仍可正常提问,但不能把自己的话留成 MOSS 在后续任务中会读到的长期指令。
99
99
  - **目录**:在“房间”标签顶部的“项目目录”一节增删,和普通房间相同。主理人和私信按各自的项目权限读写,群中添加的目录一律只读。更换主理人的工作目录时,记忆一并搬迁。新目录已有 `MEMORY.md` 时不覆盖,原文件留在旧目录。
100
- - **软件、模型和强度**:点右栏 MOSS 软件行右侧的按钮,或“房间”标签 MOSS 成员卡片上的“软件与模型”,在弹窗里选软件、模型和强度,然后二选一:“切换”接着当前对话聊,同一软件保留原会话,从下一轮起用新模型;换软件则由新软件开一个会话,接着这个窗口最近的对话往下聊,原会话里没写进对话的过程带不过去。“新开对话”用所选的软件和模型开始新会话,清掉当前会话的上下文,什么都不改也可以直接新开;要连同本窗口的消息一起清空,点弹窗底部的“清空对话”。群只能选能由程序按“只读”启动的软件,不支持桌面 App。两种操作都只影响当前窗口,对话记录、职责、配置和记忆都保留;会话实际切换时,对话里会出现分隔线。模型也可以在成员卡片上点铅笔改,效果与“切换”相同。项目权限直接点档位(私信只能只读或自动,群固定只读)。
100
+ - **软件、模型、强度和速度**:右键右栏的 MOSS 软件行或点“⋯”,可从菜单改“模型”“思考强度”“速度”和“项目权限”。各窗口可选的权限档位与“成员与设置”一致。在菜单或“房间”标签的 MOSS 成员卡片上点“软件与模型”,在弹窗里选软件、模型和强度,支持时可在“速度”选“默认”(跟随软件)、“标准”、Fast 或 Ultrafast。主理人、私信和每个群各自保存速度,“新开对话”会沿用该窗口的速度,除非同时改选。然后二选一:“切换”接着当前对话聊,同一软件保留原会话,从下一轮起用新设置;换软件则由新软件开一个会话,接着这个窗口最近的对话往下聊,原会话里没写进对话的过程带不过去。“新开对话”用所选的软件和模型开始新会话,清掉当前会话的上下文,什么都不改也可以直接新开;要连同本窗口的消息一起清空,点弹窗底部的“清空对话”。群只能选能由程序按“只读”启动的软件,不支持桌面 App。两种操作都只影响当前窗口,对话记录、职责、配置和记忆都保留;会话实际切换时,对话里会出现分隔线。模型也可以在成员卡片上点铅笔改,效果与“切换”相同。项目权限直接点档位(私信只能只读或自动,群固定只读)。
101
101
 
102
102
  ## 要注意什么
103
103
 
@@ -110,4 +110,4 @@ MOSS 在群里等你答复时,你可以引用那条提问或 @ MOSS。有智
110
110
  - 在“统计”的“MOSS”一节,可看新建任务房间和项目房间、委派给已有房间、返工、未回报、改回主对话,以及执行次数和时长。这里也会显示通知渠道发送的排队回执次数。
111
111
  - 使用命令行时,见[命令行](cli.md#平台主理人)。
112
112
 
113
- 经验页的“每日排查”是定时职责,能在 MOSS 职责列表里删除。简报沿用职责的渠道。未读复盘在“经验”页可点“报告”或“MOSS 记录”,定时汇报下方的“本次产出”会显示建议的入库状态,如检查中、待确认或有冲突。命令行用 `codiscuss launch experience review on|off [--at HH:MM]`。
113
+ 经验页的“每日排查”是定时职责,能在 MOSS 职责列表里删除。简报沿用职责的渠道。未读复盘在“经验”页可点“报告”或“MOSS 记录”,定时汇报下方的“本次产出”会显示建议的入库状态,如检查中、待确认或有冲突。命令行用 `codiscuss launch experience review on|off [--at HH:MM [--timezone IANA]]`,不写 `--timezone` 时按电脑系统时区。
@@ -53,6 +53,7 @@
53
53
  - **主持人按 `SKILL.md` 派活**:谁先谁后、哪些成员并行、什么时候交回主持人把关、什么条件返工,都由 `SKILL.md` 写明并由主持人照做。用 `workflow-creator` 生成或修改工作流时,AI 会按 `SKILL.md` 同步更新画布。
54
54
  - **步骤分组与挂靠**:画布可以把节点分成几个步骤,显示为带名字的虚线框,框上标出挂在这一步的子工作流。步骤和挂靠写在 `flow.json` 与子工作流的 `SKILL.md` 里(由 `workflow-creator` 维护),和画布一样只是示意,主持人仍按 `SKILL.md` 判断这一步用不用。
55
55
  - **一张卡片请多位成员**:同一张卡片可以由主持人按不同显示名请进多位成员,例如每位人物一位成员;显示名只在本房间有效,同一个名字请回的是原来那位成员和它的会话。
56
+ - 在“专家配置” → “基础”里,支持时可为每张专家卡设置“速度”。点“保存”写入工作流。从面板预设加入工作流时,也会带入预设的速度。
56
57
  - **带技能的专家**:工作流里的专家可以是一个文件夹而不是一个文件:`experts/<卡片ID>/` 里放定义 `<卡片ID>.md`(和普通卡片文件同一格式)和 `skills/<技能名>/`,每条技能一份 `SKILL.md` 加 `references/`。旧工作流的 `agents/` 仍可读取。担任这张卡片的成员可以读写自己的 skills,工作流的其他部分照旧只读;他写技能不改变工作流的修订号,网页和命令行的普通保存都原样保留这些技能,只有整份覆盖和导入会用文件夹里带的替换。导出这位专家得到的就是这个文件夹。“专家配置”是一个大弹窗:左边列出所有卡片,右边分“基础”“提示词”“技能”三个标签页;基础和提示词改完点弹窗底部的“保存”写入工作流(和工作流页的“保存”是同一次保存),技能文件逐个保存。手机上先在列表里选专家,再进入他的配置,左上角返回。带技能的专家不论在主线还是子工作流,都归在“顾问”一组,条目上标着他属于哪里;选中后切到“技能”,路径栏下列出每条技能(名称下写它的描述),逐层点进去打开文件,可以查看和修改每条技能的 SKILL.md 和资料,新建、删除技能和资料文件。这些修改直接写进专家的文件夹,不用保存工作流,也不改工作流的修订号;专家同时改过的文件会拒绝保存并提示重新载入,不会被覆盖。普通专家在“技能”标签页写下第一条技能的名字和描述,点“添加技能”,保存工作流后它就变成带技能的文件夹。列表下方的“导入专家包”把一个 md、压缩包或文件夹放进主线或画布当前所在的子工作流。删掉一位带技能的专家、整份覆盖替换了技能、删除整个工作流时,原来的文件夹会先备份到服务目录的 backups 下。命令行 `codiscuss launch expert-import --from <路径> --workflow <ID> [--sub <子工作流ID>]` 把专家包放进工作流,卡片 ID 已存在时拒绝。面板上的专家各有一份技能,按归属保存在全局或项目的 `experts/<ID>/skills/`,和工作流里的不共用;在“专家配置”里把卡片“存为面板预设”时会复制过去,同名预设已存在时要点“覆盖同名预设”才会替换;本机已有这位专家的技能时默认保留,提示后可点“用工作流里的技能替换本机的”。新建房间面板上,从预设加入的专家卡片背面和其他专家一样只放基础配置,另有一个“高级配置”按钮,打开和工作流同一个配置弹窗,查看和修改的是该预设所属范围内的技能;还没有技能的预设在这里点“新建技能”写下第一条,它就成了顾问。普通卡片先点“存为预设”,再从“预设”行加入即可。网页上,新建房间面板“添加 AI”下方的“导入导出专家”可以导入 .md、压缩包或文件夹,也可以导出任一预设;工作流“专家配置”里的“导出”导出当前卡片(已保存的版本)。没有技能下载一个 md,有技能下载一个压缩包。导入时同名预设会让你选“覆盖”或“取消”;本机已有这位专家的技能时默认保留本机的,可选“用导入的替换(原来的会备份)”;被忽略的文件和被降为只读的权限会在提示里列出。命令行同样可以:`codiscuss launch expert-export` 导出,`codiscuss launch expert-import` 导入成面板预设;同名预设和已有的技能都不会被静默替换。专家带着的软件本机没有配置,或者本机这个软件的模型列表里没有他写的模型时,导入照样成功,提示里会说明;这时面板上的按钮变灰(软件)或卡片上标出“本机没有……,不能调用”(模型),建房和请进都会被拒,配好软件、或把模型改成列表里的(留空即用软件默认)之后恢复。是否“没有”只看本机已经读到的模型列表:还没读过列表、读取失败或没写模型都不算;Claude 的列表只是它的模型选单,不据此拦。
57
58
 
58
59
  ### 5. “主持人完整权限”与工作流的关系
@@ -13,7 +13,7 @@
13
13
  - **发之前看提示**:输入框下方的一行会按当前谁在忙说明这条发出后会怎样,比如被 @ 的成员空闲时写“立即发给某某,与正在进行的工作并行(支线)”,它正忙时写这条会先排队;没 @ 人而房间正忙时,会提示你可以 @ 一位空闲成员让它马上开工。
14
14
  - **回复、搜索与筛选**:消息菜单点“回复”关联原消息;点任何地方的 `#编号`(消息、简报、执行、事件记录里)会跳到消息里该条的位置,看完点“返回原位置”回到原处;编号属于其他房间时会切到那个房间并定位,点底部的“返回「原房间名」”回到跳转前的房间与位置,点旁边的 × 可关闭提示并留在当前房间;房间顶部可按用户、主持、成员与卡片类型“筛选消息与卡片”。
15
15
  - **在房间内查找**:房间顶部的查找框(`Ctrl+F` 打开)搜消息正文与 `#编号`、执行卡片上的进展和失败原因、附件文件名,不搜私聊和已撤回的消息。框内三个开关是“区分大小写”“全字匹配”“使用正则表达式”;右侧显示第几处/共几处,`Enter`、`Shift+Enter` 或上下箭头逐处跳转,所有命中都会标出、当前一处颜色更深;“只显示命中”按同样的关键词和开关,把消息列表收窄到有命中的消息(只在执行卡片或附件名里命中的也算);`Esc` 或 × 清空并收起查找框。查找框平时收成房间顶部的一个搜索按钮,点它或按 `Ctrl+F` 打开,浮在标签栏上方;× 或 `Esc` 清空并收起,框里有查找词时点别处不会收起;手机上没有单独的搜索按钮,点右上角的筛选按钮,选第一项“搜索消息”打开查找框,有查找词时筛选按钮会高亮。
16
- - **搜索全部房间**:打开查找框里的第四个开关(叠层图标,悬停提示当前范围,开着是“全部房间”,关着是“本房间”),或按 `Ctrl+Shift+F` 直接以全部房间打开查找框,同一个关键词和开关就改为搜这台电脑上的协作房间和 MOSS(含已存档房间,外部房间不在本机、不搜)。结果浮在查找框下方,按房间分组,组头写房间名和命中数,每条显示作者、时间和命中前后的片段,太长时在浮层里滚动;计数是能逐条跳到的结果数,有房间被截断时后面加 +。点一条会进入那条所在的房间并定位到它,同时收起浮层;之后用 `Enter`、上下箭头接着逐条跳,下一条在别的房间就进那个房间,开关保持打开。`Esc` 先收起浮层,再按一次清空并收起查找框;收起后点回查找框,或改关键词、拨开关,浮层重新展开。每个房间最多列出 50 条,超出时点该房间下的“还有 N 条”,会进入那个房间、切回本房间范围并保留关键词,在那里逐条看全部。范围开关不会记住,下次打开网页仍是本房间。
16
+ - **搜索全部房间**:打开查找框里的第四个开关(叠层图标,悬停提示当前范围,开着是“全部房间”,关着是“本房间”),或按 `Ctrl+Shift+F` 直接以全部房间打开查找框,同一个关键词和开关就改为搜这台电脑上的协作房间和 MOSS(含已存档房间,外部房间不在本机、不搜)。结果浮在查找框下方,按房间分组,组头写房间名和命中数,每条显示作者、时间和命中前后的片段,太长时在浮层里滚动。浮层顶部的“排序”可切换“相关度”(房间名命中关键词的排前面,其次按命中数从多到少,房间内按时间先后)和“最近发言”(按最近一条命中的时间,房间和房间内都是新的在前;每个房间列出最新的 50 条),切换后立即重新搜索,排序同样不会记住;计数是能逐条跳到的结果数,有房间被截断时后面加 +。点一条会进入那条所在的房间并定位到它,同时收起浮层;之后用 `Enter`、上下箭头接着逐条跳,下一条在别的房间就进那个房间,开关保持打开。`Esc` 先收起浮层,再按一次清空并收起查找框;收起后点回查找框,或改关键词、拨开关,浮层重新展开。每个房间最多列出 50 条,超出时点该房间下的“还有 N 条”,会进入那个房间、切回本房间范围并保留关键词,在那里逐条看全部。范围开关不会记住,下次打开网页仍是本房间。
17
17
 
18
18
  - 发送图片时,当前页面沿用本机预览。消息回执和成员执行状态出现时,页面保留刚发送时的阅读位置。
19
19
  - **连续发送与失败重试**:上一条仍显示“发送中…”时可以发送下一条。房间正忙、消息预计需要排队时,每条先显示在输入框上方的排队列表里,网站确认后在原位成为正式排队项。浏览器按点击顺序提交,单条失败后继续发送后续消息。失败卡保留原文和附件,可点“重新发送”或“放弃”。切到其他房间后,发送和网络重试会继续;回到原房间还能找到失败卡。刷新或关闭页面会清除本页未发出的消息。
@@ -133,4 +133,4 @@
133
133
  - **答题卡是房间公开记录**:问题与回答和普通消息一样对能阅读本房间的人可见,不要在里面填写密钥、令牌或密码。
134
134
  - **讨论中的限制**:讨论进行中暂不能使用 `@全体成员`、`@全体依次`、撤回、编辑回退和分支。
135
135
 
136
- 在输入框左侧选“生成模型”,点“媒体参数”打开“模型参数”面板,可选“生成方式”、“参考图”、“参考模型”和“拆分部件”。发送后,描述和附件会作为普通消息交给主持人。请房主在“生成模型”的 Tripo 卡片中指定建模专家,主持人会把描述和附件交给该成员。打开附件或项目中的 GLB、内嵌资源的 glTF 可预览模型。拖动旋转,滚轮缩放,右键拖动平移;触屏用双指缩放和平移。
136
+ 在输入框左侧选“生成模型”,点回形针右侧显示当前生成方式的按钮打开“模型参数”面板,可选“生成方式”和“拆分部件”;参考图和参考模型用回形针添加。发送后,描述和附件会作为普通消息交给主持人。请房主在“生成模型”的 Tripo 卡片中指定建模专家,主持人会把描述和附件交给该成员。打开附件或项目中的 GLB、内嵌资源的 glTF 可预览模型。拖动旋转,滚轮缩放,右键拖动平移;触屏用双指缩放和平移。
@@ -571,6 +571,8 @@
571
571
  "清除查找(Esc)": "Clear find (Esc)",
572
572
  "正在搜索…": "Searching…",
573
573
  "范围:全部房间(点击只查本房间)": "Scope: all rooms (click to search only this room)",
574
+ "相关度": "Relevance",
575
+ "排序": "Sort",
574
576
  "范围:本房间(点击查全部房间)": "Scope: this room (click to search all rooms)",
575
577
  "在全部房间中查找": "Find in all rooms",
576
578
  "全部房间的查找结果": "Find results in all rooms",
@@ -515,5 +515,28 @@
515
515
  "已生成一条经验建议 · 去确认": "A rule suggestion is ready · Review it",
516
516
  "本次产出": "Results of this review",
517
517
  "想存成工作流": "Save as workflow?",
518
- "想记下": "Remember?"
518
+ "想记下": "Remember?",
519
+ "请点“设置”在协作设置中启用": "Open Settings to enable this in Collaboration settings.",
520
+ "未填接口密钥,请点“设置”完成配置": "API key missing. Open Settings to finish setup.",
521
+ "本机未配置支持订阅生图的软件": "No software with subscription image generation is configured on this computer.",
522
+ "请输入描述或添加参考附件": "Enter a description or add a reference attachment.",
523
+ "请生成图片。生成方式:{method};尺寸:{size};画质:{quality};格式:{format};背景:{background};复杂度:{complexity};数量:{count}。{description}": "Please generate an image. Method: {method}. Size: {size}. Quality: {quality}. Format: {format}. Background: {background}. Complexity: {complexity}. Count: {count}. {description}",
524
+ "主持人判断": "Host decides",
525
+ "主持人看描述决定谁来画、怎么画;会唤醒成员,通常要等几分钟。": "The host reads the description and decides who draws it and how. Wakes members; usually takes a few minutes.",
526
+ "成员用自己软件的生图能力画,用该成员的订阅额度,通常要等几分钟。": "A member draws it with their own software, on that member’s subscription. Usually takes a few minutes.",
527
+ "直接调用生图接口,按接口账号计费,不唤醒成员,通常更快。": "Calls the image API directly, billed to the API account. Wakes no one; usually faster.",
528
+ "主持人看描述决定用代码制作还是视频模型;会唤醒成员。": "The host reads the description and decides between code and a video model. Wakes members.",
529
+ "成员写动画代码并渲染成视频,适合讲解和图文动效,用成员的额度,通常要等几分钟。": "A member codes the animation and renders it. Suits explainers and motion graphics; uses the member’s allowance and usually takes a few minutes.",
530
+ "直接调用视频模型接口,按接口账号计费,不唤醒成员。": "Calls the video model API directly, billed to the API account. Wakes no one.",
531
+ "主持人看描述和参考附件决定建模方式;会唤醒成员。": "The host reads the description and references and decides how to model it. Wakes members.",
532
+ "成员写 Blender 脚本建模,适合规则形体,用成员的额度。": "A member models it with a Blender script. Suits regular shapes; uses the member’s allowance.",
533
+ "成员按尺寸参数生成模型,之后改尺寸方便,用成员的额度。": "A member builds it from dimensions, easy to resize later; uses the member’s allowance.",
534
+ "成员调用 Tripo 从描述或参考图生成,按次扣 Tripo 积分。": "A member calls Tripo with the description or reference image; each run costs Tripo credits.",
535
+ "交给主持人,或调用 API 生图": "Ask the host or use the image API",
536
+ "仅用于 API 生图": "Only applies to API image generation",
537
+ "图片附件将随请求发给主持人。": "Image attachments will be sent to the host with the request.",
538
+ "管理 API 生图。订阅生图由主持人安排,不受此开关限制。": "Manage API image generation. The host can arrange subscription image generation regardless of this setting.",
539
+ "未添加。此房间不能调用 API 生图。": "Not added. This room cannot use the image API.",
540
+ "此房间未开启 API 生图。要开启,请选择“API 生图”或“两者都开”。": "The image API is off for this room. Select “API image generation” or “Enable both” to turn it on.",
541
+ "订阅生图": "Subscription images"
519
542
  }
@@ -1289,6 +1289,10 @@
1289
1289
  "将发送给开发者的内容": "What will be sent to the developers",
1290
1290
  "群窗口固定只读": "Group windows are always read-only",
1291
1291
  "私信窗口只能只读或自动": "Direct messages can only be read-only or Auto",
1292
+ "主理人固定使用软件支持的最高档。": "The steward always uses the highest tier supported by its app.",
1293
+ "只有房主可以修改 MOSS 的配置。": "Only the room owner can change MOSS settings.",
1294
+ "请在“软件与模型”中设置模型。": "Set the model in “Software and model”.",
1295
+ "此软件不支持设置速度档位。": "This app does not support speed tiers.",
1292
1296
  "MOSS 的操作": "MOSS actions",
1293
1297
  "MOSS 在这个窗口用的软件、模型与项目权限;下面是 MOSS 在这个窗口的其他设置。": "The software, model and project access MOSS uses in this window; its other settings for this window are below.",
1294
1298
  "保留房间({count} 小时后存档)": "Keep room (archives in {count} h)",