ai_co_discuss 0.5.27 → 0.5.28

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.
@@ -6,7 +6,7 @@
6
6
 
7
7
  - **任务有 `host_workflows: true`**:房主给了你主持人权限,`host_permissions` 列出勾选了哪些项,属于这些项的控制你自己处理,不请用户代劳:`execution`(`stop`、`stop-all`、`steer`、`retry`、`withdraw`)、`member_config`(`model`、`adapter`、`label`)、`project_access`(`access`)、`roster`(`invite`、`away`、`remove`、`back`)、`pacing`(`order`、`discussion`、`goal`、`checkin`)、`workflows`(保存并启用工作流)、`create_rooms`(新建房间)。没勾选的项不要试,需要时在回答里请用户勾选;操作被拒时错误会写明缺哪一项。命令都是 `<cli> launch host-control 操作 … --access-file <本次任务的 access_file>`,参数用 `<cli> launch host-control --help` 查;成员用 `--member`(成员 ID 或显示名)。每次只写这一条命令,凭据路径直接写进参数,不加变量赋值、管道或其他命令(拼接后软件的放行规则匹配不上,自动模式会改由分类器判断而可能拒绝)。被你所用软件的权限检查拒绝时,回答里如实写“被我所在软件的权限拦下”,不说成房间要求用户本人操作。
8
8
  - **没有该字段,或你是 API 主持人(没有命令行)**:这些操作请用户在网页上做,或请用户在电脑上“成员与设置 → 协作设置”的“主持人权限”里勾选对应的项。事件记录和执行详情不需要勾选,都能读。
9
- - **始终由用户决定**,需要时在回答里提出:对你自己的打断、改项目权限、暂离、移除或更换主持人(你自己失败的执行按下文处理),批准超出上限的轮数,项目权限高于可写或放行被拒绝的工具,改项目目录,撤回、回退用户的消息,私聊。
9
+ - **始终由用户决定**,需要时在回答里提出:对你自己的打断、改项目权限、暂离、移除或更换主持人(你自己失败的执行按下文处理),批准超出上限的轮数,放行被拒绝的工具,改项目目录,撤回、回退用户的消息,私聊。
10
10
 
11
11
  用户要求停下、换人或调整顺序时直接执行;你自己发现问题时先诊断再处理。每次控制都在回答里说明做了什么、为什么。`revision` 过期会被拒绝,重新读取后再提交。
12
12
 
@@ -25,19 +25,24 @@
25
25
  - 偏了方向或要补充:`steer` 插话(不需要打断时优先)。
26
26
  - 卡住或做错:`stop` 打断。被打断的执行不能 `retry`,它的请求随之取消;要接着做就重新派活,写明已完成的部分与接着做什么。全部停下用 `stop-all`(讨论进行中用 `discussion`)。
27
27
  - 偶发失败(网络、超时、软件崩溃):`retry`。
28
+ - 成员因权限被拒而做不下去(执行详情里的被拒操作,如联网搜索、读项目外文件、跑命令):用 `access` 把它调到够用的档位后重新派活,见下文“按需配置权限”。
28
29
  - 模型限流或不可用:`model` 换模型;App 卡住:`adapter` 切到同一会话的 CLI。
29
30
  - 无法恢复:`remove` 后 `invite` 换一位。
30
31
  - 自己派出的活停不下来、方向错了或用户改了主意:`withdraw --message 派活消息编号`(接力或循环立即停下,不再交回你)。
31
32
 
32
33
  ## 调整成员与推进
33
34
 
34
- `invite` 只用本机已配置的软件(项目权限默认只读、最高可写,返回的新成员本次执行里就能点名);`away` / `remove` / `back`、`access`、`label`(`--label` 改显示名,`--description` 改分工描述)调整成员。`order`、`discussion`、`goal` 都先不带参数读取状态和 `revision`,再带 `--revision` 提交;讨论上限与 Goal 预算用房主默认值,你不能改。Goal 只在任务需要房间空闲时持续推进、且目标和完成标准明确时开。
35
+ `invite` 只用本机已配置的软件(项目权限默认只读,返回的新成员本次执行里就能点名);`away` / `remove` / `back`、`access`、`label`(`--label` 改显示名,`--description` 改分工描述)调整成员。`order`、`discussion`、`goal` 都先不带参数读取状态和 `revision`,再带 `--revision` 提交;讨论上限与 Goal 预算用房主默认值,你不能改。Goal 只在任务需要房间空闲时持续推进、且目标和完成标准明确时开。
36
+
37
+ ### 按需配置权限
38
+
39
+ 成员的项目权限按它这次的任务给,够用即可:只读(读项目、回答)→ 可写(改项目文件、跑命令)→ 自动(软件自带分类器逐次放行项目外读写、联网等)→ 全放开(跳过全部检查)。邀请、新建房间时按分工定档;真出现权限问题(执行详情里有被拒操作)再调高到能解决的那一档,不预先给最高档。软件不支持的档位会被拒绝(如 Antigravity CLI 没有自动档,后台跑命令只能靠全放开)。开到全放开时在回答里写明给了谁、为什么。(成员会读外部内容、可能被注入,档位越高出事的范围越大。)
35
40
 
36
41
  ## 新建房间
37
42
 
38
43
  勾选了 `create_rooms` 时,一部分工作需要独立的成员、会话与记录(用户要求另开房间,或一条支线会长期占住本房间)时,可以 `create-room` 拆出去:`--title`(必填)、`--goal`、`--members 平台,平台`、`--host 平台`(用户指定了主持人才填,不填即与你同款的专家)、`--cwd`(只能是本房间项目目录或其子目录)、`--access read|write`(默认只读)、`--host-model` 与 `--host-effort` 可指定主持人模型和档位;同一平台可在成员名单中重复出现,每位独立编号。`--text` 或 `--body-file UTF-8文件`(主持人项目或草稿目录内)提供首条消息(写清要它做什么、做完怎样算完成)。返回新房间编号;失败或不确定是否建成时沿用同一 `--submission-id` 重试,不会重复建房。本房间可新建的数量有上限,新房间直接复制本房间的智能调度、生图、API 上限、连续派活上限与主持人权限(不含 `create_rooms`,不能再新建房间)。
39
44
 
40
- 先用 `room list --query 标题片段` 或用户给的链接确定目标;同名时查看房间确认。用 `launch host-control rooms` 核对关联、对方主持人、忙闲、投递状态和互传余额。尚未关联时,用 `launch host-control link-request --room 编号 --reason 理由` 请房主批准,收到批准通知后发原消息。
45
+ 先用 `room list --query 标题片段` 或用户给的房间编号找到同一站点上的目标房间,同名时查看房间确认。直接用下面的 `room-post` 发给对方主持人。`launch host-control rooms` 只列本房的父房间和子房间。
41
46
 
42
47
  用 `launch host-control room-post --room 编号 --body-file FILE --expect reply` 交给对方主持人,普通通知用 `--expect none`;短消息可用 `--text`。对方忙时排队,只有父房间能用 `--interrupt` 打断子房间。达到互传上限时,请房主决定是否继续。
43
48
 
@@ -4362,7 +4362,7 @@ def interrupt_for_message(connection, room_id, message_id):
4362
4362
  now = int(time.time())
