ai_co_discuss 0.2.2 → 0.2.3

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
@@ -44217,27 +44217,34 @@ var YG = /*#__PURE__*/ nH({
44217
44217
  }, null, 4)
44218
44218
  ])], 40, XG));
44219
44219
  }
44220
- }, [["__scopeId", "data-v-3e99b484"]]), lK = ["data-identity", "data-face"], uK = ["inert", "aria-hidden"], dK = { class: "expert-card-identity" }, fK = ["title"], pK = { class: "expert-card-entry" }, mK = { class: "expert-card-summary" }, hK = { class: "expert-card-model" }, gK = { class: "expert-card-strength" }, _K = ["aria-label"], vK = ["inert", "aria-hidden"], yK = { class: "expert-card-heading" }, bK = { class: "expert-card-actions" }, xK = ["aria-label"], SK = ["aria-label"], CK = [
44220
+ }, [["__scopeId", "data-v-3e99b484"]]), lK = ["data-identity", "data-face"], uK = ["inert", "aria-hidden"], dK = { class: "expert-card-identity" }, fK = {
44221
+ key: 0,
44222
+ class: "expert-card-badge"
44223
+ }, pK = { class: "expert-card-facts" }, mK = ["title"], hK = ["title"], gK = {
44224
+ key: 0,
44225
+ class: "expert-card-flip"
44226
+ }, _K = { class: "expert-card-tools" }, vK = [
44227
+ "aria-pressed",
44228
+ "aria-label",
44229
+ "title"
44230
+ ], yK = ["aria-label"], bK = ["inert", "aria-hidden"], xK = { class: "expert-card-heading" }, SK = ["aria-label"], CK = ["aria-label"], wK = [
44221
44231
  "aria-checked",
44222
44232
  "tabindex",
44223
44233
  "data-mode",
44224
44234
  "onClick"
44225
- ], wK = {
44235
+ ], TK = {
44226
44236
  key: 1,
44227
- class: "expert-card-software"
44228
- }, TK = { class: "expert-card-catalog" }, EK = {
44237
+ class: "expert-card-field"
44238
+ }, EK = { class: "expert-card-field" }, DK = { class: "expert-card-catalog" }, OK = {
44229
44239
  key: 0,
44230
44240
  class: "expert-card-effort"
44231
- }, DK = {
44232
- class: "expert-card-scale",
44233
- "aria-hidden": "true"
44234
- }, OK = {
44241
+ }, kK = {
44235
44242
  key: 1,
44236
44243
  class: "expert-card-note"
44237
- }, kK = { class: "expert-card-defaults" }, AK = ["aria-label", "disabled"], jK = {
44244
+ }, AK = { class: "expert-card-defaults" }, jK = ["aria-label", "disabled"], MK = {
44238
44245
  key: 3,
44239
- class: "expert-card-boundary"
44240
- }, MK = 180, NK = /*#__PURE__*/ nH({
44246
+ class: "expert-card-note"
44247
+ }, NK = 180, PK = /*#__PURE__*/ nH({
44241
44248
  __name: "ExpertCard",
44242
44249
  props: {
44243
44250
  name: {
@@ -44252,9 +44259,15 @@ var YG = /*#__PURE__*/ nH({
44252
44259
  status: {
44253
44260
  type: Object,
44254
44261
  required: !0
44255
- }
44262
+ },
44263
+ host: Boolean,
44264
+ hostable: Boolean
44256
44265
  },
44257
- emits: ["remove", "mode"],
44266
+ emits: [
44267
+ "remove",
44268
+ "mode",
44269
+ "host"
44270
+ ],
44258
44271
  setup(e, { emit: t }) {
44259
44272
  let n = e, r = t, { view: i, bridge: a } = xr("discussion"), o = rV(0, {
44260
44273
  mass: 1,
@@ -44276,24 +44289,37 @@ var YG = /*#__PURE__*/ nH({
44276
44289
  label: t[e] || e,
44277
44290
  value: e
44278
44291
  }))] : null;
44279
- }), S = Z(() => x.value?.find((e) => e.value === (p.value.effort || ""))?.label || (p.value.adapter === "antigravity_cli" ? "强度随模型" : p.value.effort || "默认强度"));
44280
- function C() {
44292
+ }), S = Z(() => x.value?.find((e) => e.value === (p.value.effort || ""))?.label || (p.value.adapter === "antigravity_cli" ? "强度随模型" : p.value.effort || "默认强度")), C = Z(() => [
44293
+ {
44294
+ label: "软件",
44295
+ value: h.value
44296
+ },
44297
+ {
44298
+ label: "模型",
44299
+ value: y.value ? p.value.model || "默认模型" : n.mode === "online" ? "在原网页设置" : "在原软件设置"
44300
+ },
44301
+ ...y.value ? [{
44302
+ label: "强度",
44303
+ value: S.value
44304
+ }] : []
44305
+ ]);
44306
+ function w() {
44281
44307
  Qn(() => {
44282
44308
  document.activeElement === c.value && (f.value ? u : l).value?.focus({ preventScroll: !0 });
44283
44309
  });
44284
44310
  }
44285
- function w(e) {
44286
- let t = e >= MK / 2;
44287
- f.value !== t && (f.value = t, C());
44311
+ function T(e) {
44312
+ let t = e >= NK / 2;
44313
+ f.value !== t && (f.value = t, w());
44288
44314
  }
44289
- let T = o.on("change", w), E = o.on("animationComplete", C);
44290
- function D(e) {
44315
+ let E = o.on("change", T), D = o.on("animationComplete", w);
44316
+ function O(e) {
44291
44317
  (!e || g.value) && (c.value?.focus({ preventScroll: !0 }), d.value = e);
44292
44318
  }
44293
- function O() {
44319
+ function ee() {
44294
44320
  a.write_launch(n.name, "model", ""), a.write_launch(n.name, "effort", "");
44295
44321
  }
44296
- function ee(e) {
44322
+ function te(e) {
44297
44323
  if (![
44298
44324
  "ArrowLeft",
44299
44325
  "ArrowRight",
@@ -44306,12 +44332,12 @@ var YG = /*#__PURE__*/ nH({
44306
44332
  let t = e.key === "Home" ? "cli" : e.key === "End" || n.mode === "cli" ? "online" : "cli";
44307
44333
  r("mode", t), e.currentTarget.querySelector(`[data-mode="${t}"]`)?.focus();
44308
44334
  }
44309
- function te(e) {
44310
- d.value && (e.stopPropagation(), e.preventDefault(), D(!1));
44335
+ function k(e) {
44336
+ d.value && (e.stopPropagation(), e.preventDefault(), O(!1));
44311
44337
  }
44312
44338
  return R([d, s], ([e, t]) => {
44313
- let n = e ? MK : 0;
44314
- t ? (o.jump(n), C()) : o.set(n);
44339
+ let n = e ? NK : 0;
44340
+ t ? (o.jump(n), w()) : o.set(n);
44315
44341
  }), R(() => [
44316
44342
  d.value,
44317
44343
  y.value,
@@ -44320,17 +44346,20 @@ var YG = /*#__PURE__*/ nH({
44320
44346
  ], ([e, t, r]) => {
44321
44347
  e && t && r && a.load_launch_models(n.name);
44322
44348
  }), ta(() => {
44323
- T(), E(), o.stop();
44349
+ E(), D(), o.stop();
44324
44350
  }), (t, n) => {
44325
- let s = Gk, d = zk, C = pV, w = MV;
44351
+ let s = Gk, d = zk, h = pV;
44326
44352
  return U(), W("div", {
44327
44353
  ref_key: "card",
44328
44354
  ref: c,
44329
- class: M(["expert-card", { "is-configurable": y.value }]),
44355
+ class: M(["expert-card", {
44356
+ "is-configurable": y.value,
44357
+ "is-host": e.host
44358
+ }]),
44330
44359
  "data-identity": I(a).identities[e.name]?.style,
44331
44360
  "data-face": f.value ? "back" : "front",
44332
44361
  tabindex: "-1",
44333
- onKeydown: fu(te, ["esc"])
44362
+ onKeydown: fu(k, ["esc"])
44334
44363
  }, [q(I(QB).div, {
44335
44364
  class: "expert-card-turn",
44336
44365
  style: fe({ rotateY: I(o) })
@@ -44345,36 +44374,31 @@ var YG = /*#__PURE__*/ nH({
44345
44374
  type: g.value ? "button" : void 0,
44346
44375
  class: M(["expert-card-open", { "is-static": !g.value }]),
44347
44376
  "aria-label": g.value ? _.value : void 0,
44348
- title: g.value ? "点击翻面查看配置" : void 0,
44349
- onClick: n[0] ||= (e) => D(!0)
44377
+ title: g.value ? "点击翻面设置" : void 0,
44378
+ onClick: n[0] ||= (e) => O(!0)
44350
44379
  }, {
44351
44380
  default: L(() => [
44352
- K("span", dK, [q(s, {
44353
- src: I(a).identities[e.name]?.icon,
44354
- text: I(a).identities[e.name]?.initials,
44355
- alt: e.name,
44356
- size: "sm",
44357
- class: M(["channel-avatar expert-card-avatar", I(a).identities[e.name]?.style])
44358
- }, null, 8, [
44359
- "src",
44360
- "text",
44361
- "alt",
44362
- "class"
44363
- ]), K("strong", null, P(e.name), 1)]),
44364
- K("span", {
44381
+ K("span", dK, [
44382
+ q(s, {
44383
+ src: I(a).identities[e.name]?.icon,
44384
+ text: I(a).identities[e.name]?.initials,
44385
+ alt: e.name,
44386
+ size: "sm",
44387
+ class: M(["channel-avatar expert-card-avatar", I(a).identities[e.name]?.style])
44388
+ }, null, 8, [
44389
+ "src",
44390
+ "text",
44391
+ "alt",
44392
+ "class"
44393
+ ]),
44394
+ K("strong", null, P(e.name), 1),
44395
+ e.host ? (U(), W("span", fK, "主持")) : Y("", !0)
44396
+ ]),
44397
+ K("dl", pK, [K("div", null, [n[9] ||= K("dt", null, "状态", -1), K("dd", {
44365
44398
  class: M(["expert-card-status", `is-${e.status.tone}`]),
44366
44399
  title: e.status.text
44367
- }, [n[7] ||= K("i", { "aria-hidden": "true" }, null, -1), K("span", null, P(e.status.text), 1)], 10, fK),
44368
- K("span", pK, [J(P(h.value), 1), K("span", null, P(e.automatic ? "程序唤醒" : "手动接入"), 1)]),
44369
- K("span", mK, [
44370
- K("span", hK, P(y.value ? p.value.model || "默认模型" : e.mode === "online" ? "模型与强度在原网页设置" : "模型在原软件设置"), 1),
44371
- K("span", gK, P(y.value ? S.value : e.mode === "online" ? "在线只读 · 由人代发" : "本地读写 · 自行提交"), 1),
44372
- g.value ? (U(), G(d, {
44373
- key: 0,
44374
- name: "i-lucide-settings-2",
44375
- class: "expert-card-chevron"
44376
- })) : Y("", !0)
44377
- ])
44400
+ }, [n[8] ||= K("i", { "aria-hidden": "true" }, null, -1), J(P(e.status.text), 1)], 10, mK)]), (U(!0), W(H, null, B(C.value, (e) => (U(), W("div", { key: e.label }, [K("dt", null, P(e.label), 1), K("dd", { title: e.value }, P(e.value), 9, hK)]))), 128))]),
44401
+ g.value ? (U(), W("span", gK, [q(d, { name: "i-lucide-settings-2" }), n[10] ||= J("设置", -1)])) : Y("", !0)
44378
44402
  ]),
44379
44403
  _: 1
44380
44404
  }, 8, [
@@ -44382,31 +44406,39 @@ var YG = /*#__PURE__*/ nH({
44382
44406
  "class",
44383
44407
  "aria-label",
44384
44408
  "title"
44385
- ])), K("button", {
44409
+ ])), K("span", _K, [e.hostable ? (U(), W("button", {
44410
+ key: 0,
44411
+ type: "button",
44412
+ class: "expert-card-host",
44413
+ "aria-pressed": e.host,
44414
+ "aria-label": e.host ? `${e.name} 是主持人` : `设 ${e.name} 为主持人`,
44415
+ title: e.host ? "主持人" : "设为主持人",
44416
+ onClick: n[1] ||= (e) => r("host")
44417
+ }, [q(d, { name: "i-lucide-crown" })], 8, vK)) : Y("", !0), K("button", {
44386
44418
  type: "button",
44387
- class: "expert-card-remove",
44388
44419
  "aria-label": `移出 ${e.name}`,
44389
- onClick: n[1] ||= (e) => r("remove")
44390
- }, [q(d, { name: "i-lucide-x" })], 8, _K)], 8, uK), g.value ? (U(), W("div", {
44420
+ title: "移出",
44421
+ onClick: n[2] ||= (e) => r("remove")
44422
+ }, [q(d, { name: "i-lucide-x" })], 8, yK)])], 8, uK), g.value ? (U(), W("div", {
44391
44423
  key: 0,
44392
44424
  class: "expert-card-face expert-card-back",
44393
44425
  inert: !f.value,
44394
44426
  "aria-hidden": !f.value
44395
44427
  }, [
44396
- K("div", yK, [K("strong", null, [J(P(e.name), 1), n[8] ||= K("span", null, "实例设置", -1)]), K("span", bK, [K("button", {
44428
+ K("div", xK, [K("strong", null, [J(P(e.name), 1), n[11] ||= K("span", null, "设置", -1)]), K("button", {
44397
44429
  ref_key: "back_button",
44398
44430
  ref: u,
44399
44431
  type: "button",
44400
44432
  class: "expert-card-return",
44401
44433
  "aria-label": `返回 ${e.name} 角色卡片`,
44402
- onClick: n[2] ||= (e) => D(!1)
44403
- }, [q(d, { name: "i-lucide-arrow-left" }), n[9] ||= J("返回", -1)], 8, xK)])]),
44434
+ onClick: n[3] ||= (e) => O(!1)
44435
+ }, [q(d, { name: "i-lucide-check" }), n[12] ||= J("完成", -1)], 8, SK)]),
44404
44436
  e.automatic ? Y("", !0) : (U(), W("div", {
44405
44437
  key: 0,
44406
44438
  class: "expert-card-modes",
44407
44439
  role: "radiogroup",
44408
44440
  "aria-label": `${e.name} 参与能力`,
44409
- onKeydown: ee
44441
+ onKeydown: te
44410
44442
  }, [(U(), W(H, null, B([{
44411
44443
  value: "cli",
44412
44444
  label: "本地读写"
@@ -44421,130 +44453,112 @@ var YG = /*#__PURE__*/ nH({
44421
44453
  tabindex: e.mode === t.value ? 0 : -1,
44422
44454
  "data-mode": t.value,
44423
44455
  onClick: (e) => r("mode", t.value)
44424
- }, P(t.label), 9, CK)), 64))], 40, SK)),
44425
- e.automatic && e.mode === "cli" && m.value.length ? (U(), W("div", wK, [n[10] ||= K("span", null, "软件入口", -1), q(C, {
44456
+ }, P(t.label), 9, wK)), 64))], 40, CK)),
44457
+ e.automatic && e.mode === "cli" && m.value.length ? (U(), W("div", TK, [n[13] ||= K("span", null, "软件", -1), q(h, {
44426
44458
  "model-value": p.value.adapter || "",
44427
44459
  items: m.value,
44428
44460
  placeholder: "选择 App / CLI",
44429
44461
  "aria-label": `${e.name} 软件入口`,
44430
44462
  size: "xs",
44431
- "onUpdate:modelValue": n[3] ||= (t) => I(a).write_launch(e.name, "adapter", t)
44463
+ class: "w-full",
44464
+ "onUpdate:modelValue": n[4] ||= (t) => I(a).write_launch(e.name, "adapter", t)
44432
44465
  }, null, 8, [
44433
44466
  "model-value",
44434
44467
  "items",
44435
44468
  "aria-label"
44436
44469
  ])])) : Y("", !0),
44437
44470
  y.value ? (U(), W(H, { key: 2 }, [
44438
- q(w, {
44439
- label: "模型",
44440
- class: "expert-card-model-field"
44441
- }, {
44442
- default: L(() => [q(C, {
44443
- "model-value": p.value.model || "__default__",
44444
- items: v.value.items,
44445
- loading: v.value.loading,
44446
- "aria-label": `${e.name} 使用的模型`,
44447
- size: "sm",
44448
- class: "w-full",
44449
- "onUpdate:modelValue": n[4] ||= (t) => I(a).write_launch_model(e.name, t)
44450
- }, null, 8, [
44451
- "model-value",
44452
- "items",
44453
- "loading",
44454
- "aria-label"
44455
- ])]),
44456
- _: 1
44457
- }),
44458
- K("div", TK, [K("span", null, P(v.value.loading ? "正在读取软件模型列表…" : v.value.error || v.value.source), 1), !v.value.loading && v.value.error && I(i).launch.available ? (U(), W("button", {
44471
+ K("div", EK, [n[14] ||= K("span", null, "模型", -1), q(h, {
44472
+ "model-value": p.value.model || "__default__",
44473
+ items: v.value.items,
44474
+ loading: v.value.loading,
44475
+ "aria-label": `${e.name} 使用的模型`,
44476
+ size: "xs",
44477
+ class: "w-full",
44478
+ "onUpdate:modelValue": n[5] ||= (t) => I(a).write_launch_model(e.name, t)
44479
+ }, null, 8, [
44480
+ "model-value",
44481
+ "items",
44482
+ "loading",
44483
+ "aria-label"
44484
+ ])]),
44485
+ K("div", DK, [K("span", null, P(v.value.loading ? "正在读取软件模型列表…" : v.value.error || v.value.source), 1), !v.value.loading && v.value.error && I(i).launch.available ? (U(), W("button", {
44459
44486
  key: 0,
44460
44487
  type: "button",
44461
- onClick: n[5] ||= (t) => I(a).load_launch_models(e.name, !0)
44488
+ onClick: n[6] ||= (t) => I(a).load_launch_models(e.name, !0)
44462
44489
  }, "重试")) : Y("", !0)]),
44463
- x.value ? (U(), W("div", EK, [
44464
- K("div", null, [n[11] ||= K("span", null, "思考强度", -1), K("strong", null, P(S.value), 1)]),
44465
- q(cK, {
44466
- items: x.value,
44467
- "model-value": p.value.effort || "",
44468
- label: `${e.name} 的思考强度`,
44469
- "onUpdate:modelValue": n[6] ||= (t) => I(a).write_launch(e.name, "effort", t)
44470
- }, null, 8, [
44471
- "items",
44472
- "model-value",
44473
- "label"
44474
- ]),
44475
- K("div", DK, [n[12] ||= K("span", null, "默认", -1), K("span", null, P(x.value.at(-1).label), 1)])
44476
- ])) : (U(), W("p", OK, P(v.value.effort_note), 1)),
44477
- K("div", kK, [n[13] ||= K("span", null, "默认值由 CLI 决定", -1), K("button", {
44490
+ x.value ? (U(), W("div", OK, [K("div", null, [n[15] ||= K("span", null, "强度", -1), K("strong", null, P(S.value), 1)]), q(cK, {
44491
+ items: x.value,
44492
+ "model-value": p.value.effort || "",
44493
+ label: `${e.name} 的思考强度`,
44494
+ "onUpdate:modelValue": n[7] ||= (t) => I(a).write_launch(e.name, "effort", t)
44495
+ }, null, 8, [
44496
+ "items",
44497
+ "model-value",
44498
+ "label"
44499
+ ])])) : (U(), W("p", kK, P(v.value.effort_note), 1)),
44500
+ K("div", AK, [n[16] ||= K("span", null, "默认值由 CLI 决定", -1), K("button", {
44478
44501
  type: "button",
44479
44502
  "aria-label": `恢复 ${e.name} 的默认模型与强度`,
44480
44503
  disabled: !p.value.model && !p.value.effort,
44481
- onClick: O
44482
- }, "恢复默认", 8, AK)])
44483
- ], 64)) : (U(), W("div", jK, [
44484
- q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]),
44485
- n[14] ||= K("strong", null, "在原软件选择模型", -1),
44486
- K("p", null, P(b.value), 1)
44487
- ]))
44488
- ], 8, vK)) : Y("", !0)]),
44504
+ onClick: ee
44505
+ }, "恢复默认", 8, jK)])
44506
+ ], 64)) : (U(), W("p", MK, [q(d, { name: e.mode === "online" ? "i-lucide-globe" : "i-lucide-monitor" }, null, 8, ["name"]), J(P(b.value), 1)]))
44507
+ ], 8, bK)) : Y("", !0)]),
44489
44508
  _: 1
44490
44509
  }, 8, ["style"])], 42, lK);
44491
44510
  };
44492
44511
  }
44493
- }, [["__scopeId", "data-v-6cf9a21c"]]), PK = { class: "create-discussion" }, FK = {
44512
+ }, [["__scopeId", "data-v-d9776371"]]), FK = { class: "create-discussion" }, IK = {
44494
44513
  key: 0,
44495
44514
  class: "channel-create-location"
44496
- }, IK = { class: "create-section" }, LK = [
44515
+ }, LK = { class: "create-section" }, RK = [
44497
44516
  "aria-checked",
44498
44517
  "tabindex",
44499
44518
  "onClick"
44500
- ], RK = { class: "create-mode-copy" }, zK = { class: "create-section" }, BK = { class: "create-choice-group" }, VK = [
44519
+ ], zK = { class: "create-mode-copy" }, BK = { class: "create-section" }, VK = { class: "create-section-heading" }, HK = [
44520
+ "title",
44501
44521
  "aria-checked",
44502
44522
  "tabindex",
44503
44523
  "onClick"
44504
- ], HK = { class: "create-mode-copy" }, UK = { class: "create-choice-group" }, WK = [
44505
- "disabled",
44506
- "aria-label",
44507
- "onClick"
44508
- ], GK = { class: "fine-print create-hint" }, KK = { class: "create-expert-heading create-joined-heading" }, qK = {
44524
+ ], UK = { class: "fine-print create-hint" }, WK = {
44509
44525
  key: 0,
44510
44526
  class: "create-experts",
44511
44527
  role: "group",
44512
44528
  "aria-label": "参与的 AI"
44513
- }, JK = {
44529
+ }, GK = {
44514
44530
  key: 1,
44515
44531
  class: "create-experts-empty"
44516
- }, YK = { class: "create-host-setting" }, XK = { class: "create-host" }, ZK = { class: "create-label" }, QK = {
44517
- key: 0,
44518
- class: "fine-print create-host-empty"
44519
- }, $K = [
44520
- "aria-checked",
44521
- "tabindex",
44532
+ }, KK = [
44533
+ "disabled",
44534
+ "title",
44535
+ "aria-label",
44522
44536
  "onClick"
44523
- ], eq = { class: "fine-print create-hint" }, tq = {
44537
+ ], qK = { class: "fine-print create-hint create-host-hint" }, JK = ["aria-pressed"], YK = {
44524
44538
  key: 1,
44525
44539
  class: "create-section"
44526
- }, nq = {
44540
+ }, XK = {
44527
44541
  key: 0,
44528
44542
  class: "form-two-columns"
44529
- }, rq = { class: "create-host" }, iq = {
44543
+ }, ZK = { class: "create-host" }, QK = {
44530
44544
  class: "create-chips",
44531
44545
  role: "radiogroup",
44532
44546
  "aria-label": "达到上限后"
44533
- }, aq = ["aria-checked", "onClick"], oq = {
44547
+ }, $K = ["aria-checked", "onClick"], eq = {
44534
44548
  class: "create-limit-rule",
44535
44549
  "aria-live": "polite"
44536
- }, sq = {
44550
+ }, tq = {
44537
44551
  key: 2,
44538
44552
  class: "create-section"
44539
- }, cq = {
44553
+ }, nq = {
44540
44554
  key: 0,
44541
44555
  role: "alert",
44542
44556
  class: "fine-print create-hint"
44543
- }, lq = { class: "form-two-columns" }, uq = { class: "create-launch-list" }, dq = { class: "create-footer" }, fq = {
44557
+ }, rq = { class: "form-two-columns" }, iq = { class: "create-launch-list" }, aq = { class: "create-footer" }, oq = {
44544
44558
  key: 0,
44545
44559
  role: "alert",
44546
44560
  class: "create-error"
44547
- }, pq = { class: "create-footer-row" }, mq = ["title"], hq = "new-expert-modes", gq = /*#__PURE__*/ nH({
44561
+ }, sq = { class: "create-footer-row" }, cq = ["title"], lq = "new-expert-modes", uq = /*#__PURE__*/ nH({
44548
44562
  __name: "CreateDiscussion",
44549
44563
  props: { targetFolder: {
44550
44564
  type: Object,
@@ -44578,7 +44592,7 @@ var YG = /*#__PURE__*/ nH({
44578
44592
  icon: "i-lucide-copy",
44579
44593
  title: "手动接入",
44580
44594
  text: "首次复制指令,之后人工或定时触发"
44581
- }], h = Z(() => r.value.experts[hq] || {}), g = Z(() => Object.keys(h.value).filter((e) => h.value[e]).sort((e, t) => s.indexOf(i.platform_of(e)) - s.indexOf(i.platform_of(t)) || e.localeCompare(t, "en", { numeric: !0 }))), _ = (e) => g.value.filter((t) => i.platform_of(t) === e).length, v = /* @__PURE__ */ F(null), y = Z(() => l("host")), b = Z(() => [...f.value ? ["用户"] : [], ...g.value.filter((e) => h.value[e] === "cli")]), x = /* @__PURE__ */ F(null), S = Z(() => [.../* @__PURE__ */ new Set([y.value, ...Object.keys(h.value)])].filter((e) => i.launch_clients[e])), C = (e) => {
44595
+ }], h = Z(() => r.value.experts[lq] || {}), g = Z(() => Object.keys(h.value).filter((e) => h.value[e]).sort((e, t) => s.indexOf(i.platform_of(e)) - s.indexOf(i.platform_of(t)) || e.localeCompare(t, "en", { numeric: !0 }))), _ = (e) => g.value.filter((t) => i.platform_of(t) === e).length, v = /* @__PURE__ */ F(null), y = Z(() => l("host")), b = Z(() => [...f.value ? ["用户"] : [], ...g.value.filter((e) => h.value[e] === "cli")]), x = /* @__PURE__ */ F(null), S = Z(() => [.../* @__PURE__ */ new Set([y.value, ...Object.keys(h.value)])].filter((e) => i.launch_clients[e])), C = (e) => {
44582
44596
  let t = r.value.launch.profiles[e] || {};
44583
44597
  return !!(t.adapter && (t.adapter === "antigravity" ? t.ipc_directory : t.executable));
44584
44598
  }, w = Z(() => d.value && r.value.launch.available && (f.value || r.value.launch.create)), T = Z(() => g.value.length > 0 && (!d.value || g.value.every(C) && r.value.launch.available)), E = /* @__PURE__ */ F(!1);
@@ -44614,7 +44628,7 @@ var YG = /*#__PURE__*/ nH({
44614
44628
  i.focus(), i.click();
44615
44629
  }
44616
44630
  function k(e, t) {
44617
- i.write_expert(hq, e, t), D();
44631
+ i.write_expert(lq, e, t), D();
44618
44632
  }
44619
44633
  function ne(e) {
44620
44634
  return h.value[e] === "online" ? {
@@ -44637,7 +44651,7 @@ var YG = /*#__PURE__*/ nH({
44637
44651
  function ie(e) {
44638
44652
  if (d.value && !i.launch_clients[e]) return;
44639
44653
  let t = i.launch_clients[e] ? "cli" : "online";
44640
- _(e) ? i.add_instance(hq, e, t) : k(e, t), D();
44654
+ _(e) ? i.add_instance(lq, e, t) : k(e, t), D();
44641
44655
  }
44642
44656
  function ae(e) {
44643
44657
  k(e, ""), Qn(() => v.value?.querySelector("button:not(:disabled)")?.focus({ preventScroll: !0 }));
@@ -44668,14 +44682,14 @@ var YG = /*#__PURE__*/ nH({
44668
44682
  });
44669
44683
  return (t, c) => {
44670
44684
  let _ = zk, D = xV, ce = MV, le = FV, ue = Gk, de = AG, j = pV, fe = uA, pe = OG;
44671
- return U(), W("div", PK, [K("form", {
44685
+ return U(), W("div", FK, [K("form", {
44672
44686
  id: "create-discussion-form",
44673
44687
  class: "create-scroll dialog-form",
44674
44688
  onSubmit: uu(A, ["prevent"])
44675
44689
  }, [
44676
- e.targetFolder?.id ? (U(), W("p", FK, [q(_, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
44677
- K("section", IK, [
44678
- c[11] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
44690
+ e.targetFolder?.id ? (U(), W("p", IK, [q(_, { name: "i-lucide-folder" }), J(P(e.targetFolder.name), 1)])) : Y("", !0),
44691
+ K("section", LK, [
44692
+ c[12] ||= K("h3", null, [K("span", null, "1"), J("这次做什么")], -1),
44679
44693
  K("div", {
44680
44694
  class: "create-modes",
44681
44695
  role: "radiogroup",
@@ -44689,7 +44703,7 @@ var YG = /*#__PURE__*/ nH({
44689
44703
  "aria-checked": (l("kind") || "brainstorm") === e.value,
44690
44704
  tabindex: (l("kind") || "brainstorm") === e.value ? 0 : -1,
44691
44705
  onClick: (t) => O(e.value)
44692
- }, [q(_, { name: e.icon }, null, 8, ["name"]), K("span", RK, [K("strong", null, P(e.title), 1), K("small", null, P(e.text), 1)])], 10, LK)), 64))], 32),
44706
+ }, [q(_, { name: e.icon }, null, 8, ["name"]), K("span", zK, [K("strong", null, P(e.title), 1), K("small", null, P(e.text), 1)])], 10, RK)), 64))], 32),
44693
44707
  q(ce, {
44694
44708
  label: "话题名称",
44695
44709
  required: ""
@@ -44725,10 +44739,9 @@ var YG = /*#__PURE__*/ nH({
44725
44739
  _: 1
44726
44740
  }, 8, ["description"])
44727
44741
  ]),
44728
- K("section", zK, [
44729
- c[17] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1),
44730
- K("div", BK, [c[12] ||= K("h4", null, "接入方式", -1), K("div", {
44731
- class: "create-modes",
44742
+ K("section", BK, [
44743
+ K("div", VK, [c[13] ||= K("h3", null, [K("span", null, "2"), J("谁来参与")], -1), K("div", {
44744
+ class: "create-segments",
44732
44745
  role: "radiogroup",
44733
44746
  "aria-label": "接入方式",
44734
44747
  onKeydown: te
@@ -44736,87 +44749,86 @@ var YG = /*#__PURE__*/ nH({
44736
44749
  key: e.value,
44737
44750
  type: "button",
44738
44751
  role: "radio",
44739
- class: M(["create-mode", { "is-selected": l("mode") === e.value }]),
44752
+ title: e.text,
44740
44753
  "aria-checked": l("mode") === e.value,
44741
44754
  tabindex: l("mode") === e.value ? 0 : -1,
44742
44755
  onClick: (t) => ee(e.value)
44743
- }, [q(_, { name: e.icon }, null, 8, ["name"]), K("span", HK, [K("strong", null, P(e.title), 1), K("small", null, P(e.text), 1)])], 10, VK)), 64))], 32)]),
44744
- K("div", UK, [
44745
- c[16] ||= K("div", { class: "create-expert-heading" }, [K("h4", null, "AI 角色库"), K("span", { class: "fine-print" }, "每次添加一个独立实例")], -1),
44746
- K("div", {
44747
- ref_key: "library",
44748
- ref: v,
44749
- class: "create-role-library",
44750
- role: "group",
44751
- "aria-label": "AI 角色库"
44752
- }, [(U(!0), W(H, null, B(I(s), (e) => (U(), W("button", {
44753
- key: e,
44754
- type: "button",
44755
- disabled: d.value && !I(i).launch_clients[e],
44756
- "aria-label": `添加 ${e} 实例`,
44757
- onClick: (t) => ie(e)
44758
- }, [
44759
- q(ue, {
44760
- src: I(i).identities[e]?.icon,
44761
- text: I(i).identities[e]?.initials,
44762
- alt: e,
44763
- size: "sm",
44764
- class: M(["channel-avatar", I(i).identities[e]?.style])
44765
- }, null, 8, [
44766
- "src",
44767
- "text",
44768
- "alt",
44769
- "class"
44770
- ]),
44771
- K("span", null, [K("strong", null, P(e), 1), K("small", null, P(re(e)), 1)]),
44772
- q(_, { name: "i-lucide-plus" })
44773
- ], 8, WK))), 128))], 512),
44774
- K("p", GK, P(d.value ? "程序唤醒支持已适配的本地软件;网页 AI 请使用手动接入。" : "手动接入本地 AI 后,它可自行提交回答;网页 AI 只读,由你或授权主持人代发。"), 1),
44775
- K("div", KK, [K("h4", null, [c[13] ||= J("已加入 ", -1), K("span", null, P(g.value.length), 1)]), c[14] ||= K("span", { class: "fine-print" }, "本地软件可翻面设置", -1)]),
44776
- g.value.length ? (U(), W("div", qK, [(U(!0), W(H, null, B(g.value, (e) => (U(), G(NK, {
44777
- key: e,
44778
- name: e,
44779
- mode: h.value[e],
44780
- automatic: d.value,
44781
- status: ne(e),
44782
- onRemove: (t) => ae(e),
44783
- onMode: (t) => k(e, t)
44756
+ }, [q(_, { name: e.icon }, null, 8, ["name"]), J(P(e.title), 1)], 8, HK)), 64))], 32)]),
44757
+ K("p", UK, P(d.value ? "本机服务交付任务并自动接续会话;仅支持已适配的本地软件,网页 AI 请用手动接入。" : "首次复制指令,之后人工或定时触发;本地 AI 可自行提交,网页 AI 由你或授权主持人代发。"), 1),
44758
+ g.value.length ? (U(), W("div", WK, [(U(!0), W(H, null, B(g.value, (e) => (U(), G(PK, {
44759
+ key: e,
44760
+ name: e,
44761
+ mode: h.value[e],
44762
+ automatic: d.value,
44763
+ status: ne(e),
44764
+ host: y.value === e,
44765
+ hostable: b.value.includes(e),
44766
+ onHost: (t) => u("host", e),
44767
+ onRemove: (t) => ae(e),
44768
+ onMode: (t) => k(e, t)
44769
+ }, null, 8, [
44770
+ "name",
44771
+ "mode",
44772
+ "automatic",
44773
+ "status",
44774
+ "host",
44775
+ "hostable",
44776
+ "onHost",
44777
+ "onRemove",
44778
+ "onMode"
44779
+ ]))), 128))])) : (U(), W("p", GK, "从下方添加 AI;同一平台可添加多位,各自独立会话。")),
44780
+ K("div", {
44781
+ ref_key: "library",
44782
+ ref: v,
44783
+ class: "create-roster-add",
44784
+ role: "group",
44785
+ "aria-label": "添加 AI"
44786
+ }, [c[14] ||= K("span", { class: "create-label" }, "添加", -1), (U(!0), W(H, null, B(I(s), (e) => (U(), W("button", {
44787
+ key: e,
44788
+ type: "button",
44789
+ disabled: d.value && !I(i).launch_clients[e],
44790
+ title: re(e),
44791
+ "aria-label": `添加 ${e} 实例`,
44792
+ onClick: (t) => ie(e)
44793
+ }, [
44794
+ q(ue, {
44795
+ src: I(i).identities[e]?.icon,
44796
+ text: I(i).identities[e]?.initials,
44797
+ alt: e,
44798
+ size: "3xs",
44799
+ class: M(["channel-avatar", I(i).identities[e]?.style])
44784
44800
  }, null, 8, [
44785
- "name",
44786
- "mode",
44787
- "automatic",
44788
- "status",
44789
- "onRemove",
44790
- "onMode"
44791
- ]))), 128))])) : (U(), W("p", JK, "从上方角色库添加 AI;同一平台可以添加多位。")),
44792
- K("div", YK, [K("div", XK, [K("span", ZK, P(f.value ? "谁来主持" : "AI 主持人"), 1), b.value.length ? (U(), W("div", {
44793
- key: 1,
44794
- class: "create-host-choices",
44795
- role: "radiogroup",
44796
- "aria-label": "主持人",
44797
- onKeydown: te
44798
- }, [(U(!0), W(H, null, B(b.value, (e) => (U(), W("button", {
44799
- key: e,
44800
- type: "button",
44801
- role: "radio",
44802
- "aria-checked": y.value === e,
44803
- tabindex: y.value === e ? 0 : -1,
44804
- onClick: (t) => u("host", e)
44805
- }, [c[15] ||= K("span", { "aria-hidden": "true" }, null, -1), J(P(e === "用户" ? "我来主持" : I(i).display_name(e)), 1)], 8, $K))), 128))], 32)) : (U(), W("span", QK, "先添加一位本地读写的 AI"))]), K("p", eq, P(f.value ? "默认由你点名和分配任务,也可指定一位本地 AI 协助主持。" : "主持人须为本地读写 AI,负责补全议题、安排发言与收束,也可同时作为专家。"), 1)])
44806
- ])
44801
+ "src",
44802
+ "text",
44803
+ "alt",
44804
+ "class"
44805
+ ]),
44806
+ J(P(e), 1),
44807
+ q(_, { name: "i-lucide-plus" })
44808
+ ], 8, KK))), 128))], 512),
44809
+ K("div", qK, [f.value ? (U(), W("button", {
44810
+ key: 0,
44811
+ type: "button",
44812
+ class: "create-host-self",
44813
+ "aria-pressed": y.value === "用户",
44814
+ onClick: c[2] ||= (e) => u("host", "用户")
44815
+ }, [q(_, { name: "i-lucide-crown" }), c[15] ||= J("我来主持", -1)], 8, JK)) : (U(), G(_, {
44816
+ key: 1,
44817
+ name: "i-lucide-crown"
44818
+ })), K("span", null, P(f.value ? "默认由你点名和分配任务;也可点卡片上的皇冠,由一位本地 AI 协助主持。" : b.value.length ? "点卡片上的皇冠指定主持人:须为本地读写 AI,负责补全议题、安排发言与收束,也可同时作为专家。" : "先添加一位本地读写的 AI 担任主持人。"), 1)])
44807
44819
  ]),
44808
- f.value ? Y("", !0) : (U(), W("section", tq, [
44809
- c[20] ||= K("h3", null, [K("span", null, "3"), J("讨论多久")], -1),
44820
+ f.value ? Y("", !0) : (U(), W("section", YK, [
44821
+ c[18] ||= K("h3", null, [K("span", null, "3"), J("讨论多久")], -1),
44810
44822
  q(YG, {
44811
44823
  ref_key: "limit_picker",
44812
44824
  ref: x,
44813
44825
  rounds: Number(l("limit-max_rounds")),
44814
44826
  minutes: Number(l("limit-max_minutes")),
44815
- "onUpdate:rounds": c[2] ||= (e) => u("limit-max_rounds", String(e)),
44816
- "onUpdate:minutes": c[3] ||= (e) => u("limit-max_minutes", String(e))
44827
+ "onUpdate:rounds": c[3] ||= (e) => u("limit-max_rounds", String(e)),
44828
+ "onUpdate:minutes": c[4] ||= (e) => u("limit-max_minutes", String(e))
44817
44829
  }, null, 8, ["rounds", "minutes"]),
44818
- c[21] ||= K("p", { class: "fine-print create-hint" }, "一轮指每位专家各完成一次观点;首次进入讨论或创建安排后计时,暂停期间不计时。", -1),
44819
- d.value ? (U(), W("div", nq, [q(ce, {
44830
+ c[19] ||= K("p", { class: "fine-print create-hint" }, "一轮指每位专家各完成一次观点;首次进入讨论或创建安排后计时,暂停期间不计时。", -1),
44831
+ d.value ? (U(), W("div", XK, [q(ce, {
44820
44832
  label: "单次 AI 执行(分钟)",
44821
44833
  description: "留空或 0 表示不限"
44822
44834
  }, {
@@ -44828,13 +44840,13 @@ var YG = /*#__PURE__*/ nH({
44828
44840
  step: 1,
44829
44841
  placeholder: "不限时长",
44830
44842
  class: "w-full",
44831
- "onUpdate:modelValue": c[4] ||= (e) => u("limit-execution_minutes", e)
44843
+ "onUpdate:modelValue": c[5] ||= (e) => u("limit-execution_minutes", e)
44832
44844
  }, null, 8, ["model-value"])]),
44833
44845
  _: 1
44834
44846
  })])) : Y("", !0),
44835
- K("div", rq, [
44836
- c[19] ||= K("span", { class: "create-label" }, "达到任一上限后", -1),
44837
- K("div", iq, [(U(), W(H, null, B([{
44847
+ K("div", ZK, [
44848
+ c[17] ||= K("span", { class: "create-label" }, "达到任一上限后", -1),
44849
+ K("div", QK, [(U(), W(H, null, B([{
44838
44850
  value: "pause",
44839
44851
  label: "暂停保留现场"
44840
44852
  }, {
@@ -44847,7 +44859,7 @@ var YG = /*#__PURE__*/ nH({
44847
44859
  "aria-checked": (l("limit-on_limit") || "pause") === e.value,
44848
44860
  class: M({ "is-selected": (l("limit-on_limit") || "pause") === e.value }),
44849
44861
  onClick: (t) => u("limit-on_limit", e.value)
44850
- }, P(e.label), 11, aq)), 64))]),
44862
+ }, P(e.label), 11, $K)), 64))]),
44851
44863
  l("limit-on_limit") === "summarize" ? (U(), G(D, {
44852
44864
  key: 0,
44853
44865
  "model-value": l("limit-summary_minutes"),
@@ -44857,25 +44869,25 @@ var YG = /*#__PURE__*/ nH({
44857
44869
  step: 1,
44858
44870
  "aria-label": "收束预留(分钟)",
44859
44871
  class: "create-summary-minutes",
44860
- "onUpdate:modelValue": c[5] ||= (e) => u("limit-summary_minutes", e)
44872
+ "onUpdate:modelValue": c[6] ||= (e) => u("limit-summary_minutes", e)
44861
44873
  }, {
44862
- trailing: L(() => [...c[18] ||= [K("span", { class: "fine-print" }, "分钟收束", -1)]]),
44874
+ trailing: L(() => [...c[16] ||= [K("span", { class: "fine-print" }, "分钟收束", -1)]]),
44863
44875
  _: 1
44864
44876
  }, 8, ["model-value"])) : Y("", !0)
44865
44877
  ]),
44866
- K("p", oq, [q(_, { name: "i-lucide-flag" }), J(P(oe.value), 1)])
44878
+ K("p", eq, [q(_, { name: "i-lucide-flag" }), J(P(oe.value), 1)])
44867
44879
  ])),
44868
- d.value ? (U(), W("section", sq, [
44869
- K("h3", null, [K("span", null, P(f.value ? 3 : 4), 1), c[22] ||= J("启动本机软件", -1)]),
44870
- f.value && !I(r).launch.available ? (U(), W("p", cq, "程序唤醒需要本机服务:请在运行 AI 的电脑打开本机网站,或先运行连接命令。")) : Y("", !0),
44880
+ d.value ? (U(), W("section", tq, [
44881
+ K("h3", null, [K("span", null, P(f.value ? 3 : 4), 1), c[20] ||= J("启动本机软件", -1)]),
44882
+ f.value && !I(r).launch.available ? (U(), W("p", nq, "程序唤醒需要本机服务:请在运行 AI 的电脑打开本机网站,或先运行连接命令。")) : Y("", !0),
44871
44883
  I(r).launch.available ? (U(), W(H, { key: 1 }, [f.value ? Y("", !0) : (U(), G(de, {
44872
44884
  key: 0,
44873
44885
  "model-value": I(r).launch.create,
44874
44886
  label: "创建后立即启动 AI",
44875
44887
  description: "由本机服务创建会话并交付首个主持任务;不勾选则只建房,稍后在「接入」页启动。",
44876
- "onUpdate:modelValue": c[6] ||= (e) => I(i).write_launch("create", "", e)
44888
+ "onUpdate:modelValue": c[7] ||= (e) => I(i).write_launch("create", "", e)
44877
44889
  }, null, 8, ["model-value"])), f.value || I(r).launch.create ? (U(), W(H, { key: 1 }, [
44878
- K("div", lq, [q(ce, {
44890
+ K("div", rq, [q(ce, {
44879
44891
  label: "项目目录(可选)",
44880
44892
  help: "要一起查看的项目;留空时 AI 只在讨论私有目录工作"
44881
44893
  }, {
@@ -44883,7 +44895,7 @@ var YG = /*#__PURE__*/ nH({
44883
44895
  "model-value": I(r).launch.workspace.cwd || "",
44884
44896
  placeholder: "已有目录的完整路径",
44885
44897
  class: "w-full",
44886
- "onUpdate:modelValue": c[7] ||= (e) => I(i).write_launch("workspace", "cwd", e)
44898
+ "onUpdate:modelValue": c[8] ||= (e) => I(i).write_launch("workspace", "cwd", e)
44887
44899
  }, null, 8, ["model-value"])]),
44888
44900
  _: 1
44889
44901
  }), q(ce, {
@@ -44894,11 +44906,11 @@ var YG = /*#__PURE__*/ nH({
44894
44906
  "model-value": I(r).launch.workspace.project_access || "read",
44895
44907
  items: o,
44896
44908
  class: "w-full",
44897
- "onUpdate:modelValue": c[8] ||= (e) => I(i).write_launch("workspace", "project_access", e)
44909
+ "onUpdate:modelValue": c[9] ||= (e) => I(i).write_launch("workspace", "project_access", e)
44898
44910
  }, null, 8, ["model-value"])]),
44899
44911
  _: 1
44900
44912
  }, 8, ["help"])]),
44901
- K("ul", uq, [(U(!0), W(H, null, B(S.value, (e) => (U(), W("li", { key: e }, [
44913
+ K("ul", iq, [(U(!0), W(H, null, B(S.value, (e) => (U(), W("li", { key: e }, [
44902
44914
  q(_, {
44903
44915
  name: C(e) ? "i-lucide-circle-check" : "i-lucide-circle-alert",
44904
44916
  class: M(C(e) ? "is-ready" : "is-warn")
@@ -44908,7 +44920,7 @@ var YG = /*#__PURE__*/ nH({
44908
44920
  ]))), 128))]),
44909
44921
  q(pe, {
44910
44922
  open: E.value,
44911
- "onUpdate:open": c[9] ||= (e) => E.value = e
44923
+ "onUpdate:open": c[10] ||= (e) => E.value = e
44912
44924
  }, {
44913
44925
  content: L(() => [q(gW, {
44914
44926
  participants: S.value,
@@ -44932,16 +44944,16 @@ var YG = /*#__PURE__*/ nH({
44932
44944
  "model-selection": !1
44933
44945
  }, null, 8, ["participants"]))
44934
44946
  ])) : Y("", !0)
44935
- ], 32), K("footer", dq, [w.value && I(r).launch.error ? (U(), W("p", fq, P(I(r).launch.error), 1)) : Y("", !0), K("div", pq, [
44947
+ ], 32), K("footer", aq, [w.value && I(r).launch.error ? (U(), W("p", oq, P(I(r).launch.error), 1)) : Y("", !0), K("div", sq, [
44936
44948
  K("span", {
44937
44949
  class: "create-summary",
44938
44950
  title: se.value
44939
- }, P(se.value), 9, mq),
44951
+ }, P(se.value), 9, cq),
44940
44952
  q(fe, {
44941
44953
  label: "取消",
44942
44954
  color: "neutral",
44943
44955
  variant: "ghost",
44944
- onClick: c[10] ||= (e) => n("cancel")
44956
+ onClick: c[11] ||= (e) => n("cancel")
44945
44957
  }),
44946
44958
  q(fe, {
44947
44959
  type: "submit",
@@ -44960,61 +44972,61 @@ var YG = /*#__PURE__*/ nH({
44960
44972
  ])])]);
44961
44973
  };
44962
44974
  }
44963
- }, [["__scopeId", "data-v-62e36209"]]), _q = {
44975
+ }, [["__scopeId", "data-v-44ac648e"]]), dq = {
44964
44976
  key: 0,
44965
44977
  class: "channel-archive-manager"
44966
- }, vq = { class: "channel-archive-toolbar" }, yq = {
44978
+ }, fq = { class: "channel-archive-toolbar" }, pq = {
44967
44979
  key: 0,
44968
44980
  class: "channel-archive-confirm channel-archive-bulk",
44969
44981
  role: "alert"
44970
- }, bq = {
44982
+ }, mq = {
44971
44983
  key: 1,
44972
44984
  role: "alert",
44973
44985
  class: "channel-directory-error"
44974
- }, xq = { class: "channel-archive-results" }, Sq = {
44986
+ }, hq = { class: "channel-archive-results" }, gq = {
44975
44987
  key: 0,
44976
44988
  class: "channel-archive-list",
44977
44989
  "aria-label": "已存档频道列表"
44978
- }, Cq = { class: "channel-archive-row" }, wq = { class: "channel-archive-info" }, Tq = [
44990
+ }, _q = { class: "channel-archive-row" }, vq = { class: "channel-archive-info" }, yq = [
44979
44991
  "title",
44980
44992
  "disabled",
44981
44993
  "onClick"
44982
- ], Eq = { key: 0 }, Dq = ["datetime"], Oq = { class: "channel-archive-actions" }, kq = {
44994
+ ], bq = { key: 0 }, xq = ["datetime"], Sq = { class: "channel-archive-actions" }, Cq = {
44983
44995
  key: 0,
44984
44996
  class: "channel-archive-confirm channel-archive-bulk",
44985
44997
  role: "alert"
44986
- }, Aq = {
44998
+ }, wq = {
44987
44999
  key: 1,
44988
45000
  class: "channel-archive-empty"
44989
- }, jq = { class: "fine-print" }, Mq = { class: "dialog-actions" }, Nq = { class: "dialog-actions" }, Pq = { class: "channel-management-target" }, Fq = {
45001
+ }, Tq = { class: "fine-print" }, Eq = { class: "dialog-actions" }, Dq = { class: "dialog-actions" }, Oq = { class: "channel-management-target" }, kq = {
44990
45002
  key: 0,
44991
45003
  class: "fine-print"
44992
- }, Iq = {
45004
+ }, Aq = {
44993
45005
  key: 1,
44994
45006
  class: "fine-print"
44995
- }, Lq = {
45007
+ }, jq = {
44996
45008
  key: 2,
44997
45009
  class: "fine-print"
44998
- }, Rq = { class: "dialog-actions" }, zq = { key: 4 }, Bq = { class: "theme-choices" }, Vq = ["aria-pressed", "onClick"], Hq = { class: "theme-check" }, Uq = { class: "channel-reading-setting" }, Wq = {
45010
+ }, Mq = { class: "dialog-actions" }, Nq = { key: 4 }, Pq = { class: "theme-choices" }, Fq = ["aria-pressed", "onClick"], Iq = { class: "theme-check" }, Lq = { class: "channel-reading-setting" }, Rq = {
44999
45011
  class: "channel-reading-options",
45000
45012
  role: "group",
45001
45013
  "aria-labelledby": "channel-reading-label"
45002
- }, Gq = { class: "form-two-columns" }, Kq = { class: "advanced-content" }, qq = { class: "form-two-columns" }, Jq = {
45014
+ }, zq = { class: "form-two-columns" }, Bq = { class: "advanced-content" }, Vq = { class: "form-two-columns" }, Hq = {
45003
45015
  key: 0,
45004
45016
  class: "fine-print"
45005
- }, Yq = { class: "advanced-content" }, Xq = { class: "expert-fields" }, Zq = { class: "dialog-actions" }, Qq = { class: "dialog-actions" }, $q = {
45017
+ }, Uq = { class: "advanced-content" }, Wq = { class: "expert-fields" }, Gq = { class: "dialog-actions" }, Kq = { class: "dialog-actions" }, qq = {
45006
45018
  key: 8,
45007
45019
  class: "original-message"
45008
- }, eJ = {
45020
+ }, Jq = {
45009
45021
  key: 0,
45010
45022
  role: "alert"
45011
- }, tJ = { class: "original-meta" }, nJ = { class: "fine-print" }, rJ = {
45023
+ }, Yq = { class: "original-meta" }, Xq = { class: "fine-print" }, Zq = {
45012
45024
  key: 0,
45013
45025
  class: "channel-answer-summary"
45014
- }, iJ = { class: "message-prose" }, aJ = { class: "message-prose" }, oJ = ["innerHTML"], sJ = {
45026
+ }, Qq = { class: "message-prose" }, $q = { class: "message-prose" }, eJ = ["innerHTML"], tJ = {
45015
45027
  key: 2,
45016
45028
  class: "fine-print"
45017
- }, cJ = "topic-expert-modes", lJ = {
45029
+ }, nJ = "topic-expert-modes", rJ = {
45018
45030
  __name: "WorkspaceDialogs",
45019
45031
  props: /*@__PURE__*/ Fa({
45020
45032
  detailId: {
@@ -45285,8 +45297,8 @@ var YG = /*#__PURE__*/ nH({
45285
45297
  },
45286
45298
  "onAfter:leave": be
45287
45299
  }, {
45288
- body: L(() => [i.value === "archives" ? (U(), W("section", _q, [
45289
- K("div", vq, [
45300
+ body: L(() => [i.value === "archives" ? (U(), W("section", dq, [
45301
+ K("div", fq, [
45290
45302
  q(b, {
45291
45303
  modelValue: m.value,
45292
45304
  "onUpdate:modelValue": s[0] ||= (e) => m.value = e,
@@ -45315,7 +45327,7 @@ var YG = /*#__PURE__*/ nH({
45315
45327
  }
45316
45328
  }, null, 8, ["label", "disabled"])
45317
45329
  ]),
45318
- y.value && _.value.length ? (U(), W("div", yq, [
45330
+ y.value && _.value.length ? (U(), W("div", pq, [
45319
45331
  K("span", null, "将永久删除当前列表中的 " + P(_.value.length) + " 个频道及其全部记录,无法撤销。", 1),
45320
45332
  q(ce, {
45321
45333
  label: "取消",
@@ -45331,20 +45343,20 @@ var YG = /*#__PURE__*/ nH({
45331
45343
  onClick: E
45332
45344
  })
45333
45345
  ])) : Y("", !0),
45334
- I(a).directory_error ? (U(), W("p", bq, P(I(a).directory_error), 1)) : Y("", !0),
45335
- K("div", xq, [_.value.length ? (U(), W("ul", Sq, [(U(!0), W(H, null, B(_.value, (e) => (U(), W("li", {
45346
+ I(a).directory_error ? (U(), W("p", mq, P(I(a).directory_error), 1)) : Y("", !0),
45347
+ K("div", hq, [_.value.length ? (U(), W("ul", gq, [(U(!0), W(H, null, B(_.value, (e) => (U(), W("li", {
45336
45348
  key: e.id,
45337
45349
  class: "channel-archive-item"
45338
- }, [K("div", Cq, [K("div", wq, [K("button", {
45350
+ }, [K("div", _q, [K("div", vq, [K("button", {
45339
45351
  class: "channel-archive-title",
45340
45352
  title: e.title,
45341
45353
  disabled: !!I(l),
45342
45354
  onClick: (t) => w(e)
45343
- }, P(e.title), 9, Tq), K("small", null, [e.created_at ? (U(), W("span", Eq, [
45355
+ }, P(e.title), 9, yq), K("small", null, [e.created_at ? (U(), W("span", bq, [
45344
45356
  s[25] ||= J("创建于 ", -1),
45345
- K("time", { datetime: e.created_at }, P(S(e.created_at)), 9, Dq),
45357
+ K("time", { datetime: e.created_at }, P(S(e.created_at)), 9, xq),
45346
45358
  s[26] ||= J(" · ", -1)
45347
- ])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", Oq, [q(ce, {
45359
+ ])) : Y("", !0), J(P(e.message_count) + " 条消息", 1)])]), K("div", Sq, [q(ce, {
45348
45360
  "aria-label": `彻底删除 ${e.title}`,
45349
45361
  title: "彻底删除",
45350
45362
  icon: "i-lucide-trash-2",
@@ -45376,7 +45388,7 @@ var YG = /*#__PURE__*/ nH({
45376
45388
  "aria-label",
45377
45389
  "disabled",
45378
45390
  "onClick"
45379
- ])])]), v.value === e.id ? (U(), W("div", kq, [
45391
+ ])])]), v.value === e.id ? (U(), W("div", Cq, [
45380
45392
  K("span", null, "永久删除「" + P(e.title) + "」及其全部记录,无法撤销。", 1),
45381
45393
  q(ce, {
45382
45394
  label: "取消",
@@ -45392,12 +45404,12 @@ var YG = /*#__PURE__*/ nH({
45392
45404
  disabled: C(e),
45393
45405
  onClick: T
45394
45406
  }, null, 8, ["disabled"])
45395
- ])) : Y("", !0)]))), 128))])) : (U(), W("p", Aq, P(p.value.length ? "没有匹配的存档频道" : "暂无已存档频道"), 1))])
45407
+ ])) : Y("", !0)]))), 128))])) : (U(), W("p", wq, P(p.value.length ? "没有匹配的存档频道" : "暂无已存档频道"), 1))])
45396
45408
  ])) : i.value === "delete-folder" ? (U(), W("form", {
45397
45409
  key: 1,
45398
45410
  class: "dialog-form",
45399
45411
  onSubmit: uu(ne, ["prevent"])
45400
- }, [K("p", jq, "移除「" + P(e.targetFolder?.name) + "」后,频道不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", Mq, [q(ce, {
45412
+ }, [K("p", Tq, "移除「" + P(e.targetFolder?.name) + "」后,频道不再归属文件夹,所有消息和存档状态都会保留。", 1), K("div", Eq, [q(ce, {
45401
45413
  label: "取消",
45402
45414
  color: "neutral",
45403
45415
  variant: "ghost",
@@ -45428,7 +45440,7 @@ var YG = /*#__PURE__*/ nH({
45428
45440
  "modelValue",
45429
45441
  "aria-label",
45430
45442
  "readonly"
45431
- ]), K("div", Nq, [q(ce, {
45443
+ ]), K("div", Dq, [q(ce, {
45432
45444
  label: "取消",
45433
45445
  color: "neutral",
45434
45446
  variant: "ghost",
@@ -45453,10 +45465,10 @@ var YG = /*#__PURE__*/ nH({
45453
45465
  class: "dialog-form",
45454
45466
  onSubmit: uu(te, ["prevent"])
45455
45467
  }, [
45456
- K("p", Pq, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
45457
- i.value === "archive" ? (U(), W("p", Fq, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
45458
- i.value === "restore" ? (U(), W("p", Iq, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
45459
- i.value === "delete" ? (U(), W("p", Lq, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
45468
+ K("p", Oq, [J(P(e.targetRoom?.title) + " ", 1), K("span", null, "· " + P(e.targetRoom?.message_count) + " 条消息", 1)]),
45469
+ i.value === "archive" ? (U(), W("p", kq, "存档后可在侧栏「已存档」中查阅与恢复。已有发言安排会保留;专家需在下次检查时停止自己的定时任务。")) : Y("", !0),
45470
+ i.value === "restore" ? (U(), W("p", Aq, "恢复不会自动继续讨论;需要继续时,在主持设置中调整阶段。")) : Y("", !0),
45471
+ i.value === "delete" ? (U(), W("p", jq, "消息、共识和发言安排将一起删除,无法撤销。")) : Y("", !0),
45460
45472
  i.value === "rename" ? (U(), G(ue, {
45461
45473
  key: 3,
45462
45474
  label: "频道名称",
@@ -45473,7 +45485,7 @@ var YG = /*#__PURE__*/ nH({
45473
45485
  }, null, 8, ["modelValue"])]),
45474
45486
  _: 1
45475
45487
  })) : Y("", !0),
45476
- K("div", Rq, [q(ce, {
45488
+ K("div", Mq, [q(ce, {
45477
45489
  label: "取消",
45478
45490
  color: "neutral",
45479
45491
  variant: "ghost",
@@ -45490,7 +45502,7 @@ var YG = /*#__PURE__*/ nH({
45490
45502
  "loading",
45491
45503
  "disabled"
45492
45504
  ])])
45493
- ], 32)) : i.value === "settings" ? (U(), W("div", zq, [K("div", Bq, [(U(), W(H, null, B(he, (e) => K("button", {
45505
+ ], 32)) : i.value === "settings" ? (U(), W("div", Nq, [K("div", Pq, [(U(), W(H, null, B(he, (e) => K("button", {
45494
45506
  key: e.value,
45495
45507
  class: M({ chosen: I(a).theme === e.value }),
45496
45508
  "aria-pressed": I(a).theme === e.value,
@@ -45505,11 +45517,11 @@ var YG = /*#__PURE__*/ nH({
45505
45517
  K("b")
45506
45518
  ], -1)]], 2),
45507
45519
  K("span", null, [K("strong", null, P(e.title), 1), K("small", null, P(e.description), 1)]),
45508
- K("span", Hq, [I(a).theme === e.value ? (U(), G(de, {
45520
+ K("span", Iq, [I(a).theme === e.value ? (U(), G(de, {
45509
45521
  key: 0,
45510
45522
  name: "i-lucide-check"
45511
45523
  })) : Y("", !0)])
45512
- ], 10, Vq)), 64))]), K("section", Uq, [s[28] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", Wq, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(ce, {
45524
+ ], 10, Fq)), 64))]), K("section", Lq, [s[28] ||= K("h3", { id: "channel-reading-label" }, "对话宽度", -1), K("div", Rq, [(U(!0), W(H, null, B(e.readingOptions, (e) => (U(), G(ce, {
45513
45525
  key: e.value,
45514
45526
  label: e.label,
45515
45527
  color: "neutral",
@@ -45522,7 +45534,7 @@ var YG = /*#__PURE__*/ nH({
45522
45534
  "class",
45523
45535
  "aria-pressed",
45524
45536
  "onClick"
45525
- ]))), 128))])])])) : i.value === "create" ? (U(), G(gq, {
45537
+ ]))), 128))])])])) : i.value === "create" ? (U(), G(uq, {
45526
45538
  key: 5,
45527
45539
  "target-folder": e.targetFolder,
45528
45540
  onSubmit: N,
@@ -45557,7 +45569,7 @@ var YG = /*#__PURE__*/ nH({
45557
45569
  }, null, 8, ["model-value"])]),
45558
45570
  _: 1
45559
45571
  }),
45560
- K("div", Gq, [q(ue, { label: "主持人" }, {
45572
+ K("div", zq, [q(ue, { label: "主持人" }, {
45561
45573
  default: L(() => [q(x, {
45562
45574
  "model-value": I(a).fields[ge("host")],
45563
45575
  items: I(ie),
@@ -45591,9 +45603,9 @@ var YG = /*#__PURE__*/ nH({
45591
45603
  }, null, 8, ["model-value"])]),
45592
45604
  _: 1
45593
45605
  })) : Y("", !0),
45594
- K("section", Kq, [
45606
+ K("section", Bq, [
45595
45607
  s[29] ||= K("h3", null, "讨论上限", -1),
45596
- K("div", qq, [
45608
+ K("div", Vq, [
45597
45609
  (U(!0), W(H, null, B(le.value, (e) => (U(), G(ue, {
45598
45610
  key: e.key,
45599
45611
  label: e.label
@@ -45654,14 +45666,14 @@ var YG = /*#__PURE__*/ nH({
45654
45666
  })) : Y("", !0)
45655
45667
  ]),
45656
45668
  s[30] ||= K("p", { class: "fine-print" }, "轮次、总时长、单次执行留空或 0 表示不限。一轮指每位专家各完成一次观点;首次进入讨论阶段或创建安排后计时,暂停期间不计时。收束预留计入总时长。", -1),
45657
- se.value ? (U(), W("p", Jq, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
45669
+ se.value ? (U(), W("p", Hq, "修改上限前,请先把阶段保存为“已暂停”。")) : Y("", !0)
45658
45670
  ]),
45659
45671
  q(Se, {
45660
45672
  open: oe.value,
45661
45673
  "onUpdate:open": s[19] ||= (e) => oe.value = e,
45662
45674
  class: "advanced-fields"
45663
45675
  }, {
45664
- content: L(() => [K("div", Yq, [
45676
+ content: L(() => [K("div", Uq, [
45665
45677
  (U(), W(H, null, B([
45666
45678
  {
45667
45679
  key: "user_request",
@@ -45688,11 +45700,11 @@ var YG = /*#__PURE__*/ nH({
45688
45700
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
45689
45701
  _: 2
45690
45702
  }, 1032, ["label"])), 64)),
45691
- K("div", Xq, [(U(!0), W(H, null, B(I(re), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(x, {
45692
- "model-value": I(a).experts[cJ]?.[e] || "none",
45703
+ K("div", Wq, [(U(!0), W(H, null, B(I(re), (e) => (U(), W("div", { key: e }, [K("label", null, P(e), 1), q(x, {
45704
+ "model-value": I(a).experts[nJ]?.[e] || "none",
45693
45705
  items: A,
45694
45706
  "aria-label": `${e} 参与方式`,
45695
- "onUpdate:modelValue": (t) => I(o).write_expert(cJ, e, t === "none" ? "" : t)
45707
+ "onUpdate:modelValue": (t) => I(o).write_expert(nJ, e, t === "none" ? "" : t)
45696
45708
  }, null, 8, [
45697
45709
  "model-value",
45698
45710
  "aria-label",
@@ -45710,7 +45722,7 @@ var YG = /*#__PURE__*/ nH({
45710
45722
  }, null, 8, ["trailing-icon"])]),
45711
45723
  _: 1
45712
45724
  }, 8, ["open"]),
45713
- K("div", Zq, [q(ce, {
45725
+ K("div", Gq, [q(ce, {
45714
45726
  label: "取消",
45715
45727
  color: "neutral",
45716
45728
  variant: "ghost",
@@ -45754,7 +45766,7 @@ var YG = /*#__PURE__*/ nH({
45754
45766
  _: 1
45755
45767
  }),
45756
45768
  s[32] ||= K("p", { class: "fine-print" }, "创建后为待通知状态;由主持人实际联系专家。", -1),
45757
- K("div", Qq, [q(ce, {
45769
+ K("div", Kq, [q(ce, {
45758
45770
  label: "取消",
45759
45771
  variant: "ghost",
45760
45772
  color: "neutral",
@@ -45765,8 +45777,8 @@ var YG = /*#__PURE__*/ nH({
45765
45777
  label: "创建发言安排",
45766
45778
  loading: I(l) === "schedule"
45767
45779
  }, null, 8, ["loading"])])
45768
- ], 32)) : i.value === "message" ? (U(), W("div", $q, [fe.value ? (U(), W("p", eJ, P(fe.value), 1)) : j.value ? (U(), W(H, { key: 1 }, [
45769
- K("div", tJ, [
45780
+ ], 32)) : i.value === "message" ? (U(), W("div", qq, [fe.value ? (U(), W("p", Jq, P(fe.value), 1)) : j.value ? (U(), W(H, { key: 1 }, [
45781
+ K("div", Yq, [
45770
45782
  K("strong", null, P(I(o).display_name(j.value.author)), 1),
45771
45783
  K("span", null, "#" + P(j.value.id), 1),
45772
45784
  q(Ce, {
@@ -45777,14 +45789,14 @@ var YG = /*#__PURE__*/ nH({
45777
45789
  _: 1
45778
45790
  })
45779
45791
  ]),
45780
- K("p", nJ, P(I(o).provenance(j.value)) + " · " + P(new Date(j.value.created_at).toLocaleString("zh-CN")), 1),
45781
- j.value.summary ? (U(), W("section", rJ, [K("small", null, "回答摘要 · " + P(I(o).display_name(j.value.summary_by)), 1), K("p", iJ, P(j.value.summary), 1)])) : Y("", !0),
45782
- K("p", aJ, P(j.value.text), 1),
45792
+ K("p", Xq, P(I(o).provenance(j.value)) + " · " + P(new Date(j.value.created_at).toLocaleString("zh-CN")), 1),
45793
+ j.value.summary ? (U(), W("section", Zq, [K("small", null, "回答摘要 · " + P(I(o).display_name(j.value.summary_by)), 1), K("p", Qq, P(j.value.summary), 1)])) : Y("", !0),
45794
+ K("p", $q, P(j.value.text), 1),
45783
45795
  j.value.attachments?.length ? (U(), W("div", {
45784
45796
  key: 1,
45785
45797
  onClick: ye,
45786
45798
  innerHTML: I(o).attachment_markup(j.value.attachments)
45787
- }, null, 8, oJ)) : Y("", !0),
45799
+ }, null, 8, eJ)) : Y("", !0),
45788
45800
  j.value.reply_to ? (U(), G(ce, {
45789
45801
  key: 2,
45790
45802
  label: `查看被回复的原文 #${j.value.reply_to}`,
@@ -45794,7 +45806,7 @@ var YG = /*#__PURE__*/ nH({
45794
45806
  class: "channel-surface-button",
45795
45807
  onClick: xe
45796
45808
  }, null, 8, ["label"])) : Y("", !0)
45797
- ], 64)) : (U(), W("p", sJ, "正在读取原文…"))])) : Y("", !0)]),
45809
+ ], 64)) : (U(), W("p", tJ, "正在读取原文…"))])) : Y("", !0)]),
45798
45810
  _: 1
45799
45811
  }, 8, [
45800
45812
  "open",
@@ -45804,7 +45816,7 @@ var YG = /*#__PURE__*/ nH({
45804
45816
  ]);
45805
45817
  };
45806
45818
  }
45807
- }, uJ = {
45819
+ }, iJ = {
45808
45820
  __name: "ContextMenuContent",
45809
45821
  props: {
45810
45822
  items: {
@@ -46099,7 +46111,7 @@ var YG = /*#__PURE__*/ nH({
46099
46111
  "disabled",
46100
46112
  "text-value",
46101
46113
  "class"
46102
- ]), q(uJ, X({
46114
+ ]), q(iJ, X({
46103
46115
  sub: "",
46104
46116
  class: r.ui?.content,
46105
46117
  ui: e.ui,
@@ -46210,7 +46222,7 @@ var YG = /*#__PURE__*/ nH({
46210
46222
  _: 3
46211
46223
  }, 16)], 64));
46212
46224
  }
46213
- }, dJ = {
46225
+ }, aJ = {
46214
46226
  slots: {
46215
46227
  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",
46216
46228
  viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
@@ -46398,7 +46410,7 @@ var YG = /*#__PURE__*/ nH({
46398
46410
  }
46399
46411
  ],
46400
46412
  defaultVariants: { size: "md" }
46401
- }, fJ = {
46413
+ }, oJ = {
46402
46414
  __name: "ContextMenu",
46403
46415
  props: {
46404
46416
  size: {
@@ -46468,7 +46480,7 @@ var YG = /*#__PURE__*/ nH({
46468
46480
  emits: ["update:open"],
46469
46481
  setup(e, { emit: t }) {
46470
46482
  let n = e, r = t, i = Aa(), a = cE("contextMenu", n), o = Sm(), s = lE(am(a, "modal"), r), c = /* @__PURE__ */ Sn(() => a.content), l = () => Bm(i, ["default"]), u = Z(() => Rk({
46471
- extend: dJ,
46483
+ extend: aJ,
46472
46484
  ...o.ui?.contextMenu || {}
46473
46485
  })({ size: a.size }));
46474
46486
  return (e, t) => (U(), G(I(GS), N(Ss(I(s))), {
@@ -46480,7 +46492,7 @@ var YG = /*#__PURE__*/ nH({
46480
46492
  }, {
46481
46493
  default: L(() => [V(e.$slots, "default")]),
46482
46494
  _: 3
46483
- }, 8, ["disabled", "class"])) : Y("", !0), q(uJ, X({
46495
+ }, 8, ["disabled", "class"])) : Y("", !0), q(iJ, X({
46484
46496
  class: u.value.content({ class: [!i.default && I(a).class, I(a).ui?.content] }),
46485
46497
  ui: u.value,
46486
46498
  "ui-override": I(a).ui
@@ -46510,43 +46522,43 @@ var YG = /*#__PURE__*/ nH({
46510
46522
  _: 3
46511
46523
  }, 16));
46512
46524
  }
46513
- }, pJ = { class: "channel-directory-manager" }, mJ = { class: "channel-directory-heading" }, hJ = ["aria-expanded"], gJ = { class: "channel-directory-actions" }, _J = {
46525
+ }, sJ = { class: "channel-directory-manager" }, cJ = { class: "channel-directory-heading" }, lJ = ["aria-expanded"], uJ = { class: "channel-directory-actions" }, dJ = {
46514
46526
  "aria-label": "讨论频道列表",
46515
46527
  class: "channel-room-list",
46516
46528
  "data-room-directory": ""
46517
- }, vJ = ["data-room-folder", "data-drag-folder"], yJ = {
46529
+ }, fJ = ["data-room-folder", "data-drag-folder"], pJ = {
46518
46530
  key: 0,
46519
46531
  class: "channel-folder-row"
46520
- }, bJ = [
46532
+ }, mJ = [
46521
46533
  "disabled",
46522
46534
  "aria-label",
46523
46535
  "aria-expanded",
46524
46536
  "onKeydown",
46525
46537
  "onClick"
46526
- ], xJ = { class: "channel-folder-name" }, SJ = { class: "channel-folder-actions" }, CJ = {
46538
+ ], hJ = { class: "channel-folder-name" }, gJ = { class: "channel-folder-actions" }, _J = {
46527
46539
  class: "channel-directory-count",
46528
46540
  "aria-hidden": "true"
46529
- }, wJ = ["data-drop-folder"], TJ = {
46541
+ }, vJ = ["data-drop-folder"], yJ = {
46530
46542
  key: 0,
46531
46543
  class: "channel-directory-empty",
46532
46544
  role: "status"
46533
- }, EJ = ["data-drag-room"], DJ = [
46545
+ }, bJ = ["data-drag-room"], xJ = [
46534
46546
  "aria-label",
46535
46547
  "disabled",
46536
46548
  "onKeydown"
46537
- ], OJ = [
46549
+ ], SJ = [
46538
46550
  "title",
46539
46551
  "aria-label",
46540
46552
  "aria-current",
46541
46553
  "onClick"
46542
- ], kJ = { class: "channel-room-actions" }, AJ = {
46554
+ ], CJ = { class: "channel-room-actions" }, wJ = {
46543
46555
  key: 0,
46544
46556
  class: "channel-directory-empty"
46545
- }, jJ = {
46557
+ }, TJ = {
46546
46558
  key: 0,
46547
46559
  role: "alert",
46548
46560
  class: "channel-directory-error"
46549
- }, MJ = {
46561
+ }, EJ = {
46550
46562
  __name: "ChannelDirectory",
46551
46563
  emits: [
46552
46564
  "select",
@@ -46723,8 +46735,8 @@ var YG = /*#__PURE__*/ nH({
46723
46735
  ];
46724
46736
  }
46725
46737
  return (e, t) => {
46726
- let u = uA, h = zk, v = EV, y = VV, b = fJ;
46727
- return U(), W("div", pJ, [
46738
+ let u = uA, h = zk, v = EV, y = VV, b = oJ;
46739
+ return U(), W("div", sJ, [
46728
46740
  q(u, {
46729
46741
  label: "新建对话",
46730
46742
  icon: "i-lucide-square-pen",
@@ -46734,12 +46746,12 @@ var YG = /*#__PURE__*/ nH({
46734
46746
  disabled: I(r).directory_pending.includes("create-room"),
46735
46747
  onClick: t[0] ||= (e) => n("create", null)
46736
46748
  }, null, 8, ["disabled"]),
46737
- K("div", mJ, [K("button", {
46749
+ K("div", cJ, [K("button", {
46738
46750
  type: "button",
46739
46751
  class: "channel-section-toggle",
46740
46752
  "aria-expanded": f.value,
46741
46753
  onClick: t[1] ||= (e) => f.value = !f.value
46742
- }, [q(h, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("讨论频道", -1)], 8, hJ), K("div", gJ, [q(v, {
46754
+ }, [q(h, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), t[7] ||= J("讨论频道", -1)], 8, lJ), K("div", uJ, [q(v, {
46743
46755
  items: d.value,
46744
46756
  content: {
46745
46757
  align: "end",
@@ -46768,12 +46780,12 @@ var YG = /*#__PURE__*/ nH({
46768
46780
  }, null, 8, ["disabled"])]),
46769
46781
  _: 1
46770
46782
  })])]),
46771
- vr(K("nav", _J, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
46783
+ vr(K("nav", dJ, [(U(!0), W(H, null, B(l.value, (e, s) => (U(), W("section", {
46772
46784
  key: e.order_id,
46773
46785
  class: "channel-folder-section",
46774
46786
  "data-room-folder": e.id,
46775
46787
  "data-drag-folder": e.order_id
46776
- }, [e.id ? (U(), W("div", yJ, [
46788
+ }, [e.id ? (U(), W("div", pJ, [
46777
46789
  K("button", {
46778
46790
  class: "channel-folder-heading",
46779
46791
  "data-drop-folder": "",
@@ -46795,9 +46807,9 @@ var YG = /*#__PURE__*/ nH({
46795
46807
  }, [
46796
46808
  q(h, { name: p.value.has(e.id) ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
46797
46809
  q(h, { name: "i-lucide-folder" }),
46798
- K("span", xJ, P(e.name), 1)
46799
- ], 40, bJ),
46800
- K("div", SJ, [q(v, {
46810
+ K("span", hJ, P(e.name), 1)
46811
+ ], 40, mJ),
46812
+ K("div", gJ, [q(v, {
46801
46813
  items: m(e, s),
46802
46814
  content: {
46803
46815
  align: "start",
@@ -46831,12 +46843,12 @@ var YG = /*#__PURE__*/ nH({
46831
46843
  ])]),
46832
46844
  _: 2
46833
46845
  }, 1032, ["text"])]),
46834
- K("small", CJ, P(e.pending ? "保存中" : e.rooms.length), 1)
46846
+ K("small", _J, P(e.pending ? "保存中" : e.rooms.length), 1)
46835
46847
  ])) : Y("", !0), !e.id || !p.value.has(e.id) ? (U(), W("div", {
46836
46848
  key: 1,
46837
46849
  class: M(e.id ? "channel-folder-rooms" : "channel-root-rooms"),
46838
46850
  "data-drop-folder": e.id ? void 0 : ""
46839
- }, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", TJ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(b, {
46851
+ }, [I(r).creating_room && (I(r).creating_room.folder_id || "") === e.id ? (U(), W("p", yJ, "正在创建:" + P(I(r).creating_room.title), 1)) : Y("", !0), (U(!0), W(H, null, B(e.rooms, (s, c) => (U(), G(b, {
46840
46852
  key: s.id,
46841
46853
  items: _(s, c, s.folder_id || null, e.rooms.length),
46842
46854
  ui: { content: "channel-menu channel-topic-menu" }
@@ -46861,7 +46873,7 @@ var YG = /*#__PURE__*/ nH({
46861
46873
  direction: 1,
46862
46874
  folder_id: s.folder_id || null
46863
46875
  }), ["prevent"]), ["down"])]
46864
- }, [q(h, { name: "i-lucide-grip-vertical" })], 40, DJ),
46876
+ }, [q(h, { name: "i-lucide-grip-vertical" })], 40, xJ),
46865
46877
  K("button", {
46866
46878
  class: "channel-room-select",
46867
46879
  "data-drag-title": "",
@@ -46870,8 +46882,8 @@ var YG = /*#__PURE__*/ nH({
46870
46882
  "aria-current": s.id === I(r).room?.id ? "page" : void 0,
46871
46883
  onPointerdown: t[5] ||= (e) => !I(o) && I(i).start_drag(e),
46872
46884
  onClick: (e) => n("select", s.id)
46873
- }, [K("span", null, P(s.title), 1)], 40, OJ),
46874
- K("div", kJ, [q(y, {
46885
+ }, [K("span", null, P(s.title), 1)], 40, SJ),
46886
+ K("div", CJ, [q(y, {
46875
46887
  text: s.archived ? "恢复频道" : "存档频道",
46876
46888
  ui: { content: "channel-topic-tooltip" }
46877
46889
  }, {
@@ -46912,9 +46924,9 @@ var YG = /*#__PURE__*/ nH({
46912
46924
  }, null, 8, ["aria-label"])]),
46913
46925
  _: 2
46914
46926
  }, 1032, ["items"])])
46915
- ], 10, EJ)]),
46927
+ ], 10, bJ)]),
46916
46928
  _: 2
46917
- }, 1032, ["items"]))), 128))], 10, wJ)) : Y("", !0)], 8, vJ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", AJ, "暂无讨论频道"))], 512), [[Vc, f.value]]),
46929
+ }, 1032, ["items"]))), 128))], 10, vJ)) : Y("", !0)], 8, fJ))), 128)), s.value.length ? Y("", !0) : (U(), W("p", wJ, "暂无讨论频道"))], 512), [[Vc, f.value]]),
46918
46930
  vr(q(u, {
46919
46931
  icon: "i-lucide-archive",
46920
46932
  label: `已存档 · ${c.value}`,
@@ -46925,61 +46937,61 @@ var YG = /*#__PURE__*/ nH({
46925
46937
  "aria-haspopup": "dialog",
46926
46938
  onClick: t[6] ||= (e) => n("archives")
46927
46939
  }, null, 8, ["label"]), [[Vc, f.value]]),
46928
- I(r).directory_error ? (U(), W("p", jJ, P(I(r).directory_error), 1)) : Y("", !0)
46940
+ I(r).directory_error ? (U(), W("p", TJ, P(I(r).directory_error), 1)) : Y("", !0)
46929
46941
  ]);
46930
46942
  };
46931
46943
  }
46932
- }, NJ = {
46944
+ }, DJ = {
46933
46945
  key: 0,
46934
46946
  class: "pb-header"
46935
- }, PJ = { class: "pb-mode" }, FJ = { class: "pb-status-line" }, IJ = { role: "status" }, LJ = {
46947
+ }, OJ = { class: "pb-mode" }, kJ = { class: "pb-status-line" }, AJ = { role: "status" }, jJ = {
46936
46948
  key: 0,
46937
46949
  class: "pb-mode"
46938
- }, RJ = {
46950
+ }, MJ = {
46939
46951
  key: 0,
46940
46952
  class: "pb-status-detail"
46941
- }, zJ = {
46953
+ }, NJ = {
46942
46954
  key: 1,
46943
46955
  class: "pb-status-detail"
46944
- }, BJ = { class: "pb-error-detail" }, VJ = {
46956
+ }, PJ = { class: "pb-error-detail" }, FJ = {
46945
46957
  key: 2,
46946
46958
  class: "pb-meters"
46947
- }, HJ = { class: "pb-meter-label" }, UJ = {
46959
+ }, IJ = { class: "pb-meter-label" }, LJ = {
46948
46960
  key: 0,
46949
46961
  class: "pb-bar"
46950
- }, WJ = {
46962
+ }, RJ = {
46951
46963
  key: 1,
46952
46964
  class: "pb-section",
46953
46965
  "aria-label": "当前焦点"
46954
- }, GJ = {
46966
+ }, zJ = {
46955
46967
  class: "pb-section",
46956
46968
  "aria-label": "参与者"
46957
- }, KJ = {
46969
+ }, BJ = {
46958
46970
  key: 0,
46959
46971
  class: "pb-status-detail pb-held"
46960
- }, qJ = { class: "pb-members" }, JJ = { class: "pb-member-body" }, YJ = { class: "pb-member-name" }, XJ = {
46972
+ }, VJ = { class: "pb-members" }, HJ = { class: "pb-member-body" }, UJ = { class: "pb-member-name" }, WJ = {
46961
46973
  class: "pb-member-model",
46962
46974
  title: "本场启动配置;默认模型与默认强度由对应软件决定"
46963
- }, ZJ = { key: 0 }, QJ = {
46975
+ }, GJ = { key: 0 }, KJ = {
46964
46976
  key: 2,
46965
46977
  class: "pb-actions",
46966
46978
  "aria-label": "操作"
46967
- }, $J = {
46979
+ }, qJ = {
46968
46980
  key: 3,
46969
46981
  class: "pb-section",
46970
46982
  "aria-label": "阶段耗时"
46971
- }, eY = { class: "pb-timing-heading" }, tY = ["aria-label"], nY = { class: "pb-timing-totals" }, rY = ["title"], iY = { class: "pb-timings" }, aY = { class: "pb-timing-who" }, oY = { class: "pb-timing-stages" }, sY = ["title"], cY = {
46983
+ }, JJ = { class: "pb-timing-heading" }, YJ = ["aria-label"], XJ = { class: "pb-timing-totals" }, ZJ = ["title"], QJ = { class: "pb-timings" }, $J = { class: "pb-timing-who" }, eY = { class: "pb-timing-stages" }, tY = ["title"], nY = {
46972
46984
  key: 0,
46973
46985
  class: "pb-note"
46974
- }, lY = { class: "pb-connection" }, uY = { class: "fine-print" }, dY = {
46986
+ }, rY = { class: "pb-connection" }, iY = { class: "fine-print" }, aY = {
46975
46987
  key: 0,
46976
46988
  role: "status",
46977
46989
  class: "fine-print"
46978
- }, fY = {
46990
+ }, oY = {
46979
46991
  key: 2,
46980
46992
  role: "alert",
46981
46993
  class: "fine-print"
46982
- }, pY = { key: 2 }, mY = { class: "progress-ending" }, hY = ["disabled"], gY = { key: 0 }, _Y = ["disabled"], vY = 90, yY = 100, bY = /*#__PURE__*/ nH({
46994
+ }, sY = { key: 2 }, cY = { class: "progress-ending" }, lY = ["disabled"], uY = { key: 0 }, dY = ["disabled"], fY = 90, pY = 100, mY = /*#__PURE__*/ nH({
46983
46995
  __name: "ProgressBoard",
46984
46996
  props: { docked: {
46985
46997
  type: Boolean,
@@ -47016,7 +47028,7 @@ var YG = /*#__PURE__*/ nH({
47016
47028
  "initial",
47017
47029
  "discussing",
47018
47030
  "reviewing"
47019
- ].includes(m.value.phase) && !m.value.archived), w = Z(() => (C.value || m.value.phase === "paused") && !m.value.archived), T = Z(() => C.value || S.value || w.value), E = Z(() => !y.value && m.value.phase !== "preparing" && !m.value.archived && !h.value.closing), D = Z(() => [m.value.host, ...Object.keys(m.value.experts || {}).filter((e) => e !== m.value.host)].filter((e) => e && e !== "用户").map(A)), O = Z(() => D.value.find((e) => e.result)), ee = Z(() => v.value?.question || m.value.focus || m.value.goal || ""), te = Z(() => ee.value.length > vY), k = Z(() => g.value.timings || {
47031
+ ].includes(m.value.phase) && !m.value.archived), w = Z(() => (C.value || m.value.phase === "paused") && !m.value.archived), T = Z(() => C.value || S.value || w.value), E = Z(() => !y.value && m.value.phase !== "preparing" && !m.value.archived && !h.value.closing), D = Z(() => [m.value.host, ...Object.keys(m.value.experts || {}).filter((e) => e !== m.value.host)].filter((e) => e && e !== "用户").map(A)), O = Z(() => D.value.find((e) => e.result)), ee = Z(() => v.value?.question || m.value.focus || m.value.goal || ""), te = Z(() => ee.value.length > fY), k = Z(() => g.value.timings || {
47020
47032
  items: [],
47021
47033
  totals: {},
47022
47034
  count: 0
@@ -47050,7 +47062,7 @@ var YG = /*#__PURE__*/ nH({
47050
47062
  if (e.phase === "paused") {
47051
47063
  let e = O.value;
47052
47064
  if (e) {
47053
- let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > yY ? `${n.slice(0, yY)}…` : n;
47065
+ let t = e.result.startsWith(e.name) ? e.result : `${r.display_name(e.name)} 执行失败:${e.result}`, n = t.split("\n")[0], i = n.length > pY ? `${n.slice(0, pY)}…` : n;
47054
47066
  return {
47055
47067
  tone: "error",
47056
47068
  title: "已暂停",
@@ -47144,24 +47156,24 @@ var YG = /*#__PURE__*/ nH({
47144
47156
  return (e, l) => {
47145
47157
  let u = Gk, d = zk, O = uA, A = EV, se = pV, j = MV, pe = EG;
47146
47158
  return U(), W("div", { class: M(["progress-board", { "is-docked": t.docked }]) }, [
47147
- t.docked ? (U(), W("header", NJ, [l[11] ||= K("strong", null, "讨论进度", -1), K("span", PJ, P(_.value ? "全自动" : "手动"), 1)])) : Y("", !0),
47159
+ t.docked ? (U(), W("header", DJ, [l[11] ||= K("strong", null, "讨论进度", -1), K("span", OJ, P(_.value ? "全自动" : "手动"), 1)])) : Y("", !0),
47148
47160
  K("section", {
47149
47161
  class: M(["pb-status", `is-${ie.value.tone}`]),
47150
47162
  "aria-label": "讨论状态"
47151
47163
  }, [
47152
- K("div", FJ, [
47164
+ K("div", kJ, [
47153
47165
  l[12] ||= K("span", { class: "pb-dot" }, null, -1),
47154
- K("strong", IJ, P(ie.value.title), 1),
47155
- t.docked ? Y("", !0) : (U(), W("span", LJ, P(_.value ? "全自动" : "手动"), 1))
47166
+ K("strong", AJ, P(ie.value.title), 1),
47167
+ t.docked ? Y("", !0) : (U(), W("span", jJ, P(_.value ? "全自动" : "手动"), 1))
47156
47168
  ]),
47157
- ie.value.detail ? (U(), W("p", RJ, P(ie.value.detail), 1)) : Y("", !0),
47158
- ie.value.full_detail ? (U(), W("details", zJ, [l[13] ||= K("summary", null, "查看错误详情", -1), K("pre", BJ, P(ie.value.full_detail), 1)])) : Y("", !0),
47159
- ae.value.length ? (U(), W("div", VJ, [(U(!0), W(H, null, B(ae.value, (e) => (U(), W("div", {
47169
+ ie.value.detail ? (U(), W("p", MJ, P(ie.value.detail), 1)) : Y("", !0),
47170
+ ie.value.full_detail ? (U(), W("details", NJ, [l[13] ||= K("summary", null, "查看错误详情", -1), K("pre", PJ, P(ie.value.full_detail), 1)])) : Y("", !0),
47171
+ ae.value.length ? (U(), W("div", FJ, [(U(!0), W(H, null, B(ae.value, (e) => (U(), W("div", {
47160
47172
  key: e.label,
47161
47173
  class: "pb-meter"
47162
- }, [K("div", HJ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", UJ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
47174
+ }, [K("div", IJ, [K("span", null, P(e.label), 1), K("b", null, P(e.text), 1)]), e.ratio === null ? Y("", !0) : (U(), W("div", LJ, [K("i", { style: fe({ width: `${Math.min(100, Math.round(e.ratio * 100))}%` }) }, null, 4)]))]))), 128))])) : Y("", !0)
47163
47175
  ], 2),
47164
- ee.value ? (U(), W("section", WJ, [
47176
+ ee.value ? (U(), W("section", RJ, [
47165
47177
  l[14] ||= K("h4", null, "当前焦点", -1),
47166
47178
  K("p", { class: M(["pb-focus", { "is-expanded": s.value }]) }, P(ee.value), 3),
47167
47179
  te.value ? (U(), W("button", {
@@ -47171,10 +47183,10 @@ var YG = /*#__PURE__*/ nH({
47171
47183
  onClick: l[0] ||= (e) => s.value = !s.value
47172
47184
  }, P(s.value ? "收起" : "展开"), 1)) : Y("", !0)
47173
47185
  ])) : Y("", !0),
47174
- K("section", GJ, [
47186
+ K("section", zJ, [
47175
47187
  l[16] ||= K("h4", null, "参与者", -1),
47176
- m.value.held_since && v.value && !y.value ? (U(), W("p", KJ, "用户有新操作," + P(I(r).display_name(v.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
47177
- K("ul", qJ, [(U(!0), W(H, null, B(D.value, (e) => (U(), W("li", {
47188
+ m.value.held_since && v.value && !y.value ? (U(), W("p", BJ, "用户有新操作," + P(I(r).display_name(v.value.expert)) + " 说完后交给主持人", 1)) : Y("", !0),
47189
+ K("ul", VJ, [(U(!0), W(H, null, B(D.value, (e) => (U(), W("li", {
47178
47190
  key: e.name,
47179
47191
  class: "pb-member"
47180
47192
  }, [
@@ -47190,8 +47202,8 @@ var YG = /*#__PURE__*/ nH({
47190
47202
  "alt",
47191
47203
  "class"
47192
47204
  ]),
47193
- K("div", JJ, [
47194
- K("div", YJ, [
47205
+ K("div", HJ, [
47206
+ K("div", UJ, [
47195
47207
  J(P(I(r).display_name(e.name)), 1),
47196
47208
  e.is_host ? (U(), G(d, {
47197
47209
  key: 0,
@@ -47200,14 +47212,14 @@ var YG = /*#__PURE__*/ nH({
47200
47212
  })) : Y("", !0),
47201
47213
  K("small", null, P(e.is_host ? `主持 · ${e.mode}` : e.mode), 1)
47202
47214
  ]),
47203
- K("div", XJ, P(e.model), 1),
47215
+ K("div", WJ, P(e.model), 1),
47204
47216
  x.value ? Y("", !0) : (U(), W("div", {
47205
47217
  key: 0,
47206
47218
  class: M(["pb-member-status", `is-${e.tone}`])
47207
47219
  }, [
47208
47220
  l[15] ||= K("span", { class: "pb-dot" }, null, -1),
47209
47221
  J(P(e.text), 1),
47210
- e.failures ? (U(), W("small", ZJ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
47222
+ e.failures ? (U(), W("small", GJ, " · 失败 " + P(e.failures) + " 次", 1)) : Y("", !0)
47211
47223
  ], 2))
47212
47224
  ]),
47213
47225
  e.session ? (U(), G(A, {
@@ -47228,7 +47240,7 @@ var YG = /*#__PURE__*/ nH({
47228
47240
  }, 1032, ["items"])) : Y("", !0)
47229
47241
  ]))), 128))])
47230
47242
  ]),
47231
- T.value ? (U(), W("section", QJ, [
47243
+ T.value ? (U(), W("section", KJ, [
47232
47244
  S.value ? (U(), G(O, {
47233
47245
  key: 0,
47234
47246
  icon: "i-lucide-rotate-ccw",
@@ -47277,8 +47289,8 @@ var YG = /*#__PURE__*/ nH({
47277
47289
  onClick: l[4] ||= (e) => o.value = !0
47278
47290
  })) : Y("", !0)
47279
47291
  ])) : Y("", !0),
47280
- _.value && k.value.count ? (U(), W("section", $J, [
47281
- K("div", eY, [l[17] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(k.value.count) + " 次执行", 1)]),
47292
+ _.value && k.value.count ? (U(), W("section", qJ, [
47293
+ K("div", JJ, [l[17] ||= K("h4", null, "耗时", -1), K("small", null, "共 " + P(k.value.count) + " 次执行", 1)]),
47282
47294
  K("div", {
47283
47295
  class: "pb-timing-bar",
47284
47296
  role: "img",
@@ -47287,18 +47299,18 @@ var YG = /*#__PURE__*/ nH({
47287
47299
  key: e.key,
47288
47300
  class: M(`is-${e.key}`),
47289
47301
  style: fe({ width: `${e.percent}%` })
47290
- }, null, 6))), 128))], 8, tY),
47291
- K("dl", nY, [(U(!0), W(H, null, B(le.value, (e) => (U(), W("div", {
47302
+ }, null, 6))), 128))], 8, YJ),
47303
+ K("dl", XJ, [(U(!0), W(H, null, B(le.value, (e) => (U(), W("div", {
47292
47304
  key: e.key,
47293
47305
  title: e.hint
47294
- }, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(ue(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8, rY))), 128))]),
47295
- K("details", iY, [
47306
+ }, [K("dt", null, [K("span", { class: M(`pb-timing-dot is-${e.key}`) }, null, 2), J(P(e.label), 1)]), K("dd", null, [J(P(ue(e.seconds)), 1), K("small", null, P(e.percent) + "%", 1)])], 8, ZJ))), 128))]),
47307
+ K("details", QJ, [
47296
47308
  l[18] ||= K("summary", null, "查看每次执行", -1),
47297
- K("ol", null, [(U(!0), W(H, null, B(k.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", aY, [J("#" + P(e.id) + " " + P(I(r).display_name(e.participant)), 1), K("small", null, P(e.role === "host" ? "主持" : "专家") + " · " + P(p[e.status] || e.status), 1)]), K("span", oY, [(U(), W(H, null, B(f, (t) => K("span", {
47309
+ K("ol", null, [(U(!0), W(H, null, B(k.value.items, (e) => (U(), W("li", { key: e.id }, [K("span", $J, [J("#" + P(e.id) + " " + P(I(r).display_name(e.participant)), 1), K("small", null, P(e.role === "host" ? "主持" : "专家") + " · " + P(p[e.status] || e.status), 1)]), K("span", eY, [(U(), W(H, null, B(f, (t) => K("span", {
47298
47310
  key: t.key,
47299
47311
  title: t.hint
47300
- }, P(t.label) + " " + P(ue(e[t.key])), 9, sY)), 64))])]))), 128))]),
47301
- k.value.count > k.value.items.length ? (U(), W("p", cY, "只列出最近 " + P(k.value.items.length) + " 次,共 " + P(k.value.count) + " 次执行。", 1)) : Y("", !0)
47312
+ }, P(t.label) + " " + P(ue(e[t.key])), 9, tY)), 64))])]))), 128))]),
47313
+ k.value.count > k.value.items.length ? (U(), W("p", nY, "只列出最近 " + P(k.value.items.length) + " 次,共 " + P(k.value.count) + " 次执行。", 1)) : Y("", !0)
47302
47314
  ])
47303
47315
  ])) : Y("", !0),
47304
47316
  q(pe, {
@@ -47311,7 +47323,7 @@ var YG = /*#__PURE__*/ nH({
47311
47323
  body: "dialog-body"
47312
47324
  }
47313
47325
  }, {
47314
- body: L(() => [K("div", lY, [g.value.status === "running" ? (U(), W(H, { key: 0 }, [l[19] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(O, {
47326
+ body: L(() => [K("div", rY, [g.value.status === "running" ? (U(), W(H, { key: 0 }, [l[19] ||= K("p", null, "切换前需要暂停讨论,当前执行会停止,原发言安排保留。", -1), q(O, {
47315
47327
  label: "暂停并读取配置",
47316
47328
  icon: "i-lucide-pause",
47317
47329
  class: "channel-primary-button",
@@ -47334,7 +47346,7 @@ var YG = /*#__PURE__*/ nH({
47334
47346
  }, null, 8, ["model-value", "disabled"])]),
47335
47347
  _: 1
47336
47348
  }),
47337
- K("p", uY, P(re.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
47349
+ K("p", iY, P(re.value.adapter === "codex" ? "App 需保持运行,模型与权限沿用原聊天设置。" : "切回 CLI 前,需让 App 释放原聊天;仍被占用时无法执行。"), 1),
47338
47350
  q(O, {
47339
47351
  label: "保存接入方式",
47340
47352
  class: "channel-primary-button",
@@ -47342,7 +47354,7 @@ var YG = /*#__PURE__*/ nH({
47342
47354
  disabled: !!I(a),
47343
47355
  onClick: l[6] ||= (e) => I(i)("save_room_configuration")
47344
47356
  }, null, 8, ["loading", "disabled"]),
47345
- I(n).launch.repair?.notice ? (U(), W("p", dY, P(I(n).launch.repair.notice), 1)) : Y("", !0)
47357
+ I(n).launch.repair?.notice ? (U(), W("p", aY, P(I(n).launch.repair.notice), 1)) : Y("", !0)
47346
47358
  ], 64)) : (U(), G(O, {
47347
47359
  key: 1,
47348
47360
  label: "读取本场配置",
@@ -47350,7 +47362,7 @@ var YG = /*#__PURE__*/ nH({
47350
47362
  color: "neutral",
47351
47363
  loading: !!I(a),
47352
47364
  onClick: ce
47353
- }, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", fY, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", pY, "本场状态已变化,请关闭后重新核对。"))])]),
47365
+ }, null, 8, ["loading"])), I(n).launch.repair_error ? (U(), W("p", oY, P(I(n).launch.repair_error), 1)) : Y("", !0)], 64)) : (U(), W("p", sY, "本场状态已变化,请关闭后重新核对。"))])]),
47354
47366
  _: 1
47355
47367
  }, 8, ["open"]),
47356
47368
  q(pe, {
@@ -47363,7 +47375,7 @@ var YG = /*#__PURE__*/ nH({
47363
47375
  body: "dialog-body"
47364
47376
  }
47365
47377
  }, {
47366
- body: L(() => [K("div", mY, [K("button", {
47378
+ body: L(() => [K("div", cY, [K("button", {
47367
47379
  type: "button",
47368
47380
  class: "progress-ending-option",
47369
47381
  disabled: !E.value || !!I(a),
@@ -47371,19 +47383,19 @@ var YG = /*#__PURE__*/ nH({
47371
47383
  }, [
47372
47384
  l[20] ||= K("strong", null, "请主持人收尾", -1),
47373
47385
  K("span", null, "立即进入收束,由 " + P(I(r).display_name(m.value.host)) + " 在 " + P(h.value.summary_minutes || 5) + " 分钟收束预留内根据已有材料总结。", 1),
47374
- E.value ? Y("", !0) : (U(), W("small", gY, P(h.value.closing ? "已在收尾中。" : "仅进行中的讨论可以收尾;暂停后可先重启再收尾,或直接结束并保留记录。"), 1))
47375
- ], 8, hY), K("button", {
47386
+ E.value ? Y("", !0) : (U(), W("small", uY, P(h.value.closing ? "已在收尾中。" : "仅进行中的讨论可以收尾;暂停后可先重启再收尾,或直接结束并保留记录。"), 1))
47387
+ ], 8, lY), K("button", {
47376
47388
  type: "button",
47377
47389
  class: "progress-ending-option",
47378
47390
  disabled: b.value || !!I(a),
47379
47391
  onClick: l[9] ||= (e) => de("conclude_discussion")
47380
- }, [...l[21] ||= [K("strong", null, "直接结束(不总结)", -1), K("span", null, "保留全部记录,阶段设为“已收束”,自动运行随之停止。", -1)]], 8, _Y)])]),
47392
+ }, [...l[21] ||= [K("strong", null, "直接结束(不总结)", -1), K("span", null, "保留全部记录,阶段设为“已收束”,自动运行随之停止。", -1)]], 8, dY)])]),
47381
47393
  _: 1
47382
47394
  }, 8, ["open"])
47383
47395
  ], 2);
47384
47396
  };
47385
47397
  }
47386
- }, [["__scopeId", "data-v-9928cf63"]]), xY = { class: "progress-panel-anchor" }, SY = ["aria-expanded", "aria-label"], CY = { class: "progress-chip-text" }, wY = { class: "progress-chip-rounds" }, TY = {
47398
+ }, [["__scopeId", "data-v-9928cf63"]]), hY = { class: "progress-panel-anchor" }, gY = ["aria-expanded", "aria-label"], _Y = { class: "progress-chip-text" }, vY = { class: "progress-chip-rounds" }, yY = {
47387
47399
  __name: "ProgressPanel",
47388
47400
  setup(e) {
47389
47401
  let { view: t, bridge: n } = xr("discussion"), r = /* @__PURE__ */ F(!1), i = Z(() => t.value.room), a = Z(() => i.value.limits || {}), o = Z(() => {
@@ -47413,7 +47425,7 @@ var YG = /*#__PURE__*/ nH({
47413
47425
  }), s = Z(() => a.value.max_rounds ? `${a.value.completed_rounds || 0}/${a.value.max_rounds} 轮` : n.progress_round(i.value)), c = Z(() => `${o.value.title} · ${s.value}`);
47414
47426
  return (e, t) => {
47415
47427
  let n = VV, a = dV;
47416
- return U(), W("div", xY, [q(n, { text: "查看讨论进度" }, {
47428
+ return U(), W("div", hY, [q(n, { text: "查看讨论进度" }, {
47417
47429
  default: L(() => [K("button", {
47418
47430
  type: "button",
47419
47431
  class: M(["progress-chip", `is-${o.value.tone}`]),
@@ -47421,7 +47433,7 @@ var YG = /*#__PURE__*/ nH({
47421
47433
  "aria-expanded": r.value,
47422
47434
  "aria-label": `查看讨论进度:${c.value}`,
47423
47435
  onClick: t[0] ||= (e) => r.value = !0
47424
- }, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", CY, [J(P(o.value.title), 1), K("span", wY, " · " + P(s.value), 1)])], 10, SY)]),
47436
+ }, [t[2] ||= K("span", { class: "progress-dot" }, null, -1), K("span", _Y, [J(P(o.value.title), 1), K("span", vY, " · " + P(s.value), 1)])], 10, gY)]),
47425
47437
  _: 1
47426
47438
  }), q(a, {
47427
47439
  open: r.value,
@@ -47434,98 +47446,98 @@ var YG = /*#__PURE__*/ nH({
47434
47446
  body: "progress-drawer-body"
47435
47447
  }
47436
47448
  }, {
47437
- body: L(() => [q(bY)]),
47449
+ body: L(() => [q(mY)]),
47438
47450
  _: 1
47439
47451
  }, 8, ["open", "description"])]);
47440
47452
  };
47441
47453
  }
47442
- }, EY = {
47454
+ }, bY = {
47443
47455
  id: "channel-sidebar",
47444
47456
  class: "channel-sidebar",
47445
47457
  "aria-label": "频道导航"
47446
- }, DY = { class: "channel-workspace-heading" }, OY = { class: "channel-brand-icon" }, kY = { class: "channel-sidebar-content" }, AY = { class: "channel-directory-heading channel-tools-heading" }, jY = ["aria-expanded"], MY = { class: "channel-sidebar-footer" }, NY = { class: "channel-self" }, PY = { class: "channel-connection" }, FY = [
47458
+ }, xY = { class: "channel-workspace-heading" }, SY = { class: "channel-brand-icon" }, CY = { class: "channel-sidebar-content" }, wY = { class: "channel-directory-heading channel-tools-heading" }, TY = ["aria-expanded"], EY = { class: "channel-sidebar-footer" }, DY = { class: "channel-self" }, OY = { class: "channel-connection" }, kY = [
47447
47459
  "aria-valuemax",
47448
47460
  "aria-valuenow",
47449
47461
  "aria-valuetext"
47450
- ], IY = { class: "channel-main" }, LY = { class: "channel-header" }, RY = { class: "channel-title-icon" }, zY = { class: "channel-title" }, BY = { class: "channel-title-copy" }, VY = ["title"], HY = ["title"], UY = {
47462
+ ], AY = { class: "channel-main" }, jY = { class: "channel-header" }, MY = { class: "channel-title-icon" }, NY = { class: "channel-title" }, PY = { class: "channel-title-copy" }, FY = ["title"], IY = ["title"], LY = {
47451
47463
  key: 0,
47452
47464
  class: "channel-header-context"
47453
- }, WY = { class: "channel-header-actions" }, GY = {
47465
+ }, RY = { class: "channel-header-actions" }, zY = {
47454
47466
  key: 0,
47455
47467
  class: "channel-launch-recovery",
47456
47468
  "aria-label": "未完成的创建或启动请求"
47457
- }, KY = { role: "status" }, qY = { class: "button-row" }, JY = {
47469
+ }, BY = { role: "status" }, VY = { class: "button-row" }, HY = {
47458
47470
  key: 1,
47459
47471
  class: "channel-tabbar"
47460
- }, YY = { class: "channel-brief-inner" }, XY = { class: "channel-brief-heading" }, ZY = ["aria-label", "aria-expanded"], QY = {
47472
+ }, UY = { class: "channel-brief-inner" }, WY = { class: "channel-brief-heading" }, GY = ["aria-label", "aria-expanded"], KY = {
47461
47473
  key: 0,
47462
47474
  class: "channel-brief-preview"
47463
- }, $Y = {
47475
+ }, qY = {
47464
47476
  id: "channel-brief-content",
47465
47477
  class: "channel-brief-content"
47466
- }, eX = ["innerHTML"], tX = { class: "channel-brief-footer" }, nX = { class: "channel-brief-status" }, rX = { class: "channel-content" }, iX = {
47478
+ }, JY = ["innerHTML"], YY = { class: "channel-brief-footer" }, XY = { class: "channel-brief-status" }, ZY = { class: "channel-content" }, QY = {
47467
47479
  key: 0,
47468
47480
  class: "content-page channel-summary",
47469
47481
  role: "tabpanel",
47470
47482
  "aria-label": "共识"
47471
- }, aX = { class: "page-heading" }, oX = {
47483
+ }, $Y = { class: "page-heading" }, eX = {
47472
47484
  key: 0,
47473
47485
  class: "info-section"
47474
- }, sX = { class: "button-row" }, cX = { class: "form-footer" }, lX = {
47486
+ }, tX = { class: "button-row" }, nX = { class: "form-footer" }, rX = {
47475
47487
  key: 4,
47476
47488
  class: "channel-empty"
47477
- }, uX = ["aria-valuenow", "aria-valuetext"], dX = {
47489
+ }, iX = ["aria-valuenow", "aria-valuetext"], aX = {
47478
47490
  key: 2,
47479
47491
  id: "channel-member-rail",
47480
47492
  class: "channel-member-rail",
47481
47493
  "aria-label": "当前焦点与讨论进度"
47482
- }, fX = { class: "channel-rail-board" }, pX = {
47494
+ }, oX = { class: "channel-rail-board" }, sX = {
47483
47495
  key: 0,
47484
47496
  class: "progress-board is-docked"
47485
- }, mX = { class: "pb-header" }, hX = { class: "pb-mode" }, gX = {
47497
+ }, cX = { class: "pb-header" }, lX = { class: "pb-mode" }, uX = {
47486
47498
  class: "pb-section",
47487
47499
  "aria-label": "成员"
47488
- }, _X = { class: "pb-members" }, vX = { class: "pb-member-body" }, yX = { class: "pb-member-name" }, bX = {
47500
+ }, dX = { class: "pb-members" }, fX = { class: "pb-member-body" }, pX = { class: "pb-member-name" }, mX = {
47489
47501
  key: 0,
47490
47502
  class: "pb-member-model",
47491
47503
  title: "它工作时请不要在原窗口继续操作"
47492
- }, xX = {
47504
+ }, hX = {
47493
47505
  key: 0,
47494
47506
  class: "pb-section",
47495
47507
  "aria-label": "提示"
47496
- }, SX = {
47508
+ }, gX = {
47497
47509
  key: 0,
47498
47510
  role: "alert",
47499
47511
  class: "pb-free-note is-error"
47500
- }, CX = {
47512
+ }, _X = {
47501
47513
  key: 1,
47502
47514
  role: "status",
47503
47515
  class: "pb-free-note"
47504
- }, wX = {
47516
+ }, vX = {
47505
47517
  key: 2,
47506
47518
  role: "alert",
47507
47519
  class: "pb-free-note is-error"
47508
- }, TX = {
47520
+ }, yX = {
47509
47521
  key: 3,
47510
47522
  role: "status",
47511
47523
  class: "pb-free-note"
47512
- }, EX = {
47524
+ }, bX = {
47513
47525
  class: "pb-section",
47514
47526
  "aria-label": "邀请"
47515
- }, DX = {
47527
+ }, xX = {
47516
47528
  key: 0,
47517
47529
  class: "pb-free-note"
47518
- }, OX = {
47530
+ }, SX = {
47519
47531
  key: 1,
47520
47532
  class: "pb-section",
47521
47533
  "aria-label": "头脑风暴"
47522
- }, kX = ["onClick"], AX = {
47534
+ }, CX = ["onClick"], wX = {
47523
47535
  class: "pb-actions",
47524
47536
  "aria-label": "操作"
47525
- }, jX = {
47537
+ }, TX = {
47526
47538
  key: 2,
47527
47539
  class: "progress-board is-docked"
47528
- }, MX = { class: "channel-detail-title" }, NX = { class: "info-section" }, PX = "ai-codiscuss-channel-layout", FX = 220, IX = 440, LX = 280, RX = 16, zX = 180, BX = 400, VX = 248, HX = 16, UX = 480, WX = 1200, GX = 6, KX = {
47540
+ }, EX = { class: "channel-detail-title" }, DX = { class: "info-section" }, OX = "ai-codiscuss-channel-layout", kX = 220, AX = 440, jX = 280, MX = 16, NX = 180, PX = 400, FX = 248, IX = 16, LX = 480, RX = 1200, zX = 6, BX = {
47529
47541
  __name: "ChannelWorkspace",
47530
47542
  setup(e) {
47531
47543
  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 = {
@@ -47541,13 +47553,13 @@ var YG = /*#__PURE__*/ nH({
47541
47553
  label: "宽",
47542
47554
  width: 1240
47543
47555
  }
47544
- }, y = Oe(), b = /* @__PURE__ */ F(y.reading), x = /* @__PURE__ */ F(y.rail), S = /* @__PURE__ */ F(y.nav), C = /* @__PURE__ */ F(typeof window > "u" ? 734 : window.innerWidth), w = /* @__PURE__ */ F(y.collapsed), T = /* @__PURE__ */ F(!0), E = /* @__PURE__ */ F(y.rail_collapsed), D = Z(() => C.value >= WX), O = Z(() => t.value.tab === "discussion" && !E.value), ee = Z(() => D.value && t.value.tab === "discussion" ? E.value ? "展开频道概览" : "收起频道概览" : "频道资料与参与者"), te = Z(() => {
47556
+ }, y = Oe(), b = /* @__PURE__ */ F(y.reading), x = /* @__PURE__ */ F(y.rail), S = /* @__PURE__ */ F(y.nav), C = /* @__PURE__ */ F(typeof window > "u" ? 734 : window.innerWidth), w = /* @__PURE__ */ F(y.collapsed), T = /* @__PURE__ */ F(!0), E = /* @__PURE__ */ F(y.rail_collapsed), D = Z(() => C.value >= RX), O = Z(() => t.value.tab === "discussion" && !E.value), ee = Z(() => D.value && t.value.tab === "discussion" ? E.value ? "展开频道概览" : "收起频道概览" : "频道资料与参与者"), te = Z(() => {
47545
47557
  let e = document.createElement("template");
47546
47558
  return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
47547
- }), k = /* @__PURE__ */ F(null), ne = /* @__PURE__ */ F(null), re = Z(() => Math.min(BX, Math.max(zX, C.value - UX - GX))), ie = Z(() => Math.min(S.value, re.value)), ae = Z(() => ({
47559
+ }), k = /* @__PURE__ */ F(null), ne = /* @__PURE__ */ F(null), re = Z(() => Math.min(PX, Math.max(NX, C.value - LX - zX))), ie = Z(() => Math.min(S.value, re.value)), ae = Z(() => ({
47548
47560
  "--channel-reading-width": `${v[b.value].width}px`,
47549
47561
  "--channel-rail-width": `${x.value}px`,
47550
- "--channel-main-columns": w.value ? "minmax(0, 1fr)" : `${ie.value}px ${GX}px minmax(0, 1fr)`
47562
+ "--channel-main-columns": w.value ? "minmax(0, 1fr)" : `${ie.value}px ${zX}px minmax(0, 1fr)`
47551
47563
  })), A = Object.entries(v).map(([e, t]) => ({
47552
47564
  value: e,
47553
47565
  label: t.label
@@ -47681,11 +47693,11 @@ var YG = /*#__PURE__*/ nH({
47681
47693
  }
47682
47694
  function Oe() {
47683
47695
  try {
47684
- let e = JSON.parse(localStorage.getItem(PX)) || {};
47696
+ let e = JSON.parse(localStorage.getItem(OX)) || {};
47685
47697
  return {
47686
47698
  reading: Object.hasOwn(v, e.reading) ? e.reading : "default",
47687
- rail: Number.isFinite(e.rail) ? Math.min(IX, Math.max(FX, e.rail)) : LX,
47688
- nav: Number.isFinite(e.nav) ? Math.min(BX, Math.max(zX, e.nav)) : ke(),
47699
+ rail: Number.isFinite(e.rail) ? Math.min(AX, Math.max(kX, e.rail)) : jX,
47700
+ nav: Number.isFinite(e.nav) ? Math.min(PX, Math.max(NX, e.nav)) : ke(),
47689
47701
  collapsed: e.collapsed === !0,
47690
47702
  brief_collapsed: e.brief_collapsed === !0,
47691
47703
  rail_collapsed: e.rail_collapsed === !0
@@ -47693,7 +47705,7 @@ var YG = /*#__PURE__*/ nH({
47693
47705
  } catch {
47694
47706
  return {
47695
47707
  reading: "default",
47696
- rail: LX,
47708
+ rail: jX,
47697
47709
  nav: ke(),
47698
47710
  collapsed: !1,
47699
47711
  brief_collapsed: !1,
@@ -47702,11 +47714,11 @@ var YG = /*#__PURE__*/ nH({
47702
47714
  }
47703
47715
  }
47704
47716
  function ke() {
47705
- return typeof window > "u" ? VX : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : VX;
47717
+ return typeof window > "u" ? FX : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : FX;
47706
47718
  }
47707
47719
  function Ae() {
47708
47720
  try {
47709
- localStorage.setItem(PX, JSON.stringify({
47721
+ localStorage.setItem(OX, JSON.stringify({
47710
47722
  reading: b.value,
47711
47723
  rail: x.value,
47712
47724
  nav: S.value,
@@ -47736,19 +47748,19 @@ var YG = /*#__PURE__*/ nH({
47736
47748
  }, e.currentTarget.setPointerCapture(e.pointerId));
47737
47749
  }
47738
47750
  function Ie(e) {
47739
- k.value?.pointer === e.pointerId && (x.value = Math.round(Math.min(IX, Math.max(FX, k.value.width + k.value.x - e.clientX))));
47751
+ k.value?.pointer === e.pointerId && (x.value = Math.round(Math.min(AX, Math.max(kX, k.value.width + k.value.x - e.clientX))));
47740
47752
  }
47741
47753
  function Le(e) {
47742
47754
  k.value?.pointer === e.pointerId && (k.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ae());
47743
47755
  }
47744
47756
  function Re(e) {
47745
47757
  let t = {
47746
- ArrowLeft: x.value + RX,
47747
- ArrowRight: x.value - RX,
47748
- Home: FX,
47749
- End: IX
47758
+ ArrowLeft: x.value + MX,
47759
+ ArrowRight: x.value - MX,
47760
+ Home: kX,
47761
+ End: AX
47750
47762
  };
47751
- Object.hasOwn(t, e.key) && (e.preventDefault(), x.value = Math.min(IX, Math.max(FX, t[e.key])), Ae());
47763
+ Object.hasOwn(t, e.key) && (e.preventDefault(), x.value = Math.min(AX, Math.max(kX, t[e.key])), Ae());
47752
47764
  }
47753
47765
  function ze(e) {
47754
47766
  e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ne.value = {
@@ -47758,19 +47770,19 @@ var YG = /*#__PURE__*/ nH({
47758
47770
  }, e.currentTarget.setPointerCapture(e.pointerId));
47759
47771
  }
47760
47772
  function Be(e) {
47761
- ne.value?.pointer === e.pointerId && (S.value = Math.round(Math.min(re.value, Math.max(zX, ne.value.width + e.clientX - ne.value.x))));
47773
+ ne.value?.pointer === e.pointerId && (S.value = Math.round(Math.min(re.value, Math.max(NX, ne.value.width + e.clientX - ne.value.x))));
47762
47774
  }
47763
47775
  function Ve(e) {
47764
47776
  ne.value?.pointer === e.pointerId && (ne.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ae());
47765
47777
  }
47766
47778
  function He(e) {
47767
47779
  let t = {
47768
- ArrowLeft: ie.value - HX,
47769
- ArrowRight: ie.value + HX,
47770
- Home: zX,
47780
+ ArrowLeft: ie.value - IX,
47781
+ ArrowRight: ie.value + IX,
47782
+ Home: NX,
47771
47783
  End: re.value
47772
47784
  };
47773
- Object.hasOwn(t, e.key) && (e.preventDefault(), S.value = Math.min(re.value, Math.max(zX, t[e.key])), Ae());
47785
+ Object.hasOwn(t, e.key) && (e.preventDefault(), S.value = Math.min(re.value, Math.max(NX, t[e.key])), Ae());
47774
47786
  }
47775
47787
  return (e, r) => {
47776
47788
  let v = zk, y = GV, S = Gk, C = uA, E = VV, se = LV, me = xV, Oe = zV, ke = FV, Ae = MV, Me = EV, Pe = pV, Ue = dV, We = cV;
@@ -47782,14 +47794,14 @@ var YG = /*#__PURE__*/ nH({
47782
47794
  }]),
47783
47795
  style: fe(ae.value)
47784
47796
  }, [
47785
- K("aside", EY, [
47786
- K("header", DY, [
47787
- K("span", OY, [q(v, { name: "i-lucide-messages-square" })]),
47797
+ K("aside", bY, [
47798
+ K("header", xY, [
47799
+ K("span", SY, [q(v, { name: "i-lucide-messages-square" })]),
47788
47800
  r[26] ||= K("strong", null, "共议", -1),
47789
47801
  r[27] ||= K("span", null, "AI CoDiscuss", -1)
47790
47802
  ]),
47791
- K("div", kY, [
47792
- q(MJ, {
47803
+ K("div", CY, [
47804
+ q(EJ, {
47793
47805
  onSelect: Se,
47794
47806
  onManage: be,
47795
47807
  onCreate: we,
@@ -47798,12 +47810,12 @@ var YG = /*#__PURE__*/ nH({
47798
47810
  onDeleteFolder: De,
47799
47811
  onArchives: xe
47800
47812
  }),
47801
- K("div", AY, [K("button", {
47813
+ K("div", wY, [K("button", {
47802
47814
  type: "button",
47803
47815
  class: "channel-section-toggle",
47804
47816
  "aria-expanded": f.value,
47805
47817
  onClick: r[0] ||= (e) => f.value = !f.value
47806
- }, [q(v, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[28] ||= J("频道工具", -1)], 8, jY)]),
47818
+ }, [q(v, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[28] ||= J("频道工具", -1)], 8, TY)]),
47807
47819
  f.value ? (U(), G(y, {
47808
47820
  key: 0,
47809
47821
  items: ve.value,
@@ -47819,7 +47831,7 @@ var YG = /*#__PURE__*/ nH({
47819
47831
  }
47820
47832
  }, null, 8, ["items"])) : Y("", !0)
47821
47833
  ]),
47822
- K("footer", MY, [
47834
+ K("footer", EY, [
47823
47835
  q(S, {
47824
47836
  src: I(n).identities[I(_)]?.icon,
47825
47837
  text: I(n).identities[I(_)]?.initials,
@@ -47832,7 +47844,7 @@ var YG = /*#__PURE__*/ nH({
47832
47844
  "alt",
47833
47845
  "class"
47834
47846
  ]),
47835
- K("div", NY, [K("strong", null, P(I(n).display_name(I(_))), 1), K("div", PY, [K("span", { class: M({ connected: I(t).connected }) }, null, 2), J(P(I(t).connected ? "网站已连接" : "网站未连接"), 1)])]),
47847
+ K("div", DY, [K("strong", null, P(I(n).display_name(I(_))), 1), K("div", OY, [K("span", { class: M({ connected: I(t).connected }) }, null, 2), J(P(I(t).connected ? "网站已连接" : "网站未连接"), 1)])]),
47836
47848
  q(E, { text: "外观设置" }, {
47837
47849
  default: L(() => [q(C, {
47838
47850
  icon: "i-lucide-settings-2",
@@ -47855,7 +47867,7 @@ var YG = /*#__PURE__*/ nH({
47855
47867
  "aria-label": "调整频道栏宽度",
47856
47868
  "aria-orientation": "vertical",
47857
47869
  "aria-controls": "channel-sidebar",
47858
- "aria-valuemin": zX,
47870
+ "aria-valuemin": NX,
47859
47871
  "aria-valuemax": re.value,
47860
47872
  "aria-valuenow": ie.value,
47861
47873
  "aria-valuetext": `${ie.value} 像素`,
@@ -47866,9 +47878,9 @@ var YG = /*#__PURE__*/ nH({
47866
47878
  onPointercancel: Ve,
47867
47879
  onLostpointercapture: Ve,
47868
47880
  onKeydown: He
47869
- }, null, 40, FY)),
47870
- K("main", IY, [
47871
- K("header", LY, [
47881
+ }, null, 40, kY)),
47882
+ K("main", AY, [
47883
+ K("header", jY, [
47872
47884
  q(E, { text: w.value ? "展开频道栏" : "收起频道栏" }, {
47873
47885
  default: L(() => [q(C, {
47874
47886
  icon: "i-lucide-panel-left",
@@ -47893,13 +47905,13 @@ var YG = /*#__PURE__*/ nH({
47893
47905
  "aria-expanded": d.value,
47894
47906
  onClick: r[3] ||= (e) => d.value = !0
47895
47907
  }, null, 8, ["aria-expanded"]),
47896
- K("span", RY, [q(v, { name: "i-lucide-hash" })]),
47897
- K("div", zY, [K("div", BY, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, VY), o.value?.floor && !ce.value ? (U(), W("div", {
47908
+ K("span", MY, [q(v, { name: "i-lucide-hash" })]),
47909
+ K("div", NY, [K("div", PY, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, FY), o.value?.floor && !ce.value ? (U(), W("div", {
47898
47910
  key: 0,
47899
47911
  class: M(["channel-floor-status", { "is-held": o.value.floor.holder }]),
47900
47912
  role: "status",
47901
47913
  title: `发言权:${I(n).floor_status(o.value)}`
47902
- }, [q(v, { name: "i-lucide-mic" }), K("span", null, "发言权:" + P(I(n).floor_status(o.value)), 1)], 10, HY)) : Y("", !0)]), o.value?.archived ? (U(), G(se, {
47914
+ }, [q(v, { name: "i-lucide-mic" }), K("span", null, "发言权:" + P(I(n).floor_status(o.value)), 1)], 10, IY)) : Y("", !0)]), o.value?.archived ? (U(), G(se, {
47903
47915
  key: 0,
47904
47916
  color: "neutral",
47905
47917
  variant: "subtle",
@@ -47908,12 +47920,12 @@ var YG = /*#__PURE__*/ nH({
47908
47920
  default: L(() => [...r[29] ||= [J("已存档", -1)]]),
47909
47921
  _: 1
47910
47922
  })) : Y("", !0)]),
47911
- o.value ? (U(), W("span", UY, [
47923
+ o.value ? (U(), W("span", LY, [
47912
47924
  J(P(le.value.find((e) => e.value === I(t).tab)?.label), 1),
47913
47925
  r[30] ||= K("span", null, "·", -1),
47914
47926
  J(P(o.value.message_count) + " 条记录", 1)
47915
47927
  ])) : Y("", !0),
47916
- K("div", WY, [
47928
+ K("div", RY, [
47917
47929
  I(t).tab === "discussion" ? (U(), W("form", {
47918
47930
  key: 0,
47919
47931
  class: "channel-search",
@@ -47971,7 +47983,7 @@ var YG = /*#__PURE__*/ nH({
47971
47983
  ])]),
47972
47984
  _: 1
47973
47985
  })) : Y("", !0),
47974
- o.value && !(O.value && D.value) ? (U(), G(TY, { key: 2 })) : Y("", !0)
47986
+ o.value && !(O.value && D.value) ? (U(), G(yY, { key: 2 })) : Y("", !0)
47975
47987
  ]),
47976
47988
  q(E, { text: ee.value }, {
47977
47989
  default: L(() => [q(C, {
@@ -47992,12 +48004,12 @@ var YG = /*#__PURE__*/ nH({
47992
48004
  _: 1
47993
48005
  }, 8, ["text"])
47994
48006
  ]),
47995
- I(t).launch.recoveries.length ? (U(), W("section", GY, [
48007
+ I(t).launch.recoveries.length ? (U(), W("section", zY, [
47996
48008
  r[31] ||= K("h2", null, "继续未完成的请求", -1),
47997
48009
  (U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
47998
48010
  K("strong", null, P(e.title), 1),
47999
- K("p", KY, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
48000
- K("div", qY, [
48011
+ K("p", BY, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
48012
+ K("div", VY, [
48001
48013
  q(C, {
48002
48014
  label: e.direct ? "继续创建房间" : "继续本次启动",
48003
48015
  size: "sm",
@@ -48030,7 +48042,7 @@ var YG = /*#__PURE__*/ nH({
48030
48042
  ]))), 128)),
48031
48043
  r[32] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
48032
48044
  ])) : Y("", !0),
48033
- o.value ? (U(), W("div", JY, [q(Oe, {
48045
+ o.value ? (U(), W("div", HY, [q(Oe, {
48034
48046
  modelValue: oe.value,
48035
48047
  "onUpdate:modelValue": r[8] ||= (e) => oe.value = e,
48036
48048
  items: le.value,
@@ -48045,7 +48057,7 @@ var YG = /*#__PURE__*/ nH({
48045
48057
  key: 2,
48046
48058
  class: M(["channel-host-brief", { "is-collapsed": T.value }]),
48047
48059
  "aria-label": "主持简报"
48048
- }, [K("div", YY, [K("div", XY, [K("button", {
48060
+ }, [K("div", UY, [K("div", WY, [K("button", {
48049
48061
  type: "button",
48050
48062
  class: "channel-brief-toggle",
48051
48063
  "aria-label": T.value ? "展开主持简报" : "收起主持简报",
@@ -48055,8 +48067,8 @@ var YG = /*#__PURE__*/ nH({
48055
48067
  }, [
48056
48068
  q(v, { name: T.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
48057
48069
  K("strong", null, "主持简报" + P(T.value ? ":" : ""), 1),
48058
- T.value ? (U(), W("span", QY, P(te.value), 1)) : Y("", !0)
48059
- ], 8, ZY), T.value ? Y("", !0) : (U(), G(C, {
48070
+ T.value ? (U(), W("span", KY, P(te.value), 1)) : Y("", !0)
48071
+ ], 8, GY), T.value ? Y("", !0) : (U(), G(C, {
48060
48072
  key: 0,
48061
48073
  label: "更新简报",
48062
48074
  color: "neutral",
@@ -48064,30 +48076,30 @@ var YG = /*#__PURE__*/ nH({
48064
48076
  size: "xs",
48065
48077
  class: "channel-brief-update",
48066
48078
  onClick: r[9] ||= (e) => I(i)("tab", "context")
48067
- }))]), vr(K("div", $Y, [K("div", {
48079
+ }))]), vr(K("div", qY, [K("div", {
48068
48080
  class: "channel-brief-text markdown-body",
48069
48081
  innerHTML: o.value.rendered_brief
48070
- }, null, 8, eX), K("div", tX, [K("span", nX, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !T.value]])])], 2)) : Y("", !0),
48082
+ }, null, 8, JY), K("div", YY, [K("span", XY, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !T.value]])])], 2)) : Y("", !0),
48071
48083
  o.value ? (U(), W("div", {
48072
48084
  key: 3,
48073
48085
  class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
48074
- }, [K("div", rX, [
48086
+ }, [K("div", ZY, [
48075
48087
  vr(q(aW, {
48076
48088
  onDetail: Ce,
48077
48089
  onEdit: r[10] ||= (e) => s.value = "edit"
48078
48090
  }, null, 512), [[Vc, I(t).tab === "discussion"]]),
48079
- I(t).tab === "context" ? (U(), W("section", iX, [
48080
- K("div", aX, [r[33] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(se, {
48091
+ I(t).tab === "context" ? (U(), W("section", QY, [
48092
+ K("div", $Y, [r[33] ||= K("div", null, [K("h2", null, "共识与分歧"), K("p", null, "整理讨论进展,用 #消息编号 保留依据。")], -1), q(se, {
48081
48093
  color: "neutral",
48082
48094
  variant: "outline"
48083
48095
  }, {
48084
48096
  default: L(() => [J("截止 #" + P(o.value.state_until), 1)]),
48085
48097
  _: 1
48086
48098
  })]),
48087
- Array.isArray(o.value.latest_receipts) && o.value.latest_receipts.length ? (U(), W("section", oX, [
48099
+ Array.isArray(o.value.latest_receipts) && o.value.latest_receipts.length ? (U(), W("section", eX, [
48088
48100
  r[34] ||= K("h3", null, "最新运行回执", -1),
48089
48101
  r[35] ||= K("p", { class: "fine-print" }, "以下回执独立于摘要更新;晚于摘要的回执可能尚未整理,实际运行结果请查看原文。", -1),
48090
- K("div", sX, [(U(!0), W(H, null, B(o.value.latest_receipts, (e) => (U(), G(C, {
48102
+ K("div", tX, [(U(!0), W(H, null, B(o.value.latest_receipts, (e) => (U(), G(C, {
48091
48103
  key: e.id,
48092
48104
  label: `${I(n).display_name(e.author)} #${e.id} · ${new Date(e.created_at).toLocaleString("zh-CN")}${e.id > o.value.state_until ? " · 晚于摘要" : ""}`,
48093
48105
  variant: "link",
@@ -48130,7 +48142,7 @@ var YG = /*#__PURE__*/ nH({
48130
48142
  }, null, 8, ["modelValue"])]),
48131
48143
  _: 1
48132
48144
  }),
48133
- K("div", cX, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(C, {
48145
+ K("div", nX, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), q(C, {
48134
48146
  type: "submit",
48135
48147
  color: "neutral",
48136
48148
  icon: "i-lucide-check",
@@ -48145,7 +48157,7 @@ var YG = /*#__PURE__*/ nH({
48145
48157
  onOpen: r[14] ||= (e) => s.value = e,
48146
48158
  onDetail: Ce
48147
48159
  })) : Y("", !0)
48148
- ])], 2)) : (U(), W("div", lX, [
48160
+ ])], 2)) : (U(), W("div", rX, [
48149
48161
  q(v, { name: "i-lucide-hash" }),
48150
48162
  r[36] ||= K("h2", null, "新建一个讨论频道", -1),
48151
48163
  r[37] ||= K("p", null, "每个频道围绕一个议题,保留所有人的观点。", -1),
@@ -48165,8 +48177,8 @@ var YG = /*#__PURE__*/ nH({
48165
48177
  "aria-label": "调整右侧栏宽度",
48166
48178
  "aria-orientation": "vertical",
48167
48179
  "aria-controls": "channel-member-rail",
48168
- "aria-valuemin": FX,
48169
- "aria-valuemax": IX,
48180
+ "aria-valuemin": kX,
48181
+ "aria-valuemax": AX,
48170
48182
  "aria-valuenow": x.value,
48171
48183
  "aria-valuetext": `${x.value} 像素`,
48172
48184
  title: "拖动调整右侧栏宽度,也可使用左右方向键",
@@ -48176,10 +48188,10 @@ var YG = /*#__PURE__*/ nH({
48176
48188
  onPointercancel: Le,
48177
48189
  onLostpointercapture: Le,
48178
48190
  onKeydown: Re
48179
- }, null, 40, uX)) : Y("", !0),
48180
- O.value ? (U(), W("aside", dX, [K("section", fX, [o.value && ce.value ? (U(), W("div", pX, [
48181
- K("header", mX, [r[38] ||= K("strong", null, "自由协作", -1), K("span", hX, P(he.value ? `${I(n).display_name(he.value.name)} 协助主持` : "你来主持"), 1)]),
48182
- K("section", gX, [r[40] ||= K("h4", null, "成员", -1), K("ul", _X, [(U(!0), W(H, null, B(o.value.free?.members || [], (e) => (U(), W("li", {
48191
+ }, null, 40, iX)) : Y("", !0),
48192
+ O.value ? (U(), W("aside", aX, [K("section", oX, [o.value && ce.value ? (U(), W("div", sX, [
48193
+ K("header", cX, [r[38] ||= K("strong", null, "自由协作", -1), K("span", lX, P(he.value ? `${I(n).display_name(he.value.name)} 协助主持` : "你来主持"), 1)]),
48194
+ K("section", uX, [r[40] ||= K("h4", null, "成员", -1), K("ul", dX, [(U(!0), W(H, null, B(o.value.free?.members || [], (e) => (U(), W("li", {
48183
48195
  key: e.id,
48184
48196
  class: "pb-member"
48185
48197
  }, [
@@ -48195,8 +48207,8 @@ var YG = /*#__PURE__*/ nH({
48195
48207
  "alt",
48196
48208
  "class"
48197
48209
  ]),
48198
- K("div", vX, [
48199
- K("div", yX, [
48210
+ K("div", fX, [
48211
+ K("div", pX, [
48200
48212
  J(P(I(n).display_name(e.name)), 1),
48201
48213
  e.role === "host" ? (U(), G(v, {
48202
48214
  key: 0,
@@ -48209,7 +48221,7 @@ var YG = /*#__PURE__*/ nH({
48209
48221
  }[e.access] || "本机自动"), 1)
48210
48222
  ]),
48211
48223
  K("div", { class: M(["pb-member-status", `is-${ge(e)}`]) }, [r[39] ||= K("span", { class: "pb-dot" }, null, -1), J(P(_e(e)), 1)], 2),
48212
- e.session_mode === "borrowed" ? (U(), W("p", bX, "借用你正在使用的会话")) : Y("", !0)
48224
+ e.session_mode === "borrowed" ? (U(), W("p", mX, "借用你正在使用的会话")) : Y("", !0)
48213
48225
  ]),
48214
48226
  q(Me, {
48215
48227
  items: N(e),
@@ -48227,7 +48239,7 @@ var YG = /*#__PURE__*/ nH({
48227
48239
  _: 2
48228
48240
  }, 1032, ["items"])
48229
48241
  ]))), 128))])]),
48230
- o.value.free?.conflicts?.length || o.value.free?.halted_chains?.length || I(t).free_error || I(t).free_notice || I(t).access?.error || I(t).access?.notice ? (U(), W("section", xX, [
48242
+ o.value.free?.conflicts?.length || o.value.free?.halted_chains?.length || I(t).free_error || I(t).free_notice || I(t).access?.error || I(t).access?.notice ? (U(), W("section", hX, [
48231
48243
  r[41] ||= K("h4", null, "提示", -1),
48232
48244
  (U(!0), W(H, null, B(o.value.free?.conflicts || [], (e) => (U(), W("p", {
48233
48245
  key: e.executions.join("-"),
@@ -48237,10 +48249,10 @@ var YG = /*#__PURE__*/ nH({
48237
48249
  key: e.chain_id,
48238
48250
  class: "pb-free-note"
48239
48251
  }, "#" + P(e.chain_id) + " 的任务链已停:" + P(e.reason === "budget" ? `达到 ${o.value.free.max_auto_hops} 次上限` : "派出的成员都失败了") + ";发新消息即重新开始", 1))), 128)),
48240
- I(t).free_error ? (U(), W("p", SX, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", CX, P(I(t).free_notice), 1)) : Y("", !0),
48241
- I(t).access?.error ? (U(), W("p", wX, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", TX, P(I(t).access.notice), 1)) : Y("", !0)
48252
+ I(t).free_error ? (U(), W("p", gX, P(I(t).free_error), 1)) : I(t).free_notice ? (U(), W("p", _X, P(I(t).free_notice), 1)) : Y("", !0),
48253
+ I(t).access?.error ? (U(), W("p", vX, P(I(t).access.error), 1)) : I(t).access?.notice ? (U(), W("p", yX, P(I(t).access.notice), 1)) : Y("", !0)
48242
48254
  ])) : Y("", !0),
48243
- K("section", EX, [
48255
+ K("section", bX, [
48244
48256
  r[42] ||= K("h4", null, "邀请 AI", -1),
48245
48257
  K("form", {
48246
48258
  class: "pb-free-invite",
@@ -48275,15 +48287,15 @@ var YG = /*#__PURE__*/ nH({
48275
48287
  size: "sm",
48276
48288
  class: "w-26"
48277
48289
  }, null, 8, ["modelValue"])], 32),
48278
- de.value === "runner" && !I(t).launch.available ? (U(), W("p", DX, "程序唤醒需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0)
48290
+ de.value === "runner" && !I(t).launch.available ? (U(), W("p", xX, "程序唤醒需要本机服务,请在运行 AI 的电脑打开本机网站。")) : Y("", !0)
48279
48291
  ]),
48280
- o.value.linked_rooms?.length ? (U(), W("section", OX, [r[43] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(o.value.linked_rooms, (e) => (U(), W("button", {
48292
+ o.value.linked_rooms?.length ? (U(), W("section", SX, [r[43] ||= K("h4", null, "头脑风暴", -1), (U(!0), W(H, null, B(o.value.linked_rooms, (e) => (U(), W("button", {
48281
48293
  key: e.id,
48282
48294
  type: "button",
48283
48295
  class: "pb-link pb-free-linked",
48284
48296
  onClick: (t) => I(i)("room", e.id)
48285
- }, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, kX))), 128))])) : Y("", !0),
48286
- K("section", AX, [q(C, {
48297
+ }, [J(P(e.title), 1), K("small", null, P(I(n).phases[e.phase] || e.phase), 1)], 8, CX))), 128))])) : Y("", !0),
48298
+ K("section", wX, [q(C, {
48287
48299
  icon: "i-lucide-user-plus",
48288
48300
  label: "邀请",
48289
48301
  size: "sm",
@@ -48305,10 +48317,10 @@ var YG = /*#__PURE__*/ nH({
48305
48317
  title: "用当前成员新建一场讨论房间,收束后可把结论发回这里",
48306
48318
  onClick: j
48307
48319
  })])
48308
- ])) : o.value ? (U(), G(bY, {
48320
+ ])) : o.value ? (U(), G(mY, {
48309
48321
  key: 1,
48310
48322
  docked: ""
48311
- })) : (U(), W("div", jX, [...r[44] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无频道,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
48323
+ })) : (U(), W("div", TX, [...r[44] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无频道,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
48312
48324
  q(Ue, {
48313
48325
  open: d.value,
48314
48326
  "onUpdate:open": r[21] ||= (e) => d.value = e,
@@ -48320,7 +48332,7 @@ var YG = /*#__PURE__*/ nH({
48320
48332
  body: "channel-drawer-body"
48321
48333
  }
48322
48334
  }, {
48323
- body: L(() => [q(MJ, {
48335
+ body: L(() => [q(EJ, {
48324
48336
  onSelect: Se,
48325
48337
  onManage: be,
48326
48338
  onCreate: we,
@@ -48351,7 +48363,7 @@ var YG = /*#__PURE__*/ nH({
48351
48363
  }
48352
48364
  }, {
48353
48365
  body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
48354
- K("div", MX, [q(v, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
48366
+ K("div", EX, [q(v, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
48355
48367
  (U(), W(H, null, B([
48356
48368
  {
48357
48369
  key: "goal",
@@ -48378,7 +48390,7 @@ var YG = /*#__PURE__*/ nH({
48378
48390
  class: "info-section"
48379
48391
  }, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
48380
48392
  q(We),
48381
- K("section", NX, [r[45] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(ye.value, (e) => (U(), W("div", {
48393
+ K("section", DX, [r[45] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(ye.value, (e) => (U(), W("div", {
48382
48394
  key: e.name,
48383
48395
  class: "expert-row"
48384
48396
  }, [
@@ -48411,7 +48423,7 @@ var YG = /*#__PURE__*/ nH({
48411
48423
  ], 64)) : Y("", !0)]),
48412
48424
  _: 1
48413
48425
  }, 8, ["open"]),
48414
- q(lJ, {
48426
+ q(rJ, {
48415
48427
  modelValue: s.value,
48416
48428
  "onUpdate:modelValue": r[24] ||= (e) => s.value = e,
48417
48429
  "reading-width": b.value,
@@ -48431,7 +48443,7 @@ var YG = /*#__PURE__*/ nH({
48431
48443
  ], 6);
48432
48444
  };
48433
48445
  }
48434
- }, qX = {
48446
+ }, VX = {
48435
48447
  __name: "App",
48436
48448
  setup(e) {
48437
48449
  return br("discussion", oV()), (e, t) => {
@@ -48442,7 +48454,7 @@ var YG = /*#__PURE__*/ nH({
48442
48454
  toaster: null
48443
48455
  }, {
48444
48456
  default: L(() => [q(I(Az), { "reduced-motion": "user" }, {
48445
- default: L(() => [q(KX)]),
48457
+ default: L(() => [q(BX)]),
48446
48458
  _: 1
48447
48459
  })]),
48448
48460
  _: 1
@@ -48452,8 +48464,8 @@ var YG = /*#__PURE__*/ nH({
48452
48464
  };
48453
48465
  //#endregion
48454
48466
  //#region frontend/main.js
48455
- function JX() {
48456
- bu(qX).use(fh).mount("#modern-root");
48467
+ function HX() {
48468
+ bu(VX).use(fh).mount("#modern-root");
48457
48469
  }
48458
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", JX) : JX();
48470
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", HX) : HX();
48459
48471
  //#endregion