ai_co_discuss 0.3.5 → 0.3.7

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/web/modern.js CHANGED
@@ -47389,23 +47389,30 @@ var mU = /*#__PURE__*/ YH({
47389
47389
  antigravity_cli: {
47390
47390
  read: "只放行网站命令;碰到未放行的命令会直接结束本轮",
47391
47391
  write: "可写项目,命令全部放行(在 agy 沙箱内)",
47392
- full: "再放开沙箱外命令与 MCP 工具"
47392
+ full: "跳过全部权限确认(--dangerously-skip-permissions),并放开沙箱外命令与 MCP 工具"
47393
47393
  }
47394
47394
  };
47395
47395
  function kq(e) {
47396
47396
  return e === "antigravity_cli" ? Eq.filter((e) => e !== "auto") : Eq;
47397
47397
  }
47398
- function Aq(e) {
47399
- return kq(e).map((t) => ({
47400
- value: t,
47401
- label: Dq[t],
47402
- hint: Oq[e]?.[t] || ""
47403
- }));
47404
- }
47398
+ var Aq = { antigravity_cli: { auto: "agy 只在交互窗口提供自动模式,后台运行(-p)不支持" } };
47405
47399
  function jq(e) {
47406
- return e === "own" ? "自行决定" : Dq[e] || "只读";
47400
+ let t = kq(e);
47401
+ return Eq.map((n) => t.includes(n) ? {
47402
+ value: n,
47403
+ label: Dq[n],
47404
+ hint: Oq[e]?.[n] || ""
47405
+ } : {
47406
+ value: n,
47407
+ label: Dq[n],
47408
+ hint: Aq[e]?.[n] || "该软件不支持此档位",
47409
+ disabled: !0
47410
+ });
47407
47411
  }
47408
47412
  function Mq(e) {
47413
+ return e === "own" ? "自行决定" : Dq[e] || "只读";
47414
+ }
47415
+ function Nq(e) {
47409
47416
  let t = e.project_access;
47410
47417
  return [
47411
47418
  "own",
@@ -47413,18 +47420,18 @@ function Mq(e) {
47413
47420
  "full"
47414
47421
  ].includes(t) || t === "write" && !!(e.cwd || e.workdir);
47415
47422
  }
47416
- function Nq(e, t) {
47423
+ function Pq(e, t) {
47417
47424
  return e.project_access === "own" ? "项目文件与命令权限沿用你自己会话的软件设置。" : e.project_access === "auto" ? `由软件自动审批:可${t}修改项目文件并运行所需命令;被沙箱或审批拦下时按软件方式申请放行(Codex 申请提权),仍被拒绝就在回答中说明。` : e.project_access === "full" ? `已跳过软件审批与沙箱,可${t}修改文件并运行所需命令。` : e.cwd ? e.project_access === "write" ? `用户允许${t}修改 cwd 中的项目文件并运行所需命令。` : "cwd 中的项目文件只读,不修改。" : "未指定项目目录。";
47418
47425
  }
47419
- function Pq(e, t, n = {}) {
47420
- return e === "antigravity_cli" && !Mq(n) ? `无人值守下 run_command 只能运行 ${t} 的 subcommands 子命令,其他命令会被自动拒绝并使会话直接结束;列目录、搜索或读取文件用 list_dir、find_by_name、grep_search、view_file。` : "";
47426
+ function Fq(e, t, n = {}) {
47427
+ return e === "antigravity_cli" && !Nq(n) ? `无人值守下 run_command 只能运行 ${t} 的 subcommands 子命令,其他命令会被自动拒绝并使会话直接结束;列目录、搜索或读取文件用 list_dir、find_by_name、grep_search、view_file。` : "";
47421
47428
  }
47422
- function Fq(e) {
47429
+ function Iq(e) {
47423
47430
  return e === "antigravity_cli" ? "多步任务中,在关键转折处用一句话写出进展再继续:agy 不输出思考过程,网页只能靠这些话显示你做到哪一步。" : "";
47424
47431
  }
47425
- var Iq = "读含中文的文件用 rg --encoding utf-8 . 文件路径,不用 Get-Content(Windows PowerShell 会读成乱码)。";
47426
- function Lq({ name: e, discussion: t, discussion_request: n, profile: r, cli: i, room: a, messages: o, read_after: s, execution_id: c, task_path: l, access_file: u = "", read_rule: d = "" }) {
47427
- let f = t ? `讨论进行中,用户直接向你提问(${o}):只回答这个提问,不改变讨论安排和进度。` : "", p = Mq(r) ? "" : `命令只用 subcommands 列出的 ${i} 子命令。`, m = `${Pq(r.adapter, i, r)}${Fq(r.adapter)}${f}${Nq(r, "按请求")}${p}草稿写在 draft_directory。`;
47432
+ var Lq = "读含中文的文件用 rg --encoding utf-8 . 文件路径,不用 Get-Content(Windows PowerShell 会读成乱码)。";
47433
+ function Rq({ name: e, discussion: t, discussion_request: n, profile: r, cli: i, room: a, messages: o, read_after: s, execution_id: c, task_path: l, access_file: u = "", read_rule: d = "" }) {
47434
+ let f = t ? `讨论进行中,用户直接向你提问(${o}):只回答这个提问,不改变讨论安排和进度。` : "", p = Nq(r) ? "" : `命令只用 subcommands 列出的 ${i} 子命令。`, m = `${Fq(r.adapter, i, r)}${Iq(r.adapter)}${f}${Pq(r, "按请求")}${p}草稿写在 draft_directory。`;
47428
47435
  if (n) return {
47429
47436
  instructions: m,
47430
47437
  prompt: `你(${e})收到了讨论中的${n.purpose === "discuss_host" ? "主持任务" : "发言请求"}。先读任务文件 ${l},按其中列出的技能处理本次请求并保存结果。${d}`
@@ -47437,53 +47444,54 @@ function Lq({ name: e, discussion: t, discussion_request: n, profile: r, cli: i,
47437
47444
  }
47438
47445
  //#endregion
47439
47446
  //#region frontend/ExpertCard.vue
47440
- var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { class: "expert-card-identity" }, Vq = { class: "expert-card-names" }, Hq = { key: 0 }, Uq = ["title"], Wq = {
47447
+ var zq = ["data-identity", "data-face"], Bq = ["inert", "aria-hidden"], Vq = { class: "expert-card-identity" }, Hq = { class: "expert-card-names" }, Uq = { key: 0 }, Wq = ["title"], Gq = {
47441
47448
  key: 0,
47442
47449
  class: "expert-card-badge"
47443
- }, Gq = { key: 1 }, Kq = ["title"], qq = {
47450
+ }, Kq = { key: 1 }, qq = ["title"], Jq = {
47444
47451
  key: 0,
47445
47452
  class: "expert-card-badge"
47446
- }, Jq = ["title"], Yq = { class: "expert-card-facts" }, Xq = ["title"], Zq = {
47453
+ }, Yq = ["title"], Xq = { class: "expert-card-facts" }, Zq = ["title"], Qq = {
47447
47454
  key: 0,
47448
47455
  "aria-hidden": "true"
47449
- }, Qq = {
47456
+ }, $q = {
47450
47457
  key: 0,
47451
47458
  class: "expert-card-manual"
47452
- }, $q = { key: 0 }, eJ = {
47459
+ }, eJ = { key: 0 }, tJ = {
47453
47460
  key: 1,
47454
47461
  class: "expert-card-flip"
47455
- }, tJ = ["aria-label"], nJ = [
47462
+ }, nJ = ["aria-label"], rJ = [
47456
47463
  "aria-checked",
47457
47464
  "tabindex",
47458
47465
  "data-mode",
47459
47466
  "onClick"
47460
- ], rJ = { class: "expert-card-tools" }, iJ = ["aria-label", "title"], aJ = [
47467
+ ], iJ = { class: "expert-card-tools" }, aJ = ["aria-label", "title"], oJ = [
47461
47468
  "aria-pressed",
47462
47469
  "aria-label",
47463
47470
  "title"
47464
- ], oJ = ["aria-label"], sJ = ["inert", "aria-hidden"], cJ = { class: "expert-card-back-body" }, lJ = { class: "expert-card-heading" }, uJ = { class: "expert-card-heading-tools" }, dJ = ["aria-label", "title"], fJ = ["title", "aria-label"], pJ = ["role"], mJ = {
47471
+ ], sJ = ["aria-label"], cJ = ["inert", "aria-hidden"], lJ = { class: "expert-card-back-body" }, uJ = { class: "expert-card-heading" }, dJ = { class: "expert-card-heading-tools" }, fJ = ["aria-label", "title"], pJ = ["title", "aria-label"], mJ = ["role"], hJ = {
47465
47472
  key: 1,
47466
47473
  class: "expert-card-field"
47467
- }, hJ = {
47474
+ }, gJ = {
47468
47475
  key: 2,
47469
47476
  class: "expert-card-field"
47470
- }, gJ = ["aria-label"], _J = [
47477
+ }, _J = ["aria-label"], vJ = [
47471
47478
  "title",
47479
+ "disabled",
47472
47480
  "aria-checked",
47473
47481
  "onClick"
47474
- ], vJ = { class: "expert-card-field" }, yJ = {
47482
+ ], yJ = { class: "expert-card-field" }, bJ = {
47475
47483
  key: 0,
47476
47484
  class: "expert-card-catalog"
47477
- }, bJ = {
47485
+ }, xJ = {
47478
47486
  key: 1,
47479
47487
  class: "expert-card-effort"
47480
- }, xJ = {
47488
+ }, SJ = {
47481
47489
  key: 2,
47482
47490
  class: "expert-card-note"
47483
- }, SJ = ["aria-label", "disabled"], CJ = {
47491
+ }, CJ = ["aria-label", "disabled"], wJ = {
47484
47492
  key: 5,
47485
47493
  class: "expert-card-note"
47486
- }, wJ = { class: "expert-card-flip-actions" }, TJ = ["aria-label"], EJ = ["aria-label"], DJ = ["aria-label"], OJ = ["aria-label"], kJ = { class: "expert-card-naming-actions" }, AJ = 180, jJ = "[role='listbox'], [role='menu'], [data-reka-popper-content-wrapper]", MJ = /*#__PURE__*/ YH({
47494
+ }, TJ = { class: "expert-card-flip-actions" }, EJ = ["aria-label"], DJ = ["aria-label"], OJ = ["aria-label"], kJ = ["aria-label"], AJ = { class: "expert-card-naming-actions" }, jJ = 180, MJ = "[role='listbox'], [role='menu'], [data-reka-popper-content-wrapper]", NJ = /*#__PURE__*/ YH({
47487
47495
  __name: "ExpertCard",
47488
47496
  props: {
47489
47497
  name: {
@@ -47596,7 +47604,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47596
47604
  }] : [],
47597
47605
  ...oe.value ? [{
47598
47606
  label: "项目",
47599
- value: jq(ce.value)
47607
+ value: Mq(ce.value)
47600
47608
  }] : k.value ? [{
47601
47609
  label: "项目",
47602
47610
  value: "不访问"
@@ -47631,7 +47639,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47631
47639
  });
47632
47640
  }
47633
47641
  function _e(e) {
47634
- let t = e >= AJ / 2;
47642
+ let t = e >= jJ / 2;
47635
47643
  d.value !== t && (d.value = t, ge());
47636
47644
  }
47637
47645
  let M = o.on("change", _e), N = o.on("animationComplete", ge), ve = null;
@@ -47672,7 +47680,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47672
47680
  } : null), Ue = Z(() => {
47673
47681
  let e = f.value.adapter;
47674
47682
  if (!e || e === "api") return null;
47675
- let t = /Windows/.test(navigator.userAgent), r = t && e !== "claude" ? "codiscuss.cmd" : "codiscuss", a = t ? e === "codex_cli" ? Iq : `(本机装有 rg 时附加)${Iq}` : "", { prompt: o, instructions: s } = Lq({
47683
+ let t = /Windows/.test(navigator.userAgent), r = t && e !== "claude" ? "codiscuss.cmd" : "codiscuss", a = t ? e === "codex_cli" ? Lq : `(本机装有 rg 时附加)${Lq}` : "", { prompt: o, instructions: s } = Rq({
47676
47684
  name: n.name,
47677
47685
  role: n.host ? "host" : "member",
47678
47686
  discussion: !1,
@@ -47740,11 +47748,11 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47740
47748
  u.value && (e.stopPropagation(), e.preventDefault(), be());
47741
47749
  }
47742
47750
  function Xe(e) {
47743
- Re.value || Se.value || Ee.value || s.value?.contains(e.target) || e.target.closest?.(jJ) || ye(!1);
47751
+ Re.value || Se.value || Ee.value || s.value?.contains(e.target) || e.target.closest?.(MJ) || ye(!1);
47744
47752
  }
47745
47753
  return R(u, (e) => {
47746
47754
  e ? document.addEventListener("pointerdown", Xe, !0) : document.removeEventListener("pointerdown", Xe, !0);
47747
- }), R(u, (e) => o.set(e ? AJ : 0)), R(() => [
47755
+ }), R(u, (e) => o.set(e ? jJ : 0)), R(() => [
47748
47756
  O.value,
47749
47757
  i.value.launch.available,
47750
47758
  f.value.adapter
@@ -47790,7 +47798,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47790
47798
  onClick: n[0] ||= (e) => ye(!0)
47791
47799
  }, {
47792
47800
  default: L(() => [
47793
- K("span", Bq, [q(u, {
47801
+ K("span", Vq, [q(u, {
47794
47802
  src: I(a).identities[e.name]?.icon,
47795
47803
  text: I(a).identities[e.name]?.initials,
47796
47804
  alt: e.name,
@@ -47801,16 +47809,16 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47801
47809
  "text",
47802
47810
  "alt",
47803
47811
  "class"
47804
- ]), K("span", Vq, [S.value ? (U(), W("span", Hq, [K("strong", { title: e.name }, P(I(a).display_name(e.name)) + "(手动)", 9, Uq), e.host && !e.hostable ? (U(), W("span", Wq, "主持")) : Y("", !0)])) : (U(), W("span", Gq, [K("strong", { title: I(a).member_label(e.name) === e.name ? void 0 : e.name }, P(I(a).member_label(e.name)), 9, Kq), e.host && !e.hostable ? (U(), W("span", qq, "主持")) : Y("", !0)])), xe.value ? (U(), W("small", {
47812
+ ]), K("span", Hq, [S.value ? (U(), W("span", Uq, [K("strong", { title: e.name }, P(I(a).display_name(e.name)) + "(手动)", 9, Wq), e.host && !e.hostable ? (U(), W("span", Gq, "主持")) : Y("", !0)])) : (U(), W("span", Kq, [K("strong", { title: I(a).member_label(e.name) === e.name ? void 0 : e.name }, P(I(a).member_label(e.name)), 9, qq), e.host && !e.hostable ? (U(), W("span", Jq, "主持")) : Y("", !0)])), xe.value ? (U(), W("small", {
47805
47813
  key: 2,
47806
47814
  title: xe.value
47807
- }, P(xe.value), 9, Jq)) : Y("", !0)])]),
47808
- K("dl", Yq, [(U(!0), W(H, null, B(de.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", {
47815
+ }, P(xe.value), 9, Yq)) : Y("", !0)])]),
47816
+ K("dl", Xq, [(U(!0), W(H, null, B(de.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", {
47809
47817
  class: j(e.tone ? ["expert-card-status", `is-${e.tone}`] : ""),
47810
47818
  title: e.value
47811
- }, [e.tone ? (U(), W("i", Zq)) : Y("", !0), J(P(e.value), 1)], 10, Xq)]))), 128))]),
47812
- S.value ? (U(), W("div", Qq, [n[17] ||= K("p", null, "会话自行注册后才算到场。", -1), w.value ? (U(), W("p", $q, P(w.value), 1)) : Y("", !0)])) : Y("", !0),
47813
- E.value ? (U(), W("span", eJ, [q(b, { name: "i-lucide-settings-2" }), n[18] ||= J("设置", -1)])) : Y("", !0)
47819
+ }, [e.tone ? (U(), W("i", Qq)) : Y("", !0), J(P(e.value), 1)], 10, Zq)]))), 128))]),
47820
+ S.value ? (U(), W("div", $q, [n[17] ||= K("p", null, "会话自行注册后才算到场。", -1), w.value ? (U(), W("p", eJ, P(w.value), 1)) : Y("", !0)])) : Y("", !0),
47821
+ E.value ? (U(), W("span", tJ, [q(b, { name: "i-lucide-settings-2" }), n[18] ||= J("设置", -1)])) : Y("", !0)
47814
47822
  ]),
47815
47823
  _: 1
47816
47824
  }, 8, [
@@ -47833,8 +47841,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47833
47841
  tabindex: e.mode === t ? 0 : -1,
47834
47842
  "data-mode": t,
47835
47843
  onClick: (e) => qe(t)
47836
- }, P(g[t]), 9, nJ))), 128))], 40, tJ)) : Y("", !0),
47837
- K("span", rJ, [
47844
+ }, P(g[t]), 9, rJ))), 128))], 40, nJ)) : Y("", !0),
47845
+ K("span", iJ, [
47838
47846
  !E.value && !S.value ? (U(), W("button", {
47839
47847
  key: 0,
47840
47848
  type: "button",
@@ -47842,7 +47850,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47842
47850
  "aria-label": `编辑 ${e.name} 的描述`,
47843
47851
  title: Ce.value,
47844
47852
  onClick: n[1] ||= (e) => Se.value = !0
47845
- }, [q(b, { name: "i-lucide-user-pen" })], 10, iJ)) : Y("", !0),
47853
+ }, [q(b, { name: "i-lucide-user-pen" })], 10, aJ)) : Y("", !0),
47846
47854
  e.hostable ? (U(), W("button", {
47847
47855
  key: 1,
47848
47856
  type: "button",
@@ -47851,28 +47859,28 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47851
47859
  "aria-label": e.host ? `${e.name} 是主持人` : `设 ${e.name} 为主持人`,
47852
47860
  title: e.host ? "主持人" : "设为主持人",
47853
47861
  onClick: n[2] ||= (e) => r("host")
47854
- }, [q(b, { name: "i-lucide-crown" })], 8, aJ)) : Y("", !0),
47862
+ }, [q(b, { name: "i-lucide-crown" })], 8, oJ)) : Y("", !0),
47855
47863
  K("button", {
47856
47864
  type: "button",
47857
47865
  "aria-label": `移出 ${e.name}`,
47858
47866
  title: "移出",
47859
47867
  onClick: n[3] ||= (e) => r("remove")
47860
- }, [q(b, { name: "i-lucide-x" })], 8, oJ)
47868
+ }, [q(b, { name: "i-lucide-x" })], 8, sJ)
47861
47869
  ])
47862
- ], 8, zq), E.value ? (U(), W("div", {
47870
+ ], 8, Bq), E.value ? (U(), W("div", {
47863
47871
  key: 0,
47864
47872
  class: "expert-card-face expert-card-back",
47865
47873
  inert: !d.value,
47866
47874
  "aria-hidden": !d.value
47867
- }, [K("div", cJ, [
47868
- K("div", lJ, [K("strong", null, [J(P(I(a).member_label(e.name)), 1), n[19] ||= K("span", null, "设置", -1)]), K("span", uJ, [
47875
+ }, [K("div", lJ, [
47876
+ K("div", uJ, [K("strong", null, [J(P(I(a).member_label(e.name)), 1), n[19] ||= K("span", null, "设置", -1)]), K("span", dJ, [
47869
47877
  K("button", {
47870
47878
  type: "button",
47871
47879
  class: j(["expert-card-back-tool", { "is-set": xe.value }]),
47872
47880
  "aria-label": `编辑 ${e.name} 的描述`,
47873
47881
  title: Ce.value,
47874
47882
  onClick: n[4] ||= (e) => Se.value = !0
47875
- }, [q(b, { name: "i-lucide-user-pen" })], 10, dJ),
47883
+ }, [q(b, { name: "i-lucide-user-pen" })], 10, fJ),
47876
47884
  f.value.adapter ? (U(), W("button", {
47877
47885
  key: 0,
47878
47886
  type: "button",
@@ -47883,7 +47891,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47883
47891
  title: Le.value,
47884
47892
  "aria-label": `编辑 ${e.name} 的专属提示词`,
47885
47893
  onClick: We
47886
- }, [q(b, { name: "i-lucide-scroll-text" })], 10, fJ)) : Y("", !0),
47894
+ }, [q(b, { name: "i-lucide-scroll-text" })], 10, pJ)) : Y("", !0),
47887
47895
  _.value ? (U(), G(x, {
47888
47896
  key: 1,
47889
47897
  icon: "i-lucide-zap",
@@ -47906,8 +47914,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47906
47914
  key: 0,
47907
47915
  role: v.value.state === "error" ? "alert" : "status",
47908
47916
  class: "expert-card-check"
47909
- }, P(v.value.message), 9, pJ)) : Y("", !0),
47910
- h.value && p.value.length > 1 ? (U(), W("div", mJ, [n[20] ||= K("span", null, "接入", -1), q(C, {
47917
+ }, P(v.value.message), 9, mJ)) : Y("", !0),
47918
+ h.value && p.value.length > 1 ? (U(), W("div", hJ, [n[20] ||= K("span", null, "接入", -1), q(C, {
47911
47919
  "model-value": f.value.adapter || "",
47912
47920
  items: p.value,
47913
47921
  placeholder: "选择 API / App / CLI",
@@ -47936,23 +47944,24 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47936
47944
  "aria-label",
47937
47945
  "onUpdate:modelValue"
47938
47946
  ])]))), 128)),
47939
- oe.value ? (U(), W("div", hJ, [n[21] ||= K("span", null, "项目", -1), K("div", {
47947
+ oe.value ? (U(), W("div", gJ, [n[21] ||= K("span", null, "项目", -1), K("div", {
47940
47948
  class: "expert-card-modes",
47941
47949
  role: "radiogroup",
47942
47950
  "aria-label": `${e.name} 的项目文件权限`
47943
- }, [(U(!0), W(H, null, B(I(Aq)(f.value.adapter), (t) => (U(), W("button", {
47951
+ }, [(U(!0), W(H, null, B(I(jq)(f.value.adapter), (t) => (U(), W("button", {
47944
47952
  key: t.value,
47945
47953
  type: "button",
47946
47954
  role: "radio",
47947
47955
  title: t.hint,
47956
+ disabled: t.disabled,
47948
47957
  "aria-checked": ce.value === t.value,
47949
47958
  onClick: (n) => I(a).write_launch(e.name, "project_access", t.value)
47950
- }, P(t.label), 9, _J))), 128))], 8, gJ)])) : Y("", !0),
47959
+ }, P(t.label), 9, vJ))), 128))], 8, _J)])) : Y("", !0),
47951
47960
  _.value ? (U(), G(hq, {
47952
47961
  key: 3,
47953
47962
  name: e.name
47954
47963
  }, null, 8, ["name"])) : O.value && !he.value.length ? (U(), W(H, { key: 4 }, [
47955
- K("div", vJ, [n[22] ||= K("span", null, "模型", -1), q(C, {
47964
+ K("div", yJ, [n[22] ||= K("span", null, "模型", -1), q(C, {
47956
47965
  "model-value": f.value.model || "__default__",
47957
47966
  items: D.value.items,
47958
47967
  title: D.value.source,
@@ -47966,12 +47975,12 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47966
47975
  "title",
47967
47976
  "aria-label"
47968
47977
  ])]),
47969
- D.value.loading || D.value.error ? (U(), W("div", yJ, [K("span", null, P(D.value.loading ? "正在读取软件模型列表…" : D.value.error), 1), !D.value.loading && D.value.error && I(i).launch.available ? (U(), W("button", {
47978
+ D.value.loading || D.value.error ? (U(), W("div", bJ, [K("span", null, P(D.value.loading ? "正在读取软件模型列表…" : D.value.error), 1), !D.value.loading && D.value.error && I(i).launch.available ? (U(), W("button", {
47970
47979
  key: 0,
47971
47980
  type: "button",
47972
47981
  onClick: n[7] ||= (t) => I(a).load_launch_models(e.name, !0)
47973
47982
  }, "重试")) : Y("", !0)])) : Y("", !0),
47974
- re.value ? (U(), W("div", bJ, [q(iq, {
47983
+ re.value ? (U(), W("div", xJ, [q(iq, {
47975
47984
  caption: "强度",
47976
47985
  items: re.value,
47977
47986
  "model-value": f.value.effort || "",
@@ -47981,7 +47990,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47981
47990
  "items",
47982
47991
  "model-value",
47983
47992
  "label"
47984
- ])])) : (U(), W("p", xJ, P(D.value.effort_note), 1)),
47993
+ ])])) : (U(), W("p", SJ, P(D.value.effort_note), 1)),
47985
47994
  K("button", {
47986
47995
  type: "button",
47987
47996
  class: "expert-card-defaults",
@@ -47989,9 +47998,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47989
47998
  "aria-label": `恢复 ${e.name} 的默认模型与强度`,
47990
47999
  disabled: !f.value.model && !f.value.effort,
47991
48000
  onClick: Ke
47992
- }, "恢复默认", 8, SJ)
47993
- ], 64)) : (U(), W("p", CJ, [q(b, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(te.value), 1)]))
47994
- ]), K("span", wJ, [
48001
+ }, "恢复默认", 8, CJ)
48002
+ ], 64)) : (U(), W("p", wJ, [q(b, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(te.value), 1)]))
48003
+ ]), K("span", TJ, [
47995
48004
  I(i).launch.available ? (U(), W(H, { key: 0 }, [Te.value ? (U(), W("button", {
47996
48005
  key: 0,
47997
48006
  type: "button",
@@ -47999,19 +48008,19 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
47999
48008
  "aria-label": `删除预设「${e.name}」`,
48000
48009
  title: "删除预设",
48001
48010
  onClick: n[9] ||= (t) => I(a).delete_expert_preset(e.name)
48002
- }, [q(b, { name: "i-lucide-trash-2" })], 8, TJ)) : Y("", !0), K("button", {
48011
+ }, [q(b, { name: "i-lucide-trash-2" })], 8, EJ)) : Y("", !0), K("button", {
48003
48012
  type: "button",
48004
48013
  class: "expert-card-flip is-cancel",
48005
48014
  "aria-label": `${Te.value ? "更新" : "存为"}预设「${e.name}」`,
48006
48015
  title: "存下描述、提示词、项目权限、模型与强度,之后在“预设”行一键加入",
48007
48016
  onClick: Me
48008
- }, P(Te.value ? "更新预设" : "存为预设"), 9, EJ)], 64)) : Y("", !0),
48017
+ }, P(Te.value ? "更新预设" : "存为预设"), 9, DJ)], 64)) : Y("", !0),
48009
48018
  K("button", {
48010
48019
  type: "button",
48011
48020
  class: "expert-card-flip is-cancel",
48012
48021
  "aria-label": `放弃 ${e.name} 的修改`,
48013
48022
  onClick: be
48014
- }, "取消", 8, DJ),
48023
+ }, "取消", 8, OJ),
48015
48024
  K("button", {
48016
48025
  ref_key: "back_button",
48017
48026
  ref: l,
@@ -48019,8 +48028,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48019
48028
  class: "expert-card-flip is-done",
48020
48029
  "aria-label": `保存并返回 ${e.name} 角色卡片`,
48021
48030
  onClick: n[10] ||= (e) => ye(!1)
48022
- }, [q(b, { name: "i-lucide-check" }), n[23] ||= J("完成", -1)], 8, OJ)
48023
- ])], 8, sJ)) : Y("", !0)]),
48031
+ }, [q(b, { name: "i-lucide-check" }), n[23] ||= J("完成", -1)], 8, kJ)
48032
+ ])], 8, cJ)) : Y("", !0)]),
48024
48033
  _: 1
48025
48034
  }, 8, ["style"]),
48026
48035
  q(Sq, {
@@ -48089,7 +48098,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48089
48098
  placeholder: "预设名称,如 评审官"
48090
48099
  }, null, 8, ["modelValue"]),
48091
48100
  K("p", null, P(je.value), 1),
48092
- K("div", kJ, [q(x, {
48101
+ K("div", AJ, [q(x, {
48093
48102
  label: "取消",
48094
48103
  color: "neutral",
48095
48104
  variant: "ghost",
@@ -48103,29 +48112,29 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48103
48112
  ], 32)]),
48104
48113
  _: 1
48105
48114
  }, 8, ["open"])
48106
- ], 42, Rq);
48115
+ ], 42, zq);
48107
48116
  };
48108
48117
  }
48109
- }, [["__scopeId", "data-v-ad411888"]]), NJ = {
48118
+ }, [["__scopeId", "data-v-765a68cd"]]), PJ = {
48110
48119
  key: 0,
48111
48120
  class: "project-field"
48112
- }, PJ = ["disabled"], FJ = {
48121
+ }, FJ = ["disabled"], IJ = {
48113
48122
  key: 0,
48114
48123
  class: "project-note"
48115
- }, IJ = ["title", "disabled"], LJ = ["disabled"], RJ = {
48124
+ }, LJ = ["title", "disabled"], RJ = ["disabled"], zJ = {
48116
48125
  key: 0,
48117
48126
  class: "project-rows",
48118
48127
  "aria-label": "常用项目"
48119
- }, zJ = { class: "project-tile" }, BJ = { class: "project-edit" }, VJ = { class: "project-text" }, HJ = ["title"], UJ = { class: "project-actions" }, WJ = {
48128
+ }, BJ = { class: "project-tile" }, VJ = { class: "project-edit" }, HJ = { class: "project-text" }, UJ = ["title"], WJ = { class: "project-actions" }, GJ = {
48120
48129
  key: 1,
48121
48130
  class: "project-add",
48122
48131
  role: "group",
48123
48132
  "aria-label": "添加项目"
48124
- }, GJ = { class: "project-add-actions" }, KJ = {
48133
+ }, KJ = { class: "project-add-actions" }, qJ = {
48125
48134
  key: 3,
48126
48135
  role: "alert",
48127
48136
  class: "project-error"
48128
- }, qJ = { class: "project-footer" }, JJ = /*#__PURE__*/ YH({
48137
+ }, JJ = { class: "project-footer" }, YJ = /*#__PURE__*/ YH({
48129
48138
  __name: "ProjectDirectoryField",
48130
48139
  props: {
48131
48140
  placeholder: {
@@ -48218,7 +48227,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48218
48227
  }
48219
48228
  return (e, n) => {
48220
48229
  let r = sA, i = CH, u = YV, f = MA, re = zV, ie = JH;
48221
- return U(), W(H, null, [a.value ? (U(), W("div", NJ, [q(i, {
48230
+ return U(), W(H, null, [a.value ? (U(), W("div", PJ, [q(i, {
48222
48231
  items: h.value,
48223
48232
  content: {
48224
48233
  align: "start",
@@ -48241,9 +48250,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48241
48250
  name: "i-lucide-chevron-down",
48242
48251
  class: "project-select-chevron"
48243
48252
  })
48244
- ], 10, PJ)]),
48253
+ ], 10, FJ)]),
48245
48254
  _: 1
48246
- }, 8, ["items", "disabled"]), a.value.online ? Y("", !0) : (U(), W("p", FJ, [q(r, { name: "i-lucide-moon" }), J("电脑「" + P(a.value.name) + "」当前离线,创建请求会等它上线后执行。", 1)]))])) : (U(), W("div", {
48255
+ }, 8, ["items", "disabled"]), a.value.online ? Y("", !0) : (U(), W("p", IJ, [q(r, { name: "i-lucide-moon" }), J("电脑「" + P(a.value.name) + "」当前离线,创建请求会等它上线后执行。", 1)]))])) : (U(), W("div", {
48247
48256
  key: 1,
48248
48257
  class: j(["project-box", {
48249
48258
  "is-disabled": t.disabled,
@@ -48273,7 +48282,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48273
48282
  name: "i-lucide-chevron-down",
48274
48283
  class: "project-prefix-chevron"
48275
48284
  })
48276
- ], 10, IJ)]),
48285
+ ], 10, LJ)]),
48277
48286
  _: 1