4363
4363
  source = connection.execute("""SELECT r.title FROM message_relays m JOIN rooms r ON r.id=m.source_room_id
4364
4364
  WHERE m.message_id=?""", (message_id,)).fetchone()
4365
- notice = (Text("关联房间「{room}」的主持人刚发来消息 #{message_id},请先读原文。", room=source[0], message_id=message_id)
4365
+ notice = (Text("房间「{room}」的主持人刚发来消息 #{message_id},请先读原文。", room=source[0], message_id=message_id)
4366
4366
  if source else Text("用户刚发来消息 #{message_id},请先读原文,在这一轮的回答里一并处理。", message_id=message_id))
4367
4367
  for row in steerable:
4368
4368
  execution = connection.execute("SELECT * FROM member_executions WHERE id=?", (row["execution_id"],)).fetchone()
@@ -4600,8 +4600,6 @@ def record_relay_send(connection, room_id, token, payload):
4600
4600
  begin_write(connection)
4601
4601
  target = payload.get("target_room_id")
4602
4602
  host = linked_room_values(connection, room_id, target, payload.get("host"))
4603
- if not connection.execute("SELECT 1 FROM room_links WHERE room_id=? AND other_room_id=?", (room_id, target)).fetchone():
4604
- raise PermissionError(Text("只有互相关联的房间之间才能代主持人发言"))
4605
4603
  text, member = payload.get("text"), payload.get("member", "")
4606
4604
  if not isinstance(text, str) or not text.strip() or len(text.strip()) > 32000 or not isinstance(member, str):
4607
4605
  raise ValueError(Text("发信留痕须包含有效的正文与成员名称"))
@@ -4739,7 +4737,7 @@ def relay_count(connection, room_id, source):
4739
4737
 
4740
4738
 
4741
4739
  def check_relay(connection, room_id, relay):
4742
- """Check a message another room's host sends here: the rooms are linked, and the hosts have not passed the limit.
4740
+ """Validate the source room, reply reference, and the pair's message limit.
4743
4741
 
4744
4742
  `relay.limit` is the owner's limit the runner reads from this computer's preferences (0 or absent: unlimited, user
4745
4743
  2026-11-21). It counts both directions since the owner's own last message in either room; past it the write is a 409
@@ -4753,8 +4751,6 @@ def check_relay(connection, room_id, relay):
4753
4751
  source, limit = relay["room_id"], relay.get("limit", 0)
4754
4752
  if type(limit) is not int or not 0 <= limit <= MAX_RELAY_LIMIT:
4755
4753
  raise ValueError(Text("relay.limit 须为 0–100 的整数,0 表示不限"))
4756
- if not connection.execute("SELECT 1 FROM room_links WHERE room_id=? AND other_room_id=?", (room_id, source)).fetchone():
4757
- raise PermissionError(Text("只有互相关联的房间之间才能代主持人发言"))
4758
4754
  if relay.get("expect", "reply") not in ("reply", "none"):
4759
4755
  raise ValueError(Text("expect 须为 reply 或 none"))
4760
4756
  reply_to = relay.get("reply_to")
@@ -1,50 +1,7 @@
1
- """Owner-managed peer rooms and host requests to link existing rooms."""
1
+ """Parent and child rooms visible to their host or owner."""
2
2
 
3
- import re
4
- import uuid
5
-
6
- from .free_room import linked_room_values, member_display_names, relay_count, require_owner_or_host, wake_host
3
+ from .free_room import member_display_names, relay_count
7
4
  from .message_queue import host_busy
8
- from .runtime import begin_write, require_owner
9
- from .texts import Text, save_text
10
-
11
-
12
- def request_view(db, room, message_id):
13
- """Read one application within its source room."""
14
- row = db.execute("""SELECT q.message_id AS id,q.target_room_id AS room_id,r.title,q.reason,q.state
15
- FROM room_link_requests q JOIN messages m ON m.id=q.message_id
16
- LEFT JOIN rooms r ON r.id=q.target_room_id WHERE m.room_id=? AND m.id=?""", (room, message_id)).fetchone()
17
- if not row:
18
- raise LookupError(Text("找不到关联申请"))
19
- return dict(row)
20
-
21
-
22
- def card(db, room, source, text, key):
23
- """Append a system card without routing it to members."""
24
- mid = db.execute("""INSERT INTO messages(room_id,author,text,source,submission_id,created_at)
25
- VALUES (?,'系统',?,?,?,strftime('%Y-%m-%dT%H:%M:%SZ','now'))""", (room, text, source, key)).lastrowid
26
- db.execute("INSERT INTO message_details(message_id,kind,submitted_by) VALUES (?,'notice','系统')", (mid,))
27
- save_text(db, "message", mid, "text", text)
28
- return mid
29
-
30
-
31
- def change_peer(db, room, other, remove):
32
- """Write both sides together while holding the transaction's writer lock."""
33
- linked_room_values(db, room, other, "peer")
34
- for source, dest in ((room, other), (other, room)):
35
- row = db.execute("SELECT relation FROM room_links WHERE room_id=? AND other_room_id=?", (source, dest)).fetchone()
36
- if remove and (not row or row[0] != "peer"):
37
- raise ValueError(Text("只能解除已有的平级关联"))
38
- if not remove and row:
39
- raise FileExistsError(Text("两个房间已经关联"))
40
- title = db.execute("SELECT title FROM rooms WHERE id=?", (dest,)).fetchone()[0]
41
- text = Text("已解除与房间「{title}」的关联。", title=title) if remove else Text("已关联房间「{title}」。", title=title)
42
- mid = card(db, source, "room_link", text, uuid.uuid4().hex)
43
- if remove:
44
- db.execute("DELETE FROM room_links WHERE room_id=? AND other_room_id=?", (source, dest))
45
- else:
46
- db.execute("INSERT INTO room_links VALUES (?,?,?,'peer','')", (mid, source, dest))
47
- return {"ok": True}
48
5
 
49
6
 
50
7
  def list_links(db, room, limit=0):
@@ -61,65 +18,3 @@ def list_links(db, room, limit=0):
61
18
  result.append(dict(row) | {"host": member_display_names(db, dest).get(row["host"]), "busy": bool(host_busy(db, dest)), "outbound": list(map(dict, receipts)),
62
19
  "relay_used": used, "relay_remaining": max(0, limit - used) if limit else None})
63
20
  return {"links": result}
64
-
65
-
66
- def apply_link(db, room, token, body):
67
- """Record a host's idempotent request without granting access."""
68
- if not require_owner_or_host(db, room, token):
69
- raise PermissionError(Text("只有当前主持人可以申请关联"))
70
- other, reason, key = body.get("room_id"), body.get("reason"), body.get("submission_id")
71
- linked_room_values(db, room, other, "peer")
72
- if not isinstance(reason, str) or not reason.strip() or len(reason) > 32000 or not isinstance(key, str) or not re.fullmatch(r"[a-zA-Z0-9_-]{8,100}", key):
73
- raise ValueError(Text("需要有效的申请理由和提交编号"))
74
- old = db.execute("SELECT id FROM messages WHERE room_id=? AND submission_id=?", (room, key)).fetchone()
75
- if old:
76
- view = request_view(db, room, old[0])
77
- if (view["room_id"], view["reason"]) != (other, reason):
78
- raise FileExistsError(Text("这个提交编号已被另一条内容使用,请为新发言生成新编号"))
79
- return view
80
- if db.execute("SELECT 1 FROM room_links WHERE room_id=? AND other_room_id=?", (room, other)).fetchone():
81
- raise FileExistsError(Text("两个房间已经关联"))
82
- mid = card(db, room, "room_link_request", reason, key)
83
- db.execute("INSERT INTO room_link_requests VALUES (?,?,?,'pending')", (mid, other, reason))
84
- return request_view(db, room, mid)
85
-
86
-
87
- def handle_links(db, room, token, path, method, body, site_owner, target_token, limit=0):
88
- """Dispatch link management with source and destination ownership checks."""
89
- if path == ["room-links"] and method == "GET":
90
- require_owner_or_host(db, room, token)
91
- if not 0 <= limit <= 100:
92
- raise ValueError(Text("relay.limit 须为 0–100 的整数,0 表示不限"))
93
- return list_links(db, room, limit)
94
- begin_write(db)
95
- if path == ["room-link-requests"] and method == "POST":
96
- return apply_link(db, room, token, body)
97
- require_owner(db, room, token)
98
- decision = len(path) == 3 and path[0] == "room-link-requests" and path[2] == "decide" and method == "POST"
99
- if decision:
100
- req = request_view(db, room, int(path[1]))
101
- other = req["room_id"]
102
- if type(body.get("approve")) is not bool:
103
- raise ValueError(Text("approve 须为布尔值"))
104
- elif path == ["room-links"] and method == "POST":
105
- other = body.get("room_id")
106
- elif len(path) == 2 and path[0] == "room-links" and method == "DELETE":
107
- other = path[1]
108
- else:
109
- raise LookupError(Text("接口不存在"))
110
- if not site_owner and (not decision or body["approve"]):
111
- require_owner(db, other, target_token)
112
- if not decision:
113
- return change_peer(db, room, other, method == "DELETE" or body.get("action") == "delete")
114
- state = "approved" if body["approve"] else "declined"
115
- if req["state"] == state:
116
- return req
117
- if req["state"] != "pending":
118
- raise FileExistsError(Text("申请已经处理"))
119
- if body["approve"]:
120
- change_peer(db, room, other, False)
121
- db.execute("UPDATE room_link_requests SET state=? WHERE message_id=?", (state, req["id"]))
122
- notice = (Text("与房间 {room} 的关联已批准,可以发送消息。", room=other) if body["approve"]
123
- else Text("与房间 {room} 的关联申请已拒绝。", room=other))
124
- wake_host(db, room, req["id"], notice, f"peer-link-{req['id']}")
125
- return request_view(db, room, req["id"])
@@ -114,16 +114,10 @@ CREATE TABLE IF NOT EXISTS room_links (
114
114
  message_id INTEGER PRIMARY KEY REFERENCES messages(id) ON DELETE CASCADE,
115
115
  room_id TEXT NOT NULL REFERENCES rooms(id),
116
116
  other_room_id TEXT NOT NULL,
117
- relation TEXT NOT NULL CHECK(relation IN ('child','parent','peer')),
117
+ relation TEXT NOT NULL CHECK(relation IN ('child','parent')),
118
118
  host TEXT NOT NULL,
119
119
  UNIQUE(room_id, other_room_id)
120
120
  );
121
- CREATE TABLE IF NOT EXISTS room_link_requests (
122
- message_id INTEGER PRIMARY KEY REFERENCES messages(id) ON DELETE CASCADE,
123
- target_room_id TEXT NOT NULL,
124
- reason TEXT NOT NULL,
125
- state TEXT NOT NULL CHECK(state IN ('pending','approved','declined'))
126
- );
127
121
  -- Sender-side receipts survive deletion of the destination room.
128
122
  CREATE TABLE IF NOT EXISTS room_relay_sends (
129
123
  message_id INTEGER PRIMARY KEY REFERENCES messages(id) ON DELETE CASCADE,
package/backend/server.py CHANGED
@@ -56,7 +56,8 @@ from .visual_fences import fold_message_visuals
56
56
  from .identity import MAX_ROOM_AGENTS, PARTICIPANTS, default_label_text, is_ai, is_participant
57
57
  from .message_queue import drain as drain_queue, enqueue, enqueue_share, queue_action, queue_split, queue_view
58
58
  from .room_import import import_room, imported_attachment
59
- from .room_links import handle_links, request_view
59
+ from .room_links import list_links
60
+ from .free_room import require_owner_or_host
60
61
  from .runtime import (begin_write, limit_values, owner_proxy_token, require_owner, token_hash,
61
62
  enforce_session_limits, room_limits_view, session_limits_view)
62
63
  from .goal_room import goal_action, goal_view
@@ -542,13 +543,7 @@ def init_database(database, seed=True):
542
543
  connection.executescript(SCHEMA)
543
544
  if 'member' not in {row[1] for row in connection.execute('PRAGMA table_info(message_relays)')}:
544
545
  connection.execute("ALTER TABLE message_relays ADD COLUMN member TEXT NOT NULL DEFAULT ''")
545
- links_schema = connection.execute("SELECT sql FROM sqlite_master WHERE name='room_links'").fetchone()[0]
546
- if "'peer'" not in links_schema:
547
- begin_write(connection)
548
- connection.execute("ALTER TABLE room_links RENAME TO old_room_links")
549
- connection.execute(links_schema.replace("'child','parent'", "'child','parent','peer'"))
550
- connection.execute("INSERT INTO room_links SELECT * FROM old_room_links")
551
- connection.execute("DROP TABLE old_room_links")
546
+ connection.execute("DELETE FROM room_links WHERE relation='peer'")
552
547
  relay_columns = {row[1] for row in connection.execute("PRAGMA table_info(message_relays)")}
553
548
  if "expect" not in relay_columns:
554
549
  connection.execute("ALTER TABLE message_relays ADD COLUMN expect TEXT NOT NULL DEFAULT 'reply'")
@@ -2380,8 +2375,6 @@ def message_with_attachments(connection, row):
2380
2375
  if message["withdrawn"] == "retracted":
2381
2376
  # The owner retracted it before anyone handled it: only the page that retracted it keeps the text.
2382
2377
  return {**message, "text": "", "summary": "", "suggestions": [], "attachments": []}
2383
- if message["source"] == "room_link_request":
2384
- message["link_request"] = request_view(connection, message["room_id"], message["id"])
2385
2378
  message["texts"] = load_texts(connection, "message", message["id"])
2386
2379
  message["suggestions"] = message_suggestions(connection, message["id"])
2387
2380
  files = with_image_sizes(connection, connection.execute("SELECT * FROM attachments WHERE message_id=? ORDER BY position,id",
@@ -2781,6 +2774,8 @@ def append_message(connection, room_id, payload, actor):
2781
2774
  room = require_room(connection, room_id)
2782
2775
  if not payload.get("relay"):
2783
2776
  return append_free_message(connection, room, payload, actor)
2777
+ if room["archived"]:
2778
+ raise FileExistsError(Text("房间已存档,不再投递"))
2784
2779
  if payload.get("interrupt") is not True:
2785
2780
  return append_free_message(connection, room, {**payload, "queue": True}, actor)
2786
2781
  relay = payload["relay"]
@@ -3741,10 +3736,6 @@ class DiscussionHandler(BaseHTTPRequestHandler):
3741
3736
  """Handle read-only GET requests."""
3742
3737
  self.dispatch("GET")
3743
3738
 
3744
- def do_DELETE(self):
3745
- """Remove an existing peer link."""
3746
- self.dispatch("DELETE")
3747
-
3748
3739
  def do_POST(self):
3749
3740
  """Handle JSON mutations and explicit binary attachment uploads."""
3750
3741
  self.dispatch("POST")
@@ -4265,24 +4256,37 @@ class DiscussionHandler(BaseHTTPRequestHandler):
4265
4256
  connection.commit()
4266
4257
  return self.respond(result)
4267
4258
  self.refuse_read_only(parts, method)
4268
- supplied_room_token = self.headers.get("X-Discussion-Token")
4269
4259
  self.admin_as_owner(connection, room_id)
4270
4260
  token = self.headers.get("X-Discussion-Token", "")
4271
4261
  if self.headers.get("X-Discussion-Session"):
4272
4262
  record_reported_session(connection, room_id, token, {"session_id": self.headers.get("X-Discussion-Session"),
4273
4263
  "session_client": self.headers.get("X-Discussion-Session-Client")})
4274
4264
  connection.commit()
4275
- if parts[3:4] in (["room-links"], ["room-link-requests"]):
4276
- site_owner = (self.bridged or session_valid(connection, self.admin_token()) or
4277
- (not supplied_room_token and self.local_visitor()))
4278
- body = self.read_payload() if method == "POST" else {}
4279
- result = handle_links(connection, room_id, token, parts[3:], method, body, site_owner,
4280
- body.get("other_token") or self.headers.get("X-Target-Room-Token", token),
4281
- int(params.get("limit", 0)))
4265
+ if parts[3:] == ["room-links"] and method == "GET":
4266
+ require_owner_or_host(connection, room_id, token)
4267
+ limit = int(params.get("limit", 0))
4268
+ if not 0 <= limit <= 100:
4269
+ raise ValueError(Text("relay.limit 须为 0–100 的整数,0 表示不限"))
4270
+ return self.respond(list_links(connection, room_id, limit))
4271
+ if parts[3:] == ["host-room-post"] and method == "POST":
4272
+ require_owner(connection, room_id, token)
4273
+ host = require_member(connection, room_id, self.headers.get(ACTING_MEMBER_HEADER))
4274
+ if host["role"] != "host":
4275
+ raise PermissionError(Text("只有房主或当前主持人可以读取"))
4276
+ body = self.read_payload()
4277
+ target = body.get("target_room_id")
4278
+ relay = {key: body[key] for key in ("limit", "expect", "reply_to") if key in body}
4279
+ relay.update(room_id=room_id, member=host["name"], host=member_display_names(connection, room_id)[host["name"]])
4280
+ payload = dict(author="用户", text=body.get("text"), submission_id=body.get("submission_id"),
4281
+ interrupt=body.get("interrupt", False), relay=relay)
4282
+ result = append_message(connection, target, payload, "用户")
4283
+ drain_room_queue(connection, target)
4282
4284
  connection.commit()
4283
- if method != "GET":
4284
- self.server.hub.notify_update()
4285
- return self.respond(result)
4285
+ self.server.hub.notify_update(target)
4286
+ receipt = {key: result[key] for key in ("queued", "interrupted", "reason") if key in result}
4287
+ if result.get("message"):
4288
+ receipt["message"] = {"id": result["message"]["id"]}
4289
+ return self.respond(receipt)
4286
4290
  if parts[3:4] == ["external-members"]:
4287
4291
  result, status = external_owner_api(connection, room_id, parts[4:], params, method, token, self.read_payload)
4288
4292
  # Revoking (or finding expired) the member that held the room frees it: messages queued behind it go now.
@@ -40,8 +40,8 @@ Use “History” to bring context from an existing local AI conversation into a
40
40
  ## Change a model, name, or private prompt
41
41
 
42
42
  - **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 refresh the model list. Changes take effect on the next run. 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)”.
43
- - **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. 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.
44
- - **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, point at it in the right sidebar and select “Expert prompt” on the member card that floats out. 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.
43
+ - **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.
44
+ - **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, point at it in the right sidebar and select “Expert prompt” on the member card that floats out; on a phone or tablet, tap the member row and choose “Expert prompt” in the menu. 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.
45
45
  - **System prompts for all members or one platform.** In **Settings → System prompts**, the “All members” row goes to every member this computer wakes, 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`.
46
46
 
47
47
  ## Set the host, pause participation, invite back, or remove
@@ -72,13 +72,13 @@ Rooms created by a host inherit its folder. Select the arrow to the left of the
72
72
  Attachments are left out by default, and attachment tags in messages read “not included in the share”. When the room has attachments, the confirmation offers “Include attachments”: ticked, every attachment (images, videos, web pages, documents and so on) goes into the page as it is, for readers to view and download; project files a member’s answer delivered (the file cards under the answer) come along too, as attachments of that answer. Text attachments are checked for keys and local folders too; the contents of images, videos and other files cannot be checked, so look through them yourself. A share link carries the attachments the page can preview — images, audio, video, PDF, Word/Excel/PowerPoint (docx, xlsx, pptx), text and code, zip archives, and web pages — for readers to open right in the page; scripts that run on a double click, such as js, bat and ps1, go with .txt added to their names. Programs and old doc/xls/ppt files stay off the share site and their messages read “not included in the share”, while a downloaded web page file still carries them. Web page attachments run on the share page as they do in the room, and demos a member’s answer refers to show inside the message; they run in an isolated frame that cannot read the share page, send requests or submit forms. Select “Filter files” to choose attachments by type or individually. The filters expand automatically above 300 MB. Files appear newest message first. Each file shows the message number, sender, time and size. Click its name or “Preview” and close the preview to continue selecting. Published links allow 5 MB of text plus up to 300 MB of attachments, with a 100 MB limit per file. The computer’s background service prepares and uploads the share even if you lock your phone, close the page or switch to another paired device. Under “Shared”, open “Share jobs” to review a draft, check uploaded files and bytes, cancel, retry or adjust attachments. After publication, use the live link below the jobs to open its card or copy the link. Cancel, retry and dismiss update the job immediately. If the operation fails, the job is restored and an error is shown. Opening a draft or share card shows the room title while its contents load. When the service is offline, keep the browser page open until the transfer finishes. A downloaded web page file carries at most 100 MB of attachments. If the room changes before download, review the updated contents in the confirmation dialog.
73
73
  - **Import rooms.** In directory options or a folder menu, select “Import rooms” and choose a ZIP. Review the preview and confirm the rooms to import. A room marked “Already exists; skipped” is left as is. On the same computer, invite members back to resume their sessions. Claude Code members switch to manual connection on import. Re-register them from their original window to avoid splitting the session. Imported discussion history is kept, but discussions are not restarted and members are not woken automatically.
74
74
  - **Branch from a message.** In an AI message menu, select “Branch from here” to create a room containing the history through that message. Connections that support session branching resume from the branched session in the new room. The original room is kept.
75
- - **Let the host create rooms.** With “Create rooms” ticked in “Host permissions”, the host can move part of the work into a new room. Members use only software configured on this computer, with read-only project access by default and at most write. The project folder must be the original room’s folder or a folder inside it. Unless you name another host, the new room is hosted by the same expert as the original host. Each room gets a “Linked room” card; select “Open room” to go to the other one. The new room inherits the original room’s smart scheduling, image generation, API limit, chain round limit and host permissions, except that it cannot create rooms. A room can create a limited number of rooms (3 by default, adjustable in “Host permissions”).
75
+ - **Let the host create rooms.** With “Create rooms” ticked in “Host permissions”, the host can move part of the work into a new room. Members use only software configured on this computer, with read-only project access by default, raised as their work requires. The project folder must be the original room’s folder or a folder inside it. Unless you name another host, the new room is hosted by the same expert as the original host. Each room gets a “Linked room” card; select “Open room” to go to the other one. The new room inherits the original room’s smart scheduling, image generation, API limit, chain round limit and host permissions, except that it cannot create rooms. A room can create a limited number of rooms (3 by default, adjustable in “Host permissions”).
76
76
 
77
- ### 6. Link existing rooms
77
+ ### 6. Contact another room’s host
78
78
 
79
- Open “Linked rooms” in the room sidebar and select the other room. You can also give your host a room title or link. On a computer, drag a room from the left sidebar onto the messages or the message box to insert “"Room title" (room ID)” at the cursor, so the host can find it by its ID. When the host requests a link, select “Allow” or “Decline” on the request card. Once linked, tell your host what you need. The other host can assign work within its room’s permissions and send the result back. A notification needs no reply.
79
+ Give your host the target room’s title, ID or link and describe the work. On a computer, drag a room from the left sidebar onto the messages or the message box to insert “"Room title" (room ID)” at the cursor, so the host can find it by its ID. The other host can assign work within its room’s permissions and send the result back. A notification needs no reply.
80
80
 
81
- A message from a linked room goes to this room's current host: an idle host takes it at once even while other members work; it queues only while the host is busy. The outgoing message shows whether it is queued, delivered or answered. Open it to read the original. Only a parent can interrupt a child. Set the linked-room message limit under Settings → Room preferences (0 means unlimited). The count resets when you speak in either room. Removing a peer link in the sidebar preserves earlier messages.
81
+ A message from another room goes to this room's current host: an idle host takes it at once even while other members work; it queues only while the host is busy. The outgoing message shows whether it is queued, delivered or answered. Open it to read the original. Only a parent can interrupt a child. Set the linked-room message limit under Settings → Room preferences (0 means unlimited). The count resets when you speak in either room. The Parent and child rooms section shows these relationships even after a room is detached in the directory.
82
82
 
83
83
  ## Notes
84
84
 
@@ -55,7 +55,7 @@ Select a workflow on the Workflows page. The canvas opens in the center, and its
55
55
 
56
56
  ### 5. “Full host control” and workflows
57
57
 
58
- - With “Full host control,” the host can create, edit, and enable workflows, invite required members with up to write access, interrupt or retry members, change models, reorder speakers, withdraw its own assignments, start discussions or Goals, and schedule its own check-ins.
58
+ - With “Full host control,” the host can create, edit, and enable workflows, invite required members, interrupt or retry members, change models, adjust a member’s project access as needed (including “Full”, raising it itself when a member hits a permission problem), reorder speakers, withdraw its own assignments, start discussions or Goals, and schedule its own check-ins.
59
59
  - Each of these host actions leaves a dashed line with a crown icon in the message flow where it happened (for example, “Host Claude withdrew the work assigned in #11150”); expand it when it does not fit on one line. Model changes keep their existing system record. Actions you take yourself in the web page are not recorded.
60
60
  - Without this setting, workflow items in the composer’s / menu are disabled. The host cannot invite members or enable a workflow. You can invite the members yourself and explain the process to the host.
61
61
  - Enabling a new workflow through the composer requires a host that the local service can wake. An API host can read the description and role list for an enabled workflow.
@@ -67,4 +67,4 @@ Select a workflow on the Workflows page. The canvas opens in the center, and its
67
67
  - **Changes reach active rooms:** Rooms using a workflow read its latest instructions and member prompts on their next run. Existing members’ models, effort, and project access remain room settings.
68
68
  - **Review imported workflows:** Importing a ZIP or folder shows a canvas preview. Cards that can write files are imported read-only until you enable them individually. If a workflow includes commands.json to register local commands for read-only API members, the editor shows the full commands. They run only after you enable “Allow these commands to run on this computer.” The host cannot add or remove local commands while drafting or editing a workflow.
69
69
  - **Allow only part of it:** Expand “Items” under “Full host control” and tick them one by one: “Handle execution problems”, “Adjust member settings”, “Change project access”, “Manage the member list”, “How work proceeds”, “Workflows” and “Create rooms”. Saving and enabling workflows needs “Workflows”; an action whose item is not ticked is refused, and the host is told which item is missing.
70
- - **You keep key decisions:** Even with “Full host control,” only you can change the host, approve assignment rounds above the limit, grant project access above write, change project folders, withdraw your messages, or use private chat.
70
+ - **You keep key decisions:** Even with “Full host control,” only you can change the host, approve assignment rounds above the limit, allow refused tools, change project folders, withdraw your messages, or use private chat.
@@ -18,7 +18,7 @@ Message a member or host, understand main and branch work and assignment labels,
18
18
 
19
19
  Once the site returns a message number, known recipients appear below the message. If an automatically connected member is busy and the request must wait for its current task to finish, a one-line notice with a clock shows the member’s name and the queued message number. Hover over the notice to see how long the request has waited. The working card takes its place when the member starts. If smart scheduling needs to choose the recipient, the page shows scheduling progress.
20
20
 
21
- Quick navigation on the left lists messages from users and members. Hover over a mark to preview the message or click to jump to its card. In the right sidebar's “Speaking order”, open a member row's “…” menu or right-click it and choose “Jump to latest message” (the same button is also on the member card, which appears when you hover over the row on a computer or tap it on a phone or tablet) to jump straight to that member's latest message or ongoing work card.
21
+ Quick navigation on the left lists messages from users and members. Hover over a mark to preview the message or click to jump to its card. In the right sidebar's “Speaking order”, open a member row's “…” menu or right-click it and choose “Jump to latest message” (on a phone or tablet, tapping the row opens this menu; on a computer, the member card that appears when you hover over the row has the same button) to jump straight to that member's latest message or ongoing work card.
22
22
 
23
23
  ### 2. Understand main lines, branches, and assignment labels
24
24
 
@@ -40,8 +40,8 @@
40
40
  ## 更换模型、名称与专属提示词
41
41
 
42
42
  - **改模型与思考强度**:新建房间或邀请时在成员卡背面设置;已有房间在顶部“房间”页 → “成员与设置”里找到该成员,调整模型、思考强度,或点刷新重新读取模型列表(更改从下一次执行生效)。App 接入的成员在原 App 聊天里选模型与强度,网页不覆盖。支持切换入口的软件也可在这里切换 CLI 与 App。由手动接入转为本机唤醒的成员,“接入”后会标“接管已有会话”:它的项目权限沿用原会话,模型与思考强度同样可以在这里改;但它自己的窗口开着时,任务会直接发进那个窗口,用的是窗口里的模型,关掉窗口后才按这里的设置运行。改过还没用上时,模型一栏在上次实际所用的模型后标“(设置为 …,下次生效)”或“(设置为 …,它自己的窗口关闭后生效)”。
43
- - **改显示名与分工描述**:右栏 → 成员菜单 → “名称与描述”(建房或邀请时点成员卡的名称与描述按钮,可翻面的卡片在背面设置),修改房间里的“显示名称”和分工说明。在房间里还有更快的入口:双击右栏或“成员与设置”页里的成员名称直接改名(Enter 或点别处保存,Esc 取消)。右栏的成员行不显示描述:鼠标指向某位成员,左侧浮出它的成员卡片,显示描述,并可点“编辑名称与描述”。编辑框里可点常见分工快速填入。分工说明会发给主持人和智能调度,帮助更准确地派活,也可存为该软件的默认描述。
44
- - **设专属提示词**:建房或邀请时翻开成员卡,点背面的“专属提示词”按钮;已在房间里的成员,鼠标指向右栏的成员,在浮出的成员卡片上点“专属提示词”。写下只发给这位成员的要求(例如“回答先给结论”),从下一次唤醒起生效。专属提示词不改变权限;来自工作流的成员只读,要到工作流里改。手动启动和外部成员没有专属提示词。
43
+ - **改显示名与分工描述**:右栏 → 成员菜单 → “名称与描述”(建房或邀请时点成员卡的名称与描述按钮,可翻面的卡片在背面设置),修改房间里的“显示名称”和分工说明。在房间里还有更快的入口:双击右栏或“成员与设置”页里的成员名称直接改名(Enter 或点别处保存,Esc 取消)。右栏的成员行不显示描述:鼠标指向某位成员,左侧浮出它的成员卡片,显示描述,并可点“编辑名称与描述”;手机、平板上点一下成员行,弹出的菜单顶部显示描述。编辑框里可点常见分工快速填入。分工说明会发给主持人和智能调度,帮助更准确地派活,也可存为该软件的默认描述。
44
+ - **设专属提示词**:建房或邀请时翻开成员卡,点背面的“专属提示词”按钮;已在房间里的成员,鼠标指向右栏的成员,在浮出的成员卡片上点“专属提示词”;手机、平板上点一下成员行,在弹出的菜单里选“专属提示词”。写下只发给这位成员的要求(例如“回答先给结论”),从下一次唤醒起生效。专属提示词不改变权限;来自工作流的成员只读,要到工作流里改。手动启动和外部成员没有专属提示词。
45
45
  - **给所有成员或某个平台设系统提示词**:“设置”→“系统提示词”里,“所有成员”一行发给本机唤醒的全部成员,各平台一行(Claude、Codex、Gemini、DeepSeek 等)发给用该平台的全部成员,包括预设和工作流里的专家。它们排在专属提示词之前,从下一次唤醒起生效;不修改各软件自己的 CLAUDE.md、AGENTS.md,所以不影响你在共议之外直接使用这些软件。命令行用 `codiscuss launch prompts`。
46
46
 
47
47
  ## 设为主持人、离开、请回与移除
@@ -70,13 +70,13 @@
70
70
  附件默认不带,消息里的附件标记显示为“未包含在分享中”。房间有附件时,确认框里有“包含附件”,勾选后所有附件(图片、视频、网页、文档等)原样放进分享页,读者可以查看和下载;成员回答里交付的项目文件(回答下方的文件卡片)也会作为该条回答的附件一起带上。文本类附件会一并检查疑似密钥和本机目录;图片、视频等文件的内容程序查不了,请自己核对。发布链接带上页面能预览的附件:图片、音视频、PDF、Word/Excel/PowerPoint(docx、xlsx、pptx)、文本与代码、zip 压缩包和网页,读者在分享页里直接打开;js、bat、ps1 等双击就会运行的脚本改名为 .txt 后带上。程序和旧版 doc/xls/ppt 不放到分享站,消息里显示“未包含在分享中”,下载的网页文件仍会带上。网页附件在分享页里照常运行,成员回答里引用的演示直接显示在消息中;它在隔离的框架里运行,读不到分享页,也不能联网请求或提交表单。勾选后点“筛选附件”可按类型或逐个选择;合计超过 300 MB 时筛选自动展开。文件按最新消息在前排列。每项显示消息编号、发送者、时间及大小,点文件名或“预览”核对内容,关闭预览即可继续勾选。发布时文字最多 5 MB,每个附件最多 100 MB、附件合计最多 300 MB。电脑上的常驻服务负责整理和上传,手机锁屏、关闭页面或换一台已配对设备都可以继续。在左侧“已分享”的“分享任务”里可以打开确认、查看已传文件数和字节数、取消、重试或调整附件。发布完成后,从下方的有效链接查看分享卡或复制链接。取消、重试和清除会立即更新该任务;操作失败会恢复并提示原因。打开确认或分享卡时会先显示房间标题,再载入内容。常驻服务未运行时由浏览器处理,此时须保持页面打开。网页文件最多带 100 MB 附件。下载前房间内容若有更新,会重新显示确认框。
71
71
  - **导入房间**:目录选项或文件夹菜单 → “导入房间”,选择 ZIP 文件,在预览中确认要导入的房间;标为“已存在,跳过”的房间会保留原样。在同一台电脑导入后,请回成员会续接原会话(Claude Code 成员会改为手动接入,请回后在原窗口重新注册,避免会话分叉)。导入保留历史讨论记录,不会自动继续原讨论或重新唤醒成员。
72
72
  - **从某条消息分支**:AI 发言菜单 → “从这里分支”,新建一个保留截至该条发言记录的房间。支持会话分叉的接入方式会在新房间续接分叉后的会话;原房间保留。
73
- - **让主持人新建房间**:在“主持人权限”里勾选“新建房间”后,主持人可以把一部分工作拆到新房间:成员只用本机已配置的软件,项目权限默认只读、最高可写,项目目录只能是原房间的目录或其子目录;你没指定时由与原主持人同款的专家主持。两个房间各留一张“关联房间”卡片,点“打开房间”互相跳转。新房间直接继承原房间的智能调度、生图、API 上限、连续派活上限与主持人权限,但不能再新建房间;一个房间可新建的数量有上限(默认 3 个,可在“主持人权限”里调整)。
73
+ - **让主持人新建房间**:在“主持人权限”里勾选“新建房间”后,主持人可以把一部分工作拆到新房间:成员只用本机已配置的软件,项目权限默认只读、按分工调高,项目目录只能是原房间的目录或其子目录;你没指定时由与原主持人同款的专家主持。两个房间各留一张“关联房间”卡片,点“打开房间”互相跳转。新房间直接继承原房间的智能调度、生图、API 上限、连续派活上限与主持人权限,但不能再新建房间;一个房间可新建的数量有上限(默认 3 个,可在“主持人权限”里调整)。
74
74
 
75
- ### 6. 关联已有房间
75
+ ### 6. 联系其他房间的主持人
76
76
 
77
- 在右栏“房间”的“关联房间”中选择目标房间。你也可以给主持人房间标题或链接;在电脑上,把左栏的房间拖到消息区或输入框,会在光标处插入“「房间标题」(房间 编号)”,主持人凭编号就能找到它。主持人提交申请后,你在申请卡上选择“允许”或“拒绝”。批准后直接告诉本房主持人要对方做什么。对方主持人按本房权限安排成员,完成后回传结果。普通通知无需回传。
77
+ 告诉本房主持人目标房间的标题、编号或链接,以及要对方处理的事。在电脑上,把左栏的房间拖到消息区或输入框,会在光标处插入“「房间标题」(房间 编号)”,主持人凭编号就能找到它。对方主持人按本房权限安排成员,完成后回传结果。普通通知无需回传。
78
78
 
79
- 对方房间发来的消息默认交给本房当前主持人:主持人空闲就立即处理,其他成员在忙也不等;主持人正忙才排队。发送记录显示排队、送达或已回复。点开可读原文。只有父房间可以打断子房间。在“设置 → 房间偏好”中调整“关联房间互传上限”,0 表示不限;你在任一房间发言后重新计数。右栏可以解除平级关联,历史消息保留。
79
+ 对方房间发来的消息默认交给本房当前主持人:主持人空闲就立即处理,其他成员在忙也不等;主持人正忙才排队。发送记录显示排队、送达或已回复。点开可读原文。只有父房间可以打断子房间。在“设置 → 房间偏好”中调整“关联房间互传上限”,0 表示不限;你在任一房间发言后重新计数。右栏“父子房间”可查看本房的父房间和子房间,即使已在左栏将房间设为独立也能查看。
80
80
 
81
81
  ## 要注意什么
82
82
 
@@ -55,7 +55,7 @@
55
55
 
56
56
  ### 5. “主持人完整权限”与工作流的关系
57
57
 
58
- - 打开“主持人完整权限”后,主持人不仅能自己保存、修改和启用工作流、邀请工作流所需成员(项目权限最高可写),还能在推进中自行插话、打断或重试成员、换模型、调发言顺序、撤回自己派出的活、开启讨论或 Goal,以及给自己设定时检查。
58
+ - 打开“主持人完整权限”后,主持人不仅能自己保存、修改和启用工作流、邀请工作流所需成员,还能在推进中自行插话、打断或重试成员、换模型、按需调整成员的项目权限(包括“全放开”,成员遇到权限问题时主持人自己调高)、调发言顺序、撤回自己派出的活、开启讨论或 Goal,以及给自己设定时检查。
59
59
  - 主持人做的这些操作会在消息页当时的位置留一行带皇冠图标的虚线记录(例如“主持人 Claude 撤回了 #11150 派出的活”),超出一行可展开;换模型沿用原有的系统记录。你自己在网页上的操作不记。
60
60
  - 没有打开该开关时,输入框 `/` 菜单里的工作流项灰显,主持人不能自行邀请成员或启用工作流;你只能自己把成员请进房间,再把做法告诉主持人。
61
61
  - 通过输入框启用新工作流,需要一位由本机服务唤醒的主持人。API 主持人能够读取已启用工作流的说明和角色名单。
@@ -67,4 +67,4 @@
67
67
  - **改一次作用于全部房间**:修改并保存工作流后,已启用它的房间在下一次执行时读取最新流程说明与角色提示词。已有成员的模型、强度和权限仍取房间设置。
68
68
  - **导入别人工作流时的安全检查**:导入 `.zip` 或文件夹时会先上画布预览,要求写文件的卡片默认按只读导入,需你逐张勾选才放开;若工作流包含给只读 API 成员登记本机命令的 `commands.json`,编辑页会列出完整命令,勾选“允许这些命令在本机运行”才会生效。主持人起草或修改工作流时不能增删本机命令。
69
69
  - **只放开一部分**:展开“主持人完整权限”下的“具体权限”,按项勾选:“处理执行问题”“调整成员配置”“改项目权限”“管理成员名单”“推进方式”“工作流”“新建房间”。主持人保存和启用工作流需要其中的“工作流”;没勾选的操作会被拒绝,并告诉主持人缺哪一项。
70
- - **仍由你掌控的边界**:即使开了“主持人完整权限”,更换主持人、批准超出上限的轮数、高于可写的权限档、改项目目录、撤回你的消息和私聊仍只由你决定。
70
+ - **仍由你掌控的边界**:即使开了“主持人完整权限”,更换主持人、批准超出上限的轮数、放行被拒绝的工具、改项目目录、撤回你的消息和私聊仍只由你决定。
@@ -18,7 +18,7 @@
18
18
 
19
19
  网站返回消息编号后,已确定的接收成员会显示在消息下方。自动接入的成员正忙并需等当前工作结束时,这里会显示带时钟图标的一行排队提示,列出成员名和等完要处理的消息编号。把鼠标移到提示上可看已等时长。成员开工后,执行卡会在原位置出现。需要智能调度决定接收者时,页面显示调度进度。
20
20
 
21
- 消息区左侧的快速导航只列出用户和成员的发言。悬停刻度可预览,点击可跳到对应卡片。在右栏“发言顺序”的成员行上点“…”或右键选“定位最新发言”(也可用成员卡片里的同名按钮:电脑上悬停成员行弹出,手机、平板上点一下成员行弹出),可直接跳到该成员的最新一条发言或正在进行中的执行卡片。
21
+ 消息区左侧的快速导航只列出用户和成员的发言。悬停刻度可预览,点击可跳到对应卡片。在右栏“发言顺序”的成员行上点“…”或右键选“定位最新发言”(手机、平板上点一下成员行即弹出这份菜单;电脑上悬停成员行弹出的成员卡片里也有同名按钮),可直接跳到该成员的最新一条发言或正在进行中的执行卡片。
22
22
 
23
23
  ### 2. 看懂主线、支线与派活标签
24
24
 
@@ -210,7 +210,7 @@
210
210
  "这条排队消息已发出或已删除": "This queued message was sent or deleted",
211
211
  "排队消息已变化,请刷新后再调整顺序": "Queued messages changed; refresh before reordering",
212
212
  "点名的成员已不在房间": "The members it names are no longer in the room",
213
- "关联房间「{room}」的主持人刚发来消息 #{message_id},请先读原文。": "The host of linked room “{room}” just sent message #{message_id}. Read the original message.",
213
+ "房间「{room}」的主持人刚发来消息 #{message_id},请先读原文。": "The host of room “{room}” just sent message #{message_id}. Read the original message.",
214
214
  "仅父房间主持人可以打断子房间": "Only the parent room’s host can interrupt a child room.",
215
215
  "只能编辑用户自己的消息": "Only the user's own messages can be edited.",
216
216
  "relay.member 须为成员名称": "relay.member must be a member name.",
@@ -9,37 +9,23 @@
9
9
  "主持人 {host} 向{relation}「{title}」发送了消息(已送达)": "Host {host} sent a message to the {relation} “{title}” (delivered)",
10
10
  "主持人 {host} 向{relation}「{title}」发送了消息 #{id}(已回复)": "Host {host} sent message #{id} to the {relation} “{title}” (replied)",
11
11
  "主持人 {host} 向{relation}「{title}」发送了消息(已回复)": "Host {host} sent a message to the {relation} “{title}” (replied)",
12
- "主持人申请关联房间「{title}」": "The host asks to link the room “{title}”",
13
- "主持人申请关联房间「{title}」:已允许": "The host asked to link the room “{title}”: allowed",
14
- "主持人申请关联房间「{title}」:已拒绝": "The host asked to link the room “{title}”: declined",
15
- "理由:{reason}": "Reason: {reason}",
16
- "关联申请": "Link request",
17
- "允许": "Allow",
18
- "建立平级关联,两个房间的主持人可以互发消息": "Link the rooms as peers so their hosts can message each other",
19
- "等待房主决定": "Waiting for the owner to decide",
20
- "允许关联「{title}」失败:{error}": "Could not allow linking “{title}”: {error}",
21
- "拒绝关联「{title}」失败:{error}": "Could not decline linking “{title}”: {error}",
22
- "正在关联…": "Linking…",
12
+ "主持人 {host} 向房间「{title}」发送了消息 #{id}": "Host {host} sent message #{id} to the room “{title}”",
13
+ "主持人 {host} 向房间「{title}」发送了消息": "Host {host} sent a message to the room “{title}”",
14
+ "主持人 {host} 向房间「{title}」发送了消息(排队中)": "Host {host} sent a message to the room “{title}” (queued)",
15
+ "主持人 {host} 向房间「{title}」发送了消息 #{id}(已送达)": "Host {host} sent message #{id} to the room “{title}” (delivered)",
16
+ "主持人 {host} 向房间「{title}」发送了消息(已送达)": "Host {host} sent a message to the room “{title}” (delivered)",
17
+ "主持人 {host} 向房间「{title}」发送了消息 #{id}(已回复)": "Host {host} sent message #{id} to the room “{title}” (replied)",
18
+ "主持人 {host} 向房间「{title}」发送了消息(已回复)": "Host {host} sent a message to the room “{title}” (replied)",
19
+ "来自房间「{room}」的主持人": "Host from room “{room}”",
20
+ "来自房间「{room}」的主持人 {host}": "{host}, host from room “{room}”",
21
+ "父子房间": "Parent and child rooms",
23
22
  "{host} 主持": "Hosted by {host}",
24
23
  "{host} · 处理中": "{host} · Working",
25
24
  "{host} · 空闲": "{host} · Idle",
26
25
  "打开房间「{title}」": "Open the room “{title}”",
27
- "解除关联": "Unlink",
28
- "解除与「{title}」的关联": "Unlink “{title}”",
29
- "解除与「{title}」的关联?": "Unlink “{title}”?",
30
- "解除与「{title}」的关联失败:{error}": "Could not unlink “{title}”: {error}",
31
- "两个房间的主持人不能再互发消息;已发出的消息和两边的记录保留。": "The two hosts can no longer message each other; messages already sent and both rooms' records stay.",
32
- "两边各留一条解除记录,之后可以重新关联。": "Each room keeps a record of the unlink, and you can link them again later.",
33
- "允许两个房间的主持人互发消息。主持人仍按各自房间的权限工作。": "Lets the hosts of the two rooms message each other. Each host still works within its own room's permissions.",
34
- "搜索房间名称": "Search room names",
35
- "选择要关联的房间": "Choose a room to link",
36
- "没有匹配的房间": "No matching rooms",
37
- "没有可关联的房间": "No rooms to link",
38
- "关联": "Link",
39
- "关联「{title}」失败:{error}": "Could not link “{title}”: {error}",
40
26
  "松开以引用房间「{title}」": "Release to reference the room “{title}”",
41
27
  "「{title}」(房间 {id})": "\"{title}\" (room {id})",
42
- "跨房发送": "Sent to linked room",
28
+ "跨房发送": "Sent to another room",
43
29
  "展开或收起发出的消息正文": "Show or hide the sent message",
44
30
  "父房间": "parent room",
45
31
  "子房间": "child room",
@@ -87,7 +73,6 @@
87
73
  "正在创建房间…": "Creating the room…",
88
74
  "父房间主持 · {room}": "Parent host · {room}",
89
75
  "子房间主持 · {room}": "Child host · {room}",
90
- "关联房间 · {room}": "Linked room · {room}",
91
76
  "父房间「{room}」主持 {host}": "{host}, host of parent room “{room}”",
92
77
  "子房间「{room}」主持 {host}": "{host}, host of child room “{room}”",
93
78
  "收起子房间": "Collapse child rooms",
@@ -112,16 +97,16 @@
112
97
  "主持人完整权限": "Full host control",
113
98
  "主持人权限": "Host permissions",
114
99
  "主持人部分权限": "Partial host control",
115
- "主持人自行处理问题、持续推进;给成员的项目权限最高可写。": "The host handles problems and keeps work moving; it can give members write access at most.",
100
+ "主持人自行处理问题、持续推进,按需调整成员的项目权限。": "The host handles problems, keeps work moving and adjusts members' project access as needed.",
116
101
  "具体权限(已选 {count} / {total})": "Items ({count} of {total} selected)",
117
102
  "处理执行问题": "Handle execution problems",
118
103
  "停止、插话、重试成员,撤回自己派出的活": "Stop, steer or retry members, and withdraw work it dispatched",
119
104
  "调整成员配置": "Adjust member settings",
120
105
  "改成员的模型、强度、接入方式、名称与描述": "Change a member's model, effort, client, name and description",
121
106
  "改项目权限": "Change project access",
122
- "在只读与可写之间切换成员的项目权限": "Switch a member's project access between read-only and write",
107
+ "按需调整成员的项目权限,包括全放开": "Adjust a member's project access as needed, including Full",
123
108
  "管理成员名单": "Manage the member list",
124
- "邀请本机已配置的软件(最高可写),暂离、移除、请回成员": "Invite software configured on this computer (write access at most), and send away, remove or bring back members",
109
+ "邀请本机已配置的软件,暂离、移除、请回成员": "Invite software configured on this computer, and send away, remove or bring back members",
125
110
  "推进方式": "How work proceeds",
126
111
  "调整发言顺序,开启和控制讨论与 Goal,给自己设定时检查": "Change the speaking order, start and control discussions and Goals, and set its own timed check-ins",
127
112
  "保存并启用工作流,邀请工作流所需的成员": "Save and enable workflows, and invite the members they need",
@@ -889,5 +889,10 @@
889
889
  "{value1} 的系统提示词": "System prompt for {value1}",
890
890
  "发给本机唤醒的所有成员,补充做法与偏好;不改变权限和技能规则。": "Sent to every member this computer wakes, adding practices and preferences; it does not change permissions or skill rules.",
891
891
  "发给 {value1} 平台的所有成员,含本地软件、模型 API、预设与工作流里的专家。": "Sent to every {value1} member, including local software, model APIs, presets and workflow experts.",
892
- "Ctrl + Enter 保存": "Ctrl + Enter to save"
892
+ "Ctrl + Enter 保存": "Ctrl + Enter to save",
893
+ "提醒它在任务中途写一句进展,否则等待时卡片上看不到它做到哪了": "Reminds it to write a line of progress during a task; otherwise the card shows nothing of how far it got while you wait",
894
+ "提醒它不要用命令行看目录、读文件,否则这一轮会被中断": "Reminds it not to list folders or read files through the command line; otherwise the turn is cut short",
895
+ "每次任务": "every task",
896
+ "仅只读权限时": "only when read-only",
897
+ "{software}:{note}({when})": "{software}: {note} ({when})"
893
898
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai_co_discuss",
3
- "version": "0.5.27",
3
+ "version": "0.5.28",
4
4
  "bin": {
5
5
  "codiscuss": "runner/codiscuss.mjs"
6
6
  },