ai_co_discuss 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/docs/architecture.md +1 -1
- package/docs/workflow.md +1 -1
- package/package.json +1 -1
- package/web/index.html +1 -1
- package/web/modern.css +1 -1
- package/web/modern.js +354 -345
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ codiscuss setup
|
|
|
63
63
|
|
|
64
64
|
1. 安装完成后进入自动打开的网站;以后运行 `codiscuss local open` 打开或复用本机网站,默认地址为 `http://127.0.0.1:8765`。
|
|
65
65
|
2. 点击“新建讨论”,填写**话题名称**和**用户原文**。把问题、背景与顾虑写在原文中,讨论目标、背景和边界由 AI 主持人据此补全。
|
|
66
|
-
3. 选择“全自动讨论”,勾选本场专家并从中指定 AI
|
|
66
|
+
3. 选择“全自动讨论”,勾选本场专家并从中指定 AI 主持人;分别设置轮次和时长上限,点击数值展开滚轮或直接输入。新建默认 **3 轮 / 不限时长**;网页启动全自动讨论前需设置有限时长。
|
|
67
67
|
4. 勾选“创建后立即启动 AI”,复核软件配置。需要修改时展开“调整启动配置”;未配置的软件需选择 CLI / App 类型并补齐路径。项目目录、读写权限和已有会话按本场需要填写。
|
|
68
68
|
5. 点击“创建并启动讨论”。程序完成建房、登记与首次任务交付;在进度看板核对 AI 是否实际进入,并查看保存的发言。
|
|
69
69
|
|
|
@@ -133,7 +133,7 @@ codiscuss local connect https://你的站点
|
|
|
133
133
|
| 软件原生定时 | AI 软件定时检查当前安排 | 选择“手动复制冷启动”,软件具备原生定时能力 |
|
|
134
134
|
| 人工触发 | 用户要求对应会话继续 | 选择“手动复制冷启动”;在线回答需代发 |
|
|
135
135
|
|
|
136
|
-
默认上限为 **3
|
|
136
|
+
默认上限为 **3 轮、不限时长、到限暂停**,可改为请主持人总结,并设置单次执行上限与收束时间。计数和停止规则见 [讨论上限](docs/workflow.md#讨论上限)。
|
|
137
137
|
|
|
138
138
|
讨论结束后,可在左上方频道条目的“更多操作 → 导出对话”下载原始数据和全文,窄屏从频道导航进入;经典主题使用“备份当前讨论”按钮。也可用 `discuss-report` 整理带来源的综合报告。备份目前不支持导入恢复,也不下载外部附件。
|
|
139
139
|
|
package/docs/architecture.md
CHANGED
|
@@ -124,7 +124,7 @@ Python 在一个只读事务快照中查询;D1 使用同一个 batch 事务读
|
|
|
124
124
|
| `ChannelDirectory.vue` | 频道、文件夹和存档管理 |
|
|
125
125
|
| `ChannelDiscussion.vue` | 议题卡、消息流、原文导航和输入区 |
|
|
126
126
|
| `TopicPanel.vue`、`WorkspaceDialogs.vue` | 话题资料、主持操作、接入步骤及编辑对话框 |
|
|
127
|
-
| `CreateDiscussion.vue`、`LimitPicker.vue`、`LaunchSettings.vue` |
|
|
127
|
+
| `CreateDiscussion.vue`、`LimitPicker.vue`、`LaunchSettings.vue` | 新建讨论表单及本机启动配置;推进方式与参与专家分组,单选方式使用强调色卡片,专家多选使用中性卡片与方形勾选;轮次和时长独立配置,以“不限”按钮切换各自上限,按需展开滚轮,选择即时生效,并预览到限条件;鼠标滚轮逐格切换且不产生惯性,鼠标及触摸拖动松手后保留惯性,先阻尼滑行再吸附预计停点,轻点中间数字精确输入;时长分小时/分钟两列,收起与摘要共用时长格式;支持键盘,减少动态效果时保留拖动惯性并去掉三维翻转 |
|
|
128
128
|
| `ProgressBoard.vue`、`ProgressPanel.vue` | 共享进度看板及抽屉容器 |
|
|
129
129
|
| `use-discussion.js` | 将 `web/app.js` 的共享控制器状态接入 Vue |
|
|
130
130
|
| `theme.css`、`channel.css` | 组件主题、深浅配色与响应式布局 |
|
package/docs/workflow.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
| 达到上限后 | 暂停保留现场,或交给实际主持人总结;不自动宣布达成共识 |
|
|
22
22
|
| 收束预留 | 1–60 分钟,仅选择总结时生效;须小于非零总时长,并计入总时长 |
|
|
23
23
|
|
|
24
|
-
网页新建默认 3
|
|
24
|
+
网页新建默认 3 轮、不限时长、单次执行 10 分钟、到限暂停;收束预留默认 5 分钟。新建表单分别显示轮次和时长上限,点击数值才展开滚轮;鼠标滚轮逐格切换,停止滚动即停住,鼠标或手指在屏幕上拖动则保留松手惯性。选择即时生效,点击外部即可收起,无需确认。时长收起时显示小时及剩余分钟,展开后分为小时、分钟两列,按 1 小时、1 分钟选择;轻点各列中间数字可直接输入,启用时长上限后范围为 1–1440 分钟,24 小时时分钟固定为 0。拖动松手后先按阻尼减速,再按预计停止位置吸附;系统“减少动画”下仍保留拖动惯性,只去掉数字的三维翻转。两项各自提供“不限”,关闭“不限”恢复此前数值,首次启用时长上限为 1 小时,互不改动;下方实时说明哪个上限先到便触发所选动作。旧房间和未传参数的 CLI 建房保持轮次/总时长不限、单次自动执行 20 分钟。自动运行仍必须有未来 24 小时内的明确截止:网页启动前需设置有限的话题时长;CLI 可显式提供本次运行时长,且不能延长话题已设的截止。
|
|
25
25
|
|
|
26
26
|
“主持”及“接入”显示配置、已用/剩余时间、已完成轮次和到限状态。新专家安排及观点由服务端拒绝越界,原提交的幂等重试和用户留言保留。自动程序定期调用到限处理;手动主持每次原生检查时执行 `room limits ROOM --check --as 本人`,也可由用户点击界面中的检查按钮。仅打开页面不触发写入或启动 AI。
|
|
27
27
|
|
package/package.json
CHANGED
package/web/index.html
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
</div>
|
|
110
110
|
<footer class="workspace-footer"><span>共议聊天室 <span class="footer-dot">·</span> 记录每一个不同的观点</span><span id="demo-note">示例发言为预置内容,未连接真实 AI</span></footer>
|
|
111
111
|
</div>
|
|
112
|
-
<dialog id="room-dialog"><form id="room-form"><div class="dialog-heading"><h2>新建话题</h2><button type="button" class="dialog-close" id="close-room-dialog" aria-label="关闭">×</button></div><div class="dialog-content"><label>话题名称<input id="new-room-title" maxlength="80" placeholder="例如:产品第一版应该保留哪些能力?" required></label><label>议题目标<textarea id="new-room-goal" maxlength="1000" rows="3" placeholder="本次讨论要解决什么问题?"></textarea></label><label>主持人<select id="new-room-host"></select></label><label>运行方式<select id="new-room-mode"><option value="manual">手动复制冷启动</option><option value="automatic">全自动讨论</option></select></label><fieldset><legend>讨论上限</legend><div class="topic-form-grid"><label>讨论轮次上限<input id="new-room-limit-max_rounds" type="number" min="0" max="100" step="1" value="3" placeholder="留空不限"></label><label>讨论总时长(分钟)<input id="new-room-limit-max_minutes" type="number" min="0" max="1440" step="1" value="
|
|
112
|
+
<dialog id="room-dialog"><form id="room-form"><div class="dialog-heading"><h2>新建话题</h2><button type="button" class="dialog-close" id="close-room-dialog" aria-label="关闭">×</button></div><div class="dialog-content"><label>话题名称<input id="new-room-title" maxlength="80" placeholder="例如:产品第一版应该保留哪些能力?" required></label><label>议题目标<textarea id="new-room-goal" maxlength="1000" rows="3" placeholder="本次讨论要解决什么问题?"></textarea></label><label>主持人<select id="new-room-host"></select></label><label>运行方式<select id="new-room-mode"><option value="manual">手动复制冷启动</option><option value="automatic">全自动讨论</option></select></label><fieldset><legend>讨论上限</legend><div class="topic-form-grid"><label>讨论轮次上限<input id="new-room-limit-max_rounds" type="number" min="0" max="100" step="1" value="3" placeholder="留空不限"></label><label>讨论总时长(分钟)<input id="new-room-limit-max_minutes" type="number" min="0" max="1440" step="1" value="0" placeholder="留空不限"></label><label>单次 AI 执行上限(分钟,仅自动)<input id="new-room-limit-execution_minutes" type="number" min="1" max="60" step="1" value="10" placeholder="留空不限"></label><label>收束预留(分钟,仅总结时)<input id="new-room-limit-summary_minutes" type="number" min="1" max="60" step="1" value="5" placeholder="留空不限"></label><label>达到上限后<select id="new-room-limit-on_limit"><option value="pause">暂停保留现场</option><option value="summarize">由主持人总结</option></select></label></div><p class="local-note">轮次和总时长留空或 0 表示不限;首次进入讨论阶段或创建安排后开始计时,暂停期间不计时。总结预留计入总时长。一轮指每位参与专家各完成一次观点。</p></fieldset><details class="topic-details"><summary>用户原文、背景、边界与参与专家</summary><div class="topic-detail-content"><label>用户原文<textarea id="new-room-user_request" maxlength="4000" rows="3"></textarea></label><label>背景<textarea id="new-room-background" maxlength="4000" rows="3"></textarea></label><label>讨论边界<textarea id="new-room-boundaries" maxlength="4000" rows="3"></textarea></label><div id="new-expert-modes" class="expert-mode-grid"></div></div></details><p class="local-note">AI 主持人需选择本地 CLI 方式,也可同时作为专家参与。</p><fieldset><legend>网页启动入口</legend><label><input type="checkbox" data-launch-name="create" data-launch-field="">创建后立即启动 AI(需选择全自动)</label><div id="new-local-launch-settings" hidden></div><button type="button" id="new-local-launch-save" class="button secondary">保存本机软件配置</button><p id="new-local-launch-notice" role="status"></p></fieldset><button class="button primary full-width" type="submit">创建话题</button></div></form></dialog>
|
|
113
113
|
<dialog id="message-dialog"><div class="dialog-heading"><h2 id="detail-title">消息原文</h2><button class="dialog-close" id="close-message-dialog" aria-label="关闭">×</button></div><div id="detail-body" class="dialog-content"></div></dialog>
|
|
114
114
|
<dialog id="settings-dialog" aria-labelledby="settings-title"><div class="dialog-heading"><h2 id="settings-title">设置</h2><button type="button" class="dialog-close" id="close-settings" aria-label="关闭设置">×</button></div><div class="dialog-content settings-content"><h3>界面主题</h3><div class="theme-picker" role="group" aria-label="界面主题"><button type="button" data-theme-option="channel" aria-pressed="true">协作频道</button><button type="button" data-theme-option="channel-light" aria-pressed="false">协作频道 · 浅色</button><button type="button" data-theme-option="millennium" aria-pressed="false">千禧聊天室</button></div></div></dialog>
|
|
115
115
|
<dialog id="manage-dialog" aria-labelledby="manage-title"><form id="manage-form"><div class="dialog-heading"><h2 id="manage-title">管理频道</h2><button type="button" id="close-manage" class="dialog-close" aria-label="关闭">×</button></div><div class="dialog-content"><p id="manage-description"></p><label id="manage-input-label">频道名称<input id="manage-input" maxlength="80" autocomplete="off"></label><button type="submit" id="manage-submit" class="button primary">确认</button></div></form></dialog>
|