48278
48287
  }, 8, ["items", "disabled"])) : (U(), W("button", {
48279
48288
  key: 1,
@@ -48283,7 +48292,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48283
48292
  title: "保存常用项目,之后一键选择;其他设备也能用",
48284
48293
  disabled: t.disabled,
48285
48294
  onClick: w
48286
- }, [q(r, { name: "i-lucide-plus" }), n[8] ||= K("span", null, "常用项目", -1)], 8, LJ)),
48295
+ }, [q(r, { name: "i-lucide-plus" }), n[8] ||= K("span", null, "常用项目", -1)], 8, RJ)),
48287
48296
  q(u, {
48288
48297
  "model-value": c.value,
48289
48298
  placeholder: t.placeholder,
@@ -48328,10 +48337,10 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48328
48337
  class: "project-manager dialog-form",
48329
48338
  onSubmit: uu(ne, ["prevent"])
48330
48339
  }, [
48331
- _.value.length ? (U(), W("ul", RJ, [(U(!0), W(H, null, B(_.value, (e, t) => (U(), W("li", {
48340
+ _.value.length ? (U(), W("ul", zJ, [(U(!0), W(H, null, B(_.value, (e, t) => (U(), W("li", {
48332
48341
  key: t,
48333
48342
  class: j(["project-row", { "is-editing": v.value === t }])
48334
- }, [K("span", zJ, [q(r, { name: "i-lucide-folder" })]), v.value === t ? (U(), W(H, { key: 0 }, [K("div", BJ, [q(u, {
48343
+ }, [K("span", BJ, [q(r, { name: "i-lucide-folder" })]), v.value === t ? (U(), W(H, { key: 0 }, [K("div", VJ, [q(u, {
48335
48344
  modelValue: e.name,
48336
48345
  "onUpdate:modelValue": (t) => e.name = t,
48337
48346
  placeholder: "项目名称",
@@ -48366,7 +48375,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48366
48375
  "aria-label": "完成编辑",
48367
48376
  disabled: !D(e),
48368
48377
  onClick: n[0] ||= (e) => v.value = -1
48369
- }, null, 8, ["disabled"])], 64)) : (U(), W(H, { key: 1 }, [K("div", VJ, [K("strong", null, P(e.name), 1), K("small", { title: e.path }, P(e.path), 9, HJ)]), K("div", UJ, [q(f, {
48378
+ }, null, 8, ["disabled"])], 64)) : (U(), W(H, { key: 1 }, [K("div", HJ, [K("strong", null, P(e.name), 1), K("small", { title: e.path }, P(e.path), 9, UJ)]), K("div", WJ, [q(f, {
48370
48379
  icon: "i-lucide-pencil",
48371
48380
  color: "neutral",
48372
48381
  variant: "ghost",
@@ -48383,7 +48392,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48383
48392
  "aria-label": `移除 ${e.name}`,
48384
48393
  onClick: (e) => te(t)
48385
48394
  }, null, 8, ["aria-label", "onClick"])])], 64))], 2))), 128))])) : Y("", !0),
48386
- y.value ? (U(), W("div", WJ, [
48395
+ y.value ? (U(), W("div", GJ, [
48387
48396
  q(re, {
48388
48397
  label: "文件夹",
48389
48398
  description: s.value ? "" : "运行 codiscuss 的电脑上的完整路径"
@@ -48423,7 +48432,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48423
48432
  }, null, 8, ["modelValue", "onKeydown"])]),
48424
48433
  _: 1
48425
48434
  }),
48426
- K("div", GJ, [_.value.length ? (U(), G(f, {
48435
+ K("div", KJ, [_.value.length ? (U(), G(f, {
48427
48436
  key: 0,
48428
48437
  label: "取消",
48429
48438
  color: "neutral",
@@ -48445,8 +48454,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48445
48454
  class: "project-add-trigger",
48446
48455
  onClick: T
48447
48456
  }, [q(r, { name: "i-lucide-plus" }), n[9] ||= J("添加项目", -1)])),
48448
- S.value ? (U(), W("p", KJ, [q(r, { name: "i-lucide-circle-alert" }), J(P(S.value), 1)])) : Y("", !0),
48449
- K("div", qJ, [q(f, {
48457
+ S.value ? (U(), W("p", qJ, [q(r, { name: "i-lucide-circle-alert" }), J(P(S.value), 1)])) : Y("", !0),
48458
+ K("div", JJ, [q(f, {
48450
48459
  label: "取消",
48451
48460
  color: "neutral",
48452
48461
  variant: "ghost",
@@ -48462,13 +48471,13 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48462
48471
  }, 8, ["open"])], 64);
48463
48472
  };
48464
48473
  }
48465
- }, [["__scopeId", "data-v-91d0fef5"]]), YJ = ["aria-label"], XJ = [
48474
+ }, [["__scopeId", "data-v-91d0fef5"]]), XJ = ["aria-label"], ZJ = [
48466
48475
  "disabled",
48467
48476
  "title",
48468
48477
  "aria-label",
48469
48478
  "aria-pressed",
48470
48479
  "onClick"
48471
- ], ZJ = /*#__PURE__*/ YH({
48480
+ ], QJ = /*#__PURE__*/ YH({
48472
48481
  __name: "RosterAdd",
48473
48482
  props: {
48474
48483
  label: {
@@ -48520,20 +48529,20 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48520
48529
  ]),
48521
48530
  J(P(e.name), 1),
48522
48531
  q(o, { name: e.selected ? "i-lucide-check" : "i-lucide-plus" }, null, 8, ["name"])
48523
- ], 10, XJ)], 64))), 128))], 8, YJ);
48532
+ ], 10, ZJ)], 64))), 128))], 8, XJ);
48524
48533
  };
48525
48534
  }
48526
- }, [["__scopeId", "data-v-b682fa87"]]), QJ = { class: "scheduler-settings" }, $J = { class: "scheduler-title" }, eY = { class: "scheduler-description" }, tY = {
48535
+ }, [["__scopeId", "data-v-b682fa87"]]), $J = { class: "scheduler-settings" }, eY = { class: "scheduler-title" }, tY = { class: "scheduler-description" }, nY = {
48527
48536
  key: 0,
48528
48537
  class: "scheduler-empty"
48529
- }, nY = {
48538
+ }, rY = {
48530
48539
  key: 1,
48531
48540
  class: "scheduler-cards"
48532
- }, rY = { class: "scheduler-slot" }, iY = { class: "scheduler-identity" }, aY = { class: "scheduler-facts" }, oY = ["title"], sY = { class: "scheduler-flip" }, cY = { class: "scheduler-tools" }, lY = ["aria-label"], uY = { class: "scheduler-back" }, dY = { class: "scheduler-heading" }, fY = { class: "scheduler-field" }, pY = { class: "scheduler-field" }, mY = {
48541
+ }, iY = { class: "scheduler-slot" }, aY = { class: "scheduler-identity" }, oY = { class: "scheduler-facts" }, sY = ["title"], cY = { class: "scheduler-flip" }, lY = { class: "scheduler-tools" }, uY = ["aria-label"], dY = { class: "scheduler-back" }, fY = { class: "scheduler-heading" }, pY = { class: "scheduler-field" }, mY = { class: "scheduler-field" }, hY = {
48533
48542
  key: 0,
48534
48543
  role: "alert",
48535
48544
  class: "scheduler-error"
48536
- }, hY = ["role"], gY = { class: "scheduler-flip-actions" }, _Y = "••••••••••••", vY = /*#__PURE__*/ YH({
48545
+ }, gY = ["role"], _Y = { class: "scheduler-flip-actions" }, vY = "••••••••••••", yY = /*#__PURE__*/ YH({
48537
48546
  __name: "SchedulerSettings",
48538
48547
  props: {
48539
48548
  free: {
@@ -48649,8 +48658,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48649
48658
  }
48650
48659
  return (t, a) => {
48651
48660
  let g = WV, ee = pA, D = sA, O = MA, te = oq, ne = YV;
48652
- return U(), W("div", QJ, [
48653
- K("div", null, [K("p", $J, [
48661
+ return U(), W("div", $J, [
48662
+ K("div", null, [K("p", eY, [
48654
48663
  a[5] ||= J("智能调度", -1),
48655
48664
  q(g, {
48656
48665
  size: "xs",
@@ -48661,16 +48670,16 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48661
48670
  _: 1
48662
48671
  }),
48663
48672
  a[6] ||= K("small", null, "可选", -1)
48664
- ]), K("p", eY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
48665
- q(ZJ, {
48673
+ ]), K("p", tY, P(e.blocker ? `${T.value}(${e.blocker})` : T.value), 1)]),
48674
+ q(QJ, {
48666
48675
  ref_key: "add_row",
48667
48676
  ref: l,
48668
48677
  label: "添加决策模型",
48669
48678
  items: u.value,
48670
48679
  onAdd: y
48671
48680
  }, null, 8, ["items"]),
48672
- c.value ? (U(), W("div", nY, [K("div", rY, [K("div", { class: j(["scheduler-card", { "is-editing": h.value }]) }, [h.value ? (U(), W(H, { key: 1 }, [K("div", uY, [
48673
- K("div", dY, [K("strong", null, [J(P(x.value), 1), a[11] ||= K("span", null, "设置", -1)]), q(O, {
48681
+ c.value ? (U(), W("div", rY, [K("div", iY, [K("div", { class: j(["scheduler-card", { "is-editing": h.value }]) }, [h.value ? (U(), W(H, { key: 1 }, [K("div", dY, [
48682
+ K("div", fY, [K("strong", null, [J(P(x.value), 1), a[11] ||= K("span", null, "设置", -1)]), q(O, {
48674
48683
  icon: "i-lucide-zap",
48675
48684
  "aria-label": "检查智能调度配置",
48676
48685
  title: "检查配置:向决策模型发送一道极短的是非题,核对供应商、模型与密钥",
@@ -48685,7 +48694,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48685
48694
  "loading",
48686
48695
  "disabled"
48687
48696
  ])]),
48688
- K("div", fY, [a[12] ||= K("span", null, "模型", -1), q(te, {
48697
+ K("div", pY, [a[12] ||= K("span", null, "模型", -1), q(te, {
48689
48698
  mode: "autocomplete",
48690
48699
  "ignore-filter": "",
48691
48700
  "model-value": i.value.model || "",
@@ -48697,7 +48706,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48697
48706
  class: "w-full",
48698
48707
  "onUpdate:modelValue": a[0] ||= (e) => I(r).write_scheduler("model", e)
48699
48708
  }, null, 8, ["model-value", "items"])]),
48700
- K("div", pY, [a[13] ||= K("span", null, "密钥", -1), q(ne, {
48709
+ K("div", mY, [a[13] ||= K("span", null, "密钥", -1), q(ne, {
48701
48710
  modelValue: d.value,
48702
48711
  "onUpdate:modelValue": a[2] ||= (e) => d.value = e,
48703
48712
  type: "text",
@@ -48705,7 +48714,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48705
48714
  spellcheck: "false",
48706
48715
  "data-1p-ignore": "",
48707
48716
  "data-lpignore": "true",
48708
- placeholder: i.value.api_key_ref ? _Y : "填写所选供应商的 API Key",
48717
+ placeholder: i.value.api_key_ref ? vY : "填写所选供应商的 API Key",
48709
48718
  title: i.value.api_key_ref && !d.value ? "已保存;本机不回传密钥,输入新 Key 可更换" : void 0,
48710
48719
  "aria-label": "智能调度 API Key",
48711
48720
  size: "xs",
@@ -48740,14 +48749,14 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48740
48749
  "loading",
48741
48750
  "ui"
48742
48751
  ])]),
48743
- m.value ? (U(), W("p", mY, P(m.value), 1)) : Y("", !0),
48752
+ m.value ? (U(), W("p", hY, P(m.value), 1)) : Y("", !0),
48744
48753
  C.value.message ? (U(), W("p", {
48745
48754
  key: 1,
48746
48755
  role: C.value.state === "error" ? "alert" : "status",
48747
48756
  class: j(C.value.state === "error" ? "scheduler-error" : "scheduler-ok")
48748
- }, P(C.value.message), 11, hY)) : Y("", !0),
48757
+ }, P(C.value.message), 11, gY)) : Y("", !0),
48749
48758
  a[14] ||= K("p", { class: "scheduler-note" }, "决策模型只做选择、不生成文本,只按输入计费。判断时会把房间标题和最近 10~20 条消息发给所选供应商;密钥只存本机。", -1)
48750
- ]), K("span", gY, [K("button", {
48759
+ ]), K("span", _Y, [K("button", {
48751
48760
  type: "button",
48752
48761
  class: "scheduler-flip is-cancel",
48753
48762
  "aria-label": "放弃决策模型的修改",
@@ -48764,7 +48773,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48764
48773
  title: "点击设置",
48765
48774
  onClick: _
48766
48775
  }, [
48767
- K("span", iY, [q(ee, {
48776
+ K("span", aY, [q(ee, {
48768
48777
  src: s[i.value.provider]?.icon,
48769
48778
  text: x.value.slice(0, 2),
48770
48779
  alt: x.value,
@@ -48776,40 +48785,40 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48776
48785
  "alt",
48777
48786
  "class"
48778
48787
  ]), K("strong", null, P(x.value), 1)]),
48779
- K("dl", aY, [K("div", null, [a[8] ||= K("dt", null, "状态", -1), K("dd", { class: j(`is-${S.value.tone}`) }, [a[7] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(S.value.text), 1)], 2)]), K("div", null, [a[9] ||= K("dt", null, "模型", -1), K("dd", { title: i.value.model }, P(i.value.model || "未选择"), 9, oY)])]),
48780
- K("span", sY, [q(D, { name: "i-lucide-settings-2" }), a[10] ||= J("设置", -1)])
48781
- ]), K("span", cY, [K("button", {
48788
+ K("dl", oY, [K("div", null, [a[8] ||= K("dt", null, "状态", -1), K("dd", { class: j(`is-${S.value.tone}`) }, [a[7] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(S.value.text), 1)], 2)]), K("div", null, [a[9] ||= K("dt", null, "模型", -1), K("dd", { title: i.value.model }, P(i.value.model || "未选择"), 9, sY)])]),
48789
+ K("span", cY, [q(D, { name: "i-lucide-settings-2" }), a[10] ||= J("设置", -1)])
48790
+ ]), K("span", lY, [K("button", {
48782
48791
  type: "button",
48783
48792
  "aria-label": `移出决策模型 ${x.value}`,
48784
48793
  title: "移出",
48785
48794
  onClick: b
48786
- }, [q(D, { name: "i-lucide-x" })], 8, lY)])], 64))], 2)])])) : (U(), W("p", tY, "未添加决策模型。只能放一个,点其他供应商会替换。"))
48795
+ }, [q(D, { name: "i-lucide-x" })], 8, uY)])], 64))], 2)])])) : (U(), W("p", nY, "未添加决策模型。只能放一个,点其他供应商会替换。"))
48787
48796
  ]);
48788
48797
  };
48789
48798
  }
48790
- }, [["__scopeId", "data-v-d4d373f5"]]), yY = { class: "create-discussion" }, bY = {
48799
+ }, [["__scopeId", "data-v-d4d373f5"]]), bY = { class: "create-discussion" }, xY = {
48791
48800
  key: 0,
48792
48801
  class: "create-connect",
48793
48802
  role: "status"
48794
- }, xY = { class: "create-connect-command" }, SY = {
48803
+ }, SY = { class: "create-connect-command" }, CY = {
48795
48804
  key: 1,
48796
48805
  class: "channel-create-location"
48797
- }, CY = { class: "create-section" }, wY = { class: "create-section" }, TY = {
48806
+ }, wY = { class: "create-section" }, TY = { class: "create-section" }, EY = {
48798
48807
  key: 0,
48799
48808
  class: "create-experts",
48800
48809
  role: "group",
48801
48810
  "aria-label": "参与的 AI"
48802
- }, EY = {
48811
+ }, DY = {
48803
48812
  key: 1,
48804
48813
  class: "create-experts-empty"
48805
- }, DY = {
48814
+ }, OY = {
48806
48815
  key: 2,
48807
48816
  class: "fine-print create-hint create-host-hint"
48808
- }, OY = { class: "create-section" }, kY = { class: "create-advanced" }, AY = { class: "create-footer" }, jY = {
48817
+ }, kY = { class: "create-section" }, AY = { class: "create-advanced" }, jY = { class: "create-footer" }, MY = {
48809
48818
  key: 0,
48810
48819
  role: "alert",
48811
48820
  class: "create-error"
48812
- }, MY = { class: "create-footer-row" }, NY = ["title"], PY = "new-expert-modes", FY = 3e3, IY = "preset:", LY = /*#__PURE__*/ YH({
48821
+ }, NY = { class: "create-footer-row" }, PY = ["title"], FY = "new-expert-modes", IY = 3e3, LY = "preset:", RY = /*#__PURE__*/ YH({
48813
48822
  __name: "CreateDiscussion",
48814
48823
  props: { targetFolder: {
48815
48824
  type: Object,
@@ -48817,7 +48826,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48817
48826
  } },
48818
48827
  emits: ["submit", "cancel"],
48819
48828
  setup(e, { emit: t }) {
48820
- let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[PY] || {}), p = /* @__PURE__ */ F([]), m = Z(() => Object.keys(f.value).filter((e) => f.value[e]));
48829
+ let n = t, { view: r, bridge: i, pending: a, act: o } = xr("discussion"), s = Object.keys(i.identities).filter((e) => e !== "用户"), c = (e) => `new-room-${e}`, l = (e) => r.value.fields[c(e)] ?? "", u = (e, t) => i.write_field(c(e), t), d = Z(() => !!r.value.create_discussion), f = Z(() => r.value.experts[FY] || {}), p = /* @__PURE__ */ F([]), m = Z(() => Object.keys(f.value).filter((e) => f.value[e]));
48821
48830
  R(m, (e) => {
48822
48831
  p.value = [...p.value.filter((t) => e.includes(t)), ...e.filter((e) => !p.value.includes(e))];
48823
48832
  }, { immediate: !0 });
@@ -48841,14 +48850,14 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48841
48850
  Qi(() => {
48842
48851
  se(), ae = window.setInterval(() => {
48843
48852
  ie.value && !document.hidden && o("check_launch_connection");
48844
- }, FY);
48853
+ }, IY);
48845
48854
  }), ta(() => window.clearInterval(ae));
48846
48855
  function ce(e) {
48847
48856
  i.write_create_discussion(e), Qn(se);
48848
48857
  }
48849
48858
  let le = (e) => i.launch_clients[e]?.some((e) => e.value !== "api"), ue = (e) => d.value && e === v.value ? [] : ["cli", "manual"];
48850
48859
  function de(e, t) {
48851
- i.write_expert(PY, e, t), se();
48860
+ i.write_expert(FY, e, t), se();
48852
48861
  }
48853
48862
  function fe(e) {
48854
48863
  if (C.value) return E(e) ? {
@@ -48878,7 +48887,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48878
48887
  title: pe(e),
48879
48888
  aria_label: `添加 ${e} 实例`
48880
48889
  })), ...r.value && i.expert_presets().map((e, t) => ({
48881
- value: IY + e.name,
48890
+ value: LY + e.name,
48882
48891
  name: e.label || e.name,
48883
48892
  ...i.identities[i.platform_of(e.name)],
48884
48893
  separated: t === 0,
@@ -48886,11 +48895,11 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48886
48895
  aria_label: `添加预设 ${e.label || e.name}`
48887
48896
  }))]);
48888
48897
  function me(e) {
48889
- if (e.startsWith(IY)) {
48898
+ if (e.startsWith(LY)) {
48890
48899
  let t = i.expert_presets().find((t) => t.name === e.slice(7));
48891
- return t && i.add_preset(PY, t, "cli"), se();
48900
+ return t && i.add_preset(FY, t, "cli"), se();
48892
48901
  }
48893
- i.launch_clients[e] && (i.default_launch_entry(e), g(e) ? i.add_instance(PY, e, "cli") : de(e, "cli"), se());
48902
+ i.launch_clients[e] && (i.default_launch_entry(e), g(e) ? i.add_instance(FY, e, "cli") : de(e, "cli"), se());
48894
48903
  }
48895
48904
  function he(e) {
48896
48905
  de(e, ""), Qn(() => _.value?.focus_first());
@@ -48912,20 +48921,20 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48912
48921
  });
48913
48922
  return (t, s) => {
48914
48923
  let c = sA, p = MA, m = YV, g = zV, x = FK, T = HV;
48915
- return U(), W("div", yY, [K("form", {
48924
+ return U(), W("div", bY, [K("form", {
48916
48925
  id: "create-discussion-form",
48917
48926
  class: "create-scroll dialog-form",
48918
48927
  onSubmit: uu(ge, ["prevent"])
48919
48928
  }, [
48920
- ie.value ? (U(), W("div", bY, [K("p", null, [q(c, { name: "i-lucide-plug-zap" }), s[10] ||= J("本机服务未连接,连接后才能唤醒本机 AI。在运行 AI 的电脑上执行下面的命令并完成网页授权,连上后自动检测。", -1)]), K("div", xY, [K("code", null, P(I(r).launch.connect_command), 1), q(p, {
48929
+ ie.value ? (U(), W("div", xY, [K("p", null, [q(c, { name: "i-lucide-plug-zap" }), s[10] ||= J("本机服务未连接,连接后才能唤醒本机 AI。在运行 AI 的电脑上执行下面的命令并完成网页授权,连上后自动检测。", -1)]), K("div", SY, [K("code", null, P(I(r).launch.connect_command), 1), q(p, {
48921
48930
  icon: "i-lucide-copy",
48922
48931
  "aria-label": "复制本机连接命令",
48923
48932
  variant: "ghost",
48924
48933
  color: "neutral",
48925
48934
  onClick: s[0] ||= (e) => I(o)("copy", I(r).launch.connect_command)
48926
48935
  })])])) : Y("", !0),
48927
- e.targetFolder?.id ? (U(), W("p", SY, [q(c, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
48928
- K("section", CY, [
48936
+ e.targetFolder?.id ? (U(), W("p", CY, [q(c, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
48937
+ K("section", wY, [
48929
48938
  s[11] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
48930
48939
  q(g, {
48931
48940
  label: "话题名称",
@@ -48947,20 +48956,20 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48947
48956
  label: "项目目录(可选)",
48948
48957
  description: I(r).launch.available ? "本机唤醒的成员在此目录读写文件;不填则各用软件默认目录。" : C.value ? `由电脑「${C.value.name}」唤醒的成员在所选项目中读写文件;不选则各用软件默认目录。` : "连接本机服务后可指定:本机唤醒的成员将在此目录读写文件。"
48949
48958
  }, {
48950
- default: L(() => [q(JJ, { disabled: !w.value }, null, 8, ["disabled"])]),
48959
+ default: L(() => [q(YJ, { disabled: !w.value }, null, 8, ["disabled"])]),
48951
48960
  _: 1
48952
48961
  }, 8, ["description"])
48953
48962
  ]),
48954
- K("section", wY, [
48963
+ K("section", TY, [
48955
48964
  s[12] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
48956
- q(ZJ, {
48965
+ q(QJ, {
48957
48966
  ref_key: "library",
48958
48967
  ref: _,
48959
48968
  label: "添加 AI",
48960
48969
  items: A.value,
48961
48970
  onAdd: me
48962
48971
  }, null, 8, ["items"]),
48963
- h.value.length ? (U(), W("div", TY, [(U(!0), W(H, null, B(h.value, (e) => (U(), G(MJ, {
48972
+ h.value.length ? (U(), W("div", EY, [(U(!0), W(H, null, B(h.value, (e) => (U(), G(NJ, {
48964
48973
  key: e,
48965
48974
  name: e,
48966
48975
  mode: f.value[e],
@@ -48982,14 +48991,14 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
48982
48991
  "onHost",
48983
48992
  "onRemove",
48984
48993
  "onMode"
48985
- ]))), 128))])) : (U(), W("p", EY, "请至少添加一位成员。同一平台可添加多位,各自独立会话。")),
48986
- h.value.length ? (U(), W("div", DY, [q(c, { name: "i-lucide-crown" }), K("span", null, P(y.value.length ? "点卡片上的皇冠指定主持人:没 @ 任何人的消息由它分配;其他成员只在被你或主持人点名时发言。" : "需要一位本地 AI 做主持人,没 @ 的消息才有人接。"), 1)])) : Y("", !0),
48987
- q(vY, {
48994
+ ]))), 128))])) : (U(), W("p", DY, "请至少添加一位成员。同一平台可添加多位,各自独立会话。")),
48995
+ h.value.length ? (U(), W("div", OY, [q(c, { name: "i-lucide-crown" }), K("span", null, P(y.value.length ? "点卡片上的皇冠指定主持人:没 @ 任何人的消息由它分配;其他成员只在被你或主持人点名时发言。" : "需要一位本地 AI 做主持人,没 @ 的消息才有人接。"), 1)])) : Y("", !0),
48996
+ q(yY, {
48988
48997
  free: !0,
48989
48998
  blocker: ne.value
48990
48999
  }, null, 8, ["blocker"])
48991
49000
  ]),
48992
- K("section", OY, [
49001
+ K("section", kY, [
48993
49002
  s[13] ||= K("h3", null, [K("span", null, "3"), J("讨论(可选)")], -1),
48994
49003
  q(x, {
48995
49004
  "model-value": d.value,
@@ -49035,7 +49044,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49035
49044
  "execution_minutes"
49036
49045
  ])], 64)) : Y("", !0)
49037
49046
  ]),
49038
- K("details", kY, [K("summary", null, [
49047
+ K("details", AY, [K("summary", null, [
49039
49048
  q(c, {
49040
49049
  name: "i-lucide-chevron-right",
49041
49050
  class: "create-advanced-icon"
@@ -49049,7 +49058,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49049
49058
  default: L(() => [...s[15] ||= [J("建房后可在房间页修改。", -1)]]),
49050
49059
  _: 1
49051
49060
  }, 8, ["model-value"])])
49052
- ], 32), K("footer", AY, [ee.value && I(r).launch.error ? (U(), W("p", jY, P(I(r).launch.error), 1)) : Y("", !0), K("div", MY, [
49061
+ ], 32), K("footer", jY, [ee.value && I(r).launch.error ? (U(), W("p", MY, P(I(r).launch.error), 1)) : Y("", !0), K("div", NY, [
49053
49062
  K("span", {
49054
49063
  class: j(["create-summary", { "is-blocked": oe.value }]),
49055
49064
  title: oe.value || _e.value,
@@ -49057,7 +49066,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49057
49066
  }, [oe.value ? (U(), G(c, {
49058
49067
  key: 0,
49059
49068
  name: "i-lucide-circle-alert"
49060
- })) : Y("", !0), J(P(oe.value ? `还差:${oe.value}` : h.value.length || d.value ? _e.value : ""), 1)], 10, NY),
49069
+ })) : Y("", !0), J(P(oe.value ? `还差:${oe.value}` : h.value.length || d.value ? _e.value : ""), 1)], 10, PY),
49061
49070
  q(p, {
49062
49071
  label: "取消",
49063
49072
  color: "neutral",
@@ -49081,46 +49090,46 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49081
49090
  ])])]);
49082
49091
  };
49083
49092
  }
49084
- }, [["__scopeId", "data-v-4da10016"]]), RY = {
49093
+ }, [["__scopeId", "data-v-4da10016"]]), zY = {
49085
49094
  class: "account-settings",
49086
49095
  "aria-labelledby": "account-heading"
49087
- }, zY = {
49096
+ }, BY = {
49088
49097
  key: 0,
49089
49098
  class: "fine-print",
49090
49099
  role: "status"
49091
- }, BY = ["aria-label"], VY = { class: "fine-print account-intro" }, HY = {
49100
+ }, VY = ["aria-label"], HY = { class: "fine-print account-intro" }, UY = {
49092
49101
  key: 0,
49093
49102
  class: "account-message is-error",
49094
49103
  role: "status"
49095
- }, UY = {
49096
- key: 1,
49097
- class: "fine-print"
49098
49104
  }, WY = {
49099
49105
  key: 1,
49100
49106
  class: "fine-print"
49101
49107
  }, GY = {
49108
+ key: 1,
49109
+ class: "fine-print"
49110
+ }, KY = {
49102
49111
  key: 2,
49103
49112
  class: "account-message is-error",
49104
49113
  role: "alert"
49105
- }, KY = {
49114
+ }, qY = {
49106
49115
  key: 3,
49107
49116
  class: "account-message",
49108
49117
  role: "status"
49109
- }, qY = { class: "account-actions" }, JY = {
49118
+ }, JY = { class: "account-actions" }, YY = {
49110
49119
  key: 2,
49111
49120
  class: "account-profile"
49112
- }, YY = { class: "account-identity" }, XY = { class: "account-avatar-actions" }, ZY = { class: "account-name-row" }, QY = {
49121
+ }, XY = { class: "account-identity" }, ZY = { class: "account-avatar-actions" }, QY = { class: "account-name-row" }, $Y = {
49113
49122
  key: 0,
49114
49123
  class: "account-message is-error",
49115
49124
  role: "alert"
49116
- }, $Y = {
49125
+ }, eX = {
49117
49126
  key: 1,
49118
49127
  class: "account-message",
49119
49128
  role: "status"
49120
- }, eX = {
49129
+ }, tX = {
49121
49130
  key: 2,
49122
49131
  class: "account-signout account-actions"
49123
- }, tX = {
49132
+ }, nX = {
49124
49133
  __name: "AccountSettings",
49125
49134
  setup(e) {
49126
49135
  let { view: t, bridge: n } = xr("discussion"), r = Z(() => t.value.admin), i = Z(() => r.value.profile), a = Z(() => r.value.loaded ? r.value.registered ? r.value.logged_in ? "profile" : "login" : "register" : "loading"), o = /* @__PURE__ */ F(""), s = /* @__PURE__ */ Yt({
@@ -49188,13 +49197,13 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49188
49197
  }
49189
49198
  return (e, t) => {
49190
49199
  let p = YV, y = zV, b = MA, x = pA;
49191
- return U(), W("section", RY, [t[9] ||= K("h3", { id: "account-heading" }, "账号", -1), a.value === "loading" ? (U(), W("p", zY, "正在读取账号状态…")) : a.value === "register" || a.value === "login" ? (U(), W("form", {
49200
+ return U(), W("section", zY, [t[9] ||= K("h3", { id: "account-heading" }, "账号", -1), a.value === "loading" ? (U(), W("p", BY, "正在读取账号状态…")) : a.value === "register" || a.value === "login" ? (U(), W("form", {
49192
49201
  key: 1,
49193
49202
  class: "dialog-form account-form",
49194
49203
  "aria-label": a.value === "register" ? "设置管理员账号" : "登录管理员账号",
49195
49204
  onSubmit: uu(m, ["prevent"])
49196
49205
  }, [
49197
- K("p", VY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
49206
+ K("p", HY, [a.value === "register" ? (U(), W(H, { key: 0 }, [J("设置站点管理员账号:名称和头像对所有访客可见,登录后可在没有房间凭据的浏览器中存档、恢复、删除房间。")], 64)) : (U(), W(H, { key: 1 }, [J("登录后可管理房间;未登录时仍可阅读并使用本浏览器创建的房间。")], 64))]),
49198
49207
  q(y, {
49199
49208
  label: "用户名",
49200
49209
  description: a.value === "register" ? "1–30 个字符,也是公开显示的名称" : void 0,
@@ -49261,24 +49270,24 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49261
49270
  }, null, 8, ["modelValue", "disabled"])]),
49262
49271
  _: 1
49263
49272
  }),
49264
- f.value ? (U(), W("p", HY, [...t[6] ||= [
49273
+ f.value ? (U(), W("p", UY, [...t[6] ||= [
49265
49274
  J("尚无可用的注册令牌。请在部署网站的电脑上运行 ", -1),
49266
49275
  K("code", null, "codiscuss token", -1),
49267
49276
  J(",再刷新本页;本地版也可设置环境变量 DISCUSS_ADMIN_SETUP_KEY 后重启。", -1)
49268
- ]])) : (U(), W("p", UY, [...t[7] ||= [
49277
+ ]])) : (U(), W("p", WY, [...t[7] ||= [
49269
49278
  J("首个注册者需要令牌,防止他人抢注:在部署网站的电脑上运行 ", -1),
49270
49279
  K("code", null, "codiscuss token", -1),
49271
49280
  J(" 获取(一次性);本地版也可用服务端启动日志里的安装令牌。在已连接本机服务的电脑上注册时,账号与密码会保存到 ~/.codiscuss。忘记密码:本地版运行 ", -1),
49272
49281
  K("code", null, "python server.py --reset-admin", -1),
49273
49282
  J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
49274
49283
  ]]))
49275
- ], 64)) : (U(), W("p", WY, [...t[8] ||= [
49284
+ ], 64)) : (U(), W("p", GY, [...t[8] ||= [
49276
49285
  J("忘记密码:本地版运行 ", -1),
49277
49286
  K("code", null, "python server.py --reset-admin", -1),
49278
49287
  J(" 后重新注册;Cloudflare 版需清空管理员表(见部署文档)。", -1)
49279
49288
  ]])),
49280
- s.auth.error ? (U(), W("p", GY, P(s.auth.error), 1)) : s.auth.notice ? (U(), W("p", KY, P(s.auth.notice), 1)) : Y("", !0),
49281
- K("div", qY, [q(b, {
49289
+ s.auth.error ? (U(), W("p", KY, P(s.auth.error), 1)) : s.auth.notice ? (U(), W("p", qY, P(s.auth.notice), 1)) : Y("", !0),
49290
+ K("div", JY, [q(b, {
49282
49291
  type: "submit",
49283
49292
  class: "channel-primary-button",
49284
49293
  label: a.value === "register" ? "创建并登录" : "登录",
@@ -49289,13 +49298,13 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49289
49298
  "loading",
49290
49299
  "disabled"
49291
49300
  ])])
49292
- ], 40, BY)) : (U(), W("div", JY, [
49293
- K("div", YY, [q(x, {
49301
+ ], 40, VY)) : (U(), W("div", YY, [
49302
+ K("div", XY, [q(x, {
49294
49303
  src: I(n).identities.用户.icon,
49295
49304
  alt: `${I(n).display_name("用户")} 的头像`,
49296
49305
  size: "lg",
49297
49306
  class: "channel-avatar user account-avatar"
49298
- }, null, 8, ["src", "alt"]), K("div", XY, [
49307
+ }, null, 8, ["src", "alt"]), K("div", ZY, [
49299
49308
  K("input", {
49300
49309
  ref_key: "avatar_input",
49301
49310
  ref: u,
@@ -49333,7 +49342,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49333
49342
  label: "显示名称",
49334
49343
  description: "即用户名,对所有访客可见"
49335
49344
  }, {
49336
- default: L(() => [K("div", ZY, [q(p, {
49345
+ default: L(() => [K("div", QY, [q(p, {
49337
49346
  modelValue: l.value,
49338
49347
  "onUpdate:modelValue": t[5] ||= (e) => l.value = e,
49339
49348
  autocomplete: "username",
@@ -49351,8 +49360,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49351
49360
  }, null, 8, ["loading", "disabled"])])]),
49352
49361
  _: 1
49353
49362
  })], 32),
49354
- s.profile.error ? (U(), W("p", QY, P(s.profile.error), 1)) : s.profile.notice ? (U(), W("p", $Y, P(s.profile.notice), 1)) : Y("", !0),
49355
- r.value.local ? Y("", !0) : (U(), W("div", eX, [q(b, {
49363
+ s.profile.error ? (U(), W("p", $Y, P(s.profile.error), 1)) : s.profile.notice ? (U(), W("p", eX, P(s.profile.notice), 1)) : Y("", !0),
49364
+ r.value.local ? Y("", !0) : (U(), W("div", tX, [q(b, {
49356
49365
  label: "退出登录",
49357
49366
  icon: "i-lucide-log-out",
49358
49367
  color: "neutral",
@@ -49365,68 +49374,68 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49365
49374
  ]))]);
49366
49375
  };
49367
49376
  }
49368
- }, nX = {
49377
+ }, rX = {
49369
49378
  key: 0,
49370
49379
  class: "channel-archive-manager"
49371
- }, rX = { class: "channel-archive-toolbar" }, iX = {
49380
+ }, iX = { class: "channel-archive-toolbar" }, aX = {
49372
49381
  key: 0,
49373
49382
  class: "channel-archive-confirm channel-archive-bulk",
49374
49383
  role: "alert"
49375
- }, aX = {
49384
+ }, oX = {
49376
49385
  key: 1,
49377
49386
  role: "alert",
49378
49387
  class: "channel-directory-error"
49379
- }, oX = { class: "channel-archive-results" }, sX = {
49388
+ }, sX = { class: "channel-archive-results" }, cX = {
49380
49389
  key: 0,
49381
49390
  class: "channel-archive-list",
49382
49391
  "aria-label": "已存档房间列表"
49383
- }, cX = { class: "channel-archive-row" }, lX = { class: "channel-archive-info" }, uX = [
49392
+ }, lX = { class: "channel-archive-row" }, uX = { class: "channel-archive-info" }, dX = [
49384
49393
  "title",
49385
49394
  "disabled",
49386
49395
  "onClick"
49387
- ], dX = { key: 0 }, fX = ["datetime"], pX = { class: "channel-archive-actions" }, mX = {
49396
+ ], fX = { key: 0 }, pX = ["datetime"], mX = { class: "channel-archive-actions" }, hX = {
49388
49397
  key: 0,
49389
49398
  class: "channel-archive-confirm channel-archive-bulk",
49390
49399
  role: "alert"
49391
- }, hX = {
49400
+ }, gX = {
49392
49401
  key: 1,
49393
49402
  class: "channel-archive-empty"
49394
- }, gX = { class: "fine-print" }, _X = {
49403
+ }, _X = { class: "fine-print" }, vX = {
49395
49404
  key: 0,
49396
49405
  class: "fine-print"
49397
- }, vX = { class: "dialog-actions" }, yX = { class: "fine-print" }, bX = { class: "dialog-actions" }, xX = { class: "dialog-actions" }, SX = { class: "channel-management-target" }, CX = {
49406
+ }, yX = { class: "dialog-actions" }, bX = { class: "fine-print" }, xX = { class: "dialog-actions" }, SX = { class: "dialog-actions" }, CX = { class: "channel-management-target" }, wX = {
49398
49407
  key: 0,
49399
49408
  class: "fine-print"
49400
- }, wX = {
49409
+ }, TX = {
49401
49410
  key: 1,
49402
49411
  class: "fine-print"
49403
- }, TX = {
49412
+ }, EX = {
49404
49413
  key: 2,
49405
49414
  class: "fine-print"
49406
- }, EX = { class: "dialog-actions" }, DX = { key: 5 }, OX = { class: "theme-choices" }, kX = ["aria-pressed", "onClick"], AX = { class: "theme-check" }, jX = { class: "channel-reading-setting" }, MX = {
49415
+ }, DX = { class: "dialog-actions" }, OX = { key: 5 }, kX = { class: "theme-choices" }, AX = ["aria-pressed", "onClick"], jX = { class: "theme-check" }, MX = { class: "channel-reading-setting" }, NX = {
49407
49416
  class: "channel-reading-options",
49408
49417
  role: "group",
49409
49418
  "aria-labelledby": "channel-reading-label"
49410
- }, NX = { class: "channel-reading-setting" }, PX = {
49419
+ }, PX = { class: "channel-reading-setting" }, FX = {
49411
49420
  class: "channel-reading-options channel-effect-options",
49412
49421
  role: "group",
49413
49422
  "aria-labelledby": "channel-effects-label"
49414
- }, FX = { class: "advanced-content" }, IX = {
49423
+ }, IX = { class: "advanced-content" }, LX = {
49415
49424
  key: 0,
49416
49425
  class: "fine-print"
49417
- }, LX = { class: "advanced-content" }, RX = { class: "expert-fields" }, zX = { class: "dialog-actions" }, BX = { class: "dialog-actions" }, VX = {
49426
+ }, RX = { class: "advanced-content" }, zX = { class: "expert-fields" }, BX = { class: "dialog-actions" }, VX = { class: "dialog-actions" }, HX = {
49418
49427
  key: 9,
49419
49428
  class: "original-message"
49420
- }, HX = {
49429
+ }, UX = {
49421
49430
  key: 0,
49422
49431
  role: "alert"
49423
- }, UX = { class: "original-meta" }, WX = { class: "fine-print" }, GX = {
49432
+ }, WX = { class: "original-meta" }, GX = { class: "fine-print" }, KX = {
49424
49433
  key: 0,
49425
49434
  class: "channel-answer-summary"
49426
- }, KX = { class: "message-prose" }, qX = { class: "message-prose" }, JX = ["innerHTML"], YX = {
49435
+ }, qX = { class: "message-prose" }, JX = { class: "message-prose" }, YX = ["innerHTML"], XX = {
49427
49436
  key: 2,
49428
49437
  class: "fine-print"
49429
- }, XX = "topic-expert-modes", ZX = {
49438
+ }, ZX = "topic-expert-modes", QX = {
49430
49439
  __name: "WorkspaceDialogs",
49431
49440
  props: /*@__PURE__*/ Fa({
49432
49441
  detailId: {
@@ -49718,8 +49727,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49718
49727
  } : void 0,
49719
49728
  "onAfter:leave": xe
49720
49729
  }, {
49721
- body: L(() => [a.value === "archives" ? (U(), W("section", nX, [
49722
- K("div", rX, [
49730
+ body: L(() => [a.value === "archives" ? (U(), W("section", rX, [
49731
+ K("div", iX, [
49723
49732
  q(x, {
49724
49733
  modelValue: h.value,
49725
49734
  "onUpdate:modelValue": c[0] ||= (e) => h.value = e,
@@ -49748,7 +49757,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49748
49757
  }
49749
49758
  }, null, 8, ["label", "disabled"])
49750
49759
  ]),
49751
- b.value && v.value.length ? (U(), W("div", iX, [
49760
+ b.value && v.value.length ? (U(), W("div", aX, [
49752
49761
  K("span", null, "将永久删除当前列表中的 " + P(v.value.length) + " 个房间及其全部记录,无法撤销。", 1),
49753
49762
  q(fe, {
49754
49763
  label: "取消",
@@ -49764,20 +49773,20 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49764
49773
  onClick: ee
49765
49774
  })
49766
49775
  ])) : Y("", !0),
49767
- I(o).directory_error ? (U(), W("p", aX, P(I(o).directory_error), 1)) : Y("", !0),
49768
- K("div", oX, [v.value.length ? (U(), W("ul", sX, [(U(!0), W(H, null, B(v.value, (e) => (U(), W("li", {
49776
+ I(o).directory_error ? (U(), W("p", oX, P(I(o).directory_error), 1)) : Y("", !0),
49777
+ K("div", sX, [v.value.length ? (U(), W("ul", cX, [(U(!0), W(H, null, B(v.value, (e) => (U(), W("li", {
49769
49778
  key: e.id,
49770
49779
  class: "channel-archive-item"
49771
- }, [K("div", cX, [K("div", lX, [K("button", {
49780
+ }, [K("div", lX, [K("div", uX, [K("button", {
49772
49781
  class: "channel-archive-title",
49773
49782
  title: e.title,
49774
49783
  disabled: !!I(u),
49775
49784
  onClick: (t) => T(e)
49776
- }, P(e.title), 9, uX), K("small", null, [e.created_at ? (U(), W("span", dX, [
49785
+ }, P(e.title), 9, dX), K("small", null, [e.created_at ? (U(), W("span", fX, [
49777
49786
  c[28] ||= J("创建于 ", -1),
49778
- K("time", { datetime: e.created_at }, P(C(e.created_at)), 9, fX),
49787
+ K("time", { datetime: e.created_at }, P(C(e.created_at)), 9, pX),
49779
49788
  c[29] ||= J(" · ", -1)
49780
- ])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", pX, [q(fe, {
49789
+ ])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", mX, [q(fe, {
49781
49790
  "aria-label": `彻底删除 ${e.title}`,
49782
49791
  title: "彻底删除",
49783
49792
  icon: "i-lucide-trash-2",
@@ -49809,7 +49818,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49809
49818
  "aria-label",
49810
49819
  "disabled",
49811
49820
  "onClick"
49812
- ])])]), y.value === e.id ? (U(), W("div", mX, [
49821
+ ])])]), y.value === e.id ? (U(), W("div", hX, [
49813
49822
  K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
49814
49823
  q(fe, {
49815
49824
  label: "取消",
@@ -49825,15 +49834,15 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49825
49834
  disabled: w(e),
49826
49835
  onClick: E
49827
49836
  }, null, 8, ["disabled"])
49828
- ])) : Y("", !0)]))), 128))])) : (U(), W("p", hX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
49837
+ ])) : Y("", !0)]))), 128))])) : (U(), W("p", gX, P(m.value.length ? "没有匹配的存档房间" : "暂无已存档房间"), 1))])
49829
49838
  ])) : a.value === "delete-folder" ? (U(), W("form", {
49830
49839
  key: 1,
49831
49840
  class: "dialog-form",
49832
49841
  onSubmit: c[7] ||= uu((e) => ae(!1), ["prevent"])
49833
49842
  }, [
49834
- K("p", gX, "仅移除「" + P(e.targetFolder?.name) + "」时,房间变为未分组,所有消息和存档状态都会保留。", 1),
49835
- ie.value.length ? (U(), W("p", _X, "也可以连同其中的 " + P(ie.value.length) + " 个房间一起永久删除,无法撤销。", 1)) : Y("", !0),
49836
- K("div", vX, [
49843
+ K("p", _X, "仅移除「" + P(e.targetFolder?.name) + "」时,房间变为未分组,所有消息和存档状态都会保留。", 1),
49844
+ ie.value.length ? (U(), W("p", vX, "也可以连同其中的 " + P(ie.value.length) + " 个房间一起永久删除,无法撤销。", 1)) : Y("", !0),
49845
+ K("div", yX, [
49837
49846
  q(fe, {
49838
49847
  label: "取消",
49839
49848
  color: "neutral",
@@ -49858,7 +49867,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49858
49867
  key: 2,
49859
49868
  class: "dialog-form",
49860
49869
  onSubmit: uu(oe, ["prevent"])
49861
- }, [K("p", yX, "存档「" + P(e.targetFolder?.name) + "」中的 " + P(ie.value.length) + " 个房间,文件夹保留。存档后可在侧栏「已存档」中查阅与恢复;尚未收束的讨论会暂停。", 1), K("div", bX, [q(fe, {
49870
+ }, [K("p", bX, "存档「" + P(e.targetFolder?.name) + "」中的 " + P(ie.value.length) + " 个房间,文件夹保留。存档后可在侧栏「已存档」中查阅与恢复;尚未收束的讨论会暂停。", 1), K("div", xX, [q(fe, {
49862
49871
  label: "取消",
49863
49872
  color: "neutral",
49864
49873
  variant: "ghost",
@@ -49888,7 +49897,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49888
49897
  "modelValue",
49889
49898
  "aria-label",
49890
49899
  "readonly"
49891
- ]), K("div", xX, [q(fe, {
49900
+ ]), K("div", SX, [q(fe, {
49892
49901
  label: "取消",
49893
49902
  color: "neutral",
49894
49903
  variant: "ghost",
@@ -49913,10 +49922,10 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49913
49922
  class: "dialog-form",
49914
49923
  onSubmit: uu(ne, ["prevent"])
49915
49924
  }, [
49916
- K("p", SX, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
49917
- a.value === "archive" ? (U(), W("p", CX, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
49918
- a.value === "restore" ? (U(), W("p", wX, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
49919
- a.value === "delete" ? (U(), W("p", TX, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
49925
+ K("p", CX, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
49926
+ a.value === "archive" ? (U(), W("p", wX, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
49927
+ a.value === "restore" ? (U(), W("p", TX, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
49928
+ a.value === "delete" ? (U(), W("p", EX, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
49920
49929
  a.value === "rename" ? (U(), G(pe, {
49921
49930
  key: 3,
49922
49931
  label: "房间名称",
@@ -49933,7 +49942,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49933
49942
  }, null, 8, ["modelValue"])]),
49934
49943
  _: 1
49935
49944
  })) : Y("", !0),
49936
- K("div", EX, [q(fe, {
49945
+ K("div", DX, [q(fe, {
49937
49946
  label: "取消",
49938
49947
  color: "neutral",
49939
49948
  variant: "ghost",
@@ -49950,10 +49959,10 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49950
49959
  "loading",
49951
49960
  "disabled"
49952
49961
  ])])
49953
- ], 32)) : a.value === "settings" ? (U(), W("div", DX, [
49954
- q(tX),
49962
+ ], 32)) : a.value === "settings" ? (U(), W("div", OX, [
49963
+ q(nX),
49955
49964
  c[34] ||= K("h3", { class: "account-appearance-heading" }, "外观", -1),
49956
- K("div", OX, [(U(), W(H, null, B(_e, (e) => K("button", {
49965
+ K("div", kX, [(U(), W(H, null, B(_e, (e) => K("button", {
49957
49966
  key: e.value,
49958
49967
  class: j({ chosen: I(o).theme === e.value }),
49959
49968
  "aria-pressed": I(o).theme === e.value,
@@ -49968,12 +49977,12 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49968
49977
  K("b")
49969
49978
  ], -1)]], 2),
49970
49979
  K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
49971
- K("span", AX, [I(o).theme === e.value ? (U(), G(ye, {
49980
+ K("span", jX, [I(o).theme === e.value ? (U(), G(ye, {
49972
49981
  key: 0,
49973
49982
  name: "i-lucide-check"
49974
49983
  })) : Y("", !0)])
49975
- ], 10, kX)), 64))]),
49976
- K("section", jX, [c[31] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", MX, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(fe, {
49984
+ ], 10, AX)), 64))]),
49985
+ K("section", MX, [c[31] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", NX, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(fe, {
49977
49986
  key: e.value,
49978
49987
  label: e.label,
49979
49988
  color: "neutral",
@@ -49987,9 +49996,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
49987
49996
  "aria-pressed",
49988
49997
  "onClick"
49989
49998
  ]))), 128))])]),
49990
- K("section", NX, [
49999
+ K("section", PX, [
49991
50000
  c[32] ||= K("h3", { id: "channel-effects-label" }, "视觉效果", -1),
49992
- K("div", PX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(fe, {
50001
+ K("div", FX, [(U(!0), W(H, null, B(e.effectOptions, (e) => (U(), G(fe, {
49993
50002
  key: e.value,
49994
50003
  label: e.label,
49995
50004
  color: "neutral",
@@ -50005,7 +50014,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50005
50014
  ]))), 128))]),
50006
50015
  c[33] ||= K("p", { class: "fine-print" }, "精简模式关闭毛玻璃模糊与多层阴影,适合配置较低或需要更流畅滚动的设备。", -1)
50007
50016
  ])
50008
- ])) : a.value === "create" ? (U(), G(LY, {
50017
+ ])) : a.value === "create" ? (U(), G(RY, {
50009
50018
  key: 6,
50010
50019
  "target-folder": e.targetFolder,
50011
50020
  onSubmit: N,
@@ -50063,7 +50072,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50063
50072
  }, null, 8, ["model-value"])]),
50064
50073
  _: 1
50065
50074
  })) : Y("", !0),
50066
- K("section", FX, [
50075
+ K("section", IX, [
50067
50076
  c[35] ||= K("h3", null, "讨论上限", -1),
50068
50077
  q(yU, {
50069
50078
  ref_key: "topic_limits",
@@ -50083,14 +50092,14 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50083
50092
  "execution",
50084
50093
  "disabled"
50085
50094
  ]),
50086
- de.value ? (U(), W("p", IX, "讨论未结束时,上限不可在此修改。")) : Y("", !0)
50095
+ de.value ? (U(), W("p", LX, "讨论未结束时,上限不可在此修改。")) : Y("", !0)
50087
50096
  ]),
50088
50097
  q(Te, {
50089
50098
  open: le.value,
50090
50099
  "onUpdate:open": c[22] ||= (e) => le.value = e,
50091
50100
  class: "advanced-fields"
50092
50101
  }, {
50093
- content: L(() => [K("div", LX, [
50102
+ content: L(() => [K("div", RX, [
50094
50103
  (U(), W(H, null, B([
50095
50104
  {
50096
50105
  key: "user_request",
@@ -50117,11 +50126,11 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50117
50126
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
50118
50127
  _: 2
50119
50128
  }, 1032, ["label"])), 64)),
50120
- K("div", RX, [(U(!0), W(H, null, B(I(k), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(S, {
50121
- "model-value": I(o).experts[XX]?.[e] || "none",
50129
+ K("div", zX, [(U(!0), W(H, null, B(I(k), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(S, {
50130
+ "model-value": I(o).experts[ZX]?.[e] || "none",
50122
50131
  items: ce,
50123
50132
  "aria-label": `${e} 参与方式`,
50124
- "onUpdate:modelValue": (t) => I(s).write_expert(XX, e, t === "none" ? "" : t)
50133
+ "onUpdate:modelValue": (t) => I(s).write_expert(ZX, e, t === "none" ? "" : t)
50125
50134
  }, null, 8, [
50126
50135
  "model-value",
50127
50136
  "aria-label",
@@ -50139,7 +50148,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50139
50148
  }, null, 8, ["trailing-icon"])]),
50140
50149
  _: 1
50141
50150
  }, 8, ["open"]),
50142
- K("div", zX, [q(fe, {
50151
+ K("div", BX, [q(fe, {
50143
50152
  label: "取消",
50144
50153
  color: "neutral",
50145
50154
  variant: "ghost",
@@ -50183,7 +50192,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50183
50192
  _: 1
50184
50193
  }),
50185
50194
  c[37] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
50186
- K("div", BX, [q(fe, {
50195
+ K("div", VX, [q(fe, {
50187
50196
  label: "取消",
50188
50197
  variant: "ghost",
50189
50198
  color: "neutral",
@@ -50194,8 +50203,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50194
50203
  label: "创建发言安排",
50195
50204
  loading: I(u) === "schedule"
50196
50205
  }, null, 8, ["loading"])])
50197
- ], 32)) : a.value === "message" ? (U(), W("div", VX, [me.value ? (U(), W("p", HX, P(me.value), 1)) : A.value ? (U(), W(H, { key: 1 }, [
50198
- K("div", UX, [
50206
+ ], 32)) : a.value === "message" ? (U(), W("div", HX, [me.value ? (U(), W("p", UX, P(me.value), 1)) : A.value ? (U(), W(H, { key: 1 }, [
50207
+ K("div", WX, [
50199
50208
  K("strong", null, P(I(s).display_name(A.value.author)), 1),
50200
50209
  K("span", null, "#" + P(A.value.id), 1),
50201
50210
  q(Ee, {
@@ -50206,14 +50215,14 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50206
50215
  _: 1
50207
50216
  })
50208
50217
  ]),
50209
- K("p", WX, P(I(s).provenance(A.value)) + " · " + P(new Date(A.value.created_at).toLocaleString("zh-CN")), 1),
50210
- A.value.summary ? (U(), W("section", GX, [K("small", null, "回答摘要 · " + P(I(s).display_name(A.value.summary_by)), 1), K("p", KX, P(A.value.summary), 1)])) : Y("", !0),
50211
- K("p", qX, P(A.value.text), 1),
50218
+ K("p", GX, P(I(s).provenance(A.value)) + " · " + P(new Date(A.value.created_at).toLocaleString("zh-CN")), 1),
50219
+ A.value.summary ? (U(), W("section", KX, [K("small", null, "回答摘要 · " + P(I(s).display_name(A.value.summary_by)), 1), K("p", qX, P(A.value.summary), 1)])) : Y("", !0),
50220
+ K("p", JX, P(A.value.text), 1),
50212
50221
  A.value.attachments?.length ? (U(), W("div", {
50213
50222
  key: 1,
50214
50223
  onClick: be,
50215
50224
  innerHTML: I(s).attachment_markup(A.value.attachments)
50216
- }, null, 8, JX)) : Y("", !0),
50225
+ }, null, 8, YX)) : Y("", !0),
50217
50226
  A.value.reply_to ? (U(), G(fe, {
50218
50227
  key: 2,
50219
50228
  label: `查看被回复的原文 #${A.value.reply_to}`,
@@ -50223,7 +50232,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50223
50232
  class: "channel-surface-button",
50224
50233
  onClick: Se
50225
50234
  }, null, 8, ["label"])) : Y("", !0)
50226
- ], 64)) : (U(), W("p", YX, "正在读取原文…"))])) : Y("", !0)]),
50235
+ ], 64)) : (U(), W("p", XX, "正在读取原文…"))])) : Y("", !0)]),
50227
50236
  _: 1
50228
50237
  }, 8, [
50229
50238
  "open",
@@ -50234,7 +50243,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50234
50243
  ]);
50235
50244
  };
50236
50245
  }
50237
- }, QX = {
50246
+ }, $X = {
50238
50247
  __name: "ContextMenuContent",
50239
50248
  props: {
50240
50249
  items: {
@@ -50529,7 +50538,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50529
50538
  "disabled",
50530
50539
  "text-value",
50531
50540
  "class"
50532
- ]), q(QX, X({
50541
+ ]), q($X, X({
50533
50542
  sub: "",
50534
50543
  class: r.ui?.content,
50535
50544
  ui: e.ui,
@@ -50640,7 +50649,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50640
50649
  _: 3
50641
50650
  }, 16)], 64));
50642
50651
  }
50643
- }, $X = {
50652
+ }, eZ = {
50644
50653
  slots: {
50645
50654
  content: "min-w-32 max-h-(--reka-context-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
50646
50655
  viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
@@ -50828,7 +50837,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50828
50837
  }
50829
50838
  ],
50830
50839
  defaultVariants: { size: "md" }
50831
- }, eZ = {
50840
+ }, tZ = {
50832
50841
  __name: "ContextMenu",
50833
50842
  props: {
50834
50843
  size: {
@@ -50898,7 +50907,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50898
50907
  emits: ["update:open"],
50899
50908
  setup(e, { emit: t }) {
50900
50909
  let n = e, r = t, i = Aa(), a = AE("contextMenu", n), o = Cm(), s = jE(om(a, "modal"), r), c = /* @__PURE__ */ Sn(() => a.content), l = () => Vm(i, ["default"]), u = Z(() => oA({
50901
- extend: $X,
50910
+ extend: eZ,
50902
50911
  ...o.ui?.contextMenu || {}
50903
50912
  })({ size: a.size }));
50904
50913
  return (e, t) => (U(), G(I(iC), M(Ss(I(s))), {
@@ -50910,7 +50919,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50910
50919
  }, {
50911
50920
  default: L(() => [V(e.$slots, "default")]),
50912
50921
  _: 3
50913
- }, 8, ["disabled", "class"])) : Y("", !0), q(QX, X({
50922
+ }, 8, ["disabled", "class"])) : Y("", !0), q($X, X({
50914
50923
  class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
50915
50924
  ui: u.value,
50916
50925
  "ui-override": I(a).ui
@@ -50940,20 +50949,20 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
50940
50949
  _: 3
50941
50950
  }, 16));
50942
50951
  }
50943
- }, tZ = {
50952
+ }, nZ = {
50944
50953
  key: 0,
50945
50954
  class: "channel-import-reading"
50946
- }, nZ = {
50955
+ }, rZ = {
50947
50956
  class: "channel-import-list",
50948
50957
  "aria-live": "polite"
50949
- }, rZ = { class: "channel-import-head" }, iZ = ["title"], aZ = {
50958
+ }, iZ = { class: "channel-import-head" }, aZ = ["title"], oZ = {
50950
50959
  key: 0,
50951
50960
  role: "alert",
50952
50961
  class: "channel-import-error"
50953
- }, oZ = {
50962
+ }, sZ = {
50954
50963
  key: 1,
50955
50964
  class: "channel-import-members"
50956
- }, sZ = ["title"], cZ = { class: "dialog-actions" }, lZ = /*#__PURE__*/ YH({
50965
+ }, cZ = ["title"], lZ = { class: "dialog-actions" }, uZ = /*#__PURE__*/ YH({
50957
50966
  __name: "ImportDialog",
50958
50967
  props: {
50959
50968
  open: {
@@ -51009,21 +51018,21 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51009
51018
  }
51010
51019
  }, {
51011
51020
  body: L(() => [
51012
- !r.value.done && !r.value.rooms.length ? (U(), W("p", tZ, "正在读取备份文件…")) : Y("", !0),
51013
- K("ul", nZ, [(U(!0), W(H, null, B(r.value.rooms, (e, t) => (U(), W("li", {
51021
+ !r.value.done && !r.value.rooms.length ? (U(), W("p", nZ, "正在读取备份文件…")) : Y("", !0),
51022
+ K("ul", rZ, [(U(!0), W(H, null, B(r.value.rooms, (e, t) => (U(), W("li", {
51014
51023
  key: t,
51015
51024
  class: j(["channel-import-room", `is-${e.status}`])
51016
51025
  }, [
51017
- K("div", rZ, [
51026
+ K("div", iZ, [
51018
51027
  q(o, {
51019
51028
  name: i[e.status].icon,
51020
51029
  class: j({ "animate-spin": e.status === "importing" })
51021
51030
  }, null, 8, ["name", "class"]),
51022
- K("strong", { title: e.title }, P(e.title), 9, iZ),
51031
+ K("strong", { title: e.title }, P(e.title), 9, aZ),
51023
51032
  K("span", null, P(i[e.status].label), 1)
51024
51033
  ]),
51025
- e.error ? (U(), W("p", aZ, P(e.error), 1)) : Y("", !0),
51026
- e.members.length ? (U(), W("ul", oZ, [(U(!0), W(H, null, B(e.members, (e) => (U(), W("li", {
51034
+ e.error ? (U(), W("p", oZ, P(e.error), 1)) : Y("", !0),
51035
+ e.members.length ? (U(), W("ul", sZ, [(U(!0), W(H, null, B(e.members, (e) => (U(), W("li", {
51027
51036
  key: e.name,
51028
51037
  class: j({ "is-failed": e.failed })
51029
51038
  }, [
@@ -51032,7 +51041,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51032
51041
  e.resume ? (U(), W("code", {
51033
51042
  key: 0,
51034
51043
  title: `没有开着的原窗口时,在 ${e.resume.cwd} 运行`
51035
- }, P(e.resume.command), 9, sZ)) : Y("", !0)
51044
+ }, P(e.resume.command), 9, cZ)) : Y("", !0)
51036
51045
  ], 2))), 128))])) : Y("", !0),
51037
51046
  (U(!0), W(H, null, B(e.problems, (e) => (U(), W("p", {
51038
51047
  key: e,
@@ -51044,7 +51053,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51044
51053
  role: "alert",
51045
51054
  class: "channel-import-error is-file"
51046
51055
  }, P(e), 1))), 128)),
51047
- K("div", cZ, [q(s, {
51056
+ K("div", lZ, [q(s, {
51048
51057
  label: "完成",
51049
51058
  class: "channel-primary-button",
51050
51059
  disabled: !r.value.done,
@@ -51060,47 +51069,47 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51060
51069
  ]);
51061
51070
  };
51062
51071
  }
51063
- }, [["__scopeId", "data-v-03a2f1dd"]]), uZ = { class: "channel-directory-manager" }, dZ = { class: "channel-directory-heading" }, fZ = ["aria-expanded"], pZ = { class: "channel-directory-actions" }, mZ = {
51072
+ }, [["__scopeId", "data-v-03a2f1dd"]]), dZ = { class: "channel-directory-manager" }, fZ = { class: "channel-directory-heading" }, pZ = ["aria-expanded"], mZ = { class: "channel-directory-actions" }, hZ = {
51064
51073
  "aria-label": "协作房间列表",
51065
51074
  class: "channel-room-list",
51066
51075
  "data-room-directory": ""
51067
- }, hZ = ["data-room-folder", "data-drag-folder"], gZ = [
51076
+ }, gZ = ["data-room-folder", "data-drag-folder"], _Z = [
51068
51077
  "disabled",
51069
51078
  "aria-label",
51070
51079
  "aria-expanded",
51071
51080
  "onKeydown",
51072
51081
  "onClick"
51073
- ], _Z = { class: "channel-folder-name" }, vZ = {
51082
+ ], vZ = { class: "channel-folder-name" }, yZ = {
51074
51083
  class: "channel-directory-count",
51075
51084
  "aria-hidden": "true"
51076
- }, yZ = { class: "channel-folder-actions" }, bZ = ["data-drop-folder"], xZ = {
51085
+ }, bZ = { class: "channel-folder-actions" }, xZ = ["data-drop-folder"], SZ = {
51077
51086
  key: 0,
51078
51087
  class: "channel-directory-empty",
51079
51088
  role: "status"
51080
- }, SZ = ["data-drag-room"], CZ = [
51089
+ }, CZ = ["data-drag-room"], wZ = [
51081
51090
  "aria-label",
51082
51091
  "disabled",
51083
51092
  "onKeydown"
51084
- ], wZ = [
51093
+ ], TZ = [
51085
51094
  "title",
51086
51095
  "aria-label",
51087
51096
  "aria-current",
51088
51097
  "onClick"
51089
- ], TZ = { class: "channel-room-actions" }, EZ = {
51098
+ ], EZ = { class: "channel-room-actions" }, DZ = {
51090
51099
  key: 0,
51091
51100
  class: "channel-directory-empty"
51092
- }, DZ = {
51101
+ }, OZ = {
51093
51102
  key: 0,
51094
51103
  class: "channel-archive-count"
51095
- }, OZ = {
51104
+ }, kZ = {
51096
51105
  key: 0,
51097
51106
  role: "status",
51098
51107
  class: "channel-directory-notice"
51099
- }, kZ = {
51108
+ }, AZ = {
51100
51109
  key: 1,
51101
51110
  role: "alert",
51102
51111
  class: "channel-directory-error"
51103
- }, AZ = {
51112
+ }, jZ = {
51104
51113
  __name: "ChannelDirectory",
51105
51114
  emits: [
51106
51115
  "select",
@@ -51331,8 +51340,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51331
51340
  ];
51332
51341
  }
51333
51342
  return (e, t) => {
51334
- let u = MA, m = sA, h = $V, b = CH, x = eZ;
51335
- return U(), W("div", uZ, [
51343
+ let u = MA, m = sA, h = $V, b = CH, x = tZ;
51344
+ return U(), W("div", dZ, [
51336
51345
  q(u, {
51337
51346
  label: "新建对话",
51338
51347
  icon: "i-lucide-plus",
@@ -51341,12 +51350,12 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51341
51350
  disabled: I(r).directory_pending.includes("create-room"),
51342
51351
  onClick: t[0] ||= (e) => n("create", null)
51343
51352
  }, null, 8, ["disabled"]),
51344
- K("div", dZ, [K("button", {
51353
+ K("div", fZ, [K("button", {
51345
51354
  type: "button",
51346
51355
  class: "channel-section-toggle",
51347
51356
  "aria-expanded": _.value,
51348
51357
  onClick: t[1] ||= (e) => _.value = !_.value
51349
- }, [q(m, { name: _.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[8] ||= J("协作房间", -1)], 8, fZ), K("div", pZ, [
51358
+ }, [q(m, { name: _.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[8] ||= J("协作房间", -1)], 8, pZ), K("div", mZ, [
51350
51359
  q(h, { text: "新建文件夹" }, {
51351
51360
  default: L(() => [q(u, {
51352
51361
  icon: "i-lucide-plus",
@@ -51388,7 +51397,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51388
51397
  onChange: g
51389
51398
  }, null, 544)
51390
51399
  ])]),
51391
- vr(K("nav", mZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
51400
+ vr(K("nav", hZ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
51392
51401
  key: e.order_id,
51393
51402
  class: "channel-folder-section",
51394
51403
  "data-room-folder": e.id,
@@ -51417,9 +51426,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51417
51426
  }, [
51418
51427
  q(m, { name: v.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
51419
51428
  q(m, { name: "i-lucide-folder" }),
51420
- K("span", _Z, P(e.name), 1),
51421
- K("small", vZ, P(e.pending ? "保存中" : e.rooms.length), 1)
51422
- ], 40, gZ), K("div", yZ, [q(h, { text: `在${e.name}中新建对话` }, {
51429
+ K("span", vZ, P(e.name), 1),
51430
+ K("small", yZ, P(e.pending ? "保存中" : e.rooms.length), 1)
51431
+ ], 40, _Z), K("div", bZ, [q(h, { text: `在${e.name}中新建对话` }, {
51423
51432
  default: L(() => [q(u, {
51424
51433
  icon: "i-lucide-square-pen",
51425
51434
  "aria-label": `在${e.name}中新建对话`,
@@ -51456,7 +51465,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51456
51465
  key: 1,
51457
51466
  class: j(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
51458
51467
  "data-drop-folder": e.id ? void 0 : ""
51459
- }, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", xZ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(x, {
51468
+ }, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", SZ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(x, {
51460
51469
  key: s.id,
51461
51470
  items: C(s, c, s.folder_id || null, e.rooms.length),
51462
51471
  ui: { content: "channel-menu channel-topic-menu" }
@@ -51481,7 +51490,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51481
51490
  direction: 1,
51482
51491
  folder_id: s.folder_id || null
51483
51492
  }), ["prevent"]), ["down"])]
51484
- }, [q(m, { name: "i-lucide-grip-vertical" })], 40, CZ),
51493
+ }, [q(m, { name: "i-lucide-grip-vertical" })], 40, wZ),
51485
51494
  K("button", {
51486
51495
  class: "channel-room-select",
51487
51496
  "data-drag-title": "",
@@ -51490,8 +51499,8 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51490
51499
  "aria-current": s.id === I(r).room?.id ? "page" : void 0,
51491
51500
  onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
51492
51501
  onClick: (e) => n("select", s.id)
51493
- }, [K("span", null, P(s.title), 1)], 40, wZ),
51494
- K("div", TZ, [q(h, {
51502
+ }, [K("span", null, P(s.title), 1)], 40, TZ),
51503
+ K("div", EZ, [q(h, {
51495
51504
  text: s.archived ? "恢复房间" : "存档房间",
51496
51505
  ui: { content: "channel-topic-tooltip" }
51497
51506
  }, {
@@ -51532,9 +51541,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51532
51541
  }, null, 8, ["aria-label"])]),
51533
51542
  _: 2
51534
51543
  }, 1032, ["items"])])
51535
- ], 10, SZ)]),
51544
+ ], 10, CZ)]),
51536
51545
  _: 2
51537
- }, 1032, ["items"]))), 128))], 10, bZ)) : Y("", !0)], 8, hZ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", EZ, "暂无协作房间"))], 512), [[Vc, _.value]]),
51546
+ }, 1032, ["items"]))), 128))], 10, xZ)) : Y("", !0)], 8, gZ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", DZ, "暂无协作房间"))], 512), [[Vc, _.value]]),
51538
51547
  vr(q(u, {
51539
51548
  icon: "i-lucide-archive",
51540
51549
  color: "neutral",
@@ -51543,44 +51552,44 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51543
51552
  "aria-haspopup": "dialog",
51544
51553
  onClick: t[6] ||= (e) => n("archives")
51545
51554
  }, {
51546
- default: L(() => [t[9] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small", DZ, P(c.value), 1)) : Y("", !0)]),
51555
+ default: L(() => [t[9] ||= K("span", { class: "channel-archive-label" }, "已存档", -1), c.value ? (U(), W("small", OZ, P(c.value), 1)) : Y("", !0)]),
51547
51556
  _: 1
51548
51557
  }, 512), [[Vc, _.value]]),
51549
- I(r).directory_notice ? (U(), W("p", OZ, P(I(r).directory_notice), 1)) : Y("", !0),
51550
- I(r).directory_error ? (U(), W("p", kZ, P(I(r).directory_error), 1)) : Y("", !0),
51551
- q(lZ, {
51558
+ I(r).directory_notice ? (U(), W("p", kZ, P(I(r).directory_notice), 1)) : Y("", !0),
51559
+ I(r).directory_error ? (U(), W("p", AZ, P(I(r).directory_error), 1)) : Y("", !0),
51560
+ q(uZ, {
51552
51561
  open: p.value,
51553
51562
  "onUpdate:open": t[7] ||= (e) => p.value = e
51554
51563
  }, null, 8, ["open"])
51555
51564
  ]);
51556
51565
  };
51557
51566
  }
51558
- }, jZ = {
51567
+ }, MZ = {
51559
51568
  key: 0,
51560
51569
  class: "pb-invite",
51561
51570
  "aria-label": "启动手动成员"
51562
- }, MZ = { class: "pb-invite-lead" }, NZ = {
51571
+ }, NZ = { class: "pb-invite-lead" }, PZ = {
51563
51572
  key: 0,
51564
51573
  role: "alert",
51565
51574
  class: "pb-free-note is-error"
51566
- }, PZ = { class: "pb-invite-launches" }, FZ = { class: "pb-invite-footer" }, IZ = {
51575
+ }, FZ = { class: "pb-invite-launches" }, IZ = { class: "pb-invite-footer" }, LZ = {
51567
51576
  key: 0,
51568
51577
  class: "pb-invite-cards"
51569
- }, LZ = {
51578
+ }, RZ = {
51570
51579
  key: 0,
51571
51580
  class: "fine-print"
51572
- }, RZ = ["aria-hidden"], zZ = {
51581
+ }, zZ = ["aria-hidden"], BZ = {
51573
51582
  key: 2,
51574
51583
  class: "pb-invite-empty"
51575
- }, BZ = {
51584
+ }, VZ = {
51576
51585
  key: 3,
51577
51586
  role: "alert",
51578
51587
  class: "fine-print"
51579
- }, VZ = {
51588
+ }, HZ = {
51580
51589
  key: 4,
51581
51590
  role: "alert",
51582
51591
  class: "pb-free-note is-error"
51583
- }, HZ = { class: "pb-invite-footer" }, UZ = 2e3, WZ = "preset:", GZ = /*#__PURE__*/ YH({
51592
+ }, UZ = { class: "pb-invite-footer" }, WZ = 2e3, GZ = "preset:", KZ = /*#__PURE__*/ YH({
51584
51593
  __name: "InviteDialog",
51585
51594
  props: /*@__PURE__*/ Fa({ description: {
51586
51595
  type: String,
@@ -51598,7 +51607,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51598
51607
  async function u(e) {
51599
51608
  clearTimeout(l), c.value = "", await i("copy_member_launch", e) && (c.value = e, l = setTimeout(() => {
51600
51609
  c.value = "";
51601
- }, UZ));
51610
+ }, WZ));
51602
51611
  }
51603
51612
  let d = /* @__PURE__ */ F([]), f = 0, p = /* @__PURE__ */ F([]), m = /* @__PURE__ */ F(!1), h = Z(() => Object.keys(r.launch_clients)), g = Z(() => n.value && r.expert_presets()), _ = Z(() => (o.value.members || []).map((e) => e.name)), v = (e) => _.value.filter((t) => r.platform_of(t) === e).length, y = Z(() => [...d.value.filter((e) => e.mode !== "manual"), ...d.value.filter((e) => e.mode === "manual")]), b = Z(() => {
51604
51613
  let e = /* @__PURE__ */ new Set([..._.value, ...d.value.filter((e) => e.preset).map((e) => e.name)]);
@@ -51637,7 +51646,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51637
51646
  title: v(e) ? `已在场 ${v(e)} 位 · 将添加新实例` : "",
51638
51647
  aria_label: `添加 ${e} 实例`
51639
51648
  })), ...g.value.map((e, t) => ({
51640
- value: WZ + e.name,
51649
+ value: GZ + e.name,
51641
51650
  name: e.label || e.name,
51642
51651
  ...r.identities[r.platform_of(e.name)],
51643
51652
  separated: t === 0,
@@ -51645,7 +51654,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51645
51654
  aria_label: `添加预设 ${e.label || e.name}`
51646
51655
  }))]);
51647
51656
  function T(e) {
51648
- if (!e.startsWith(WZ)) return C(e);
51657
+ if (!e.startsWith(GZ)) return C(e);
51649
51658
  let t = g.value.find((t) => t.name === e.slice(7));
51650
51659
  t && E(t);
51651
51660
  }
@@ -51684,10 +51693,10 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51684
51693
  body: "dialog-body"
51685
51694
  }
51686
51695
  }, {
51687
- body: L(() => [p.value.length && !d.value.length ? (U(), W("div", jZ, [
51688
- K("p", MZ, P(p.value.length > 1 ? `${p.value.length} 位手动成员已加入` : "手动成员已加入") + ",把启动指令交给各自的 AI 会话,注册后才算到场。", 1),
51689
- I(n).access?.error ? (U(), W("p", NZ, P(I(n).access.error), 1)) : Y("", !0),
51690
- K("ul", PZ, [(U(!0), W(H, null, B(p.value, (e) => (U(), W("li", { key: e }, [
51696
+ body: L(() => [p.value.length && !d.value.length ? (U(), W("div", MZ, [
51697
+ K("p", NZ, P(p.value.length > 1 ? `${p.value.length} 位手动成员已加入` : "手动成员已加入") + ",把启动指令交给各自的 AI 会话,注册后才算到场。", 1),
51698
+ I(n).access?.error ? (U(), W("p", PZ, P(I(n).access.error), 1)) : Y("", !0),
51699
+ K("ul", FZ, [(U(!0), W(H, null, B(p.value, (e) => (U(), W("li", { key: e }, [
51691
51700
  q(l, {
51692
51701
  src: I(r).identities[I(r).platform_of(e)]?.icon,
51693
51702
  text: I(r).identities[I(r).platform_of(e)]?.initials,
@@ -51722,7 +51731,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51722
51731
  ])
51723
51732
  ]))), 128))]),
51724
51733
  o[3] ||= K("p", { class: "fine-print" }, "指令含该成员的凭证,只交给对应的会话;关闭后仍可在参与者列表中复制。", -1),
51725
- K("div", FZ, [q(f, {
51734
+ K("div", IZ, [q(f, {
51726
51735
  label: "完成",
51727
51736
  class: "channel-primary-button",
51728
51737
  onClick: o[0] ||= (e) => t.value = !1
@@ -51733,15 +51742,15 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51733
51742
  "aria-label": "邀请专家",
51734
51743
  onSubmit: uu(ee, ["prevent"])
51735
51744
  }, [
51736
- q(ZJ, {
51745
+ q(QJ, {
51737
51746
  label: "选择 AI(可多选)",
51738
51747
  items: w.value,
51739
51748
  onAdd: T
51740
51749
  }, null, 8, ["items"]),
51741
- d.value.length ? (U(), W("div", IZ, [(U(!0), W(H, null, B(d.value, (e) => (U(), W("div", {
51750
+ d.value.length ? (U(), W("div", LZ, [(U(!0), W(H, null, B(d.value, (e) => (U(), W("div", {
51742
51751
  key: e.id,
51743
51752
  class: "pb-invite-pick"
51744
- }, [q(MJ, {
51753
+ }, [q(NJ, {
51745
51754
  name: e.name,
51746
51755
  mode: e.mode,
51747
51756
  choices: ["cli", "manual"],
@@ -51754,15 +51763,15 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51754
51763
  "status",
51755
51764
  "onMode",
51756
51765
  "onRemove"
51757
- ]), b.value.get(e) === e.name ? Y("", !0) : (U(), W("p", LZ, "同一 AI 已有实例,将以 " + P(b.value.get(e)) + " 加入,使用独立会话。", 1))]))), 128))])) : Y("", !0),
51766
+ ]), b.value.get(e) === e.name ? Y("", !0) : (U(), W("p", RZ, "同一 AI 已有实例,将以 " + P(b.value.get(e)) + " 加入,使用独立会话。", 1))]))), 128))])) : Y("", !0),
51758
51767
  d.value.length ? (U(), W("p", {
51759
51768
  key: 1,
51760
51769
  class: j(["fine-print", { "pb-invite-reserved": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual")) }]),
51761
51770
  "aria-hidden": !(d.value.some((e) => e.mode === "manual") && d.value.some((e) => e.mode !== "manual"))
51762
- }, "手动启动的成员排在程序启动的成员之后加入队列。", 10, RZ)) : (U(), W("p", zZ, "选择一位或多位 AI(同一 AI 可重复添加),点卡片翻面设置软件、模型与项目权限。")),
51763
- d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p", BZ, "邀请需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0),
51764
- m.value && I(n).free_error ? (U(), W("p", VZ, P(I(n).free_error), 1)) : Y("", !0),
51765
- K("div", HZ, [q(f, {
51771
+ }, "手动启动的成员排在程序启动的成员之后加入队列。", 10, zZ)) : (U(), W("p", BZ, "选择一位或多位 AI(同一 AI 可重复添加),点卡片翻面设置软件、模型与项目权限。")),
51772
+ d.value.some((e) => e.mode === "cli") && !I(n).launch.available ? (U(), W("p", VZ, "邀请需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0),
51773
+ m.value && I(n).free_error ? (U(), W("p", HZ, P(I(n).free_error), 1)) : Y("", !0),
51774
+ K("div", UZ, [q(f, {
51766
51775
  label: "取消",
51767
51776
  color: "neutral",
51768
51777
  variant: "ghost",
@@ -51784,7 +51793,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51784
51793
  }, 8, ["open", "description"]);
51785
51794
  };
51786
51795
  }
51787
- }, [["__scopeId", "data-v-95048b60"]]), KZ = { class: "start-discussion-footer" }, qZ = 3, JZ = /*#__PURE__*/ YH({
51796
+ }, [["__scopeId", "data-v-95048b60"]]), qZ = { class: "start-discussion-footer" }, JZ = 3, YZ = /*#__PURE__*/ YH({
51788
51797
  __name: "StartDiscussionDialog",
51789
51798
  props: {
51790
51799
  open: {
@@ -51795,9 +51804,9 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51795
51804
  },
51796
51805
  emits: ["update:open"],
51797
51806
  setup(e) {
51798
- let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(qZ), s = /* @__PURE__ */ F(0), c = /* @__PURE__ */ F(""), l = /* @__PURE__ */ F(!1), u = /* @__PURE__ */ F(null);
51807
+ let t = ro(e, "open"), { view: n, act: r, pending: i } = xr("discussion"), a = /* @__PURE__ */ F(""), o = /* @__PURE__ */ F(JZ), s = /* @__PURE__ */ F(0), c = /* @__PURE__ */ F(""), l = /* @__PURE__ */ F(!1), u = /* @__PURE__ */ F(null);
51799
51808
  R(t, (e) => {
51800
- e && (a.value = "", o.value = qZ, s.value = 0, c.value = "", l.value = !1);
51809
+ e && (a.value = "", o.value = JZ, s.value = 0, c.value = "", l.value = !1);
51801
51810
  });
51802
51811
  async function d() {
51803
51812
  u.value?.settle();
@@ -51865,7 +51874,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51865
51874
  "minutes",
51866
51875
  "execution_minutes"
51867
51876
  ]),
51868
- K("div", KZ, [q(h, {
51877
+ K("div", qZ, [q(h, {
51869
51878
  label: "取消",
51870
51879
  color: "neutral",
51871
51880
  variant: "ghost",
@@ -51883,21 +51892,21 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51883
51892
  }, 8, ["open"]);
51884
51893
  };
51885
51894
  }
51886
- }, [["__scopeId", "data-v-dee972d6"]]), YZ = { class: "pb-status-line" }, XZ = { role: "status" }, ZZ = {
51895
+ }, [["__scopeId", "data-v-dee972d6"]]), XZ = { class: "pb-status-line" }, ZZ = { role: "status" }, QZ = {
51887
51896
  key: 0,
51888
51897
  class: "pb-status-detail"
51889
- }, QZ = { class: "pb-meters" }, $Z = { class: "pb-meter-label" }, eQ = {
51898
+ }, $Z = { class: "pb-meters" }, eQ = { class: "pb-meter-label" }, tQ = {
51890
51899
  key: 0,
51891
51900
  class: "pb-bar"
51892
- }, tQ = {
51901
+ }, nQ = {
51893
51902
  key: 0,
51894
51903
  class: "pb-section",
51895
51904
  "aria-label": "当前焦点"
51896
- }, nQ = {
51905
+ }, rQ = {
51897
51906
  key: 1,
51898
51907
  class: "pb-actions",
51899
51908
  "aria-label": "讨论操作"
51900
- }, rQ = { class: "progress-ending" }, iQ = ["disabled"], aQ = 90, oQ = {
51909
+ }, iQ = { class: "progress-ending" }, aQ = ["disabled"], oQ = 90, sQ = {
51901
51910
  __name: "ProgressBoard",
51902
51911
  setup(e) {
51903
51912
  let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = Z(() => t.value.room), o = Z(() => a.value.session), s = Z(() => a.value.limits || {}), c = /* @__PURE__ */ F(0);
@@ -51963,24 +51972,24 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
51963
51972
  class: j(["pb-status", `is-${h.value.tone}`]),
51964
51973
  "aria-label": "讨论状态"
51965
51974
  }, [
51966
- K("div", YZ, [t[6] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", XZ, P(h.value.title), 1)]),
51967
- h.value.detail ? (U(), W("p", ZZ, P(h.value.detail), 1)) : Y("", !0),
51968
- K("div", QZ, [(U(!0), W(H, null, B(_.value, (e) => (U(), W("div", {
51975
+ K("div", XZ, [t[6] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", ZZ, P(h.value.title), 1)]),
51976
+ h.value.detail ? (U(), W("p", QZ, P(h.value.detail), 1)) : Y("", !0),
51977
+ K("div", $Z, [(U(!0), W(H, null, B(_.value, (e) => (U(), W("div", {
51969
51978
  key: e.label,
51970
51979
  class: "pb-meter"
51971
- }, [K("div", $Z, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", eQ, [K("i", { style: A({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
51980
+ }, [K("div", eQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", tQ, [K("i", { style: A({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
51972
51981
  ], 2),
51973
- m.value ? (U(), W("section", tQ, [
51982
+ m.value ? (U(), W("section", nQ, [
51974
51983
  t[7] ||= K("h4", null, "当前焦点", -1),
51975
51984
  K("p", { class: j(["pb-focus", { "is-expanded": p.value }]) }, P(m.value), 3),
51976
- m.value.length > aQ ? (U(), W("button", {
51985
+ m.value.length > oQ ? (U(), W("button", {
51977
51986
  key: 0,
51978
51987
  type: "button",
51979
51988
  class: "pb-link",
51980
51989
  onClick: t[0] ||= (e) => p.value = !p.value
51981
51990
  }, P(p.value ? "收起" : "展开"), 1)) : Y("", !0)
51982
51991
  ])) : Y("", !0),
51983
- a.value.archived ? Y("", !0) : (U(), W("section", nQ, [
51992
+ a.value.archived ? Y("", !0) : (U(), W("section", rQ, [
51984
51993
  l.value ? (U(), G(o, {
51985
51994
  key: 0,
51986
51995
  icon: "i-lucide-play",
@@ -52043,51 +52052,51 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
52043
52052
  body: "dialog-body"
52044
52053
  }
52045
52054
  }, {
52046
- body: L(() => [K("div", rQ, [K("button", {
52055
+ body: L(() => [K("div", iQ, [K("button", {
52047
52056
  type: "button",
52048
52057
  class: "progress-ending-option",
52049
52058
  disabled: !!I(i),
52050
52059
  onClick: v
52051
- }, [...t[8] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, iQ)])]),
52060
+ }, [...t[8] ||= [K("strong", null, "结束讨论", -1), K("span", null, "保留全部记录,房间回到自由协作;需要总结时可直接请主持人写一份。", -1)]], 8, aQ)])]),
52052
52061
  _: 1
52053
52062
  }, 8, ["open"])
52054
52063
  ], 64);
52055
52064
  };
52056
52065
  }
52057
- }, sQ = { class: "speaking-order" }, cQ = {
52066
+ }, cQ = { class: "speaking-order" }, lQ = {
52058
52067
  key: 0,
52059
52068
  class: "speaking-order-divider",
52060
52069
  "aria-hidden": "true"
52061
- }, lQ = ["data-key", "data-movable"], uQ = [
52070
+ }, uQ = ["data-key", "data-movable"], dQ = [
52062
52071
  "aria-disabled",
52063
52072
  "aria-label",
52064
52073
  "title",
52065
52074
  "onPointerdown",
52066
52075
  "onKeydown"
52067
- ], dQ = { class: "speaking-order-number" }, fQ = {
52076
+ ], fQ = { class: "speaking-order-number" }, pQ = {
52068
52077
  key: 1,
52069
52078
  class: "speaking-order-place",
52070
52079
  title: "已发言",
52071
52080
  "aria-label": "已发言"
52072
- }, pQ = ["title"], mQ = {
52081
+ }, mQ = ["title"], hQ = {
52073
52082
  key: 0,
52074
52083
  class: "speaking-order-later"
52075
- }, hQ = {
52084
+ }, gQ = {
52076
52085
  key: 1,
52077
52086
  class: "speaking-order-divider",
52078
52087
  "aria-hidden": "true"
52079
- }, gQ = {
52088
+ }, _Q = {
52080
52089
  key: 0,
52081
52090
  role: "status",
52082
52091
  class: "pb-free-note"
52083
- }, _Q = {
52092
+ }, vQ = {
52084
52093
  key: 1,
52085
52094
  role: "alert",
52086
52095
  class: "pb-free-note is-error"
52087
- }, vQ = {
52096
+ }, yQ = {
52088
52097
  class: "speaking-order-live",
52089
52098
  "aria-live": "polite"
52090
- }, yQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", bQ = /*#__PURE__*/ YH({
52099
+ }, bQ = "发言顺序刚有变化,已更新为最新顺序,请重新调整", xQ = /*#__PURE__*/ YH({
52091
52100
  __name: "SpeakingOrder",
52092
52101
  props: {
52093
52102
  away: {
@@ -52107,7 +52116,7 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
52107
52116
  }), c = Z(() => s.value.kind === "default" ? "idle" : "queued"), l = Z(() => !!n.value.access?.can_manage && !o.value.archived && s.value.movable.length > 1), u = {
52108
52117
  queue: "不在本次依次回答中",
52109
52118
  turns: "本轮未安排"
52110
- }, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ? yQ : n.value.order_error?.room_id === o.value.id ? n.value.order_error.message : ""), m = /* @__PURE__ */ F(null), h = /* @__PURE__ */ F(null), g = /* @__PURE__ */ F(null), _ = /* @__PURE__ */ F("");
52119
+ }, d = Z(() => s.value.kind === "default" ? "拖动设置默认发言顺序,@全体依次 按此顺序;聚焦后可用上下方向键" : "拖动调整还没发言的顺序,立即生效;聚焦后可用上下方向键"), f = /* @__PURE__ */ F(!1), p = Z(() => f.value ? bQ : n.value.order_error?.room_id === o.value.id ? n.value.order_error.message : ""), m = /* @__PURE__ */ F(null), h = /* @__PURE__ */ F(null), g = /* @__PURE__ */ F(null), _ = /* @__PURE__ */ F("");
52111
52120
  R(() => s.value.revision, () => {
52112
52121
  g.value = null;
52113
52122
  }), R(() => o.value.id, () => {
@@ -52194,13 +52203,13 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
52194
52203
  }
52195
52204
  return (e, n) => {
52196
52205
  let i = sA;
52197
- return U(), W("div", sQ, [
52206
+ return U(), W("div", cQ, [
52198
52207
  K("ul", {
52199
52208
  ref_key: "list",
52200
52209
  ref: m,
52201
52210
  class: j(["pb-members", { "is-dragging": h.value }])
52202
52211
  }, [
52203
- (U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li", cQ, [K("span", null, P(u[s.value.kind]), 1)])) : Y("", !0), K("li", {
52212
+ (U(!0), W(H, null, B(y.value, (t, r) => (U(), W(H, { key: t.key }, [t.outside ? (U(), W("li", lQ, [K("span", null, P(u[s.value.kind]), 1)])) : Y("", !0), K("li", {
52204
52213
  class: j(["pb-member speaking-order-row", [
52205
52214
  `is-${t.state}`,
52206
52215
  E(r),
@@ -52221,19 +52230,19 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
52221
52230
  onPointercancel: n[0] ||= (e) => w(e, !0),
52222
52231
  onLostpointercapture: n[1] ||= (e) => w(e, !0),
52223
52232
  onKeydown: [fu((e) => ee(e, b(r), -1), ["up"]), fu((e) => ee(e, b(r), 1), ["down"])]
52224
- }, [K("span", dQ, P(t.place), 1), q(i, {
52233
+ }, [K("span", fQ, P(t.place), 1), q(i, {
52225
52234
  name: "i-lucide-grip-vertical",
52226
52235
  class: "speaking-order-handle"
52227
- })], 40, uQ)) : t.state === "done" ? (U(), W("span", fQ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
52236
+ })], 40, dQ)) : t.state === "done" ? (U(), W("span", pQ, [q(i, { name: "i-lucide-check" })])) : (U(), W("span", {
52228
52237
  key: 2,
52229
52238
  class: "speaking-order-place",
52230
52239
  title: t.state === "speaking" ? "正在发言" : void 0
52231
- }, P(t.place || ""), 9, pQ)), V(e.$slots, "default", {
52240
+ }, P(t.place || ""), 9, mQ)), V(e.$slots, "default", {
52232
52241
  item: t,
52233
52242
  place: t.place
52234
- }, void 0, !0)], 10, lQ)], 64))), 128)),
52235
- s.value.later?.length ? (U(), W("li", mQ, [K("details", null, [K("summary", null, "后续已排 " + P(s.value.later.length) + " 轮", 1), K("ol", null, [(U(!0), W(H, null, B(s.value.later, (e, n) => (U(), W("li", { key: n }, [K("span", null, P(t.round ? `第 ${t.round + n + 1} 轮` : `后续第 ${n + 1} 轮`), 1), J(P(e.map((e) => I(r).display_name(e)).join(" → ")), 1)]))), 128))])])])) : Y("", !0),
52236
- t.away.length ? (U(), W("li", hQ, [...n[2] ||= [K("span", null, "已离开", -1)]])) : Y("", !0),
52243
+ }, void 0, !0)], 10, uQ)], 64))), 128)),
52244
+ s.value.later?.length ? (U(), W("li", hQ, [K("details", null, [K("summary", null, "后续已排 " + P(s.value.later.length) + " 轮", 1), K("ol", null, [(U(!0), W(H, null, B(s.value.later, (e, n) => (U(), W("li", { key: n }, [K("span", null, P(t.round ? `第 ${t.round + n + 1} 轮` : `后续第 ${n + 1} 轮`), 1), J(P(e.map((e) => I(r).display_name(e)).join(" → ")), 1)]))), 128))])])])) : Y("", !0),
52245
+ t.away.length ? (U(), W("li", gQ, [...n[2] ||= [K("span", null, "已离开", -1)]])) : Y("", !0),
52237
52246
  (U(!0), W(H, null, B(t.away, (t) => (U(), W("li", {
52238
52247
  key: `away-${t}`,
52239
52248
  class: "pb-member speaking-order-row is-away"
@@ -52245,13 +52254,13 @@ var Rq = ["data-identity", "data-face"], zq = ["inert", "aria-hidden"], Bq = { c
52245
52254
  place: 0
52246
52255
  }, void 0, !0)]))), 128))
52247
52256
  ], 2),
52248
- p.value === yQ ? (U(), W("p", gQ, P(p.value), 1)) : p.value ? (U(), W("p", _Q, P(p.value), 1)) : Y("", !0),
52249
- K("p", vQ, P(_.value), 1)
52257
+ p.value === bQ ? (U(), W("p", _Q, P(p.value), 1)) : p.value ? (U(), W("p", vQ, P(p.value), 1)) : Y("", !0),
52258
+ K("p", yQ, P(_.value), 1)
52250
52259
  ]);
52251
52260
  };
52252
52261
  }
52253
- }, [["__scopeId", "data-v-dc33a051"]]), xQ = ["dispatched", "started"], SQ = (e) => e.pending > 0 || xQ.includes(e.execution?.status);
52254
- function CQ(e, { view: t, act: n, describe: r }) {
52262
+ }, [["__scopeId", "data-v-dc33a051"]]), SQ = ["dispatched", "started"], CQ = (e) => e.pending > 0 || SQ.includes(e.execution?.status);
52263
+ function wQ(e, { view: t, act: n, describe: r }) {
52255
52264
  let i = t.access, a = i?.members?.find((t) => t.name === e.name)?.available, o = !i?.can_manage, s = e.manual_source === "web" || e.access === "online", c = ["active", "paused"].includes(t.room?.session?.status) && e.role === "host", l = (t, r, i, a = {}) => ({
52256
52265
  label: t,
52257
52266
  icon: r,
@@ -52297,7 +52306,7 @@ function CQ(e, { view: t, act: n, describe: r }) {
52297
52306
  }] : []
52298
52307
  ],
52299
52308
  [
52300
- ...SQ(e) ? [l("停止", "i-lucide-square", "interrupt")] : [],
52309
+ ...CQ(e) ? [l("停止", "i-lucide-square", "interrupt")] : [],
52301
52310
  ...s && e.pending ? [{
52302
52311
  label: "复制阅读通知",
52303
52312
  icon: "i-lucide-copy",
@@ -52318,54 +52327,54 @@ function CQ(e, { view: t, act: n, describe: r }) {
52318
52327
  }
52319
52328
  //#endregion
52320
52329
  //#region frontend/FreeBoard.vue
52321
- var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ = { class: "pb-mode" }, DQ = { class: "pb-status-line" }, OQ = { role: "status" }, kQ = {
52330
+ var TQ = { class: "progress-board is-docked" }, EQ = { class: "pb-header" }, DQ = { class: "pb-mode" }, OQ = { class: "pb-status-line" }, kQ = { role: "status" }, AQ = {
52322
52331
  key: 0,
52323
52332
  class: "pb-status-detail"
52324
- }, AQ = {
52333
+ }, jQ = {
52325
52334
  key: 1,
52326
52335
  class: "pb-chain-actions"
52327
- }, jQ = { class: "pb-meters" }, MQ = { class: "pb-meter-label" }, NQ = {
52336
+ }, MQ = { class: "pb-meters" }, NQ = { class: "pb-meter-label" }, PQ = {
52328
52337
  key: 0,
52329
52338
  class: "pb-bar"
52330
- }, PQ = {
52339
+ }, FQ = {
52331
52340
  key: 2,
52332
52341
  class: "pb-section",
52333
52342
  "aria-label": "当前任务"
52334
- }, FQ = {
52343
+ }, IQ = {
52335
52344
  class: "pb-section",
52336
52345
  "aria-label": "发言顺序"
52337
- }, IQ = { class: "pb-member-body" }, LQ = ["title"], RQ = ["title"], zQ = ["title"], BQ = ["title"], VQ = {
52346
+ }, LQ = { class: "pb-member-body" }, RQ = ["title"], zQ = ["title"], BQ = ["title"], VQ = ["title"], HQ = {
52338
52347
  key: 0,
52339
52348
  role: "alert",
52340
52349
  class: "pb-free-note is-error"
52341
- }, HQ = {
52350
+ }, UQ = {
52342
52351
  key: 1,
52343
52352
  role: "status",
52344
52353
  class: "pb-free-note"
52345
- }, UQ = {
52354
+ }, WQ = {
52346
52355
  key: 2,
52347
52356
  role: "alert",
52348
52357
  class: "pb-free-note is-error"
52349
- }, WQ = {
52358
+ }, GQ = {
52350
52359
  key: 3,
52351
52360
  role: "status",
52352
52361
  class: "pb-free-note"
52353
- }, GQ = {
52362
+ }, KQ = {
52354
52363
  key: 3,
52355
52364
  class: "pb-section",
52356
52365
  "aria-label": "头脑风暴"
52357
- }, KQ = ["onClick"], qQ = {
52366
+ }, qQ = ["onClick"], JQ = {
52358
52367
  key: 4,
52359
52368
  class: "pb-actions",
52360
52369
  "aria-label": "操作"
52361
- }, JQ = {
52370
+ }, YQ = {
52362
52371
  key: 0,
52363
52372
  class: "pb-free-note"
52364
- }, YQ = {
52373
+ }, XQ = {
52365
52374
  key: 5,
52366
52375
  class: "pb-section",
52367
52376
  "aria-label": "执行耗时"
52368
- }, XQ = { class: "pb-timing-heading" }, ZQ = { class: "pb-timings" }, QQ = { class: "pb-timing-who" }, $Q = { class: "pb-timing-stages" }, e$ = 90, t$ = /*#__PURE__*/ YH({
52377
+ }, ZQ = { class: "pb-timing-heading" }, QQ = { class: "pb-timings" }, $Q = { class: "pb-timing-who" }, e$ = { class: "pb-timing-stages" }, t$ = 90, n$ = /*#__PURE__*/ YH({
52369
52378
  __name: "FreeBoard",
52370
52379
  setup(e) {
52371
52380
  let { view: t, bridge: n, act: r, pending: i } = xr("discussion"), a = ["dispatched", "started"], o = {
@@ -52380,7 +52389,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52380
52389
  online: "网页代发"
52381
52390
  }, c = Z(() => t.value.room), l = Z(() => c.value.free || {}), u = Z(() => ["active", "paused"].includes(c.value.session?.status)), d = Z(() => u.value ? c.value.current_turn?.round || (c.value.completed_rounds || 0) + 1 : 0), f = Z(() => (l.value.members || []).find((e) => e.role === "host" && e.status === "active")), p = (e) => (l.value.members || []).find((t) => t.name === e), m = Z(() => (l.value.members || []).filter((e) => e.status === "away").map((e) => e.name)), h = (e) => n.display_name((l.value.members || []).find((t) => t.id === e)?.name || "成员"), g = (e) => e.access === "manual" && e.manual_source !== "web" && e.status === "active" && !e.registered_at;
52382
52391
  function _(e) {
52383
- return e.status === "away" ? "neutral" : g(e) ? "warning" : e.execution?.stale ? "error" : SQ(e) ? e.pending && !a.includes(e.execution?.status) ? "warning" : "primary" : e.execution?.status === "failed" ? "error" : "success";
52392
+ return e.status === "away" ? "neutral" : g(e) ? "warning" : e.execution?.stale ? "error" : CQ(e) ? e.pending && !a.includes(e.execution?.status) ? "warning" : "primary" : e.execution?.status === "failed" ? "error" : "success";
52384
52393
  }
52385
52394
  function v(e, t) {
52386
52395
  if (e.status === "away") return "已离开:不会被唤醒,可请回";
@@ -52412,7 +52421,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52412
52421
  title: "已存档",
52413
52422
  detail: ""
52414
52423
  };
52415
- let e = (l.value.members || []).filter(SQ);
52424
+ let e = (l.value.members || []).filter(CQ);
52416
52425
  if (e.some((e) => e.execution?.stale)) return {
52417
52426
  tone: "error",
52418
52427
  title: "执行失联",
@@ -52480,7 +52489,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52480
52489
  return e == null ? "—" : e < 60 ? `${e}秒` : e < 3600 ? `${Math.floor(e / 60)}分${String(e % 60).padStart(2, "0")}秒` : `${Math.floor(e / 3600)}小时${Math.floor(e % 3600 / 60)}分`;
52481
52490
  }
52482
52491
  function re(e) {
52483
- return CQ(e, {
52492
+ return wQ(e, {
52484
52493
  view: t.value,
52485
52494
  act: r,
52486
52495
  describe: (e) => {
@@ -52505,16 +52514,16 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52505
52514
  se.value = !1;
52506
52515
  }), (e, i) => {
52507
52516
  let a = MA, s = pA, g = sA, E = CH;
52508
- return U(), W("div", wQ, [
52509
- K("header", TQ, [K("strong", null, P(u.value ? "讨论进度" : "自由协作"), 1), K("span", EQ, P(f.value ? `${I(n).display_name(f.value.name)} 主持` : "无主持人"), 1)]),
52510
- u.value ? (U(), G(oQ, { key: 0 })) : (U(), W("section", {
52517
+ return U(), W("div", TQ, [
52518
+ K("header", EQ, [K("strong", null, P(u.value ? "讨论进度" : "自由协作"), 1), K("span", DQ, P(f.value ? `${I(n).display_name(f.value.name)} 主持` : "无主持人"), 1)]),
52519
+ u.value ? (U(), G(sQ, { key: 0 })) : (U(), W("section", {
52511
52520
  key: 1,
52512
52521
  class: j(["pb-status", `is-${T.value.tone}`]),
52513
52522
  "aria-label": "房间状态"
52514
52523
  }, [
52515
- K("div", DQ, [i[6] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", OQ, P(T.value.title), 1)]),
52516
- T.value.detail ? (U(), W("p", kQ, P(T.value.detail), 1)) : Y("", !0),
52517
- T.value.continue_chain && I(t).access?.can_manage ? (U(), W("div", AQ, [(U(!0), W(H, null, B(S.value, (e) => (U(), G(a, {
52524
+ K("div", OQ, [i[6] ||= K("span", { class: "pb-dot" }, null, -1), K("strong", kQ, P(T.value.title), 1)]),
52525
+ T.value.detail ? (U(), W("p", AQ, P(T.value.detail), 1)) : Y("", !0),
52526
+ T.value.continue_chain && I(t).access?.can_manage ? (U(), W("div", jQ, [(U(!0), W(H, null, B(S.value, (e) => (U(), G(a, {
52518
52527
  key: e,
52519
52528
  label: `继续 ${e} 轮`,
52520
52529
  icon: "i-lucide-play",
@@ -52530,24 +52539,24 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52530
52539
  "disabled",
52531
52540
  "onClick"
52532
52541
  ]))), 128))])) : Y("", !0),
52533
- K("div", jQ, [(U(!0), W(H, null, B(ee.value, (e) => (U(), W("div", {
52542
+ K("div", MQ, [(U(!0), W(H, null, B(ee.value, (e) => (U(), W("div", {
52534
52543
  key: e.label,
52535
52544
  class: "pb-meter"
52536
- }, [K("div", MQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", NQ, [K("i", { style: A({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
52545
+ }, [K("div", NQ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", PQ, [K("i", { style: A({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])
52537
52546
  ], 2)),
52538
- D.value && !u.value ? (U(), W("section", PQ, [
52547
+ D.value && !u.value ? (U(), W("section", FQ, [
52539
52548
  i[7] ||= K("h4", null, "当前任务", -1),
52540
52549
  K("p", { class: j(["pb-focus", { "is-expanded": O.value }]) }, P(D.value), 3),
52541
- D.value.length > e$ ? (U(), W("button", {
52550
+ D.value.length > t$ ? (U(), W("button", {
52542
52551
  key: 0,
52543
52552
  type: "button",
52544
52553
  class: "pb-link",
52545
52554
  onClick: i[0] ||= (e) => O.value = !O.value
52546
52555
  }, P(O.value ? "收起" : "展开"), 1)) : Y("", !0)
52547
52556
  ])) : Y("", !0),
52548
- K("section", FQ, [
52557
+ K("section", IQ, [
52549
52558
  i[9] ||= K("h4", null, "发言顺序", -1),
52550
- q(bQ, {
52559
+ q(xQ, {
52551
52560
  away: m.value,
52552
52561
  round: d.value
52553
52562
  }, {
@@ -52564,7 +52573,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52564
52573
  "alt",
52565
52574
  "class"
52566
52575
  ]),
52567
- K("div", IQ, [
52576
+ K("div", LQ, [
52568
52577
  K("div", {
52569
52578
  class: "pb-member-name",
52570
52579
  title: c.value.descriptions?.[r.name] || void 0
@@ -52575,17 +52584,17 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52575
52584
  name: "i-lucide-crown",
52576
52585
  title: "主持人"
52577
52586
  })) : Y("", !0),
52578
- K("small", { title: b(r) || void 0 }, P(y(r)), 9, RQ)
52579
- ], 8, LQ),
52587
+ K("small", { title: b(r) || void 0 }, P(y(r)), 9, zQ)
52588
+ ], 8, RQ),
52580
52589
  x(r) ? (U(), W("div", {
52581
52590
  key: 0,
52582
52591
  class: "pb-member-model",
52583
52592
  title: I(n).participant_session_hint(r.name, c.value, I(t).launch.room_models)
52584
- }, P(x(r)), 9, zQ)) : Y("", !0),
52593
+ }, P(x(r)), 9, BQ)) : Y("", !0),
52585
52594
  K("div", { class: j(["pb-member-status", `is-${_(r)}`]) }, [i[8] ||= K("span", { class: "pb-dot" }, null, -1), K("span", {
52586
52595
  class: "pb-member-status-text",
52587
52596
  title: r.execution?.status === "failed" ? r.execution.result : void 0
52588
- }, P(v(r, e.state)), 9, BQ)], 2)
52597
+ }, P(v(r, e.state)), 9, VQ)], 2)
52589
52598
  ]),
52590
52599
  q(E, {
52591
52600
  items: re(r),
@@ -52609,8 +52618,8 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52609
52618
  key: e.executions.join("-"),
52610
52619
  class: "pb-free-note is-warning"
52611
52620
  }, "可能冲突:" + P(e.members.map((e) => I(n).display_name(e)).join(" 与 ")) + " 的重叠执行观察到 " + P(e.files.join("、")) + " 变化;修改者未确认。", 1))), 128)),
52612
- I(t).free_error ? (U(), W("p", VQ, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", HQ, P(I(t).free_notice), 1)) : Y("", !0),
52613
- I(t).access?.error ? (U(), W("p", UQ, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", WQ, P(I(t).access.notice), 1)) : Y("", !0),
52621
+ I(t).free_error ? (U(), W("p", HQ, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", UQ, P(I(t).free_notice), 1)) : Y("", !0),
52622
+ I(t).access?.error ? (U(), W("p", WQ, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", GQ, P(I(t).access.notice), 1)) : Y("", !0),
52614
52623
  c.value.archived ? Y("", !0) : (U(), G(a, {
52615
52624
  key: 4,
52616
52625
  icon: "i-lucide-plus",
@@ -52622,13 +52631,13 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52622
52631
  onClick: i[1] ||= (e) => ie.value = !0
52623
52632
  }))
52624
52633
  ]),
52625
- c.value.linked_rooms?.length ? (U(), W("section", GQ, [i[10] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(c.value.linked_rooms, (e) => (U(), W("button", {
52634
+ c.value.linked_rooms?.length ? (U(), W("section", KQ, [i[10] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(c.value.linked_rooms, (e) => (U(), W("button", {
52626
52635
  key: e.id,
52627
52636
  type: "button",
52628
52637
  class: "pb-link pb-free-linked",
52629
52638
  onClick: (t) => I(r)("room", e.id)
52630
- }, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, KQ))), 128))])) : Y("", !0),
52631
- !c.value.archived && !u.value ? (U(), W("section", qQ, [q(a, {
52639
+ }, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, qQ))), 128))])) : Y("", !0),
52640
+ !c.value.archived && !u.value ? (U(), W("section", JQ, [q(a, {
52632
52641
  icon: "i-lucide-messages-square",
52633
52642
  label: "开启讨论",
52634
52643
  size: "sm",
@@ -52638,13 +52647,13 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52638
52647
  title: "由主持人推进成员轮流发言,到上限或结束后房间回到自由协作",
52639
52648
  disabled: !ce.value,
52640
52649
  onClick: i[2] ||= (e) => se.value = !0
52641
- }, null, 8, ["disabled"]), ce.value ? Y("", !0) : (U(), W("p", JQ, "开启讨论需要一位由本机唤醒的 AI 主持人。"))])) : Y("", !0),
52642
- te.value.items.length ? (U(), W("section", YQ, [K("div", XQ, [i[11] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(te.value.items.length) + " 次执行 · " + P(ne(te.value.total)), 1)]), K("details", ZQ, [i[12] ||= K("summary", null, "查看每次执行", -1), K("ol", null, [(U(!0), W(H, null, B(te.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", QQ, [J("#" + P(e.id) + " " + P(h(e.member_id)), 1), K("small", null, P(o[e.status] || e.status), 1)]), K("span", $Q, [K("span", null, "用时 " + P(ne(e.seconds)), 1)])]))), 128))])])])) : Y("", !0),
52643
- q(JZ, {
52650
+ }, null, 8, ["disabled"]), ce.value ? Y("", !0) : (U(), W("p", YQ, "开启讨论需要一位由本机唤醒的 AI 主持人。"))])) : Y("", !0),
52651
+ te.value.items.length ? (U(), W("section", XQ, [K("div", ZQ, [i[11] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(te.value.items.length) + " 次执行 · " + P(ne(te.value.total)), 1)]), K("details", QQ, [i[12] ||= K("summary", null, "查看每次执行", -1), K("ol", null, [(U(!0), W(H, null, B(te.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", $Q, [J("#" + P(e.id) + " " + P(h(e.member_id)), 1), K("small", null, P(o[e.status] || e.status), 1)]), K("span", e$, [K("span", null, "用时 " + P(ne(e.seconds)), 1)])]))), 128))])])])) : Y("", !0),
52652
+ q(YZ, {
52644
52653
  open: se.value,
52645
52654
  "onUpdate:open": i[3] ||= (e) => se.value = e
52646
52655
  }, null, 8, ["open"]),
52647
- q(GZ, {
52656
+ q(KZ, {
52648
52657
  open: ie.value,
52649
52658
  "onUpdate:open": i[4] ||= (e) => ie.value = e,
52650
52659
  description: "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。"
@@ -52671,7 +52680,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52671
52680
  ]);
52672
52681
  };
52673
52682
  }
52674
- }, [["__scopeId", "data-v-81d8efa9"]]), n$ = { class: "progress-panel-anchor" }, r$ = ["aria-expanded", "aria-label"], i$ = { class: "progress-chip-text" }, a$ = { class: "progress-chip-rounds" }, o$ = {
52683
+ }, [["__scopeId", "data-v-81d8efa9"]]), r$ = { class: "progress-panel-anchor" }, i$ = ["aria-expanded", "aria-label"], a$ = { class: "progress-chip-text" }, o$ = { class: "progress-chip-rounds" }, s$ = {
52675
52684
  __name: "ProgressPanel",
52676
52685
  setup(e) {
52677
52686
  let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
@@ -52698,7 +52707,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52698
52707
  }), s = Z(() => a.value.round_cap || a.value.max_rounds ? n.limit_rounds(a.value).text.replace(" / ", "/") : n.progress_round(i.value)), c = Z(() => `${o.value.title} · ${s.value}`);
52699
52708
  return (e, t) => {
52700
52709
  let n = $V, a = NV;
52701
- return U(), W("div", n$, [q(n, { text: "查看讨论进度" }, {
52710
+ return U(), W("div", r$, [q(n, { text: "查看讨论进度" }, {
52702
52711
  default: L(() => [K("button", {
52703
52712
  type: "button",
52704
52713
  class: j(["progress-chip", `is-${o.value.tone}`]),
@@ -52706,7 +52715,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52706
52715
  "aria-expanded": r.value,
52707
52716
  "aria-label": `查看讨论进度:${c.value}`,
52708
52717
  onClick: t[0] ||= (e) => r.value = !0
52709
- }, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", i$, [J(P(o.value.title), 1), K("span", a$, " · " + P(s.value), 1)])], 10, r$)]),
52718
+ }, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", a$, [J(P(o.value.title), 1), K("span", o$, " · " + P(s.value), 1)])], 10, i$)]),
52710
52719
  _: 1
52711
52720
  }), q(a, {
52712
52721
  open: r.value,
@@ -52719,36 +52728,36 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52719
52728
  body: "progress-drawer-body"
52720
52729
  }
52721
52730
  }, {
52722
- body: L(() => [q(t$)]),
52731
+ body: L(() => [q(n$)]),
52723
52732
  _: 1
52724
52733
  }, 8, ["open", "description"])]);
52725
52734
  };
52726
52735
  }
52727
- }, s$ = {
52736
+ }, c$ = {
52728
52737
  class: "merged-section discussion-history",
52729
52738
  "aria-label": "讨论记录"
52730
- }, c$ = {
52739
+ }, l$ = {
52731
52740
  key: 0,
52732
52741
  class: "fine-print"
52733
- }, l$ = { class: "history-timeline" }, u$ = {
52742
+ }, u$ = { class: "history-timeline" }, d$ = {
52734
52743
  key: 0,
52735
52744
  class: "history-free"
52736
- }, d$ = {
52745
+ }, f$ = {
52737
52746
  key: 1,
52738
52747
  class: "history-discussion"
52739
- }, f$ = { class: "history-meta" }, p$ = {
52748
+ }, p$ = { class: "history-meta" }, m$ = {
52740
52749
  key: 0,
52741
52750
  class: "fine-print"
52742
- }, m$ = {
52751
+ }, h$ = {
52743
52752
  key: 1,
52744
52753
  class: "fine-print"
52745
- }, h$ = {
52754
+ }, g$ = {
52746
52755
  key: 2,
52747
52756
  class: "history-conclusion"
52748
- }, g$ = ["onClick"], _$ = ["innerHTML"], v$ = {
52757
+ }, _$ = ["onClick"], v$ = ["innerHTML"], y$ = {
52749
52758
  key: 1,
52750
52759
  class: "fine-print"
52751
- }, y$ = ["aria-expanded", "onClick"], b$ = ["innerHTML"], x$ = /*#__PURE__*/ YH({
52760
+ }, b$ = ["aria-expanded", "onClick"], x$ = ["innerHTML"], S$ = /*#__PURE__*/ YH({
52752
52761
  __name: "DiscussionHistory",
52753
52762
  emits: ["detail"],
52754
52763
  setup(e) {
@@ -52806,16 +52815,16 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52806
52815
  }
52807
52816
  return (e, t) => {
52808
52817
  let l = WV, d = sA;
52809
- return U(), W("section", s$, [
52818
+ return U(), W("section", c$, [
52810
52819
  t[2] ||= K("div", { class: "page-heading" }, [K("div", null, [K("h2", null, "讨论记录"), K("p", null, "每场讨论及其结束时的结论,最新的在上;自由协作的消息按段汇总。")])], -1),
52811
- i.value.discussions?.length ? Y("", !0) : (U(), W("p", c$, "还没有开启过讨论。")),
52812
- K("ol", l$, [(U(!0), W(H, null, B(c.value, (i) => (U(), W("li", {
52820
+ i.value.discussions?.length ? Y("", !0) : (U(), W("p", l$, "还没有开启过讨论。")),
52821
+ K("ol", u$, [(U(!0), W(H, null, B(c.value, (i) => (U(), W("li", {
52813
52822
  key: i.key,
52814
52823
  class: j(`is-${i.kind}`)
52815
52824
  }, [t[1] ||= K("span", {
52816
52825
  class: "history-dot",
52817
52826
  "aria-hidden": "true"
52818
- }, null, -1), i.kind === "free" ? (U(), W("p", u$, "自由协作 · " + P(i.count) + " 条消息", 1)) : (U(), W("article", d$, [
52827
+ }, null, -1), i.kind === "free" ? (U(), W("p", d$, "自由协作 · " + P(i.count) + " 条消息", 1)) : (U(), W("article", f$, [
52819
52828
  K("header", null, [K("h3", null, [K("small", null, "讨论 " + P(i.number), 1), J(P(i.goal || "未填写目标"), 1)]), q(l, {
52820
52829
  color: r[i.status]?.color || "neutral",
52821
52830
  variant: "subtle",
@@ -52824,74 +52833,74 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52824
52833
  default: L(() => [J(P(r[i.status]?.label || i.status), 1)]),
52825
52834
  _: 2
52826
52835
  }, 1032, ["color"])]),
52827
- K("p", f$, [
52836
+ K("p", p$, [
52828
52837
  J(P(s(i.created_at)) + " 开始 · " + P(i.count) + " 条消息", 1),
52829
52838
  i.status === "concluded" && i.state !== null ? (U(), W(H, { key: 0 }, [J(" · " + P(I(n).stop_reason_label(i)), 1)], 64)) : Y("", !0),
52830
52839
  i.concluded_at ? (U(), W(H, { key: 1 }, [J(" · " + P(s(i.concluded_at)) + " 结束", 1)], 64)) : Y("", !0)
52831
52840
  ]),
52832
- i.result?.current ? (U(), W("p", p$, "结论即上方的当前共识。")) : i.result?.missing ? (U(), W("p", m$, "这场讨论结束于结论快照功能之前,没有保存当时的结论。")) : i.result ? (U(), W("div", h$, [
52841
+ i.result?.current ? (U(), W("p", m$, "结论即上方的当前共识。")) : i.result?.missing ? (U(), W("p", h$, "这场讨论结束于结论快照功能之前,没有保存当时的结论。")) : i.result ? (U(), W("div", g$, [
52833
52842
  K("small", null, [J(P(i.result.label), 1), i.result.until ? (U(), W("button", {
52834
52843
  key: 0,
52835
52844
  type: "button",
52836
52845
  class: "subtle-link",
52837
52846
  onClick: (t) => e.$emit("detail", i.result.until)
52838
- }, "整理至 #" + P(i.result.until), 9, g$)) : Y("", !0)]),
52847
+ }, "整理至 #" + P(i.result.until), 9, _$)) : Y("", !0)]),
52839
52848
  i.result.brief ? (U(), W("div", {
52840
52849
  key: 0,
52841
52850
  class: "markdown-body",
52842
52851
  innerHTML: o(i.result.brief)
52843
- }, null, 8, _$)) : i.result.state ? Y("", !0) : (U(), W("p", v$, "主持人没有留下简报或共识。")),
52852
+ }, null, 8, v$)) : i.result.state ? Y("", !0) : (U(), W("p", y$, "主持人没有留下简报或共识。")),
52844
52853
  i.result.state ? (U(), W(H, { key: 2 }, [K("button", {
52845
52854
  type: "button",
52846
52855
  class: "history-toggle",
52847
52856
  "aria-expanded": a.value.has(i.id),
52848
52857
  onClick: (e) => u(i.id)
52849
- }, [t[0] ||= J("详细共识与进度", -1), q(d, { name: a.value.has(i.id) ? "i-lucide-chevron-up" : "i-lucide-chevron-down" }, null, 8, ["name"])], 8, y$), a.value.has(i.id) ? (U(), W("div", {
52858
+ }, [t[0] ||= J("详细共识与进度", -1), q(d, { name: a.value.has(i.id) ? "i-lucide-chevron-up" : "i-lucide-chevron-down" }, null, 8, ["name"])], 8, b$), a.value.has(i.id) ? (U(), W("div", {
52850
52859
  key: 0,
52851
52860
  class: "markdown-body history-state",
52852
52861
  innerHTML: o(i.result.state)
52853
- }, null, 8, b$)) : Y("", !0)], 64)) : Y("", !0)
52862
+ }, null, 8, x$)) : Y("", !0)], 64)) : Y("", !0)
52854
52863
  ])) : Y("", !0)
52855
52864
  ]))], 2))), 128))])
52856
52865
  ]);
52857
52866
  };
52858
52867
  }
52859
- }, [["__scopeId", "data-v-8daffdea"]]), S$ = {
52868
+ }, [["__scopeId", "data-v-8daffdea"]]), C$ = {
52860
52869
  class: "merged-section room-overview",
52861
52870
  "aria-label": "成员与设置"
52862
- }, C$ = { class: "page-heading" }, w$ = { class: "overview-section" }, T$ = {
52871
+ }, w$ = { class: "page-heading" }, T$ = { class: "overview-section" }, E$ = {
52863
52872
  key: 0,
52864
52873
  class: "overview-local",
52865
52874
  role: "status"
52866
- }, E$ = {
52875
+ }, D$ = {
52867
52876
  class: "member-cards",
52868
52877
  "aria-label": "成员"
52869
- }, D$ = { class: "member-card-head" }, O$ = { class: "member-card-name" }, k$ = ["title"], A$ = { class: "member-card-facts" }, j$ = ["aria-label", "title"], M$ = [
52878
+ }, O$ = { class: "member-card-head" }, k$ = { class: "member-card-name" }, A$ = ["title"], j$ = { class: "member-card-facts" }, M$ = ["aria-label", "title"], N$ = [
52870
52879
  "aria-checked",
52871
52880
  "disabled",
52872
52881
  "onClick"
52873
- ], N$ = { key: 1 }, P$ = ["title"], F$ = [
52882
+ ], P$ = { key: 1 }, F$ = ["title"], I$ = [
52874
52883
  "aria-label",
52875
52884
  "aria-busy",
52876
52885
  "title"
52877
- ], I$ = [
52886
+ ], L$ = [
52878
52887
  "aria-checked",
52879
52888
  "title",
52880
52889
  "disabled",
52881
52890
  "onClick"
52882
- ], L$ = ["title"], R$ = ["aria-label"], z$ = { key: 0 }, B$ = {
52891
+ ], R$ = ["title"], z$ = ["aria-label"], B$ = { key: 0 }, V$ = {
52883
52892
  key: 1,
52884
52893
  class: "overview-result is-error",
52885
52894
  role: "alert"
52886
- }, V$ = {
52895
+ }, H$ = {
52887
52896
  key: 2,
52888
52897
  class: "overview-result",
52889
52898
  role: "status"
52890
- }, H$ = ["role"], U$ = { class: "overview-section" }, W$ = { class: "overview-settings" }, G$ = { key: 0 }, K$ = {
52899
+ }, U$ = ["role"], W$ = { class: "overview-section" }, G$ = { class: "overview-settings" }, K$ = { key: 0 }, q$ = {
52891
52900
  key: 0,
52892
52901
  role: "status",
52893
52902
  class: "overview-saved"
52894
- }, q$ = { key: 1 }, J$ = { key: 1 }, Y$ = { class: "overview-address" }, X$ = { key: 2 }, Z$ = 2e3, Q$ = "设为主持人", $$ = /*#__PURE__*/ YH({
52903
+ }, J$ = { key: 1 }, Y$ = { key: 1 }, X$ = { class: "overview-address" }, Z$ = { key: 2 }, Q$ = 2e3, $$ = "设为主持人", e1 = /*#__PURE__*/ YH({
52895
52904
  __name: "RoomOverview",
52896
52905
  setup(e) {
52897
52906
  let { view: t, bridge: n, act: r } = xr("discussion"), i = {
@@ -52926,7 +52935,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
52926
52935
  try {
52927
52936
  await n.set_chain_rounds(e), v.value = !0, setTimeout(() => {
52928
52937
  v.value = !1;
52929
- }, Z$);
52938
+ }, Q$);
52930
52939
  } catch {
52931
52940
  _.value = u.value.free?.max_rounds || 0;
52932
52941
  } finally {
@@ -53022,7 +53031,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53022
53031
  project_access: t
53023
53032
  }), b.value = {
53024
53033
  tone: "",
53025
- text: `${n.display_name(e.name)} 已改为${jq(t)},下次处理请求起生效。`
53034
+ text: `${n.display_name(e.name)} 已改为${Mq(t)},下次处理请求起生效。`
53026
53035
  };
53027
53036
  } catch (e) {
53028
53037
  b.value = {
@@ -53036,7 +53045,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53036
53045
  }
53037
53046
  let ee = Z(() => p.value ? "—" : f.value.scheduler ? `${t.value.launch.scheduler_providers?.[f.value.scheduler.provider]?.label || f.value.scheduler.provider} · ${f.value.scheduler.model}` : "未开启");
53038
53047
  function D(e) {
53039
- let [n, i, a] = CQ(C(e), {
53048
+ let [n, i, a] = wQ(C(e), {
53040
53049
  view: t.value,
53041
53050
  act: r,
53042
53051
  describe: (e) => {
@@ -53045,8 +53054,8 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53045
53054
  });
53046
53055
  return d.value ? {
53047
53056
  taking_part: n,
53048
- host: i.find((e) => e.label === Q$) || null,
53049
- place: [...i.filter((e) => e.label !== Q$), ...a]
53057
+ host: i.find((e) => e.label === $$) || null,
53058
+ place: [...i.filter((e) => e.label !== $$), ...a]
53050
53059
  } : {
53051
53060
  taking_part: n,
53052
53061
  host: null,
@@ -53073,8 +53082,8 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53073
53082
  let ie = Z(() => `${location.origin}/r/${u.value.id}`), ae = Z(() => u.value.created_at ? new Date(u.value.created_at).toLocaleString("zh-CN", { hour12: !1 }) : "");
53074
53083
  return (e, i) => {
53075
53084
  let s = MA, l = pA, oe = sA, k = WV;
53076
- return U(), W("section", S$, [
53077
- K("div", C$, [i[5] ||= K("div", null, [K("h2", null, "成员与设置"), K("p", null, "成员的接入、权限与全部操作,以及房间的协作设置;右栏成员菜单是同样操作的快捷入口。")], -1), u.value.archived ? Y("", !0) : (U(), G(s, {
53085
+ return U(), W("section", C$, [
53086
+ K("div", w$, [i[5] ||= K("div", null, [K("h2", null, "成员与设置"), K("p", null, "成员的接入、权限与全部操作,以及房间的协作设置;右栏成员菜单是同样操作的快捷入口。")], -1), u.value.archived ? Y("", !0) : (U(), G(s, {
53078
53087
  key: 0,
53079
53088
  icon: "i-lucide-plus",
53080
53089
  label: "邀请 AI 加入",
@@ -53084,19 +53093,19 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53084
53093
  disabled: !I(t).access?.can_manage,
53085
53094
  onClick: i[0] ||= (e) => O.value = !0
53086
53095
  }, null, 8, ["disabled"]))]),
53087
- K("section", w$, [
53096
+ K("section", T$, [
53088
53097
  i[9] ||= K("h3", null, "成员", -1),
53089
- p.value ? (U(), W("p", T$, [J(P(p.value.text), 1), p.value.retry ? (U(), W("button", {
53098
+ p.value ? (U(), W("p", E$, [J(P(p.value.text), 1), p.value.retry ? (U(), W("button", {
53090
53099
  key: 0,
53091
53100
  type: "button",
53092
53101
  class: "subtle-link",
53093
53102
  onClick: i[1] ||= (e) => I(n).reload_room_models()
53094
53103
  }, "重试")) : Y("", !0)])) : Y("", !0),
53095
- K("ul", E$, [(U(!0), W(H, null, B(x.value, (e) => (U(), W("li", {
53104
+ K("ul", D$, [(U(!0), W(H, null, B(x.value, (e) => (U(), W("li", {
53096
53105
  key: e.name,
53097
53106
  class: "member-card"
53098
53107
  }, [
53099
- K("header", D$, [
53108
+ K("header", O$, [
53100
53109
  q(l, {
53101
53110
  src: I(n).identities[e.name]?.icon,
53102
53111
  text: I(n).identities[e.name]?.initials,
@@ -53109,14 +53118,14 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53109
53118
  "alt",
53110
53119
  "class"
53111
53120
  ]),
53112
- K("div", O$, [K("strong", null, [J(P(I(n).display_name(e.name)), 1), e.role === "host" ? (U(), G(oe, {
53121
+ K("div", k$, [K("strong", null, [J(P(I(n).display_name(e.name)), 1), e.role === "host" ? (U(), G(oe, {
53113
53122
  key: 0,
53114
53123
  name: "i-lucide-crown",
53115
53124
  title: "主持人"
53116
53125
  })) : Y("", !0)]), u.value.descriptions?.[e.name] ? (U(), W("small", {
53117
53126
  key: 0,
53118
53127
  title: u.value.descriptions[e.name]
53119
- }, P(u.value.descriptions[e.name]), 9, k$)) : Y("", !0)]),
53128
+ }, P(u.value.descriptions[e.name]), 9, A$)) : Y("", !0)]),
53120
53129
  D(e).host ? (U(), G(s, {
53121
53130
  key: 0,
53122
53131
  icon: D(e).host.icon,
@@ -53141,7 +53150,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53141
53150
  _: 2
53142
53151
  }, 1032, ["color"])
53143
53152
  ]),
53144
- K("dl", A$, [
53153
+ K("dl", j$, [
53145
53154
  K("div", null, [i[6] ||= K("dt", null, "接入", -1), K("dd", null, [S(C(e)).value ? (U(), W("div", {
53146
53155
  key: 0,
53147
53156
  class: j(["expert-card-modes overview-switch", { "is-locked": !S(C(e)).editable }]),
@@ -53155,11 +53164,11 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53155
53164
  "aria-checked": S(C(e)).value === t.value,
53156
53165
  disabled: !S(C(e)).editable || !!h.value,
53157
53166
  onClick: (n) => w(e, t.value)
53158
- }, P(t.label), 9, M$)), 64))], 10, j$)) : (U(), W("span", N$, P(S(e).text), 1))])]),
53167
+ }, P(t.label), 9, N$)), 64))], 10, M$)) : (U(), W("span", P$, P(S(e).text), 1))])]),
53159
53168
  K("div", null, [i[7] ||= K("dt", null, "模型", -1), K("dd", {
53160
53169
  class: j(["overview-model", { "overview-muted": m(e.name) }]),
53161
53170
  title: I(n).participant_model(e.name, u.value, f.value) || void 0
53162
- }, P(e.access === "runner" ? I(n).participant_model(e.name, u.value, f.value) || "—" : "在它自己的会话里设置"), 11, P$)]),
53171
+ }, P(e.access === "runner" ? I(n).participant_model(e.name, u.value, f.value) || "—" : "在它自己的会话里设置"), 11, F$)]),
53163
53172
  K("div", null, [i[8] ||= K("dt", null, "项目文件", -1), K("dd", null, [T(e).value ? (U(), W("div", {
53164
53173
  key: 0,
53165
53174
  class: j(["expert-card-modes overview-switch", { "is-locked": !T(e).editable }]),
@@ -53167,19 +53176,19 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53167
53176
  "aria-label": `${e.name} 的项目文件权限`,
53168
53177
  "aria-busy": h.value === e.name,
53169
53178
  title: T(e).hint || void 0
53170
- }, [(U(!0), W(H, null, B(I(Aq)(f.value?.participants?.[e.name]?.adapter), (t) => (U(), W("button", {
53179
+ }, [(U(!0), W(H, null, B(I(jq)(f.value?.participants?.[e.name]?.adapter), (t) => (U(), W("button", {
53171
53180
  key: t.value,
53172
53181
  type: "button",
53173
53182
  role: "radio",
53174
53183
  "aria-checked": T(e).value === t.value,
53175
53184
  title: t.hint,
53176
- disabled: !T(e).editable || !!h.value,
53185
+ disabled: t.disabled || !T(e).editable || !!h.value,
53177
53186
  onClick: (n) => E(e, t.value)
53178
- }, P(t.label), 9, I$))), 128))], 10, F$)) : (U(), W("span", {
53187
+ }, P(t.label), 9, L$))), 128))], 10, I$)) : (U(), W("span", {
53179
53188
  key: 1,
53180
53189
  class: "overview-muted",
53181
53190
  title: T(e).hint
53182
- }, P(T(e).text), 9, L$))])])
53191
+ }, P(T(e).text), 9, R$))])])
53183
53192
  ]),
53184
53193
  K("footer", {
53185
53194
  class: "member-card-actions",
@@ -53198,7 +53207,7 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53198
53207
  "label",
53199
53208
  "disabled",
53200
53209
  "onClick"
53201
- ]))), 128))]), D(e).place.length ? (U(), W("div", z$, [(U(!0), W(H, null, B(D(e).place, (e) => (U(), G(s, {
53210
+ ]))), 128))]), D(e).place.length ? (U(), W("div", B$, [(U(!0), W(H, null, B(D(e).place, (e) => (U(), G(s, {
53202
53211
  key: e.label,
53203
53212
  icon: e.icon,
53204
53213
  label: e.label,
@@ -53213,26 +53222,26 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53213
53222
  "color",
53214
53223
  "disabled",
53215
53224
  "onClick"
53216
- ]))), 128))])) : Y("", !0)], 8, R$)
53225
+ ]))), 128))])) : Y("", !0)], 8, z$)
53217
53226
  ]))), 128))]),
53218
- I(t).access?.error || I(t).free_error ? (U(), W("p", B$, P(I(t).access?.error || I(t).free_error), 1)) : I(t).access?.notice || I(t).free_notice ? (U(), W("p", V$, P(I(t).access?.notice || I(t).free_notice), 1)) : Y("", !0),
53227
+ I(t).access?.error || I(t).free_error ? (U(), W("p", V$, P(I(t).access?.error || I(t).free_error), 1)) : I(t).access?.notice || I(t).free_notice ? (U(), W("p", H$, P(I(t).access?.notice || I(t).free_notice), 1)) : Y("", !0),
53219
53228
  i[10] ||= K("p", { class: "overview-result" }, "复制说明或下载配置不代表 AI 已接入,以实际回答和运行记录为准。", -1),
53220
53229
  b.value.text ? (U(), W("p", {
53221
53230
  key: 3,
53222
53231
  class: j(["overview-result", { "is-error": b.value.tone === "error" }]),
53223
53232
  role: b.value.tone === "error" ? "alert" : "status"
53224
- }, P(b.value.text), 11, H$)) : Y("", !0)
53233
+ }, P(b.value.text), 11, U$)) : Y("", !0)
53225
53234
  ]),
53226
- K("section", U$, [i[17] ||= K("h3", null, "协作设置", -1), K("dl", W$, [
53235
+ K("section", W$, [i[17] ||= K("h3", null, "协作设置", -1), K("dl", G$, [
53227
53236
  K("div", null, [i[11] ||= K("dt", null, "主持人", -1), K("dd", null, P(u.value.host ? I(n).display_name(u.value.host) : "未指定"), 1)]),
53228
53237
  K("div", null, [i[12] ||= K("dt", null, "智能调度", -1), K("dd", null, P(ee.value), 1)]),
53229
- u.value.free?.max_rounds ? (U(), W("div", G$, [i[13] ||= K("dt", null, "连续派活上限", -1), K("dd", null, [I(t).access?.can_manage ? (U(), W(H, { key: 0 }, [q(WK, {
53238
+ u.value.free?.max_rounds ? (U(), W("div", K$, [i[13] ||= K("dt", null, "连续派活上限", -1), K("dd", null, [I(t).access?.can_manage ? (U(), W(H, { key: 0 }, [q(WK, {
53230
53239
  "model-value": _.value,
53231
53240
  disabled: g.value,
53232
53241
  "onUpdate:modelValue": y
53233
- }, null, 8, ["model-value", "disabled"]), v.value ? (U(), W("small", K$, "已保存,进行中的任务链也按新值")) : Y("", !0)], 64)) : (U(), W("span", q$, "主持人收到你的一条消息后,最多连续派活 " + P(u.value.free.max_rounds) + " 轮(派活 → 成员回答 → 交回汇总为一轮),然后停下等你", 1))])])) : Y("", !0),
53234
- d.value ? Y("", !0) : (U(), W("div", J$, [i[14] ||= K("dt", null, "逐人追问", -1), K("dd", null, P(u.value.named_followup ? "开启:主持人每轮给每位专家写针对性追问" : "关闭:首轮后请专家回应上一轮观点"), 1)])),
53235
- K("div", null, [i[15] ||= K("dt", null, "阅读地址", -1), K("dd", Y$, [K("code", null, P(ie.value), 1), q(s, {
53242
+ }, null, 8, ["model-value", "disabled"]), v.value ? (U(), W("small", q$, "已保存,进行中的任务链也按新值")) : Y("", !0)], 64)) : (U(), W("span", J$, "主持人收到你的一条消息后,最多连续派活 " + P(u.value.free.max_rounds) + " 轮(派活 → 成员回答 → 交回汇总为一轮),然后停下等你", 1))])])) : Y("", !0),
53243
+ d.value ? Y("", !0) : (U(), W("div", Y$, [i[14] ||= K("dt", null, "逐人追问", -1), K("dd", null, P(u.value.named_followup ? "开启:主持人每轮给每位专家写针对性追问" : "关闭:首轮后请专家回应上一轮观点"), 1)])),
53244
+ K("div", null, [i[15] ||= K("dt", null, "阅读地址", -1), K("dd", X$, [K("code", null, P(ie.value), 1), q(s, {
53236
53245
  icon: "i-lucide-copy",
53237
53246
  color: "neutral",
53238
53247
  variant: "ghost",
@@ -53240,9 +53249,9 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53240
53249
  "aria-label": "复制阅读地址",
53241
53250
  onClick: i[2] ||= (e) => I(r)("copy", ie.value)
53242
53251
  })])]),
53243
- ae.value ? (U(), W("div", X$, [i[16] ||= K("dt", null, "创建时间", -1), K("dd", null, P(ae.value), 1)])) : Y("", !0)
53252
+ ae.value ? (U(), W("div", Z$, [i[16] ||= K("dt", null, "创建时间", -1), K("dd", null, P(ae.value), 1)])) : Y("", !0)
53244
53253
  ])]),
53245
- q(GZ, {
53254
+ q(KZ, {
53246
53255
  open: O.value,
53247
53256
  "onUpdate:open": i[3] ||= (e) => O.value = e,
53248
53257
  description: d.value ? "新成员加入后不打断其他成员;点卡片翻面可设置软件、模型、项目权限和要续接的已有会话。" : "新专家由程序按本机软件配置启动,或由你手动启动,加入本轮发言队列。"
@@ -53269,31 +53278,31 @@ var wQ = { class: "progress-board is-docked" }, TQ = { class: "pb-header" }, EQ
53269
53278
  ]);
53270
53279
  };
53271
53280
  }
53272
- }, [["__scopeId", "data-v-cfcbc22f"]]), e1 = {
53281
+ }, [["__scopeId", "data-v-4c8d7c35"]]), t1 = {
53273
53282
  thinking: "思考",
53274
53283
  command: "命令",
53275
53284
  tool: "工具",
53276
53285
  editing: "编辑",
53277
53286
  writing: "撰写"
53278
- }, t1 = {
53287
+ }, n1 = {
53279
53288
  thinking: "model",
53280
53289
  writing: "model",
53281
53290
  command: "tool",
53282
53291
  tool: "tool",
53283
53292
  editing: "tool"
53284
- }, n1 = {
53293
+ }, r1 = {
53285
53294
  running: "进行中",
53286
53295
  done: "完成",
53287
53296
  failed: "失败",
53288
53297
  cancelled: "已撤销"
53289
- }, r1 = 3e5, i1 = .03;
53290
- function a1(e) {
53298
+ }, i1 = 3e5, a1 = .03;
53299
+ function o1(e) {
53291
53300
  if (e < 1e3) return `${Math.max(0, Math.round(e))}ms`;
53292
53301
  if (e < 1e4) return `${(e / 1e3).toFixed(1)}s`;
53293
53302
  let t = Math.round(e / 1e3);
53294
53303
  return t < 60 ? `${t}s` : t < 3600 ? `${Math.floor(t / 60)}m ${String(t % 60).padStart(2, "0")}s` : `${Math.floor(t / 3600)}h ${String(Math.floor(t % 3600 / 60)).padStart(2, "0")}m`;
53295
53304
  }
53296
- function o1(e, t) {
53305
+ function s1(e, t) {
53297
53306
  let n = e.state === "running", r = e.finished_at ? e.finished_at * 1e3 : t, i = e.dispatched_at ? e.dispatched_at * 1e3 : 0, a = Math.min(e.queued_at ? e.queued_at * 1e3 : i || r, i || r), o = i ? e.segments.map((t, a) => {
53298
53307
  let o = n && a === e.segments.length - 1, s = Math.min(i + t.end_ms, r);
53299
53308
  return {
@@ -53319,8 +53328,8 @@ function o1(e, t) {
53319
53328
  notes: l
53320
53329
  };
53321
53330
  }
53322
- var s1 = 18e4;
53323
- function c1(e, t) {
53331
+ var c1 = 18e4;
53332
+ function l1(e, t) {
53324
53333
  let { item: n } = e;
53325
53334
  if (n.state === "failed") return {
53326
53335
  tone: "failed",
@@ -53344,22 +53353,22 @@ function c1(e, t) {
53344
53353
  let r = n.dispatched_at * 1e3, i = n.segments.at(-1), a = Math.max(n.activity_at ? n.activity_at * 1e3 : 0, i ? r + i.end_ms : 0, ...(n.notes || []).map((e) => e * 1e3)), o = a ? t - a : 0;
53345
53354
  return o >= 18e4 ? i?.phase === "command" ? {
53346
53355
  tone: "warn",
53347
- text: `命令已运行 ${a1(o)}`
53356
+ text: `命令已运行 ${o1(o)}`
53348
53357
  } : {
53349
53358
  tone: "warn",
53350
- text: `已 ${a1(o)} 无输出,可能卡住`
53359
+ text: `已 ${o1(o)} 无输出,可能卡住`
53351
53360
  } : n.last_note ? {
53352
53361
  tone: "live",
53353
53362
  text: n.last_note
53354
53363
  } : i ? {
53355
53364
  tone: "live",
53356
- text: `${e1[i.phase]}${i.tool ? ` · ${i.tool}` : ""}中`
53365
+ text: `${t1[i.phase]}${i.tool ? ` · ${i.tool}` : ""}中`
53357
53366
  } : {
53358
53367
  tone: "live",
53359
53368
  text: "处理中"
53360
53369
  };
53361
53370
  }
53362
- function l1(e, t) {
53371
+ function u1(e, t) {
53363
53372
  return [...e.segments.map((e) => ({
53364
53373
  at: e.start,
53365
53374
  kind: "phase",
@@ -53373,7 +53382,7 @@ function l1(e, t) {
53373
53382
  text: t?.[e.index] ?? (t ? "(未能读取)" : "读取中…")
53374
53383
  }))].sort((e, t) => e.at - t.at || (e.kind === "note") - (t.kind === "note"));
53375
53384
  }
53376
- function u1(e, t, n = /* @__PURE__ */ new Map()) {
53385
+ function d1(e, t, n = /* @__PURE__ */ new Map()) {
53377
53386
  let r = t / 1e3, i = [];
53378
53387
  for (let t of e.executions) {
53379
53388
  if ((t.queued_at || t.dispatched_at || Infinity) > r) continue;
@@ -53407,7 +53416,7 @@ function u1(e, t, n = /* @__PURE__ */ new Map()) {
53407
53416
  executions: i
53408
53417
  };
53409
53418
  }
53410
- function d1(e, t, n) {
53419
+ function f1(e, t, n) {
53411
53420
  let r = e.filter((e) => e.at >= t && e.at <= n);
53412
53421
  if (r.length) return {
53413
53422
  notes: r,
@@ -53419,13 +53428,13 @@ function d1(e, t, n) {
53419
53428
  earlier: !!i
53420
53429
  };
53421
53430
  }
53422
- function f1(e, t) {
53431
+ function p1(e, t) {
53423
53432
  let n = e.executions.map((n) => ({
53424
53433
  key: `${n.source}:${n.id}`,
53425
53434
  parent: n.parent_id ? `free:${n.parent_id}` : "",
53426
53435
  item: n,
53427
53436
  truncated: n.segments.length >= e.segment_limit,
53428
- ...o1(n, t)
53437
+ ...s1(n, t)
53429
53438
  })), r = new Map(n.map((e) => [e.key, e])), i = (e) => {
53430
53439
  let t = r.get(e.parent);
53431
53440
  for (let n = /* @__PURE__ */ new Set([e.key]); t?.item.member === e.item.member && !n.has(t.key); t = r.get(t.parent)) n.add(t.key);
@@ -53454,18 +53463,18 @@ function f1(e, t) {
53454
53463
  });
53455
53464
  return o;
53456
53465
  }
53457
- function p1(e, t) {
53466
+ function m1(e, t) {
53458
53467
  if (e.source === "discussion") return `run:${e.run_id || e.id}`;
53459
53468
  let n = e;
53460
53469
  for (let r = /* @__PURE__ */ new Set([e.id]); n.parent_id && t.has(n.parent_id) && !r.has(n.parent_id); n = t.get(n.parent_id)) r.add(n.parent_id);
53461
53470
  return n.task_id ? `task:${n.task_id}` : `exec:${n.id}`;
53462
53471
  }
53463
- function m1(e, t) {
53472
+ function h1(e, t) {
53464
53473
  let n = new Map(e.executions.filter((e) => e.source === "free").map((e) => [e.id, e])), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
53465
53474
  for (let a of e.executions) {
53466
- let e = p1(a, n);
53475
+ let e = m1(a, n);
53467
53476
  i.set(`${a.source}:${a.id}`, e);
53468
- let o = o1(a, t), s = r.get(e) || {
53477
+ let o = s1(a, t), s = r.get(e) || {
53469
53478
  key: e,
53470
53479
  source: a.source,
53471
53480
  start: o.start,
@@ -53483,7 +53492,7 @@ function m1(e, t) {
53483
53492
  of: i
53484
53493
  };
53485
53494
  }
53486
- function h1(e, t) {
53495
+ function g1(e, t) {
53487
53496
  let n = new Map(e.map((e, t) => [e.key, t])), r = /* @__PURE__ */ new Map(), i = (e, t) => {
53488
53497
  r.has(e) || r.set(e, []), r.get(e).push(t);
53489
53498
  };
@@ -53509,7 +53518,7 @@ function h1(e, t) {
53509
53518
  });
53510
53519
  }), r;
53511
53520
  }
53512
- var g1 = [
53521
+ var _1 = [
53513
53522
  5,
53514
53523
  10,
53515
53524
  15,
@@ -53533,8 +53542,8 @@ var g1 = [
53533
53542
  21600,
53534
53543
  43200,
53535
53544
  86400
53536
- ].map((e) => e * 1e3), _1 = .75;
53537
- function v1(e, t = !1) {
53545
+ ].map((e) => e * 1e3), v1 = .75;
53546
+ function y1(e, t = !1) {
53538
53547
  let n = e.map((e) => [e.start, e.end]).sort((e, t) => e[0] - t[0]);
53539
53548
  if (!n.length) return {
53540
53549
  start: 0,
@@ -53550,8 +53559,8 @@ function v1(e, t = !1) {
53550
53559
  n && e <= n[1] + 3e5 ? n[1] = Math.max(n[1], t) : r.push([e, t]);
53551
53560
  }
53552
53561
  let i = r.reduce((e, [t, n]) => e + (n - t), 0), a = i;
53553
- t && i && (a = g1.find((e) => e >= i / _1) ?? Math.ceil(i / _1), r.at(-1)[1] += a - i);
53554
- let o = Math.min(i1, .5 / Math.max(1, r.length - 1)), s = a ? (1 - o * (r.length - 1)) / a : 0, c = [], l = 0;
53562
+ t && i && (a = _1.find((e) => e >= i / v1) ?? Math.ceil(i / v1), r.at(-1)[1] += a - i);
53563
+ let o = Math.min(a1, .5 / Math.max(1, r.length - 1)), s = a ? (1 - o * (r.length - 1)) / a : 0, c = [], l = 0;
53555
53564
  return r.forEach(([e, t], n) => {
53556
53565
  if (n) {
53557
53566
  let t = r[n - 1][1];
@@ -53594,7 +53603,7 @@ function v1(e, t = !1) {
53594
53603
  }))
53595
53604
  };
53596
53605
  }
53597
- var y1 = [
53606
+ var b1 = [
53598
53607
  1,
53599
53608
  2,
53600
53609
  5,
@@ -53613,14 +53622,14 @@ var y1 = [
53613
53622
  21600,
53614
53623
  43200,
53615
53624
  86400
53616
- ].map((e) => e * 1e3), b1 = .12;
53617
- function x1(e, t = 6, n = {
53625
+ ].map((e) => e * 1e3), x1 = .12;
53626
+ function S1(e, t = 6, n = {
53618
53627
  from: 0,
53619
53628
  span: 1
53620
53629
  }) {
53621
53630
  let r = (e.total_ms ?? e.busy_ms) * n.span;
53622
53631
  if (!r) return [];
53623
- let i = y1.find((e) => r / e <= t) ?? y1.at(-1), a = b1 * n.span, o = [];
53632
+ let i = b1.find((e) => r / e <= t) ?? b1.at(-1), a = x1 * n.span, o = [];
53624
53633
  for (let t of e.spans) if (!(t.from + t.width < n.from || t.from > n.from + n.span)) for (let r = Math.ceil(t.start / i) * i; r <= t.end; r += i) {
53625
53634
  let t = e.x(r);
53626
53635
  t < n.from || t > n.from + n.span || (!o.length || t - o.at(-1).x >= a) && o.push({
@@ -53633,8 +53642,8 @@ function x1(e, t = 6, n = {
53633
53642
  seconds: i < 6e4
53634
53643
  }));
53635
53644
  }
53636
- var S1 = .01, C1 = 2e3;
53637
- function w1(e, t) {
53645
+ var C1 = .01, w1 = 2e3;
53646
+ function T1(e, t) {
53638
53647
  let n = (e) => (e - t.from) / t.span;
53639
53648
  return {
53640
53649
  ...e,
@@ -53651,20 +53660,20 @@ function w1(e, t) {
53651
53660
  }))
53652
53661
  };
53653
53662
  }
53654
- function T1(e, t, n, r = 0) {
53655
- let i = Math.max(S1, r ? C1 / r : 0), a = Math.min(1, Math.max(i, e.span * n)), o = e.from + t * e.span;
53663
+ function E1(e, t, n, r = 0) {
53664
+ let i = Math.max(C1, r ? w1 / r : 0), a = Math.min(1, Math.max(i, e.span * n)), o = e.from + t * e.span;
53656
53665
  return {
53657
53666
  from: Math.min(1 - a, Math.max(0, o - t * a)),
53658
53667
  span: a
53659
53668
  };
53660
53669
  }
53661
- function E1(e, t) {
53670
+ function D1(e, t) {
53662
53671
  return {
53663
53672
  from: Math.min(1 - e.span, Math.max(0, e.from + t * e.span)),
53664
53673
  span: e.span
53665
53674
  };
53666
53675
  }
53667
- function D1(e, t = Date.now()) {
53676
+ function O1(e, t = Date.now()) {
53668
53677
  let n = null;
53669
53678
  for (let t of e) for (let e of t.segments) (!n || e.seen - e.start > n.end - n.start) && (n = {
53670
53679
  ...e,
@@ -53676,7 +53685,7 @@ function D1(e, t = Date.now()) {
53676
53685
  executions: e.length,
53677
53686
  running: e.filter((e) => e.item.state === "running").length,
53678
53687
  failed: e.filter((e) => e.item.state === "failed").length,
53679
- stalled: e.filter((e) => e.item.state === "running" && c1(e, t).tone === "warn").length,
53688
+ stalled: e.filter((e) => e.item.state === "running" && l1(e, t).tone === "warn").length,
53680
53689
  tool_segments: e.reduce((e, t) => e + t.segments.filter((e) => [
53681
53690
  "command",
53682
53691
  "tool",
@@ -53687,116 +53696,116 @@ function D1(e, t = Date.now()) {
53687
53696
  }
53688
53697
  //#endregion
53689
53698
  //#region frontend/ExecutionTimeline.vue
53690
- var O1 = {
53699
+ var k1 = {
53691
53700
  class: "merged-section execution-timeline",
53692
53701
  "aria-label": "执行时间线"
53693
- }, k1 = {
53702
+ }, A1 = {
53694
53703
  key: 0,
53695
53704
  role: "alert",
53696
53705
  class: "fine-print wf-error"
53697
- }, A1 = {
53706
+ }, j1 = {
53698
53707
  key: 1,
53699
53708
  class: "fine-print"
53700
- }, j1 = { class: "wf-head" }, M1 = {
53709
+ }, M1 = { class: "wf-head" }, N1 = {
53701
53710
  key: 0,
53702
53711
  class: "wf-state is-replay"
53703
- }, N1 = {
53712
+ }, P1 = {
53704
53713
  key: 2,
53705
53714
  class: "wf-headline"
53706
- }, P1 = { class: "wf-summary" }, F1 = ["title"], I1 = ["title"], L1 = { title: "连续调用同一工具合并为一段" }, R1 = {
53715
+ }, F1 = { class: "wf-summary" }, I1 = ["title"], L1 = ["title"], R1 = { title: "连续调用同一工具合并为一段" }, z1 = {
53707
53716
  class: "wf-legend",
53708
53717
  "aria-label": "图例"
53709
- }, z1 = {
53718
+ }, B1 = {
53710
53719
  key: 0,
53711
53720
  class: "wf-legend-note"
53712
- }, B1 = {
53721
+ }, V1 = {
53713
53722
  key: 1,
53714
53723
  class: "wf-legend-note"
53715
- }, V1 = { class: "wf-axis-label" }, H1 = {
53724
+ }, H1 = { class: "wf-axis-label" }, U1 = {
53716
53725
  key: 0,
53717
53726
  class: "wf-zoom"
53718
- }, U1 = {
53727
+ }, W1 = {
53719
53728
  key: 1,
53720
53729
  class: "wf-zoom-hint",
53721
53730
  title: "Ctrl + 滚轮缩放;放大后按住中键或拖动时间轴平移,双击时间轴还原"
53722
- }, W1 = {
53731
+ }, G1 = {
53723
53732
  key: 2,
53724
53733
  class: "wf-branch"
53725
- }, G1 = ["title"], K1 = {
53734
+ }, K1 = ["title"], q1 = {
53726
53735
  key: 0,
53727
53736
  class: "wf-guides",
53728
53737
  "aria-hidden": "true"
53729
- }, q1 = [
53738
+ }, J1 = [
53730
53739
  "aria-expanded",
53731
53740
  "aria-label",
53732
53741
  "onClick"
53733
- ], J1 = {
53742
+ ], Y1 = {
53734
53743
  key: 2,
53735
53744
  class: "wf-toggle-space"
53736
- }, Y1 = [
53745
+ }, X1 = [
53737
53746
  "aria-expanded",
53738
53747
  "onClick",
53739
53748
  "onMouseenter",
53740
53749
  "onMouseleave"
53741
- ], X1 = { class: "wf-name-line" }, Z1 = {
53750
+ ], Z1 = { class: "wf-name-line" }, Q1 = {
53742
53751
  key: 0,
53743
53752
  class: "wf-spinner",
53744
53753
  "aria-hidden": "true"
53745
- }, Q1 = {
53754
+ }, $1 = {
53746
53755
  key: 1,
53747
53756
  class: "wf-pill is-slowest"
53748
- }, $1 = {
53757
+ }, e0 = {
53749
53758
  key: 0,
53750
53759
  class: "wf-live-dot",
53751
53760
  "aria-hidden": "true"
53752
- }, e0 = ["aria-label", "onMouseleave"], t0 = { class: "wf-track" }, n0 = ["data-tone"], r0 = ["onMouseenter", "onClick"], i0 = ["onMouseenter", "onClick"], a0 = [
53761
+ }, t0 = ["aria-label", "onMouseleave"], n0 = { class: "wf-track" }, r0 = ["data-tone"], i0 = ["onMouseenter", "onClick"], a0 = ["onMouseenter", "onClick"], o0 = [
53753
53762
  "data-tone",
53754
53763
  "onMouseenter",
53755
53764
  "onClick"
53756
- ], o0 = [
53765
+ ], s0 = [
53757
53766
  "data-tone",
53758
53767
  "onMouseenter",
53759
53768
  "onClick"
53760
- ], s0 = [
53769
+ ], c0 = [
53761
53770
  "data-tone",
53762
53771
  "onMouseenter",
53763
53772
  "onClick"
53764
- ], c0 = [
53773
+ ], l0 = [
53765
53774
  "aria-label",
53766
53775
  "onMouseenter",
53767
53776
  "onClick",
53768
53777
  "onFocus",
53769
53778
  "onBlur"
53770
- ], l0 = { class: "wf-end" }, u0 = { key: 1 }, d0 = ["aria-label"], f0 = { class: "wf-detail-head" }, p0 = { key: 0 }, m0 = { key: 1 }, h0 = { class: "is-failed" }, g0 = { key: 2 }, _0 = { key: 3 }, v0 = {
53779
+ ], u0 = { class: "wf-end" }, d0 = { key: 1 }, f0 = ["aria-label"], p0 = { class: "wf-detail-head" }, m0 = { key: 0 }, h0 = { key: 1 }, g0 = { class: "is-failed" }, _0 = { key: 2 }, v0 = { key: 3 }, y0 = {
53771
53780
  key: 0,
53772
53781
  class: "wf-log",
53773
53782
  "aria-label": "过程"
53774
- }, y0 = ["data-tone"], b0 = {
53783
+ }, b0 = ["data-tone"], x0 = {
53775
53784
  key: 1,
53776
53785
  class: "wf-log-note"
53777
- }, x0 = {
53786
+ }, S0 = {
53778
53787
  key: 1,
53779
53788
  class: "fine-print"
53780
- }, S0 = {
53789
+ }, C0 = {
53781
53790
  key: 1,
53782
53791
  class: "wf-player"
53783
- }, C0 = {
53792
+ }, w0 = {
53784
53793
  key: 2,
53785
53794
  class: "wf-player"
53786
- }, w0 = ["aria-label"], T0 = ["disabled"], E0 = ["max", "value"], D0 = { class: "wf-player-time" }, O0 = {
53795
+ }, T0 = ["aria-label"], E0 = ["disabled"], D0 = ["max", "value"], O0 = { class: "wf-player-time" }, k0 = {
53787
53796
  key: 3,
53788
53797
  class: "wf-foot"
53789
- }, k0 = { key: 0 }, A0 = { key: 1 }, j0 = ["role"], M0 = {
53798
+ }, A0 = { key: 0 }, j0 = { key: 1 }, M0 = ["role"], N0 = {
53790
53799
  key: 1,
53791
53800
  class: "wf-card-text"
53792
- }, N0 = {
53801
+ }, P0 = {
53793
53802
  key: 2,
53794
53803
  class: "wf-card-reason"
53795
- }, P0 = { class: "wf-card-label" }, F0 = 2e3, I0 = 6e4, L0 = 100, R0 = 60, z0 = 2e4, B0 = 600, V0 = 5, H0 = 16, U0 = 90, W0 = 2, G0 = 8, K0 = 560, q0 = .0015, J0 = "latest", Y0 = "all", X0 = 22, Z0 = 5, Q0 = 52, $0 = /*#__PURE__*/ YH({
53804
+ }, F0 = { class: "wf-card-label" }, I0 = 2e3, L0 = 6e4, R0 = 100, z0 = 60, B0 = 2e4, V0 = 600, H0 = 5, U0 = 16, W0 = 90, G0 = 2, K0 = 8, q0 = 560, J0 = .0015, Y0 = "latest", X0 = "all", Z0 = 22, Q0 = 5, $0 = 52, e2 = /*#__PURE__*/ YH({
53796
53805
  __name: "ExecutionTimeline",
53797
53806
  emits: ["detail"],
53798
53807
  setup(e, { emit: t }) {
53799
- let n = t, { view: r, bridge: i } = xr("discussion"), a = s1 / 6e4, o = [
53808
+ let n = t, { view: r, bridge: i } = xr("discussion"), a = c1 / 6e4, o = [
53800
53809
  1,
53801
53810
  2,
53802
53811
  4,
@@ -53812,7 +53821,7 @@ var O1 = {
53812
53821
  let t = d.value;
53813
53822
  if (!t || w) return;
53814
53823
  w = !0;
53815
- let n = e || !S || Date.now() - C >= I0 ? 0 : S - V0;
53824
+ let n = e || !S || Date.now() - C >= L0 ? 0 : S - H0;
53816
53825
  try {
53817
53826
  let e = await i.request(`/api/rooms/${t}/timeline${n ? `?after=${n}` : ""}`);
53818
53827
  if (t !== d.value) return;
@@ -53835,7 +53844,7 @@ var O1 = {
53835
53844
  R(Z(() => re.value?.executions.some((e) => e.state === "running")), (e) => {
53836
53845
  clearInterval(T), e && (T = setInterval(() => {
53837
53846
  document.hidden || ne();
53838
- }, F0));
53847
+ }, I0));
53839
53848
  }, { immediate: !0 }), R(d, () => {
53840
53849
  f.value = /* @__PURE__ */ new Map(), p.value = null, g.value = /* @__PURE__ */ new Set(), _.value = /* @__PURE__ */ new Map(), v.value = null, y.value = "", S = 0, ne(!0);
53841
53850
  }, { immediate: !0 }), R(() => r.value.room, (e, t) => {
@@ -53850,7 +53859,7 @@ var O1 = {
53850
53859
  };
53851
53860
  }
53852
53861
  function oe(e) {
53853
- c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(), De.value = T1(De.value, ae(e).share, Math.exp(e.deltaY * q0), Te.value.total_ms)) : Oe.value && (e.shiftKey || Math.abs(e.deltaX) > Math.abs(e.deltaY)) && (e.preventDefault(), De.value = E1(De.value, (e.shiftKey ? e.deltaY : e.deltaX) / ae(e).width)));
53862
+ c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(), De.value = E1(De.value, ae(e).share, Math.exp(e.deltaY * J0), Te.value.total_ms)) : Oe.value && (e.shiftKey || Math.abs(e.deltaX) > Math.abs(e.deltaY)) && (e.preventDefault(), De.value = D1(De.value, (e.shiftKey ? e.deltaY : e.deltaX) / ae(e).width)));
53854
53863
  }
53855
53864
  function k(e) {
53856
53865
  let t = e.target.closest?.(".wf-axis");
@@ -53861,7 +53870,7 @@ var O1 = {
53861
53870
  }, e.currentTarget.setPointerCapture(e.pointerId));
53862
53871
  }
53863
53872
  function se(e) {
53864
- ie && (De.value = E1({
53873
+ ie && (De.value = D1({
53865
53874
  from: ie.from,
53866
53875
  span: De.value.span
53867
53876
  }, -(e.clientX - ie.x) / ie.width));
@@ -53887,15 +53896,15 @@ var O1 = {
53887
53896
  }), ta(() => {
53888
53897
  clearInterval(T), cancelAnimationFrame(E), document.removeEventListener("pointerdown", ue), document.removeEventListener("keydown", de), u?.disconnect();
53889
53898
  });
53890
- let fe = /* @__PURE__ */ F(J0), pe = Z(() => re.value ? m1(re.value, h.value) : {
53899
+ let fe = /* @__PURE__ */ F(Y0), pe = Z(() => re.value ? h1(re.value, h.value) : {
53891
53900
  list: [],
53892
53901
  of: /* @__PURE__ */ new Map()
53893
- }), me = Z(() => fe.value === J0 ? pe.value.list[0]?.key : fe.value === Y0 || pe.value.list.some((e) => e.key === fe.value) ? fe.value : pe.value.list[0]?.key), he = Z(() => !re.value || me.value === Y0 ? re.value : {
53902
+ }), me = Z(() => fe.value === Y0 ? pe.value.list[0]?.key : fe.value === X0 || pe.value.list.some((e) => e.key === fe.value) ? fe.value : pe.value.list[0]?.key), he = Z(() => !re.value || me.value === X0 ? re.value : {
53894
53903
  ...re.value,
53895
53904
  executions: re.value.executions.filter((e) => pe.value.of.get(`${e.source}:${e.id}`) === me.value)
53896
53905
  });
53897
53906
  R(d, () => {
53898
- fe.value = J0;
53907
+ fe.value = Y0;
53899
53908
  });
53900
53909
  let ge = (e) => new Date(e).toLocaleString("zh-CN", {
53901
53910
  month: "numeric",
@@ -53905,13 +53914,13 @@ var O1 = {
53905
53914
  hour12: !1
53906
53915
  });
53907
53916
  function _e(e) {
53908
- let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0, X0)}${e.task.length > X0 ? "…" : ""}` : e.source === "discussion" ? "讨论" : "执行";
53917
+ let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0, Z0)}${e.task.length > Z0 ? "…" : ""}` : e.source === "discussion" ? "讨论" : "执行";
53909
53918
  return `${ge(e.start)} · ${t} · ${e.count} 次${e.running ? " · 进行中" : e.failed ? " · 有失败" : ""}`;
53910
53919
  }
53911
53920
  let M = Z(() => [
53912
53921
  {
53913
53922
  label: "最近一轮(自动跟随)",
53914
- value: J0
53923
+ value: Y0
53915
53924
  },
53916
53925
  ...pe.value.list.map((e) => ({
53917
53926
  label: _e(e),
@@ -53919,9 +53928,9 @@ var O1 = {
53919
53928
  })),
53920
53929
  {
53921
53930
  label: "全部执行",
53922
- value: Y0
53931
+ value: X0
53923
53932
  }
53924
- ]), N = Z(() => he.value ? f1(he.value, h.value) : []), ve = Z(() => N.value.some((e) => e.item.state === "running")), ye = Z(() => {
53933
+ ]), N = Z(() => he.value ? p1(he.value, h.value) : []), ve = Z(() => N.value.some((e) => e.item.state === "running")), ye = Z(() => {
53925
53934
  let e = Math.min(...N.value.map((e) => e.start)), t = Math.max(...N.value.map((e) => e.end));
53926
53935
  return Number.isFinite(e) ? {
53927
53936
  start: e,
@@ -53932,17 +53941,17 @@ var O1 = {
53932
53941
  end: 0,
53933
53942
  duration: 0
53934
53943
  };
53935
- }), be = Z(() => O.position !== null && !ve.value), xe = Z(() => be.value ? ye.value.start + O.position : h.value), Se = Z(() => be.value ? f1(u1(he.value, xe.value, _.value), xe.value) : N.value), Ce = Z(() => Se.value.filter((e) => !e.ancestors.some((e) => g.value.has(e)))), we = Z(() => Se.value.some((e) => e.item.state === "running")), Te = Z(() => v1(Se.value, we.value)), Ee = {
53944
+ }), be = Z(() => O.position !== null && !ve.value), xe = Z(() => be.value ? ye.value.start + O.position : h.value), Se = Z(() => be.value ? p1(d1(he.value, xe.value, _.value), xe.value) : N.value), Ce = Z(() => Se.value.filter((e) => !e.ancestors.some((e) => g.value.has(e)))), we = Z(() => Se.value.some((e) => e.item.state === "running")), Te = Z(() => y1(Se.value, we.value)), Ee = {
53936
53945
  from: 0,
53937
53946
  span: 1
53938
53947
  }, De = /* @__PURE__ */ F(Ee), Oe = Z(() => De.value.span < 1);
53939
53948
  R([me, d], () => {
53940
53949
  De.value = Ee;
53941
53950
  });
53942
- let ke = Z(() => w1(Te.value, De.value)), Ae = Z(() => {
53951
+ let ke = Z(() => T1(Te.value, De.value)), Ae = Z(() => {
53943
53952
  let e = we.value ? ke.value.x(xe.value) : null;
53944
53953
  return e === null || e < 0 || e > 1 ? null : e;
53945
- }), je = Z(() => Math.max(1, ye.value.duration / z0)), Me = Z(() => [{
53954
+ }), je = Z(() => Math.max(1, ye.value.duration / B0)), Me = Z(() => [{
53946
53955
  label: `自动 · ${Math.round(je.value)}×`,
53947
53956
  value: 0
53948
53957
  }, ...o.map((e) => ({
@@ -53952,7 +53961,7 @@ var O1 = {
53952
53961
  function Pe(e) {
53953
53962
  let t = ee ? Math.min(e - ee, 250) : 0;
53954
53963
  ee = e;
53955
- let n = Se.value.length <= R0 || e - D >= L0;
53964
+ let n = Se.value.length <= z0 || e - D >= R0;
53956
53965
  O.playing && (te += t * Ne.value, te >= ye.value.duration ? Object.assign(O, {
53957
53966
  position: null,
53958
53967
  playing: !1
@@ -54005,15 +54014,15 @@ var O1 = {
54005
54014
  let t = e.filter((e) => !Ve.has(e));
54006
54015
  t.forEach((e) => Ve.add(e)), t.length && (Be.value = /* @__PURE__ */ new Set([...Be.value, ...t]), setTimeout(() => {
54007
54016
  Be.value = new Set([...Be.value].filter((e) => !t.includes(e)));
54008
- }, B0));
54017
+ }, V0));
54009
54018
  }), R([me, d], () => {
54010
54019
  Ve = null;
54011
54020
  });
54012
- let Ue = Z(() => h1(Ce.value, ke.value)), We = Z(() => x1(Te.value, Math.min(G0, Math.max(W0, Math.round((l.value || 540) / U0))), De.value).map((e) => ({
54021
+ let Ue = Z(() => g1(Ce.value, ke.value)), We = Z(() => S1(Te.value, Math.min(K0, Math.max(G0, Math.round((l.value || 540) / W0))), De.value).map((e) => ({
54013
54022
  ...e,
54014
54023
  x: (e.x - De.value.from) / De.value.span
54015
- }))), Ge = Z(() => D1(Se.value, xe.value)), Ke = Z(() => Se.value.filter((e) => e.has_children).map((e) => e.key)), qe = Z(() => Se.value.find((e) => e.key === y.value)), Je = Z(() => qe.value ? l1(qe.value, _.value.get(qe.value.item.id)) : []), Ye = Z(() => {
54016
- let e = Se.value, t = new Set(e.flatMap((e) => e.segments.map((e) => t1[e.phase])));
54024
+ }))), Ge = Z(() => O1(Se.value, xe.value)), Ke = Z(() => Se.value.filter((e) => e.has_children).map((e) => e.key)), qe = Z(() => Se.value.find((e) => e.key === y.value)), Je = Z(() => qe.value ? u1(qe.value, _.value.get(qe.value.item.id)) : []), Ye = Z(() => {
54025
+ let e = Se.value, t = new Set(e.flatMap((e) => e.segments.map((e) => n1[e.phase])));
54017
54026
  return [
54018
54027
  ...e.some((e) => e.queue[1] > e.queue[0]) ? [["queue", "排队"]] : [],
54019
54028
  ...e.some((e) => e.wake) ? [["wake", "唤醒"]] : [],
@@ -54026,10 +54035,10 @@ var O1 = {
54026
54035
  ];
54027
54036
  }), Xe = Z(() => Se.value.length > 0 && Se.value.every((e) => !e.segments.length)), Ze = Z(() => {
54028
54037
  let e = /* @__PURE__ */ new Map();
54029
- for (let t of [...Se.value].sort((e, t) => e.start - t.start)) e.has(t.item.member) || e.set(t.item.member, e.size % Z0 + 1);
54038
+ for (let t of [...Se.value].sort((e, t) => e.start - t.start)) e.has(t.item.member) || e.set(t.item.member, e.size % Q0 + 1);
54030
54039
  return e;
54031
54040
  }), Qe = Z(() => {
54032
- let e = Q0 / (l.value || 800), t = [];
54041
+ let e = $0 / (l.value || 800), t = [];
54033
54042
  for (let n of ke.value.folds) {
54034
54043
  let r = n.from + n.width / 2;
54035
54044
  r < 0 || r > 1 || (!t.length || r - t.at(-1).middle >= e) && t.push({
@@ -54039,12 +54048,12 @@ var O1 = {
54039
54048
  }
54040
54049
  return t;
54041
54050
  }), $e = Z(() => {
54042
- let e = Q0 / (l.value || 800);
54051
+ let e = $0 / (l.value || 800);
54043
54052
  return We.value.filter((t) => !Qe.value.some((n) => Math.abs(t.x - n.middle) < e));
54044
54053
  });
54045
54054
  function et(e, t) {
54046
54055
  if (y.value = y.value === e.key ? "" : e.key, !y.value) return;
54047
- let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(K0, r.width - 16);
54056
+ let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(q0, r.width - 16);
54048
54057
  b.value = {
54049
54058
  top: n.bottom - r.top + 4,
54050
54059
  left: Math.max(8, Math.min(n.left - r.left, r.width - i - 8))
@@ -54071,15 +54080,15 @@ var O1 = {
54071
54080
  function it(e) {
54072
54081
  return [...e.item.source === "discussion" ? ["讨论"] : [], ...e.item.role === "host" ? ["主持"] : []];
54073
54082
  }
54074
- let at = (e) => c1(e, xe.value);
54083
+ let at = (e) => l1(e, xe.value);
54075
54084
  function ot(e) {
54076
54085
  let t = [
54077
54086
  i.display_name(e.item.member),
54078
54087
  rt(e),
54079
- n1[e.item.state],
54080
- `用时 ${a1(e.end - e.start)}`
54088
+ r1[e.item.state],
54089
+ `用时 ${o1(e.end - e.start)}`
54081
54090
  ];
54082
- return e.wake && t.push(`唤醒 ${a1(e.wake[1] - e.wake[0])}${e.wake_approx ? "(约)" : ""}`), !e.segments.length && e.work && t.push("无阶段明细"), e.notes.length && t.push(`${e.notes.length} 段过程说明`), t.join(",");
54091
+ return e.wake && t.push(`唤醒 ${o1(e.wake[1] - e.wake[0])}${e.wake_approx ? "(约)" : ""}`), !e.segments.length && e.work && t.push("无阶段明细"), e.notes.length && t.push(`${e.notes.length} 段过程说明`), t.join(",");
54083
54092
  }
54084
54093
  async function st(e) {
54085
54094
  let t = e.item.id;
@@ -54103,7 +54112,7 @@ var O1 = {
54103
54112
  let i = e.currentTarget.getBoundingClientRect(), a = n.note ? {
54104
54113
  notes: [n.note],
54105
54114
  earlier: !1
54106
- } : d1(t.notes, n.start, n.end), o = Math.min(360, window.innerWidth - 16), s = i.bottom + 6, c = s + 160 > window.innerHeight && i.top > 200 ? Math.max(8, i.top - 6 - 200) : s;
54115
+ } : f1(t.notes, n.start, n.end), o = Math.min(360, window.innerWidth - 16), s = i.bottom + 6, c = s + 160 > window.innerHeight && i.top > 200 ? Math.max(8, i.top - 6 - 200) : s;
54107
54116
  v.value = {
54108
54117
  key: t.key,
54109
54118
  id: dt(t, n),
@@ -54127,7 +54136,7 @@ var O1 = {
54127
54136
  }
54128
54137
  let ht = Z(() => {
54129
54138
  let e = v.value?.piece;
54130
- return e ? e.note ? `过程说明 · ${ct(e.note.at)}` : `${e.kind === "segment" ? `${e1[e.phase]}${e.tool ? ` · ${e.tool}` : ""}` : e.label} · ${a1(e.end - e.start)}${e.live ? " · 进行中" : ""}` : "";
54139
+ return e ? e.note ? `过程说明 · ${ct(e.note.at)}` : `${e.kind === "segment" ? `${t1[e.phase]}${e.tool ? ` · ${e.tool}` : ""}` : e.label} · ${o1(e.end - e.start)}${e.live ? " · 进行中" : ""}` : "";
54131
54140
  }), gt = Z(() => {
54132
54141
  if (!v.value) return [];
54133
54142
  let e = _.value.get(v.value.row.item.id);
@@ -54138,17 +54147,17 @@ var O1 = {
54138
54147
  });
54139
54148
  return (e, t) => {
54140
54149
  let r = bH, o = sA, s = pA;
54141
- return U(), W("section", O1, [
54150
+ return U(), W("section", k1, [
54142
54151
  t[30] ||= K("div", { class: "page-heading" }, [K("div", null, [K("h2", null, "执行时间线"), K("p", null, "本机接入程序唤醒的每次执行;点名字看详情,悬停条形看当时的过程说明。")])], -1),
54143
- m.value ? (U(), W("p", k1, P(m.value), 1)) : Y("", !0),
54144
- re.value && !Se.value.length ? (U(), W("p", A1, "还没有执行记录。")) : Y("", !0),
54152
+ m.value ? (U(), W("p", A1, P(m.value), 1)) : Y("", !0),
54153
+ re.value && !Se.value.length ? (U(), W("p", j1, "还没有执行记录。")) : Y("", !0),
54145
54154
  Se.value.length ? (U(), W("div", {
54146
54155
  key: 2,
54147
54156
  ref_key: "wf_element",
54148
54157
  ref: x,
54149
54158
  class: "wf"
54150
54159
  }, [
54151
- K("header", j1, [
54160
+ K("header", M1, [
54152
54161
  t[12] ||= K("span", { class: "wf-title" }, "执行瀑布", -1),
54153
54162
  q(r, {
54154
54163
  modelValue: fe.value,
@@ -54167,17 +54176,17 @@ var O1 = {
54167
54176
  trailingIcon: "wf-select-icon"
54168
54177
  }
54169
54178
  }, null, 8, ["modelValue", "items"]),
54170
- be.value ? (U(), W("span", M1, "回放中 · " + P(ct(xe.value)), 1)) : (U(), W("span", {
54179
+ be.value ? (U(), W("span", N1, "回放中 · " + P(ct(xe.value)), 1)) : (U(), W("span", {
54171
54180
  key: 1,
54172
54181
  class: j(["wf-state", { "is-live": Ge.value.running }])
54173
54182
  }, P(Ge.value.running ? `${Ge.value.running} 个进行中` : "均已结束"), 3)),
54174
- Ge.value.slowest ? (U(), W("span", N1, [
54183
+ Ge.value.slowest ? (U(), W("span", P1, [
54175
54184
  t[11] ||= J("最慢一步 ", -1),
54176
- K("b", null, [J(P(I(i).display_name(Ge.value.slowest.member)) + " · " + P(I(e1)[Ge.value.slowest.phase]), 1), Ge.value.slowest.tool ? (U(), W(H, { key: 0 }, [J(P(Ge.value.slowest.tool), 1)], 64)) : Y("", !0)]),
54177
- J(" · " + P(I(a1)(Ge.value.slowest.end - Ge.value.slowest.start)), 1)
54185
+ K("b", null, [J(P(I(i).display_name(Ge.value.slowest.member)) + " · " + P(I(t1)[Ge.value.slowest.phase]), 1), Ge.value.slowest.tool ? (U(), W(H, { key: 0 }, [J(P(Ge.value.slowest.tool), 1)], 64)) : Y("", !0)]),
54186
+ J(" · " + P(I(o1)(Ge.value.slowest.end - Ge.value.slowest.start)), 1)
54178
54187
  ])) : Y("", !0)
54179
54188
  ]),
54180
- K("dl", P1, [
54189
+ K("dl", F1, [
54181
54190
  K("div", null, [t[13] ||= K("dt", null, "执行", -1), K("dd", null, [(U(), W("span", {
54182
54191
  key: Ge.value.executions,
54183
54192
  class: "wf-roll"
@@ -54193,17 +54202,17 @@ var O1 = {
54193
54202
  K("div", { title: `超过 ${a} 分钟没有输出` }, [t[16] ||= K("dt", null, "可能卡住", -1), K("dd", { class: j(Ge.value.stalled ? "is-warn" : "is-zero") }, [(U(), W("span", {
54194
54203
  key: Ge.value.stalled,
54195
54204
  class: "wf-roll"
54196
- }, P(Ge.value.stalled), 1))], 2)], 8, F1),
54197
- K("div", { title: Te.value.folds.length ? `已折叠 ${Te.value.folds.length} 段超过 ${I(r1) / 6e4} 分钟的空闲` : void 0 }, [t[17] ||= K("dt", null, "有效时长", -1), K("dd", null, P(I(a1)(Te.value.busy_ms)), 1)], 8, I1),
54198
- K("div", L1, [t[19] ||= K("dt", null, "工具与命令", -1), K("dd", { class: j({ "is-zero": !Ge.value.tool_segments }) }, [(U(), W("span", {
54205
+ }, P(Ge.value.stalled), 1))], 2)], 8, I1),
54206
+ K("div", { title: Te.value.folds.length ? `已折叠 ${Te.value.folds.length} 段超过 ${I(i1) / 6e4} 分钟的空闲` : void 0 }, [t[17] ||= K("dt", null, "有效时长", -1), K("dd", null, P(I(o1)(Te.value.busy_ms)), 1)], 8, L1),
54207
+ K("div", R1, [t[19] ||= K("dt", null, "工具与命令", -1), K("dd", { class: j({ "is-zero": !Ge.value.tool_segments }) }, [(U(), W("span", {
54199
54208
  key: Ge.value.tool_segments,
54200
54209
  class: "wf-roll"
54201
54210
  }, P(Ge.value.tool_segments), 1)), t[18] ||= J(" 段", -1)], 2)])
54202
54211
  ]),
54203
- K("ul", R1, [
54212
+ K("ul", z1, [
54204
54213
  (U(!0), W(H, null, B(Ye.value, ([e, t]) => (U(), W("li", { key: e }, [K("i", { class: j(["wf-swatch", `is-${e}`]) }, null, 2), J(P(t), 1)]))), 128)),
54205
- Ze.value.size > 1 ? (U(), W("li", z1, "颜色区分成员,深浅区分模型与工具")) : Y("", !0),
54206
- Xe.value ? (U(), W("li", B1, "这些执行都没有阶段明细:发生在接入程序上报阶段之前,或来自手动接入、在线 AI、Codex App")) : Y("", !0)
54214
+ Ze.value.size > 1 ? (U(), W("li", B1, "颜色区分成员,深浅区分模型与工具")) : Y("", !0),
54215
+ Xe.value ? (U(), W("li", V1, "这些执行都没有阶段明细:发生在接入程序上报阶段之前,或来自手动接入、在线 AI、Codex App")) : Y("", !0)
54207
54216
  ]),
54208
54217
  K("div", {
54209
54218
  class: j(["wf-grid", {
@@ -54211,7 +54220,7 @@ var O1 = {
54211
54220
  "is-panning": I(ie)
54212
54221
  }]),
54213
54222
  role: "list",
54214
- style: A({ "--wf-depth-px": `${H0}px` }),
54223
+ style: A({ "--wf-depth-px": `${U0}px` }),
54215
54224
  onWheel: oe,
54216
54225
  onMousedown: le,
54217
54226
  onPointerdown: k,
@@ -54219,14 +54228,14 @@ var O1 = {
54219
54228
  onPointerup: ce,
54220
54229
  onPointercancel: ce
54221
54230
  }, [
54222
- K("div", V1, [
54231
+ K("div", H1, [
54223
54232
  K("span", null, "执行 · " + P(Ce.value.length) + "/" + P(Se.value.length), 1),
54224
- Oe.value ? (U(), W("span", H1, [J("放大 " + P((1 / De.value.span).toFixed(1)) + "×", 1), K("button", {
54233
+ Oe.value ? (U(), W("span", U1, [J("放大 " + P((1 / De.value.span).toFixed(1)) + "×", 1), K("button", {
54225
54234
  type: "button",
54226
54235
  class: "wf-text-button",
54227
54236
  onClick: t[1] ||= (e) => De.value = Ee
54228
- }, "重置")])) : (U(), W("span", U1, "Ctrl + 滚轮缩放")),
54229
- Ke.value.length ? (U(), W("span", W1, [K("button", {
54237
+ }, "重置")])) : (U(), W("span", W1, "Ctrl + 滚轮缩放")),
54238
+ Ke.value.length ? (U(), W("span", G1, [K("button", {
54230
54239
  type: "button",
54231
54240
  class: "wf-text-button",
54232
54241
  onClick: t[2] ||= (e) => g.value = /* @__PURE__ */ new Set()
@@ -54253,7 +54262,7 @@ var O1 = {
54253
54262
  class: "wf-fold-label",
54254
54263
  style: A({ left: `${e.middle * 100}%` }),
54255
54264
  title: `${ct(e.start)} – ${ct(e.end)} 没有执行,已折叠`
54256
- }, "⋯ " + P(I(a1)(e.end - e.start)), 13, G1))), 128)),
54265
+ }, "⋯ " + P(I(o1)(e.end - e.start)), 13, K1))), 128)),
54257
54266
  Ae.value === null ? Y("", !0) : (U(), W("span", {
54258
54267
  key: 0,
54259
54268
  class: "wf-cursor-head",
@@ -54273,7 +54282,7 @@ var O1 = {
54273
54282
  class: "wf-label",
54274
54283
  style: A({ "--depth": e.depth })
54275
54284
  }, [
54276
- e.depth ? (U(), W("span", K1)) : Y("", !0),
54285
+ e.depth ? (U(), W("span", q1)) : Y("", !0),
54277
54286
  e.has_children ? (U(), W("button", {
54278
54287
  key: 1,
54279
54288
  type: "button",
@@ -54281,7 +54290,7 @@ var O1 = {
54281
54290
  "aria-expanded": !g.value.has(e.key),
54282
54291
  "aria-label": `${g.value.has(e.key) ? "展开" : "收起"} ${I(i).display_name(e.item.member)} 派出的执行`,
54283
54292
  onClick: (t) => tt(e.key)
54284
- }, [q(o, { name: "i-lucide-chevron-right" })], 10, q1)) : (U(), W("span", J1)),
54293
+ }, [q(o, { name: "i-lucide-chevron-right" })], 10, J1)) : (U(), W("span", Y1)),
54285
54294
  q(s, {
54286
54295
  src: I(i).identities[e.item.member]?.icon,
54287
54296
  text: I(i).identities[e.item.member]?.initials,
@@ -54300,29 +54309,29 @@ var O1 = {
54300
54309
  "aria-expanded": y.value === e.key,
54301
54310
  onClick: (t) => et(e, t),
54302
54311
  onMouseenter: (t) => ft(t, e, {
54303
- label: I(n1)[e.item.state],
54312
+ label: I(r1)[e.item.state],
54304
54313
  start: e.start,
54305
54314
  end: e.end,
54306
54315
  text: at(e).text,
54307
54316
  live: e.item.state === "running"
54308
54317
  }),
54309
54318
  onMouseleave: (t) => mt(e)
54310
- }, [K("span", X1, [
54311
- e.item.state === "running" ? (U(), W("i", Z1)) : Y("", !0),
54319
+ }, [K("span", Z1, [
54320
+ e.item.state === "running" ? (U(), W("i", Q1)) : Y("", !0),
54312
54321
  K("strong", null, P(I(i).display_name(e.item.member)), 1),
54313
54322
  (U(!0), W(H, null, B(it(e), (e) => (U(), W("em", {
54314
54323
  key: e,
54315
54324
  class: "wf-pill is-role"
54316
54325
  }, P(e), 1))), 128)),
54317
- Ge.value.slowest?.row === e.key ? (U(), W("em", Q1, "最慢")) : Y("", !0)
54318
- ]), K("span", { class: j(["wf-status", `is-${at(e).tone}`]) }, [at(e).tone === "live" ? (U(), W("i", $1)) : Y("", !0), J(P(at(e).text), 1)], 2)], 40, Y1)
54326
+ Ge.value.slowest?.row === e.key ? (U(), W("em", $1, "最慢")) : Y("", !0)
54327
+ ]), K("span", { class: j(["wf-status", `is-${at(e).tone}`]) }, [at(e).tone === "live" ? (U(), W("i", e0)) : Y("", !0), J(P(at(e).text), 1)], 2)], 40, X1)
54319
54328
  ], 4),
54320
54329
  K("div", {
54321
54330
  class: "wf-lane",
54322
54331
  role: "img",
54323
54332
  "aria-label": ot(e),
54324
54333
  onMouseleave: (t) => mt(e)
54325
- }, [K("div", t0, [
54334
+ }, [K("div", n0, [
54326
54335
  (U(!0), W(H, null, B($e.value, (e) => (U(), W("i", {
54327
54336
  key: e.at,
54328
54337
  class: "wf-gridline",
@@ -54342,7 +54351,7 @@ var O1 = {
54342
54351
  class: j(["wf-link", `is-${e.part}`]),
54343
54352
  "data-tone": Ze.value.get(e.member),
54344
54353
  style: A({ left: `${e.x * 100}%` })
54345
- }, null, 14, n0))), 128)),
54354
+ }, null, 14, r0))), 128)),
54346
54355
  Ae.value === null ? Y("", !0) : (U(), W("i", {
54347
54356
  key: 0,
54348
54357
  class: "wf-cursor",
@@ -54361,7 +54370,7 @@ var O1 = {
54361
54370
  start: e.queue[0],
54362
54371
  end: e.queue[1]
54363
54372
  })
54364
- }, null, 44, r0),
54373
+ }, null, 44, i0),
54365
54374
  e.wake ? (U(), W("i", {
54366
54375
  key: 1,
54367
54376
  class: "wf-bar is-wake",
@@ -54376,7 +54385,7 @@ var O1 = {
54376
54385
  start: e.wake[0],
54377
54386
  end: e.wake[1]
54378
54387
  })
54379
- }, null, 44, i0)) : Y("", !0),
54388
+ }, null, 44, a0)) : Y("", !0),
54380
54389
  e.work ? (U(), W("i", {
54381
54390
  key: 2,
54382
54391
  class: j(["wf-bar is-work", { "has-detail": e.segments.length }]),
@@ -54394,9 +54403,9 @@ var O1 = {
54394
54403
  end: e.work[1],
54395
54404
  live: e.item.state === "running"
54396
54405
  })
54397
- }, null, 46, a0)) : Y("", !0),
54406
+ }, null, 46, o0)) : Y("", !0),
54398
54407
  (U(!0), W(H, null, B(e.segments, (t) => (U(), W(H, { key: t.start + t.phase }, [K("i", {
54399
- class: j(["wf-bar wf-seg", [`is-${I(t1)[t.phase]}`, { "is-live": t.live }]]),
54408
+ class: j(["wf-bar wf-seg", [`is-${I(n1)[t.phase]}`, { "is-live": t.live }]]),
54400
54409
  "data-tone": Ze.value.get(e.item.member),
54401
54410
  style: A(nt(t.start, t.seen, !0)),
54402
54411
  onMouseenter: (n) => ft(n, e, {
@@ -54407,9 +54416,9 @@ var O1 = {
54407
54416
  kind: "segment",
54408
54417
  ...t
54409
54418
  })
54410
- }, null, 46, o0), t.end > t.seen ? (U(), W("i", {
54419
+ }, null, 46, s0), t.end > t.seen ? (U(), W("i", {
54411
54420
  key: 0,
54412
- class: j(["wf-bar wf-seg is-tail", `is-${I(t1)[t.phase]}`]),
54421
+ class: j(["wf-bar wf-seg is-tail", `is-${I(n1)[t.phase]}`]),
54413
54422
  "data-tone": Ze.value.get(e.item.member),
54414
54423
  style: A(nt(t.seen, t.end)),
54415
54424
  onMouseenter: (n) => ft(n, e, {
@@ -54420,7 +54429,7 @@ var O1 = {
54420
54429
  kind: "segment",
54421
54430
  ...t
54422
54431
  })
54423
- }, null, 46, s0)) : Y("", !0)], 64))), 128)),
54432
+ }, null, 46, c0)) : Y("", !0)], 64))), 128)),
54424
54433
  (U(!0), W(H, null, B(e.notes, (t) => (U(), W("button", {
54425
54434
  key: `note-${t.index}`,
54426
54435
  type: "button",
@@ -54443,15 +54452,15 @@ var O1 = {
54443
54452
  end: t.at
54444
54453
  }),
54445
54454
  onBlur: (t) => mt(e)
54446
- }, null, 44, c0))), 128))
54447
- ])], 40, e0),
54448
- K("span", l0, [
54449
- J(P(I(a1)(e.end - e.start)) + P(e.wake_approx && e.wake ? "~" : ""), 1),
54455
+ }, null, 44, l0))), 128))
54456
+ ])], 40, t0),
54457
+ K("span", u0, [
54458
+ J(P(I(o1)(e.end - e.start)) + P(e.wake_approx && e.wake ? "~" : ""), 1),
54450
54459
  e.item.state === "done" ? Y("", !0) : (U(), W("small", {
54451
54460
  key: 0,
54452
54461
  class: j(`is-${e.item.state}`)
54453
- }, P(I(n1)[e.item.state]), 3)),
54454
- e.truncated ? (U(), W("small", u0, "明细已截断")) : Y("", !0)
54462
+ }, P(I(r1)[e.item.state]), 3)),
54463
+ e.truncated ? (U(), W("small", d0, "明细已截断")) : Y("", !0)
54455
54464
  ])
54456
54465
  ], 2))), 128))
54457
54466
  ], 38),
@@ -54465,9 +54474,9 @@ var O1 = {
54465
54474
  left: `${b.value.left}px`
54466
54475
  })
54467
54476
  }, [
54468
- K("header", f0, [
54477
+ K("header", p0, [
54469
54478
  K("strong", null, P(I(i).display_name(qe.value.item.member)), 1),
54470
- K("small", null, P(rt(qe.value)) + " · " + P(I(n1)[qe.value.item.state]) + " · " + P(I(a1)(qe.value.end - qe.value.start)), 1),
54479
+ K("small", null, P(rt(qe.value)) + " · " + P(I(r1)[qe.value.item.state]) + " · " + P(I(o1)(qe.value.end - qe.value.start)), 1),
54471
54480
  K("button", {
54472
54481
  type: "button",
54473
54482
  class: "wf-card-close",
@@ -54476,47 +54485,47 @@ var O1 = {
54476
54485
  }, [q(o, { name: "i-lucide-x" })])
54477
54486
  ]),
54478
54487
  K("dl", null, [
54479
- qe.value.item.task ? (U(), W("div", p0, [t[22] ||= K("dt", null, "任务", -1), K("dd", null, [J(P(qe.value.item.task), 1), qe.value.item.task_id ? (U(), W("button", {
54488
+ qe.value.item.task ? (U(), W("div", m0, [t[22] ||= K("dt", null, "任务", -1), K("dd", null, [J(P(qe.value.item.task), 1), qe.value.item.task_id ? (U(), W("button", {
54480
54489
  key: 0,
54481
54490
  type: "button",
54482
54491
  class: "subtle-link",
54483
54492
  onClick: t[6] ||= (e) => n("detail", qe.value.item.task_id)
54484
54493
  }, "#" + P(qe.value.item.task_id), 1)) : Y("", !0)])])) : Y("", !0),
54485
- qe.value.item.state === "failed" ? (U(), W("div", m0, [t[23] ||= K("dt", null, "失败原因", -1), K("dd", h0, P(qe.value.item.reason || "执行失败"), 1)])) : qe.value.item.result || qe.value.item.answer_id ? (U(), W("div", g0, [t[24] ||= K("dt", null, "结果", -1), K("dd", null, [J(P(qe.value.item.result), 1), qe.value.item.answer_id ? (U(), W("button", {
54494
+ qe.value.item.state === "failed" ? (U(), W("div", h0, [t[23] ||= K("dt", null, "失败原因", -1), K("dd", g0, P(qe.value.item.reason || "执行失败"), 1)])) : qe.value.item.result || qe.value.item.answer_id ? (U(), W("div", _0, [t[24] ||= K("dt", null, "结果", -1), K("dd", null, [J(P(qe.value.item.result), 1), qe.value.item.answer_id ? (U(), W("button", {
54486
54495
  key: 0,
54487
54496
  type: "button",
54488
54497
  class: "subtle-link",
54489
54498
  onClick: t[7] ||= (e) => n("detail", qe.value.item.answer_id)
54490
54499
  }, "在消息中查看 #" + P(qe.value.item.answer_id), 1)) : Y("", !0)])])) : Y("", !0),
54491
- qe.value.item.changes ? (U(), W("div", _0, [t[25] ||= K("dt", null, "改动", -1), K("dd", null, P(qe.value.item.changes) + " 个文件", 1)])) : Y("", !0)
54500
+ qe.value.item.changes ? (U(), W("div", v0, [t[25] ||= K("dt", null, "改动", -1), K("dd", null, P(qe.value.item.changes) + " 个文件", 1)])) : Y("", !0)
54492
54501
  ]),
54493
- Je.value.length ? (U(), W("ol", v0, [(U(!0), W(H, null, B(Je.value, (e) => (U(), W("li", {
54502
+ Je.value.length ? (U(), W("ol", y0, [(U(!0), W(H, null, B(Je.value, (e) => (U(), W("li", {
54494
54503
  key: `${e.kind}-${e.at}-${e.phase || ""}`,
54495
54504
  class: j(`log-${e.kind}`)
54496
54505
  }, [K("time", null, P(ct(e.at)), 1), e.kind === "phase" ? (U(), W(H, { key: 0 }, [K("i", {
54497
- class: j(["wf-swatch", `is-${I(t1)[e.phase]}`]),
54506
+ class: j(["wf-swatch", `is-${I(n1)[e.phase]}`]),
54498
54507
  "data-tone": Ze.value.get(qe.value.item.member),
54499
54508
  "aria-hidden": "true"
54500
- }, null, 10, y0), K("span", null, [
54501
- J(P(I(e1)[e.phase]), 1),
54509
+ }, null, 10, b0), K("span", null, [
54510
+ J(P(I(t1)[e.phase]), 1),
54502
54511
  e.tool ? (U(), W(H, { key: 0 }, [J(" · " + P(e.tool), 1)], 64)) : Y("", !0),
54503
- J(" · " + P(e.live ? "进行中" : I(a1)(e.duration)), 1)
54504
- ])], 64)) : (U(), W("span", b0, P(e.text), 1))], 2))), 128))])) : (U(), W("p", x0, "这次执行没有阶段明细或过程说明。"))
54505
- ], 12, d0)) : Y("", !0),
54506
- me.value === Y0 ? (U(), W("div", S0, [...t[26] ||= [K("span", { class: "wf-player-note" }, "回放按轮进行:在上方选一轮即可回放", -1)]])) : (U(), W("div", C0, [ve.value ? (U(), W(H, { key: 0 }, [t[27] ||= K("span", { class: "wf-state is-live" }, "实时", -1), t[28] ||= K("span", { class: "wf-player-note" }, "这一轮结束后可以回放", -1)], 64)) : (U(), W(H, { key: 1 }, [
54512
+ J(" · " + P(e.live ? "进行中" : I(o1)(e.duration)), 1)
54513
+ ])], 64)) : (U(), W("span", x0, P(e.text), 1))], 2))), 128))])) : (U(), W("p", S0, "这次执行没有阶段明细或过程说明。"))
54514
+ ], 12, f0)) : Y("", !0),
54515
+ me.value === X0 ? (U(), W("div", C0, [...t[26] ||= [K("span", { class: "wf-player-note" }, "回放按轮进行:在上方选一轮即可回放", -1)]])) : (U(), W("div", w0, [ve.value ? (U(), W(H, { key: 0 }, [t[27] ||= K("span", { class: "wf-state is-live" }, "实时", -1), t[28] ||= K("span", { class: "wf-player-note" }, "这一轮结束后可以回放", -1)], 64)) : (U(), W(H, { key: 1 }, [
54507
54516
  K("button", {
54508
54517
  type: "button",
54509
54518
  class: "wf-player-button",
54510
54519
  "aria-label": O.playing ? "暂停回放" : "回放这一轮",
54511
54520
  onClick: t[8] ||= (e) => O.playing ? Le() : Fe()
54512
- }, [q(o, { name: O.playing ? "i-lucide-pause" : "i-lucide-play" }, null, 8, ["name"])], 8, w0),
54521
+ }, [q(o, { name: O.playing ? "i-lucide-pause" : "i-lucide-play" }, null, 8, ["name"])], 8, T0),
54513
54522
  K("button", {
54514
54523
  type: "button",
54515
54524
  class: "wf-player-button",
54516
54525
  "aria-label": "从头回放",
54517
54526
  disabled: !be.value,
54518
54527
  onClick: Re
54519
- }, [q(o, { name: "i-lucide-rotate-ccw" })], 8, T0),
54528
+ }, [q(o, { name: "i-lucide-rotate-ccw" })], 8, E0),
54520
54529
  q(r, {
54521
54530
  modelValue: O.speed,
54522
54531
  "onUpdate:modelValue": t[9] ||= (e) => O.speed = e,
@@ -54543,13 +54552,13 @@ var O1 = {
54543
54552
  value: be.value ? O.position : ye.value.duration,
54544
54553
  "aria-label": "回放位置",
54545
54554
  onInput: ze
54546
- }, null, 40, E0),
54547
- K("span", D0, P(I(a1)(be.value ? O.position : ye.value.duration)) + " / " + P(I(a1)(ye.value.duration)), 1)
54555
+ }, null, 40, D0),
54556
+ K("span", O0, P(I(o1)(be.value ? O.position : ye.value.duration)) + " / " + P(I(o1)(ye.value.duration)), 1)
54548
54557
  ], 64))])),
54549
- Te.value.folds.length || re.value.executions.length >= re.value.execution_limit ? (U(), W("footer", O0, [Te.value.folds.length ? (U(), W("span", k0, [t[29] ||= K("i", {
54558
+ Te.value.folds.length || re.value.executions.length >= re.value.execution_limit ? (U(), W("footer", k0, [Te.value.folds.length ? (U(), W("span", A0, [t[29] ||= K("i", {
54550
54559
  class: "wf-swatch is-fold",
54551
54560
  "aria-hidden": "true"
54552
- }, null, -1), J("已折叠 " + P(Te.value.folds.length) + " 段超过 " + P(I(r1) / 6e4) + " 分钟的空闲", 1)])) : Y("", !0), re.value.executions.length >= re.value.execution_limit ? (U(), W("span", A0, "只列出最近 " + P(re.value.execution_limit) + " 次讨论执行与 " + P(re.value.execution_limit) + " 次协作执行", 1)) : Y("", !0)])) : Y("", !0)
54561
+ }, null, -1), J("已折叠 " + P(Te.value.folds.length) + " 段超过 " + P(I(i1) / 6e4) + " 分钟的空闲", 1)])) : Y("", !0), re.value.executions.length >= re.value.execution_limit ? (U(), W("span", j0, "只列出最近 " + P(re.value.execution_limit) + " 次讨论执行与 " + P(re.value.execution_limit) + " 次协作执行", 1)) : Y("", !0)])) : Y("", !0)
54553
54562
  ], 512)) : Y("", !0),
54554
54563
  v.value ? (U(), W("div", {
54555
54564
  key: 3,
@@ -54569,79 +54578,79 @@ var O1 = {
54569
54578
  onClick: t[10] ||= (e) => v.value = null
54570
54579
  }, [q(o, { name: "i-lucide-x" })])) : Y("", !0),
54571
54580
  K("small", null, [J(P(ct(v.value.piece.start)), 1), v.value.piece.end > v.value.piece.start ? (U(), W(H, { key: 0 }, [J(" – " + P(v.value.piece.live ? "现在" : ct(v.value.piece.end)), 1)], 64)) : Y("", !0)]),
54572
- v.value.piece.text ? (U(), W("p", M0, P(v.value.piece.text), 1)) : v.value.row.item.reason ? (U(), W("p", N0, P(v.value.row.item.reason), 1)) : Y("", !0),
54573
- gt.value.length ? (U(), W(H, { key: 3 }, [K("small", P0, P(v.value.related.earlier ? "此前的过程说明" : "过程说明"), 1), K("ol", null, [(U(!0), W(H, null, B(gt.value, (e) => (U(), W("li", { key: e.at + e.text }, [K("time", null, P(ct(e.at)), 1), J(P(e.text), 1)]))), 128))])], 64)) : Y("", !0)
54574
- ], 14, j0)) : Y("", !0)
54581
+ v.value.piece.text ? (U(), W("p", N0, P(v.value.piece.text), 1)) : v.value.row.item.reason ? (U(), W("p", P0, P(v.value.row.item.reason), 1)) : Y("", !0),
54582
+ gt.value.length ? (U(), W(H, { key: 3 }, [K("small", F0, P(v.value.related.earlier ? "此前的过程说明" : "过程说明"), 1), K("ol", null, [(U(!0), W(H, null, B(gt.value, (e) => (U(), W("li", { key: e.at + e.text }, [K("time", null, P(ct(e.at)), 1), J(P(e.text), 1)]))), 128))])], 64)) : Y("", !0)
54583
+ ], 14, M0)) : Y("", !0)
54575
54584
  ]);
54576
54585
  };
54577
54586
  }
54578
- }, [["__scopeId", "data-v-ae571187"]]), e2 = {
54587
+ }, [["__scopeId", "data-v-ae571187"]]), t2 = {
54579
54588
  id: "channel-sidebar",
54580
54589
  class: "channel-sidebar",
54581
54590
  "aria-label": "房间导航"
54582
- }, t2 = { class: "channel-sidebar-content" }, n2 = { class: "channel-directory-heading channel-tools-heading" }, r2 = ["aria-expanded"], i2 = { class: "channel-sidebar-footer" }, a2 = ["aria-label"], o2 = { class: "channel-self" }, s2 = ["title"], c2 = [
54591
+ }, n2 = { class: "channel-sidebar-content" }, r2 = { class: "channel-directory-heading channel-tools-heading" }, i2 = ["aria-expanded"], a2 = { class: "channel-sidebar-footer" }, o2 = ["aria-label"], s2 = { class: "channel-self" }, c2 = ["title"], l2 = [
54583
54592
  "aria-valuemax",
54584
54593
  "aria-valuenow",
54585
54594
  "aria-valuetext"
54586
- ], l2 = { class: "channel-main" }, u2 = { class: "channel-header" }, d2 = { class: "channel-title-icon" }, f2 = { class: "channel-title" }, p2 = { class: "channel-title-copy" }, m2 = ["title"], h2 = {
54595
+ ], u2 = { class: "channel-main" }, d2 = { class: "channel-header" }, f2 = { class: "channel-title-icon" }, p2 = { class: "channel-title" }, m2 = { class: "channel-title-copy" }, h2 = ["title"], g2 = {
54587
54596
  key: 2,
54588
54597
  class: "channel-header-context"
54589
- }, g2 = { class: "channel-header-actions" }, _2 = {
54598
+ }, _2 = { class: "channel-header-actions" }, v2 = {
54590
54599
  key: 0,
54591
54600
  class: "channel-launch-recovery",
54592
54601
  "aria-label": "未完成的创建或启动请求"
54593
- }, v2 = { role: "status" }, y2 = { class: "button-row" }, b2 = {
54602
+ }, y2 = { role: "status" }, b2 = { class: "button-row" }, x2 = {
54594
54603
  key: 1,
54595
54604
  class: "channel-tabbar"
54596
- }, x2 = { class: "channel-brief-inner" }, S2 = { class: "channel-brief-heading" }, C2 = ["aria-label", "aria-expanded"], w2 = {
54605
+ }, S2 = { class: "channel-brief-inner" }, C2 = { class: "channel-brief-heading" }, w2 = ["aria-label", "aria-expanded"], T2 = {
54597
54606
  key: 0,
54598
54607
  class: "channel-brief-preview"
54599
- }, T2 = {
54608
+ }, E2 = {
54600
54609
  id: "channel-brief-content",
54601
54610
  class: "channel-brief-content"
54602
- }, E2 = ["innerHTML"], D2 = { class: "channel-brief-footer" }, O2 = { class: "channel-brief-status" }, k2 = { class: "channel-content" }, A2 = {
54611
+ }, D2 = ["innerHTML"], O2 = { class: "channel-brief-footer" }, k2 = { class: "channel-brief-status" }, A2 = { class: "channel-content" }, j2 = {
54603
54612
  key: 0,
54604
54613
  class: "content-page merged-page",
54605
54614
  role: "tabpanel",
54606
54615
  "aria-label": "讨论"
54607
- }, j2 = {
54616
+ }, M2 = {
54608
54617
  key: 1,
54609
54618
  class: "merged-section",
54610
54619
  "aria-label": "当前讨论"
54611
- }, M2 = { class: "page-heading" }, N2 = {
54620
+ }, N2 = { class: "page-heading" }, P2 = {
54612
54621
  key: 0,
54613
54622
  class: "fine-print"
54614
- }, P2 = {
54623
+ }, F2 = {
54615
54624
  class: "merged-section channel-summary",
54616
54625
  "aria-label": "当前共识"
54617
- }, F2 = { class: "page-heading" }, I2 = { class: "form-footer" }, L2 = { class: "button-row" }, R2 = { class: "consensus-card is-brief" }, z2 = ["innerHTML"], B2 = {
54626
+ }, I2 = { class: "page-heading" }, L2 = { class: "form-footer" }, R2 = { class: "button-row" }, z2 = { class: "consensus-card is-brief" }, B2 = ["innerHTML"], V2 = {
54618
54627
  key: 0,
54619
54628
  class: "consensus-card"
54620
- }, V2 = ["innerHTML"], H2 = {
54629
+ }, H2 = ["innerHTML"], U2 = {
54621
54630
  key: 2,
54622
54631
  class: "fine-print"
54623
- }, U2 = {
54632
+ }, W2 = {
54624
54633
  key: 1,
54625
54634
  class: "content-page merged-page",
54626
54635
  role: "tabpanel",
54627
54636
  "aria-label": "房间"
54628
- }, W2 = {
54637
+ }, G2 = {
54629
54638
  key: 2,
54630
54639
  class: "content-page merged-page",
54631
54640
  role: "tabpanel",
54632
54641
  "aria-label": "执行"
54633
- }, G2 = {
54642
+ }, K2 = {
54634
54643
  key: 1,
54635
54644
  class: "channel-empty"
54636
- }, K2 = ["aria-valuenow", "aria-valuetext"], q2 = {
54645
+ }, q2 = ["aria-valuenow", "aria-valuetext"], J2 = {
54637
54646
  key: 2,
54638
54647
  id: "channel-member-rail",
54639
54648
  class: "channel-member-rail",
54640
54649
  "aria-label": "当前焦点与讨论进度"
54641
- }, J2 = { class: "channel-rail-board" }, Y2 = {
54650
+ }, Y2 = { class: "channel-rail-board" }, X2 = {
54642
54651
  key: 1,
54643
54652
  class: "progress-board is-docked"
54644
- }, X2 = { class: "channel-detail-title" }, Z2 = { class: "info-section" }, Q2 = "ai-codiscuss-channel-layout", $2 = 220, e4 = 440, t4 = 280, n4 = 16, r4 = 180, i4 = 400, a4 = 248, o4 = 16, s4 = 480, c4 = 1200, l4 = 0, u4 = {
54653
+ }, Z2 = { class: "channel-detail-title" }, Q2 = { class: "info-section" }, $2 = "ai-codiscuss-channel-layout", e4 = 220, t4 = 440, n4 = 280, r4 = 16, i4 = 180, a4 = 400, o4 = 248, s4 = 16, c4 = 480, l4 = 1200, u4 = 0, d4 = {
54645
54654
  __name: "ChannelWorkspace",
54646
54655
  setup(e) {
54647
54656
  let { view: t, bridge: n, field: r, act: i, pending: a } = xr("discussion"), o = Z(() => t.value.room), s = /* @__PURE__ */ F(""), c = /* @__PURE__ */ F(null), l = /* @__PURE__ */ F(null), u = /* @__PURE__ */ F(null), d = /* @__PURE__ */ F(!1), f = /* @__PURE__ */ F(!0), p = /* @__PURE__ */ F(!1), m = r("state-input"), h = r("brief-input"), g = r("search-input"), _ = r("author-select"), v = [{
@@ -54663,14 +54672,14 @@ var O1 = {
54663
54672
  label: "宽",
54664
54673
  width: 1240
54665
54674
  }
54666
- }, b = Ne(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), ee = /* @__PURE__ */ F(!0), D = /* @__PURE__ */ F(b.rail_collapsed), O = Z(() => T.value >= c4), te = Z(() => O.value && !E.value), ne = Z(() => t.value.tab === "discussion" && !D.value), re = Z(() => O.value && t.value.tab === "discussion" ? D.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ie = Z(() => {
54675
+ }, b = Ne(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), ee = /* @__PURE__ */ F(!0), D = /* @__PURE__ */ F(b.rail_collapsed), O = Z(() => T.value >= l4), te = Z(() => O.value && !E.value), ne = Z(() => t.value.tab === "discussion" && !D.value), re = Z(() => O.value && t.value.tab === "discussion" ? D.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ie = Z(() => {
54667
54676
  let e = document.createElement("template");
54668
54677
  return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
54669
- }), ae = /* @__PURE__ */ F(null), oe = /* @__PURE__ */ F(0), k = null, se = /* @__PURE__ */ F(null), ce = /* @__PURE__ */ F(null), le = Z(() => Math.min(i4, Math.max(r4, T.value - s4 - l4))), ue = Z(() => Math.min(w.value, le.value)), de = Z(() => ({
54678
+ }), ae = /* @__PURE__ */ F(null), oe = /* @__PURE__ */ F(0), k = null, se = /* @__PURE__ */ F(null), ce = /* @__PURE__ */ F(null), le = Z(() => Math.min(a4, Math.max(i4, T.value - c4 - u4))), ue = Z(() => Math.min(w.value, le.value)), de = Z(() => ({
54670
54679
  "--channel-reading-width": `${y[x.value].width}px`,
54671
54680
  "--channel-rail-width": `${C.value}px`,
54672
54681
  "--channel-topbar-height": `${oe.value}px`,
54673
- "--channel-main-columns": te.value ? `${ue.value}px ${l4}px minmax(0, 1fr)` : "minmax(0, 1fr)"
54682
+ "--channel-main-columns": te.value ? `${ue.value}px ${u4}px minmax(0, 1fr)` : "minmax(0, 1fr)"
54674
54683
  })), fe = Object.entries(y).map(([e, t]) => ({
54675
54684
  value: e,
54676
54685
  label: t.label
@@ -54767,12 +54776,12 @@ var O1 = {
54767
54776
  }
54768
54777
  function Ne() {
54769
54778
  try {
54770
- let e = JSON.parse(localStorage.getItem(Q2)) || {};
54779
+ let e = JSON.parse(localStorage.getItem($2)) || {};
54771
54780
  return {
54772
54781
  reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
54773
54782
  effects: e.effects === "reduced" ? "reduced" : "full",
54774
- rail: Number.isFinite(e.rail) ? Math.min(e4, Math.max($2, e.rail)) : t4,
54775
- nav: Number.isFinite(e.nav) ? Math.min(i4, Math.max(r4, e.nav)) : Pe(),
54783
+ rail: Number.isFinite(e.rail) ? Math.min(t4, Math.max(e4, e.rail)) : n4,
54784
+ nav: Number.isFinite(e.nav) ? Math.min(a4, Math.max(i4, e.nav)) : Pe(),
54776
54785
  collapsed: e.collapsed === !0,
54777
54786
  brief_collapsed: e.brief_collapsed === !0,
54778
54787
  rail_collapsed: e.rail_collapsed === !0
@@ -54781,7 +54790,7 @@ var O1 = {
54781
54790
  return {
54782
54791
  reading: "default",
54783
54792
  effects: "full",
54784
- rail: t4,
54793
+ rail: n4,
54785
54794
  nav: Pe(),
54786
54795
  collapsed: !1,
54787
54796
  brief_collapsed: !1,
@@ -54790,11 +54799,11 @@ var O1 = {
54790
54799
  }
54791
54800
  }
54792
54801
  function Pe() {
54793
- return typeof window > "u" ? a4 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : a4;
54802
+ return typeof window > "u" ? o4 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : o4;
54794
54803
  }
54795
54804
  function Fe() {
54796
54805
  try {
54797
- localStorage.setItem(Q2, JSON.stringify({
54806
+ localStorage.setItem($2, JSON.stringify({
54798
54807
  reading: x.value,
54799
54808
  effects: S.value,
54800
54809
  rail: C.value,
@@ -54825,19 +54834,19 @@ var O1 = {
54825
54834
  }, e.currentTarget.setPointerCapture(e.pointerId));
54826
54835
  }
54827
54836
  function Ve(e) {
54828
- se.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(e4, Math.max($2, se.value.width + se.value.x - e.clientX))));
54837
+ se.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(t4, Math.max(e4, se.value.width + se.value.x - e.clientX))));
54829
54838
  }
54830
54839
  function He(e) {
54831
54840
  se.value?.pointer === e.pointerId && (se.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Fe());
54832
54841
  }
54833
54842
  function Ue(e) {
54834
54843
  let t = {
54835
- ArrowLeft: C.value + n4,
54836
- ArrowRight: C.value - n4,
54837
- Home: $2,
54838
- End: e4
54844
+ ArrowLeft: C.value + r4,
54845
+ ArrowRight: C.value - r4,
54846
+ Home: e4,
54847
+ End: t4
54839
54848
  };
54840
- Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(e4, Math.max($2, t[e.key])), Fe());
54849
+ Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(t4, Math.max(e4, t[e.key])), Fe());
54841
54850
  }
54842
54851
  function We(e) {
54843
54852
  e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ce.value = {
@@ -54847,19 +54856,19 @@ var O1 = {
54847
54856
  }, e.currentTarget.setPointerCapture(e.pointerId));
54848
54857
  }
54849
54858
  function Ge(e) {
54850
- ce.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(le.value, Math.max(r4, ce.value.width + e.clientX - ce.value.x))));
54859
+ ce.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(le.value, Math.max(i4, ce.value.width + e.clientX - ce.value.x))));
54851
54860
  }
54852
54861
  function Ke(e) {
54853
54862
  ce.value?.pointer === e.pointerId && (ce.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Fe());
54854
54863
  }
54855
54864
  function qe(e) {
54856
54865
  let t = {
54857
- ArrowLeft: ue.value - o4,
54858
- ArrowRight: ue.value + o4,
54859
- Home: r4,
54866
+ ArrowLeft: ue.value - s4,
54867
+ ArrowRight: ue.value + s4,
54868
+ Home: i4,
54860
54869
  End: le.value
54861
54870
  };
54862
- Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(le.value, Math.max(r4, t[e.key])), Fe());
54871
+ Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(le.value, Math.max(i4, t[e.key])), Fe());
54863
54872
  }
54864
54873
  return (e, r) => {
54865
54874
  let y = sA, b = lH, w = pA, T = MA, D = $V, oe = WV, k = YV, he = KV, N = HV, Ne = zV, Pe = NV, Fe = AV;
@@ -54871,10 +54880,10 @@ var O1 = {
54871
54880
  }]),
54872
54881
  style: A(de.value)
54873
54882
  }, [
54874
- K("aside", e2, [
54883
+ K("aside", t2, [
54875
54884
  r[30] ||= ws("<header class=\"channel-workspace-heading\"><span class=\"channel-brand-icon\" aria-hidden=\"true\"><svg class=\"channel-brand-dark\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-d0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#e9ebed\"></stop><stop offset=\"6.3%\" stop-color=\"#e2e5e7\"></stop><stop offset=\"12.5%\" stop-color=\"#dcdee1\"></stop><stop offset=\"18.8%\" stop-color=\"#d5d8db\"></stop><stop offset=\"25.0%\" stop-color=\"#ced2d5\"></stop><stop offset=\"31.3%\" stop-color=\"#c8cbcf\"></stop><stop offset=\"37.5%\" stop-color=\"#c1c5ca\"></stop><stop offset=\"43.8%\" stop-color=\"#babfc4\"></stop><stop offset=\"50.0%\" stop-color=\"#b4b9be\"></stop><stop offset=\"56.3%\" stop-color=\"#a9aeb3\"></stop><stop offset=\"62.5%\" stop-color=\"#9ea3a9\"></stop><stop offset=\"68.8%\" stop-color=\"#93999f\"></stop><stop offset=\"75.0%\" stop-color=\"#888e95\"></stop><stop offset=\"81.3%\" stop-color=\"#7e848a\"></stop><stop offset=\"87.5%\" stop-color=\"#737a80\"></stop><stop offset=\"93.8%\" stop-color=\"#697077\"></stop><stop offset=\"100.0%\" stop-color=\"#5f666d\"></stop></linearGradient><linearGradient id=\"brand-d1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#3f86ff\"></stop><stop offset=\"6.3%\" stop-color=\"#5588ff\"></stop><stop offset=\"12.5%\" stop-color=\"#6889ff\"></stop><stop offset=\"18.8%\" stop-color=\"#788aff\"></stop><stop offset=\"25.0%\" stop-color=\"#878bff\"></stop><stop offset=\"31.3%\" stop-color=\"#958cff\"></stop><stop offset=\"37.5%\" stop-color=\"#a78aef\"></stop><stop offset=\"43.8%\" stop-color=\"#b986d7\"></stop><stop offset=\"50.0%\" stop-color=\"#ca80bf\"></stop><stop offset=\"56.3%\" stop-color=\"#da78a6\"></stop><stop offset=\"62.5%\" stop-color=\"#ea6e8c\"></stop><stop offset=\"68.8%\" stop-color=\"#f56d78\"></stop><stop offset=\"75.0%\" stop-color=\"#f77f72\"></stop><stop offset=\"81.3%\" stop-color=\"#f8906b\"></stop><stop offset=\"87.5%\" stop-color=\"#f9a163\"></stop><stop offset=\"93.8%\" stop-color=\"#fab058\"></stop><stop offset=\"100.0%\" stop-color=\"#fac04a\"></stop></linearGradient><linearGradient id=\"brand-d2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#d06a49\"></stop><stop offset=\"6.3%\" stop-color=\"#d36f4f\"></stop><stop offset=\"12.5%\" stop-color=\"#d67456\"></stop><stop offset=\"18.8%\" stop-color=\"#d97a5c\"></stop><stop offset=\"25.0%\" stop-color=\"#dc7f62\"></stop><stop offset=\"31.3%\" stop-color=\"#df8468\"></stop><stop offset=\"37.5%\" stop-color=\"#e2896e\"></stop><stop offset=\"43.8%\" stop-color=\"#e58e74\"></stop><stop offset=\"50.0%\" stop-color=\"#e8937a\"></stop><stop offset=\"56.3%\" stop-color=\"#eb9d85\"></stop><stop offset=\"62.5%\" stop-color=\"#eea68f\"></stop><stop offset=\"68.8%\" stop-color=\"#f1b09a\"></stop><stop offset=\"75.0%\" stop-color=\"#f4baa4\"></stop><stop offset=\"81.3%\" stop-color=\"#f6c3af\"></stop><stop offset=\"87.5%\" stop-color=\"#f9cdb9\"></stop><stop offset=\"93.8%\" stop-color=\"#fbd6c4\"></stop><stop offset=\"100.0%\" stop-color=\"#fde0cf\"></stop></linearGradient><linearGradient id=\"brand-d3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#4a5cff\"></stop><stop offset=\"6.3%\" stop-color=\"#5062ff\"></stop><stop offset=\"12.5%\" stop-color=\"#5768ff\"></stop><stop offset=\"18.8%\" stop-color=\"#5d6dff\"></stop><stop offset=\"25.0%\" stop-color=\"#6472ff\"></stop><stop offset=\"31.3%\" stop-color=\"#6b77ff\"></stop><stop offset=\"37.5%\" stop-color=\"#717cff\"></stop><stop offset=\"43.8%\" stop-color=\"#7881ff\"></stop><stop offset=\"50.0%\" stop-color=\"#7f86ff\"></stop><stop offset=\"56.3%\" stop-color=\"#8990ff\"></stop><stop offset=\"62.5%\" stop-color=\"#9399ff\"></stop><stop offset=\"68.8%\" stop-color=\"#9da2ff\"></stop><stop offset=\"75.0%\" stop-color=\"#a8abff\"></stop><stop offset=\"81.3%\" stop-color=\"#b3b4ff\"></stop><stop offset=\"87.5%\" stop-color=\"#bebdff\"></stop><stop offset=\"93.8%\" stop-color=\"#c9c5ff\"></stop><stop offset=\"100.0%\" stop-color=\"#d4ceff\"></stop></linearGradient><clipPath id=\"brand-d4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-d5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-d6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-d7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-d8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-d9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-d10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-d11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-d4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg><svg class=\"channel-brand-light\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-l0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#0b0d0f\"></stop><stop offset=\"6.3%\" stop-color=\"#101315\"></stop><stop offset=\"12.5%\" stop-color=\"#16191b\"></stop><stop offset=\"18.8%\" stop-color=\"#1c1f22\"></stop><stop offset=\"25.0%\" stop-color=\"#222529\"></stop><stop offset=\"31.3%\" stop-color=\"#282c2f\"></stop><stop offset=\"37.5%\" stop-color=\"#2e3237\"></stop><stop offset=\"43.8%\" stop-color=\"#34393e\"></stop><stop offset=\"50.0%\" stop-color=\"#3b4045\"></stop><stop offset=\"56.3%\" stop-color=\"#484d52\"></stop><stop offset=\"62.5%\" stop-color=\"#555a5f\"></stop><stop offset=\"68.8%\" stop-color=\"#62676d\"></stop><stop offset=\"75.0%\" stop-color=\"#70757b\"></stop><stop offset=\"81.3%\" stop-color=\"#7e8389\"></stop><stop offset=\"87.5%\" stop-color=\"#8c9297\"></stop><stop offset=\"93.8%\" stop-color=\"#9aa0a6\"></stop><stop offset=\"100.0%\" stop-color=\"#a9afb5\"></stop></linearGradient><linearGradient id=\"brand-l1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#2f7bff\"></stop><stop offset=\"6.3%\" stop-color=\"#487cff\"></stop><stop offset=\"12.5%\" stop-color=\"#5a7cff\"></stop><stop offset=\"18.8%\" stop-color=\"#6a7dff\"></stop><stop offset=\"25.0%\" stop-color=\"#797dff\"></stop><stop offset=\"31.3%\" stop-color=\"#877dff\"></stop><stop offset=\"37.5%\" stop-color=\"#997cee\"></stop><stop offset=\"43.8%\" stop-color=\"#ae79d3\"></stop><stop offset=\"50.0%\" stop-color=\"#c174b8\"></stop><stop offset=\"56.3%\" stop-color=\"#d36b9d\"></stop><stop offset=\"62.5%\" stop-color=\"#e56080\"></stop><stop offset=\"68.8%\" stop-color=\"#f15d69\"></stop><stop offset=\"75.0%\" stop-color=\"#f37162\"></stop><stop offset=\"81.3%\" stop-color=\"#f5835a\"></stop><stop offset=\"87.5%\" stop-color=\"#f79550\"></stop><stop offset=\"93.8%\" stop-color=\"#f8a542\"></stop><stop offset=\"100.0%\" stop-color=\"#f8b52c\"></stop></linearGradient><linearGradient id=\"brand-l2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#b9502f\"></stop><stop offset=\"6.3%\" stop-color=\"#bd5534\"></stop><stop offset=\"12.5%\" stop-color=\"#c15a39\"></stop><stop offset=\"18.8%\" stop-color=\"#c55f3e\"></stop><stop offset=\"25.0%\" stop-color=\"#c96443\"></stop><stop offset=\"31.3%\" stop-color=\"#cd6848\"></stop><stop offset=\"37.5%\" stop-color=\"#d16d4d\"></stop><stop offset=\"43.8%\" stop-color=\"#d57252\"></stop><stop offset=\"50.0%\" stop-color=\"#d97757\"></stop><stop offset=\"56.3%\" stop-color=\"#dd8060\"></stop><stop offset=\"62.5%\" stop-color=\"#e08a69\"></stop><stop offset=\"68.8%\" stop-color=\"#e49372\"></stop><stop offset=\"75.0%\" stop-color=\"#e79c7b\"></stop><stop offset=\"81.3%\" stop-color=\"#eaa584\"></stop><stop offset=\"87.5%\" stop-color=\"#edae8d\"></stop><stop offset=\"93.8%\" stop-color=\"#f0b796\"></stop><stop offset=\"100.0%\" stop-color=\"#f3c09f\"></stop></linearGradient><linearGradient id=\"brand-l3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#2b33e6\"></stop><stop offset=\"6.3%\" stop-color=\"#3139e9\"></stop><stop offset=\"12.5%\" stop-color=\"#363fec\"></stop><stop offset=\"18.8%\" stop-color=\"#3c44ef\"></stop><stop offset=\"25.0%\" stop-color=\"#4249f3\"></stop><stop offset=\"31.3%\" stop-color=\"#484ef6\"></stop><stop offset=\"37.5%\" stop-color=\"#4e53f9\"></stop><stop offset=\"43.8%\" stop-color=\"#5457fc\"></stop><stop offset=\"50.0%\" stop-color=\"#5a5cff\"></stop><stop offset=\"56.3%\" stop-color=\"#6569ff\"></stop><stop offset=\"62.5%\" stop-color=\"#7075ff\"></stop><stop offset=\"68.8%\" stop-color=\"#7c80ff\"></stop><stop offset=\"75.0%\" stop-color=\"#888bff\"></stop><stop offset=\"81.3%\" stop-color=\"#9595ff\"></stop><stop offset=\"87.5%\" stop-color=\"#a29fff\"></stop><stop offset=\"93.8%\" stop-color=\"#afa9ff\"></stop><stop offset=\"100.0%\" stop-color=\"#bdb3ff\"></stop></linearGradient><clipPath id=\"brand-l4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-l5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-l6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-l7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-l8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-l9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-l10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-l11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-l4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg></span><span class=\"channel-brand-text\"><strong>共议</strong><span>AI CoDiscuss</span></span></header>", 1),
54876
- K("div", t2, [
54877
- q(AZ, {
54885
+ K("div", n2, [
54886
+ q(jZ, {
54878
54887
  onSelect: Ee,
54879
54888
  onManage: we,
54880
54889
  onCreate: Oe,
@@ -54884,12 +54893,12 @@ var O1 = {
54884
54893
  onArchiveFolder: Me,
54885
54894
  onArchives: Te
54886
54895
  }),
54887
- K("div", n2, [K("button", {
54896
+ K("div", r2, [K("button", {
54888
54897
  type: "button",
54889
54898
  class: "channel-section-toggle",
54890
54899
  "aria-expanded": f.value,
54891
54900
  onClick: r[0] ||= (e) => f.value = !f.value
54892
- }, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8, r2)]),
54901
+ }, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8, i2)]),
54893
54902
  f.value ? (U(), G(b, {
54894
54903
  key: 0,
54895
54904
  items: xe.value,
@@ -54905,7 +54914,7 @@ var O1 = {
54905
54914
  }
54906
54915
  }, null, 8, ["items"])) : Y("", !0)
54907
54916
  ]),
54908
- K("footer", i2, [K("button", {
54917
+ K("footer", a2, [K("button", {
54909
54918
  type: "button",
54910
54919
  class: "channel-self-button",
54911
54920
  "aria-label": `账号与设置:${I(n).display_name(I(_))}${Se.value ? "," + Se.value : ""}`,
@@ -54921,10 +54930,10 @@ var O1 = {
54921
54930
  "text",
54922
54931
  "alt",
54923
54932
  "class"
54924
- ]), K("span", o2, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: j(["channel-connection", { "is-action": Se.value }]) }, [K("span", {
54933
+ ]), K("span", s2, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: j(["channel-connection", { "is-action": Se.value }]) }, [K("span", {
54925
54934
  class: j({ connected: I(t).connected }),
54926
54935
  title: I(t).connected ? "网站已连接" : "网站未连接"
54927
- }, null, 10, s2), J(P(Se.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, a2), q(D, { text: "设置" }, {
54936
+ }, null, 10, c2), J(P(Se.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, o2), q(D, { text: "设置" }, {
54928
54937
  default: L(() => [q(T, {
54929
54938
  icon: "i-lucide-settings-2",
54930
54939
  color: "neutral",
@@ -54945,7 +54954,7 @@ var O1 = {
54945
54954
  "aria-label": "调整房间栏宽度",
54946
54955
  "aria-orientation": "vertical",
54947
54956
  "aria-controls": "channel-sidebar",
54948
- "aria-valuemin": r4,
54957
+ "aria-valuemin": i4,
54949
54958
  "aria-valuemax": le.value,
54950
54959
  "aria-valuenow": ue.value,
54951
54960
  "aria-valuetext": `${ue.value} 像素`,
@@ -54956,13 +54965,13 @@ var O1 = {
54956
54965
  onPointercancel: Ke,
54957
54966
  onLostpointercapture: Ke,
54958
54967
  onKeydown: qe
54959
- }, null, 40, c2)) : Y("", !0),
54960
- K("main", l2, [K("div", {
54968
+ }, null, 40, l2)) : Y("", !0),
54969
+ K("main", u2, [K("div", {
54961
54970
  ref_key: "topbar",
54962
54971
  ref: ae,
54963
54972
  class: j(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
54964
54973
  }, [
54965
- K("header", u2, [
54974
+ K("header", d2, [
54966
54975
  O.value ? (U(), G(D, {
54967
54976
  key: 0,
54968
54977
  text: E.value ? "展开房间栏" : "收起房间栏"
@@ -54990,8 +54999,8 @@ var O1 = {
54990
54999
  "aria-expanded": d.value,
54991
55000
  onClick: r[4] ||= (e) => d.value = !0
54992
55001
  }, null, 8, ["aria-expanded"])),
54993
- K("span", d2, [q(y, { name: "i-lucide-hash" })]),
54994
- K("div", f2, [K("div", p2, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, m2)]), o.value?.archived ? (U(), G(oe, {
55002
+ K("span", f2, [q(y, { name: "i-lucide-hash" })]),
55003
+ K("div", p2, [K("div", m2, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, h2)]), o.value?.archived ? (U(), G(oe, {
54995
55004
  key: 0,
54996
55005
  color: "neutral",
54997
55006
  variant: "subtle",
@@ -55000,12 +55009,12 @@ var O1 = {
55000
55009
  default: L(() => [...r[31] ||= [J("已存档", -1)]]),
55001
55010
  _: 1
55002
55011
  })) : Y("", !0)]),
55003
- o.value ? (U(), W("span", h2, [
55012
+ o.value ? (U(), W("span", g2, [
55004
55013
  J(P(me.find((e) => e.value === I(t).tab)?.label), 1),
55005
55014
  r[32] ||= K("span", null, "·", -1),
55006
55015
  J(P(o.value.message_count) + " 条记录", 1)
55007
55016
  ])) : Y("", !0),
55008
- K("div", g2, [
55017
+ K("div", _2, [
55009
55018
  I(t).tab === "discussion" ? (U(), W("form", {
55010
55019
  key: 0,
55011
55020
  class: "channel-search",
@@ -55063,7 +55072,7 @@ var O1 = {
55063
55072
  ])]),
55064
55073
  _: 1
55065
55074
  })) : Y("", !0),
55066
- o.value && !(ne.value && O.value) ? (U(), G(o$, { key: 2 })) : Y("", !0)
55075
+ o.value && !(ne.value && O.value) ? (U(), G(s$, { key: 2 })) : Y("", !0)
55067
55076
  ]),
55068
55077
  q(D, { text: re.value }, {
55069
55078
  default: L(() => [q(T, {
@@ -55084,12 +55093,12 @@ var O1 = {
55084
55093
  _: 1
55085
55094
  }, 8, ["text"])
55086
55095
  ]),
55087
- I(t).launch.recoveries.length ? (U(), W("section", _2, [
55096
+ I(t).launch.recoveries.length ? (U(), W("section", v2, [
55088
55097
  r[33] ||= K("h2", null, "继续未完成的请求", -1),
55089
55098
  (U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
55090
55099
  K("strong", null, P(e.title), 1),
55091
- K("p", v2, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
55092
- K("div", y2, [
55100
+ K("p", y2, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
55101
+ K("div", b2, [
55093
55102
  q(T, {
55094
55103
  label: e.direct ? "继续创建房间" : "继续本次启动",
55095
55104
  size: "sm",
@@ -55122,7 +55131,7 @@ var O1 = {
55122
55131
  ]))), 128)),
55123
55132
  r[34] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
55124
55133
  ])) : Y("", !0),
55125
- o.value ? (U(), W("div", b2, [q(he, {
55134
+ o.value ? (U(), W("div", x2, [q(he, {
55126
55135
  modelValue: pe.value,
55127
55136
  "onUpdate:modelValue": r[9] ||= (e) => pe.value = e,
55128
55137
  items: me,
@@ -55137,7 +55146,7 @@ var O1 = {
55137
55146
  key: 2,
55138
55147
  class: j(["channel-host-brief", { "is-collapsed": ee.value }]),
55139
55148
  "aria-label": "主持简报"
55140
- }, [K("div", x2, [K("div", S2, [K("button", {
55149
+ }, [K("div", S2, [K("div", C2, [K("button", {
55141
55150
  type: "button",
55142
55151
  class: "channel-brief-toggle",
55143
55152
  "aria-label": ee.value ? "展开主持简报" : "收起主持简报",
@@ -55147,8 +55156,8 @@ var O1 = {
55147
55156
  }, [
55148
55157
  q(y, { name: ee.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
55149
55158
  K("strong", null, "主持简报" + P(ee.value ? ":" : ""), 1),
55150
- ee.value ? (U(), W("span", w2, P(ie.value), 1)) : Y("", !0)
55151
- ], 8, C2), ee.value ? Y("", !0) : (U(), G(T, {
55159
+ ee.value ? (U(), W("span", T2, P(ie.value), 1)) : Y("", !0)
55160
+ ], 8, w2), ee.value ? Y("", !0) : (U(), G(T, {
55152
55161
  key: 0,
55153
55162
  label: "更新简报",
55154
55163
  color: "neutral",
@@ -55156,20 +55165,20 @@ var O1 = {
55156
55165
  size: "xs",
55157
55166
  class: "channel-brief-update",
55158
55167
  onClick: r[10] ||= (e) => I(i)("tab", "context")
55159
- }))]), vr(K("div", T2, [K("div", {
55168
+ }))]), vr(K("div", E2, [K("div", {
55160
55169
  class: "channel-brief-text markdown-body",
55161
55170
  innerHTML: o.value.rendered_brief
55162
- }, null, 8, E2), K("div", D2, [K("span", O2, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !ee.value]])])], 2)) : Y("", !0)
55171
+ }, null, 8, D2), K("div", O2, [K("span", k2, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !ee.value]])])], 2)) : Y("", !0)
55163
55172
  ], 2), o.value ? (U(), W("div", {
55164
55173
  key: 0,
55165
55174
  class: j(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
55166
- }, [K("div", k2, [
55175
+ }, [K("div", A2, [
55167
55176
  vr(q(uK, {
55168
55177
  onDetail: De,
55169
55178
  onEdit: r[11] ||= (e) => s.value = "edit"
55170
55179
  }, null, 512), [[Vc, I(t).tab === "discussion"]]),
55171
- I(t).tab === "history" ? (U(), W("div", A2, [
55172
- ge.value ? (U(), W("section", j2, [K("div", M2, [r[35] ||= K("div", null, [K("h2", null, "当前讨论"), K("p", null, "没有进行中的讨论。开启后由主持人推进成员轮流发言,到上限或结束后房间回到自由协作,记录与结论保留。")], -1), q(T, {
55180
+ I(t).tab === "history" ? (U(), W("div", j2, [
55181
+ ge.value ? (U(), W("section", M2, [K("div", N2, [r[35] ||= K("div", null, [K("h2", null, "当前讨论"), K("p", null, "没有进行中的讨论。开启后由主持人推进成员轮流发言,到上限或结束后房间回到自由协作,记录与结论保留。")], -1), q(T, {
55173
55182
  icon: "i-lucide-messages-square",
55174
55183
  label: "开启讨论",
55175
55184
  variant: "outline",
@@ -55177,13 +55186,13 @@ var O1 = {
55177
55186
  class: "channel-surface-button",
55178
55187
  disabled: !ve.value,
55179
55188
  onClick: r[13] ||= (e) => _e.value = !0
55180
- }, null, 8, ["disabled"])]), !ve.value && !o.value.archived ? (U(), W("p", N2, "开启讨论需要一位由本机唤醒的 AI 主持人,且本机服务在线。")) : Y("", !0)])) : (U(), G(jK, {
55189
+ }, null, 8, ["disabled"])]), !ve.value && !o.value.archived ? (U(), W("p", P2, "开启讨论需要一位由本机唤醒的 AI 主持人,且本机服务在线。")) : Y("", !0)])) : (U(), G(jK, {
55181
55190
  key: 0,
55182
55191
  section: "host",
55183
55192
  onOpen: r[12] ||= (e) => s.value = e,
55184
55193
  onDetail: De
55185
55194
  })),
55186
- K("section", P2, [K("div", F2, [r[36] ||= K("div", null, [K("h2", null, "当前共识"), K("p", null, "主持人整理的结论、共识与分歧,用 #消息编号 保留依据;讨论结束时保存进下方记录。")], -1), M.value ? Y("", !0) : (U(), G(T, {
55195
+ K("section", F2, [K("div", I2, [r[36] ||= K("div", null, [K("h2", null, "当前共识"), K("p", null, "主持人整理的结论、共识与分歧,用 #消息编号 保留依据;讨论结束时保存进下方记录。")], -1), M.value ? Y("", !0) : (U(), G(T, {
55187
55196
  key: 0,
55188
55197
  icon: "i-lucide-pencil",
55189
55198
  label: "编辑",
@@ -55227,7 +55236,7 @@ var O1 = {
55227
55236
  }, null, 8, ["modelValue"])]),
55228
55237
  _: 1
55229
55238
  }),
55230
- K("div", I2, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), K("div", L2, [q(T, {
55239
+ K("div", L2, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), K("div", R2, [q(T, {
55231
55240
  label: "取消",
55232
55241
  color: "neutral",
55233
55242
  variant: "ghost",
@@ -55240,7 +55249,7 @@ var O1 = {
55240
55249
  class: "channel-primary-button",
55241
55250
  loading: I(a) === "save_context"
55242
55251
  }, null, 8, ["loading"])])])
55243
- ], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div", R2, [K("h3", null, [r[37] ||= J("主持简报", -1), o.value.state_until ? (U(), W("button", {
55252
+ ], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div", z2, [K("h3", null, [r[37] ||= J("主持简报", -1), o.value.state_until ? (U(), W("button", {
55244
55253
  key: 0,
55245
55254
  type: "button",
55246
55255
  class: "subtle-link",
@@ -55248,7 +55257,7 @@ var O1 = {
55248
55257
  }, "整理至 #" + P(o.value.state_until), 1)) : Y("", !0)]), K("div", {
55249
55258
  class: "markdown-body",
55250
55259
  innerHTML: o.value.rendered_brief
55251
- }, null, 8, z2)]), ye.value ? (U(), W("details", B2, [K("summary", null, [
55260
+ }, null, 8, B2)]), ye.value ? (U(), W("details", V2, [K("summary", null, [
55252
55261
  r[38] ||= K("h3", null, "详细共识与进度", -1),
55253
55262
  r[39] ||= K("span", null, "依据、已处理内容、未决问题与下一步", -1),
55254
55263
  q(y, {
@@ -55258,21 +55267,21 @@ var O1 = {
55258
55267
  ]), K("div", {
55259
55268
  class: "markdown-body consensus-state",
55260
55269
  innerHTML: ye.value
55261
- }, null, 8, V2)])) : Y("", !0)], 64)) : (U(), W("p", H2, "还没有共识。主持人会在讨论中整理,也可以点“编辑”自己写。"))]),
55262
- q(x$, { onDetail: De }),
55263
- q(JZ, {
55270
+ }, null, 8, H2)])) : Y("", !0)], 64)) : (U(), W("p", U2, "还没有共识。主持人会在讨论中整理,也可以点“编辑”自己写。"))]),
55271
+ q(S$, { onDetail: De }),
55272
+ q(YZ, {
55264
55273
  open: _e.value,
55265
55274
  "onUpdate:open": r[19] ||= (e) => _e.value = e
55266
55275
  }, null, 8, ["open"])
55267
55276
  ])) : Y("", !0),
55268
- I(t).tab === "overview" ? (U(), W("div", U2, [q($$), ge.value ? Y("", !0) : (U(), G(jK, {
55277
+ I(t).tab === "overview" ? (U(), W("div", W2, [q(e1), ge.value ? Y("", !0) : (U(), G(jK, {
55269
55278
  key: 0,
55270
55279
  section: "access",
55271
55280
  onOpen: r[20] ||= (e) => s.value = e,
55272
55281
  onDetail: De
55273
55282
  }))])) : Y("", !0),
55274
- I(t).tab === "timeline" ? (U(), W("div", W2, [q($0, { onDetail: De })])) : Y("", !0)
55275
- ])], 2)) : (U(), W("div", G2, [
55283
+ I(t).tab === "timeline" ? (U(), W("div", G2, [q(e2, { onDetail: De })])) : Y("", !0)
55284
+ ])], 2)) : (U(), W("div", K2, [
55276
55285
  q(y, { name: "i-lucide-hash" }),
55277
55286
  r[40] ||= K("h2", null, "新建一个协作房间", -1),
55278
55287
  r[41] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
@@ -55291,8 +55300,8 @@ var O1 = {
55291
55300
  "aria-label": "调整右侧栏宽度",
55292
55301
  "aria-orientation": "vertical",
55293
55302
  "aria-controls": "channel-member-rail",
55294
- "aria-valuemin": $2,
55295
- "aria-valuemax": e4,
55303
+ "aria-valuemin": e4,
55304
+ "aria-valuemax": t4,
55296
55305
  "aria-valuenow": C.value,
55297
55306
  "aria-valuetext": `${C.value} 像素`,
55298
55307
  title: "拖动调整右侧栏宽度,也可使用左右方向键",
@@ -55302,8 +55311,8 @@ var O1 = {
55302
55311
  onPointercancel: He,
55303
55312
  onLostpointercapture: He,
55304
55313
  onKeydown: Ue
55305
- }, null, 40, K2)) : Y("", !0),
55306
- ne.value ? (U(), W("aside", q2, [K("section", J2, [o.value ? (U(), G(t$, { key: 0 })) : (U(), W("div", Y2, [...r[42] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
55314
+ }, null, 40, q2)) : Y("", !0),
55315
+ ne.value ? (U(), W("aside", J2, [K("section", Y2, [o.value ? (U(), G(n$, { key: 0 })) : (U(), W("div", X2, [...r[42] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
55307
55316
  q(Pe, {
55308
55317
  open: d.value,
55309
55318
  "onUpdate:open": r[23] ||= (e) => d.value = e,
@@ -55315,7 +55324,7 @@ var O1 = {
55315
55324
  body: "channel-drawer-body"
55316
55325
  }
55317
55326
  }, {
55318
- body: L(() => [q(AZ, {
55327
+ body: L(() => [q(jZ, {
55319
55328
  onSelect: Ee,
55320
55329
  onManage: we,
55321
55330
  onCreate: Oe,
@@ -55347,7 +55356,7 @@ var O1 = {
55347
55356
  }
55348
55357
  }, {
55349
55358
  body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
55350
- K("div", X2, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
55359
+ K("div", Z2, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
55351
55360
  (U(), W(H, null, B([
55352
55361
  {
55353
55362
  key: "goal",
@@ -55374,7 +55383,7 @@ var O1 = {
55374
55383
  class: "info-section"
55375
55384
  }, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
55376
55385
  q(Fe),
55377
- K("section", Z2, [r[43] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(Ce.value, (e) => (U(), W("div", {
55386
+ K("section", Q2, [r[43] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(Ce.value, (e) => (U(), W("div", {
55378
55387
  key: e.name,
55379
55388
  class: "expert-row"
55380
55389
  }, [
@@ -55407,7 +55416,7 @@ var O1 = {
55407
55416
  ], 64)) : Y("", !0)]),
55408
55417
  _: 1
55409
55418
  }, 8, ["open"]),
55410
- q(ZX, {
55419
+ q(QX, {
55411
55420
  modelValue: s.value,
55412
55421
  "onUpdate:modelValue": r[26] ||= (e) => s.value = e,
55413
55422
  "reading-width": x.value,
@@ -55431,7 +55440,7 @@ var O1 = {
55431
55440
  ], 6);
55432
55441
  };
55433
55442
  }
55434
- }, d4 = {
55443
+ }, f4 = {
55435
55444
  __name: "App",
55436
55445
  setup(e) {
55437
55446
  return br("discussion", OV()), (e, t) => {
@@ -55442,7 +55451,7 @@ var O1 = {
55442
55451
  toaster: null
55443
55452
  }, {
55444
55453
  default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
55445
- default: L(() => [q(u4)]),
55454
+ default: L(() => [q(d4)]),
55446
55455
  _: 1
55447
55456
  })]),
55448
55457
  _: 1
@@ -55452,8 +55461,8 @@ var O1 = {
55452
55461
  };
55453
55462
  //#endregion
55454
55463
  //#region frontend/main.js
55455
- function f4() {
55456
- bu(d4).use(ph).mount("#modern-root");
55464
+ function p4() {
55465
+ bu(f4).use(ph).mount("#modern-root");
55457
55466
  }
55458
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", f4) : f4();
55467
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", p4) : p4();
55459
55468
  //#endregion