Repository navigation
Releases
v0.6.21 — 切会话不再被抢回;超时带原因
0.6.21
修复扩展市场讨论 #19 中 YuYinDaJiang 报告的两个问题。
在 DSH 里手动切会话,不再被小肥鱼抢回去
小肥鱼身上钉着会话时,它每次收到 Host 的 ready 都会把本地固定重新 pick 一次。而 connector ≥ 0.2.5 的自动跟随会在你于另一个会话说话时把归属切过去并发 ready —— 于是小肥鱼立刻把归属抢回旧会话,你怎么切都「还在旧对话上」。
现在:连续在线时以 Host 的归属为准,跟随你切到的会话并丢掉本地固定;只有断线重连后的第一个 ready 才恢复自己的固定(那种情况是 DSH 重启丢了 pin)。
新建 / 列会话不再只报「超时」
- connector 侧(需 ≥ 0.2.19):新建接口 8 秒不返回就带原因失败,并把原因写进 Host 日志
- 桌宠侧:把 Host 的
error帧当作对应请求的回答立即返回,并在日志里记下 Host 的原话(例如this Host does not support listing sessions),不再白等满超时
顺带修正
自动交接的种子句判断此前用了刚被赋值的 this.session、永远为真;现在与上一状态比较,你手动切走时会正确放弃这次交接并重新上膛。
升级
扩展市场更新,或:
npm i cortico-world-fatfish@0.6.21配合 connector-dsh ≥ 0.2.19。更新后重启 Coopanion。
v0.6.20
纯描述修复版,代码同 0.6.19:补齐扩展市场介绍(package.json cortico.locales 双语描述与 README)中缺失的自动交接(需 connector-dsh ≥ 0.2.18)与只当嘴模式;发布脚本新增硬断言,locales 描述不含当前版本号直接在阶段 0 失败
Docs-only release, code identical to 0.6.19: fills the marketplace description (package.json cortico.locales + README) that missed auto context handover (needs connector-dsh >= 0.2.18) and mouth-only mode; release script now hard-asserts locales mention the current version
v0.6.19
上下文接近满时自动交接会话(需 connector-dsh ≥ 0.2.18 的 turn-end 用量上报):用量到 90% 自动新建会话、钉住、切过去并投递交接种子;DSH 不报用量时回退 400 轮兜底。新增「只当嘴」模式:另一个 world 注入 globalThis.__cooPetSayRaw 后,批准/回答/出错/回复直接进气泡、不叫醒桌面 AI。
Auto-handover to a fresh DSH session at 90% context (needs connector-dsh >= 0.2.18 reporting usage in turn-end): a new session is created, pinned, picked, and seeded; falls back to 400 turns when usage is unavailable. New mouth-only mode: when another world injects globalThis.__cooPetSayRaw, approvals/questions/errors/replies go straight to the bubble without waking the bot.
v0.6.18
新增 DSH 通知 decisions 档(默认仍 results):只在等待批准、等待回答或出错时唤醒桌宠,回合结果与回复不推、不缓存、不排队;不写这个值时行为与 0.6.17 完全一致。askRemind 与 decisions 同开时 question 由提醒接管,不额外推文字通知。市场说明同步更新为四档。
Adds a decisions notice level for DSH (default stays results): only approvals, questions and errors wake the pet; turn results and replies are neither pushed nor queued. Leaving the key unset behaves exactly like 0.6.17. When askRemind and decisions are both on, the spoken reminder owns questions and no extra text notice is posted. Market description updated for four levels.
v0.6.17
选择框提醒(askRemind,默认关):DSH 弹 ask_user_question 时桌宠念固定「请选择」,0/10/60/120 秒各一次,选中/跳过/超时或下一回合开始即停,不叫醒桌面 AI;需 connector-dsh ≥ 0.2.17。
Optional ask reminder (askRemind, off by default): the pet speaks a fixed line when DSH asks a question, at 0/10/60/120s, stopping on answer, skip, timeout or the next turn, without waking the bot; needs connector-dsh >= 0.2.17.
v0.6.16
v0.6.15
启动不再无条件全端口扫描:上次连上的端口先拨、失败才扫;自动发现新增 discover 配置项(默认开),VPN/安全软件误报时可关掉后手填固定端口。
Startup no longer force-sweeps all loopback ports on every launch: the remembered port is dialled first and the sweep only follows a failed dial. Auto-discovery is now the discover config switch (default on); turn it off if a VPN or security suite flags the sweep, then hand-type a fixed port.
v0.6.14
端口发现运行时读 netsh 动态范围不再漏扫(PR #6);面板显示实际拨号地址(PR #7);dsh_new_session 可指定工作区 + 新工具 dsh_workspaces(PR #8,需 connector ≥0.2.14)。致谢 @allisera。
Port discovery reads the live netsh dynamic range (PR #6); the panel shows the actually-dialed URL (PR #7); dsh_new_session accepts a workspace and dsh_workspaces lists them (PR #8, needs connector >=0.2.14). Thanks @allisera.
v0.6.13
DSH 通知新增三档:默认 results 只在每轮结束合并汇报(含回复与工具调用次数),批准/回答/出错立即推送,不再逐个工具调用唤醒;可切 all 看全部事件,或 off 只发送不接收。不需要升级 connector。
DSH notices now have three modes: default 'results' reports one merged line per finished turn (reply plus tool count) and pushes approvals, questions and errors immediately; 'all' restores per-event wakes, 'off' sends only. No connector upgrade needed.
v0.6.12
没有会话时新建一个:面板「新建会话」按钮 + Coo 的 dsh_new_session 工具(PR #5,致谢 @ink1453);协议新增 new/created 帧;新建成功清掉 pin;dsh_send 无会话拒回文案指向新工具。需 connector-dsh ≥ 0.2.12。
New session when none is open: panel "New session" button + Coo dsh_new_session tool (PR #5, thanks @ink1453); new protocol frames new/created; creating clears the pin; dsh_send refusal now points at the tool. Needs connector-dsh >= 0.2.12.