ai_co_discuss 0.2.93 → 0.2.94
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/package.json +1 -1
- package/web/modern.css +1 -1
- package/web/modern.js +402 -381
package/web/modern.js
CHANGED
|
@@ -53789,7 +53789,7 @@ var a$ = { class: "progress-board is-docked" }, o$ = { class: "pb-header" }, s$
|
|
|
53789
53789
|
]);
|
|
53790
53790
|
};
|
|
53791
53791
|
}
|
|
53792
|
-
}, [["__scopeId", "data-v-
|
|
53792
|
+
}, [["__scopeId", "data-v-f360fbe4"]]), k1 = {
|
|
53793
53793
|
thinking: "思考",
|
|
53794
53794
|
command: "命令",
|
|
53795
53795
|
tool: "工具",
|
|
@@ -54217,102 +54217,102 @@ var r0 = {
|
|
|
54217
54217
|
}, a0 = {
|
|
54218
54218
|
key: 1,
|
|
54219
54219
|
class: "fine-print"
|
|
54220
|
-
}, o0 = { class: "wf-head" }, s0 = {
|
|
54220
|
+
}, o0 = { class: "wf-head" }, s0 = {
|
|
54221
54221
|
key: 0,
|
|
54222
54222
|
class: "wf-state is-replay"
|
|
54223
|
-
},
|
|
54223
|
+
}, c0 = {
|
|
54224
54224
|
key: 2,
|
|
54225
54225
|
class: "wf-headline"
|
|
54226
|
-
},
|
|
54226
|
+
}, l0 = { class: "wf-summary" }, u0 = ["title"], d0 = ["title"], f0 = { title: "连续调用同一工具合并为一段" }, p0 = {
|
|
54227
54227
|
class: "wf-legend",
|
|
54228
54228
|
"aria-label": "图例"
|
|
54229
|
-
},
|
|
54229
|
+
}, m0 = {
|
|
54230
54230
|
key: 0,
|
|
54231
54231
|
class: "wf-legend-note"
|
|
54232
|
-
},
|
|
54232
|
+
}, h0 = {
|
|
54233
54233
|
key: 1,
|
|
54234
54234
|
class: "wf-legend-note"
|
|
54235
|
-
},
|
|
54235
|
+
}, g0 = { class: "wf-axis-label" }, _0 = {
|
|
54236
54236
|
key: 0,
|
|
54237
54237
|
class: "wf-zoom"
|
|
54238
|
-
},
|
|
54238
|
+
}, v0 = {
|
|
54239
54239
|
key: 1,
|
|
54240
54240
|
class: "wf-zoom-hint",
|
|
54241
54241
|
title: "Ctrl + 滚轮缩放;放大后按住中键或拖动时间轴平移,双击时间轴还原"
|
|
54242
|
-
},
|
|
54242
|
+
}, y0 = {
|
|
54243
54243
|
key: 2,
|
|
54244
54244
|
class: "wf-branch"
|
|
54245
|
-
},
|
|
54245
|
+
}, b0 = ["title"], x0 = {
|
|
54246
54246
|
key: 0,
|
|
54247
54247
|
class: "wf-guides",
|
|
54248
54248
|
"aria-hidden": "true"
|
|
54249
|
-
},
|
|
54249
|
+
}, S0 = [
|
|
54250
54250
|
"aria-expanded",
|
|
54251
54251
|
"aria-label",
|
|
54252
54252
|
"onClick"
|
|
54253
|
-
],
|
|
54253
|
+
], C0 = {
|
|
54254
54254
|
key: 2,
|
|
54255
54255
|
class: "wf-toggle-space"
|
|
54256
|
-
},
|
|
54256
|
+
}, w0 = [
|
|
54257
54257
|
"aria-expanded",
|
|
54258
54258
|
"onClick",
|
|
54259
54259
|
"onMouseenter",
|
|
54260
54260
|
"onMouseleave"
|
|
54261
|
-
],
|
|
54261
|
+
], T0 = { class: "wf-name-line" }, E0 = {
|
|
54262
54262
|
key: 0,
|
|
54263
54263
|
class: "wf-spinner",
|
|
54264
54264
|
"aria-hidden": "true"
|
|
54265
|
-
},
|
|
54265
|
+
}, D0 = {
|
|
54266
54266
|
key: 1,
|
|
54267
54267
|
class: "wf-pill is-slowest"
|
|
54268
|
-
},
|
|
54268
|
+
}, O0 = {
|
|
54269
54269
|
key: 0,
|
|
54270
54270
|
class: "wf-live-dot",
|
|
54271
54271
|
"aria-hidden": "true"
|
|
54272
|
-
},
|
|
54272
|
+
}, k0 = ["aria-label", "onMouseleave"], A0 = { class: "wf-track" }, j0 = ["data-tone"], M0 = ["onMouseenter", "onClick"], N0 = ["onMouseenter", "onClick"], P0 = [
|
|
54273
54273
|
"data-tone",
|
|
54274
54274
|
"onMouseenter",
|
|
54275
54275
|
"onClick"
|
|
54276
|
-
],
|
|
54276
|
+
], F0 = [
|
|
54277
54277
|
"data-tone",
|
|
54278
54278
|
"onMouseenter",
|
|
54279
54279
|
"onClick"
|
|
54280
|
-
],
|
|
54280
|
+
], I0 = [
|
|
54281
54281
|
"data-tone",
|
|
54282
54282
|
"onMouseenter",
|
|
54283
54283
|
"onClick"
|
|
54284
|
-
],
|
|
54284
|
+
], L0 = [
|
|
54285
54285
|
"aria-label",
|
|
54286
54286
|
"onMouseenter",
|
|
54287
54287
|
"onClick",
|
|
54288
54288
|
"onFocus",
|
|
54289
54289
|
"onBlur"
|
|
54290
|
-
],
|
|
54290
|
+
], R0 = { class: "wf-end" }, z0 = { key: 1 }, B0 = ["aria-label"], V0 = { class: "wf-detail-head" }, H0 = { key: 0 }, U0 = { key: 1 }, W0 = { class: "is-failed" }, G0 = { key: 2 }, K0 = { key: 3 }, q0 = {
|
|
54291
54291
|
key: 0,
|
|
54292
54292
|
class: "wf-log",
|
|
54293
54293
|
"aria-label": "过程"
|
|
54294
|
-
},
|
|
54294
|
+
}, J0 = ["data-tone"], Y0 = {
|
|
54295
54295
|
key: 1,
|
|
54296
54296
|
class: "wf-log-note"
|
|
54297
|
-
},
|
|
54297
|
+
}, X0 = {
|
|
54298
54298
|
key: 1,
|
|
54299
54299
|
class: "fine-print"
|
|
54300
|
-
},
|
|
54300
|
+
}, Z0 = {
|
|
54301
54301
|
key: 1,
|
|
54302
54302
|
class: "wf-player"
|
|
54303
|
-
},
|
|
54303
|
+
}, Q0 = {
|
|
54304
54304
|
key: 2,
|
|
54305
54305
|
class: "wf-player"
|
|
54306
|
-
},
|
|
54306
|
+
}, $0 = ["aria-label"], e2 = ["disabled"], t2 = ["max", "value"], n2 = { class: "wf-player-time" }, r2 = {
|
|
54307
54307
|
key: 3,
|
|
54308
54308
|
class: "wf-foot"
|
|
54309
|
-
},
|
|
54309
|
+
}, i2 = { key: 0 }, a2 = { key: 1 }, o2 = ["role"], s2 = {
|
|
54310
54310
|
key: 1,
|
|
54311
54311
|
class: "wf-card-text"
|
|
54312
|
-
},
|
|
54312
|
+
}, c2 = {
|
|
54313
54313
|
key: 2,
|
|
54314
54314
|
class: "wf-card-reason"
|
|
54315
|
-
},
|
|
54315
|
+
}, l2 = { class: "wf-card-label" }, u2 = 2e3, d2 = 6e4, f2 = 100, p2 = 60, m2 = 2e4, h2 = 600, g2 = 5, _2 = 16, v2 = 90, y2 = 2, b2 = 8, x2 = 560, S2 = .0015, C2 = "latest", w2 = "all", T2 = 22, E2 = 5, D2 = 52, O2 = /*#__PURE__*/ XH({
|
|
54316
54316
|
__name: "ExecutionTimeline",
|
|
54317
54317
|
emits: ["detail"],
|
|
54318
54318
|
setup(e, { emit: t }) {
|
|
@@ -54332,7 +54332,7 @@ var r0 = {
|
|
|
54332
54332
|
let t = d.value;
|
|
54333
54333
|
if (!t || w) return;
|
|
54334
54334
|
w = !0;
|
|
54335
|
-
let n = e || !S || Date.now() - C >=
|
|
54335
|
+
let n = e || !S || Date.now() - C >= d2 ? 0 : S - g2;
|
|
54336
54336
|
try {
|
|
54337
54337
|
let e = await i.request(`/api/rooms/${t}/timeline${n ? `?after=${n}` : ""}`);
|
|
54338
54338
|
if (t !== d.value) return;
|
|
@@ -54355,7 +54355,7 @@ var r0 = {
|
|
|
54355
54355
|
R(Z(() => te.value?.executions.some((e) => e.state === "running")), (e) => {
|
|
54356
54356
|
clearInterval(T), e && (T = setInterval(() => {
|
|
54357
54357
|
document.hidden || ee();
|
|
54358
|
-
},
|
|
54358
|
+
}, u2));
|
|
54359
54359
|
}, { immediate: !0 }), R(d, () => {
|
|
54360
54360
|
f.value = /* @__PURE__ */ new Map(), p.value = null, g.value = /* @__PURE__ */ new Set(), _.value = /* @__PURE__ */ new Map(), v.value = null, y.value = "", S = 0, ee(!0);
|
|
54361
54361
|
}, { immediate: !0 }), R(() => r.value.room, (e, t) => {
|
|
@@ -54370,20 +54370,20 @@ var r0 = {
|
|
|
54370
54370
|
};
|
|
54371
54371
|
}
|
|
54372
54372
|
function ie(e) {
|
|
54373
|
-
c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(),
|
|
54373
|
+
c.value && e.target.closest?.(".wf-track, .wf-axis") && (e.ctrlKey || e.metaKey ? (e.preventDefault(), De.value = e0(De.value, re(e).share, Math.exp(e.deltaY * S2), Te.value.total_ms)) : Oe.value && (e.shiftKey || Math.abs(e.deltaX) > Math.abs(e.deltaY)) && (e.preventDefault(), De.value = t0(De.value, (e.shiftKey ? e.deltaY : e.deltaX) / re(e).width)));
|
|
54374
54374
|
}
|
|
54375
54375
|
function j(e) {
|
|
54376
54376
|
let t = e.target.closest?.(".wf-axis");
|
|
54377
|
-
|
|
54377
|
+
Oe.value && (e.button === 1 || e.button === 0 && t) && e.target.closest?.(".wf-track, .wf-axis") && (e.preventDefault(), ne = {
|
|
54378
54378
|
x: e.clientX,
|
|
54379
|
-
from:
|
|
54379
|
+
from: De.value.from,
|
|
54380
54380
|
width: re(e).width
|
|
54381
54381
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
54382
54382
|
}
|
|
54383
54383
|
function ae(e) {
|
|
54384
|
-
ne && (
|
|
54384
|
+
ne && (De.value = t0({
|
|
54385
54385
|
from: ne.from,
|
|
54386
|
-
span:
|
|
54386
|
+
span: De.value.span
|
|
54387
54387
|
}, -(e.clientX - ne.x) / ne.width));
|
|
54388
54388
|
}
|
|
54389
54389
|
function oe() {
|
|
@@ -54407,15 +54407,15 @@ var r0 = {
|
|
|
54407
54407
|
}), ta(() => {
|
|
54408
54408
|
clearInterval(T), cancelAnimationFrame(E), document.removeEventListener("pointerdown", ce), document.removeEventListener("keydown", le), u?.disconnect();
|
|
54409
54409
|
});
|
|
54410
|
-
let ue = /* @__PURE__ */ F(
|
|
54410
|
+
let ue = /* @__PURE__ */ F(C2), de = Z(() => te.value ? U1(te.value, h.value) : {
|
|
54411
54411
|
list: [],
|
|
54412
54412
|
of: /* @__PURE__ */ new Map()
|
|
54413
|
-
}), pe = Z(() => ue.value ===
|
|
54413
|
+
}), pe = Z(() => ue.value === C2 ? de.value.list[0]?.key : ue.value === w2 || de.value.list.some((e) => e.key === ue.value) ? ue.value : de.value.list[0]?.key), me = Z(() => !te.value || pe.value === w2 ? te.value : {
|
|
54414
54414
|
...te.value,
|
|
54415
54415
|
executions: te.value.executions.filter((e) => de.value.of.get(`${e.source}:${e.id}`) === pe.value)
|
|
54416
54416
|
});
|
|
54417
54417
|
R(d, () => {
|
|
54418
|
-
ue.value =
|
|
54418
|
+
ue.value = C2;
|
|
54419
54419
|
});
|
|
54420
54420
|
let he = (e) => new Date(e).toLocaleString("zh-CN", {
|
|
54421
54421
|
month: "numeric",
|
|
@@ -54425,11 +54425,24 @@ var r0 = {
|
|
|
54425
54425
|
hour12: !1
|
|
54426
54426
|
});
|
|
54427
54427
|
function ge(e) {
|
|
54428
|
-
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0,
|
|
54428
|
+
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0, T2)}${e.task.length > T2 ? "…" : ""}` : e.source === "discussion" ? "讨论" : "执行";
|
|
54429
54429
|
return `${he(e.start)} · ${t} · ${e.count} 次${e.running ? " · 进行中" : e.failed ? " · 有失败" : ""}`;
|
|
54430
54430
|
}
|
|
54431
|
-
let N = Z(() =>
|
|
54432
|
-
|
|
54431
|
+
let N = Z(() => [
|
|
54432
|
+
{
|
|
54433
|
+
label: "最近一轮(自动跟随)",
|
|
54434
|
+
value: C2
|
|
54435
|
+
},
|
|
54436
|
+
...de.value.list.map((e) => ({
|
|
54437
|
+
label: ge(e),
|
|
54438
|
+
value: e.key
|
|
54439
|
+
})),
|
|
54440
|
+
{
|
|
54441
|
+
label: "全部执行",
|
|
54442
|
+
value: w2
|
|
54443
|
+
}
|
|
54444
|
+
]), _e = Z(() => me.value ? V1(me.value, h.value) : []), ve = Z(() => _e.value.some((e) => e.item.state === "running")), ye = Z(() => {
|
|
54445
|
+
let e = Math.min(..._e.value.map((e) => e.start)), t = Math.max(..._e.value.map((e) => e.end));
|
|
54433
54446
|
return Number.isFinite(e) ? {
|
|
54434
54447
|
start: e,
|
|
54435
54448
|
end: t,
|
|
@@ -54439,82 +54452,88 @@ var r0 = {
|
|
|
54439
54452
|
end: 0,
|
|
54440
54453
|
duration: 0
|
|
54441
54454
|
};
|
|
54442
|
-
}),
|
|
54455
|
+
}), be = Z(() => k.position !== null && !ve.value), xe = Z(() => be.value ? ye.value.start + k.position : h.value), Se = Z(() => be.value ? V1(z1(me.value, xe.value, _.value), xe.value) : _e.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(() => q1(Se.value, we.value)), Ee = {
|
|
54443
54456
|
from: 0,
|
|
54444
54457
|
span: 1
|
|
54445
|
-
},
|
|
54458
|
+
}, De = /* @__PURE__ */ F(Ee), Oe = Z(() => De.value.span < 1);
|
|
54446
54459
|
R([pe, d], () => {
|
|
54447
|
-
|
|
54460
|
+
De.value = Ee;
|
|
54448
54461
|
});
|
|
54449
|
-
let
|
|
54450
|
-
let e =
|
|
54462
|
+
let ke = Z(() => $1(Te.value, De.value)), Ae = Z(() => {
|
|
54463
|
+
let e = we.value ? ke.value.x(xe.value) : null;
|
|
54451
54464
|
return e === null || e < 0 || e > 1 ? null : e;
|
|
54452
|
-
}),
|
|
54453
|
-
|
|
54465
|
+
}), je = Z(() => Math.max(1, ye.value.duration / m2)), Me = Z(() => [{
|
|
54466
|
+
label: `自动 · ${Math.round(je.value)}×`,
|
|
54467
|
+
value: 0
|
|
54468
|
+
}, ...o.map((e) => ({
|
|
54469
|
+
label: `${e}×`,
|
|
54470
|
+
value: e
|
|
54471
|
+
}))]), Ne = Z(() => k.speed || je.value);
|
|
54472
|
+
function Pe(e) {
|
|
54454
54473
|
let t = D ? Math.min(e - D, 250) : 0;
|
|
54455
54474
|
D = e;
|
|
54456
|
-
let n =
|
|
54457
|
-
k.playing && (A += t *
|
|
54475
|
+
let n = Se.value.length <= p2 || e - O >= f2;
|
|
54476
|
+
k.playing && (A += t * Ne.value, A >= ye.value.duration ? Object.assign(k, {
|
|
54458
54477
|
position: null,
|
|
54459
54478
|
playing: !1
|
|
54460
|
-
}) : n && (k.position = A)),
|
|
54479
|
+
}) : n && (k.position = A)), ve.value && n && (h.value = Date.now()), n && (O = e), E = ve.value || k.playing ? requestAnimationFrame(Pe) : 0, E || (D = 0);
|
|
54461
54480
|
}
|
|
54462
|
-
R([
|
|
54463
|
-
!E && (
|
|
54481
|
+
R([ve, () => k.playing], () => {
|
|
54482
|
+
!E && (ve.value || k.playing) && (E = requestAnimationFrame(Pe));
|
|
54464
54483
|
}, { immediate: !0 });
|
|
54465
|
-
async function
|
|
54466
|
-
k.position === null ? (A = 0,
|
|
54484
|
+
async function Fe() {
|
|
54485
|
+
k.position === null ? (A = 0, He()) : A = k.position, Object.assign(k, {
|
|
54467
54486
|
position: A,
|
|
54468
54487
|
playing: !0
|
|
54469
|
-
}),
|
|
54488
|
+
}), Ie();
|
|
54470
54489
|
}
|
|
54471
|
-
function
|
|
54472
|
-
for (let e of me.value?.executions || [])
|
|
54490
|
+
function Ie() {
|
|
54491
|
+
for (let e of me.value?.executions || []) st({
|
|
54473
54492
|
item: e,
|
|
54474
54493
|
notes: e.notes || []
|
|
54475
54494
|
});
|
|
54476
54495
|
}
|
|
54477
|
-
function
|
|
54496
|
+
function Le() {
|
|
54478
54497
|
k.playing = !1;
|
|
54479
54498
|
}
|
|
54480
|
-
function
|
|
54481
|
-
A = 0,
|
|
54499
|
+
function Re() {
|
|
54500
|
+
A = 0, He(), Object.assign(k, {
|
|
54482
54501
|
position: 0,
|
|
54483
54502
|
playing: !0
|
|
54484
54503
|
});
|
|
54485
54504
|
}
|
|
54486
|
-
function
|
|
54505
|
+
function ze(e) {
|
|
54487
54506
|
A = Number(e.target.value), Object.assign(k, {
|
|
54488
54507
|
position: A,
|
|
54489
54508
|
playing: !1
|
|
54490
|
-
}),
|
|
54509
|
+
}), Ie();
|
|
54491
54510
|
}
|
|
54492
54511
|
R([pe, d], () => Object.assign(k, {
|
|
54493
54512
|
position: null,
|
|
54494
54513
|
playing: !1
|
|
54495
54514
|
}));
|
|
54496
|
-
let
|
|
54497
|
-
function
|
|
54498
|
-
|
|
54499
|
-
}
|
|
54500
|
-
R(() =>
|
|
54501
|
-
let e =
|
|
54502
|
-
if (!
|
|
54503
|
-
|
|
54515
|
+
let Be = /* @__PURE__ */ F(/* @__PURE__ */ new Set()), Ve = null;
|
|
54516
|
+
function He() {
|
|
54517
|
+
Ve = /* @__PURE__ */ new Set(), Be.value = /* @__PURE__ */ new Set();
|
|
54518
|
+
}
|
|
54519
|
+
R(() => Ce.value.map((e) => e.key).join(), () => {
|
|
54520
|
+
let e = Ce.value.map((e) => e.key);
|
|
54521
|
+
if (!Ve) {
|
|
54522
|
+
Ve = new Set(e);
|
|
54504
54523
|
return;
|
|
54505
54524
|
}
|
|
54506
|
-
let t = e.filter((e) => !
|
|
54507
|
-
t.forEach((e) =>
|
|
54508
|
-
|
|
54509
|
-
},
|
|
54525
|
+
let t = e.filter((e) => !Ve.has(e));
|
|
54526
|
+
t.forEach((e) => Ve.add(e)), t.length && (Be.value = /* @__PURE__ */ new Set([...Be.value, ...t]), setTimeout(() => {
|
|
54527
|
+
Be.value = new Set([...Be.value].filter((e) => !t.includes(e)));
|
|
54528
|
+
}, h2));
|
|
54510
54529
|
}), R([pe, d], () => {
|
|
54511
|
-
|
|
54530
|
+
Ve = null;
|
|
54512
54531
|
});
|
|
54513
|
-
let
|
|
54532
|
+
let Ue = Z(() => W1(Ce.value, ke.value)), We = Z(() => X1(Te.value, Math.min(b2, Math.max(y2, Math.round((l.value || 540) / v2))), De.value).map((e) => ({
|
|
54514
54533
|
...e,
|
|
54515
|
-
x: (e.x -
|
|
54516
|
-
}))),
|
|
54517
|
-
let e =
|
|
54534
|
+
x: (e.x - De.value.from) / De.value.span
|
|
54535
|
+
}))), Ge = Z(() => n0(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 ? R1(qe.value, _.value.get(qe.value.item.id)) : []), Ye = Z(() => {
|
|
54536
|
+
let e = Se.value, t = new Set(e.flatMap((e) => e.segments.map((e) => A1[e.phase])));
|
|
54518
54537
|
return [
|
|
54519
54538
|
...e.some((e) => e.queue[1] > e.queue[0]) ? [["queue", "排队"]] : [],
|
|
54520
54539
|
...e.some((e) => e.wake) ? [["wake", "唤醒"]] : [],
|
|
@@ -54525,13 +54544,13 @@ var r0 = {
|
|
|
54525
54544
|
...e.some((e) => e.notes.length) ? [["note-mark", "过程说明"]] : [],
|
|
54526
54545
|
...e.some((e) => e.item.state === "failed") ? [["failed-mark", "失败"]] : []
|
|
54527
54546
|
];
|
|
54528
|
-
}),
|
|
54547
|
+
}), Xe = Z(() => Se.value.length > 0 && Se.value.every((e) => !e.segments.length)), Ze = Z(() => {
|
|
54529
54548
|
let e = /* @__PURE__ */ new Map();
|
|
54530
|
-
for (let t of [...
|
|
54549
|
+
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 % E2 + 1);
|
|
54531
54550
|
return e;
|
|
54532
|
-
}),
|
|
54533
|
-
let e =
|
|
54534
|
-
for (let n of
|
|
54551
|
+
}), Qe = Z(() => {
|
|
54552
|
+
let e = D2 / (l.value || 800), t = [];
|
|
54553
|
+
for (let n of ke.value.folds) {
|
|
54535
54554
|
let r = n.from + n.width / 2;
|
|
54536
54555
|
r < 0 || r > 1 || (!t.length || r - t.at(-1).middle >= e) && t.push({
|
|
54537
54556
|
...n,
|
|
@@ -54539,97 +54558,97 @@ var r0 = {
|
|
|
54539
54558
|
});
|
|
54540
54559
|
}
|
|
54541
54560
|
return t;
|
|
54542
|
-
}),
|
|
54543
|
-
let e =
|
|
54544
|
-
return
|
|
54561
|
+
}), $e = Z(() => {
|
|
54562
|
+
let e = D2 / (l.value || 800);
|
|
54563
|
+
return We.value.filter((t) => !Qe.value.some((n) => Math.abs(t.x - n.middle) < e));
|
|
54545
54564
|
});
|
|
54546
|
-
function
|
|
54565
|
+
function et(e, t) {
|
|
54547
54566
|
if (y.value = y.value === e.key ? "" : e.key, !y.value) return;
|
|
54548
|
-
let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(
|
|
54567
|
+
let n = t.currentTarget.getBoundingClientRect(), r = x.value.getBoundingClientRect(), i = Math.min(x2, r.width - 16);
|
|
54549
54568
|
b.value = {
|
|
54550
54569
|
top: n.bottom - r.top + 4,
|
|
54551
54570
|
left: Math.max(8, Math.min(n.left - r.left, r.width - i - 8))
|
|
54552
|
-
}, v.value = null,
|
|
54571
|
+
}, v.value = null, st(e);
|
|
54553
54572
|
}
|
|
54554
|
-
R(() =>
|
|
54555
|
-
|
|
54573
|
+
R(() => qe.value?.notes.length, () => {
|
|
54574
|
+
qe.value && st(qe.value);
|
|
54556
54575
|
});
|
|
54557
|
-
function
|
|
54576
|
+
function tt(e) {
|
|
54558
54577
|
let t = new Set(g.value);
|
|
54559
54578
|
t.has(e) ? t.delete(e) : t.add(e), g.value = t;
|
|
54560
54579
|
}
|
|
54561
|
-
function
|
|
54562
|
-
let r =
|
|
54580
|
+
function nt(e, t, n = !1) {
|
|
54581
|
+
let r = ke.value.x(e), i = Math.max(0, ke.value.x(t) - r) * 100;
|
|
54563
54582
|
return {
|
|
54564
54583
|
left: `${r * 100}%`,
|
|
54565
54584
|
width: n ? `max(2px, calc(${i}% - 1px))` : `${i}%`
|
|
54566
54585
|
};
|
|
54567
54586
|
}
|
|
54568
|
-
function
|
|
54587
|
+
function rt(e) {
|
|
54569
54588
|
let t = e.item.role === "host";
|
|
54570
54589
|
return e.item.source === "discussion" ? t ? "讨论 · 主持" : "讨论 · 专家" : t ? "协作 · 主持" : "协作";
|
|
54571
54590
|
}
|
|
54572
|
-
function
|
|
54591
|
+
function it(e) {
|
|
54573
54592
|
return [...e.item.source === "discussion" ? ["讨论"] : [], ...e.item.role === "host" ? ["主持"] : []];
|
|
54574
54593
|
}
|
|
54575
|
-
let
|
|
54576
|
-
function
|
|
54594
|
+
let at = (e) => L1(e, xe.value);
|
|
54595
|
+
function ot(e) {
|
|
54577
54596
|
let t = [
|
|
54578
54597
|
i.display_name(e.item.member),
|
|
54579
|
-
|
|
54598
|
+
rt(e),
|
|
54580
54599
|
j1[e.item.state],
|
|
54581
54600
|
`用时 ${P1(e.end - e.start)}`
|
|
54582
54601
|
];
|
|
54583
54602
|
return e.wake && t.push(`唤醒 ${P1(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(",");
|
|
54584
54603
|
}
|
|
54585
|
-
async function
|
|
54604
|
+
async function st(e) {
|
|
54586
54605
|
let t = e.item.id;
|
|
54587
54606
|
if (!(e.item.source !== "free" || !e.notes.length || (_.value.get(t)?.length || 0) >= e.notes.length)) try {
|
|
54588
54607
|
let { notes: e } = await i.request(`/api/rooms/${d.value}/executions/${t}/notes`);
|
|
54589
54608
|
_.value = new Map(_.value).set(t, e.map((e) => e.text));
|
|
54590
54609
|
} catch {}
|
|
54591
54610
|
}
|
|
54592
|
-
let
|
|
54611
|
+
let ct = (e) => new Date(e).toLocaleTimeString("zh-CN", {
|
|
54593
54612
|
hour: "2-digit",
|
|
54594
54613
|
minute: "2-digit",
|
|
54595
54614
|
second: "2-digit",
|
|
54596
54615
|
hour12: !1
|
|
54597
|
-
}),
|
|
54616
|
+
}), lt = (e) => new Date(e.at).toLocaleTimeString("zh-CN", {
|
|
54598
54617
|
hour: "2-digit",
|
|
54599
54618
|
minute: "2-digit",
|
|
54600
54619
|
...e.seconds ? { second: "2-digit" } : {},
|
|
54601
54620
|
hour12: !1
|
|
54602
54621
|
});
|
|
54603
|
-
function
|
|
54622
|
+
function ut(e, t, n, r = !1) {
|
|
54604
54623
|
let i = e.currentTarget.getBoundingClientRect(), a = n.note ? {
|
|
54605
54624
|
notes: [n.note],
|
|
54606
54625
|
earlier: !1
|
|
54607
54626
|
} : B1(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;
|
|
54608
54627
|
v.value = {
|
|
54609
54628
|
key: t.key,
|
|
54610
|
-
id:
|
|
54629
|
+
id: dt(t, n),
|
|
54611
54630
|
row: t,
|
|
54612
54631
|
piece: n,
|
|
54613
54632
|
related: a,
|
|
54614
54633
|
pinned: r,
|
|
54615
54634
|
left: Math.max(8, Math.min(i.left, window.innerWidth - o - 8)),
|
|
54616
54635
|
top: c
|
|
54617
|
-
},
|
|
54636
|
+
}, st(t);
|
|
54618
54637
|
}
|
|
54619
|
-
let
|
|
54620
|
-
function
|
|
54621
|
-
s &&
|
|
54638
|
+
let dt = (e, t) => `${e.key}:${t.kind || t.label || "note"}:${t.start}`;
|
|
54639
|
+
function ft(e, t, n) {
|
|
54640
|
+
s && ut(e, t, n);
|
|
54622
54641
|
}
|
|
54623
|
-
function
|
|
54624
|
-
s || (v.value?.id ===
|
|
54642
|
+
function pt(e, t, n) {
|
|
54643
|
+
s || (v.value?.id === dt(t, n) ? v.value = null : ut(e, t, n, !0));
|
|
54625
54644
|
}
|
|
54626
|
-
function
|
|
54645
|
+
function mt(e) {
|
|
54627
54646
|
v.value?.key === e.key && !v.value.pinned && (v.value = null);
|
|
54628
54647
|
}
|
|
54629
|
-
let
|
|
54648
|
+
let ht = Z(() => {
|
|
54630
54649
|
let e = v.value?.piece;
|
|
54631
|
-
return e ? e.note ? `过程说明 · ${
|
|
54632
|
-
}),
|
|
54650
|
+
return e ? e.note ? `过程说明 · ${ct(e.note.at)}` : `${e.kind === "segment" ? `${k1[e.phase]}${e.tool ? ` · ${e.tool}` : ""}` : e.label} · ${P1(e.end - e.start)}${e.live ? " · 进行中" : ""}` : "";
|
|
54651
|
+
}), gt = Z(() => {
|
|
54633
54652
|
if (!v.value) return [];
|
|
54634
54653
|
let e = _.value.get(v.value.row.item.id);
|
|
54635
54654
|
return v.value.related.notes.map((t) => ({
|
|
@@ -54638,83 +54657,81 @@ var r0 = {
|
|
|
54638
54657
|
}));
|
|
54639
54658
|
});
|
|
54640
54659
|
return (e, t) => {
|
|
54641
|
-
let r = sA, s = pA;
|
|
54660
|
+
let r = bH, o = sA, s = pA;
|
|
54642
54661
|
return U(), W("section", r0, [
|
|
54643
|
-
t[
|
|
54662
|
+
t[30] ||= K("div", { class: "page-heading" }, [K("div", null, [K("h2", null, "执行时间线"), K("p", null, "本机接入程序唤醒的每次执行;点名字看详情,悬停条形看当时的过程说明。")])], -1),
|
|
54644
54663
|
m.value ? (U(), W("p", i0, P(m.value), 1)) : Y("", !0),
|
|
54645
|
-
te.value && !
|
|
54646
|
-
|
|
54664
|
+
te.value && !Se.value.length ? (U(), W("p", a0, "还没有执行记录。")) : Y("", !0),
|
|
54665
|
+
Se.value.length ? (U(), W("div", {
|
|
54647
54666
|
key: 2,
|
|
54648
54667
|
ref_key: "wf_element",
|
|
54649
54668
|
ref: x,
|
|
54650
54669
|
class: "wf"
|
|
54651
54670
|
}, [
|
|
54652
54671
|
K("header", o0, [
|
|
54653
|
-
t[
|
|
54654
|
-
|
|
54655
|
-
|
|
54656
|
-
|
|
54657
|
-
|
|
54658
|
-
|
|
54659
|
-
|
|
54660
|
-
|
|
54661
|
-
|
|
54662
|
-
|
|
54663
|
-
|
|
54664
|
-
|
|
54665
|
-
|
|
54666
|
-
|
|
54667
|
-
|
|
54668
|
-
|
|
54669
|
-
|
|
54670
|
-
|
|
54671
|
-
|
|
54672
|
-
]),
|
|
54673
|
-
ye.value ? (U(), W("span", l0, "回放中 · " + P(ot(be.value)), 1)) : (U(), W("span", {
|
|
54672
|
+
t[12] ||= K("span", { class: "wf-title" }, "执行瀑布", -1),
|
|
54673
|
+
q(r, {
|
|
54674
|
+
modelValue: ue.value,
|
|
54675
|
+
"onUpdate:modelValue": t[0] ||= (e) => ue.value = e,
|
|
54676
|
+
items: N.value,
|
|
54677
|
+
"trailing-icon": "i-lucide-chevrons-up-down",
|
|
54678
|
+
variant: "none",
|
|
54679
|
+
"aria-label": "查看哪一轮",
|
|
54680
|
+
class: "wf-run-select",
|
|
54681
|
+
content: {
|
|
54682
|
+
align: "start",
|
|
54683
|
+
sideOffset: 4
|
|
54684
|
+
},
|
|
54685
|
+
ui: {
|
|
54686
|
+
content: "channel-select-menu wf-run-menu",
|
|
54687
|
+
trailingIcon: "wf-select-icon"
|
|
54688
|
+
}
|
|
54689
|
+
}, null, 8, ["modelValue", "items"]),
|
|
54690
|
+
be.value ? (U(), W("span", s0, "回放中 · " + P(ct(xe.value)), 1)) : (U(), W("span", {
|
|
54674
54691
|
key: 1,
|
|
54675
|
-
class: M(["wf-state", { "is-live":
|
|
54676
|
-
}, P(
|
|
54677
|
-
|
|
54678
|
-
t[
|
|
54679
|
-
K("b", null, [J(P(I(i).display_name(
|
|
54680
|
-
J(" · " + P(I(P1)(
|
|
54692
|
+
class: M(["wf-state", { "is-live": Ge.value.running }])
|
|
54693
|
+
}, P(Ge.value.running ? `${Ge.value.running} 个进行中` : "均已结束"), 3)),
|
|
54694
|
+
Ge.value.slowest ? (U(), W("span", c0, [
|
|
54695
|
+
t[11] ||= J("最慢一步 ", -1),
|
|
54696
|
+
K("b", null, [J(P(I(i).display_name(Ge.value.slowest.member)) + " · " + P(I(k1)[Ge.value.slowest.phase]), 1), Ge.value.slowest.tool ? (U(), W(H, { key: 0 }, [J(P(Ge.value.slowest.tool), 1)], 64)) : Y("", !0)]),
|
|
54697
|
+
J(" · " + P(I(P1)(Ge.value.slowest.end - Ge.value.slowest.start)), 1)
|
|
54681
54698
|
])) : Y("", !0)
|
|
54682
54699
|
]),
|
|
54683
|
-
K("dl",
|
|
54684
|
-
K("div", null, [t[
|
|
54685
|
-
key:
|
|
54700
|
+
K("dl", l0, [
|
|
54701
|
+
K("div", null, [t[13] ||= K("dt", null, "执行", -1), K("dd", null, [(U(), W("span", {
|
|
54702
|
+
key: Ge.value.executions,
|
|
54686
54703
|
class: "wf-roll"
|
|
54687
|
-
}, P(
|
|
54688
|
-
K("div", null, [t[
|
|
54689
|
-
key:
|
|
54704
|
+
}, P(Ge.value.executions), 1))])]),
|
|
54705
|
+
K("div", null, [t[14] ||= K("dt", null, "进行中", -1), K("dd", { class: M(Ge.value.running ? "is-live" : "is-zero") }, [(U(), W("span", {
|
|
54706
|
+
key: Ge.value.running,
|
|
54690
54707
|
class: "wf-roll"
|
|
54691
|
-
}, P(
|
|
54692
|
-
K("div", null, [t[
|
|
54693
|
-
key:
|
|
54708
|
+
}, P(Ge.value.running), 1))], 2)]),
|
|
54709
|
+
K("div", null, [t[15] ||= K("dt", null, "失败", -1), K("dd", { class: M(Ge.value.failed ? "is-failed" : "is-zero") }, [(U(), W("span", {
|
|
54710
|
+
key: Ge.value.failed,
|
|
54694
54711
|
class: "wf-roll"
|
|
54695
|
-
}, P(
|
|
54696
|
-
K("div", { title: `超过 ${a} 分钟没有输出` }, [t[
|
|
54697
|
-
key:
|
|
54712
|
+
}, P(Ge.value.failed), 1))], 2)]),
|
|
54713
|
+
K("div", { title: `超过 ${a} 分钟没有输出` }, [t[16] ||= K("dt", null, "可能卡住", -1), K("dd", { class: M(Ge.value.stalled ? "is-warn" : "is-zero") }, [(U(), W("span", {
|
|
54714
|
+
key: Ge.value.stalled,
|
|
54698
54715
|
class: "wf-roll"
|
|
54699
|
-
}, P(
|
|
54700
|
-
K("div", { title:
|
|
54701
|
-
K("div",
|
|
54702
|
-
key:
|
|
54716
|
+
}, P(Ge.value.stalled), 1))], 2)], 8, u0),
|
|
54717
|
+
K("div", { title: Te.value.folds.length ? `已折叠 ${Te.value.folds.length} 段超过 ${I(M1) / 6e4} 分钟的空闲` : void 0 }, [t[17] ||= K("dt", null, "有效时长", -1), K("dd", null, P(I(P1)(Te.value.busy_ms)), 1)], 8, d0),
|
|
54718
|
+
K("div", f0, [t[19] ||= K("dt", null, "工具与命令", -1), K("dd", { class: M({ "is-zero": !Ge.value.tool_segments }) }, [(U(), W("span", {
|
|
54719
|
+
key: Ge.value.tool_segments,
|
|
54703
54720
|
class: "wf-roll"
|
|
54704
|
-
}, P(
|
|
54721
|
+
}, P(Ge.value.tool_segments), 1)), t[18] ||= J(" 段", -1)], 2)])
|
|
54705
54722
|
]),
|
|
54706
|
-
K("ul",
|
|
54707
|
-
(U(!0), W(H, null, B(
|
|
54708
|
-
|
|
54709
|
-
|
|
54723
|
+
K("ul", p0, [
|
|
54724
|
+
(U(!0), W(H, null, B(Ye.value, ([e, t]) => (U(), W("li", { key: e }, [K("i", { class: M(["wf-swatch", `is-${e}`]) }, null, 2), J(P(t), 1)]))), 128)),
|
|
54725
|
+
Ze.value.size > 1 ? (U(), W("li", m0, "颜色区分成员,深浅区分模型与工具")) : Y("", !0),
|
|
54726
|
+
Xe.value ? (U(), W("li", h0, "这些执行都没有阶段明细:发生在接入程序上报阶段之前,或来自手动接入、在线 AI、Codex App")) : Y("", !0)
|
|
54710
54727
|
]),
|
|
54711
54728
|
K("div", {
|
|
54712
54729
|
class: M(["wf-grid", {
|
|
54713
|
-
"is-zoomed":
|
|
54730
|
+
"is-zoomed": Oe.value,
|
|
54714
54731
|
"is-panning": I(ne)
|
|
54715
54732
|
}]),
|
|
54716
54733
|
role: "list",
|
|
54717
|
-
style: fe({ "--wf-depth-px": `${
|
|
54734
|
+
style: fe({ "--wf-depth-px": `${_2}px` }),
|
|
54718
54735
|
onWheel: ie,
|
|
54719
54736
|
onMousedown: se,
|
|
54720
54737
|
onPointerdown: j,
|
|
@@ -54722,21 +54739,21 @@ var r0 = {
|
|
|
54722
54739
|
onPointerup: oe,
|
|
54723
54740
|
onPointercancel: oe
|
|
54724
54741
|
}, [
|
|
54725
|
-
K("div",
|
|
54726
|
-
K("span", null, "执行 · " + P(
|
|
54727
|
-
|
|
54742
|
+
K("div", g0, [
|
|
54743
|
+
K("span", null, "执行 · " + P(Ce.value.length) + "/" + P(Se.value.length), 1),
|
|
54744
|
+
Oe.value ? (U(), W("span", _0, [J("放大 " + P((1 / De.value.span).toFixed(1)) + "×", 1), K("button", {
|
|
54728
54745
|
type: "button",
|
|
54729
54746
|
class: "wf-text-button",
|
|
54730
|
-
onClick: t[1] ||= (e) =>
|
|
54731
|
-
}, "重置")])) : (U(), W("span",
|
|
54732
|
-
|
|
54747
|
+
onClick: t[1] ||= (e) => De.value = Ee
|
|
54748
|
+
}, "重置")])) : (U(), W("span", v0, "Ctrl + 滚轮缩放")),
|
|
54749
|
+
Ke.value.length ? (U(), W("span", y0, [K("button", {
|
|
54733
54750
|
type: "button",
|
|
54734
54751
|
class: "wf-text-button",
|
|
54735
54752
|
onClick: t[2] ||= (e) => g.value = /* @__PURE__ */ new Set()
|
|
54736
54753
|
}, "展开全部"), K("button", {
|
|
54737
54754
|
type: "button",
|
|
54738
54755
|
class: "wf-text-button",
|
|
54739
|
-
onClick: t[3] ||= (e) => g.value = new Set(
|
|
54756
|
+
onClick: t[3] ||= (e) => g.value = new Set(Ke.value)
|
|
54740
54757
|
}, "收起全部")])) : Y("", !0)
|
|
54741
54758
|
]),
|
|
54742
54759
|
K("div", {
|
|
@@ -54744,47 +54761,47 @@ var r0 = {
|
|
|
54744
54761
|
ref: c,
|
|
54745
54762
|
class: "wf-axis",
|
|
54746
54763
|
"aria-hidden": "true",
|
|
54747
|
-
onDblclick: t[4] ||= (e) =>
|
|
54764
|
+
onDblclick: t[4] ||= (e) => De.value = Ee
|
|
54748
54765
|
}, [
|
|
54749
|
-
(U(!0), W(H, null, B(
|
|
54766
|
+
(U(!0), W(H, null, B($e.value, (e) => (U(), W("span", {
|
|
54750
54767
|
key: e.at,
|
|
54751
54768
|
class: "wf-tick",
|
|
54752
54769
|
style: fe({ left: `${e.x * 100}%` })
|
|
54753
|
-
}, P(
|
|
54754
|
-
(U(!0), W(H, null, B(
|
|
54770
|
+
}, P(lt(e)), 5))), 128)),
|
|
54771
|
+
(U(!0), W(H, null, B(Qe.value, (e) => (U(), W("span", {
|
|
54755
54772
|
key: `fold-${e.start}`,
|
|
54756
54773
|
class: "wf-fold-label",
|
|
54757
54774
|
style: fe({ left: `${e.middle * 100}%` }),
|
|
54758
|
-
title: `${
|
|
54759
|
-
}, "⋯ " + P(I(P1)(e.end - e.start)), 13,
|
|
54760
|
-
|
|
54775
|
+
title: `${ct(e.start)} – ${ct(e.end)} 没有执行,已折叠`
|
|
54776
|
+
}, "⋯ " + P(I(P1)(e.end - e.start)), 13, b0))), 128)),
|
|
54777
|
+
Ae.value === null ? Y("", !0) : (U(), W("span", {
|
|
54761
54778
|
key: 0,
|
|
54762
54779
|
class: "wf-cursor-head",
|
|
54763
|
-
style: fe({ left: `${
|
|
54780
|
+
style: fe({ left: `${Ae.value * 100}%` })
|
|
54764
54781
|
}, null, 4))
|
|
54765
54782
|
], 544),
|
|
54766
|
-
t[
|
|
54767
|
-
(U(!0), W(H, null, B(
|
|
54783
|
+
t[21] ||= K("span", { class: "wf-axis-end" }, "用时", -1),
|
|
54784
|
+
(U(!0), W(H, null, B(Ce.value, (e) => (U(), W("div", {
|
|
54768
54785
|
key: e.key,
|
|
54769
54786
|
role: "listitem",
|
|
54770
54787
|
class: M(["wf-row", [`is-${e.item.state}`, {
|
|
54771
54788
|
"is-open": y.value === e.key,
|
|
54772
|
-
"is-entering":
|
|
54789
|
+
"is-entering": Be.value.has(e.key)
|
|
54773
54790
|
}]])
|
|
54774
54791
|
}, [
|
|
54775
54792
|
K("div", {
|
|
54776
54793
|
class: "wf-label",
|
|
54777
54794
|
style: fe({ "--depth": e.depth })
|
|
54778
54795
|
}, [
|
|
54779
|
-
e.depth ? (U(), W("span",
|
|
54796
|
+
e.depth ? (U(), W("span", x0)) : Y("", !0),
|
|
54780
54797
|
e.has_children ? (U(), W("button", {
|
|
54781
54798
|
key: 1,
|
|
54782
54799
|
type: "button",
|
|
54783
54800
|
class: M(["wf-toggle", { "is-open": !g.value.has(e.key) }]),
|
|
54784
54801
|
"aria-expanded": !g.value.has(e.key),
|
|
54785
54802
|
"aria-label": `${g.value.has(e.key) ? "展开" : "收起"} ${I(i).display_name(e.item.member)} 派出的执行`,
|
|
54786
|
-
onClick: (t) =>
|
|
54787
|
-
}, [q(
|
|
54803
|
+
onClick: (t) => tt(e.key)
|
|
54804
|
+
}, [q(o, { name: "i-lucide-chevron-right" })], 10, S0)) : (U(), W("span", C0)),
|
|
54788
54805
|
q(s, {
|
|
54789
54806
|
src: I(i).identities[e.item.member]?.icon,
|
|
54790
54807
|
text: I(i).identities[e.item.member]?.initials,
|
|
@@ -54801,37 +54818,37 @@ var r0 = {
|
|
|
54801
54818
|
type: "button",
|
|
54802
54819
|
class: "wf-names",
|
|
54803
54820
|
"aria-expanded": y.value === e.key,
|
|
54804
|
-
onClick: (t) =>
|
|
54805
|
-
onMouseenter: (t) =>
|
|
54821
|
+
onClick: (t) => et(e, t),
|
|
54822
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54806
54823
|
label: I(j1)[e.item.state],
|
|
54807
54824
|
start: e.start,
|
|
54808
54825
|
end: e.end,
|
|
54809
|
-
text:
|
|
54826
|
+
text: at(e).text,
|
|
54810
54827
|
live: e.item.state === "running"
|
|
54811
54828
|
}),
|
|
54812
|
-
onMouseleave: (t) =>
|
|
54813
|
-
}, [K("span",
|
|
54814
|
-
e.item.state === "running" ? (U(), W("i",
|
|
54829
|
+
onMouseleave: (t) => mt(e)
|
|
54830
|
+
}, [K("span", T0, [
|
|
54831
|
+
e.item.state === "running" ? (U(), W("i", E0)) : Y("", !0),
|
|
54815
54832
|
K("strong", null, P(I(i).display_name(e.item.member)), 1),
|
|
54816
|
-
(U(!0), W(H, null, B(
|
|
54833
|
+
(U(!0), W(H, null, B(it(e), (e) => (U(), W("em", {
|
|
54817
54834
|
key: e,
|
|
54818
54835
|
class: "wf-pill is-role"
|
|
54819
54836
|
}, P(e), 1))), 128)),
|
|
54820
|
-
|
|
54821
|
-
]), K("span", { class: M(["wf-status", `is-${
|
|
54837
|
+
Ge.value.slowest?.row === e.key ? (U(), W("em", D0, "最慢")) : Y("", !0)
|
|
54838
|
+
]), K("span", { class: M(["wf-status", `is-${at(e).tone}`]) }, [at(e).tone === "live" ? (U(), W("i", O0)) : Y("", !0), J(P(at(e).text), 1)], 2)], 40, w0)
|
|
54822
54839
|
], 4),
|
|
54823
54840
|
K("div", {
|
|
54824
54841
|
class: "wf-lane",
|
|
54825
54842
|
role: "img",
|
|
54826
|
-
"aria-label":
|
|
54827
|
-
onMouseleave: (t) =>
|
|
54828
|
-
}, [K("div",
|
|
54829
|
-
(U(!0), W(H, null, B(
|
|
54843
|
+
"aria-label": ot(e),
|
|
54844
|
+
onMouseleave: (t) => mt(e)
|
|
54845
|
+
}, [K("div", A0, [
|
|
54846
|
+
(U(!0), W(H, null, B($e.value, (e) => (U(), W("i", {
|
|
54830
54847
|
key: e.at,
|
|
54831
54848
|
class: "wf-gridline",
|
|
54832
54849
|
style: fe({ left: `${e.x * 100}%` })
|
|
54833
54850
|
}, null, 4))), 128)),
|
|
54834
|
-
(U(!0), W(H, null, B(
|
|
54851
|
+
(U(!0), W(H, null, B(ke.value.folds, (e) => (U(), W("i", {
|
|
54835
54852
|
key: e.start,
|
|
54836
54853
|
class: "wf-fold",
|
|
54837
54854
|
style: fe({
|
|
@@ -54839,216 +54856,220 @@ var r0 = {
|
|
|
54839
54856
|
width: `${e.width * 100}%`
|
|
54840
54857
|
})
|
|
54841
54858
|
}, null, 4))), 128)),
|
|
54842
|
-
t[
|
|
54843
|
-
(U(!0), W(H, null, B(
|
|
54859
|
+
t[20] ||= K("i", { class: "wf-well" }, null, -1),
|
|
54860
|
+
(U(!0), W(H, null, B(Ue.value.get(e.key) || [], (e, t) => (U(), W("i", {
|
|
54844
54861
|
key: `link-${t}`,
|
|
54845
54862
|
class: M(["wf-link", `is-${e.part}`]),
|
|
54846
|
-
"data-tone":
|
|
54863
|
+
"data-tone": Ze.value.get(e.member),
|
|
54847
54864
|
style: fe({ left: `${e.x * 100}%` })
|
|
54848
|
-
}, null, 14,
|
|
54849
|
-
|
|
54865
|
+
}, null, 14, j0))), 128)),
|
|
54866
|
+
Ae.value === null ? Y("", !0) : (U(), W("i", {
|
|
54850
54867
|
key: 0,
|
|
54851
54868
|
class: "wf-cursor",
|
|
54852
|
-
style: fe({ left: `${
|
|
54869
|
+
style: fe({ left: `${Ae.value * 100}%` })
|
|
54853
54870
|
}, null, 4)),
|
|
54854
54871
|
K("i", {
|
|
54855
54872
|
class: "wf-bar is-queue",
|
|
54856
|
-
style: fe(
|
|
54857
|
-
onMouseenter: (t) =>
|
|
54873
|
+
style: fe(nt(...e.queue)),
|
|
54874
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54858
54875
|
label: "排队",
|
|
54859
54876
|
start: e.queue[0],
|
|
54860
54877
|
end: e.queue[1]
|
|
54861
54878
|
}),
|
|
54862
|
-
onClick: (t) =>
|
|
54879
|
+
onClick: (t) => pt(t, e, {
|
|
54863
54880
|
label: "排队",
|
|
54864
54881
|
start: e.queue[0],
|
|
54865
54882
|
end: e.queue[1]
|
|
54866
54883
|
})
|
|
54867
|
-
}, null, 44,
|
|
54884
|
+
}, null, 44, M0),
|
|
54868
54885
|
e.wake ? (U(), W("i", {
|
|
54869
54886
|
key: 1,
|
|
54870
54887
|
class: "wf-bar is-wake",
|
|
54871
|
-
style: fe(
|
|
54872
|
-
onMouseenter: (t) =>
|
|
54888
|
+
style: fe(nt(...e.wake)),
|
|
54889
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54873
54890
|
label: e.wake_approx ? "唤醒(约)" : "唤醒",
|
|
54874
54891
|
start: e.wake[0],
|
|
54875
54892
|
end: e.wake[1]
|
|
54876
54893
|
}),
|
|
54877
|
-
onClick: (t) =>
|
|
54894
|
+
onClick: (t) => pt(t, e, {
|
|
54878
54895
|
label: e.wake_approx ? "唤醒(约)" : "唤醒",
|
|
54879
54896
|
start: e.wake[0],
|
|
54880
54897
|
end: e.wake[1]
|
|
54881
54898
|
})
|
|
54882
|
-
}, null, 44,
|
|
54899
|
+
}, null, 44, N0)) : Y("", !0),
|
|
54883
54900
|
e.work ? (U(), W("i", {
|
|
54884
54901
|
key: 2,
|
|
54885
54902
|
class: M(["wf-bar is-work", { "has-detail": e.segments.length }]),
|
|
54886
|
-
"data-tone": e.segments.length ? void 0 :
|
|
54887
|
-
style: fe(
|
|
54888
|
-
onMouseenter: (t) =>
|
|
54903
|
+
"data-tone": e.segments.length ? void 0 : Ze.value.get(e.item.member),
|
|
54904
|
+
style: fe(nt(...e.work)),
|
|
54905
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54889
54906
|
label: e.segments.length ? "执行" : "执行 · 无阶段明细",
|
|
54890
54907
|
start: e.work[0],
|
|
54891
54908
|
end: e.work[1],
|
|
54892
54909
|
live: e.item.state === "running"
|
|
54893
54910
|
}),
|
|
54894
|
-
onClick: (t) =>
|
|
54911
|
+
onClick: (t) => pt(t, e, {
|
|
54895
54912
|
label: e.segments.length ? "执行" : "执行 · 无阶段明细",
|
|
54896
54913
|
start: e.work[0],
|
|
54897
54914
|
end: e.work[1],
|
|
54898
54915
|
live: e.item.state === "running"
|
|
54899
54916
|
})
|
|
54900
|
-
}, null, 46,
|
|
54917
|
+
}, null, 46, P0)) : Y("", !0),
|
|
54901
54918
|
(U(!0), W(H, null, B(e.segments, (t) => (U(), W(H, { key: t.start + t.phase }, [K("i", {
|
|
54902
54919
|
class: M(["wf-bar wf-seg", [`is-${I(A1)[t.phase]}`, { "is-live": t.live }]]),
|
|
54903
|
-
"data-tone":
|
|
54904
|
-
style: fe(
|
|
54905
|
-
onMouseenter: (n) =>
|
|
54920
|
+
"data-tone": Ze.value.get(e.item.member),
|
|
54921
|
+
style: fe(nt(t.start, t.seen, !0)),
|
|
54922
|
+
onMouseenter: (n) => ft(n, e, {
|
|
54906
54923
|
kind: "segment",
|
|
54907
54924
|
...t
|
|
54908
54925
|
}),
|
|
54909
|
-
onClick: (n) =>
|
|
54926
|
+
onClick: (n) => pt(n, e, {
|
|
54910
54927
|
kind: "segment",
|
|
54911
54928
|
...t
|
|
54912
54929
|
})
|
|
54913
|
-
}, null, 46,
|
|
54930
|
+
}, null, 46, F0), t.end > t.seen ? (U(), W("i", {
|
|
54914
54931
|
key: 0,
|
|
54915
54932
|
class: M(["wf-bar wf-seg is-tail", `is-${I(A1)[t.phase]}`]),
|
|
54916
|
-
"data-tone":
|
|
54917
|
-
style: fe(
|
|
54918
|
-
onMouseenter: (n) =>
|
|
54933
|
+
"data-tone": Ze.value.get(e.item.member),
|
|
54934
|
+
style: fe(nt(t.seen, t.end)),
|
|
54935
|
+
onMouseenter: (n) => ft(n, e, {
|
|
54919
54936
|
kind: "segment",
|
|
54920
54937
|
...t
|
|
54921
54938
|
}),
|
|
54922
|
-
onClick: (n) =>
|
|
54939
|
+
onClick: (n) => pt(n, e, {
|
|
54923
54940
|
kind: "segment",
|
|
54924
54941
|
...t
|
|
54925
54942
|
})
|
|
54926
|
-
}, null, 46,
|
|
54943
|
+
}, null, 46, I0)) : Y("", !0)], 64))), 128)),
|
|
54927
54944
|
(U(!0), W(H, null, B(e.notes, (t) => (U(), W("button", {
|
|
54928
54945
|
key: `note-${t.index}`,
|
|
54929
54946
|
type: "button",
|
|
54930
54947
|
class: "wf-note",
|
|
54931
|
-
style: fe({ left: `${
|
|
54932
|
-
"aria-label": `${I(i).display_name(e.item.member)} 的第 ${t.index + 1} 段过程说明,${
|
|
54933
|
-
onMouseenter: (n) =>
|
|
54948
|
+
style: fe({ left: `${ke.value.x(t.at) * 100}%` }),
|
|
54949
|
+
"aria-label": `${I(i).display_name(e.item.member)} 的第 ${t.index + 1} 段过程说明,${ct(t.at)}`,
|
|
54950
|
+
onMouseenter: (n) => ft(n, e, {
|
|
54934
54951
|
note: t,
|
|
54935
54952
|
start: t.at,
|
|
54936
54953
|
end: t.at
|
|
54937
54954
|
}),
|
|
54938
|
-
onClick: (n) =>
|
|
54955
|
+
onClick: (n) => pt(n, e, {
|
|
54939
54956
|
note: t,
|
|
54940
54957
|
start: t.at,
|
|
54941
54958
|
end: t.at
|
|
54942
54959
|
}),
|
|
54943
|
-
onFocus: (n) =>
|
|
54960
|
+
onFocus: (n) => ft(n, e, {
|
|
54944
54961
|
note: t,
|
|
54945
54962
|
start: t.at,
|
|
54946
54963
|
end: t.at
|
|
54947
54964
|
}),
|
|
54948
|
-
onBlur: (t) =>
|
|
54949
|
-
}, null, 44,
|
|
54950
|
-
])], 40,
|
|
54951
|
-
K("span",
|
|
54965
|
+
onBlur: (t) => mt(e)
|
|
54966
|
+
}, null, 44, L0))), 128))
|
|
54967
|
+
])], 40, k0),
|
|
54968
|
+
K("span", R0, [
|
|
54952
54969
|
J(P(I(P1)(e.end - e.start)) + P(e.wake_approx && e.wake ? "~" : ""), 1),
|
|
54953
54970
|
e.item.state === "done" ? Y("", !0) : (U(), W("small", {
|
|
54954
54971
|
key: 0,
|
|
54955
54972
|
class: M(`is-${e.item.state}`)
|
|
54956
54973
|
}, P(I(j1)[e.item.state]), 3)),
|
|
54957
|
-
e.truncated ? (U(), W("small",
|
|
54974
|
+
e.truncated ? (U(), W("small", z0, "明细已截断")) : Y("", !0)
|
|
54958
54975
|
])
|
|
54959
54976
|
], 2))), 128))
|
|
54960
54977
|
], 38),
|
|
54961
|
-
|
|
54978
|
+
qe.value && b.value ? (U(), W("div", {
|
|
54962
54979
|
key: 0,
|
|
54963
54980
|
class: "wf-detail",
|
|
54964
54981
|
role: "dialog",
|
|
54965
|
-
"aria-label": `${I(i).display_name(
|
|
54982
|
+
"aria-label": `${I(i).display_name(qe.value.item.member)} 的这次执行`,
|
|
54966
54983
|
style: fe({
|
|
54967
54984
|
top: `${b.value.top}px`,
|
|
54968
54985
|
left: `${b.value.left}px`
|
|
54969
54986
|
})
|
|
54970
54987
|
}, [
|
|
54971
|
-
K("header",
|
|
54972
|
-
K("strong", null, P(I(i).display_name(
|
|
54973
|
-
K("small", null, P(
|
|
54988
|
+
K("header", V0, [
|
|
54989
|
+
K("strong", null, P(I(i).display_name(qe.value.item.member)), 1),
|
|
54990
|
+
K("small", null, P(rt(qe.value)) + " · " + P(I(j1)[qe.value.item.state]) + " · " + P(I(P1)(qe.value.end - qe.value.start)), 1),
|
|
54974
54991
|
K("button", {
|
|
54975
54992
|
type: "button",
|
|
54976
54993
|
class: "wf-card-close",
|
|
54977
54994
|
"aria-label": "关闭",
|
|
54978
54995
|
onClick: t[5] ||= (e) => y.value = ""
|
|
54979
|
-
}, [q(
|
|
54996
|
+
}, [q(o, { name: "i-lucide-x" })])
|
|
54980
54997
|
]),
|
|
54981
54998
|
K("dl", null, [
|
|
54982
|
-
|
|
54999
|
+
qe.value.item.task ? (U(), W("div", H0, [t[22] ||= K("dt", null, "任务", -1), K("dd", null, [J(P(qe.value.item.task), 1), qe.value.item.task_id ? (U(), W("button", {
|
|
54983
55000
|
key: 0,
|
|
54984
55001
|
type: "button",
|
|
54985
55002
|
class: "subtle-link",
|
|
54986
|
-
onClick: t[6] ||= (e) => n("detail",
|
|
54987
|
-
}, "#" + P(
|
|
54988
|
-
|
|
55003
|
+
onClick: t[6] ||= (e) => n("detail", qe.value.item.task_id)
|
|
55004
|
+
}, "#" + P(qe.value.item.task_id), 1)) : Y("", !0)])])) : Y("", !0),
|
|
55005
|
+
qe.value.item.state === "failed" ? (U(), W("div", U0, [t[23] ||= K("dt", null, "失败原因", -1), K("dd", W0, P(qe.value.item.reason || "执行失败"), 1)])) : qe.value.item.result || qe.value.item.answer_id ? (U(), W("div", G0, [t[24] ||= K("dt", null, "结果", -1), K("dd", null, [J(P(qe.value.item.result), 1), qe.value.item.answer_id ? (U(), W("button", {
|
|
54989
55006
|
key: 0,
|
|
54990
55007
|
type: "button",
|
|
54991
55008
|
class: "subtle-link",
|
|
54992
|
-
onClick: t[7] ||= (e) => n("detail",
|
|
54993
|
-
}, "在消息中查看 #" + P(
|
|
54994
|
-
|
|
55009
|
+
onClick: t[7] ||= (e) => n("detail", qe.value.item.answer_id)
|
|
55010
|
+
}, "在消息中查看 #" + P(qe.value.item.answer_id), 1)) : Y("", !0)])])) : Y("", !0),
|
|
55011
|
+
qe.value.item.changes ? (U(), W("div", K0, [t[25] ||= K("dt", null, "改动", -1), K("dd", null, P(qe.value.item.changes) + " 个文件", 1)])) : Y("", !0)
|
|
54995
55012
|
]),
|
|
54996
|
-
|
|
55013
|
+
Je.value.length ? (U(), W("ol", q0, [(U(!0), W(H, null, B(Je.value, (e) => (U(), W("li", {
|
|
54997
55014
|
key: `${e.kind}-${e.at}-${e.phase || ""}`,
|
|
54998
55015
|
class: M(`log-${e.kind}`)
|
|
54999
|
-
}, [K("time", null, P(
|
|
55016
|
+
}, [K("time", null, P(ct(e.at)), 1), e.kind === "phase" ? (U(), W(H, { key: 0 }, [K("i", {
|
|
55000
55017
|
class: M(["wf-swatch", `is-${I(A1)[e.phase]}`]),
|
|
55001
|
-
"data-tone":
|
|
55018
|
+
"data-tone": Ze.value.get(qe.value.item.member),
|
|
55002
55019
|
"aria-hidden": "true"
|
|
55003
|
-
}, null, 10,
|
|
55020
|
+
}, null, 10, J0), K("span", null, [
|
|
55004
55021
|
J(P(I(k1)[e.phase]), 1),
|
|
55005
55022
|
e.tool ? (U(), W(H, { key: 0 }, [J(" · " + P(e.tool), 1)], 64)) : Y("", !0),
|
|
55006
55023
|
J(" · " + P(e.live ? "进行中" : I(P1)(e.duration)), 1)
|
|
55007
|
-
])], 64)) : (U(), W("span",
|
|
55008
|
-
], 12,
|
|
55009
|
-
pe.value ===
|
|
55024
|
+
])], 64)) : (U(), W("span", Y0, P(e.text), 1))], 2))), 128))])) : (U(), W("p", X0, "这次执行没有阶段明细或过程说明。"))
|
|
55025
|
+
], 12, B0)) : Y("", !0),
|
|
55026
|
+
pe.value === w2 ? (U(), W("div", Z0, [...t[26] ||= [K("span", { class: "wf-player-note" }, "回放按轮进行:在上方选一轮即可回放", -1)]])) : (U(), W("div", Q0, [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 }, [
|
|
55010
55027
|
K("button", {
|
|
55011
55028
|
type: "button",
|
|
55012
55029
|
class: "wf-player-button",
|
|
55013
55030
|
"aria-label": k.playing ? "暂停回放" : "回放这一轮",
|
|
55014
|
-
onClick: t[8] ||= (e) => k.playing ?
|
|
55015
|
-
}, [q(
|
|
55031
|
+
onClick: t[8] ||= (e) => k.playing ? Le() : Fe()
|
|
55032
|
+
}, [q(o, { name: k.playing ? "i-lucide-pause" : "i-lucide-play" }, null, 8, ["name"])], 8, $0),
|
|
55016
55033
|
K("button", {
|
|
55017
55034
|
type: "button",
|
|
55018
55035
|
class: "wf-player-button",
|
|
55019
55036
|
"aria-label": "从头回放",
|
|
55020
|
-
disabled: !
|
|
55021
|
-
onClick:
|
|
55022
|
-
}, [q(
|
|
55023
|
-
|
|
55037
|
+
disabled: !be.value,
|
|
55038
|
+
onClick: Re
|
|
55039
|
+
}, [q(o, { name: "i-lucide-rotate-ccw" })], 8, e2),
|
|
55040
|
+
q(r, {
|
|
55041
|
+
modelValue: k.speed,
|
|
55024
55042
|
"onUpdate:modelValue": t[9] ||= (e) => k.speed = e,
|
|
55043
|
+
items: Me.value,
|
|
55044
|
+
variant: "none",
|
|
55045
|
+
"aria-label": "回放速度",
|
|
55025
55046
|
class: "wf-speed",
|
|
55026
|
-
|
|
55027
|
-
|
|
55028
|
-
|
|
55029
|
-
|
|
55030
|
-
|
|
55031
|
-
|
|
55032
|
-
|
|
55033
|
-
|
|
55034
|
-
|
|
55035
|
-
]
|
|
55047
|
+
content: {
|
|
55048
|
+
side: "top",
|
|
55049
|
+
align: "start",
|
|
55050
|
+
sideOffset: 4
|
|
55051
|
+
},
|
|
55052
|
+
ui: {
|
|
55053
|
+
content: "channel-select-menu wf-speed-menu",
|
|
55054
|
+
trailingIcon: "wf-select-icon"
|
|
55055
|
+
}
|
|
55056
|
+
}, null, 8, ["modelValue", "items"]),
|
|
55036
55057
|
K("input", {
|
|
55037
55058
|
type: "range",
|
|
55038
55059
|
class: "wf-scrub",
|
|
55039
55060
|
min: "0",
|
|
55040
|
-
max:
|
|
55061
|
+
max: ye.value.duration,
|
|
55041
55062
|
step: "100",
|
|
55042
|
-
value:
|
|
55063
|
+
value: be.value ? k.position : ye.value.duration,
|
|
55043
55064
|
"aria-label": "回放位置",
|
|
55044
|
-
onInput:
|
|
55045
|
-
}, null, 40,
|
|
55046
|
-
K("span",
|
|
55065
|
+
onInput: ze
|
|
55066
|
+
}, null, 40, t2),
|
|
55067
|
+
K("span", n2, P(I(P1)(be.value ? k.position : ye.value.duration)) + " / " + P(I(P1)(ye.value.duration)), 1)
|
|
55047
55068
|
], 64))])),
|
|
55048
|
-
|
|
55069
|
+
Te.value.folds.length || te.value.executions.length >= te.value.execution_limit ? (U(), W("footer", r2, [Te.value.folds.length ? (U(), W("span", i2, [t[29] ||= K("i", {
|
|
55049
55070
|
class: "wf-swatch is-fold",
|
|
55050
55071
|
"aria-hidden": "true"
|
|
55051
|
-
}, null, -1), J("已折叠 " + P(
|
|
55072
|
+
}, null, -1), J("已折叠 " + P(Te.value.folds.length) + " 段超过 " + P(I(M1) / 6e4) + " 分钟的空闲", 1)])) : Y("", !0), te.value.executions.length >= te.value.execution_limit ? (U(), W("span", a2, "只列出最近 " + P(te.value.execution_limit) + " 次讨论执行与 " + P(te.value.execution_limit) + " 次协作执行", 1)) : Y("", !0)])) : Y("", !0)
|
|
55052
55073
|
], 512)) : Y("", !0),
|
|
55053
55074
|
v.value ? (U(), W("div", {
|
|
55054
55075
|
key: 3,
|
|
@@ -55059,88 +55080,88 @@ var r0 = {
|
|
|
55059
55080
|
top: `${v.value.top}px`
|
|
55060
55081
|
})
|
|
55061
55082
|
}, [
|
|
55062
|
-
K("strong", null, P(I(i).display_name(v.value.row.item.member)) + " · " + P(
|
|
55083
|
+
K("strong", null, P(I(i).display_name(v.value.row.item.member)) + " · " + P(ht.value), 1),
|
|
55063
55084
|
v.value.pinned ? (U(), W("button", {
|
|
55064
55085
|
key: 0,
|
|
55065
55086
|
type: "button",
|
|
55066
55087
|
class: "wf-card-close",
|
|
55067
55088
|
"aria-label": "关闭",
|
|
55068
55089
|
onClick: t[10] ||= (e) => v.value = null
|
|
55069
|
-
}, [q(
|
|
55070
|
-
K("small", null, [J(P(
|
|
55071
|
-
v.value.piece.text ? (U(), W("p",
|
|
55072
|
-
|
|
55073
|
-
], 14,
|
|
55090
|
+
}, [q(o, { name: "i-lucide-x" })])) : Y("", !0),
|
|
55091
|
+
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)]),
|
|
55092
|
+
v.value.piece.text ? (U(), W("p", s2, P(v.value.piece.text), 1)) : v.value.row.item.reason ? (U(), W("p", c2, P(v.value.row.item.reason), 1)) : Y("", !0),
|
|
55093
|
+
gt.value.length ? (U(), W(H, { key: 3 }, [K("small", l2, 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)
|
|
55094
|
+
], 14, o2)) : Y("", !0)
|
|
55074
55095
|
]);
|
|
55075
55096
|
};
|
|
55076
55097
|
}
|
|
55077
|
-
}, [["__scopeId", "data-v-
|
|
55098
|
+
}, [["__scopeId", "data-v-ae571187"]]), k2 = {
|
|
55078
55099
|
id: "channel-sidebar",
|
|
55079
55100
|
class: "channel-sidebar",
|
|
55080
55101
|
"aria-label": "房间导航"
|
|
55081
|
-
},
|
|
55102
|
+
}, A2 = { class: "channel-sidebar-content" }, j2 = { class: "channel-directory-heading channel-tools-heading" }, M2 = ["aria-expanded"], N2 = { class: "channel-sidebar-footer" }, P2 = ["aria-label"], F2 = { class: "channel-self" }, I2 = ["title"], L2 = [
|
|
55082
55103
|
"aria-valuemax",
|
|
55083
55104
|
"aria-valuenow",
|
|
55084
55105
|
"aria-valuetext"
|
|
55085
|
-
],
|
|
55106
|
+
], R2 = { class: "channel-main" }, z2 = { class: "channel-header" }, B2 = { class: "channel-title-icon" }, V2 = { class: "channel-title" }, H2 = { class: "channel-title-copy" }, U2 = ["title"], W2 = {
|
|
55086
55107
|
key: 0,
|
|
55087
55108
|
class: "channel-header-context"
|
|
55088
|
-
},
|
|
55109
|
+
}, G2 = { class: "channel-header-actions" }, K2 = {
|
|
55089
55110
|
key: 0,
|
|
55090
55111
|
class: "channel-launch-recovery",
|
|
55091
55112
|
"aria-label": "未完成的创建或启动请求"
|
|
55092
|
-
},
|
|
55113
|
+
}, q2 = { role: "status" }, J2 = { class: "button-row" }, Y2 = {
|
|
55093
55114
|
key: 1,
|
|
55094
55115
|
class: "channel-tabbar"
|
|
55095
|
-
},
|
|
55116
|
+
}, X2 = { class: "channel-brief-inner" }, Z2 = { class: "channel-brief-heading" }, Q2 = ["aria-label", "aria-expanded"], $2 = {
|
|
55096
55117
|
key: 0,
|
|
55097
55118
|
class: "channel-brief-preview"
|
|
55098
|
-
},
|
|
55119
|
+
}, e4 = {
|
|
55099
55120
|
id: "channel-brief-content",
|
|
55100
55121
|
class: "channel-brief-content"
|
|
55101
|
-
},
|
|
55122
|
+
}, t4 = ["innerHTML"], n4 = { class: "channel-brief-footer" }, r4 = { class: "channel-brief-status" }, i4 = { class: "channel-content" }, a4 = {
|
|
55102
55123
|
key: 0,
|
|
55103
55124
|
class: "content-page merged-page",
|
|
55104
55125
|
role: "tabpanel",
|
|
55105
55126
|
"aria-label": "讨论"
|
|
55106
|
-
},
|
|
55127
|
+
}, o4 = {
|
|
55107
55128
|
key: 1,
|
|
55108
55129
|
class: "merged-section",
|
|
55109
55130
|
"aria-label": "当前讨论"
|
|
55110
|
-
},
|
|
55131
|
+
}, s4 = { class: "page-heading" }, c4 = {
|
|
55111
55132
|
key: 0,
|
|
55112
55133
|
class: "fine-print"
|
|
55113
|
-
},
|
|
55134
|
+
}, l4 = {
|
|
55114
55135
|
class: "merged-section channel-summary",
|
|
55115
55136
|
"aria-label": "当前共识"
|
|
55116
|
-
},
|
|
55137
|
+
}, u4 = { class: "page-heading" }, d4 = { class: "form-footer" }, f4 = { class: "button-row" }, p4 = { class: "consensus-card is-brief" }, m4 = ["innerHTML"], h4 = {
|
|
55117
55138
|
key: 0,
|
|
55118
55139
|
class: "consensus-card"
|
|
55119
|
-
},
|
|
55140
|
+
}, g4 = ["innerHTML"], _4 = {
|
|
55120
55141
|
key: 2,
|
|
55121
55142
|
class: "fine-print"
|
|
55122
|
-
},
|
|
55143
|
+
}, v4 = {
|
|
55123
55144
|
key: 1,
|
|
55124
55145
|
class: "content-page merged-page",
|
|
55125
55146
|
role: "tabpanel",
|
|
55126
55147
|
"aria-label": "房间"
|
|
55127
|
-
},
|
|
55148
|
+
}, y4 = {
|
|
55128
55149
|
key: 2,
|
|
55129
55150
|
class: "content-page merged-page",
|
|
55130
55151
|
role: "tabpanel",
|
|
55131
55152
|
"aria-label": "执行"
|
|
55132
|
-
},
|
|
55153
|
+
}, b4 = {
|
|
55133
55154
|
key: 1,
|
|
55134
55155
|
class: "channel-empty"
|
|
55135
|
-
},
|
|
55156
|
+
}, x4 = ["aria-valuenow", "aria-valuetext"], S4 = {
|
|
55136
55157
|
key: 2,
|
|
55137
55158
|
id: "channel-member-rail",
|
|
55138
55159
|
class: "channel-member-rail",
|
|
55139
55160
|
"aria-label": "当前焦点与讨论进度"
|
|
55140
|
-
},
|
|
55161
|
+
}, C4 = { class: "channel-rail-board" }, w4 = {
|
|
55141
55162
|
key: 2,
|
|
55142
55163
|
class: "progress-board is-docked"
|
|
55143
|
-
},
|
|
55164
|
+
}, T4 = { class: "channel-detail-title" }, E4 = { class: "info-section" }, D4 = "ai-codiscuss-channel-layout", O4 = 220, k4 = 440, A4 = 280, j4 = 16, M4 = 180, N4 = 400, P4 = 248, F4 = 16, I4 = 480, L4 = 1200, R4 = 0, z4 = {
|
|
55144
55165
|
__name: "ChannelWorkspace",
|
|
55145
55166
|
setup(e) {
|
|
55146
55167
|
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 = [{
|
|
@@ -55162,14 +55183,14 @@ var r0 = {
|
|
|
55162
55183
|
label: "宽",
|
|
55163
55184
|
width: 1240
|
|
55164
55185
|
}
|
|
55165
|
-
}, b = je(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), k = Z(() => T.value >=
|
|
55186
|
+
}, b = je(), x = /* @__PURE__ */ F(b.reading), S = /* @__PURE__ */ F(b.effects), C = /* @__PURE__ */ F(b.rail), w = /* @__PURE__ */ F(b.nav), T = /* @__PURE__ */ F(typeof window > "u" ? 728 : window.innerWidth), E = /* @__PURE__ */ F(b.collapsed), D = /* @__PURE__ */ F(!0), O = /* @__PURE__ */ F(b.rail_collapsed), k = Z(() => T.value >= L4), A = Z(() => t.value.tab === "discussion" && !O.value), ee = Z(() => k.value && t.value.tab === "discussion" ? O.value ? "展开房间概览" : "收起房间概览" : "房间资料与参与者"), te = Z(() => {
|
|
55166
55187
|
let e = document.createElement("template");
|
|
55167
55188
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
55168
|
-
}), ne = /* @__PURE__ */ F(null), re = /* @__PURE__ */ F(0), ie = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(
|
|
55189
|
+
}), ne = /* @__PURE__ */ F(null), re = /* @__PURE__ */ F(0), ie = null, j = /* @__PURE__ */ F(null), ae = /* @__PURE__ */ F(null), oe = Z(() => Math.min(N4, Math.max(M4, T.value - I4 - R4))), se = Z(() => Math.min(w.value, oe.value)), ce = Z(() => ({
|
|
55169
55190
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
55170
55191
|
"--channel-rail-width": `${C.value}px`,
|
|
55171
55192
|
"--channel-topbar-height": `${re.value}px`,
|
|
55172
|
-
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${
|
|
55193
|
+
"--channel-main-columns": E.value ? "minmax(0, 1fr)" : `${se.value}px ${R4}px minmax(0, 1fr)`
|
|
55173
55194
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
55174
55195
|
value: e,
|
|
55175
55196
|
label: t.label
|
|
@@ -55263,12 +55284,12 @@ var r0 = {
|
|
|
55263
55284
|
}
|
|
55264
55285
|
function je() {
|
|
55265
55286
|
try {
|
|
55266
|
-
let e = JSON.parse(localStorage.getItem(
|
|
55287
|
+
let e = JSON.parse(localStorage.getItem(D4)) || {};
|
|
55267
55288
|
return {
|
|
55268
55289
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
55269
55290
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
55270
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
55271
|
-
nav: Number.isFinite(e.nav) ? Math.min(
|
|
55291
|
+
rail: Number.isFinite(e.rail) ? Math.min(k4, Math.max(O4, e.rail)) : A4,
|
|
55292
|
+
nav: Number.isFinite(e.nav) ? Math.min(N4, Math.max(M4, e.nav)) : Me(),
|
|
55272
55293
|
collapsed: e.collapsed === !0,
|
|
55273
55294
|
brief_collapsed: e.brief_collapsed === !0,
|
|
55274
55295
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -55277,7 +55298,7 @@ var r0 = {
|
|
|
55277
55298
|
return {
|
|
55278
55299
|
reading: "default",
|
|
55279
55300
|
effects: "full",
|
|
55280
|
-
rail:
|
|
55301
|
+
rail: A4,
|
|
55281
55302
|
nav: Me(),
|
|
55282
55303
|
collapsed: !1,
|
|
55283
55304
|
brief_collapsed: !1,
|
|
@@ -55286,11 +55307,11 @@ var r0 = {
|
|
|
55286
55307
|
}
|
|
55287
55308
|
}
|
|
55288
55309
|
function Me() {
|
|
55289
|
-
return typeof window > "u" ?
|
|
55310
|
+
return typeof window > "u" ? P4 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : P4;
|
|
55290
55311
|
}
|
|
55291
55312
|
function Ne() {
|
|
55292
55313
|
try {
|
|
55293
|
-
localStorage.setItem(
|
|
55314
|
+
localStorage.setItem(D4, JSON.stringify({
|
|
55294
55315
|
reading: x.value,
|
|
55295
55316
|
effects: S.value,
|
|
55296
55317
|
rail: C.value,
|
|
@@ -55321,19 +55342,19 @@ var r0 = {
|
|
|
55321
55342
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
55322
55343
|
}
|
|
55323
55344
|
function ze(e) {
|
|
55324
|
-
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(
|
|
55345
|
+
j.value?.pointer === e.pointerId && (C.value = Math.round(Math.min(k4, Math.max(O4, j.value.width + j.value.x - e.clientX))));
|
|
55325
55346
|
}
|
|
55326
55347
|
function Be(e) {
|
|
55327
55348
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ne());
|
|
55328
55349
|
}
|
|
55329
55350
|
function Ve(e) {
|
|
55330
55351
|
let t = {
|
|
55331
|
-
ArrowLeft: C.value +
|
|
55332
|
-
ArrowRight: C.value -
|
|
55333
|
-
Home:
|
|
55334
|
-
End:
|
|
55352
|
+
ArrowLeft: C.value + j4,
|
|
55353
|
+
ArrowRight: C.value - j4,
|
|
55354
|
+
Home: O4,
|
|
55355
|
+
End: k4
|
|
55335
55356
|
};
|
|
55336
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(
|
|
55357
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), C.value = Math.min(k4, Math.max(O4, t[e.key])), Ne());
|
|
55337
55358
|
}
|
|
55338
55359
|
function He(e) {
|
|
55339
55360
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -55343,19 +55364,19 @@ var r0 = {
|
|
|
55343
55364
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
55344
55365
|
}
|
|
55345
55366
|
function Ue(e) {
|
|
55346
|
-
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(
|
|
55367
|
+
ae.value?.pointer === e.pointerId && (w.value = Math.round(Math.min(oe.value, Math.max(M4, ae.value.width + e.clientX - ae.value.x))));
|
|
55347
55368
|
}
|
|
55348
55369
|
function We(e) {
|
|
55349
55370
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ne());
|
|
55350
55371
|
}
|
|
55351
55372
|
function Ge(e) {
|
|
55352
55373
|
let t = {
|
|
55353
|
-
ArrowLeft: se.value -
|
|
55354
|
-
ArrowRight: se.value +
|
|
55355
|
-
Home:
|
|
55374
|
+
ArrowLeft: se.value - F4,
|
|
55375
|
+
ArrowRight: se.value + F4,
|
|
55376
|
+
Home: M4,
|
|
55356
55377
|
End: oe.value
|
|
55357
55378
|
};
|
|
55358
|
-
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(
|
|
55379
|
+
Object.hasOwn(t, e.key) && (e.preventDefault(), w.value = Math.min(oe.value, Math.max(M4, t[e.key])), Ne());
|
|
55359
55380
|
}
|
|
55360
55381
|
return (e, r) => {
|
|
55361
55382
|
let y = sA, b = lH, w = pA, T = MA, O = $V, re = WV, ie = YV, pe = KV, N = HV, je = zV, Me = NV, Ne = AV;
|
|
@@ -55367,9 +55388,9 @@ var r0 = {
|
|
|
55367
55388
|
}]),
|
|
55368
55389
|
style: fe(ce.value)
|
|
55369
55390
|
}, [
|
|
55370
|
-
K("aside",
|
|
55391
|
+
K("aside", k2, [
|
|
55371
55392
|
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),
|
|
55372
|
-
K("div",
|
|
55393
|
+
K("div", A2, [
|
|
55373
55394
|
q(vZ, {
|
|
55374
55395
|
onSelect: Te,
|
|
55375
55396
|
onManage: Ce,
|
|
@@ -55379,12 +55400,12 @@ var r0 = {
|
|
|
55379
55400
|
onDeleteFolder: Ae,
|
|
55380
55401
|
onArchives: we
|
|
55381
55402
|
}),
|
|
55382
|
-
K("div",
|
|
55403
|
+
K("div", j2, [K("button", {
|
|
55383
55404
|
type: "button",
|
|
55384
55405
|
class: "channel-section-toggle",
|
|
55385
55406
|
"aria-expanded": f.value,
|
|
55386
55407
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
55387
|
-
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8,
|
|
55408
|
+
}, [q(y, { name: f.value ? "i-lucide-chevron-down" : "i-lucide-chevron-right" }, null, 8, ["name"]), r[29] ||= J("频道工具", -1)], 8, M2)]),
|
|
55388
55409
|
f.value ? (U(), G(b, {
|
|
55389
55410
|
key: 0,
|
|
55390
55411
|
items: be.value,
|
|
@@ -55400,7 +55421,7 @@ var r0 = {
|
|
|
55400
55421
|
}
|
|
55401
55422
|
}, null, 8, ["items"])) : Y("", !0)
|
|
55402
55423
|
]),
|
|
55403
|
-
K("footer",
|
|
55424
|
+
K("footer", N2, [K("button", {
|
|
55404
55425
|
type: "button",
|
|
55405
55426
|
class: "channel-self-button",
|
|
55406
55427
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${xe.value ? "," + xe.value : ""}`,
|
|
@@ -55416,10 +55437,10 @@ var r0 = {
|
|
|
55416
55437
|
"text",
|
|
55417
55438
|
"alt",
|
|
55418
55439
|
"class"
|
|
55419
|
-
]), K("span",
|
|
55440
|
+
]), K("span", F2, [K("strong", null, P(I(n).display_name(I(_))), 1), K("span", { class: M(["channel-connection", { "is-action": xe.value }]) }, [K("span", {
|
|
55420
55441
|
class: M({ connected: I(t).connected }),
|
|
55421
55442
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
55422
|
-
}, null, 10,
|
|
55443
|
+
}, null, 10, I2), J(P(xe.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, P2), q(O, { text: "设置" }, {
|
|
55423
55444
|
default: L(() => [q(T, {
|
|
55424
55445
|
icon: "i-lucide-settings-2",
|
|
55425
55446
|
color: "neutral",
|
|
@@ -55440,7 +55461,7 @@ var r0 = {
|
|
|
55440
55461
|
"aria-label": "调整房间栏宽度",
|
|
55441
55462
|
"aria-orientation": "vertical",
|
|
55442
55463
|
"aria-controls": "channel-sidebar",
|
|
55443
|
-
"aria-valuemin":
|
|
55464
|
+
"aria-valuemin": M4,
|
|
55444
55465
|
"aria-valuemax": oe.value,
|
|
55445
55466
|
"aria-valuenow": se.value,
|
|
55446
55467
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -55451,13 +55472,13 @@ var r0 = {
|
|
|
55451
55472
|
onPointercancel: We,
|
|
55452
55473
|
onLostpointercapture: We,
|
|
55453
55474
|
onKeydown: Ge
|
|
55454
|
-
}, null, 40,
|
|
55455
|
-
K("main",
|
|
55475
|
+
}, null, 40, L2)),
|
|
55476
|
+
K("main", R2, [K("div", {
|
|
55456
55477
|
ref_key: "topbar",
|
|
55457
55478
|
ref: ne,
|
|
55458
55479
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
55459
55480
|
}, [
|
|
55460
|
-
K("header",
|
|
55481
|
+
K("header", z2, [
|
|
55461
55482
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
55462
55483
|
default: L(() => [q(T, {
|
|
55463
55484
|
icon: "i-lucide-panel-left",
|
|
@@ -55482,8 +55503,8 @@ var r0 = {
|
|
|
55482
55503
|
"aria-expanded": d.value,
|
|
55483
55504
|
onClick: r[4] ||= (e) => d.value = !0
|
|
55484
55505
|
}, null, 8, ["aria-expanded"]),
|
|
55485
|
-
K("span",
|
|
55486
|
-
K("div",
|
|
55506
|
+
K("span", B2, [q(y, { name: "i-lucide-hash" })]),
|
|
55507
|
+
K("div", V2, [K("div", H2, [K("h1", { title: o.value?.title }, P(o.value?.title || "共议"), 9, U2)]), o.value?.archived ? (U(), G(re, {
|
|
55487
55508
|
key: 0,
|
|
55488
55509
|
color: "neutral",
|
|
55489
55510
|
variant: "subtle",
|
|
@@ -55492,12 +55513,12 @@ var r0 = {
|
|
|
55492
55513
|
default: L(() => [...r[31] ||= [J("已存档", -1)]]),
|
|
55493
55514
|
_: 1
|
|
55494
55515
|
})) : Y("", !0)]),
|
|
55495
|
-
o.value ? (U(), W("span",
|
|
55516
|
+
o.value ? (U(), W("span", W2, [
|
|
55496
55517
|
J(P(de.find((e) => e.value === I(t).tab)?.label), 1),
|
|
55497
55518
|
r[32] ||= K("span", null, "·", -1),
|
|
55498
55519
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
55499
55520
|
])) : Y("", !0),
|
|
55500
|
-
K("div",
|
|
55521
|
+
K("div", G2, [
|
|
55501
55522
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
55502
55523
|
key: 0,
|
|
55503
55524
|
class: "channel-search",
|
|
@@ -55576,12 +55597,12 @@ var r0 = {
|
|
|
55576
55597
|
_: 1
|
|
55577
55598
|
}, 8, ["text"])
|
|
55578
55599
|
]),
|
|
55579
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
55600
|
+
I(t).launch.recoveries.length ? (U(), W("section", K2, [
|
|
55580
55601
|
r[33] ||= K("h2", null, "继续未完成的请求", -1),
|
|
55581
55602
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
55582
55603
|
K("strong", null, P(e.title), 1),
|
|
55583
|
-
K("p",
|
|
55584
|
-
K("div",
|
|
55604
|
+
K("p", q2, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
55605
|
+
K("div", J2, [
|
|
55585
55606
|
q(T, {
|
|
55586
55607
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
55587
55608
|
size: "sm",
|
|
@@ -55614,7 +55635,7 @@ var r0 = {
|
|
|
55614
55635
|
]))), 128)),
|
|
55615
55636
|
r[34] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
55616
55637
|
])) : Y("", !0),
|
|
55617
|
-
o.value ? (U(), W("div",
|
|
55638
|
+
o.value ? (U(), W("div", Y2, [q(pe, {
|
|
55618
55639
|
modelValue: ue.value,
|
|
55619
55640
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
55620
55641
|
items: de,
|
|
@@ -55629,7 +55650,7 @@ var r0 = {
|
|
|
55629
55650
|
key: 2,
|
|
55630
55651
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
55631
55652
|
"aria-label": "主持简报"
|
|
55632
|
-
}, [K("div",
|
|
55653
|
+
}, [K("div", X2, [K("div", Z2, [K("button", {
|
|
55633
55654
|
type: "button",
|
|
55634
55655
|
class: "channel-brief-toggle",
|
|
55635
55656
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -55639,8 +55660,8 @@ var r0 = {
|
|
|
55639
55660
|
}, [
|
|
55640
55661
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
55641
55662
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
55642
|
-
D.value ? (U(), W("span",
|
|
55643
|
-
], 8,
|
|
55663
|
+
D.value ? (U(), W("span", $2, P(te.value), 1)) : Y("", !0)
|
|
55664
|
+
], 8, Q2), D.value ? Y("", !0) : (U(), G(T, {
|
|
55644
55665
|
key: 0,
|
|
55645
55666
|
label: "更新简报",
|
|
55646
55667
|
color: "neutral",
|
|
@@ -55648,20 +55669,20 @@ var r0 = {
|
|
|
55648
55669
|
size: "xs",
|
|
55649
55670
|
class: "channel-brief-update",
|
|
55650
55671
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
55651
|
-
}))]), vr(K("div",
|
|
55672
|
+
}))]), vr(K("div", e4, [K("div", {
|
|
55652
55673
|
class: "channel-brief-text markdown-body",
|
|
55653
55674
|
innerHTML: o.value.rendered_brief
|
|
55654
|
-
}, null, 8,
|
|
55675
|
+
}, null, 8, t4), K("div", n4, [K("span", r4, P(I(n).progress_speaker(o.value)), 1), K("small", null, P(I(n).brief_meta(o.value)), 1)])], 512), [[Vc, !D.value]])])], 2)) : Y("", !0)
|
|
55655
55676
|
], 2), o.value ? (U(), W("div", {
|
|
55656
55677
|
key: 0,
|
|
55657
55678
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
55658
|
-
}, [K("div",
|
|
55679
|
+
}, [K("div", i4, [
|
|
55659
55680
|
vr(q(lK, {
|
|
55660
55681
|
onDetail: Ee,
|
|
55661
55682
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
55662
55683
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
55663
|
-
I(t).tab === "history" ? (U(), W("div",
|
|
55664
|
-
me.value ? (U(), W("section",
|
|
55684
|
+
I(t).tab === "history" ? (U(), W("div", a4, [
|
|
55685
|
+
me.value ? (U(), W("section", o4, [K("div", s4, [r[35] ||= K("div", null, [K("h2", null, "当前讨论"), K("p", null, "没有进行中的讨论。开启后由主持人推进成员轮流发言,到上限或结束后房间回到自由协作,记录与结论保留。")], -1), q(T, {
|
|
55665
55686
|
icon: "i-lucide-messages-square",
|
|
55666
55687
|
label: "开启讨论",
|
|
55667
55688
|
variant: "outline",
|
|
@@ -55669,13 +55690,13 @@ var r0 = {
|
|
|
55669
55690
|
class: "channel-surface-button",
|
|
55670
55691
|
disabled: !_e.value,
|
|
55671
55692
|
onClick: r[13] ||= (e) => he.value = !0
|
|
55672
|
-
}, null, 8, ["disabled"])]), !_e.value && !o.value.archived ? (U(), W("p",
|
|
55693
|
+
}, null, 8, ["disabled"])]), !_e.value && !o.value.archived ? (U(), W("p", c4, "开启讨论需要一位由本机唤醒的 AI 主持人,且本机服务在线。")) : Y("", !0)])) : (U(), G(kq, {
|
|
55673
55694
|
key: 0,
|
|
55674
55695
|
section: "host",
|
|
55675
55696
|
onOpen: r[12] ||= (e) => s.value = e,
|
|
55676
55697
|
onDetail: Ee
|
|
55677
55698
|
})),
|
|
55678
|
-
K("section",
|
|
55699
|
+
K("section", l4, [K("div", u4, [r[36] ||= K("div", null, [K("h2", null, "当前共识"), K("p", null, "主持人整理的结论、共识与分歧,用 #消息编号 保留依据;讨论结束时保存进下方记录。")], -1), ge.value ? Y("", !0) : (U(), G(T, {
|
|
55679
55700
|
key: 0,
|
|
55680
55701
|
icon: "i-lucide-pencil",
|
|
55681
55702
|
label: "编辑",
|
|
@@ -55719,7 +55740,7 @@ var r0 = {
|
|
|
55719
55740
|
}, null, 8, ["modelValue"])]),
|
|
55720
55741
|
_: 1
|
|
55721
55742
|
}),
|
|
55722
|
-
K("div",
|
|
55743
|
+
K("div", d4, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), K("div", f4, [q(T, {
|
|
55723
55744
|
label: "取消",
|
|
55724
55745
|
color: "neutral",
|
|
55725
55746
|
variant: "ghost",
|
|
@@ -55732,7 +55753,7 @@ var r0 = {
|
|
|
55732
55753
|
class: "channel-primary-button",
|
|
55733
55754
|
loading: I(a) === "save_context"
|
|
55734
55755
|
}, null, 8, ["loading"])])])
|
|
55735
|
-
], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div",
|
|
55756
|
+
], 32)) : o.value.host_brief?.text || o.value.state_text ? (U(), W(H, { key: 1 }, [K("div", p4, [K("h3", null, [r[37] ||= J("主持简报", -1), o.value.state_until ? (U(), W("button", {
|
|
55736
55757
|
key: 0,
|
|
55737
55758
|
type: "button",
|
|
55738
55759
|
class: "subtle-link",
|
|
@@ -55740,7 +55761,7 @@ var r0 = {
|
|
|
55740
55761
|
}, "整理至 #" + P(o.value.state_until), 1)) : Y("", !0)]), K("div", {
|
|
55741
55762
|
class: "markdown-body",
|
|
55742
55763
|
innerHTML: o.value.rendered_brief
|
|
55743
|
-
}, null, 8,
|
|
55764
|
+
}, null, 8, m4)]), ve.value ? (U(), W("details", h4, [K("summary", null, [
|
|
55744
55765
|
r[38] ||= K("h3", null, "详细共识与进度", -1),
|
|
55745
55766
|
r[39] ||= K("span", null, "依据、已处理内容、未决问题与下一步", -1),
|
|
55746
55767
|
q(y, {
|
|
@@ -55750,21 +55771,21 @@ var r0 = {
|
|
|
55750
55771
|
]), K("div", {
|
|
55751
55772
|
class: "markdown-body consensus-state",
|
|
55752
55773
|
innerHTML: ve.value
|
|
55753
|
-
}, null, 8,
|
|
55774
|
+
}, null, 8, g4)])) : Y("", !0)], 64)) : (U(), W("p", _4, "还没有共识。主持人会在讨论中整理,也可以点“编辑”自己写。"))]),
|
|
55754
55775
|
q(Z$, { onDetail: Ee }),
|
|
55755
55776
|
q(t$, {
|
|
55756
55777
|
open: he.value,
|
|
55757
55778
|
"onUpdate:open": r[19] ||= (e) => he.value = e
|
|
55758
55779
|
}, null, 8, ["open"])
|
|
55759
55780
|
])) : Y("", !0),
|
|
55760
|
-
I(t).tab === "overview" ? (U(), W("div",
|
|
55781
|
+
I(t).tab === "overview" ? (U(), W("div", v4, [q(O1), me.value ? Y("", !0) : (U(), G(kq, {
|
|
55761
55782
|
key: 0,
|
|
55762
55783
|
section: "access",
|
|
55763
55784
|
onOpen: r[20] ||= (e) => s.value = e,
|
|
55764
55785
|
onDetail: Ee
|
|
55765
55786
|
}))])) : Y("", !0),
|
|
55766
|
-
I(t).tab === "timeline" ? (U(), W("div",
|
|
55767
|
-
])], 2)) : (U(), W("div",
|
|
55787
|
+
I(t).tab === "timeline" ? (U(), W("div", y4, [q(O2, { onDetail: Ee })])) : Y("", !0)
|
|
55788
|
+
])], 2)) : (U(), W("div", b4, [
|
|
55768
55789
|
q(y, { name: "i-lucide-hash" }),
|
|
55769
55790
|
r[40] ||= K("h2", null, "新建一个协作房间", -1),
|
|
55770
55791
|
r[41] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -55783,8 +55804,8 @@ var r0 = {
|
|
|
55783
55804
|
"aria-label": "调整右侧栏宽度",
|
|
55784
55805
|
"aria-orientation": "vertical",
|
|
55785
55806
|
"aria-controls": "channel-member-rail",
|
|
55786
|
-
"aria-valuemin":
|
|
55787
|
-
"aria-valuemax":
|
|
55807
|
+
"aria-valuemin": O4,
|
|
55808
|
+
"aria-valuemax": k4,
|
|
55788
55809
|
"aria-valuenow": C.value,
|
|
55789
55810
|
"aria-valuetext": `${C.value} 像素`,
|
|
55790
55811
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -55794,11 +55815,11 @@ var r0 = {
|
|
|
55794
55815
|
onPointercancel: Be,
|
|
55795
55816
|
onLostpointercapture: Be,
|
|
55796
55817
|
onKeydown: Ve
|
|
55797
|
-
}, null, 40,
|
|
55798
|
-
A.value ? (U(), W("aside",
|
|
55818
|
+
}, null, 40, x4)) : Y("", !0),
|
|
55819
|
+
A.value ? (U(), W("aside", S4, [K("section", C4, [o.value && me.value ? (U(), G(I$, { key: 0 })) : o.value ? (U(), G(qQ, {
|
|
55799
55820
|
key: 1,
|
|
55800
55821
|
docked: ""
|
|
55801
|
-
})) : (U(), W("div",
|
|
55822
|
+
})) : (U(), W("div", w4, [...r[42] ||= [K("header", { class: "pb-header" }, [K("strong", null, "讨论进度")], -1), K("p", { class: "channel-rail-empty" }, "暂无房间,新建讨论后在这里查看进度与参与者。", -1)]]))])])) : Y("", !0),
|
|
55802
55823
|
q(Me, {
|
|
55803
55824
|
open: d.value,
|
|
55804
55825
|
"onUpdate:open": r[23] ||= (e) => d.value = e,
|
|
@@ -55841,7 +55862,7 @@ var r0 = {
|
|
|
55841
55862
|
}
|
|
55842
55863
|
}, {
|
|
55843
55864
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
55844
|
-
K("div",
|
|
55865
|
+
K("div", T4, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
55845
55866
|
(U(), W(H, null, B([
|
|
55846
55867
|
{
|
|
55847
55868
|
key: "goal",
|
|
@@ -55868,7 +55889,7 @@ var r0 = {
|
|
|
55868
55889
|
class: "info-section"
|
|
55869
55890
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
55870
55891
|
q(Ne),
|
|
55871
|
-
K("section",
|
|
55892
|
+
K("section", E4, [r[43] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(Se.value, (e) => (U(), W("div", {
|
|
55872
55893
|
key: e.name,
|
|
55873
55894
|
class: "expert-row"
|
|
55874
55895
|
}, [
|
|
@@ -55925,7 +55946,7 @@ var r0 = {
|
|
|
55925
55946
|
], 6);
|
|
55926
55947
|
};
|
|
55927
55948
|
}
|
|
55928
|
-
},
|
|
55949
|
+
}, B4 = {
|
|
55929
55950
|
__name: "App",
|
|
55930
55951
|
setup(e) {
|
|
55931
55952
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -55936,7 +55957,7 @@ var r0 = {
|
|
|
55936
55957
|
toaster: null
|
|
55937
55958
|
}, {
|
|
55938
55959
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
55939
|
-
default: L(() => [q(
|
|
55960
|
+
default: L(() => [q(z4)]),
|
|
55940
55961
|
_: 1
|
|
55941
55962
|
})]),
|
|
55942
55963
|
_: 1
|
|
@@ -55946,8 +55967,8 @@ var r0 = {
|
|
|
55946
55967
|
};
|
|
55947
55968
|
//#endregion
|
|
55948
55969
|
//#region frontend/main.js
|
|
55949
|
-
function
|
|
55950
|
-
bu(
|
|
55970
|
+
function V4() {
|
|
55971
|
+
bu(B4).use(ph).mount("#modern-root");
|
|
55951
55972
|
}
|
|
55952
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
55973
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", V4) : V4();
|
|
55953
55974
|
//#endregion
|