ai_co_discuss 0.2.92 → 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 +535 -398
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: "工具",
|
|
@@ -54134,23 +54134,57 @@ var J1 = [
|
|
|
54134
54134
|
43200,
|
|
54135
54135
|
86400
|
|
54136
54136
|
].map((e) => e * 1e3), Y1 = .12;
|
|
54137
|
-
function X1(e, t = 6
|
|
54138
|
-
|
|
54139
|
-
|
|
54140
|
-
|
|
54141
|
-
|
|
54142
|
-
|
|
54143
|
-
|
|
54144
|
-
|
|
54137
|
+
function X1(e, t = 6, n = {
|
|
54138
|
+
from: 0,
|
|
54139
|
+
span: 1
|
|
54140
|
+
}) {
|
|
54141
|
+
let r = (e.total_ms ?? e.busy_ms) * n.span;
|
|
54142
|
+
if (!r) return [];
|
|
54143
|
+
let i = J1.find((e) => r / e <= t) ?? J1.at(-1), a = Y1 * n.span, o = [];
|
|
54144
|
+
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) {
|
|
54145
|
+
let t = e.x(r);
|
|
54146
|
+
t < n.from || t > n.from + n.span || (!o.length || t - o.at(-1).x >= a) && o.push({
|
|
54147
|
+
at: r,
|
|
54145
54148
|
x: t
|
|
54146
54149
|
});
|
|
54147
54150
|
}
|
|
54148
|
-
return
|
|
54151
|
+
return o.map((e) => ({
|
|
54149
54152
|
...e,
|
|
54150
|
-
seconds:
|
|
54153
|
+
seconds: i < 6e4
|
|
54151
54154
|
}));
|
|
54152
54155
|
}
|
|
54153
|
-
|
|
54156
|
+
var Z1 = .01, Q1 = 2e3;
|
|
54157
|
+
function $1(e, t) {
|
|
54158
|
+
let n = (e) => (e - t.from) / t.span;
|
|
54159
|
+
return {
|
|
54160
|
+
...e,
|
|
54161
|
+
x: (t) => n(e.x(t)),
|
|
54162
|
+
spans: e.spans.map((e) => ({
|
|
54163
|
+
...e,
|
|
54164
|
+
from: n(e.from),
|
|
54165
|
+
width: e.width / t.span
|
|
54166
|
+
})),
|
|
54167
|
+
folds: e.folds.map((e) => ({
|
|
54168
|
+
...e,
|
|
54169
|
+
from: n(e.from),
|
|
54170
|
+
width: e.width / t.span
|
|
54171
|
+
}))
|
|
54172
|
+
};
|
|
54173
|
+
}
|
|
54174
|
+
function e0(e, t, n, r = 0) {
|
|
54175
|
+
let i = Math.max(Z1, r ? Q1 / r : 0), a = Math.min(1, Math.max(i, e.span * n)), o = e.from + t * e.span;
|
|
54176
|
+
return {
|
|
54177
|
+
from: Math.min(1 - a, Math.max(0, o - t * a)),
|
|
54178
|
+
span: a
|
|
54179
|
+
};
|
|
54180
|
+
}
|
|
54181
|
+
function t0(e, t) {
|
|
54182
|
+
return {
|
|
54183
|
+
from: Math.min(1 - e.span, Math.max(0, e.from + t * e.span)),
|
|
54184
|
+
span: e.span
|
|
54185
|
+
};
|
|
54186
|
+
}
|
|
54187
|
+
function n0(e, t = Date.now()) {
|
|
54154
54188
|
let n = null;
|
|
54155
54189
|
for (let t of e) for (let e of t.segments) (!n || e.seen - e.start > n.end - n.start) && (n = {
|
|
54156
54190
|
...e,
|
|
@@ -54173,102 +54207,112 @@ function Z1(e, t = Date.now()) {
|
|
|
54173
54207
|
}
|
|
54174
54208
|
//#endregion
|
|
54175
54209
|
//#region frontend/ExecutionTimeline.vue
|
|
54176
|
-
var
|
|
54210
|
+
var r0 = {
|
|
54177
54211
|
class: "merged-section execution-timeline",
|
|
54178
54212
|
"aria-label": "执行时间线"
|
|
54179
|
-
},
|
|
54213
|
+
}, i0 = {
|
|
54180
54214
|
key: 0,
|
|
54181
54215
|
role: "alert",
|
|
54182
54216
|
class: "fine-print wf-error"
|
|
54183
|
-
},
|
|
54217
|
+
}, a0 = {
|
|
54184
54218
|
key: 1,
|
|
54185
54219
|
class: "fine-print"
|
|
54186
|
-
},
|
|
54220
|
+
}, o0 = { class: "wf-head" }, s0 = {
|
|
54187
54221
|
key: 0,
|
|
54188
54222
|
class: "wf-state is-replay"
|
|
54189
|
-
},
|
|
54223
|
+
}, c0 = {
|
|
54190
54224
|
key: 2,
|
|
54191
54225
|
class: "wf-headline"
|
|
54192
|
-
},
|
|
54226
|
+
}, l0 = { class: "wf-summary" }, u0 = ["title"], d0 = ["title"], f0 = { title: "连续调用同一工具合并为一段" }, p0 = {
|
|
54193
54227
|
class: "wf-legend",
|
|
54194
54228
|
"aria-label": "图例"
|
|
54195
|
-
},
|
|
54229
|
+
}, m0 = {
|
|
54196
54230
|
key: 0,
|
|
54197
54231
|
class: "wf-legend-note"
|
|
54198
|
-
},
|
|
54232
|
+
}, h0 = {
|
|
54199
54233
|
key: 1,
|
|
54200
54234
|
class: "wf-legend-note"
|
|
54201
|
-
},
|
|
54235
|
+
}, g0 = { class: "wf-axis-label" }, _0 = {
|
|
54202
54236
|
key: 0,
|
|
54237
|
+
class: "wf-zoom"
|
|
54238
|
+
}, v0 = {
|
|
54239
|
+
key: 1,
|
|
54240
|
+
class: "wf-zoom-hint",
|
|
54241
|
+
title: "Ctrl + 滚轮缩放;放大后按住中键或拖动时间轴平移,双击时间轴还原"
|
|
54242
|
+
}, y0 = {
|
|
54243
|
+
key: 2,
|
|
54203
54244
|
class: "wf-branch"
|
|
54204
|
-
},
|
|
54245
|
+
}, b0 = ["title"], x0 = {
|
|
54205
54246
|
key: 0,
|
|
54206
54247
|
class: "wf-guides",
|
|
54207
54248
|
"aria-hidden": "true"
|
|
54208
|
-
},
|
|
54249
|
+
}, S0 = [
|
|
54209
54250
|
"aria-expanded",
|
|
54210
54251
|
"aria-label",
|
|
54211
54252
|
"onClick"
|
|
54212
|
-
],
|
|
54253
|
+
], C0 = {
|
|
54213
54254
|
key: 2,
|
|
54214
54255
|
class: "wf-toggle-space"
|
|
54215
|
-
},
|
|
54256
|
+
}, w0 = [
|
|
54216
54257
|
"aria-expanded",
|
|
54217
54258
|
"onClick",
|
|
54218
54259
|
"onMouseenter",
|
|
54219
54260
|
"onMouseleave"
|
|
54220
|
-
],
|
|
54261
|
+
], T0 = { class: "wf-name-line" }, E0 = {
|
|
54221
54262
|
key: 0,
|
|
54222
54263
|
class: "wf-spinner",
|
|
54223
54264
|
"aria-hidden": "true"
|
|
54224
|
-
},
|
|
54265
|
+
}, D0 = {
|
|
54225
54266
|
key: 1,
|
|
54226
54267
|
class: "wf-pill is-slowest"
|
|
54227
|
-
},
|
|
54268
|
+
}, O0 = {
|
|
54228
54269
|
key: 0,
|
|
54229
54270
|
class: "wf-live-dot",
|
|
54230
54271
|
"aria-hidden": "true"
|
|
54231
|
-
},
|
|
54272
|
+
}, k0 = ["aria-label", "onMouseleave"], A0 = { class: "wf-track" }, j0 = ["data-tone"], M0 = ["onMouseenter", "onClick"], N0 = ["onMouseenter", "onClick"], P0 = [
|
|
54232
54273
|
"data-tone",
|
|
54233
54274
|
"onMouseenter",
|
|
54234
54275
|
"onClick"
|
|
54235
|
-
],
|
|
54276
|
+
], F0 = [
|
|
54236
54277
|
"data-tone",
|
|
54237
54278
|
"onMouseenter",
|
|
54238
54279
|
"onClick"
|
|
54239
|
-
],
|
|
54280
|
+
], I0 = [
|
|
54240
54281
|
"data-tone",
|
|
54241
54282
|
"onMouseenter",
|
|
54242
54283
|
"onClick"
|
|
54243
|
-
],
|
|
54284
|
+
], L0 = [
|
|
54244
54285
|
"aria-label",
|
|
54245
54286
|
"onMouseenter",
|
|
54246
54287
|
"onClick",
|
|
54247
54288
|
"onFocus",
|
|
54248
54289
|
"onBlur"
|
|
54249
|
-
],
|
|
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 = {
|
|
54250
54291
|
key: 0,
|
|
54251
54292
|
class: "wf-log",
|
|
54252
54293
|
"aria-label": "过程"
|
|
54253
|
-
},
|
|
54294
|
+
}, J0 = ["data-tone"], Y0 = {
|
|
54254
54295
|
key: 1,
|
|
54255
54296
|
class: "wf-log-note"
|
|
54256
|
-
},
|
|
54297
|
+
}, X0 = {
|
|
54257
54298
|
key: 1,
|
|
54258
54299
|
class: "fine-print"
|
|
54259
|
-
},
|
|
54300
|
+
}, Z0 = {
|
|
54260
54301
|
key: 1,
|
|
54261
54302
|
class: "wf-player"
|
|
54262
|
-
},
|
|
54303
|
+
}, Q0 = {
|
|
54263
54304
|
key: 2,
|
|
54305
|
+
class: "wf-player"
|
|
54306
|
+
}, $0 = ["aria-label"], e2 = ["disabled"], t2 = ["max", "value"], n2 = { class: "wf-player-time" }, r2 = {
|
|
54307
|
+
key: 3,
|
|
54264
54308
|
class: "wf-foot"
|
|
54265
|
-
},
|
|
54309
|
+
}, i2 = { key: 0 }, a2 = { key: 1 }, o2 = ["role"], s2 = {
|
|
54266
54310
|
key: 1,
|
|
54267
54311
|
class: "wf-card-text"
|
|
54268
|
-
},
|
|
54312
|
+
}, c2 = {
|
|
54269
54313
|
key: 2,
|
|
54270
54314
|
class: "wf-card-reason"
|
|
54271
|
-
},
|
|
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({
|
|
54272
54316
|
__name: "ExecutionTimeline",
|
|
54273
54317
|
emits: ["detail"],
|
|
54274
54318
|
setup(e, { emit: t }) {
|
|
@@ -54288,7 +54332,7 @@ var Q1 = {
|
|
|
54288
54332
|
let t = d.value;
|
|
54289
54333
|
if (!t || w) return;
|
|
54290
54334
|
w = !0;
|
|
54291
|
-
let n = e || !S || Date.now() - C >=
|
|
54335
|
+
let n = e || !S || Date.now() - C >= d2 ? 0 : S - g2;
|
|
54292
54336
|
try {
|
|
54293
54337
|
let e = await i.request(`/api/rooms/${t}/timeline${n ? `?after=${n}` : ""}`);
|
|
54294
54338
|
if (t !== d.value) return;
|
|
@@ -54311,50 +54355,94 @@ var Q1 = {
|
|
|
54311
54355
|
R(Z(() => te.value?.executions.some((e) => e.state === "running")), (e) => {
|
|
54312
54356
|
clearInterval(T), e && (T = setInterval(() => {
|
|
54313
54357
|
document.hidden || ee();
|
|
54314
|
-
},
|
|
54358
|
+
}, u2));
|
|
54315
54359
|
}, { immediate: !0 }), R(d, () => {
|
|
54316
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);
|
|
54317
54361
|
}, { immediate: !0 }), R(() => r.value.room, (e, t) => {
|
|
54318
54362
|
e?.id && e.id === t?.id && ee();
|
|
54319
54363
|
});
|
|
54320
|
-
|
|
54364
|
+
let ne = null;
|
|
54365
|
+
function re(e) {
|
|
54366
|
+
let t = c.value.getBoundingClientRect();
|
|
54367
|
+
return {
|
|
54368
|
+
share: Math.min(1, Math.max(0, (e.clientX - t.left) / t.width)),
|
|
54369
|
+
width: t.width
|
|
54370
|
+
};
|
|
54371
|
+
}
|
|
54372
|
+
function ie(e) {
|
|
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
|
+
}
|
|
54375
|
+
function j(e) {
|
|
54376
|
+
let t = e.target.closest?.(".wf-axis");
|
|
54377
|
+
Oe.value && (e.button === 1 || e.button === 0 && t) && e.target.closest?.(".wf-track, .wf-axis") && (e.preventDefault(), ne = {
|
|
54378
|
+
x: e.clientX,
|
|
54379
|
+
from: De.value.from,
|
|
54380
|
+
width: re(e).width
|
|
54381
|
+
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
54382
|
+
}
|
|
54383
|
+
function ae(e) {
|
|
54384
|
+
ne && (De.value = t0({
|
|
54385
|
+
from: ne.from,
|
|
54386
|
+
span: De.value.span
|
|
54387
|
+
}, -(e.clientX - ne.x) / ne.width));
|
|
54388
|
+
}
|
|
54389
|
+
function oe() {
|
|
54390
|
+
ne = null;
|
|
54391
|
+
}
|
|
54392
|
+
function se(e) {
|
|
54393
|
+
e.button === 1 && e.target.closest?.(".wf-track, .wf-axis") && e.preventDefault();
|
|
54394
|
+
}
|
|
54395
|
+
function ce(e) {
|
|
54321
54396
|
v.value && !e.target.closest?.(".wf-card, .wf-bar, .wf-note") && (v.value = null), y.value && !e.target.closest?.(".wf-detail, .wf-names") && (y.value = "");
|
|
54322
54397
|
}
|
|
54323
|
-
function
|
|
54398
|
+
function le(e) {
|
|
54324
54399
|
e.key === "Escape" && (y.value = "", v.value = null);
|
|
54325
54400
|
}
|
|
54326
54401
|
Qi(() => {
|
|
54327
|
-
document.addEventListener("pointerdown",
|
|
54402
|
+
document.addEventListener("pointerdown", ce), document.addEventListener("keydown", le), u = new ResizeObserver(([e]) => {
|
|
54328
54403
|
l.value = e.contentRect.width;
|
|
54329
54404
|
});
|
|
54330
54405
|
}), R(c, (e, t) => {
|
|
54331
54406
|
t && u?.unobserve(t), e && u?.observe(e);
|
|
54332
54407
|
}), ta(() => {
|
|
54333
|
-
clearInterval(T), cancelAnimationFrame(E), document.removeEventListener("pointerdown",
|
|
54408
|
+
clearInterval(T), cancelAnimationFrame(E), document.removeEventListener("pointerdown", ce), document.removeEventListener("keydown", le), u?.disconnect();
|
|
54334
54409
|
});
|
|
54335
|
-
let
|
|
54410
|
+
let ue = /* @__PURE__ */ F(C2), de = Z(() => te.value ? U1(te.value, h.value) : {
|
|
54336
54411
|
list: [],
|
|
54337
54412
|
of: /* @__PURE__ */ new Map()
|
|
54338
|
-
}),
|
|
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 : {
|
|
54339
54414
|
...te.value,
|
|
54340
|
-
executions: te.value.executions.filter((e) =>
|
|
54415
|
+
executions: te.value.executions.filter((e) => de.value.of.get(`${e.source}:${e.id}`) === pe.value)
|
|
54341
54416
|
});
|
|
54342
54417
|
R(d, () => {
|
|
54343
|
-
|
|
54418
|
+
ue.value = C2;
|
|
54344
54419
|
});
|
|
54345
|
-
let
|
|
54420
|
+
let he = (e) => new Date(e).toLocaleString("zh-CN", {
|
|
54346
54421
|
month: "numeric",
|
|
54347
54422
|
day: "numeric",
|
|
54348
54423
|
hour: "2-digit",
|
|
54349
54424
|
minute: "2-digit",
|
|
54350
54425
|
hour12: !1
|
|
54351
54426
|
});
|
|
54352
|
-
function
|
|
54353
|
-
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0,
|
|
54354
|
-
return `${
|
|
54427
|
+
function ge(e) {
|
|
54428
|
+
let t = e.task ? `${e.task.replace(/\s+/g, " ").slice(0, T2)}${e.task.length > T2 ? "…" : ""}` : e.source === "discussion" ? "讨论" : "执行";
|
|
54429
|
+
return `${he(e.start)} · ${t} · ${e.count} 次${e.running ? " · 进行中" : e.failed ? " · 有失败" : ""}`;
|
|
54355
54430
|
}
|
|
54356
|
-
let
|
|
54357
|
-
|
|
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));
|
|
54358
54446
|
return Number.isFinite(e) ? {
|
|
54359
54447
|
start: e,
|
|
54360
54448
|
end: t,
|
|
@@ -54364,69 +54452,88 @@ var Q1 = {
|
|
|
54364
54452
|
end: 0,
|
|
54365
54453
|
duration: 0
|
|
54366
54454
|
};
|
|
54367
|
-
}),
|
|
54368
|
-
|
|
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 = {
|
|
54456
|
+
from: 0,
|
|
54457
|
+
span: 1
|
|
54458
|
+
}, De = /* @__PURE__ */ F(Ee), Oe = Z(() => De.value.span < 1);
|
|
54459
|
+
R([pe, d], () => {
|
|
54460
|
+
De.value = Ee;
|
|
54461
|
+
});
|
|
54462
|
+
let ke = Z(() => $1(Te.value, De.value)), Ae = Z(() => {
|
|
54463
|
+
let e = we.value ? ke.value.x(xe.value) : null;
|
|
54464
|
+
return e === null || e < 0 || e > 1 ? null : e;
|
|
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) {
|
|
54369
54473
|
let t = D ? Math.min(e - D, 250) : 0;
|
|
54370
54474
|
D = e;
|
|
54371
|
-
let n =
|
|
54372
|
-
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, {
|
|
54373
54477
|
position: null,
|
|
54374
54478
|
playing: !1
|
|
54375
|
-
}) : 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);
|
|
54376
54480
|
}
|
|
54377
|
-
R([
|
|
54378
|
-
!E && (
|
|
54481
|
+
R([ve, () => k.playing], () => {
|
|
54482
|
+
!E && (ve.value || k.playing) && (E = requestAnimationFrame(Pe));
|
|
54379
54483
|
}, { immediate: !0 });
|
|
54380
|
-
async function
|
|
54381
|
-
k.position === null ? (A = 0,
|
|
54484
|
+
async function Fe() {
|
|
54485
|
+
k.position === null ? (A = 0, He()) : A = k.position, Object.assign(k, {
|
|
54382
54486
|
position: A,
|
|
54383
54487
|
playing: !0
|
|
54384
|
-
}),
|
|
54488
|
+
}), Ie();
|
|
54385
54489
|
}
|
|
54386
|
-
function
|
|
54387
|
-
for (let e of
|
|
54490
|
+
function Ie() {
|
|
54491
|
+
for (let e of me.value?.executions || []) st({
|
|
54388
54492
|
item: e,
|
|
54389
54493
|
notes: e.notes || []
|
|
54390
54494
|
});
|
|
54391
54495
|
}
|
|
54392
|
-
function
|
|
54496
|
+
function Le() {
|
|
54393
54497
|
k.playing = !1;
|
|
54394
54498
|
}
|
|
54395
|
-
function
|
|
54396
|
-
A = 0,
|
|
54499
|
+
function Re() {
|
|
54500
|
+
A = 0, He(), Object.assign(k, {
|
|
54397
54501
|
position: 0,
|
|
54398
54502
|
playing: !0
|
|
54399
54503
|
});
|
|
54400
54504
|
}
|
|
54401
|
-
function
|
|
54505
|
+
function ze(e) {
|
|
54402
54506
|
A = Number(e.target.value), Object.assign(k, {
|
|
54403
54507
|
position: A,
|
|
54404
54508
|
playing: !1
|
|
54405
|
-
}),
|
|
54509
|
+
}), Ie();
|
|
54406
54510
|
}
|
|
54407
|
-
R([
|
|
54511
|
+
R([pe, d], () => Object.assign(k, {
|
|
54408
54512
|
position: null,
|
|
54409
54513
|
playing: !1
|
|
54410
54514
|
}));
|
|
54411
|
-
let
|
|
54412
|
-
function
|
|
54413
|
-
|
|
54414
|
-
}
|
|
54415
|
-
R(() =>
|
|
54416
|
-
let e =
|
|
54417
|
-
if (!
|
|
54418
|
-
|
|
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);
|
|
54419
54523
|
return;
|
|
54420
54524
|
}
|
|
54421
|
-
let t = e.filter((e) => !
|
|
54422
|
-
t.forEach((e) =>
|
|
54423
|
-
|
|
54424
|
-
},
|
|
54425
|
-
}), R([
|
|
54426
|
-
|
|
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));
|
|
54529
|
+
}), R([pe, d], () => {
|
|
54530
|
+
Ve = null;
|
|
54427
54531
|
});
|
|
54428
|
-
let
|
|
54429
|
-
|
|
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) => ({
|
|
54533
|
+
...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])));
|
|
54430
54537
|
return [
|
|
54431
54538
|
...e.some((e) => e.queue[1] > e.queue[0]) ? [["queue", "排队"]] : [],
|
|
54432
54539
|
...e.some((e) => e.wake) ? [["wake", "唤醒"]] : [],
|
|
@@ -54437,101 +54544,111 @@ var Q1 = {
|
|
|
54437
54544
|
...e.some((e) => e.notes.length) ? [["note-mark", "过程说明"]] : [],
|
|
54438
54545
|
...e.some((e) => e.item.state === "failed") ? [["failed-mark", "失败"]] : []
|
|
54439
54546
|
];
|
|
54440
|
-
}),
|
|
54547
|
+
}), Xe = Z(() => Se.value.length > 0 && Se.value.every((e) => !e.segments.length)), Ze = Z(() => {
|
|
54441
54548
|
let e = /* @__PURE__ */ new Map();
|
|
54442
|
-
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);
|
|
54443
54550
|
return e;
|
|
54444
|
-
}),
|
|
54445
|
-
let e =
|
|
54446
|
-
|
|
54551
|
+
}), Qe = Z(() => {
|
|
54552
|
+
let e = D2 / (l.value || 800), t = [];
|
|
54553
|
+
for (let n of ke.value.folds) {
|
|
54554
|
+
let r = n.from + n.width / 2;
|
|
54555
|
+
r < 0 || r > 1 || (!t.length || r - t.at(-1).middle >= e) && t.push({
|
|
54556
|
+
...n,
|
|
54557
|
+
middle: r
|
|
54558
|
+
});
|
|
54559
|
+
}
|
|
54560
|
+
return t;
|
|
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));
|
|
54447
54564
|
});
|
|
54448
|
-
function
|
|
54565
|
+
function et(e, t) {
|
|
54449
54566
|
if (y.value = y.value === e.key ? "" : e.key, !y.value) return;
|
|
54450
|
-
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);
|
|
54451
54568
|
b.value = {
|
|
54452
54569
|
top: n.bottom - r.top + 4,
|
|
54453
54570
|
left: Math.max(8, Math.min(n.left - r.left, r.width - i - 8))
|
|
54454
|
-
}, v.value = null,
|
|
54571
|
+
}, v.value = null, st(e);
|
|
54455
54572
|
}
|
|
54456
|
-
R(() =>
|
|
54457
|
-
|
|
54573
|
+
R(() => qe.value?.notes.length, () => {
|
|
54574
|
+
qe.value && st(qe.value);
|
|
54458
54575
|
});
|
|
54459
|
-
function
|
|
54576
|
+
function tt(e) {
|
|
54460
54577
|
let t = new Set(g.value);
|
|
54461
54578
|
t.has(e) ? t.delete(e) : t.add(e), g.value = t;
|
|
54462
54579
|
}
|
|
54463
|
-
function
|
|
54464
|
-
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;
|
|
54465
54582
|
return {
|
|
54466
54583
|
left: `${r * 100}%`,
|
|
54467
54584
|
width: n ? `max(2px, calc(${i}% - 1px))` : `${i}%`
|
|
54468
54585
|
};
|
|
54469
54586
|
}
|
|
54470
|
-
function
|
|
54587
|
+
function rt(e) {
|
|
54471
54588
|
let t = e.item.role === "host";
|
|
54472
54589
|
return e.item.source === "discussion" ? t ? "讨论 · 主持" : "讨论 · 专家" : t ? "协作 · 主持" : "协作";
|
|
54473
54590
|
}
|
|
54474
|
-
function
|
|
54591
|
+
function it(e) {
|
|
54475
54592
|
return [...e.item.source === "discussion" ? ["讨论"] : [], ...e.item.role === "host" ? ["主持"] : []];
|
|
54476
54593
|
}
|
|
54477
|
-
let
|
|
54478
|
-
function
|
|
54594
|
+
let at = (e) => L1(e, xe.value);
|
|
54595
|
+
function ot(e) {
|
|
54479
54596
|
let t = [
|
|
54480
54597
|
i.display_name(e.item.member),
|
|
54481
|
-
|
|
54598
|
+
rt(e),
|
|
54482
54599
|
j1[e.item.state],
|
|
54483
54600
|
`用时 ${P1(e.end - e.start)}`
|
|
54484
54601
|
];
|
|
54485
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(",");
|
|
54486
54603
|
}
|
|
54487
|
-
async function
|
|
54604
|
+
async function st(e) {
|
|
54488
54605
|
let t = e.item.id;
|
|
54489
54606
|
if (!(e.item.source !== "free" || !e.notes.length || (_.value.get(t)?.length || 0) >= e.notes.length)) try {
|
|
54490
54607
|
let { notes: e } = await i.request(`/api/rooms/${d.value}/executions/${t}/notes`);
|
|
54491
54608
|
_.value = new Map(_.value).set(t, e.map((e) => e.text));
|
|
54492
54609
|
} catch {}
|
|
54493
54610
|
}
|
|
54494
|
-
let
|
|
54611
|
+
let ct = (e) => new Date(e).toLocaleTimeString("zh-CN", {
|
|
54495
54612
|
hour: "2-digit",
|
|
54496
54613
|
minute: "2-digit",
|
|
54497
54614
|
second: "2-digit",
|
|
54498
54615
|
hour12: !1
|
|
54499
|
-
}),
|
|
54616
|
+
}), lt = (e) => new Date(e.at).toLocaleTimeString("zh-CN", {
|
|
54500
54617
|
hour: "2-digit",
|
|
54501
54618
|
minute: "2-digit",
|
|
54502
54619
|
...e.seconds ? { second: "2-digit" } : {},
|
|
54503
54620
|
hour12: !1
|
|
54504
54621
|
});
|
|
54505
|
-
function
|
|
54622
|
+
function ut(e, t, n, r = !1) {
|
|
54506
54623
|
let i = e.currentTarget.getBoundingClientRect(), a = n.note ? {
|
|
54507
54624
|
notes: [n.note],
|
|
54508
54625
|
earlier: !1
|
|
54509
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;
|
|
54510
54627
|
v.value = {
|
|
54511
54628
|
key: t.key,
|
|
54512
|
-
id:
|
|
54629
|
+
id: dt(t, n),
|
|
54513
54630
|
row: t,
|
|
54514
54631
|
piece: n,
|
|
54515
54632
|
related: a,
|
|
54516
54633
|
pinned: r,
|
|
54517
54634
|
left: Math.max(8, Math.min(i.left, window.innerWidth - o - 8)),
|
|
54518
54635
|
top: c
|
|
54519
|
-
},
|
|
54636
|
+
}, st(t);
|
|
54520
54637
|
}
|
|
54521
|
-
let
|
|
54522
|
-
function
|
|
54523
|
-
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);
|
|
54524
54641
|
}
|
|
54525
|
-
function
|
|
54526
|
-
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));
|
|
54527
54644
|
}
|
|
54528
|
-
function
|
|
54645
|
+
function mt(e) {
|
|
54529
54646
|
v.value?.key === e.key && !v.value.pinned && (v.value = null);
|
|
54530
54647
|
}
|
|
54531
|
-
let
|
|
54648
|
+
let ht = Z(() => {
|
|
54532
54649
|
let e = v.value?.piece;
|
|
54533
|
-
return e ? e.note ? `过程说明 · ${
|
|
54534
|
-
}),
|
|
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(() => {
|
|
54535
54652
|
if (!v.value) return [];
|
|
54536
54653
|
let e = _.value.get(v.value.row.item.id);
|
|
54537
54654
|
return v.value.related.notes.map((t) => ({
|
|
@@ -54540,135 +54657,151 @@ var Q1 = {
|
|
|
54540
54657
|
}));
|
|
54541
54658
|
});
|
|
54542
54659
|
return (e, t) => {
|
|
54543
|
-
let r = sA, s = pA;
|
|
54544
|
-
return U(), W("section",
|
|
54545
|
-
t[
|
|
54546
|
-
m.value ? (U(), W("p",
|
|
54547
|
-
te.value && !
|
|
54548
|
-
|
|
54660
|
+
let r = bH, o = sA, s = pA;
|
|
54661
|
+
return U(), W("section", r0, [
|
|
54662
|
+
t[30] ||= K("div", { class: "page-heading" }, [K("div", null, [K("h2", null, "执行时间线"), K("p", null, "本机接入程序唤醒的每次执行;点名字看详情,悬停条形看当时的过程说明。")])], -1),
|
|
54663
|
+
m.value ? (U(), W("p", i0, P(m.value), 1)) : Y("", !0),
|
|
54664
|
+
te.value && !Se.value.length ? (U(), W("p", a0, "还没有执行记录。")) : Y("", !0),
|
|
54665
|
+
Se.value.length ? (U(), W("div", {
|
|
54549
54666
|
key: 2,
|
|
54550
54667
|
ref_key: "wf_element",
|
|
54551
54668
|
ref: x,
|
|
54552
54669
|
class: "wf"
|
|
54553
54670
|
}, [
|
|
54554
|
-
K("header",
|
|
54555
|
-
t[
|
|
54556
|
-
|
|
54557
|
-
|
|
54558
|
-
|
|
54559
|
-
|
|
54560
|
-
|
|
54561
|
-
|
|
54562
|
-
|
|
54563
|
-
|
|
54564
|
-
|
|
54565
|
-
|
|
54566
|
-
|
|
54567
|
-
|
|
54568
|
-
|
|
54569
|
-
|
|
54570
|
-
|
|
54571
|
-
|
|
54572
|
-
|
|
54573
|
-
|
|
54574
|
-
]),
|
|
54575
|
-
pe.value ? (U(), W("span", i0, "回放中 · " + P(Je(me.value)), 1)) : (U(), W("span", {
|
|
54671
|
+
K("header", o0, [
|
|
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", {
|
|
54576
54691
|
key: 1,
|
|
54577
|
-
class: M(["wf-state", { "is-live":
|
|
54578
|
-
}, P(
|
|
54579
|
-
|
|
54580
|
-
t[
|
|
54581
|
-
K("b", null, [J(P(I(i).display_name(
|
|
54582
|
-
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)
|
|
54583
54698
|
])) : Y("", !0)
|
|
54584
54699
|
]),
|
|
54585
|
-
K("dl",
|
|
54586
|
-
K("div", null, [t[
|
|
54587
|
-
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,
|
|
54588
54703
|
class: "wf-roll"
|
|
54589
|
-
}, P(
|
|
54590
|
-
K("div", null, [t[
|
|
54591
|
-
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,
|
|
54592
54707
|
class: "wf-roll"
|
|
54593
|
-
}, P(
|
|
54594
|
-
K("div", null, [t[
|
|
54595
|
-
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,
|
|
54596
54711
|
class: "wf-roll"
|
|
54597
|
-
}, P(
|
|
54598
|
-
K("div", { title: `超过 ${a} 分钟没有输出` }, [t[
|
|
54599
|
-
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,
|
|
54600
54715
|
class: "wf-roll"
|
|
54601
|
-
}, P(
|
|
54602
|
-
K("div", { title:
|
|
54603
|
-
K("div",
|
|
54604
|
-
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,
|
|
54605
54720
|
class: "wf-roll"
|
|
54606
|
-
}, P(
|
|
54721
|
+
}, P(Ge.value.tool_segments), 1)), t[18] ||= J(" 段", -1)], 2)])
|
|
54607
54722
|
]),
|
|
54608
|
-
K("ul",
|
|
54609
|
-
(U(!0), W(H, null, B(
|
|
54610
|
-
|
|
54611
|
-
|
|
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)
|
|
54612
54727
|
]),
|
|
54613
54728
|
K("div", {
|
|
54614
|
-
class: "wf-grid",
|
|
54729
|
+
class: M(["wf-grid", {
|
|
54730
|
+
"is-zoomed": Oe.value,
|
|
54731
|
+
"is-panning": I(ne)
|
|
54732
|
+
}]),
|
|
54615
54733
|
role: "list",
|
|
54616
|
-
style: fe({ "--wf-depth-px": `${
|
|
54734
|
+
style: fe({ "--wf-depth-px": `${_2}px` }),
|
|
54735
|
+
onWheel: ie,
|
|
54736
|
+
onMousedown: se,
|
|
54737
|
+
onPointerdown: j,
|
|
54738
|
+
onPointermove: ae,
|
|
54739
|
+
onPointerup: oe,
|
|
54740
|
+
onPointercancel: oe
|
|
54617
54741
|
}, [
|
|
54618
|
-
K("div",
|
|
54619
|
-
|
|
54620
|
-
|
|
54621
|
-
|
|
54622
|
-
|
|
54623
|
-
|
|
54624
|
-
|
|
54625
|
-
|
|
54626
|
-
|
|
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", {
|
|
54745
|
+
type: "button",
|
|
54746
|
+
class: "wf-text-button",
|
|
54747
|
+
onClick: t[1] ||= (e) => De.value = Ee
|
|
54748
|
+
}, "重置")])) : (U(), W("span", v0, "Ctrl + 滚轮缩放")),
|
|
54749
|
+
Ke.value.length ? (U(), W("span", y0, [K("button", {
|
|
54750
|
+
type: "button",
|
|
54751
|
+
class: "wf-text-button",
|
|
54752
|
+
onClick: t[2] ||= (e) => g.value = /* @__PURE__ */ new Set()
|
|
54753
|
+
}, "展开全部"), K("button", {
|
|
54754
|
+
type: "button",
|
|
54755
|
+
class: "wf-text-button",
|
|
54756
|
+
onClick: t[3] ||= (e) => g.value = new Set(Ke.value)
|
|
54757
|
+
}, "收起全部")])) : Y("", !0)
|
|
54758
|
+
]),
|
|
54627
54759
|
K("div", {
|
|
54628
54760
|
ref_key: "axis_element",
|
|
54629
54761
|
ref: c,
|
|
54630
54762
|
class: "wf-axis",
|
|
54631
|
-
"aria-hidden": "true"
|
|
54763
|
+
"aria-hidden": "true",
|
|
54764
|
+
onDblclick: t[4] ||= (e) => De.value = Ee
|
|
54632
54765
|
}, [
|
|
54633
|
-
(U(!0), W(H, null, B(
|
|
54766
|
+
(U(!0), W(H, null, B($e.value, (e) => (U(), W("span", {
|
|
54634
54767
|
key: e.at,
|
|
54635
54768
|
class: "wf-tick",
|
|
54636
54769
|
style: fe({ left: `${e.x * 100}%` })
|
|
54637
|
-
}, P(
|
|
54638
|
-
(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", {
|
|
54639
54772
|
key: `fold-${e.start}`,
|
|
54640
54773
|
class: "wf-fold-label",
|
|
54641
|
-
style: fe({ left: `${
|
|
54642
|
-
title: `${
|
|
54643
|
-
}, "⋯ " + P(I(P1)(e.end - e.start)), 13,
|
|
54644
|
-
|
|
54774
|
+
style: fe({ left: `${e.middle * 100}%` }),
|
|
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", {
|
|
54645
54778
|
key: 0,
|
|
54646
54779
|
class: "wf-cursor-head",
|
|
54647
|
-
style: fe({ left: `${
|
|
54780
|
+
style: fe({ left: `${Ae.value * 100}%` })
|
|
54648
54781
|
}, null, 4))
|
|
54649
|
-
],
|
|
54650
|
-
t[
|
|
54651
|
-
(U(!0), W(H, null, B(
|
|
54782
|
+
], 544),
|
|
54783
|
+
t[21] ||= K("span", { class: "wf-axis-end" }, "用时", -1),
|
|
54784
|
+
(U(!0), W(H, null, B(Ce.value, (e) => (U(), W("div", {
|
|
54652
54785
|
key: e.key,
|
|
54653
54786
|
role: "listitem",
|
|
54654
54787
|
class: M(["wf-row", [`is-${e.item.state}`, {
|
|
54655
54788
|
"is-open": y.value === e.key,
|
|
54656
|
-
"is-entering":
|
|
54789
|
+
"is-entering": Be.value.has(e.key)
|
|
54657
54790
|
}]])
|
|
54658
54791
|
}, [
|
|
54659
54792
|
K("div", {
|
|
54660
54793
|
class: "wf-label",
|
|
54661
54794
|
style: fe({ "--depth": e.depth })
|
|
54662
54795
|
}, [
|
|
54663
|
-
e.depth ? (U(), W("span",
|
|
54796
|
+
e.depth ? (U(), W("span", x0)) : Y("", !0),
|
|
54664
54797
|
e.has_children ? (U(), W("button", {
|
|
54665
54798
|
key: 1,
|
|
54666
54799
|
type: "button",
|
|
54667
54800
|
class: M(["wf-toggle", { "is-open": !g.value.has(e.key) }]),
|
|
54668
54801
|
"aria-expanded": !g.value.has(e.key),
|
|
54669
54802
|
"aria-label": `${g.value.has(e.key) ? "展开" : "收起"} ${I(i).display_name(e.item.member)} 派出的执行`,
|
|
54670
|
-
onClick: (t) =>
|
|
54671
|
-
}, [q(
|
|
54803
|
+
onClick: (t) => tt(e.key)
|
|
54804
|
+
}, [q(o, { name: "i-lucide-chevron-right" })], 10, S0)) : (U(), W("span", C0)),
|
|
54672
54805
|
q(s, {
|
|
54673
54806
|
src: I(i).identities[e.item.member]?.icon,
|
|
54674
54807
|
text: I(i).identities[e.item.member]?.initials,
|
|
@@ -54685,37 +54818,37 @@ var Q1 = {
|
|
|
54685
54818
|
type: "button",
|
|
54686
54819
|
class: "wf-names",
|
|
54687
54820
|
"aria-expanded": y.value === e.key,
|
|
54688
|
-
onClick: (t) =>
|
|
54689
|
-
onMouseenter: (t) =>
|
|
54821
|
+
onClick: (t) => et(e, t),
|
|
54822
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54690
54823
|
label: I(j1)[e.item.state],
|
|
54691
54824
|
start: e.start,
|
|
54692
54825
|
end: e.end,
|
|
54693
|
-
text:
|
|
54826
|
+
text: at(e).text,
|
|
54694
54827
|
live: e.item.state === "running"
|
|
54695
54828
|
}),
|
|
54696
|
-
onMouseleave: (t) =>
|
|
54697
|
-
}, [K("span",
|
|
54698
|
-
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),
|
|
54699
54832
|
K("strong", null, P(I(i).display_name(e.item.member)), 1),
|
|
54700
|
-
(U(!0), W(H, null, B(
|
|
54833
|
+
(U(!0), W(H, null, B(it(e), (e) => (U(), W("em", {
|
|
54701
54834
|
key: e,
|
|
54702
54835
|
class: "wf-pill is-role"
|
|
54703
54836
|
}, P(e), 1))), 128)),
|
|
54704
|
-
|
|
54705
|
-
]), 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)
|
|
54706
54839
|
], 4),
|
|
54707
54840
|
K("div", {
|
|
54708
54841
|
class: "wf-lane",
|
|
54709
54842
|
role: "img",
|
|
54710
|
-
"aria-label":
|
|
54711
|
-
onMouseleave: (t) =>
|
|
54712
|
-
}, [K("div",
|
|
54713
|
-
(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", {
|
|
54714
54847
|
key: e.at,
|
|
54715
54848
|
class: "wf-gridline",
|
|
54716
54849
|
style: fe({ left: `${e.x * 100}%` })
|
|
54717
54850
|
}, null, 4))), 128)),
|
|
54718
|
-
(U(!0), W(H, null, B(
|
|
54851
|
+
(U(!0), W(H, null, B(ke.value.folds, (e) => (U(), W("i", {
|
|
54719
54852
|
key: e.start,
|
|
54720
54853
|
class: "wf-fold",
|
|
54721
54854
|
style: fe({
|
|
@@ -54723,216 +54856,220 @@ var Q1 = {
|
|
|
54723
54856
|
width: `${e.width * 100}%`
|
|
54724
54857
|
})
|
|
54725
54858
|
}, null, 4))), 128)),
|
|
54726
|
-
t[
|
|
54727
|
-
(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", {
|
|
54728
54861
|
key: `link-${t}`,
|
|
54729
54862
|
class: M(["wf-link", `is-${e.part}`]),
|
|
54730
|
-
"data-tone":
|
|
54863
|
+
"data-tone": Ze.value.get(e.member),
|
|
54731
54864
|
style: fe({ left: `${e.x * 100}%` })
|
|
54732
|
-
}, null, 14,
|
|
54733
|
-
|
|
54865
|
+
}, null, 14, j0))), 128)),
|
|
54866
|
+
Ae.value === null ? Y("", !0) : (U(), W("i", {
|
|
54734
54867
|
key: 0,
|
|
54735
54868
|
class: "wf-cursor",
|
|
54736
|
-
style: fe({ left: `${
|
|
54869
|
+
style: fe({ left: `${Ae.value * 100}%` })
|
|
54737
54870
|
}, null, 4)),
|
|
54738
54871
|
K("i", {
|
|
54739
54872
|
class: "wf-bar is-queue",
|
|
54740
|
-
style: fe(
|
|
54741
|
-
onMouseenter: (t) =>
|
|
54873
|
+
style: fe(nt(...e.queue)),
|
|
54874
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54742
54875
|
label: "排队",
|
|
54743
54876
|
start: e.queue[0],
|
|
54744
54877
|
end: e.queue[1]
|
|
54745
54878
|
}),
|
|
54746
|
-
onClick: (t) =>
|
|
54879
|
+
onClick: (t) => pt(t, e, {
|
|
54747
54880
|
label: "排队",
|
|
54748
54881
|
start: e.queue[0],
|
|
54749
54882
|
end: e.queue[1]
|
|
54750
54883
|
})
|
|
54751
|
-
}, null, 44,
|
|
54884
|
+
}, null, 44, M0),
|
|
54752
54885
|
e.wake ? (U(), W("i", {
|
|
54753
54886
|
key: 1,
|
|
54754
54887
|
class: "wf-bar is-wake",
|
|
54755
|
-
style: fe(
|
|
54756
|
-
onMouseenter: (t) =>
|
|
54888
|
+
style: fe(nt(...e.wake)),
|
|
54889
|
+
onMouseenter: (t) => ft(t, e, {
|
|
54757
54890
|
label: e.wake_approx ? "唤醒(约)" : "唤醒",
|
|
54758
54891
|
start: e.wake[0],
|
|
54759
54892
|
end: e.wake[1]
|
|
54760
54893
|
}),
|
|
54761
|
-
onClick: (t) =>
|
|
54894
|
+
onClick: (t) => pt(t, e, {
|
|
54762
54895
|
label: e.wake_approx ? "唤醒(约)" : "唤醒",
|
|
54763
54896
|
start: e.wake[0],
|
|
54764
54897
|
end: e.wake[1]
|
|
54765
54898
|
})
|
|
54766
|
-
}, null, 44,
|
|
54899
|
+
}, null, 44, N0)) : Y("", !0),
|
|
54767
54900
|
e.work ? (U(), W("i", {
|
|
54768
54901
|
key: 2,
|
|
54769
54902
|
class: M(["wf-bar is-work", { "has-detail": e.segments.length }]),
|
|
54770
|
-
"data-tone": e.segments.length ? void 0 :
|
|
54771
|
-
style: fe(
|
|
54772
|
-
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, {
|
|
54773
54906
|
label: e.segments.length ? "执行" : "执行 · 无阶段明细",
|
|
54774
54907
|
start: e.work[0],
|
|
54775
54908
|
end: e.work[1],
|
|
54776
54909
|
live: e.item.state === "running"
|
|
54777
54910
|
}),
|
|
54778
|
-
onClick: (t) =>
|
|
54911
|
+
onClick: (t) => pt(t, e, {
|
|
54779
54912
|
label: e.segments.length ? "执行" : "执行 · 无阶段明细",
|
|
54780
54913
|
start: e.work[0],
|
|
54781
54914
|
end: e.work[1],
|
|
54782
54915
|
live: e.item.state === "running"
|
|
54783
54916
|
})
|
|
54784
|
-
}, null, 46,
|
|
54917
|
+
}, null, 46, P0)) : Y("", !0),
|
|
54785
54918
|
(U(!0), W(H, null, B(e.segments, (t) => (U(), W(H, { key: t.start + t.phase }, [K("i", {
|
|
54786
54919
|
class: M(["wf-bar wf-seg", [`is-${I(A1)[t.phase]}`, { "is-live": t.live }]]),
|
|
54787
|
-
"data-tone":
|
|
54788
|
-
style: fe(
|
|
54789
|
-
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, {
|
|
54790
54923
|
kind: "segment",
|
|
54791
54924
|
...t
|
|
54792
54925
|
}),
|
|
54793
|
-
onClick: (n) =>
|
|
54926
|
+
onClick: (n) => pt(n, e, {
|
|
54794
54927
|
kind: "segment",
|
|
54795
54928
|
...t
|
|
54796
54929
|
})
|
|
54797
|
-
}, null, 46,
|
|
54930
|
+
}, null, 46, F0), t.end > t.seen ? (U(), W("i", {
|
|
54798
54931
|
key: 0,
|
|
54799
54932
|
class: M(["wf-bar wf-seg is-tail", `is-${I(A1)[t.phase]}`]),
|
|
54800
|
-
"data-tone":
|
|
54801
|
-
style: fe(
|
|
54802
|
-
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, {
|
|
54803
54936
|
kind: "segment",
|
|
54804
54937
|
...t
|
|
54805
54938
|
}),
|
|
54806
|
-
onClick: (n) =>
|
|
54939
|
+
onClick: (n) => pt(n, e, {
|
|
54807
54940
|
kind: "segment",
|
|
54808
54941
|
...t
|
|
54809
54942
|
})
|
|
54810
|
-
}, null, 46,
|
|
54943
|
+
}, null, 46, I0)) : Y("", !0)], 64))), 128)),
|
|
54811
54944
|
(U(!0), W(H, null, B(e.notes, (t) => (U(), W("button", {
|
|
54812
54945
|
key: `note-${t.index}`,
|
|
54813
54946
|
type: "button",
|
|
54814
54947
|
class: "wf-note",
|
|
54815
|
-
style: fe({ left: `${
|
|
54816
|
-
"aria-label": `${I(i).display_name(e.item.member)} 的第 ${t.index + 1} 段过程说明,${
|
|
54817
|
-
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, {
|
|
54818
54951
|
note: t,
|
|
54819
54952
|
start: t.at,
|
|
54820
54953
|
end: t.at
|
|
54821
54954
|
}),
|
|
54822
|
-
onClick: (n) =>
|
|
54955
|
+
onClick: (n) => pt(n, e, {
|
|
54823
54956
|
note: t,
|
|
54824
54957
|
start: t.at,
|
|
54825
54958
|
end: t.at
|
|
54826
54959
|
}),
|
|
54827
|
-
onFocus: (n) =>
|
|
54960
|
+
onFocus: (n) => ft(n, e, {
|
|
54828
54961
|
note: t,
|
|
54829
54962
|
start: t.at,
|
|
54830
54963
|
end: t.at
|
|
54831
54964
|
}),
|
|
54832
|
-
onBlur: (t) =>
|
|
54833
|
-
}, null, 44,
|
|
54834
|
-
])], 40,
|
|
54835
|
-
K("span",
|
|
54965
|
+
onBlur: (t) => mt(e)
|
|
54966
|
+
}, null, 44, L0))), 128))
|
|
54967
|
+
])], 40, k0),
|
|
54968
|
+
K("span", R0, [
|
|
54836
54969
|
J(P(I(P1)(e.end - e.start)) + P(e.wake_approx && e.wake ? "~" : ""), 1),
|
|
54837
54970
|
e.item.state === "done" ? Y("", !0) : (U(), W("small", {
|
|
54838
54971
|
key: 0,
|
|
54839
54972
|
class: M(`is-${e.item.state}`)
|
|
54840
54973
|
}, P(I(j1)[e.item.state]), 3)),
|
|
54841
|
-
e.truncated ? (U(), W("small",
|
|
54974
|
+
e.truncated ? (U(), W("small", z0, "明细已截断")) : Y("", !0)
|
|
54842
54975
|
])
|
|
54843
54976
|
], 2))), 128))
|
|
54844
|
-
],
|
|
54845
|
-
|
|
54977
|
+
], 38),
|
|
54978
|
+
qe.value && b.value ? (U(), W("div", {
|
|
54846
54979
|
key: 0,
|
|
54847
54980
|
class: "wf-detail",
|
|
54848
54981
|
role: "dialog",
|
|
54849
|
-
"aria-label": `${I(i).display_name(
|
|
54982
|
+
"aria-label": `${I(i).display_name(qe.value.item.member)} 的这次执行`,
|
|
54850
54983
|
style: fe({
|
|
54851
54984
|
top: `${b.value.top}px`,
|
|
54852
54985
|
left: `${b.value.left}px`
|
|
54853
54986
|
})
|
|
54854
54987
|
}, [
|
|
54855
|
-
K("header",
|
|
54856
|
-
K("strong", null, P(I(i).display_name(
|
|
54857
|
-
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),
|
|
54858
54991
|
K("button", {
|
|
54859
54992
|
type: "button",
|
|
54860
54993
|
class: "wf-card-close",
|
|
54861
54994
|
"aria-label": "关闭",
|
|
54862
|
-
onClick: t[
|
|
54863
|
-
}, [q(
|
|
54995
|
+
onClick: t[5] ||= (e) => y.value = ""
|
|
54996
|
+
}, [q(o, { name: "i-lucide-x" })])
|
|
54864
54997
|
]),
|
|
54865
54998
|
K("dl", null, [
|
|
54866
|
-
|
|
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", {
|
|
54867
55000
|
key: 0,
|
|
54868
55001
|
type: "button",
|
|
54869
55002
|
class: "subtle-link",
|
|
54870
|
-
onClick: t[
|
|
54871
|
-
}, "#" + P(
|
|
54872
|
-
|
|
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", {
|
|
54873
55006
|
key: 0,
|
|
54874
55007
|
type: "button",
|
|
54875
55008
|
class: "subtle-link",
|
|
54876
|
-
onClick: t[
|
|
54877
|
-
}, "在消息中查看 #" + P(
|
|
54878
|
-
|
|
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)
|
|
54879
55012
|
]),
|
|
54880
|
-
|
|
55013
|
+
Je.value.length ? (U(), W("ol", q0, [(U(!0), W(H, null, B(Je.value, (e) => (U(), W("li", {
|
|
54881
55014
|
key: `${e.kind}-${e.at}-${e.phase || ""}`,
|
|
54882
55015
|
class: M(`log-${e.kind}`)
|
|
54883
|
-
}, [K("time", null, P(
|
|
55016
|
+
}, [K("time", null, P(ct(e.at)), 1), e.kind === "phase" ? (U(), W(H, { key: 0 }, [K("i", {
|
|
54884
55017
|
class: M(["wf-swatch", `is-${I(A1)[e.phase]}`]),
|
|
54885
|
-
"data-tone":
|
|
55018
|
+
"data-tone": Ze.value.get(qe.value.item.member),
|
|
54886
55019
|
"aria-hidden": "true"
|
|
54887
|
-
}, null, 10,
|
|
55020
|
+
}, null, 10, J0), K("span", null, [
|
|
54888
55021
|
J(P(I(k1)[e.phase]), 1),
|
|
54889
55022
|
e.tool ? (U(), W(H, { key: 0 }, [J(" · " + P(e.tool), 1)], 64)) : Y("", !0),
|
|
54890
55023
|
J(" · " + P(e.live ? "进行中" : I(P1)(e.duration)), 1)
|
|
54891
|
-
])], 64)) : (U(), W("span",
|
|
54892
|
-
], 12,
|
|
54893
|
-
|
|
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 }, [
|
|
54894
55027
|
K("button", {
|
|
54895
55028
|
type: "button",
|
|
54896
55029
|
class: "wf-player-button",
|
|
54897
55030
|
"aria-label": k.playing ? "暂停回放" : "回放这一轮",
|
|
54898
|
-
onClick: t[
|
|
54899
|
-
}, [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),
|
|
54900
55033
|
K("button", {
|
|
54901
55034
|
type: "button",
|
|
54902
55035
|
class: "wf-player-button",
|
|
54903
55036
|
"aria-label": "从头回放",
|
|
54904
|
-
disabled: !
|
|
54905
|
-
onClick:
|
|
54906
|
-
}, [q(
|
|
54907
|
-
|
|
54908
|
-
|
|
55037
|
+
disabled: !be.value,
|
|
55038
|
+
onClick: Re
|
|
55039
|
+
}, [q(o, { name: "i-lucide-rotate-ccw" })], 8, e2),
|
|
55040
|
+
q(r, {
|
|
55041
|
+
modelValue: k.speed,
|
|
55042
|
+
"onUpdate:modelValue": t[9] ||= (e) => k.speed = e,
|
|
55043
|
+
items: Me.value,
|
|
55044
|
+
variant: "none",
|
|
55045
|
+
"aria-label": "回放速度",
|
|
54909
55046
|
class: "wf-speed",
|
|
54910
|
-
|
|
54911
|
-
|
|
54912
|
-
|
|
54913
|
-
|
|
54914
|
-
|
|
54915
|
-
|
|
54916
|
-
|
|
54917
|
-
|
|
54918
|
-
|
|
54919
|
-
]
|
|
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"]),
|
|
54920
55057
|
K("input", {
|
|
54921
55058
|
type: "range",
|
|
54922
55059
|
class: "wf-scrub",
|
|
54923
55060
|
min: "0",
|
|
54924
|
-
max:
|
|
55061
|
+
max: ye.value.duration,
|
|
54925
55062
|
step: "100",
|
|
54926
|
-
value:
|
|
55063
|
+
value: be.value ? k.position : ye.value.duration,
|
|
54927
55064
|
"aria-label": "回放位置",
|
|
54928
|
-
onInput:
|
|
54929
|
-
}, null, 40,
|
|
54930
|
-
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)
|
|
54931
55068
|
], 64))])),
|
|
54932
|
-
|
|
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", {
|
|
54933
55070
|
class: "wf-swatch is-fold",
|
|
54934
55071
|
"aria-hidden": "true"
|
|
54935
|
-
}, 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)
|
|
54936
55073
|
], 512)) : Y("", !0),
|
|
54937
55074
|
v.value ? (U(), W("div", {
|
|
54938
55075
|
key: 3,
|
|
@@ -54943,88 +55080,88 @@ var Q1 = {
|
|
|
54943
55080
|
top: `${v.value.top}px`
|
|
54944
55081
|
})
|
|
54945
55082
|
}, [
|
|
54946
|
-
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),
|
|
54947
55084
|
v.value.pinned ? (U(), W("button", {
|
|
54948
55085
|
key: 0,
|
|
54949
55086
|
type: "button",
|
|
54950
55087
|
class: "wf-card-close",
|
|
54951
55088
|
"aria-label": "关闭",
|
|
54952
|
-
onClick: t[
|
|
54953
|
-
}, [q(
|
|
54954
|
-
K("small", null, [J(P(
|
|
54955
|
-
v.value.piece.text ? (U(), W("p",
|
|
54956
|
-
|
|
54957
|
-
], 14,
|
|
55089
|
+
onClick: t[10] ||= (e) => v.value = null
|
|
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)
|
|
54958
55095
|
]);
|
|
54959
55096
|
};
|
|
54960
55097
|
}
|
|
54961
|
-
}, [["__scopeId", "data-v-
|
|
55098
|
+
}, [["__scopeId", "data-v-ae571187"]]), k2 = {
|
|
54962
55099
|
id: "channel-sidebar",
|
|
54963
55100
|
class: "channel-sidebar",
|
|
54964
55101
|
"aria-label": "房间导航"
|
|
54965
|
-
},
|
|
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 = [
|
|
54966
55103
|
"aria-valuemax",
|
|
54967
55104
|
"aria-valuenow",
|
|
54968
55105
|
"aria-valuetext"
|
|
54969
|
-
],
|
|
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 = {
|
|
54970
55107
|
key: 0,
|
|
54971
55108
|
class: "channel-header-context"
|
|
54972
|
-
},
|
|
55109
|
+
}, G2 = { class: "channel-header-actions" }, K2 = {
|
|
54973
55110
|
key: 0,
|
|
54974
55111
|
class: "channel-launch-recovery",
|
|
54975
55112
|
"aria-label": "未完成的创建或启动请求"
|
|
54976
|
-
},
|
|
55113
|
+
}, q2 = { role: "status" }, J2 = { class: "button-row" }, Y2 = {
|
|
54977
55114
|
key: 1,
|
|
54978
55115
|
class: "channel-tabbar"
|
|
54979
|
-
},
|
|
55116
|
+
}, X2 = { class: "channel-brief-inner" }, Z2 = { class: "channel-brief-heading" }, Q2 = ["aria-label", "aria-expanded"], $2 = {
|
|
54980
55117
|
key: 0,
|
|
54981
55118
|
class: "channel-brief-preview"
|
|
54982
|
-
},
|
|
55119
|
+
}, e4 = {
|
|
54983
55120
|
id: "channel-brief-content",
|
|
54984
55121
|
class: "channel-brief-content"
|
|
54985
|
-
},
|
|
55122
|
+
}, t4 = ["innerHTML"], n4 = { class: "channel-brief-footer" }, r4 = { class: "channel-brief-status" }, i4 = { class: "channel-content" }, a4 = {
|
|
54986
55123
|
key: 0,
|
|
54987
55124
|
class: "content-page merged-page",
|
|
54988
55125
|
role: "tabpanel",
|
|
54989
55126
|
"aria-label": "讨论"
|
|
54990
|
-
},
|
|
55127
|
+
}, o4 = {
|
|
54991
55128
|
key: 1,
|
|
54992
55129
|
class: "merged-section",
|
|
54993
55130
|
"aria-label": "当前讨论"
|
|
54994
|
-
},
|
|
55131
|
+
}, s4 = { class: "page-heading" }, c4 = {
|
|
54995
55132
|
key: 0,
|
|
54996
55133
|
class: "fine-print"
|
|
54997
|
-
},
|
|
55134
|
+
}, l4 = {
|
|
54998
55135
|
class: "merged-section channel-summary",
|
|
54999
55136
|
"aria-label": "当前共识"
|
|
55000
|
-
},
|
|
55137
|
+
}, u4 = { class: "page-heading" }, d4 = { class: "form-footer" }, f4 = { class: "button-row" }, p4 = { class: "consensus-card is-brief" }, m4 = ["innerHTML"], h4 = {
|
|
55001
55138
|
key: 0,
|
|
55002
55139
|
class: "consensus-card"
|
|
55003
|
-
},
|
|
55140
|
+
}, g4 = ["innerHTML"], _4 = {
|
|
55004
55141
|
key: 2,
|
|
55005
55142
|
class: "fine-print"
|
|
55006
|
-
},
|
|
55143
|
+
}, v4 = {
|
|
55007
55144
|
key: 1,
|
|
55008
55145
|
class: "content-page merged-page",
|
|
55009
55146
|
role: "tabpanel",
|
|
55010
55147
|
"aria-label": "房间"
|
|
55011
|
-
},
|
|
55148
|
+
}, y4 = {
|
|
55012
55149
|
key: 2,
|
|
55013
55150
|
class: "content-page merged-page",
|
|
55014
55151
|
role: "tabpanel",
|
|
55015
55152
|
"aria-label": "执行"
|
|
55016
|
-
},
|
|
55153
|
+
}, b4 = {
|
|
55017
55154
|
key: 1,
|
|
55018
55155
|
class: "channel-empty"
|
|
55019
|
-
},
|
|
55156
|
+
}, x4 = ["aria-valuenow", "aria-valuetext"], S4 = {
|
|
55020
55157
|
key: 2,
|
|
55021
55158
|
id: "channel-member-rail",
|
|
55022
55159
|
class: "channel-member-rail",
|
|
55023
55160
|
"aria-label": "当前焦点与讨论进度"
|
|
55024
|
-
},
|
|
55161
|
+
}, C4 = { class: "channel-rail-board" }, w4 = {
|
|
55025
55162
|
key: 2,
|
|
55026
55163
|
class: "progress-board is-docked"
|
|
55027
|
-
},
|
|
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 = {
|
|
55028
55165
|
__name: "ChannelWorkspace",
|
|
55029
55166
|
setup(e) {
|
|
55030
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 = [{
|
|
@@ -55046,14 +55183,14 @@ var Q1 = {
|
|
|
55046
55183
|
label: "宽",
|
|
55047
55184
|
width: 1240
|
|
55048
55185
|
}
|
|
55049
|
-
}, 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(() => {
|
|
55050
55187
|
let e = document.createElement("template");
|
|
55051
55188
|
return e.innerHTML = o.value?.rendered_brief || "", e.content.textContent.replace(/\s+/g, " ").trim();
|
|
55052
|
-
}), 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(() => ({
|
|
55053
55190
|
"--channel-reading-width": `${y[x.value].width}px`,
|
|
55054
55191
|
"--channel-rail-width": `${C.value}px`,
|
|
55055
55192
|
"--channel-topbar-height": `${re.value}px`,
|
|
55056
|
-
"--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)`
|
|
55057
55194
|
})), le = Object.entries(y).map(([e, t]) => ({
|
|
55058
55195
|
value: e,
|
|
55059
55196
|
label: t.label
|
|
@@ -55147,12 +55284,12 @@ var Q1 = {
|
|
|
55147
55284
|
}
|
|
55148
55285
|
function je() {
|
|
55149
55286
|
try {
|
|
55150
|
-
let e = JSON.parse(localStorage.getItem(
|
|
55287
|
+
let e = JSON.parse(localStorage.getItem(D4)) || {};
|
|
55151
55288
|
return {
|
|
55152
55289
|
reading: Object.hasOwn(y, e.reading) ? e.reading : "default",
|
|
55153
55290
|
effects: e.effects === "reduced" ? "reduced" : "full",
|
|
55154
|
-
rail: Number.isFinite(e.rail) ? Math.min(
|
|
55155
|
-
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(),
|
|
55156
55293
|
collapsed: e.collapsed === !0,
|
|
55157
55294
|
brief_collapsed: e.brief_collapsed === !0,
|
|
55158
55295
|
rail_collapsed: e.rail_collapsed === !0
|
|
@@ -55161,7 +55298,7 @@ var Q1 = {
|
|
|
55161
55298
|
return {
|
|
55162
55299
|
reading: "default",
|
|
55163
55300
|
effects: "full",
|
|
55164
|
-
rail:
|
|
55301
|
+
rail: A4,
|
|
55165
55302
|
nav: Me(),
|
|
55166
55303
|
collapsed: !1,
|
|
55167
55304
|
brief_collapsed: !1,
|
|
@@ -55170,11 +55307,11 @@ var Q1 = {
|
|
|
55170
55307
|
}
|
|
55171
55308
|
}
|
|
55172
55309
|
function Me() {
|
|
55173
|
-
return typeof window > "u" ?
|
|
55310
|
+
return typeof window > "u" ? P4 : window.innerWidth >= 1900 ? 280 : window.innerWidth <= 980 ? 220 : P4;
|
|
55174
55311
|
}
|
|
55175
55312
|
function Ne() {
|
|
55176
55313
|
try {
|
|
55177
|
-
localStorage.setItem(
|
|
55314
|
+
localStorage.setItem(D4, JSON.stringify({
|
|
55178
55315
|
reading: x.value,
|
|
55179
55316
|
effects: S.value,
|
|
55180
55317
|
rail: C.value,
|
|
@@ -55205,19 +55342,19 @@ var Q1 = {
|
|
|
55205
55342
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
55206
55343
|
}
|
|
55207
55344
|
function ze(e) {
|
|
55208
|
-
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))));
|
|
55209
55346
|
}
|
|
55210
55347
|
function Be(e) {
|
|
55211
55348
|
j.value?.pointer === e.pointerId && (j.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ne());
|
|
55212
55349
|
}
|
|
55213
55350
|
function Ve(e) {
|
|
55214
55351
|
let t = {
|
|
55215
|
-
ArrowLeft: C.value +
|
|
55216
|
-
ArrowRight: C.value -
|
|
55217
|
-
Home:
|
|
55218
|
-
End:
|
|
55352
|
+
ArrowLeft: C.value + j4,
|
|
55353
|
+
ArrowRight: C.value - j4,
|
|
55354
|
+
Home: O4,
|
|
55355
|
+
End: k4
|
|
55219
55356
|
};
|
|
55220
|
-
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());
|
|
55221
55358
|
}
|
|
55222
55359
|
function He(e) {
|
|
55223
55360
|
e.button === 0 && (e.preventDefault(), e.currentTarget.focus(), ae.value = {
|
|
@@ -55227,19 +55364,19 @@ var Q1 = {
|
|
|
55227
55364
|
}, e.currentTarget.setPointerCapture(e.pointerId));
|
|
55228
55365
|
}
|
|
55229
55366
|
function Ue(e) {
|
|
55230
|
-
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))));
|
|
55231
55368
|
}
|
|
55232
55369
|
function We(e) {
|
|
55233
55370
|
ae.value?.pointer === e.pointerId && (ae.value = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), Ne());
|
|
55234
55371
|
}
|
|
55235
55372
|
function Ge(e) {
|
|
55236
55373
|
let t = {
|
|
55237
|
-
ArrowLeft: se.value -
|
|
55238
|
-
ArrowRight: se.value +
|
|
55239
|
-
Home:
|
|
55374
|
+
ArrowLeft: se.value - F4,
|
|
55375
|
+
ArrowRight: se.value + F4,
|
|
55376
|
+
Home: M4,
|
|
55240
55377
|
End: oe.value
|
|
55241
55378
|
};
|
|
55242
|
-
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());
|
|
55243
55380
|
}
|
|
55244
55381
|
return (e, r) => {
|
|
55245
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;
|
|
@@ -55251,9 +55388,9 @@ var Q1 = {
|
|
|
55251
55388
|
}]),
|
|
55252
55389
|
style: fe(ce.value)
|
|
55253
55390
|
}, [
|
|
55254
|
-
K("aside",
|
|
55391
|
+
K("aside", k2, [
|
|
55255
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),
|
|
55256
|
-
K("div",
|
|
55393
|
+
K("div", A2, [
|
|
55257
55394
|
q(vZ, {
|
|
55258
55395
|
onSelect: Te,
|
|
55259
55396
|
onManage: Ce,
|
|
@@ -55263,12 +55400,12 @@ var Q1 = {
|
|
|
55263
55400
|
onDeleteFolder: Ae,
|
|
55264
55401
|
onArchives: we
|
|
55265
55402
|
}),
|
|
55266
|
-
K("div",
|
|
55403
|
+
K("div", j2, [K("button", {
|
|
55267
55404
|
type: "button",
|
|
55268
55405
|
class: "channel-section-toggle",
|
|
55269
55406
|
"aria-expanded": f.value,
|
|
55270
55407
|
onClick: r[0] ||= (e) => f.value = !f.value
|
|
55271
|
-
}, [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)]),
|
|
55272
55409
|
f.value ? (U(), G(b, {
|
|
55273
55410
|
key: 0,
|
|
55274
55411
|
items: be.value,
|
|
@@ -55284,7 +55421,7 @@ var Q1 = {
|
|
|
55284
55421
|
}
|
|
55285
55422
|
}, null, 8, ["items"])) : Y("", !0)
|
|
55286
55423
|
]),
|
|
55287
|
-
K("footer",
|
|
55424
|
+
K("footer", N2, [K("button", {
|
|
55288
55425
|
type: "button",
|
|
55289
55426
|
class: "channel-self-button",
|
|
55290
55427
|
"aria-label": `账号与设置:${I(n).display_name(I(_))}${xe.value ? "," + xe.value : ""}`,
|
|
@@ -55300,10 +55437,10 @@ var Q1 = {
|
|
|
55300
55437
|
"text",
|
|
55301
55438
|
"alt",
|
|
55302
55439
|
"class"
|
|
55303
|
-
]), 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", {
|
|
55304
55441
|
class: M({ connected: I(t).connected }),
|
|
55305
55442
|
title: I(t).connected ? "网站已连接" : "网站未连接"
|
|
55306
|
-
}, null, 10,
|
|
55443
|
+
}, null, 10, I2), J(P(xe.value || (I(t).connected ? "网站已连接" : "网站未连接")), 1)], 2)])], 8, P2), q(O, { text: "设置" }, {
|
|
55307
55444
|
default: L(() => [q(T, {
|
|
55308
55445
|
icon: "i-lucide-settings-2",
|
|
55309
55446
|
color: "neutral",
|
|
@@ -55324,7 +55461,7 @@ var Q1 = {
|
|
|
55324
55461
|
"aria-label": "调整房间栏宽度",
|
|
55325
55462
|
"aria-orientation": "vertical",
|
|
55326
55463
|
"aria-controls": "channel-sidebar",
|
|
55327
|
-
"aria-valuemin":
|
|
55464
|
+
"aria-valuemin": M4,
|
|
55328
55465
|
"aria-valuemax": oe.value,
|
|
55329
55466
|
"aria-valuenow": se.value,
|
|
55330
55467
|
"aria-valuetext": `${se.value} 像素`,
|
|
@@ -55335,13 +55472,13 @@ var Q1 = {
|
|
|
55335
55472
|
onPointercancel: We,
|
|
55336
55473
|
onLostpointercapture: We,
|
|
55337
55474
|
onKeydown: Ge
|
|
55338
|
-
}, null, 40,
|
|
55339
|
-
K("main",
|
|
55475
|
+
}, null, 40, L2)),
|
|
55476
|
+
K("main", R2, [K("div", {
|
|
55340
55477
|
ref_key: "topbar",
|
|
55341
55478
|
ref: ne,
|
|
55342
55479
|
class: M(["channel-topbar", { "is-overlay": o.value && I(t).tab === "discussion" }])
|
|
55343
55480
|
}, [
|
|
55344
|
-
K("header",
|
|
55481
|
+
K("header", z2, [
|
|
55345
55482
|
q(O, { text: E.value ? "展开房间栏" : "收起房间栏" }, {
|
|
55346
55483
|
default: L(() => [q(T, {
|
|
55347
55484
|
icon: "i-lucide-panel-left",
|
|
@@ -55366,8 +55503,8 @@ var Q1 = {
|
|
|
55366
55503
|
"aria-expanded": d.value,
|
|
55367
55504
|
onClick: r[4] ||= (e) => d.value = !0
|
|
55368
55505
|
}, null, 8, ["aria-expanded"]),
|
|
55369
|
-
K("span",
|
|
55370
|
-
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, {
|
|
55371
55508
|
key: 0,
|
|
55372
55509
|
color: "neutral",
|
|
55373
55510
|
variant: "subtle",
|
|
@@ -55376,12 +55513,12 @@ var Q1 = {
|
|
|
55376
55513
|
default: L(() => [...r[31] ||= [J("已存档", -1)]]),
|
|
55377
55514
|
_: 1
|
|
55378
55515
|
})) : Y("", !0)]),
|
|
55379
|
-
o.value ? (U(), W("span",
|
|
55516
|
+
o.value ? (U(), W("span", W2, [
|
|
55380
55517
|
J(P(de.find((e) => e.value === I(t).tab)?.label), 1),
|
|
55381
55518
|
r[32] ||= K("span", null, "·", -1),
|
|
55382
55519
|
J(P(o.value.message_count) + " 条记录", 1)
|
|
55383
55520
|
])) : Y("", !0),
|
|
55384
|
-
K("div",
|
|
55521
|
+
K("div", G2, [
|
|
55385
55522
|
I(t).tab === "discussion" ? (U(), W("form", {
|
|
55386
55523
|
key: 0,
|
|
55387
55524
|
class: "channel-search",
|
|
@@ -55460,12 +55597,12 @@ var Q1 = {
|
|
|
55460
55597
|
_: 1
|
|
55461
55598
|
}, 8, ["text"])
|
|
55462
55599
|
]),
|
|
55463
|
-
I(t).launch.recoveries.length ? (U(), W("section",
|
|
55600
|
+
I(t).launch.recoveries.length ? (U(), W("section", K2, [
|
|
55464
55601
|
r[33] ||= K("h2", null, "继续未完成的请求", -1),
|
|
55465
55602
|
(U(!0), W(H, null, B(I(t).launch.recoveries, (e) => (U(), W("article", { key: e.id }, [
|
|
55466
55603
|
K("strong", null, P(e.title), 1),
|
|
55467
|
-
K("p",
|
|
55468
|
-
K("div",
|
|
55604
|
+
K("p", q2, P(e.error || "启动结果尚未确认;原请求已保存在此浏览器中。"), 1),
|
|
55605
|
+
K("div", J2, [
|
|
55469
55606
|
q(T, {
|
|
55470
55607
|
label: e.direct ? "继续创建房间" : "继续本次启动",
|
|
55471
55608
|
size: "sm",
|
|
@@ -55498,7 +55635,7 @@ var Q1 = {
|
|
|
55498
55635
|
]))), 128)),
|
|
55499
55636
|
r[34] ||= K("small", null, "移除待办不会删除房间或停止讨论。", -1)
|
|
55500
55637
|
])) : Y("", !0),
|
|
55501
|
-
o.value ? (U(), W("div",
|
|
55638
|
+
o.value ? (U(), W("div", Y2, [q(pe, {
|
|
55502
55639
|
modelValue: ue.value,
|
|
55503
55640
|
"onUpdate:modelValue": r[9] ||= (e) => ue.value = e,
|
|
55504
55641
|
items: de,
|
|
@@ -55513,7 +55650,7 @@ var Q1 = {
|
|
|
55513
55650
|
key: 2,
|
|
55514
55651
|
class: M(["channel-host-brief", { "is-collapsed": D.value }]),
|
|
55515
55652
|
"aria-label": "主持简报"
|
|
55516
|
-
}, [K("div",
|
|
55653
|
+
}, [K("div", X2, [K("div", Z2, [K("button", {
|
|
55517
55654
|
type: "button",
|
|
55518
55655
|
class: "channel-brief-toggle",
|
|
55519
55656
|
"aria-label": D.value ? "展开主持简报" : "收起主持简报",
|
|
@@ -55523,8 +55660,8 @@ var Q1 = {
|
|
|
55523
55660
|
}, [
|
|
55524
55661
|
q(y, { name: D.value ? "i-lucide-chevron-right" : "i-lucide-chevron-down" }, null, 8, ["name"]),
|
|
55525
55662
|
K("strong", null, "主持简报" + P(D.value ? ":" : ""), 1),
|
|
55526
|
-
D.value ? (U(), W("span",
|
|
55527
|
-
], 8,
|
|
55663
|
+
D.value ? (U(), W("span", $2, P(te.value), 1)) : Y("", !0)
|
|
55664
|
+
], 8, Q2), D.value ? Y("", !0) : (U(), G(T, {
|
|
55528
55665
|
key: 0,
|
|
55529
55666
|
label: "更新简报",
|
|
55530
55667
|
color: "neutral",
|
|
@@ -55532,20 +55669,20 @@ var Q1 = {
|
|
|
55532
55669
|
size: "xs",
|
|
55533
55670
|
class: "channel-brief-update",
|
|
55534
55671
|
onClick: r[10] ||= (e) => I(i)("tab", "context")
|
|
55535
|
-
}))]), vr(K("div",
|
|
55672
|
+
}))]), vr(K("div", e4, [K("div", {
|
|
55536
55673
|
class: "channel-brief-text markdown-body",
|
|
55537
55674
|
innerHTML: o.value.rendered_brief
|
|
55538
|
-
}, 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)
|
|
55539
55676
|
], 2), o.value ? (U(), W("div", {
|
|
55540
55677
|
key: 0,
|
|
55541
55678
|
class: M(["channel-body", { "channel-body-discussion": I(t).tab === "discussion" }])
|
|
55542
|
-
}, [K("div",
|
|
55679
|
+
}, [K("div", i4, [
|
|
55543
55680
|
vr(q(lK, {
|
|
55544
55681
|
onDetail: Ee,
|
|
55545
55682
|
onEdit: r[11] ||= (e) => s.value = "edit"
|
|
55546
55683
|
}, null, 512), [[Vc, I(t).tab === "discussion"]]),
|
|
55547
|
-
I(t).tab === "history" ? (U(), W("div",
|
|
55548
|
-
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, {
|
|
55549
55686
|
icon: "i-lucide-messages-square",
|
|
55550
55687
|
label: "开启讨论",
|
|
55551
55688
|
variant: "outline",
|
|
@@ -55553,13 +55690,13 @@ var Q1 = {
|
|
|
55553
55690
|
class: "channel-surface-button",
|
|
55554
55691
|
disabled: !_e.value,
|
|
55555
55692
|
onClick: r[13] ||= (e) => he.value = !0
|
|
55556
|
-
}, 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, {
|
|
55557
55694
|
key: 0,
|
|
55558
55695
|
section: "host",
|
|
55559
55696
|
onOpen: r[12] ||= (e) => s.value = e,
|
|
55560
55697
|
onDetail: Ee
|
|
55561
55698
|
})),
|
|
55562
|
-
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, {
|
|
55563
55700
|
key: 0,
|
|
55564
55701
|
icon: "i-lucide-pencil",
|
|
55565
55702
|
label: "编辑",
|
|
@@ -55603,7 +55740,7 @@ var Q1 = {
|
|
|
55603
55740
|
}, null, 8, ["modelValue"])]),
|
|
55604
55741
|
_: 1
|
|
55605
55742
|
}),
|
|
55606
|
-
K("div",
|
|
55743
|
+
K("div", d4, [K("span", null, "依据消息截止 #" + P(I(t).snapshot_id), 1), K("div", f4, [q(T, {
|
|
55607
55744
|
label: "取消",
|
|
55608
55745
|
color: "neutral",
|
|
55609
55746
|
variant: "ghost",
|
|
@@ -55616,7 +55753,7 @@ var Q1 = {
|
|
|
55616
55753
|
class: "channel-primary-button",
|
|
55617
55754
|
loading: I(a) === "save_context"
|
|
55618
55755
|
}, null, 8, ["loading"])])])
|
|
55619
|
-
], 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", {
|
|
55620
55757
|
key: 0,
|
|
55621
55758
|
type: "button",
|
|
55622
55759
|
class: "subtle-link",
|
|
@@ -55624,7 +55761,7 @@ var Q1 = {
|
|
|
55624
55761
|
}, "整理至 #" + P(o.value.state_until), 1)) : Y("", !0)]), K("div", {
|
|
55625
55762
|
class: "markdown-body",
|
|
55626
55763
|
innerHTML: o.value.rendered_brief
|
|
55627
|
-
}, null, 8,
|
|
55764
|
+
}, null, 8, m4)]), ve.value ? (U(), W("details", h4, [K("summary", null, [
|
|
55628
55765
|
r[38] ||= K("h3", null, "详细共识与进度", -1),
|
|
55629
55766
|
r[39] ||= K("span", null, "依据、已处理内容、未决问题与下一步", -1),
|
|
55630
55767
|
q(y, {
|
|
@@ -55634,21 +55771,21 @@ var Q1 = {
|
|
|
55634
55771
|
]), K("div", {
|
|
55635
55772
|
class: "markdown-body consensus-state",
|
|
55636
55773
|
innerHTML: ve.value
|
|
55637
|
-
}, null, 8,
|
|
55774
|
+
}, null, 8, g4)])) : Y("", !0)], 64)) : (U(), W("p", _4, "还没有共识。主持人会在讨论中整理,也可以点“编辑”自己写。"))]),
|
|
55638
55775
|
q(Z$, { onDetail: Ee }),
|
|
55639
55776
|
q(t$, {
|
|
55640
55777
|
open: he.value,
|
|
55641
55778
|
"onUpdate:open": r[19] ||= (e) => he.value = e
|
|
55642
55779
|
}, null, 8, ["open"])
|
|
55643
55780
|
])) : Y("", !0),
|
|
55644
|
-
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, {
|
|
55645
55782
|
key: 0,
|
|
55646
55783
|
section: "access",
|
|
55647
55784
|
onOpen: r[20] ||= (e) => s.value = e,
|
|
55648
55785
|
onDetail: Ee
|
|
55649
55786
|
}))])) : Y("", !0),
|
|
55650
|
-
I(t).tab === "timeline" ? (U(), W("div",
|
|
55651
|
-
])], 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, [
|
|
55652
55789
|
q(y, { name: "i-lucide-hash" }),
|
|
55653
55790
|
r[40] ||= K("h2", null, "新建一个协作房间", -1),
|
|
55654
55791
|
r[41] ||= K("p", null, "邀请 AI 一起协作,随时 @ 提问;需要时开启讨论,保留所有人的观点。", -1),
|
|
@@ -55667,8 +55804,8 @@ var Q1 = {
|
|
|
55667
55804
|
"aria-label": "调整右侧栏宽度",
|
|
55668
55805
|
"aria-orientation": "vertical",
|
|
55669
55806
|
"aria-controls": "channel-member-rail",
|
|
55670
|
-
"aria-valuemin":
|
|
55671
|
-
"aria-valuemax":
|
|
55807
|
+
"aria-valuemin": O4,
|
|
55808
|
+
"aria-valuemax": k4,
|
|
55672
55809
|
"aria-valuenow": C.value,
|
|
55673
55810
|
"aria-valuetext": `${C.value} 像素`,
|
|
55674
55811
|
title: "拖动调整右侧栏宽度,也可使用左右方向键",
|
|
@@ -55678,11 +55815,11 @@ var Q1 = {
|
|
|
55678
55815
|
onPointercancel: Be,
|
|
55679
55816
|
onLostpointercapture: Be,
|
|
55680
55817
|
onKeydown: Ve
|
|
55681
|
-
}, null, 40,
|
|
55682
|
-
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, {
|
|
55683
55820
|
key: 1,
|
|
55684
55821
|
docked: ""
|
|
55685
|
-
})) : (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),
|
|
55686
55823
|
q(Me, {
|
|
55687
55824
|
open: d.value,
|
|
55688
55825
|
"onUpdate:open": r[23] ||= (e) => d.value = e,
|
|
@@ -55725,7 +55862,7 @@ var Q1 = {
|
|
|
55725
55862
|
}
|
|
55726
55863
|
}, {
|
|
55727
55864
|
body: L(() => [o.value ? (U(), W(H, { key: 0 }, [
|
|
55728
|
-
K("div",
|
|
55865
|
+
K("div", T4, [q(y, { name: "i-lucide-hash" }), K("h2", null, P(o.value.title), 1)]),
|
|
55729
55866
|
(U(), W(H, null, B([
|
|
55730
55867
|
{
|
|
55731
55868
|
key: "goal",
|
|
@@ -55752,7 +55889,7 @@ var Q1 = {
|
|
|
55752
55889
|
class: "info-section"
|
|
55753
55890
|
}, [K("h3", null, P(e.label), 1), K("p", null, P(o.value[e.key] || "尚未填写"), 1)])), 64)),
|
|
55754
55891
|
q(Ne),
|
|
55755
|
-
K("section",
|
|
55892
|
+
K("section", E4, [r[43] ||= K("h3", null, "参与身份", -1), (U(!0), W(H, null, B(Se.value, (e) => (U(), W("div", {
|
|
55756
55893
|
key: e.name,
|
|
55757
55894
|
class: "expert-row"
|
|
55758
55895
|
}, [
|
|
@@ -55809,7 +55946,7 @@ var Q1 = {
|
|
|
55809
55946
|
], 6);
|
|
55810
55947
|
};
|
|
55811
55948
|
}
|
|
55812
|
-
},
|
|
55949
|
+
}, B4 = {
|
|
55813
55950
|
__name: "App",
|
|
55814
55951
|
setup(e) {
|
|
55815
55952
|
return br("discussion", OV()), (e, t) => {
|
|
@@ -55820,7 +55957,7 @@ var Q1 = {
|
|
|
55820
55957
|
toaster: null
|
|
55821
55958
|
}, {
|
|
55822
55959
|
default: L(() => [q(I(Qz), { "reduced-motion": "user" }, {
|
|
55823
|
-
default: L(() => [q(
|
|
55960
|
+
default: L(() => [q(z4)]),
|
|
55824
55961
|
_: 1
|
|
55825
55962
|
})]),
|
|
55826
55963
|
_: 1
|
|
@@ -55830,8 +55967,8 @@ var Q1 = {
|
|
|
55830
55967
|
};
|
|
55831
55968
|
//#endregion
|
|
55832
55969
|
//#region frontend/main.js
|
|
55833
|
-
function
|
|
55834
|
-
bu(
|
|
55970
|
+
function V4() {
|
|
55971
|
+
bu(B4).use(ph).mount("#modern-root");
|
|
55835
55972
|
}
|
|
55836
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
55973
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", V4) : V4();
|
|
55837
55974
|
//#endregion
|