ai_co_discuss 0.3.0 → 0.3.1
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/backend/schema.sql +339 -0
- package/backend/server.py +22 -0
- package/docs/deployment.md +1 -1
- package/package.json +1 -1
- package/runner/discussion_adapters.mjs +3 -3
- package/runner/discussion_launch.mjs +1 -1
- package/runner/discussion_runner.mjs +1 -1
- package/runner/discussion_service.mjs +57 -3
- package/runner/expert_prompts.mjs +2 -2
- package/runner/free_runner.mjs +12 -0
- package/web/app.js +33 -7
- package/web/modern.css +1 -1
- package/web/modern.js +273 -253
package/web/modern.js
CHANGED
|
@@ -47372,7 +47372,7 @@ var mU = /*#__PURE__*/ YH({
|
|
|
47372
47372
|
read: "只读",
|
|
47373
47373
|
write: "可写",
|
|
47374
47374
|
auto: "自动",
|
|
47375
|
-
full: "
|
|
47375
|
+
full: "全放开"
|
|
47376
47376
|
}, Oq = {
|
|
47377
47377
|
claude: {
|
|
47378
47378
|
read: "只放行网站命令与草稿,不改项目文件、不跑其他命令",
|
|
@@ -52882,7 +52882,7 @@ var SQ = { class: "progress-board is-docked" }, CQ = { class: "pb-header" }, wQ
|
|
|
52882
52882
|
key: 0,
|
|
52883
52883
|
role: "status",
|
|
52884
52884
|
class: "overview-saved"
|
|
52885
|
-
}, G$ = { key: 1 }, K$ = { key: 1 }, q$ = { class: "overview-address" }, J$ = { key: 2 }, Y$ = 2e3, X$ = /*#__PURE__*/ YH({
|
|
52885
|
+
}, G$ = { key: 1 }, K$ = { key: 1 }, q$ = { class: "overview-address" }, J$ = { key: 2 }, Y$ = 2e3, X$ = "设为主持人", Z$ = /*#__PURE__*/ YH({
|
|
52886
52886
|
__name: "RoomOverview",
|
|
52887
52887
|
setup(e) {
|
|
52888
52888
|
let { view: t, bridge: n, act: r } = xr("discussion"), i = {
|
|
@@ -53034,9 +53034,14 @@ var SQ = { class: "progress-board is-docked" }, CQ = { class: "pb-header" }, wQ
|
|
|
53034
53034
|
te.value = e;
|
|
53035
53035
|
}
|
|
53036
53036
|
});
|
|
53037
|
-
return {
|
|
53037
|
+
return d.value ? {
|
|
53038
|
+
taking_part: n,
|
|
53039
|
+
host: i.find((e) => e.label === X$) || null,
|
|
53040
|
+
place: [...i.filter((e) => e.label !== X$), ...a]
|
|
53041
|
+
} : {
|
|
53038
53042
|
taking_part: n,
|
|
53039
|
-
|
|
53043
|
+
host: null,
|
|
53044
|
+
place: []
|
|
53040
53045
|
};
|
|
53041
53046
|
}
|
|
53042
53047
|
let O = /* @__PURE__ */ F(!1), te = /* @__PURE__ */ F(""), ne = /* @__PURE__ */ F(!1);
|
|
@@ -53103,6 +53108,21 @@ var SQ = { class: "progress-board is-docked" }, CQ = { class: "pb-header" }, wQ
|
|
|
53103
53108
|
key: 0,
|
|
53104
53109
|
title: u.value.descriptions[e.name]
|
|
53105
53110
|
}, P(u.value.descriptions[e.name]), 9, D$)) : Y("", !0)]),
|
|
53111
|
+
D(e).host ? (U(), G(s, {
|
|
53112
|
+
key: 0,
|
|
53113
|
+
icon: D(e).host.icon,
|
|
53114
|
+
label: D(e).host.label,
|
|
53115
|
+
size: "xs",
|
|
53116
|
+
variant: "ghost",
|
|
53117
|
+
color: "neutral",
|
|
53118
|
+
disabled: D(e).host.disabled,
|
|
53119
|
+
onClick: (t) => D(e).host.onSelect()
|
|
53120
|
+
}, null, 8, [
|
|
53121
|
+
"icon",
|
|
53122
|
+
"label",
|
|
53123
|
+
"disabled",
|
|
53124
|
+
"onClick"
|
|
53125
|
+
])) : Y("", !0),
|
|
53106
53126
|
q(k, {
|
|
53107
53127
|
color: o(e) ? "warning" : e.status === "active" ? "success" : "neutral",
|
|
53108
53128
|
variant: "subtle",
|
|
@@ -53240,31 +53260,31 @@ var SQ = { class: "progress-board is-docked" }, CQ = { class: "pb-header" }, wQ
|
|
|
53240
53260
|
]);
|
|
53241
53261
|
};
|
|
53242
53262
|
}
|
|
53243
|
-
}, [["__scopeId", "data-v-
|
|
53263
|
+
}, [["__scopeId", "data-v-cfcbc22f"]]), Q$ = {
|
|
53244
53264
|
thinking: "思考",
|
|
53245
53265
|
command: "命令",
|
|
53246
53266
|
tool: "工具",
|
|
53247
53267
|
editing: "编辑",
|
|
53248
53268
|
writing: "撰写"
|
|
53249
|
-
},
|
|
53269
|
+
}, $$ = {
|
|
53250
53270
|
thinking: "model",
|
|
53251
53271
|
writing: "model",
|
|
53252
53272
|
command: "tool",
|
|
53253
53273
|
tool: "tool",
|
|
53254
53274
|
editing: "tool"
|
|
53255
|
-
},
|
|
53275
|
+
}, e1 = {
|
|
53256
53276
|
running: "进行中",
|
|
53257
53277
|
done: "完成",
|
|
53258
53278
|
failed: "失败",
|
|
53259
53279
|
cancelled: "已撤销"
|
|
53260
|
-
},
|
|
53261
|
-
function
|
|
53280
|
+
}, t1 = 3e5, n1 = .03;
|
|
53281
|
+
function r1(e) {
|
|
53262
53282
|
if (e < 1e3) return `${Math.max(0, Math.round(e))}ms`;
|
|
53263
53283
|
if (e < 1e4) return `${(e / 1e3).toFixed(1)}s`;
|
|
53264
53284
|
let t = Math.round(e / 1e3);
|
|
53265
53285
|
return t < 60 ? `${t}s` : t < 3600 ? `${Math.floor(t / 60)}m ${String(t % 60).padStart(2, "0")}s` : `${Math.floor(t / 3600)}h ${String(Math.floor(t % 3600 / 60)).padStart(2, "0")}m`;
|
|
53266
53286
|
}
|
|
53267
|
-
function
|
|
53287
|
+
function i1(e, t) {
|
|
53268
53288
|
let n = e.state === "running", r = e.finished_at ? e.finished_at * 1e3 : t, i = e.dispatched_at ? e.dispatched_at * 1e3 : 0, a = Math.min(e.queued_at ? e.queued_at * 1e3 : i || r, i || r), o = i ? e.segments.map((t, a) => {
|
|
53269
53289
|
let o = n && a === e.segments.length - 1, s = Math.min(i + t.end_ms, r);
|
|
53270
53290
|
return {
|
|
@@ -53290,8 +53310,8 @@ function r1(e, t) {
|
|
|
53290
53310
|
notes: l
|
|
53291
53311
|
};
|
|
53292
53312
|
}
|
|
53293
|
-
var
|
|
53294
|
-
function
|
|
53313
|
+
var a1 = 18e4;
|
|
53314
|
+
function o1(e, t) {
|
|
53295
53315
|
let { item: n } = e;
|
|
53296
53316
|
if (n.state === "failed") return {
|
|
53297
53317
|
tone: "failed",
|
|
@@ -53315,22 +53335,22 @@ function a1(e, t) {
|
|
|
53315
53335
|
let r = n.dispatched_at * 1e3, i = n.segments.at(-1), a = Math.max(n.activity_at ? n.activity_at * 1e3 : 0, i ? r + i.end_ms : 0, ...(n.notes || []).map((e) => e * 1e3)), o = a ? t - a : 0;
|
|
53316
53336
|
return o >= 18e4 ? i?.phase === "command" ? {
|
|
53317
53337
|
tone: "warn",
|
|
53318
|
-
text: `命令已运行 ${
|
|
53338
|
+
text: `命令已运行 ${r1(o)}`
|
|
53319
53339
|
} : {
|
|
53320
53340
|
tone: "warn",
|
|
53321
|
-
text: `已 ${
|
|
53341
|
+
text: `已 ${r1(o)} 无输出,可能卡住`
|
|
53322
53342
|
} : n.last_note ? {
|
|
53323
53343
|
tone: "live",
|
|
53324
53344
|
text: n.last_note
|
|
53325
53345
|
} : i ? {
|
|
53326
53346
|
tone: "live",
|
|
53327
|
-
text: `${
|
|
53347
|
+
text: `${Q$[i.phase]}${i.tool ? ` · ${i.tool}` : ""}中`
|
|
53328
53348
|
} : {
|
|
53329
53349
|
tone: "live",
|
|
53330
53350
|
text: "处理中"
|
|
53331
53351
|
};
|
|
53332
53352
|
}
|
|
53333
|
-
function
|
|
53353
|
+
function s1(e, t) {
|
|
53334
53354
|
return [...e.segments.map((e) => ({
|
|
53335
53355
|
at: e.start,
|
|
53336
53356
|
kind: "phase",
|
|
@@ -53344,7 +53364,7 @@ function o1(e, t) {
|
|
|
53344
53364
|
text: t?.[e.index] ?? (t ? "(未能读取)" : "读取中…")
|
|
53345
53365
|
}))].sort((e, t) => e.at - t.at || (e.kind === "note") - (t.kind === "note"));
|
|
53346
53366
|
}
|
|
53347
|
-
function
|
|
53367
|
+
function c1(e, t, n = /* @__PURE__ */ new Map()) {
|
|
53348
53368
|
let r = t / 1e3, i = [];
|
|
53349
53369
|
for (let t of e.executions) {
|
|
53350
53370
|
if ((t.queued_at || t.dispatched_at || Infinity) > r) continue;
|
|
@@ -53378,7 +53398,7 @@ function s1(e, t, n = /* @__PURE__ */ new Map()) {
|
|
|
53378
53398
|
executions: i
|
|
53379
53399
|
};
|
|
53380
53400
|
}
|
|
53381
|
-
function
|
|
53401
|
+
function l1(e, t, n) {
|
|
53382
53402
|
let r = e.filter((e) => e.at >= t && e.at <= n);
|
|
53383
53403
|
if (r.length) return {
|
|
53384
53404
|
notes: r,
|
|
@@ -53390,13 +53410,13 @@ function c1(e, t, n) {
|
|
|
53390
53410
|
earlier: !!i
|
|
53391
53411
|
};
|
|
53392
53412
|
}
|
|
53393
|
-
function
|
|
53413
|
+
function u1(e, t) {
|
|
53394
53414
|
let n = e.executions.map((n) => ({
|
|
53395
53415
|
key: `${n.source}:${n.id}`,
|
|
53396
53416
|
parent: n.parent_id ? `free:${n.parent_id}` : "",
|
|
53397
53417
|
item: n,
|
|
53398
53418
|
truncated: n.segments.length >= e.segment_limit,
|
|
53399
|
-
...
|
|
53419
|
+
...i1(n, t)
|
|
53400
53420
|
})), r = new Map(n.map((e) => [e.key, e])), i = (e) => {
|
|
53401
53421
|
let t = r.get(e.parent);
|
|
53402
53422
|
for (let n = /* @__PURE__ */ new Set([e.key]); t?.item.member === e.item.member && !n.has(t.key); t = r.get(t.parent)) n.add(t.key);
|
|
@@ -53425,18 +53445,18 @@ function l1(e, t) {
|
|
|
53425
53445
|
});
|
|
53426
53446
|
return o;
|
|
53427
53447
|
}
|
|
53428
|
-
function
|
|
53448
|
+
function d1(e, t) {
|
|
53429
53449
|
if (e.source === "discussion") return `run:${e.run_id || e.id}`;
|
|
53430
53450
|
let n = e;
|
|
53431
53451
|
for (let r = /* @__PURE__ */ new Set([e.id]); n.parent_id && t.has(n.parent_id) && !r.has(n.parent_id); n = t.get(n.parent_id)) r.add(n.parent_id);
|
|
53432
53452
|
return n.task_id ? `task:${n.task_id}` : `exec:${n.id}`;
|
|
53433
53453
|
}
|
|
53434
|
-
function
|
|
53454
|
+
function f1(e, t) {
|
|
53435
53455
|
let n = new Map(e.executions.filter((e) => e.source === "free").map((e) => [e.id, e])), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
53436
53456
|
for (let a of e.executions) {
|
|
53437
|
-
let e =
|
|
53457
|
+
let e = d1(a, n);
|
|
53438
53458
|
i.set(`${a.source}:${a.id}`, e);
|
|
53439
|
-
let o =
|
|
53459
|
+
let o = i1(a, t), s = r.get(e) || {
|
|
53440
53460
|
key: e,
|
|
53441
53461
|
source: a.source,
|
|
53442
53462
|
start: o.start,
|
|
@@ -53454,7 +53474,7 @@ function d1(e, t) {
|
|
|
53454
53474
|
of: i
|
|
53455
53475
|
};
|
|
53456
53476
|
}
|
|
53457
|
-
function
|
|
53477
|
+
function p1(e, t) {
|
|
53458
53478
|
let n = new Map(e.map((e, t) => [e.key, t])), r = /* @__PURE__ */ new Map(), i = (e, t) => {
|
|
53459
53479
|
r.has(e) || r.set(e, []), r.get(e).push(t);
|
|
53460
53480
|
};
|
|
@@ -53480,7 +53500,7 @@ function f1(e, t) {
|
|
|
53480
53500
|
});
|
|
53481
53501
|
}), r;
|
|
53482
53502
|
}
|
|
53483
|
-
var
|
|
53503
|
+
var m1 = [
|
|
53484
53504
|
5,
|
|
53485
53505
|
10,
|
|
53486
53506
|
15,
|
|
@@ -53504,8 +53524,8 @@ var p1 = [
|
|
|
53504
53524
|
21600,
|
|
53505
53525
|
43200,
|
|
53506
53526
|
86400
|
|
53507
|
-
].map((e) => e * 1e3),
|
|
53508
|
-
function
|
|
53527
|
+
].map((e) => e * 1e3), h1 = .75;
|
|
53528
|
+
function g1(e, t = !1) {
|
|
53509
53529
|
let n = e.map((e) => [e.start, e.end]).sort((e, t) => e[0] - t[0]);
|
|
53510
53530
|
if (!n.length) return {
|
|
53511
53531
|
start: 0,
|
|
@@ -53521,8 +53541,8 @@ function h1(e, t = !1) {
|
|
|
53521
53541
|
n && e <= n[1] + 3e5 ? n[1] = Math.max(n[1], t) : r.push([e, t]);
|
|
53522
53542
|
}
|
|
53523
53543
|
let i = r.reduce((e, [t, n]) => e + (n - t), 0), a = i;
|
|
53524
|
-
t && i && (a =
|
|
53525
|
-
let o = Math.min(
|
|
53544
|
+
t && i && (a = m1.find((e) => e >= i / h1) ?? Math.ceil(i / h1), r.at(-1)[1] += a - i);
|
|
53545
|
+
let o = Math.min(n1, .5 / Math.max(1, r.length - 1)), s = a ? (1 - o * (r.length - 1)) / a : 0, c = [], l = 0;
|
|
53526
53546
|
return r.forEach(([e, t], n) => {
|
|
53527
53547
|
if (n) {
|
|
53528
53548
|
let t = r[n - 1][1];
|
|
@@ -53565,7 +53585,7 @@ function h1(e, t = !1) {
|
|
|
53565
53585
|
}))
|
|
53566
53586
|
};
|
|
53567
53587
|
}
|
|
53568
|
-
var
|
|
53588
|
+
var _1 = [
|
|
53569
53589
|
1,
|
|
53570
53590
|
2,
|
|
53571
53591
|
5,
|
|
@@ -53584,14 +53604,14 @@ var g1 = [
|
|
|
53584
53604
|
21600,
|
|
53585
53605
|
43200,
|
|
53586
53606
|
86400
|
|
53587
|
-
].map((e) => e * 1e3),
|
|
53588
|
-
function
|
|
53607
|
+
].map((e) => e * 1e3), v1 = .12;
|
|
53608
|
+
function y1(e, t = 6, n = {
|
|
53589
53609
|
from: 0,
|
|
53590
53610
|
span: 1
|
|
53591
53611
|
}) {
|
|
53592
53612
|
let r = (e.total_ms ?? e.busy_ms) * n.span;
|
|
53593
53613
|
if (!r) return [];
|
|
53594
|
-
let i =
|
|
53614
|
+
let i = _1.find((e) => r / e <= t) ?? _1.at(-1), a = v1 * n.span, o = [];
|
|
53595
53615
|
for (let t of e.spans) if (!(t.from + t.width < n.from || t.from > n.from + n.span)) for (let r = Math.ceil(t.start / i) * i; r <= t.end; r += i) {
|
|
53596
53616
|
let t = e.x(r);
|
|
53597
53617
|
t < n.from || t > n.from + n.span || (!o.length || t - o.at(-1).x >= a) && o.push({
|
|
@@ -53604,8 +53624,8 @@ function v1(e, t = 6, n = {
|
|
|
53604
53624
|
seconds: i < 6e4
|
|
53605
53625
|
}));
|
|
53606
53626
|
}
|
|
53607
|
-
var
|
|
53608
|
-
function
|
|
53627
|
+
var b1 = .01, x1 = 2e3;
|
|
53628
|
+
function S1(e, t) {
|
|
53609
53629
|
let n = (e) => (e - t.from) / t.span;
|
|
53610
53630
|
return {
|
|
53611
53631
|
...e,
|
|
@@ -53622,20 +53642,20 @@ function x1(e, t) {
|
|
|
53622
53642
|
}))
|
|
53623
53643
|
};
|
|
53624
53644
|
}
|
|
53625
|
-
function
|
|
53626
|
-
let i = Math.max(
|
|
53645
|
+
function C1(e, t, n, r = 0) {
|
|
53646
|
+
let i = Math.max(b1, r ? x1 / r : 0), a = Math.min(1, Math.max(i, e.span * n)), o = e.from + t * e.span;
|
|
53627
53647
|
return {
|
|
53628
53648
|
from: Math.min(1 - a, Math.max(0, o - t * a)),
|
|
53629
53649
|
span: a
|
|
53630
53650
|
};
|
|
53631
53651
|
}
|
|
53632
|
-
function
|
|
53652
|
+
function w1(e, t) {
|
|
53633
53653
|
return {
|
|
53634
53654
|
from: Math.min(1 - e.span, Math.max(0, e.from + t * e.span)),
|
|
53635
53655
|
span: e.span
|
|
53636
53656
|
};
|
|
53637
53657
|
}
|
|
53638
|
-
function
|
|
53658
|
+
function T1(e, t = Date.now()) {
|
|
53639
53659
|
let n = null;
|
|
53640
53660
|
for (let t of e) for (let e of t.segments) (!n || e.seen - e.start > n.end - n.start) && (n = {
|
|
53641
53661
|
...e,
|
|
@@ -53647,7 +53667,7 @@ function w1(e, t = Date.now()) {
|
|
|
53647
53667
|
executions: e.length,
|
|
53648
53668
|
running: e.filter((e) => e.item.state === "running").length,
|
|
53649
53669
|
failed: e.filter((e) => e.item.state === "failed").length,
|
|
53650
|
-
stalled: e.filter((e) => e.item.state === "running" &&
|
|
53670
|
+
stalled: e.filter((e) => e.item.state === "running" && o1(e, t).tone === "warn").length,
|
|
53651
53671
|
tool_segments: e.reduce((e, t) => e + t.segments.filter((e) => [
|
|
53652
53672
|
"command",
|
|
53653
53673
|
"tool",
|
|
@@ -53658,116 +53678,116 @@ function w1(e, t = Date.now()) {
|
|
|
53658
53678
|
}
|
|
53659
53679
|
//#endregion
|
|
53660
53680
|
//#region frontend/ExecutionTimeline.vue
|
|
53661
|
-
var
|
|
53681
|
+
var E1 = {
|
|
53662
53682
|
class: "merged-section execution-timeline",
|
|
53663
53683
|
"aria-label": "执行时间线"
|
|
53664
|
-
},
|
|
53684
|
+
}, D1 = {
|
|
53665
53685
|
key: 0,
|
|
53666
53686
|
role: "alert",
|
|
53667
53687
|
class: "fine-print wf-error"
|
|
53668
|
-
},
|
|
53688
|
+
}, O1 = {
|
|
53669
53689
|
key: 1,
|
|
53670
53690
|
class: "fine-print"
|
|
53671
|
-
},
|
|
53691
|
+
}, k1 = { class: "wf-head" }, A1 = {
|
|
53672
53692
|
key: 0,
|
|
53673
53693
|
class: "wf-state is-replay"
|
|
53674
|
-
},
|
|
53694
|
+
}, j1 = {
|
|
53675
53695
|
key: 2,
|
|
53676
53696
|
class: "wf-headline"
|
|
53677
|
-
},
|
|
53697
|
+
}, M1 = { class: "wf-summary" }, N1 = ["title"], P1 = ["title"], F1 = { title: "连续调用同一工具合并为一段" }, I1 = {
|
|
53678
53698
|
class: "wf-legend",
|
|
53679
53699
|
"aria-label": "图例"
|
|
53680
|
-
},
|
|
53700
|
+
}, L1 = {
|
|
53681
53701
|
key: 0,
|
|
53682
53702
|
class: "wf-legend-note"
|
|
53683
|
-
},
|
|
53703
|
+
}, R1 = {
|
|
53684
53704
|
key: 1,
|
|
53685
53705
|
class: "wf-legend-note"
|
|
53686
|
-
},
|
|
53706
|
+
}, z1 = { class: "wf-axis-label" }, B1 = {
|
|
53687
53707
|
key: 0,
|
|
53688
53708
|
class: "wf-zoom"
|
|
53689
|
-
},
|
|
53709
|
+
}, V1 = {
|
|
53690
53710
|
key: 1,
|
|
53691
53711
|
class: "wf-zoom-hint",
|
|
53692
53712
|
title: "Ctrl + 滚轮缩放;放大后按住中键或拖动时间轴平移,双击时间轴还原"
|
|
53693
|
-
},
|
|
53713
|
+
}, H1 = {
|
|
53694
53714
|
key: 2,
|
|
53695
53715
|
class: "wf-branch"
|
|
53696
|
-
},
|
|
53716
|
+
}, U1 = ["title"], W1 = {
|
|
53697
53717
|
key: 0,
|
|
53698
53718
|
class: "wf-guides",
|
|
53699
53719
|
"aria-hidden": "true"
|
|
53700
|
-
},
|
|
53720
|
+
}, G1 = [
|
|
53701
53721
|
"aria-expanded",
|
|
53702
53722
|
"aria-label",
|
|
53703
53723
|
"onClick"
|
|
53704
|
-
],
|
|
53724
|
+
], K1 = {
|
|
53705
53725
|
key: 2,
|
|
53706
53726
|
class: "wf-toggle-space"
|
|
53707
|
-
},
|
|
53727
|
+
}, q1 = [
|
|
53708
53728
|
"aria-expanded",
|
|
53709
53729
|
"onClick",
|
|
53710
53730
|
"onMouseenter",
|
|
53711
53731
|
"onMouseleave"
|
|
53712
|
-
],
|
|
53732
|
+
], J1 = { class: "wf-name-line" }, Y1 = {
|
|
53713
53733
|
key: 0,
|
|
53714
53734
|
class: "wf-spinner",
|
|
53715
53735
|
"aria-hidden": "true"
|
|
53716
|
-
},
|
|
53736
|
+
}, X1 = {
|
|
53717
53737
|
key: 1,
|
|
53718
53738
|
class: "wf-pill is-slowest"
|
|
53719
|
-
},
|
|
53739
|
+
}, Z1 = {
|
|
53720
53740
|
key: 0,
|
|
53721
53741
|
class: "wf-live-dot",
|
|
53722
53742
|
"aria-hidden": "true"
|
|
53723
|
-
},
|
|
53743
|
+
}, Q1 = ["aria-label", "onMouseleave"], $1 = { class: "wf-track" }, e0 = ["data-tone"], t0 = ["onMouseenter", "onClick"], n0 = ["onMouseenter", "onClick"], r0 = [
|
|
53724
53744
|
"data-tone",
|
|
53725
53745
|
"onMouseenter",
|
|
53726
53746
|
"onClick"
|
|
53727
|
-
],
|
|
53747
|
+
], i0 = [
|
|
53728
53748
|
"data-tone",
|
|
53729
53749
|
"onMouseenter",
|
|
53730
53750
|
"onClick"
|
|
53731
|
-
],
|
|
53751
|
+
], a0 = [
|
|
53732
53752
|
"data-tone",
|
|
53733
53753
|
"onMouseenter",
|
|
53734
53754
|
"onClick"
|
|
53735
|
-
],
|
|
53755
|
+
], o0 = [
|
|
53736
53756
|
"aria-label",
|
|
53737
53757
|
"onMouseenter",
|
|
53738
53758
|
"onClick",
|
|
53739
53759
|
"onFocus",
|
|
53740
53760
|
"onBlur"
|
|
53741
|
-
],
|
|
53761
|
+
], s0 = { class: "wf-end" }, c0 = { key: 1 }, l0 = ["aria-label"], u0 = { class: "wf-detail-head" }, d0 = { key: 0 }, f0 = { key: 1 }, p0 = { class: "is-failed" }, m0 = { key: 2 }, h0 = { key: 3 }, g0 = {
|
|
53742
53762
|
key: 0,
|
|
53743
53763
|
class: "wf-log",
|
|
53744
53764
|
"aria-label": "过程"
|
|
53745
|
-
},
|
|
53765
|
+
}, _0 = ["data-tone"], v0 = {
|
|
53746
53766
|
key: 1,
|
|
53747
53767
|
class: "wf-log-note"
|
|
53748
|
-
},
|
|
53768
|
+
}, y0 = {
|
|
53749
53769
|
key: 1,
|
|
53750
53770
|
class: "fine-print"
|
|
53751
|
-
},
|
|
53771
|
+
}, b0 = {
|
|
53752
53772
|
key: 1,
|
|
53753
53773
|
class: "wf-player"
|
|
53754
|
-
},
|
|
53774
|
+
}, x0 = {
|
|
53755
53775
|
key: 2,
|
|
53756
53776
|
class: "wf-player"
|
|
53757
|
-
},
|
|
53777
|
+
}, S0 = ["aria-label"], C0 = ["disabled"], w0 = ["max", "value"], T0 = { class: "wf-player-time" }, E0 = {
|
|
53758
53778
|
key: 3,
|
|
53759
53779
|
class: "wf-foot"
|
|
53760
|
-
},
|
|
53780
|
+
}, D0 = { key: 0 }, O0 = { key: 1 }, k0 = ["role"], A0 = {
|
|
53761
53781
|
key: 1,
|
|
53762
53782
|
class: "wf-card-text"
|
|
53763
|
-
},
|
|
53783
|
+
}, j0 = {
|
|
53764
53784
|
key: 2,
|
|
53765
53785
|
class: "wf-card-reason"
|
|
53766
|
-
},
|
|
53786
|
+
}, M0 = { class: "wf-card-label" }, N0 = 2e3, P0 = 6e4, F0 = 100, I0 = 60, L0 = 2e4, R0 = 600, z0 = 5, B0 = 16, V0 = 90, H0 = 2, U0 = 8, W0 = 560, G0 = .0015, K0 = "latest", q0 = "all", J0 = 22, Y0 = 5, X0 = 52, Z0 = /*#__PURE__*/ YH({
|
|
53767
53787
|
__name: "ExecutionTimeline",
|
|
53768
53788
|
emits: ["detail"],
|
|
53769
53789
|
setup(e, { emit: t }) {
|
|
53770
|
-
let n = t, { view: r, bridge: i } = xr("discussion"), a =
|
|
53790
|
+
let n = t, { view: r, bridge: i } = xr("discussion"), a = a1 / 6e4, o = [
|
|
53771
53791
|
1,
|
|
53772
53792
|
2,
|
|
53773
53793
|
4,
|
|
@@ -53783,7 +53803,7 @@ var T1 = {
|
|
|
53783
53803
|
let t = d.value;
|
|
53784
53804
|
if (!t || w) return;
|
|
53785
53805
|
w = !0;
|
|
53786
|
-
let n = e || !S || Date.now() - C >=
|
|
53806
|
+
let n = e || !S || Date.now() - C >= P0 ? 0 : S - z0;
|
|
53787
53807
|
try {
|
|
53788
53808
|
let e = await i.request(`/api/rooms/${t}/timeline${n ? `?after=${n}` : ""}`);
|
|
53789
53809
|
if (t !== d.value) return;
|
|
@@ -53806,7 +53826,7 @@ var T1 = {
|
|
|
53806
53826
|
R(Z(() => re.value?.executions.some((e) => e.state === "running")), (e) => {
|
|
53807
53827
|
clearInterval(T), e && (T = setInterval(() => {
|
|
53808
53828
|
document.hidden || ne();
|
|
53809
|
-
},
|
|
53829
|
+
}, N0));
|
|
53810
53830
|
}, { immediate: !0 }), R(d, () => {
|
|
53811
53831
|
f.value = /* @__PURE__ */ new Map(), p.value = null, g.value = /* @__PURE__ */ new Set(), _.value = /* @__PURE__ */ new Map(), v.value = null, y.value = "", S = 0, ne(!0);
|
|
53812
53832
|
}, { immediate: !0 }), R(() => r.value.room, (e, t) => {
|
|
@@ -53821,7 +53841,7 @@ var T1 = {
|
|
|
53821
53841
|
};
|
|
53822
53842
|
}
|
|
53823
53843
|
function oe(e) {
|
|
53824
|
-
c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(), De.value =
|
|
53844
|
+
c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(), De.value = C1(De.value, ae(e).share, Math.exp(e.deltaY * G0), Te.value.total_ms)) : Oe.value && (e.shiftKey || Math.abs(e.deltaX) > Math.abs(e.deltaY)) && (e.preventDefault(), De.value = w1(De.value, (e.shiftKey ? e.deltaY : e.deltaX) / ae(e).width)));
|
|
53825
53845
|
}
|
|
53826
53846
|
function k(e) {
|
|
53827
53847
|
let t = e.target.closest?.(".wf-axis");
|
|
@@ -53832,7 +53852,7 @@ var T1 = {
|
|
|
53832
53852
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
53833
53853
|
}
|
|
53834
53854
|
function se(e) {
|
|
53835
|
-
ie && (De.value =
|
|
53855
|
+
ie && (De.value = w1({
|
|
53836
53856
|
from: ie.from,
|
|
53837
53857
|
span: De.value.span
|
|
53838
53858
|
}, -(e.clientX - ie.x) / ie.width));
|
|
@@ -53858,15 +53878,15 @@ var T1 = {
|
|
|
53858
53878
|
}), ta(() => {
|
|
53859
53879
|
clearInterval(T), cancelAnimationFrame(ee), document.removeEventListener("pointerdown", ue), document.removeEventListener("keydown", de), u?.disconnect();
|
|
53860
53880
|
});
|
|
53861
|
-
let fe = /* @__PURE__ */ F(
|
|
53881
|
+
let fe = /* @__PURE__ */ F(K0), pe = Z(() => re.value ? f1(re.value, h.value) : {
|
|
53862
53882
|
list: [],
|
|
53863
53883
|
of: /* @__PURE__ */ new Map()
|
|
53864
|
-
}), me = Z(() => fe.value ===
|
|
53884
|
+
}), me = Z(() => fe.value === K0 ? pe.value.list[0]?.key : fe.value === q0 || pe.value.list.some((e) => e.key === fe.value) ? fe.value : pe.value.list[0]?.key), he = Z(() => !re.value || me.value === q0 ? re.value : {
|
|
53865
53885
|
...re.value,
|
|
53866
53886
|
executions: re.value.executions.filter((e) => pe.value.of.get(`${e.source}:${e.id}`) === me.value)
|
|
53867
53887
|
});
|
|
53868
53888
|
R(d, () => {
|
|
53869
|
-
fe.value =
|
|
53889
|
+
fe.value = K0;
|
|
53870
53890
|
});
|
|
53871
53891
|
let ge = (e) => new Date(e).toLocaleString("zh-CN", {
|
|
53872
53892
|
month: "numeric",
|
|
@@ -53876,13 +53896,13 @@ var T1 = {
|
|
|
53876
53896
|
hour12: !1
|
|
53877
53897
|
});
|
|
53878
53898
|
function _e(e) {
|
|
53879
|
-
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0,
|
|
53899
|
+
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0, J0)}${e.task.length > J0 ? "…" : ""}` : e.source === "discussion" ? "讨论" : "执行";
|
|
53880
53900
|
return `${ge(e.start)} · ${t} · ${e.count} 次${e.running ? " · 进行中" : e.failed ? " · 有失败" : ""}`;
|
|
53881
53901
|
}
|
|
53882
53902
|
let M = Z(() => [
|
|
53883
53903
|
{
|
|
53884
53904
|
label: "最近一轮(自动跟随)",
|
|
53885
|
-
value:
|
|
53905
|
+
value: K0
|
|
53886
53906
|
},
|
|
53887
53907
|
...pe.value.list.map((e) => ({
|
|
53888
53908
|
label: _e(e),
|
|
@@ -53890,9 +53910,9 @@ var T1 = {
|
|
|
53890
53910
|
})),
|
|
53891
53911
|
{
|
|
53892
53912
|
label: "全部执行",
|
|
53893
|
-
value:
|
|
53913
|
+
value: q0
|
|
53894
53914
|
}
|
|
53895
|
-
]), N = Z(() => he.value ?
|
|
53915
|
+
]), N = Z(() => he.value ? u1(he.value, h.value) : []), ve = Z(() => N.value.some((e) => e.item.state === "running")), ye = Z(() => {
|
|
53896
53916
|
let e = Math.min(...N.value.map((e) => e.start)), t = Math.max(...N.value.map((e) => e.end));
|
|
53897
53917
|
return Number.isFinite(e) ? {
|
|
53898
53918
|
start: e,
|
|
@@ -53903,17 +53923,17 @@ var T1 = {
|
|
|
53903
53923
|
end: 0,
|
|
53904
53924
|
duration: 0
|
|
53905
53925
|
};
|
|
53906
|
-
}), be = Z(() => O.position !== null && !ve.value), xe = Z(() => be.value ? ye.value.start + O.position : h.value), Se = Z(() => be.value ?
|
|
53926
|
+
}), be = Z(() => O.position !== null && !ve.value), xe = Z(() => be.value ? ye.value.start + O.position : h.value), Se = Z(() => be.value ? u1(c1(he.value, xe.value, _.value), xe.value) : N.value), Ce = Z(() => Se.value.filter((e) => !e.ancestors.some((e) => g.value.has(e)))), we = Z(() => Se.value.some((e) => e.item.state === "running")), Te = Z(() => g1(Se.value, we.value)), Ee = {
|
|
53907
53927
|
from: 0,
|
|
53908
53928
|
span: 1
|
|
53909
53929
|
}, De = /* @__PURE__ */ F(Ee), Oe = Z(() => De.value.span < 1);
|
|
53910
53930
|
R([me, d], () => {
|
|
53911
53931
|
De.value = Ee;
|
|
53912
53932
|
});
|
|
53913
|
-
let ke = Z(() =>
|
|
53933
|
+
let ke = Z(() => S1(Te.value, De.value)), Ae = Z(() => {
|
|
53914
53934
|
let e = we.value ? ke.value.x(xe.value) : null;
|
|
53915
53935
|
return e === null || e < 0 || e > 1 ? null : e;
|
|
53916
|
-
}), je = Z(() => Math.max(1, ye.value.duration /
|
|
53936
|
+
}), je = Z(() => Math.max(1, ye.value.duration / L0)), Me = Z(() => [{
|
|
53917
53937
|
label: `自动 · ${Math.round(je.value)}×`,
|
|
53918
53938
|
value: 0
|
|
53919
53939
|
}, ...o.map((e) => ({
|
|
@@ -53923,7 +53943,7 @@ var T1 = {
|
|
|
53923
53943
|
function Pe(e) {
|
|
53924
53944
|
let t = E ? Math.min(e - E, 250) : 0;
|
|
53925
53945
|
E = e;
|
|
53926
|
-
let n = Se.value.length <=
|
|
53946
|
+
let n = Se.value.length <= I0 || e - D >= F0;
|
|
53927
53947
|
O.playing && (te += t * Ne.value, te >= ye.value.duration ? Object.assign(O, {
|
|
53928
53948
|
position: null,
|
|
53929
53949
|
playing: !1
|
|
@@ -53976,15 +53996,15 @@ var T1 = {
|
|
|
53976
53996
|
let t = e.filter((e) => !Ve.has(e));
|
|
53977
53997
|
t.forEach((e) => Ve.add(e)), t.length && (Be.value = /* @__PURE__ */ new Set([...Be.value, ...t]), setTimeout(() => {
|
|
53978
53998
|
Be.value = new Set([...Be.value].filter((e) => !t.includes(e)));
|
|
53979
|
-
},
|
|
53999
|
+
}, R0));
|
|
53980
54000
|
}), R([me, d], () => {
|
|
53981
54001
|
Ve = null;
|
|
53982
54002
|
});
|
|
53983
|
-
let Ue = Z(() =>
|
|
54003
|
+
let Ue = Z(() => p1(Ce.value, ke.value)), We = Z(() => y1(Te.value, Math.min(U0, Math.max(H0, Math.round((l.value || 540) / V0))), De.value).map((e) => ({
|
|
53984
54004
|
...e,
|
|
53985
54005
|
x: (e.x - De.value.from) / De.value.span
|
|
53986
|
-
}))), Ge = Z(() =>
|
|
53987
|
-
let e = Se.value, t = new Set(e.flatMap((e) => e.segments.map((e) =>
|
|
54006
|
+
}))), Ge = Z(() => T1(Se.value, xe.value)), Ke = Z(() => Se.value.filter((e) => e.has_children).map((e) => e.key)), qe = Z(() => Se.value.find((e) => e.key === y.value)), Je = Z(() => qe.value ? s1(qe.value, _.value.get(qe.value.item.id)) : []), Ye = Z(() => {
|
|
54007
|
+
let e = Se.value, t = new Set(e.flatMap((e) => e.segments.map((e) => $$[e.phase])));
|
|
53988
54008
|
return [
|
|
53989
54009
|
...e.some((e) => e.queue[1] > e.queue[0]) ? [["queue", "排队"]] : [],
|
|
53990
54010
|
...e.some((e) => e.wake) ? [["wake", "唤醒"]] : [],
|
|
@@ -53997,10 +54017,10 @@ var T1 = {
|
|
|
53997
54017
|
];
|
|
53998
54018
|
}), Xe = Z(() => Se.value.length > 0 && Se.value.every((e) => !e.segments.length)), Ze = Z(() => {
|
|
53999
54019
|
let e = /* @__PURE__ */ new Map();
|
|
54000
|
-
for (let t of [...Se.value].sort((e, t) => e.start - t.start)) e.has(t.item.member) || e.set(t.item.member, e.size %
|
|
54020
|
+
for (let t of [...Se.value].sort((e, t) => e.start - t.start)) e.has(t.item.member) || e.set(t.item.member, e.size % Y0 + 1);
|
|
54001
54021
|
return e;
|
|
54002
54022
|
}), Qe = Z(() => {
|
|
54003
|
-
let e =
|
|
54023
|
+
let e = X0 / (l.value || 800), t = [];
|
|
54004
54024
|
for (let n of ke.value.folds) {
|
|
54005
54025
|
let r = n.from + n.width / 2;
|
|
54006
54026
|
r < 0 || r > 1 || (!t.length || r - t.at(-1).middle >= e) && t.push({
|
|
@@ -54010,12 +54030,12 @@ var T1 = {
|
|
|
54010
54030
|
}
|
|
54011
54031
|
return t;
|
|
54012
54032
|
}), $e = Z(() => {
|
|
54013
|
-
let e =
|
|
54033
|
+
let e = X0 / (l.value || 800);
|
|
54014
54034
|
return We.value.filter((t) => !Qe.value.some((n) => Math.abs(t.x - n.middle) < e));
|
|
54015
54035
|
});
|
|
54016
54036
|
function et(e, t) {
|
|
54017
54037
|
if (y.value = y.value === e.key ? "" : e.key, !y.value) return;
|
|
54018
|
-
let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(
|
|
54038
|
+
let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(W0, r.width - 16);
|
|
54019
54039
|
b.value = {
|
|
54020
54040
|
top: n.bottom - r.top + 4,
|
|
54021
54041
|
left: Math.max(8, Math.min(n.left - r.left, r.width - i - 8))
|
|
@@ -54042,15 +54062,15 @@ var T1 = {
|
|
|
54042
54062
|
function it(e) {
|
|
54043
54063
|
return [...e.item.source === "discussion" ? ["讨论"] : [], ...e.item.role === "host" ? ["主持"] : []];
|
|
54044
54064
|
}
|
|
54045
|
-
let at = (e) =>
|
|
54065
|
+
let at = (e) => o1(e, xe.value);
|
|
54046
54066
|
function ot(e) {
|
|
54047
54067
|
let t = [
|
|
54048
54068
|
i.display_name(e.item.member),
|
|
54049
54069
|
rt(e),
|
|
54050
|
-
|
|
54051
|
-
`用时 ${
|
|
54070
|
+
e1[e.item.state],
|
|
54071
|
+
`用时 ${r1(e.end - e.start)}`
|
|
54052
54072
|
];
|
|
54053
|
-
return e.wake && t.push(`唤醒 ${
|
|
54073
|
+
return e.wake && t.push(`唤醒 ${r1(e.wake[1] - e.wake[0])}${e.wake_approx ? "(约)" : ""}`), !e.segments.length && e.work && t.push("无阶段明细"), e.notes.length && t.push(`${e.notes.length} 段过程说明`), t.join(",");
|
|
54054
54074
|
}
|
|
54055
54075
|
async function st(e) {
|
|
54056
54076
|
let t = e.item.id;
|
|
@@ -54074,7 +54094,7 @@ var T1 = {
|
|
|
54074
54094
|
let i = e.currentTarget.getBoundingClientRect(), a = n.note ? {
|
|
54075
54095
|
notes: [n.note],
|
|
54076
54096
|
earlier: !1
|
|
54077
|
-
} :
|
|
54097
|
+
} : l1(t.notes, n.start, n.end), o = Math.min(360, window.innerWidth - 16), s = i.bottom + 6, c = s + 160 > window.innerHeight && i.top > 200 ? Math.max(8, i.top - 6 - 200) : s;
|
|
54078
54098
|
v.value = {
|
|
54079
54099
|
key: t.key,
|
|
54080
54100
|
id: dt(t, n),
|
|
@@ -54098,7 +54118,7 @@ var T1 = {
|
|
|
54098
54118
|
}
|
|
54099
54119
|
let ht = Z(() => {
|
|
54100
54120
|
let e = v.value?.piece;
|
|
54101
|
-
return e ? e.note ? `过程说明 · ${ct(e.note.at)}` : `${e.kind === "segment" ? `${
|
|
54121
|
+
return e ? e.note ? `过程说明 · ${ct(e.note.at)}` : `${e.kind === "segment" ? `${Q$[e.phase]}${e.tool ? ` · ${e.tool}` : ""}` : e.label} · ${r1(e.end - e.start)}${e.live ? " · 进行中" : ""}` : "";
|
|
54102
54122
|
}), gt = Z(() => {
|
|
54103
54123
|
if (!v.value) return [];
|
|
54104
54124
|
let e = _.value.get(v.value.row.item.id);
|
|
@@ -54109,17 +54129,17 @@ var T1 = {
|
|
|
54109
54129
|
});
|
|
54110
54130
|
return (e, t) => {
|
|
54111
54131
|
let r = bH, o = sA, s = pA;
|
|
54112
|
-
return U(), W("section",
|
|
54132
|
+
return U(), W("section", E1, [
|
|
54113
54133
|
t[30] ||= K("div", { class: "page-heading" }, [K("div", null, [K("h2", null, "执行时间线"), K("p", null, "本机接入程序唤醒的每次执行;点名字看详情,悬停条形看当时的过程说明。")])], -1),
|
|
54114
|
-
m.value ? (U(), W("p",
|
|
54115
|
-
re.value && !Se.value.length ? (U(), W("p",
|
|
54134
|
+
m.value ? (U(), W("p", D1, P(m.value), 1)) : Y("", !0),
|
|
54135
|
+
re.value && !Se.value.length ? (U(), W("p", O1, "还没有执行记录。")) : Y("", !0),
|
|
54116
54136
|
Se.value.length ? (U(), W("div", {
|
|
54117
54137
|
key: 2,
|
|
54118
54138
|
ref_key: "wf_element",
|
|
54119
54139
|
ref: x,
|
|
54120
54140
|
class: "wf"
|
|
54121
54141
|
}, [
|
|
54122
|
-
K("header",
|
|
54142
|
+
K("header", k1, [
|
|
54123
54143
|
t[12] ||= K("span", { class: "wf-title" }, "执行瀑布", -1),
|
|
54124
54144
|
q(r, {
|
|
54125
54145
|
modelValue: fe.value,
|
|
@@ -54138,17 +54158,17 @@ var T1 = {
|
|
|
54138
54158
|
trailingIcon: "wf-select-icon"
|
|
54139
54159
|
}
|
|
54140
54160
|
}, null, 8, ["modelValue", "items"]),
|
|
54141
|
-
be.value ? (U(), W("span",
|
|
54161
|
+
be.value ? (U(), W("span", A1, "回放中 · " + P(ct(xe.value)), 1)) : (U(), W("span", {
|
|
54142
54162
|
key: 1,
|
|
54143
54163
|
class: j(["wf-state", { "is-live": Ge.value.running }])
|
|
54144
54164
|
}, P(Ge.value.running ? `${Ge.value.running} 个进行中` : "均已结束"), 3)),
|
|
54145
|
-
Ge.value.slowest ? (U(), W("span",
|
|
54165
|
+
Ge.value.slowest ? (U(), W("span", j1, [
|
|
54146
54166
|
t[11] ||= J("最慢一步 ", -1),
|
|
54147
|
-
K("b", null, [J(P(I(i).display_name(Ge.value.slowest.member)) + " · " + P(I(
|
|
54148
|
-
J(" · " + P(I(
|
|
54167
|
+
K("b", null, [J(P(I(i).display_name(Ge.value.slowest.member)) + " · " + P(I(Q$)[Ge.value.slowest.phase]), 1), Ge.value.slowest.tool ? (U(), W(H, { key: 0 }, [J(P(Ge.value.slowest.tool), 1)], 64)) : Y("", !0)]),
|
|
54168
|
+
J(" · " + P(I(r1)(Ge.value.slowest.end - Ge.value.slowest.start)), 1)
|
|
54149
54169
|
])) : Y("", !0)
|
|
54150
54170
|
]),
|
|
54151
|
-
K("dl",
|
|
54171
|
+
K("dl", M1, [
|
|
54152
54172
|
K("div", null, [t[13] ||= K("dt", null, "执行", -1), K("dd", null, [(U(), W("span", {
|
|
54153
54173
|
key: Ge.value.executions,
|
|
54154
54174
|
class: "wf-roll"
|
|
@@ -54164,17 +54184,17 @@ var T1 = {
|
|
|
54164
54184
|
K("div", { title: `超过 ${a} 分钟没有输出` }, [t[16] ||= K("dt", null, "可能卡住", -1), K("dd", { class: j(Ge.value.stalled ? "is-warn" : "is-zero") }, [(U(), W("span", {
|
|
54165
54185
|
key: Ge.value.stalled,
|
|
54166
54186
|
class: "wf-roll"
|
|
54167
|
-
}, P(Ge.value.stalled), 1))], 2)], 8,
|
|
54168
|
-
K("div", { title: Te.value.folds.length ? `已折叠 ${Te.value.folds.length} 段超过 ${I(
|
|
54169
|
-
K("div",
|
|
54187
|
+
}, P(Ge.value.stalled), 1))], 2)], 8, N1),
|
|
54188
|
+
K("div", { title: Te.value.folds.length ? `已折叠 ${Te.value.folds.length} 段超过 ${I(t1) / 6e4} 分钟的空闲` : void 0 }, [t[17] ||= K("dt", null, "有效时长", -1), K("dd", null, P(I(r1)(Te.value.busy_ms)), 1)], 8, P1),
|
|
54189
|
+
K("div", F1, [t[19] ||= K("dt", null, "工具与命令", -1), K("dd", { class: j({ "is-zero": !Ge.value.tool_segments }) }, [(U(), W("span", {
|
|
54170
54190
|
key: Ge.value.tool_segments,
|
|
54171
54191
|
class: "wf-roll"
|
|
54172
54192
|
}, P(Ge.value.tool_segments), 1)), t[18] ||= J(" 段", -1)], 2)])
|
|
54173
54193
|
]),
|
|
54174
|
-
K("ul",
|
|
54194
|
+
K("ul", I1, [
|
|
54175
54195
|
(U(!0), W(H, null, B(Ye.value, ([e, t]) => (U(), W("li", { key: e }, [K("i", { class: j(["wf-swatch", `is-${e}`]) }, null, 2), J(P(t), 1)]))), 128)),
|
|
54176
|
-
Ze.value.size > 1 ? (U(), W("li",
|
|
54177
|
-
Xe.value ? (U(), W("li",
|
|
54196
|
+
Ze.value.size > 1 ? (U(), W("li", L1, "颜色区分成员,深浅区分模型与工具")) : Y("", !0),
|
|
54197
|
+
Xe.value ? (U(), W("li", R1, "这些执行都没有阶段明细:发生在接入程序上报阶段之前,或来自手动接入、在线 AI、Codex App")) : Y("", !0)
|
|
54178
54198
|
]),
|
|
54179
54199
|
K("div", {
|
|
54180
54200
|
class: j(["wf-grid", {
|
|
@@ -54182,7 +54202,7 @@ var T1 = {
|
|
|
54182
54202
|
"is-panning": I(ie)
|
|
54183
54203
|
}]),
|
|
54184
54204
|
role: "list",
|
|
54185
|
-
style: A({ "--wf-depth-px": `${
|
|
54205
|
+
style: A({ "--wf-depth-px": `${B0}px` }),
|
|
54186
54206
|
onWheel: oe,
|
|
54187
54207
|
onMousedown: le,
|
|
54188
54208
|
onPointerdown: k,
|
|
@@ -54190,14 +54210,14 @@ var T1 = {
|
|
|
54190
54210
|
onPointerup: ce,
|
|
54191
54211
|
onPointercancel: ce
|
|
54192
54212
|
}, [
|
|
54193
|
-
K("div",
|
|
54213
|
+
K("div", z1, [
|
|
54194
54214
|
K("span", null, "执行 · " + P(Ce.value.length) + "/" + P(Se.value.length), 1),
|
|
54195
|
-
Oe.value ? (U(), W("span",
|
|
54215
|
+
Oe.value ? (U(), W("span", B1, [J("放大 " + P((1 / De.value.span).toFixed(1)) + "×", 1), K("button", {
|
|
54196
54216
|
type: "button",
|
|
54197
54217
|
class: "wf-text-button",
|
|
54198
54218
|
onClick: t[1] ||= (e) => De.value = Ee
|
|
54199
|
-
}, "重置")])) : (U(), W("span",
|
|
54200
|
-
Ke.value.length ? (U(), W("span",
|
|
54219
|
+
}, "重置")])) : (U(), W("span", V1, "Ctrl + 滚轮缩放")),
|
|
54220
|
+
Ke.value.length ? (U(), W("span", H1, [K("button", {
|
|
54201
54221
|
type: "button",
|
|
54202
54222
|
class: "wf-text-button",
|
|
54203
54223
|
onClick: t[2] ||= (e) => g.value = /* @__PURE__ */ new Set()
|
|
@@ -54224,7 +54244,7 @@ var T1 = {
|
|
|
54224
54244
|
class: "wf-fold-label",
|
|
54225
54245
|
style: A({ left: `${e.middle * 100}%` }),
|
|
54226
54246
|
title: `${ct(e.start)} – ${ct(e.end)} 没有执行,已折叠`
|
|
54227
|
-
}, "⋯ " + P(I(
|
|
54247
|
+
}, "⋯ " + P(I(r1)(e.end - e.start)), 13, U1))), 128)),
|
|
54228
54248
|
Ae.value === null ? Y("", !0) : (U(), W("span", {
|
|
54229
54249
|
key: 0,
|
|
54230
54250
|
class: "wf-cursor-head",
|
|
@@ -54244,7 +54264,7 @@ var T1 = {
|
|
|
54244
54264
|
class: "wf-label",
|
|
54245
54265
|
style: A({ "--depth": e.depth })
|
|
54246
54266
|
}, [
|
|
54247
|
-
e.depth ? (U(), W("span",
|
|
54267
|
+
e.depth ? (U(), W("span", W1)) : Y("", !0),
|
|
54248
54268
|
e.has_children ? (U(), W("button", {
|
|
54249
54269
|
key: 1,
|
|
54250
54270
|
type: "button",
|
|
@@ -54252,7 +54272,7 @@ var T1 = {
|
|
|
54252
54272
|
"aria-expanded": !g.value.has(e.key),
|
|
54253
54273
|
"aria-label": `${g.value.has(e.key) ? "展开" : "收起"} ${I(i).display_name(e.item.member)} 派出的执行`,
|
|
54254
54274
|
onClick: (t) => tt(e.key)
|
|
54255
|
-
}, [q(o, { name: "i-lucide-chevron-right" })], 10,
|
|
54275
|
+
}, [q(o, { name: "i-lucide-chevron-right" })], 10, G1)) : (U(), W("span", K1)),
|
|
54256
54276
|
q(s, {
|
|
54257
54277
|
src: I(i).identities[e.item.member]?.icon,
|
|
54258
54278
|
text: I(i).identities[e.item.member]?.initials,
|
|
@@ -54271,29 +54291,29 @@ var T1 = {
|
|
|
54271
54291
|
"aria-expanded": y.value === e.key,
|
|
54272
54292
|
onClick: (t) => et(e, t),
|
|
54273
54293
|
onMouseenter: (t) => ft(t, e, {
|
|
54274
|
-
label: I(
|
|
54294
|
+
label: I(e1)[e.item.state],
|
|
54275
54295
|
start: e.start,
|
|
54276
54296
|
end: e.end,
|
|
54277
54297
|
text: at(e).text,
|
|
54278
54298
|
live: e.item.state === "running"
|
|
54279
54299
|
}),
|
|
54280
54300
|
onMouseleave: (t) => mt(e)
|
|
54281
|
-
}, [K("span",
|
|
54282
|
-
e.item.state === "running" ? (U(), W("i",
|
|
54301
|
+
}, [K("span", J1, [
|
|
54302
|
+
e.item.state === "running" ? (U(), W("i", Y1)) : Y("", !0),
|
|
54283
54303
|
K("strong", null, P(I(i).display_name(e.item.member)), 1),
|
|
54284
54304
|
(U(!0), W(H, null, B(it(e), (e) => (U(), W("em", {
|
|
54285
54305
|
key: e,
|
|
54286
54306
|
class: "wf-pill is-role"
|
|
54287
54307
|
}, P(e), 1))), 128)),
|
|
54288
|
-
Ge.value.slowest?.row === e.key ? (U(), W("em",
|
|
54289
|
-
]), K("span", { class: j(["wf-status", `is-${at(e).tone}`]) }, [at(e).tone === "live" ? (U(), W("i",
|
|
54308
|
+
Ge.value.slowest?.row === e.key ? (U(), W("em", X1, "最慢")) : Y("", !0)
|
|
54309
|
+
]), K("span", { class: j(["wf-status", `is-${at(e).tone}`]) }, [at(e).tone === "live" ? (U(), W("i", Z1)) : Y("", !0), J(P(at(e).text), 1)], 2)], 40, q1)
|
|
54290
54310
|
], 4),
|
|
54291
54311
|
K("div", {
|
|
54292
54312
|
class: "wf-lane",
|
|
54293
54313
|
role: "img",
|
|
54294
54314
|
"aria-label": ot(e),
|
|
54295
54315
|
onMouseleave: (t) => mt(e)
|
|
54296
|
-
}, [K("div",
|
|
54316
|
+
}, [K("div", $1, [
|
|
54297
54317
|
(U(!0), W(H, null, B($e.value, (e) => (U(), W("i", {
|
|
54298
54318
|
key: e.at,
|
|
54299
54319
|
class: "wf-gridline",
|
|
@@ -54313,7 +54333,7 @@ var T1 = {
|
|
|
54313
54333
|
class: j(["wf-link", `is-${e.part}`]),
|
|
54314
54334
|
"data-tone": Ze.value.get(e.member),
|
|
54315
54335
|
style: A({ left: `${e.x * 100}%` })
|
|
54316
|
-
}, null, 14,
|
|
54336
|
+
}, null, 14, e0))), 128)),
|
|
54317
54337
|
Ae.value === null ? Y("", !0) : (U(), W("i", {
|
|
54318
54338
|
key: 0,
|
|
54319
54339
|
class: "wf-cursor",
|
|
@@ -54332,7 +54352,7 @@ var T1 = {
|
|
|
54332
54352
|
start: e.queue[0],
|
|
54333
54353
|
end: e.queue[1]
|
|
54334
54354
|
})
|
|
54335
|
-
}, null, 44,
|
|
54355
|
+
}, null, 44, t0),
|
|
54336
54356
|
e.wake ? (U(), W("i", {
|
|
54337
54357
|
key: 1,
|
|
54338
54358
|
class: "wf-bar is-wake",
|
|
@@ -54347,7 +54367,7 @@ var T1 = {
|
|
|
54347
54367
|
start: e.wake[0],
|
|
54348
54368
|
end: e.wake[1]
|
|
54349
54369
|
})
|
|
54350
|
-
}, null, 44,
|
|
54370
|
+
}, null, 44, n0)) : Y("", !0),
|
|
54351
54371
|
e.work ? (U(), W("i", {
|
|
54352
54372
|
key: 2,
|
|
54353
54373
|
class: j(["wf-bar is-work", { "has-detail": e.segments.length }]),
|
|
@@ -54365,9 +54385,9 @@ var T1 = {
|
|
|
54365
54385
|
end: e.work[1],
|
|
54366
54386
|
live: e.item.state === "running"
|
|
54367
54387
|
})
|
|
54368
|
-
}, null, 46,
|
|
54388
|
+
}, null, 46, r0)) : Y("", !0),
|
|
54369
54389
|
(U(!0), W(H, null, B(e.segments, (t) => (U(), W(H, { key: t.start + t.phase }, [K("i", {
|
|
54370
|
-
class: j(["wf-bar wf-seg", [`is-${I(
|
|
54390
|
+
class: j(["wf-bar wf-seg", [`is-${I($$)[t.phase]}`, { "is-live": t.live }]]),
|
|
54371
54391
|
"data-tone": Ze.value.get(e.item.member),
|
|
54372
54392
|
style: A(nt(t.start, t.seen, !0)),
|
|
54373
54393
|
onMouseenter: (n) => ft(n, e, {
|
|
@@ -54378,9 +54398,9 @@ var T1 = {
|
|
|
54378
54398
|
kind: "segment",
|
|
54379
54399
|
...t
|
|
54380
54400
|
})
|
|
54381
|
-
}, null, 46,
|
|
54401
|
+
}, null, 46, i0), t.end > t.seen ? (U(), W("i", {
|
|
54382
54402
|
key: 0,
|
|
54383
|
-
class: j(["wf-bar wf-seg is-tail", `is-${I(
|
|
54403
|
+
class: j(["wf-bar wf-seg is-tail", `is-${I($$)[t.phase]}`]),
|
|
54384
54404
|
"data-tone": Ze.value.get(e.item.member),
|
|
54385
54405
|
style: A(nt(t.seen, t.end)),
|
|
54386
54406
|
onMouseenter: (n) => ft(n, e, {
|
|
@@ -54391,7 +54411,7 @@ var T1 = {
|
|
|
54391
54411
|
kind: "segment",
|
|
54392
54412
|
...t
|
|
54393
54413
|
})
|
|
54394
|
-
}, null, 46,
|
|
54414
|
+
}, null, 46, a0)) : Y("", !0)], 64))), 128)),
|
|
54395
54415
|
(U(!0), W(H, null, B(e.notes, (t) => (U(), W("button", {
|
|
54396
54416
|
key: `note-${t.index}`,
|
|
54397
54417
|
type: "button",
|
|
@@ -54414,15 +54434,15 @@ var T1 = {
|
|
|
54414
54434
|
end: t.at
|
|
54415
54435
|
}),
|
|
54416
54436
|
onBlur: (t) => mt(e)
|
|
54417
|
-
}, null, 44,
|
|
54418
|
-
])], 40,
|
|
54419
|
-
K("span",
|
|
54420
|
-
J(P(I(
|
|
54437
|
+
}, null, 44, o0))), 128))
|
|
54438
|
+
])], 40, Q1),
|
|
54439
|
+
K("span", s0, [
|
|
54440
|
+
J(P(I(r1)(e.end - e.start)) + P(e.wake_approx && e.wake ? "~" : ""), 1),
|
|
54421
54441
|
e.item.state === "done" ? Y("", !0) : (U(), W("small", {
|
|
54422
54442
|
key: 0,
|
|
54423
54443
|
class: j(`is-${e.item.state}`)
|
|
54424
|
-
}, P(I(
|
|
54425
|
-
e.truncated ? (U(), W("small",
|
|
54444
|
+
}, P(I(e1)[e.item.state]), 3)),
|
|
54445
|
+
e.truncated ? (U(), W("small", c0, "明细已截断")) : Y("", !0)
|
|
54426
54446
|
])
|
|
54427
54447
|
], 2))), 128))
|
|
54428
54448
|
], 38),
|
|
@@ -54436,9 +54456,9 @@ var T1 = {
|
|
|
54436
54456
|
left: `${b.value.left}px`
|
|
54437
54457
|
})
|
|
54438
54458
|
}, [
|
|
54439
|
-
K("header",
|
|
54459
|
+
K("header", u0, [
|
|
54440
54460
|
K("strong", null, P(I(i).display_name(qe.value.item.member)), 1),
|
|
54441
|
-
K("small", null, P(rt(qe.value)) + " · " + P(I(
|
|
54461
|
+
K("small", null, P(rt(qe.value)) + " · " + P(I(e1)[qe.value.item.state]) + " · " + P(I(r1)(qe.value.end - qe.value.start)), 1),
|
|
54442
54462
|
K("button", {
|
|
54443
54463
|
type: "button",
|
|
54444
54464
|
class: "wf-card-close",
|
|
@@ -54447,47 +54467,47 @@ var T1 = {
|
|
|
54447
54467
|
}, [q(o, { name: "i-lucide-x" })])
|
|
54448
54468
|
]),
|
|
54449
54469
|
K("dl", null, [
|
|
54450
|
-
qe.value.item.task ? (U(), W("div",
|
|
54470
|
+
qe.value.item.task ? (U(), W("div", d0, [t[22] ||= K("dt", null, "任务", -1), K("dd", null, [J(P(qe.value.item.task), 1), qe.value.item.task_id ? (U(), W("button", {
|
|
54451
54471
|
key: 0,
|
|
54452
54472
|
type: "button",
|
|
54453
54473
|
class: "subtle-link",
|
|
54454
54474
|
onClick: t[6] ||= (e) => n("detail", qe.value.item.task_id)
|
|
54455
54475
|
}, "#" + P(qe.value.item.task_id), 1)) : Y("", !0)])])) : Y("", !0),
|
|
54456
|
-
qe.value.item.state === "failed" ? (U(), W("div",
|
|
54476
|
+
qe.value.item.state === "failed" ? (U(), W("div", f0, [t[23] ||= K("dt", null, "失败原因", -1), K("dd", p0, P(qe.value.item.reason || "执行失败"), 1)])) : qe.value.item.result || qe.value.item.answer_id ? (U(), W("div", m0, [t[24] ||= K("dt", null, "结果", -1), K("dd", null, [J(P(qe.value.item.result), 1), qe.value.item.answer_id ? (U(), W("button", {
|
|
54457
54477
|
key: 0,
|
|
54458
54478
|
type: "button",
|
|
54459
54479
|
class: "subtle-link",
|
|
54460
54480
|
onClick: t[7] ||= (e) => n("detail", qe.value.item.answer_id)
|
|
54461
54481
|
}, "在消息中查看 #" + P(qe.value.item.answer_id), 1)) : Y("", !0)])])) : Y("", !0),
|
|
54462
|
-
qe.value.item.changes ? (U(), W("div",
|
|
54482
|
+
qe.value.item.changes ? (U(), W("div", h0, [t[25] ||= K("dt", null, "改动", -1), K("dd", null, P(qe.value.item.changes) + " 个文件", 1)])) : Y("", !0)
|
|
54463
54483
|
]),
|
|
54464
|
-
Je.value.length ? (U(), W("ol",
|
|
54484
|
+
Je.value.length ? (U(), W("ol", g0, [(U(!0), W(H, null, B(Je.value, (e) => (U(), W("li", {
|
|
54465
54485
|
key: `${e.kind}-${e.at}-${e.phase || ""}`,
|
|
54466
54486
|
class: j(`log-${e.kind}`)
|
|
54467
54487
|
}, [K("time", null, P(ct(e.at)), 1), e.kind === "phase" ? (U(), W(H, { key: 0 }, [K("i", {
|
|
54468
|
-
class: j(["wf-swatch", `is-${I(
|
|
54488
|
+
class: j(["wf-swatch", `is-${I($$)[e.phase]}`]),
|
|
54469
54489
|
"data-tone": Ze.value.get(qe.value.item.member),
|
|
54470
54490
|
"aria-hidden": "true"
|
|
54471
|
-
}, null, 10,
|
|
54472
|
-
J(P(I(
|
|
54491
|
+
}, null, 10, _0), K("span", null, [
|
|
54492
|
+
J(P(I(Q$)[e.phase]), 1),
|
|
54473
54493
|
e.tool ? (U(), W(H, { key: 0 }, [J(" · " + P(e.tool), 1)], 64)) : Y("", !0),
|
|
54474
|
-
J(" · " + P(e.live ? "进行中" : I(
|
|
54475
|
-
])], 64)) : (U(), W("span",
|
|
54476
|
-
], 12,
|
|
54477
|
-
me.value ===
|
|
54494
|
+
J(" · " + P(e.live ? "进行中" : I(r1)(e.duration)), 1)
|
|
54495
|
+
])], 64)) : (U(), W("span", v0, P(e.text), 1))], 2))), 128))])) : (U(), W("p", y0, "这次执行没有阶段明细或过程说明。"))
|
|
54496
|
+
], 12, l0)) : Y("", !0),
|
|
54497
|
+
me.value === q0 ? (U(), W("div", b0, [...t[26] ||= [K("span", { class: "wf-player-note" }, "回放按轮进行:在上方选一轮即可回放", -1)]])) : (U(), W("div", x0, [ve.value ? (U(), W(H, { key: 0 }, [t[27] ||= K("span", { class: "wf-state is-live" }, "实时", -1), t[28] ||= K("span", { class: "wf-player-note" }, "这一轮结束后可以回放", -1)], 64)) : (U(), W(H, { key: 1 }, [
|
|
54478
54498
|
K("button", {
|
|
54479
54499
|
type: "button",
|
|
54480
54500
|
class: "wf-player-button",
|
|
54481
54501
|
"aria-label": O.playing ? "暂停回放" : "回放这一轮",
|
|
54482
54502
|
onClick: t[8] ||= (e) => O.playing ? Le() : Fe()
|
|
54483
|
-
}, [q(o, { name: O.playing ? "i-lucide-pause" : "i-lucide-play" }, null, 8, ["name"])], 8,
|
|
54503
|
+
}, [q(o, { name: O.playing ? "i-lucide-pause" : "i-lucide-play" }, null, 8, ["name"])], 8, S0),
|
|
54484
54504
|
K("button", {
|
|
54485
54505
|
type: "button",
|
|
54486
54506
|
class: "wf-player-button",
|
|
54487
54507
|
"aria-label": "从头回放",
|
|
54488
54508
|
disabled: !be.value,
|
|
54489
54509
|
onClick: Re
|
|
54490
|
-
}, [q(o, { name: "i-lucide-rotate-ccw" })], 8,
|
|
54510
|
+
}, [q(o, { name: "i-lucide-rotate-ccw" })], 8, C0),
|
|
54491
54511
|
q(r, {
|
|
54492
54512
|
modelValue: O.speed,
|
|
54493
54513
|
"onUpdate:modelValue": t[9] ||= (e) => O.speed = e,
|
|
@@ -54514,13 +54534,13 @@ var T1 = {
|
|
|
54514
54534
|
value: be.value ? O.position : ye.value.duration,
|
|
54515
54535
|
"aria-label": "回放位置",
|
|
54516
54536
|
onInput: ze
|
|
54517
|
-
}, null, 40,
|
|
54518
|
-
K("span",
|
|
54537
|
+
}, null, 40, w0),
|
|
54538
|
+
K("span", T0, P(I(r1)(be.value ? O.position : ye.value.duration)) + " / " + P(I(r1)(ye.value.duration)), 1)
|
|
54519
54539
|
], 64))])),
|
|
54520
|
-
Te.value.folds.length || re.value.executions.length >= re.value.execution_limit ? (U(), W("footer",
|
|
54540
|
+
Te.value.folds.length || re.value.executions.length >= re.value.execution_limit ? (U(), W("footer", E0, [Te.value.folds.length ? (U(), W("span", D0, [t[29] ||= K("i", {
|
|
54521
54541
|
class: "wf-swatch is-fold",
|
|
54522
54542
|
"aria-hidden": "true"
|
|
54523
|
-
}, null, -1), J("已折叠 " + P(Te.value.folds.length) + " 段超过 " + P(I(
|
|
54543
|
+
}, null, -1), J("已折叠 " + P(Te.value.folds.length) + " 段超过 " + P(I(t1) / 6e4) + " 分钟的空闲", 1)])) : Y("", !0), re.value.executions.length >= re.value.execution_limit ? (U(), W("span", O0, "只列出最近 " + P(re.value.execution_limit) + " 次讨论执行与 " + P(re.value.execution_limit) + " 次协作执行", 1)) : Y("", !0)])) : Y("", !0)
|
|
54524
54544
|
], 512)) : Y("", !0),
|
|
54525
54545
|
v.value ? (U(), W("div", {
|
|
54526
54546
|
key: 3,
|
|
@@ -54540,79 +54560,79 @@ var T1 = {
|
|
|
54540
54560
|
onClick: t[10] ||= (e) => v.value = null
|
|
54541
54561
|
}, [q(o, { name: "i-lucide-x" })])) : Y("", !0),
|
|
54542
54562
|
K("small", null, [J(P(ct(v.value.piece.start)), 1), v.value.piece.end > v.value.piece.start ? (U(), W(H, { key: 0 }, [J(" – " + P(v.value.piece.live ? "现在" : ct(v.value.piece.end)), 1)], 64)) : Y("", !0)]),
|
|
54543
|
-
v.value.piece.text ? (U(), W("p",
|
|
54544
|
-
gt.value.length ? (U(), W(H, { key: 3 }, [K("small",
|
|
54545
|
-
], 14,
|
|
54563
|
+
v.value.piece.text ? (U(), W("p", A0, P(v.value.piece.text), 1)) : v.value.row.item.reason ? (U(), W("p", j0, P(v.value.row.item.reason), 1)) : Y("", !0),
|
|
54564
|
+
gt.value.length ? (U(), W(H, { key: 3 }, [K("small", M0, P(v.value.related.earlier ? "此前的过程说明" : "过程说明"), 1), K("ol", null, [(U(!0), W(H, null, B(gt.value, (e) => (U(), W("li", { key: e.at + e.text }, [K("time", null, P(ct(e.at)), 1), J(P(e.text), 1)]))), 128))])], 64)) : Y("", !0)
|
|
54565
|
+
], 14, k0)) : Y("", !0)
|
|
54546
54566
|
]);
|
|
54547
54567
|
};
|
|
54548
54568
|
}
|
|
54549
|
-
}, [["__scopeId", "data-v-ae571187"]]),
|
|
54569
|
+
}, [["__scopeId", "data-v-ae571187"]]), Q0 = {
|
|
54550
54570
|
id: "channel-sidebar",
|
|
54551
54571
|
class: "channel-sidebar",
|
|
54552
54572
|
"aria-label": "房间导航"
|
|
54553
|
-
},
|
|
54573
|
+
}, $0 = { class: "channel-sidebar-content" }, e2 = { class: "channel-directory-heading channel-tools-heading" }, t2 = ["aria-expanded"], n2 = { class: "channel-sidebar-footer" }, r2 = ["aria-label"], i2 = { class: "channel-self" }, a2 = ["title"], o2 = [
|
|
54554
54574
|
"aria-valuemax",
|
|
54555
54575
|
"aria-valuenow",
|
|
54556
54576
|
"aria-valuetext"
|
|
54557
|
-
],
|
|
54577
|
+
], s2 = { class: "channel-main" }, c2 = { class: "channel-header" }, l2 = { class: "channel-title-icon" }, u2 = { class: "channel-title" }, d2 = { class: "channel-title-copy" }, f2 = ["title"], p2 = {
|
|
54558
54578
|
key: 2,
|
|
54559
54579
|
class: "channel-header-context"
|
|
54560
|
-
},
|
|
54580
|
+
}, m2 = { class: "channel-header-actions" }, h2 = {
|
|
54561
54581
|
key: 0,
|
|
54562
54582
|
class: "channel-launch-recovery",
|
|
54563
54583
|
"aria-label": "未完成的创建或启动请求"
|
|
54564
|
-
},
|
|
54584
|
+
}, g2 = { role: "status" }, _2 = { class: "button-row" }, v2 = {
|
|
54565
54585
|
key: 1,
|
|
54566
54586
|
class: "channel-tabbar"
|
|
54567
|
-
},
|
|
54587
|
+
}, y2 = { class: "channel-brief-inner" }, b2 = { class: "channel-brief-heading" }, x2 = ["aria-label", "aria-expanded"], S2 = {
|
|
54568
54588
|
key: 0,
|
|
54569
54589
|
class: "channel-brief-preview"
|
|
54570
|
-
},
|
|
54590
|
+
}, C2 = {
|
|
54571
54591
|
id: "channel-brief-content",
|
|
54572
54592
|
class: "channel-brief-content"
|
|
54573
|
-
},
|
|
54593
|
+
}, w2 = ["innerHTML"], T2 = { class: "channel-brief-footer" }, E2 = { class: "channel-brief-status" }, D2 = { class: "channel-content" }, O2 = {
|
|
54574
54594
|
key: 0,
|
|
54575
54595
|
class: "content-page merged-page",
|
|
54576
54596
|
role: "tabpanel",
|
|
54577
54597
|
"aria-label": "讨论"
|
|
54578
|
-
},
|
|
54598
|
+
}, k2 = {
|
|
54579
54599
|
key: 1,
|
|
54580
54600
|
class: "merged-section",
|
|
54581
54601
|
"aria-label": "当前讨论"
|
|
54582
|
-
},
|
|
54602
|
+
}, A2 = { class: "page-heading" }, j2 = {
|
|
54583
54603
|
key: 0,
|
|
54584
54604
|
class: "fine-print"
|
|
54585
|
-
},
|
|
54605
|
+
}, M2 = {
|
|
54586
54606
|
class: "merged-section channel-summary",
|
|
54587
54607
|
"aria-label": "当前共识"
|
|
54588
|
-
},
|
|
54608
|
+
}, N2 = { class: "page-heading" }, P2 = { class: "form-footer" }, F2 = { class: "button-row" }, I2 = { class: "consensus-card is-brief" }, L2 = ["innerHTML"], R2 = {
|
|
54589
54609
|
key: 0,
|
|
54590
54610
|
class: "consensus-card"
|
|
54591
|
-
},
|
|
54611
|
+
}, z2 = ["innerHTML"], B2 = {
|
|
54592
54612
|
key: 2,
|
|
54593
54613
|
class: "fine-print"
|
|
54594
|
-
},
|
|
54614
|
+
}, V2 = {
|
|
54595
54615
|
key: 1,
|
|
54596
54616
|
class: "content-page merged-page",
|
|
54597
54617
|
role: "tabpanel",
|
|
54598
54618
|
"aria-label": "房间"
|
|
54599
|
-
},
|
|
54619
|
+
}, H2 = {
|
|
54600
54620
|
key: 2,
|
|
54601
54621
|
class: "content-page merged-page",
|
|
54602
54622
|
role: "tabpanel",
|
|
54603
54623
|
"aria-label": "执行"
|
|
54604
|
-
},
|
|
54624
|
+
}, U2 = {
|
|
54605
54625
|
key: 1,
|
|
54606
54626
|
class: "channel-empty"
|
|
54607
|
-
},
|
|
54627
|
+
}, W2 = ["aria-valuenow", "aria-valuetext"], G2 = {
|
|
54608
54628
|
key: 2,
|
|
54609
54629
|
id: "channel-member-rail",
|
|
54610
54630
|
class: "channel-member-rail",
|
|
54611
54631
|
"aria-label": "当前焦点与讨论进度"
|
|
54612
|
-
},
|
|
54632
|
+
}, K2 = { class: "channel-rail-board" }, q2 = {
|
|
54613
54633
|
key: 1,
|
|
54614
54634
|
class: "progress-board is-docked"
|
|
54615
|
-
},
|
|
54635
|
+
}, J2 = { class: "channel-detail-title" }, Y2 = { class: "info-section" }, X2 = "ai-codiscuss-channel-layout", Z2 = 220, Q2 = 440, $2 = 280, e4 = 16, t4 = 180, n4 = 400, r4 = 248, i4 = 16, a4 = 480, o4 = 1200, s4 = 0, c4 = {
|
|
54616
54636
|
__name: "ChannelWorkspace",
|
|
54617
54637
|
setup(e) {
|
|
54618
54638
|
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 = [{
|
|
@@ -54634,14 +54654,14 @@ var T1 = {
|
|
|
54634
54654
|
label: "宽",
|
|
54635
54655
|
width: 1240
|
|
54636
54656
|
}
|
|
54637
|
-
}, b = Ne(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), ee = /* @__PURE__ */ F(b.collapsed), E = /* @__PURE__ */ F(!0), D = /* @__PURE__ */ F(b.rail_collapsed), O = Z(() => T.value >=
|
|
54657
|
+
}, b = Ne(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), ee = /* @__PURE__ */ F(b.collapsed), E = /* @__PURE__ */ F(!0), D = /* @__PURE__ */ F(b.rail_collapsed), O = Z(() => T.value >= o4), te = Z(() => O.value && !ee.value), ne = Z(() => t.value.tab === "discussion" && !D.value), re = Z(() => O.value && t.value.tab === "discussion" ? D.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), ie = Z(() => {
|
|
54638
54658
|
let e = document.createElement("template");
|
|
54639
54659
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
54640
|
-
}), ae = /* @__PURE__ */ F(null), oe = /* @__PURE__ */ F(0), k = null, se = /* @__PURE__ */ F(null), ce = /* @__PURE__ */ F(null), le = Z(() => Math.min(
|
|
54660
|
+
}), ae = /* @__PURE__ */ F(null), oe = /* @__PURE__ */ F(0), k = null, se = /* @__PURE__ */ F(null), ce = /* @__PURE__ */ F(null), le = Z(() => Math.min(n4, Math.max(t4, T.value - a4 - s4))), ue = Z(() => Math.min(w.value, le.value)), de = Z(() => ({
|
|
54641
54661
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
54642
54662
|
"--channel-rail-width": `${C.value}px`,
|
|
54643
54663
|
"--channel-topbar-height": `${oe.value}px`,
|
|
54644
|
-
"--channel-main-columns": te.value ? `${ue.value}px ${
|
|
54664
|
+
"--channel-main-columns": te.value ? `${ue.value}px ${s4}px minmax(0, 1fr)` : "minmax(0, 1fr)"
|
|
54645
54665
|
})), fe = Object.entries(y).map(([e, t]) => ({
|
|
54646
54666
|
value: e,
|
|
54647
54667
|
label: t.label
|
|
@@ -54738,12 +54758,12 @@ var T1 = {
|
|
|
54738
54758
|
}
|
|
54739
54759
|
function Ne() {
|
|
54740
54760
|
try {
|
|
54741
|
-
let e = JSON.parse(localStorage.getItem(
|
|
54761
|
+
let e = JSON.parse(localStorage.getItem(X2)) || {};
|
|
54742
54762
|
return {
|
|
54743
54763
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
54744
54764
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
54745
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
54746
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
54765
|
+
rail: Number.isFinite(e.rail) ? Math.min(Q2, Math.max(Z2, e.rail)) : $2,
|
|
54766
|
+
nav: Number.isFinite(e.nav) ? Math.min(n4, Math.max(t4, e.nav)) : Pe(),
|
|
54747
54767
|
collapsed: e.collapsed === !0,
|
|
54748
54768
|
brief_collapsed: e.brief_collapsed === !0,
|
|
54749
54769
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -54752,7 +54772,7 @@ var T1 = {
|
|
|
54752
54772
|
return {
|
|
54753
54773
|
reading: "default",
|
|
54754
54774
|
effects: "full",
|
|
54755
|
-
rail:
|
|
54775
|
+
rail: $2,
|
|
54756
54776
|
nav: Pe(),
|
|
54757
54777
|
collapsed: !1,
|
|
54758
54778
|
brief_collapsed: !1,
|
|
@@ -54761,11 +54781,11 @@ var T1 = {
|
|
|
54761
54781
|
}
|
|
54762
54782
|
}
|
|
54763
54783
|
function Pe() {
|
|
54764
|
-
return typeof window > "u" ?
|
|
54784
|
+
return typeof window > "u" ? r4 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : r4;
|
|
54765
54785
|
}
|
|
54766
54786
|
function Fe() {
|
|
54767
54787
|
try {
|
|
54768
|
-
localStorage.setItem(
|
|
54788
|
+
localStorage.setItem(X2, JSON.stringify({
|
|
54769
54789
|
reading: x.value,
|
|
54770
54790
|
effects: S.value,
|
|
54771
54791
|
rail: C.value,
|
|
@@ -54796,19 +54816,19 @@ var T1 = {
|
|
|
54796
54816
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
54797
54817
|
}
|
|
54798
54818
|
function Ve(e) {
|
|
54799
|
-
se.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(
|
|
54819
|
+
se.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(Q2, Math.max(Z2, se.value.width + se.value.x - e.clientX))));
|
|
54800
54820
|
}
|
|
54801
54821
|
function He(e) {
|
|
54802
54822
|
se.value?.pointer === e.pointerId && (se.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Fe());
|
|
54803
54823
|
}
|
|
54804
54824
|
function Ue(e) {
|
|
54805
54825
|
let t = {
|
|
54806
|
-
ArrowLeft: C.value +
|
|
54807
|
-
ArrowRight: C.value -
|
|
54808
|
-
Home:
|
|
54809
|
-
End:
|
|
54826
|
+
ArrowLeft: C.value + e4,
|
|
54827
|
+
ArrowRight: C.value - e4,
|
|
54828
|
+
Home: Z2,
|
|
54829
|
+
End: Q2
|
|
54810
54830
|
};
|
|
54811
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(
|
|
54831
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(Q2, Math.max(Z2, t[e.key])), Fe());
|
|
54812
54832
|
}
|
|
54813
54833
|
function We(e) {
|
|
54814
54834
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ce.value = {
|
|
@@ -54818,19 +54838,19 @@ var T1 = {
|
|
|
54818
54838
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
54819
54839
|
}
|
|
54820
54840
|
function Ge(e) {
|
|
54821
|
-
ce.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(le.value, Math.max(
|
|
54841
|
+
ce.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(le.value, Math.max(t4, ce.value.width + e.clientX - ce.value.x))));
|
|
54822
54842
|
}
|
|
54823
54843
|
function Ke(e) {
|
|
54824
54844
|
ce.value?.pointer === e.pointerId && (ce.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Fe());
|
|
54825
54845
|
}
|
|
54826
54846
|
function qe(e) {
|
|
54827
54847
|
let t = {
|
|
54828
|
-
ArrowLeft: ue.value -
|
|
54829
|
-
ArrowRight: ue.value +
|
|
54830
|
-
Home:
|
|
54848
|
+
ArrowLeft: ue.value - i4,
|
|
54849
|
+
ArrowRight: ue.value + i4,
|
|
54850
|
+
Home: t4,
|
|
54831
54851
|
End: le.value
|
|
54832
54852
|
};
|
|
54833
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(le.value, Math.max(
|
|
54853
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(le.value, Math.max(t4, t[e.key])), Fe());
|
|
54834
54854
|
}
|
|
54835
54855
|
return (e, r) => {
|
|
54836
54856
|
let y = sA, b = lH, w = pA, T = MA, D = $V, oe = WV, k = YV, he = KV, N = HV, Ne = zV, Pe = NV, Fe = AV;
|
|
@@ -54842,9 +54862,9 @@ var T1 = {
|
|
|
54842
54862
|
}]),
|
|
54843
54863
|
style: A(de.value)
|
|
54844
54864
|
}, [
|
|
54845
|
-
K("aside",
|
|
54865
|
+
K("aside", Q0, [
|
|
54846
54866
|
r[30] ||= ws("<header class=\"channel-workspace-heading\"><span class=\"channel-brand-icon\" aria-hidden=\"true\"><svg class=\"channel-brand-dark\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-d0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#e9ebed\"></stop><stop offset=\"6.3%\" stop-color=\"#e2e5e7\"></stop><stop offset=\"12.5%\" stop-color=\"#dcdee1\"></stop><stop offset=\"18.8%\" stop-color=\"#d5d8db\"></stop><stop offset=\"25.0%\" stop-color=\"#ced2d5\"></stop><stop offset=\"31.3%\" stop-color=\"#c8cbcf\"></stop><stop offset=\"37.5%\" stop-color=\"#c1c5ca\"></stop><stop offset=\"43.8%\" stop-color=\"#babfc4\"></stop><stop offset=\"50.0%\" stop-color=\"#b4b9be\"></stop><stop offset=\"56.3%\" stop-color=\"#a9aeb3\"></stop><stop offset=\"62.5%\" stop-color=\"#9ea3a9\"></stop><stop offset=\"68.8%\" stop-color=\"#93999f\"></stop><stop offset=\"75.0%\" stop-color=\"#888e95\"></stop><stop offset=\"81.3%\" stop-color=\"#7e848a\"></stop><stop offset=\"87.5%\" stop-color=\"#737a80\"></stop><stop offset=\"93.8%\" stop-color=\"#697077\"></stop><stop offset=\"100.0%\" stop-color=\"#5f666d\"></stop></linearGradient><linearGradient id=\"brand-d1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#3f86ff\"></stop><stop offset=\"6.3%\" stop-color=\"#5588ff\"></stop><stop offset=\"12.5%\" stop-color=\"#6889ff\"></stop><stop offset=\"18.8%\" stop-color=\"#788aff\"></stop><stop offset=\"25.0%\" stop-color=\"#878bff\"></stop><stop offset=\"31.3%\" stop-color=\"#958cff\"></stop><stop offset=\"37.5%\" stop-color=\"#a78aef\"></stop><stop offset=\"43.8%\" stop-color=\"#b986d7\"></stop><stop offset=\"50.0%\" stop-color=\"#ca80bf\"></stop><stop offset=\"56.3%\" stop-color=\"#da78a6\"></stop><stop offset=\"62.5%\" stop-color=\"#ea6e8c\"></stop><stop offset=\"68.8%\" stop-color=\"#f56d78\"></stop><stop offset=\"75.0%\" stop-color=\"#f77f72\"></stop><stop offset=\"81.3%\" stop-color=\"#f8906b\"></stop><stop offset=\"87.5%\" stop-color=\"#f9a163\"></stop><stop offset=\"93.8%\" stop-color=\"#fab058\"></stop><stop offset=\"100.0%\" stop-color=\"#fac04a\"></stop></linearGradient><linearGradient id=\"brand-d2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#d06a49\"></stop><stop offset=\"6.3%\" stop-color=\"#d36f4f\"></stop><stop offset=\"12.5%\" stop-color=\"#d67456\"></stop><stop offset=\"18.8%\" stop-color=\"#d97a5c\"></stop><stop offset=\"25.0%\" stop-color=\"#dc7f62\"></stop><stop offset=\"31.3%\" stop-color=\"#df8468\"></stop><stop offset=\"37.5%\" stop-color=\"#e2896e\"></stop><stop offset=\"43.8%\" stop-color=\"#e58e74\"></stop><stop offset=\"50.0%\" stop-color=\"#e8937a\"></stop><stop offset=\"56.3%\" stop-color=\"#eb9d85\"></stop><stop offset=\"62.5%\" stop-color=\"#eea68f\"></stop><stop offset=\"68.8%\" stop-color=\"#f1b09a\"></stop><stop offset=\"75.0%\" stop-color=\"#f4baa4\"></stop><stop offset=\"81.3%\" stop-color=\"#f6c3af\"></stop><stop offset=\"87.5%\" stop-color=\"#f9cdb9\"></stop><stop offset=\"93.8%\" stop-color=\"#fbd6c4\"></stop><stop offset=\"100.0%\" stop-color=\"#fde0cf\"></stop></linearGradient><linearGradient id=\"brand-d3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#4a5cff\"></stop><stop offset=\"6.3%\" stop-color=\"#5062ff\"></stop><stop offset=\"12.5%\" stop-color=\"#5768ff\"></stop><stop offset=\"18.8%\" stop-color=\"#5d6dff\"></stop><stop offset=\"25.0%\" stop-color=\"#6472ff\"></stop><stop offset=\"31.3%\" stop-color=\"#6b77ff\"></stop><stop offset=\"37.5%\" stop-color=\"#717cff\"></stop><stop offset=\"43.8%\" stop-color=\"#7881ff\"></stop><stop offset=\"50.0%\" stop-color=\"#7f86ff\"></stop><stop offset=\"56.3%\" stop-color=\"#8990ff\"></stop><stop offset=\"62.5%\" stop-color=\"#9399ff\"></stop><stop offset=\"68.8%\" stop-color=\"#9da2ff\"></stop><stop offset=\"75.0%\" stop-color=\"#a8abff\"></stop><stop offset=\"81.3%\" stop-color=\"#b3b4ff\"></stop><stop offset=\"87.5%\" stop-color=\"#bebdff\"></stop><stop offset=\"93.8%\" stop-color=\"#c9c5ff\"></stop><stop offset=\"100.0%\" stop-color=\"#d4ceff\"></stop></linearGradient><clipPath id=\"brand-d4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-d5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-d6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-d7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-d8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-d9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-d10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-d11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-d4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-d2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-d1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-d3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#202127\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-d11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-d0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg><svg class=\"channel-brand-light\" viewBox=\"0 0 100 100\"><defs><linearGradient id=\"brand-l0\" gradientUnits=\"userSpaceOnUse\" x1=\"4.5\" y1=\"64\" x2=\"95.5\" y2=\"64\"><stop offset=\"0.0%\" stop-color=\"#0b0d0f\"></stop><stop offset=\"6.3%\" stop-color=\"#101315\"></stop><stop offset=\"12.5%\" stop-color=\"#16191b\"></stop><stop offset=\"18.8%\" stop-color=\"#1c1f22\"></stop><stop offset=\"25.0%\" stop-color=\"#222529\"></stop><stop offset=\"31.3%\" stop-color=\"#282c2f\"></stop><stop offset=\"37.5%\" stop-color=\"#2e3237\"></stop><stop offset=\"43.8%\" stop-color=\"#34393e\"></stop><stop offset=\"50.0%\" stop-color=\"#3b4045\"></stop><stop offset=\"56.3%\" stop-color=\"#484d52\"></stop><stop offset=\"62.5%\" stop-color=\"#555a5f\"></stop><stop offset=\"68.8%\" stop-color=\"#62676d\"></stop><stop offset=\"75.0%\" stop-color=\"#70757b\"></stop><stop offset=\"81.3%\" stop-color=\"#7e8389\"></stop><stop offset=\"87.5%\" stop-color=\"#8c9297\"></stop><stop offset=\"93.8%\" stop-color=\"#9aa0a6\"></stop><stop offset=\"100.0%\" stop-color=\"#a9afb5\"></stop></linearGradient><linearGradient id=\"brand-l1\" gradientUnits=\"userSpaceOnUse\" x1=\"8.5\" y1=\"36\" x2=\"91.5\" y2=\"36\"><stop offset=\"0.0%\" stop-color=\"#2f7bff\"></stop><stop offset=\"6.3%\" stop-color=\"#487cff\"></stop><stop offset=\"12.5%\" stop-color=\"#5a7cff\"></stop><stop offset=\"18.8%\" stop-color=\"#6a7dff\"></stop><stop offset=\"25.0%\" stop-color=\"#797dff\"></stop><stop offset=\"31.3%\" stop-color=\"#877dff\"></stop><stop offset=\"37.5%\" stop-color=\"#997cee\"></stop><stop offset=\"43.8%\" stop-color=\"#ae79d3\"></stop><stop offset=\"50.0%\" stop-color=\"#c174b8\"></stop><stop offset=\"56.3%\" stop-color=\"#d36b9d\"></stop><stop offset=\"62.5%\" stop-color=\"#e56080\"></stop><stop offset=\"68.8%\" stop-color=\"#f15d69\"></stop><stop offset=\"75.0%\" stop-color=\"#f37162\"></stop><stop offset=\"81.3%\" stop-color=\"#f5835a\"></stop><stop offset=\"87.5%\" stop-color=\"#f79550\"></stop><stop offset=\"93.8%\" stop-color=\"#f8a542\"></stop><stop offset=\"100.0%\" stop-color=\"#f8b52c\"></stop></linearGradient><linearGradient id=\"brand-l2\" gradientUnits=\"userSpaceOnUse\" x1=\"28.021\" y1=\"95.435\" x2=\"39.978\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#b9502f\"></stop><stop offset=\"6.3%\" stop-color=\"#bd5534\"></stop><stop offset=\"12.5%\" stop-color=\"#c15a39\"></stop><stop offset=\"18.8%\" stop-color=\"#c55f3e\"></stop><stop offset=\"25.0%\" stop-color=\"#c96443\"></stop><stop offset=\"31.3%\" stop-color=\"#cd6848\"></stop><stop offset=\"37.5%\" stop-color=\"#d16d4d\"></stop><stop offset=\"43.8%\" stop-color=\"#d57252\"></stop><stop offset=\"50.0%\" stop-color=\"#d97757\"></stop><stop offset=\"56.3%\" stop-color=\"#dd8060\"></stop><stop offset=\"62.5%\" stop-color=\"#e08a69\"></stop><stop offset=\"68.8%\" stop-color=\"#e49372\"></stop><stop offset=\"75.0%\" stop-color=\"#e79c7b\"></stop><stop offset=\"81.3%\" stop-color=\"#eaa584\"></stop><stop offset=\"87.5%\" stop-color=\"#edae8d\"></stop><stop offset=\"93.8%\" stop-color=\"#f0b796\"></stop><stop offset=\"100.0%\" stop-color=\"#f3c09f\"></stop></linearGradient><linearGradient id=\"brand-l3\" gradientUnits=\"userSpaceOnUse\" x1=\"71.978\" y1=\"95.435\" x2=\"60.021\" y2=\"4.564\"><stop offset=\"0.0%\" stop-color=\"#2b33e6\"></stop><stop offset=\"6.3%\" stop-color=\"#3139e9\"></stop><stop offset=\"12.5%\" stop-color=\"#363fec\"></stop><stop offset=\"18.8%\" stop-color=\"#3c44ef\"></stop><stop offset=\"25.0%\" stop-color=\"#4249f3\"></stop><stop offset=\"31.3%\" stop-color=\"#484ef6\"></stop><stop offset=\"37.5%\" stop-color=\"#4e53f9\"></stop><stop offset=\"43.8%\" stop-color=\"#5457fc\"></stop><stop offset=\"50.0%\" stop-color=\"#5a5cff\"></stop><stop offset=\"56.3%\" stop-color=\"#6569ff\"></stop><stop offset=\"62.5%\" stop-color=\"#7075ff\"></stop><stop offset=\"68.8%\" stop-color=\"#7c80ff\"></stop><stop offset=\"75.0%\" stop-color=\"#888bff\"></stop><stop offset=\"81.3%\" stop-color=\"#9595ff\"></stop><stop offset=\"87.5%\" stop-color=\"#a29fff\"></stop><stop offset=\"93.8%\" stop-color=\"#afa9ff\"></stop><stop offset=\"100.0%\" stop-color=\"#bdb3ff\"></stop></linearGradient><clipPath id=\"brand-l4\"><polygon points=\"16,46.5 84,46.5 84,25.5 16,25.5\"></polygon></clipPath><clipPath id=\"brand-l5\"><polygon points=\"16,48.5 84,48.5 84,23.5 16,23.5\"></polygon></clipPath><clipPath id=\"brand-l6\"><polygon points=\"81.410,86.630 71.410,10.630 50.589,13.369 60.589,89.369\"></polygon></clipPath><clipPath id=\"brand-l7\"><polygon points=\"83.393,86.369 73.393,10.369 48.606,13.630 58.606,89.630\"></polygon></clipPath><clipPath id=\"brand-l8\"><polygon points=\"12,74.5 88,74.5 88,53.5 12,53.5\"></polygon></clipPath><clipPath id=\"brand-l9\"><polygon points=\"12,76.5 88,76.5 88,51.5 12,51.5\"></polygon></clipPath><clipPath id=\"brand-l10\"><polygon points=\"39.410,89.369 49.410,13.369 28.589,10.630 18.589,86.630\"></polygon></clipPath><clipPath id=\"brand-l11\"><polygon points=\"41.393,89.630 51.393,13.630 26.606,10.369 16.606,86.369\"></polygon></clipPath></defs><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line><g clip-path=\"url(#brand-l4)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l5)\"><line x1=\"29\" y1=\"88\" x2=\"39\" y2=\"12\" stroke=\"url(#brand-l2)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l6)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l7)\"><line x1=\"16\" y1=\"36\" x2=\"84\" y2=\"36\" stroke=\"url(#brand-l1)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l8)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l9)\"><line x1=\"71\" y1=\"88\" x2=\"61\" y2=\"12\" stroke=\"url(#brand-l3)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l10)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"#f6f6f6\" stroke-width=\"21\" stroke-linecap=\"round\"></line></g><g clip-path=\"url(#brand-l11)\"><line x1=\"12\" y1=\"64\" x2=\"88\" y2=\"64\" stroke=\"url(#brand-l0)\" stroke-width=\"15\" stroke-linecap=\"round\"></line></g></svg></span><span class=\"channel-brand-text\"><strong>共议</strong><span>AI CoDiscuss</span></span></header>", 1),
|
|
54847
|
-
K("div",
|
|
54867
|
+
K("div", $0, [
|
|
54848
54868
|
q(OZ, {
|
|
54849
54869
|
onSelect: Ee,
|
|
54850
54870
|
onManage: we,
|
|
@@ -54855,12 +54875,12 @@ var T1 = {
|
|
|
54855
54875
|
onArchiveFolder: Me,
|
|
54856
54876
|
onArchives: Te
|
|
54857
54877
|
}),
|
|
54858
|
-
K("div",
|
|
54878
|
+
K("div", e2, [K("button", {
|
|
54859
54879
|
type: "button",
|
|
54860
54880
|
class: "channel-section-toggle",
|
|
54861
54881
|
"aria-expanded": f.value,
|
|
54862
54882
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
54863
|
-
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8,
|
|
54883
|
+
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8, t2)]),
|
|
54864
54884
|
f.value ? (U(), G(b, {
|
|
54865
54885
|
key: 0,
|
|
54866
54886
|
items: xe.value,
|
|
@@ -54876,7 +54896,7 @@ var T1 = {
|
|
|
54876
54896
|
}
|
|
54877
54897
|
}, null, 8, ["items"])) : Y("", !0)
|
|
54878
54898
|
]),
|
|
54879
|
-
K("footer",
|
|
54899
|
+
K("footer", n2, [K("button", {
|
|
54880
54900
|
type: "button",
|
|
54881
54901
|
class: "channel-self-button",
|
|
54882
54902
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${Se.value ? "," + Se.value : ""}`,
|
|
@@ -54892,10 +54912,10 @@ var T1 = {
|
|
|
54892
54912
|
"text",
|
|
54893
54913
|
"alt",
|
|
54894
54914
|
"class"
|
|
54895
|
-
]), K("span",
|
|
54915
|
+
]), K("span", i2, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: j(["channel-connection", { "is-action": Se.value }]) }, [K("span", {
|
|
54896
54916
|
class: j({ connected: I(t).connected }),
|
|
54897
54917
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
54898
|
-
}, null, 10,
|
|
54918
|
+
}, null, 10, a2), J(P(Se.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, r2), q(D, { text: "设置" }, {
|
|
54899
54919
|
default: L(() => [q(T, {
|
|
54900
54920
|
icon: "i-lucide-settings-2",
|
|
54901
54921
|
color: "neutral",
|
|
@@ -54916,7 +54936,7 @@ var T1 = {
|
|
|
54916
54936
|
"aria-label": "调整房间栏宽度",
|
|
54917
54937
|
"aria-orientation": "vertical",
|
|
54918
54938
|
"aria-controls": "channel-sidebar",
|
|
54919
|
-
"aria-valuemin":
|
|
54939
|
+
"aria-valuemin": t4,
|
|
54920
54940
|
"aria-valuemax": le.value,
|
|
54921
54941
|
"aria-valuenow": ue.value,
|
|
54922
54942
|
"aria-valuetext": `${ue.value} 像素`,
|
|
@@ -54927,13 +54947,13 @@ var T1 = {
|
|
|
54927
54947
|
onPointercancel: Ke,
|
|
54928
54948
|
onLostpointercapture: Ke,
|
|
54929
54949
|
onKeydown: qe
|
|
54930
|
-
}, null, 40,
|
|
54931
|
-
K("main",
|
|
54950
|
+
}, null, 40, o2)) : Y("", !0),
|
|
54951
|
+
K("main", s2, [K("div", {
|
|
54932
54952
|
ref_key: "topbar",
|
|
54933
54953
|
ref: ae,
|
|
54934
54954
|
class: j(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
54935
54955
|
}, [
|
|
54936
|
-
K("header",
|
|
54956
|
+
K("header", c2, [
|
|
54937
54957
|
O.value ? (U(), G(D, {
|
|
54938
54958
|
key: 0,
|
|
54939
54959
|
text: ee.value ? "展开房间栏" : "收起房间栏"
|
|
@@ -54961,8 +54981,8 @@ var T1 = {
|
|
|
54961
54981
|
"aria-expanded": d.value,
|
|
54962
54982
|
onClick: r[4] ||= (e) => d.value = !0
|
|
54963
54983
|
}, null, 8, ["aria-expanded"])),
|
|
54964
|
-
K("span",
|
|
54965
|
-
K("div",
|
|
54984
|
+
K("span", l2, [q(y, { name: "i-lucide-hash" })]),
|
|
54985
|
+
K("div", u2, [K("div", d2, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, f2)]), o.value?.archived ? (U(), G(oe, {
|
|
54966
54986
|
key: 0,
|
|
54967
54987
|
color: "neutral",
|
|
54968
54988
|
variant: "subtle",
|
|
@@ -54971,12 +54991,12 @@ var T1 = {
|
|
|
54971
54991
|
default: L(() => [...r[31] ||= [J("已存档", -1)]]),
|
|
54972
54992
|
_: 1
|
|
54973
54993
|
})) : Y("", !0)]),
|
|
54974
|
-
o.value ? (U(), W("span",
|
|
54994
|
+
o.value ? (U(), W("span", p2, [
|
|
54975
54995
|
J(P(me.find((e) => e.value === I(t).tab)?.label), 1),
|
|
54976
54996
|
r[32] ||= K("span", null, "·", -1),
|
|
54977
54997
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
54978
54998
|
])) : Y("", !0),
|
|
54979
|
-
K("div",
|
|
54999
|
+
K("div", m2, [
|
|
54980
55000
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
54981
55001
|
key: 0,
|
|
54982
55002
|
class: "channel-search",
|
|
@@ -55055,12 +55075,12 @@ var T1 = {
|
|
|
55055
55075
|
_: 1
|
|
55056
55076
|
}, 8, ["text"])
|
|
55057
55077
|
]),
|
|
55058
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
55078
|
+
I(t).launch.recoveries.length ? (U(), W("section", h2, [
|
|
55059
55079
|
r[33] ||= K("h2", null, "继续未完成的请求", -1),
|
|
55060
55080
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
55061
55081
|
K("strong", null, P(e.title), 1),
|
|
55062
|
-
K("p",
|
|
55063
|
-
K("div",
|
|
55082
|
+
K("p", g2, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
55083
|
+
K("div", _2, [
|
|
55064
55084
|
q(T, {
|
|
55065
55085
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
55066
55086
|
size: "sm",
|
|
@@ -55093,7 +55113,7 @@ var T1 = {
|
|
|
55093
55113
|
]))), 128)),
|
|
55094
55114
|
r[34] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
55095
55115
|
])) : Y("", !0),
|
|
55096
|
-
o.value ? (U(), W("div",
|
|
55116
|
+
o.value ? (U(), W("div", v2, [q(he, {
|
|
55097
55117
|
modelValue: pe.value,
|
|
55098
55118
|
"onUpdate:modelValue": r[9] ||= (e) => pe.value = e,
|
|
55099
55119
|
items: me,
|
|
@@ -55108,7 +55128,7 @@ var T1 = {
|
|
|
55108
55128
|
key: 2,
|
|
55109
55129
|
class: j(["channel-host-brief", { "is-collapsed": E.value }]),
|
|
55110
55130
|
"aria-label": "主持简报"
|
|
55111
|
-
}, [K("div",
|
|
55131
|
+
}, [K("div", y2, [K("div", b2, [K("button", {
|
|
55112
55132
|
type: "button",
|
|
55113
55133
|
class: "channel-brief-toggle",
|
|
55114
55134
|
"aria-label": E.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -55118,8 +55138,8 @@ var T1 = {
|
|
|
55118
55138
|
}, [
|
|
55119
55139
|
q(y, { name: E.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
55120
55140
|
K("strong", null, "主持简报" + P(E.value ? ":" : ""), 1),
|
|
55121
|
-
E.value ? (U(), W("span",
|
|
55122
|
-
], 8,
|
|
55141
|
+
E.value ? (U(), W("span", S2, P(ie.value), 1)) : Y("", !0)
|
|
55142
|
+
], 8, x2), E.value ? Y("", !0) : (U(), G(T, {
|
|
55123
55143
|
key: 0,
|
|
55124
55144
|
label: "更新简报",
|
|
55125
55145
|
color: "neutral",
|
|
@@ -55127,20 +55147,20 @@ var T1 = {
|
|
|
55127
55147
|
size: "xs",
|
|
55128
55148
|
class: "channel-brief-update",
|
|
55129
55149
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
55130
|
-
}))]), vr(K("div",
|
|
55150
|
+
}))]), vr(K("div", C2, [K("div", {
|
|
55131
55151
|
class: "channel-brief-text markdown-body",
|
|
55132
55152
|
innerHTML: o.value.rendered_brief
|
|
55133
|
-
}, null, 8,
|
|
55153
|
+
}, null, 8, w2), K("div", T2, [K("span", E2, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !E.value]])])], 2)) : Y("", !0)
|
|
55134
55154
|
], 2), o.value ? (U(), W("div", {
|
|
55135
55155
|
key: 0,
|
|
55136
55156
|
class: j(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
55137
|
-
}, [K("div",
|
|
55157
|
+
}, [K("div", D2, [
|
|
55138
55158
|
vr(q(uK, {
|
|
55139
55159
|
onDetail: De,
|
|
55140
55160
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
55141
55161
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
55142
|
-
I(t).tab === "history" ? (U(), W("div",
|
|
55143
|
-
ge.value ? (U(), W("section",
|
|
55162
|
+
I(t).tab === "history" ? (U(), W("div", O2, [
|
|
55163
|
+
ge.value ? (U(), W("section", k2, [K("div", A2, [r[35] ||= K("div", null, [K("h2", null, "当前讨论"), K("p", null, "没有进行中的讨论。开启后由主持人推进成员轮流发言,到上限或结束后房间回到自由协作,记录与结论保留。")], -1), q(T, {
|
|
55144
55164
|
icon: "i-lucide-messages-square",
|
|
55145
55165
|
label: "开启讨论",
|
|
55146
55166
|
variant: "outline",
|
|
@@ -55148,13 +55168,13 @@ var T1 = {
|
|
|
55148
55168
|
class: "channel-surface-button",
|
|
55149
55169
|
disabled: !ve.value,
|
|
55150
55170
|
onClick: r[13] ||= (e) => _e.value = !0
|
|
55151
|
-
}, null, 8, ["disabled"])]), !ve.value && !o.value.archived ? (U(), W("p",
|
|
55171
|
+
}, null, 8, ["disabled"])]), !ve.value && !o.value.archived ? (U(), W("p", j2, "开启讨论需要一位由本机唤醒的 AI 主持人,且本机服务在线。")) : Y("", !0)])) : (U(), G(jK, {
|
|
55152
55172
|
key: 0,
|
|
55153
55173
|
section: "host",
|
|
55154
55174
|
onOpen: r[12] ||= (e) => s.value = e,
|
|
55155
55175
|
onDetail: De
|
|
55156
55176
|
})),
|
|
55157
|
-
K("section",
|
|
55177
|
+
K("section", M2, [K("div", N2, [r[36] ||= K("div", null, [K("h2", null, "当前共识"), K("p", null, "主持人整理的结论、共识与分歧,用 #消息编号 保留依据;讨论结束时保存进下方记录。")], -1), M.value ? Y("", !0) : (U(), G(T, {
|
|
55158
55178
|
key: 0,
|
|
55159
55179
|
icon: "i-lucide-pencil",
|
|
55160
55180
|
label: "编辑",
|
|
@@ -55198,7 +55218,7 @@ var T1 = {
|
|
|
55198
55218
|
}, null, 8, ["modelValue"])]),
|
|
55199
55219
|
_: 1
|
|
55200
55220
|
}),
|
|
55201
|
-
K("div",
|
|
55221
|
+
K("div", P2, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), K("div", F2, [q(T, {
|
|
55202
55222
|
label: "取消",
|
|
55203
55223
|
color: "neutral",
|
|
55204
55224
|
variant: "ghost",
|
|
@@ -55211,7 +55231,7 @@ var T1 = {
|
|
|
55211
55231
|
class: "channel-primary-button",
|
|
55212
55232
|
loading: I(a) === "save_context"
|
|
55213
55233
|
}, null, 8, ["loading"])])])
|
|
55214
|
-
], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div",
|
|
55234
|
+
], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div", I2, [K("h3", null, [r[37] ||= J("主持简报", -1), o.value.state_until ? (U(), W("button", {
|
|
55215
55235
|
key: 0,
|
|
55216
55236
|
type: "button",
|
|
55217
55237
|
class: "subtle-link",
|
|
@@ -55219,7 +55239,7 @@ var T1 = {
|
|
|
55219
55239
|
}, "整理至 #" + P(o.value.state_until), 1)) : Y("", !0)]), K("div", {
|
|
55220
55240
|
class: "markdown-body",
|
|
55221
55241
|
innerHTML: o.value.rendered_brief
|
|
55222
|
-
}, null, 8,
|
|
55242
|
+
}, null, 8, L2)]), ye.value ? (U(), W("details", R2, [K("summary", null, [
|
|
55223
55243
|
r[38] ||= K("h3", null, "详细共识与进度", -1),
|
|
55224
55244
|
r[39] ||= K("span", null, "依据、已处理内容、未决问题与下一步", -1),
|
|
55225
55245
|
q(y, {
|
|
@@ -55229,21 +55249,21 @@ var T1 = {
|
|
|
55229
55249
|
]), K("div", {
|
|
55230
55250
|
class: "markdown-body consensus-state",
|
|
55231
55251
|
innerHTML: ye.value
|
|
55232
|
-
}, null, 8,
|
|
55252
|
+
}, null, 8, z2)])) : Y("", !0)], 64)) : (U(), W("p", B2, "还没有共识。主持人会在讨论中整理,也可以点“编辑”自己写。"))]),
|
|
55233
55253
|
q(y$, { onDetail: De }),
|
|
55234
55254
|
q(KZ, {
|
|
55235
55255
|
open: _e.value,
|
|
55236
55256
|
"onUpdate:open": r[19] ||= (e) => _e.value = e
|
|
55237
55257
|
}, null, 8, ["open"])
|
|
55238
55258
|
])) : Y("", !0),
|
|
55239
|
-
I(t).tab === "overview" ? (U(), W("div",
|
|
55259
|
+
I(t).tab === "overview" ? (U(), W("div", V2, [q(Z$), ge.value ? Y("", !0) : (U(), G(jK, {
|
|
55240
55260
|
key: 0,
|
|
55241
55261
|
section: "access",
|
|
55242
55262
|
onOpen: r[20] ||= (e) => s.value = e,
|
|
55243
55263
|
onDetail: De
|
|
55244
55264
|
}))])) : Y("", !0),
|
|
55245
|
-
I(t).tab === "timeline" ? (U(), W("div",
|
|
55246
|
-
])], 2)) : (U(), W("div",
|
|
55265
|
+
I(t).tab === "timeline" ? (U(), W("div", H2, [q(Z0, { onDetail: De })])) : Y("", !0)
|
|
55266
|
+
])], 2)) : (U(), W("div", U2, [
|
|
55247
55267
|
q(y, { name: "i-lucide-hash" }),
|
|
55248
55268
|
r[40] ||= K("h2", null, "新建一个协作房间", -1),
|
|
55249
55269
|
r[41] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -55262,8 +55282,8 @@ var T1 = {
|
|
|
55262
55282
|
"aria-label": "调整右侧栏宽度",
|
|
55263
55283
|
"aria-orientation": "vertical",
|
|
55264
55284
|
"aria-controls": "channel-member-rail",
|
|
55265
|
-
"aria-valuemin":
|
|
55266
|
-
"aria-valuemax":
|
|
55285
|
+
"aria-valuemin": Z2,
|
|
55286
|
+
"aria-valuemax": Q2,
|
|
55267
55287
|
"aria-valuenow": C.value,
|
|
55268
55288
|
"aria-valuetext": `${C.value} 像素`,
|
|
55269
55289
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -55273,8 +55293,8 @@ var T1 = {
|
|
|
55273
55293
|
onPointercancel: He,
|
|
55274
55294
|
onLostpointercapture: He,
|
|
55275
55295
|
onKeydown: Ue
|
|
55276
|
-
}, null, 40,
|
|
55277
|
-
ne.value ? (U(), W("aside",
|
|
55296
|
+
}, null, 40, W2)) : Y("", !0),
|
|
55297
|
+
ne.value ? (U(), W("aside", G2, [K("section", K2, [o.value ? (U(), G($Q, { key: 0 })) : (U(), W("div", q2, [...r[42] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
55278
55298
|
q(Pe, {
|
|
55279
55299
|
open: d.value,
|
|
55280
55300
|
"onUpdate:open": r[23] ||= (e) => d.value = e,
|
|
@@ -55318,7 +55338,7 @@ var T1 = {
|
|
|
55318
55338
|
}
|
|
55319
55339
|
}, {
|
|
55320
55340
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
55321
|
-
K("div",
|
|
55341
|
+
K("div", J2, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
55322
55342
|
(U(), W(H, null, B([
|
|
55323
55343
|
{
|
|
55324
55344
|
key: "goal",
|
|
@@ -55345,7 +55365,7 @@ var T1 = {
|
|
|
55345
55365
|
class: "info-section"
|
|
55346
55366
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
55347
55367
|
q(Fe),
|
|
55348
|
-
K("section",
|
|
55368
|
+
K("section", Y2, [r[43] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(Ce.value, (e) => (U(), W("div", {
|
|
55349
55369
|
key: e.name,
|
|
55350
55370
|
class: "expert-row"
|
|
55351
55371
|
}, [
|
|
@@ -55402,7 +55422,7 @@ var T1 = {
|
|
|
55402
55422
|
], 6);
|
|
55403
55423
|
};
|
|
55404
55424
|
}
|
|
55405
|
-
},
|
|
55425
|
+
}, l4 = {
|
|
55406
55426
|
__name: "App",
|
|
55407
55427
|
setup(e) {
|
|
55408
55428
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -55413,7 +55433,7 @@ var T1 = {
|
|
|
55413
55433
|
toaster: null
|
|
55414
55434
|
}, {
|
|
55415
55435
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
55416
|
-
default: L(() => [q(
|
|
55436
|
+
default: L(() => [q(c4)]),
|
|
55417
55437
|
_: 1
|
|
55418
55438
|
})]),
|
|
55419
55439
|
_: 1
|
|
@@ -55423,8 +55443,8 @@ var T1 = {
|
|
|
55423
55443
|
};
|
|
55424
55444
|
//#endregion
|
|
55425
55445
|
//#region frontend/main.js
|
|
55426
|
-
function
|
|
55427
|
-
bu(
|
|
55446
|
+
function u4() {
|
|
55447
|
+
bu(l4).use(ph).mount("#modern-root");
|
|
55428
55448
|
}
|
|
55429
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
55449
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", u4) : u4();
|
|
55430
55450
|
//#endregion
|