@deepseek-ai/dsh-client-ui-chat 0.2.1-rc.5 → 0.2.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +18 -18
- package/README.md +30 -12
- package/README.zh.md +30 -12
- package/lib/assets/running-whale@2x-06738fa29b2f.png +0 -0
- package/lib/client.js +2475 -261
- package/lib/index.js +6 -0
- package/lib/types/chat-settings.d.ts +13 -0
- package/lib/types/client/chat/AssistantMarkdown.d.ts +3 -1
- package/lib/types/client/chat/AssistantNodeView.d.ts +10 -3
- package/lib/types/client/chat/ChatFlow.d.ts +1 -1
- package/lib/types/client/chat/ChatNodeSeat.d.ts +1 -1
- package/lib/types/client/chat/ChatView.d.ts +1 -1
- package/lib/types/client/chat/MessageItem.d.ts +12 -3
- package/lib/types/client/chat/ReasoningRow.d.ts +2 -1
- package/lib/types/client/chat/RunningStatus.d.ts +8 -3
- package/lib/types/client/chat/flow-motion.d.ts +8 -1
- package/lib/types/client/chat/text-interaction.d.ts +19 -0
- package/lib/types/client/chat/text-selection.d.ts +20 -0
- package/lib/types/client/chat/use-chat-reading.d.ts +2 -1
- package/lib/types/client/chat/use-chat-scroll.d.ts +2 -0
- package/lib/types/client/chat/use-chat-viewport.d.ts +34 -1
- package/lib/types/client/contract/group-tree.d.ts +4 -4
- package/lib/types/client/contract/slots.d.ts +55 -10
- package/lib/types/client/contract/snapshot.d.ts +2 -1
- package/lib/types/client/conversation-nodes/assistant.d.ts +2 -0
- package/lib/types/client/conversation-nodes/inbox.d.ts +6 -1
- package/lib/types/client/conversation-nodes/message.d.ts +5 -0
- package/lib/types/client/conversation-nodes/request-prompt.d.ts +2 -0
- package/lib/types/client/conversation-nodes/turn-process.d.ts +13 -1
- package/lib/types/client/file-path.d.ts +11 -0
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/locale.d.ts +1196 -0
- package/lib/types/client/presentation-policy.d.ts +13 -9
- package/lib/types/client/settings/TranscriptViewRow.d.ts +8 -3
- package/lib/types/client/transcript-view.d.ts +8 -1
- package/lib/types/index.d.ts +5 -1
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +49 -41
package/lib/client.js
CHANGED
|
@@ -56,14 +56,14 @@ window.__ModuleLoader__.load({
|
|
|
56
56
|
/**
|
|
57
57
|
* Resolve a Workspace-relative path into the Host-facing spelling used by path operations.
|
|
58
58
|
* @param cwd - Session Workspace root, when known.
|
|
59
|
-
* @param path - Absolute or Workspace-relative path.
|
|
59
|
+
* @param path - Absolute or Workspace-relative path; leading `./` segments are dropped when joining.
|
|
60
60
|
* @returns an absolute path when a Workspace root is available, otherwise the original path.
|
|
61
61
|
*/
|
|
62
62
|
function resolveWorkspacePath(cwd, path) {
|
|
63
63
|
if (isAbsoluteWorkspacePath(path)) return path;
|
|
64
64
|
if (cwd === void 0 || cwd === "") return path;
|
|
65
65
|
const separator = isWindowsStylePath(cwd) && cwd.includes("\\") ? "\\" : "/";
|
|
66
|
-
return `${cwd.replace(/[/\\]+$/, "")}${separator}${path.replace(/^[/\\]+/, "")}`;
|
|
66
|
+
return `${cwd.replace(/[/\\]+$/, "")}${separator}${path.replace(/^(?:\.?[/\\])+/, "")}`;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* The address for a path as a caller holds it: a relative path, or an absolute
|
|
@@ -171,6 +171,21 @@ window.__ModuleLoader__.load({
|
|
|
171
171
|
}) ?? null;
|
|
172
172
|
}
|
|
173
173
|
//#endregion
|
|
174
|
+
//#region lib/types/client/file-path.js
|
|
175
|
+
/**
|
|
176
|
+
* Bind path resolution to the originating Session without capturing its current directory.
|
|
177
|
+
* @param ctx - Chat plugin context.
|
|
178
|
+
* @param sessionId - Original Session identity.
|
|
179
|
+
* @returns Resolver using the live working directory, falling back to the workspace root.
|
|
180
|
+
*/
|
|
181
|
+
function sessionFilePath(ctx, sessionId) {
|
|
182
|
+
return (path) => {
|
|
183
|
+
const cwd = ctx.sessions.list.getSnapshot().byId[sessionId]?.cwd;
|
|
184
|
+
const current = ctx.sessions.binding(sessionId)?.session.projections.faceOf("workingDirectory").getSnapshot();
|
|
185
|
+
return resolveWorkspacePath(current ?? cwd, path);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
//#endregion
|
|
174
189
|
//#region lib/types/client/contract/group-tree.js
|
|
175
190
|
const DEPTH = {
|
|
176
191
|
exchange: 0,
|
|
@@ -598,6 +613,525 @@ window.__ModuleLoader__.load({
|
|
|
598
613
|
return [...byTurn.values()].sort((left, right) => left.turn - right.turn);
|
|
599
614
|
}
|
|
600
615
|
//#endregion
|
|
616
|
+
//#region lib/types/client/chat/text-selection.js
|
|
617
|
+
/** DOM selection validation and visible-text projection, independent of business actions. */
|
|
618
|
+
const PROJECTED_BLOCK_TAGS = new Set([
|
|
619
|
+
"ADDRESS",
|
|
620
|
+
"ARTICLE",
|
|
621
|
+
"ASIDE",
|
|
622
|
+
"BLOCKQUOTE",
|
|
623
|
+
"DD",
|
|
624
|
+
"DIV",
|
|
625
|
+
"DL",
|
|
626
|
+
"DT",
|
|
627
|
+
"FIGCAPTION",
|
|
628
|
+
"FIGURE",
|
|
629
|
+
"FOOTER",
|
|
630
|
+
"H1",
|
|
631
|
+
"H2",
|
|
632
|
+
"H3",
|
|
633
|
+
"H4",
|
|
634
|
+
"H5",
|
|
635
|
+
"H6",
|
|
636
|
+
"HEADER",
|
|
637
|
+
"LI",
|
|
638
|
+
"MAIN",
|
|
639
|
+
"NAV",
|
|
640
|
+
"OL",
|
|
641
|
+
"P",
|
|
642
|
+
"PRE",
|
|
643
|
+
"SECTION",
|
|
644
|
+
"TABLE",
|
|
645
|
+
"TBODY",
|
|
646
|
+
"TFOOT",
|
|
647
|
+
"THEAD",
|
|
648
|
+
"TR",
|
|
649
|
+
"UL"
|
|
650
|
+
]);
|
|
651
|
+
const PROJECTED_CELL_TAGS = new Set(["TD", "TH"]);
|
|
652
|
+
function excluded(element) {
|
|
653
|
+
if (element.matches(".katex-mathml, [data-text-interaction-exclude], [hidden], .sr-only")) return true;
|
|
654
|
+
if (element.matches("[aria-hidden=\"true\"]") && !element.matches(".katex-html")) return true;
|
|
655
|
+
return element.tagName === "BUTTON" && element.parentElement?.tagName !== "CODE";
|
|
656
|
+
}
|
|
657
|
+
function projectedBoundary(node) {
|
|
658
|
+
if (!(node instanceof Element)) return "";
|
|
659
|
+
if (PROJECTED_CELL_TAGS.has(node.tagName)) return " ";
|
|
660
|
+
return PROJECTED_BLOCK_TAGS.has(node.tagName) ? "\n" : "";
|
|
661
|
+
}
|
|
662
|
+
function projectedSeparator(previous, current) {
|
|
663
|
+
const left = projectedBoundary(previous);
|
|
664
|
+
const right = projectedBoundary(current);
|
|
665
|
+
if (left === "\n" || right === "\n") return "\n";
|
|
666
|
+
return left === " " || right === " " ? " " : "";
|
|
667
|
+
}
|
|
668
|
+
function projectedText(node) {
|
|
669
|
+
const source = node.data;
|
|
670
|
+
const parent = node.parentElement;
|
|
671
|
+
const view = node.ownerDocument.defaultView;
|
|
672
|
+
const whiteSpace = parent === null || view === null ? "" : view.getComputedStyle(parent).whiteSpace;
|
|
673
|
+
const preservesBreaks = whiteSpace === "pre" || whiteSpace === "pre-wrap" || whiteSpace === "pre-line" || whiteSpace === "break-spaces";
|
|
674
|
+
const offsets = new Array(source.length + 1).fill(0);
|
|
675
|
+
if (!preservesBreaks && /^[\t\n\f\r ]*$/u.test(source) && [node.previousSibling, node.nextSibling].some((sibling) => sibling !== null && projectedBoundary(sibling) !== "")) return {
|
|
676
|
+
text: "",
|
|
677
|
+
offsets
|
|
678
|
+
};
|
|
679
|
+
let text = "";
|
|
680
|
+
let cursor = 0;
|
|
681
|
+
if (!preservesBreaks && node.previousSibling instanceof HTMLElement && node.previousSibling.tagName === "BR" && source.startsWith("\n")) cursor = 1;
|
|
682
|
+
while (cursor < source.length) {
|
|
683
|
+
const softBreak = preservesBreaks ? null : /^[ \t]*[\r\n]+[ \t]*/u.exec(source.slice(cursor));
|
|
684
|
+
if (softBreak !== null) {
|
|
685
|
+
const end = cursor + softBreak[0].length;
|
|
686
|
+
for (let index = cursor; index < end; index++) offsets[index] = text.length;
|
|
687
|
+
text += " ";
|
|
688
|
+
offsets[end] = text.length;
|
|
689
|
+
cursor = end;
|
|
690
|
+
continue;
|
|
691
|
+
}
|
|
692
|
+
offsets[cursor] = text.length;
|
|
693
|
+
text += source.charAt(cursor);
|
|
694
|
+
cursor += 1;
|
|
695
|
+
offsets[cursor] = text.length;
|
|
696
|
+
}
|
|
697
|
+
return {
|
|
698
|
+
text,
|
|
699
|
+
offsets
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
function projectedFragment(node) {
|
|
703
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
704
|
+
const projected = projectedText(node);
|
|
705
|
+
return {
|
|
706
|
+
text: projected.text,
|
|
707
|
+
spans: projected.offsets.length <= 1 ? [] : [{
|
|
708
|
+
node,
|
|
709
|
+
start: 0,
|
|
710
|
+
offsets: projected.offsets
|
|
711
|
+
}],
|
|
712
|
+
boundaries: []
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
if (!(node instanceof Element)) return {
|
|
716
|
+
text: "",
|
|
717
|
+
spans: [],
|
|
718
|
+
boundaries: []
|
|
719
|
+
};
|
|
720
|
+
if (excluded(node)) return {
|
|
721
|
+
text: "",
|
|
722
|
+
spans: [],
|
|
723
|
+
boundaries: []
|
|
724
|
+
};
|
|
725
|
+
if (node.tagName === "BR") return {
|
|
726
|
+
text: "\n",
|
|
727
|
+
spans: [],
|
|
728
|
+
boundaries: []
|
|
729
|
+
};
|
|
730
|
+
let text = "";
|
|
731
|
+
let previous = null;
|
|
732
|
+
const spans = [];
|
|
733
|
+
const boundaries = [];
|
|
734
|
+
const offsets = new Array(node.childNodes.length + 1).fill(0);
|
|
735
|
+
for (const [index, child] of [...node.childNodes].entries()) {
|
|
736
|
+
const fragment = projectedFragment(child);
|
|
737
|
+
if (fragment.text !== "" && previous !== null) {
|
|
738
|
+
const separator = projectedSeparator(previous, child);
|
|
739
|
+
if (separator === "\n" ? !text.endsWith("\n") && !fragment.text.startsWith("\n") : separator === " " && !/[\t\n]$/u.test(text) && !/^[\t\n]/u.test(fragment.text)) text += separator;
|
|
740
|
+
}
|
|
741
|
+
offsets[index] = text.length;
|
|
742
|
+
const base = text.length;
|
|
743
|
+
text += fragment.text;
|
|
744
|
+
for (const span of fragment.spans) spans.push({
|
|
745
|
+
node: span.node,
|
|
746
|
+
start: base + span.start,
|
|
747
|
+
offsets: span.offsets
|
|
748
|
+
});
|
|
749
|
+
for (const [owner, childOffsets] of fragment.boundaries) boundaries.push([owner, childOffsets.map((offset) => base + offset)]);
|
|
750
|
+
if (fragment.text !== "") previous = child;
|
|
751
|
+
offsets[index + 1] = text.length;
|
|
752
|
+
}
|
|
753
|
+
boundaries.push([node, offsets]);
|
|
754
|
+
return {
|
|
755
|
+
text,
|
|
756
|
+
spans,
|
|
757
|
+
boundaries
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
function projectedOffset(projection, container, offset) {
|
|
761
|
+
if (container.nodeType === Node.TEXT_NODE) {
|
|
762
|
+
const span = projection.spans.find((candidate) => candidate.node === container);
|
|
763
|
+
const projected = span?.offsets[offset];
|
|
764
|
+
return span === void 0 || projected === void 0 ? null : span.start + projected;
|
|
765
|
+
}
|
|
766
|
+
return (projection.boundaries.find(([owner]) => owner === container)?.[1])?.[offset] ?? null;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Find a single noncollapsed selection inside one enabled source.
|
|
770
|
+
* @param root - mounted interaction area.
|
|
771
|
+
* @param selection - browser selection in that area's document.
|
|
772
|
+
* @returns the selected source and range, or null across sources and excluded content.
|
|
773
|
+
*/
|
|
774
|
+
function readTextSelection(root, selection) {
|
|
775
|
+
if (selection === null || selection.rangeCount !== 1 || selection.isCollapsed) return null;
|
|
776
|
+
const range = selection.getRangeAt(0);
|
|
777
|
+
const sourceOf = (node) => (node instanceof Element ? node : node.parentElement)?.closest("[data-text-interaction-source]") ?? null;
|
|
778
|
+
const source = sourceOf(range.startContainer);
|
|
779
|
+
if (source === null || source !== sourceOf(range.endContainer) || !root.contains(source) || source.closest("[hidden], [inert], [data-text-interaction-exclude]") !== null) return null;
|
|
780
|
+
return {
|
|
781
|
+
source,
|
|
782
|
+
range
|
|
783
|
+
};
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Project selected DOM text with visible block boundaries and without renderer chrome.
|
|
787
|
+
* @param selection - range and its source, obtained through readTextSelection.
|
|
788
|
+
* @returns trimmed visible text; empty or excluded selections return null.
|
|
789
|
+
*/
|
|
790
|
+
function selectedText(selection) {
|
|
791
|
+
const { source, range } = selection;
|
|
792
|
+
const projection = projectedFragment(source);
|
|
793
|
+
const start = projectedOffset(projection, range.startContainer, range.startOffset);
|
|
794
|
+
const end = projectedOffset(projection, range.endContainer, range.endOffset);
|
|
795
|
+
if (start === null || end === null) return null;
|
|
796
|
+
const text = projection.text.slice(start, end).trim();
|
|
797
|
+
return text === "" ? null : text;
|
|
798
|
+
}
|
|
799
|
+
//#endregion
|
|
800
|
+
//#region lib/types/client/chat/text-interaction.js
|
|
801
|
+
/** Area-local text gestures, action ownership, dismissal, and content-relative placement. */
|
|
802
|
+
function rectBounds(rect) {
|
|
803
|
+
return {
|
|
804
|
+
left: rect.left,
|
|
805
|
+
top: rect.top,
|
|
806
|
+
right: rect.left + rect.width,
|
|
807
|
+
bottom: rect.top + rect.height
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
function intersects(a, b) {
|
|
811
|
+
return a.right > b.left && a.left < b.right && a.bottom > b.top && a.top < b.bottom;
|
|
812
|
+
}
|
|
813
|
+
function sameRange(a, b) {
|
|
814
|
+
return a === b || a !== null && b !== null && a.startContainer === b.startContainer && a.startOffset === b.startOffset && a.endContainer === b.endContainer && a.endOffset === b.endOffset;
|
|
815
|
+
}
|
|
816
|
+
function available(root, target) {
|
|
817
|
+
if (!root.isConnected || !root.contains(target.source) || !target.source.hasAttribute("data-text-interaction-source")) return false;
|
|
818
|
+
const view = root.ownerDocument.defaultView;
|
|
819
|
+
/* v8 ignore if -- Mounted browser content always has an owner window. */
|
|
820
|
+
if (view === null) return false;
|
|
821
|
+
for (let node = target.source; node !== null; node = node.parentElement) {
|
|
822
|
+
const style = view.getComputedStyle(node);
|
|
823
|
+
if (node.hidden || node.inert || node.hasAttribute("data-text-interaction-exclude") || style.display === "none" || style.visibility === "hidden") return false;
|
|
824
|
+
}
|
|
825
|
+
return target.selection === null || target.source.contains(target.selection.range.startContainer) && target.source.contains(target.selection.range.endContainer) && selectedText(target.selection) === target.text;
|
|
826
|
+
}
|
|
827
|
+
function composerSeat(root) {
|
|
828
|
+
return root.closest("[data-conversation-scroll]")?.querySelector("[data-composer-seat]") ?? null;
|
|
829
|
+
}
|
|
830
|
+
function visibleBounds(root, source, view) {
|
|
831
|
+
const rootRect = rectBounds(root.getBoundingClientRect());
|
|
832
|
+
const bounds = {
|
|
833
|
+
left: Math.max(0, rootRect.left),
|
|
834
|
+
right: Math.min(view.innerWidth, rootRect.right),
|
|
835
|
+
top: 0,
|
|
836
|
+
bottom: view.innerHeight
|
|
837
|
+
};
|
|
838
|
+
for (let node = source; node !== null; node = node.parentElement) {
|
|
839
|
+
const style = view.getComputedStyle(node);
|
|
840
|
+
const rect = rectBounds(node.getBoundingClientRect());
|
|
841
|
+
if (/(auto|scroll|hidden|clip)/u.test(style.overflowX)) {
|
|
842
|
+
bounds.left = Math.max(bounds.left, rect.left);
|
|
843
|
+
bounds.right = Math.min(bounds.right, rect.right);
|
|
844
|
+
}
|
|
845
|
+
if (/(auto|scroll|hidden|clip)/u.test(style.overflowY)) {
|
|
846
|
+
bounds.top = Math.max(bounds.top, rect.top);
|
|
847
|
+
bounds.bottom = Math.min(bounds.bottom, rect.bottom);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
const composer = composerSeat(root)?.getBoundingClientRect();
|
|
851
|
+
if (composer !== void 0 && composer.height > 0 && composer.right > bounds.left && composer.left < bounds.right) bounds.bottom = Math.min(bounds.bottom, composer.top);
|
|
852
|
+
return bounds;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Own text interactions for one positioned content area and its local surface.
|
|
856
|
+
* @param rootRef - existing content element with position: relative.
|
|
857
|
+
* @param surfaceRef - absolute surface inside that element; only the selected Slot consumer is mounted.
|
|
858
|
+
* @param dispatchInteraction - framework-injected plugin gesture dispatch.
|
|
859
|
+
* @param registeredIds - live registered owners used to dismiss removed plugins.
|
|
860
|
+
* @returns current owner and area-local selection actions.
|
|
861
|
+
*/
|
|
862
|
+
function useTextInteraction(rootRef, surfaceRef, dispatchInteraction, registeredIds) {
|
|
863
|
+
const target = (0, react.useRef)(null);
|
|
864
|
+
const [active, setActive] = (0, react.useState)(null);
|
|
865
|
+
const dismiss = (0, react.useCallback)(() => {
|
|
866
|
+
target.current = null;
|
|
867
|
+
if (surfaceRef.current !== null) surfaceRef.current.style.visibility = "hidden";
|
|
868
|
+
setActive(null);
|
|
869
|
+
}, [surfaceRef]);
|
|
870
|
+
(0, react.useEffect)(dismiss, [
|
|
871
|
+
registeredIds,
|
|
872
|
+
dispatchInteraction,
|
|
873
|
+
dismiss
|
|
874
|
+
]);
|
|
875
|
+
const readText = (0, react.useCallback)(() => {
|
|
876
|
+
const root = rootRef.current;
|
|
877
|
+
const current = target.current;
|
|
878
|
+
if (root === null || current === null || !available(root, current)) return null;
|
|
879
|
+
return current.selection === null ? null : selectedText(current.selection);
|
|
880
|
+
}, [rootRef]);
|
|
881
|
+
const clearSelection = (0, react.useCallback)(() => {
|
|
882
|
+
rootRef.current?.ownerDocument.getSelection()?.removeAllRanges();
|
|
883
|
+
}, [rootRef]);
|
|
884
|
+
const place = (0, react.useCallback)(() => {
|
|
885
|
+
const root = rootRef.current;
|
|
886
|
+
const surface = surfaceRef.current;
|
|
887
|
+
const current = target.current;
|
|
888
|
+
if (root === null || surface === null || current === null) return;
|
|
889
|
+
if (!available(root, current)) {
|
|
890
|
+
dismiss();
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
const view = root.ownerDocument.defaultView;
|
|
894
|
+
/* v8 ignore if -- Mounted browser content always has an owner window. */
|
|
895
|
+
if (view === null) return;
|
|
896
|
+
const visible = visibleBounds(root, current.source, view);
|
|
897
|
+
const selectionRects = current.selection === null ? [] : [...current.selection.range.getClientRects()];
|
|
898
|
+
const fallback = current.selection?.range.getBoundingClientRect() ?? current.source.getBoundingClientRect();
|
|
899
|
+
const rects = selectionRects.length === 0 ? [fallback] : selectionRects;
|
|
900
|
+
const sourceRect = current.source.getBoundingClientRect();
|
|
901
|
+
const pointX = current.point === null ? 0 : sourceRect.left + current.point.x - current.source.scrollLeft;
|
|
902
|
+
const pointY = current.point === null ? 0 : sourceRect.top + current.point.y - current.source.scrollTop;
|
|
903
|
+
const anchor = current.point === null ? rects.map(rectBounds).find((rect) => intersects(rect, visible)) : {
|
|
904
|
+
left: pointX,
|
|
905
|
+
right: pointX + 1,
|
|
906
|
+
top: pointY,
|
|
907
|
+
bottom: pointY + 1
|
|
908
|
+
};
|
|
909
|
+
if (anchor === void 0 || !intersects(anchor, visible) || visible.right <= visible.left || visible.bottom <= visible.top) {
|
|
910
|
+
surface.style.visibility = "hidden";
|
|
911
|
+
return;
|
|
912
|
+
}
|
|
913
|
+
const gap = 8;
|
|
914
|
+
surface.style.maxWidth = `${visible.right - visible.left}px`;
|
|
915
|
+
surface.style.maxHeight = `${visible.bottom - visible.top}px`;
|
|
916
|
+
const size = surface.getBoundingClientRect();
|
|
917
|
+
const x = current.point === null ? (Math.max(anchor.left, visible.left) + Math.min(anchor.right, visible.right) - size.width) / 2 : anchor.left;
|
|
918
|
+
const above = anchor.top - gap - size.height;
|
|
919
|
+
const below = anchor.bottom + gap;
|
|
920
|
+
const preferredY = current.point === null && above >= visible.top ? above : below;
|
|
921
|
+
const left = Math.max(visible.left, Math.min(x, visible.right - size.width));
|
|
922
|
+
const top = Math.max(visible.top, Math.min(preferredY, visible.bottom - size.height));
|
|
923
|
+
const rootRect = root.getBoundingClientRect();
|
|
924
|
+
const scaleX = root.offsetWidth === 0 ? 1 : rootRect.width / root.offsetWidth;
|
|
925
|
+
const scaleY = root.offsetHeight === 0 ? 1 : rootRect.height / root.offsetHeight;
|
|
926
|
+
surface.style.left = `${(left - rootRect.left) / scaleX - root.clientLeft + root.scrollLeft}px`;
|
|
927
|
+
surface.style.top = `${(top - rootRect.top) / scaleY - root.clientTop + root.scrollTop}px`;
|
|
928
|
+
surface.style.visibility = "visible";
|
|
929
|
+
}, [
|
|
930
|
+
dismiss,
|
|
931
|
+
rootRef,
|
|
932
|
+
surfaceRef
|
|
933
|
+
]);
|
|
934
|
+
(0, react.useLayoutEffect)(place, [active, place]);
|
|
935
|
+
(0, react.useEffect)(() => {
|
|
936
|
+
const root = rootRef.current;
|
|
937
|
+
const surface = surfaceRef.current;
|
|
938
|
+
if (root === null || surface === null) return;
|
|
939
|
+
const document = root.ownerDocument;
|
|
940
|
+
const view = document.defaultView;
|
|
941
|
+
/* v8 ignore if -- Mounted browser content always has an owner window. */
|
|
942
|
+
if (view === null) return;
|
|
943
|
+
let pointerSelecting = false;
|
|
944
|
+
let keyboardSelecting = false;
|
|
945
|
+
let selectionChangedDuringGesture = false;
|
|
946
|
+
let previousRange = null;
|
|
947
|
+
let frame;
|
|
948
|
+
const schedulePlacement = () => {
|
|
949
|
+
if (target.current === null || frame !== void 0) return;
|
|
950
|
+
frame = view.requestAnimationFrame(() => {
|
|
951
|
+
frame = void 0;
|
|
952
|
+
place();
|
|
953
|
+
});
|
|
954
|
+
};
|
|
955
|
+
const dispatch = (trigger, next, event) => {
|
|
956
|
+
if (!available(root, next)) return;
|
|
957
|
+
const id = dispatchInteraction({
|
|
958
|
+
trigger,
|
|
959
|
+
hasSelection: next.selection !== null,
|
|
960
|
+
readText: () => next.text,
|
|
961
|
+
preventDefault: () => {
|
|
962
|
+
event.preventDefault();
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
if (id === null) return;
|
|
966
|
+
target.current = next;
|
|
967
|
+
setActive({
|
|
968
|
+
id,
|
|
969
|
+
trigger
|
|
970
|
+
});
|
|
971
|
+
};
|
|
972
|
+
const updateSelection = (event) => {
|
|
973
|
+
if (pointerSelecting || keyboardSelecting) {
|
|
974
|
+
selectionChangedDuringGesture = true;
|
|
975
|
+
return;
|
|
976
|
+
}
|
|
977
|
+
if (target.current !== null && target.current.point !== null) return;
|
|
978
|
+
if (target.current !== null && surface.contains(document.activeElement)) return;
|
|
979
|
+
const selection = readTextSelection(root, document.getSelection());
|
|
980
|
+
const range = selection?.range ?? null;
|
|
981
|
+
if (!selectionChangedDuringGesture && sameRange(previousRange, range)) return;
|
|
982
|
+
selectionChangedDuringGesture = false;
|
|
983
|
+
previousRange = range?.cloneRange() ?? null;
|
|
984
|
+
dismiss();
|
|
985
|
+
if (selection === null) return;
|
|
986
|
+
const text = selectedText(selection);
|
|
987
|
+
if (text === null) return;
|
|
988
|
+
dispatch("selection", {
|
|
989
|
+
source: selection.source,
|
|
990
|
+
selection: {
|
|
991
|
+
...selection,
|
|
992
|
+
range: selection.range.cloneRange()
|
|
993
|
+
},
|
|
994
|
+
text,
|
|
995
|
+
point: null
|
|
996
|
+
}, event);
|
|
997
|
+
};
|
|
998
|
+
const insideSurface = (event) => event.composedPath().includes(surface);
|
|
999
|
+
const pointerDown = (event) => {
|
|
1000
|
+
if (insideSurface(event)) return;
|
|
1001
|
+
const selection = document.getSelection();
|
|
1002
|
+
previousRange = selection?.rangeCount === 1 ? selection.getRangeAt(0).cloneRange() : null;
|
|
1003
|
+
dismiss();
|
|
1004
|
+
selectionChangedDuringGesture = false;
|
|
1005
|
+
pointerSelecting = event.button === 0 && event.target instanceof Node && root.contains(event.target);
|
|
1006
|
+
};
|
|
1007
|
+
const pointerUp = (event) => {
|
|
1008
|
+
if (!pointerSelecting) return;
|
|
1009
|
+
pointerSelecting = false;
|
|
1010
|
+
updateSelection(event);
|
|
1011
|
+
};
|
|
1012
|
+
const cancel = () => {
|
|
1013
|
+
pointerSelecting = false;
|
|
1014
|
+
keyboardSelecting = false;
|
|
1015
|
+
dismiss();
|
|
1016
|
+
};
|
|
1017
|
+
const keyDown = (event) => {
|
|
1018
|
+
if (event.key === "Escape") {
|
|
1019
|
+
cancel();
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
if (insideSurface(event) || !(event.target instanceof Node) || !root.contains(event.target)) return;
|
|
1023
|
+
if (event.key === "Shift" || event.shiftKey) {
|
|
1024
|
+
keyboardSelecting = true;
|
|
1025
|
+
dismiss();
|
|
1026
|
+
}
|
|
1027
|
+
};
|
|
1028
|
+
const keyUp = (event) => {
|
|
1029
|
+
if (!keyboardSelecting || event.key !== "Shift" && event.shiftKey) return;
|
|
1030
|
+
keyboardSelecting = false;
|
|
1031
|
+
updateSelection(event);
|
|
1032
|
+
};
|
|
1033
|
+
const contextMenu = (event) => {
|
|
1034
|
+
if (insideSurface(event)) return;
|
|
1035
|
+
const element = event.target instanceof Element ? event.target : null;
|
|
1036
|
+
const source = element?.closest("[data-text-interaction-source]");
|
|
1037
|
+
if (source === void 0 || source === null || !root.contains(source) || element?.closest("[data-text-interaction-exclude], button, input, textarea, [contenteditable=\"true\"]")) return;
|
|
1038
|
+
pointerSelecting = false;
|
|
1039
|
+
dismiss();
|
|
1040
|
+
const selected = readTextSelection(root, document.getSelection());
|
|
1041
|
+
const keyboard = event.clientX === 0 && event.clientY === 0;
|
|
1042
|
+
const selection = selected?.source === source && (keyboard || [...selected.range.getClientRects()].some((rect) => event.clientX >= rect.left && event.clientX <= rect.right && event.clientY >= rect.top && event.clientY <= rect.bottom)) ? selected : null;
|
|
1043
|
+
const bounds = source.getBoundingClientRect();
|
|
1044
|
+
dispatch("contextmenu", {
|
|
1045
|
+
source,
|
|
1046
|
+
selection: selection === null ? null : {
|
|
1047
|
+
...selection,
|
|
1048
|
+
range: selection.range.cloneRange()
|
|
1049
|
+
},
|
|
1050
|
+
text: selection === null ? null : selectedText(selection),
|
|
1051
|
+
point: {
|
|
1052
|
+
x: (keyboard ? 0 : event.clientX - bounds.left) + source.scrollLeft,
|
|
1053
|
+
y: (keyboard ? 0 : event.clientY - bounds.top) + source.scrollTop
|
|
1054
|
+
}
|
|
1055
|
+
}, event);
|
|
1056
|
+
};
|
|
1057
|
+
document.addEventListener("selectionchange", updateSelection);
|
|
1058
|
+
document.addEventListener("pointerdown", pointerDown, true);
|
|
1059
|
+
document.addEventListener("pointerup", pointerUp);
|
|
1060
|
+
document.addEventListener("pointercancel", cancel);
|
|
1061
|
+
document.addEventListener("keydown", keyDown);
|
|
1062
|
+
document.addEventListener("keyup", keyUp);
|
|
1063
|
+
document.addEventListener("scroll", schedulePlacement, true);
|
|
1064
|
+
root.addEventListener("contextmenu", contextMenu);
|
|
1065
|
+
view.addEventListener("resize", schedulePlacement);
|
|
1066
|
+
view.addEventListener("blur", cancel);
|
|
1067
|
+
return () => {
|
|
1068
|
+
document.removeEventListener("selectionchange", updateSelection);
|
|
1069
|
+
document.removeEventListener("pointerdown", pointerDown, true);
|
|
1070
|
+
document.removeEventListener("pointerup", pointerUp);
|
|
1071
|
+
document.removeEventListener("pointercancel", cancel);
|
|
1072
|
+
document.removeEventListener("keydown", keyDown);
|
|
1073
|
+
document.removeEventListener("keyup", keyUp);
|
|
1074
|
+
document.removeEventListener("scroll", schedulePlacement, true);
|
|
1075
|
+
root.removeEventListener("contextmenu", contextMenu);
|
|
1076
|
+
view.removeEventListener("resize", schedulePlacement);
|
|
1077
|
+
view.removeEventListener("blur", cancel);
|
|
1078
|
+
if (frame !== void 0) view.cancelAnimationFrame(frame);
|
|
1079
|
+
};
|
|
1080
|
+
}, [
|
|
1081
|
+
dismiss,
|
|
1082
|
+
place,
|
|
1083
|
+
rootRef,
|
|
1084
|
+
surfaceRef,
|
|
1085
|
+
dispatchInteraction
|
|
1086
|
+
]);
|
|
1087
|
+
(0, react.useEffect)(() => {
|
|
1088
|
+
const root = rootRef.current;
|
|
1089
|
+
const surface = surfaceRef.current;
|
|
1090
|
+
if (active === null || root === null || surface === null) return;
|
|
1091
|
+
const view = root.ownerDocument.defaultView;
|
|
1092
|
+
/* v8 ignore if -- Mounted browser content always has an owner window. */
|
|
1093
|
+
if (view === null) return;
|
|
1094
|
+
let frame;
|
|
1095
|
+
const schedule = () => {
|
|
1096
|
+
if (frame !== void 0) return;
|
|
1097
|
+
frame = view.requestAnimationFrame(() => {
|
|
1098
|
+
frame = void 0;
|
|
1099
|
+
place();
|
|
1100
|
+
});
|
|
1101
|
+
};
|
|
1102
|
+
const resize = new ResizeObserver(schedule);
|
|
1103
|
+
resize.observe(root);
|
|
1104
|
+
resize.observe(surface);
|
|
1105
|
+
const composer = composerSeat(root);
|
|
1106
|
+
if (composer !== null) resize.observe(composer);
|
|
1107
|
+
const mutations = new MutationObserver((records) => {
|
|
1108
|
+
if (records.some((record) => !surface.contains(record.target))) schedule();
|
|
1109
|
+
});
|
|
1110
|
+
mutations.observe(root, {
|
|
1111
|
+
childList: true,
|
|
1112
|
+
subtree: true,
|
|
1113
|
+
characterData: true,
|
|
1114
|
+
attributes: true
|
|
1115
|
+
});
|
|
1116
|
+
return () => {
|
|
1117
|
+
resize.disconnect();
|
|
1118
|
+
mutations.disconnect();
|
|
1119
|
+
if (frame !== void 0) view.cancelAnimationFrame(frame);
|
|
1120
|
+
};
|
|
1121
|
+
}, [
|
|
1122
|
+
active,
|
|
1123
|
+
place,
|
|
1124
|
+
rootRef,
|
|
1125
|
+
surfaceRef
|
|
1126
|
+
]);
|
|
1127
|
+
return {
|
|
1128
|
+
active,
|
|
1129
|
+
dismiss,
|
|
1130
|
+
readText,
|
|
1131
|
+
clearSelection
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1134
|
+
//#endregion
|
|
601
1135
|
//#region lib/types/client/chat/use-chat-navigation.js
|
|
602
1136
|
/** Turn jumps and history-prepend anchoring, independent of DOM measurement. */
|
|
603
1137
|
/** Owns one replaceable turn jump and the anchor retained while history loads. */
|
|
@@ -1044,11 +1578,12 @@ window.__ModuleLoader__.load({
|
|
|
1044
1578
|
}
|
|
1045
1579
|
/**
|
|
1046
1580
|
* Follow the tail on the active fold's animation clock.
|
|
1581
|
+
* @param input - whether the reader's own input requests the landing rather than a content change.
|
|
1047
1582
|
* @returns whether a fold batch owns the tail movement instead of a separate scroll animation.
|
|
1048
1583
|
*/
|
|
1049
|
-
followInputFold() {
|
|
1584
|
+
followInputFold(input) {
|
|
1050
1585
|
this.cancelPending();
|
|
1051
|
-
return this.viewport.followInputFold(this.follow);
|
|
1586
|
+
return this.viewport.followInputFold(this.follow, input);
|
|
1052
1587
|
}
|
|
1053
1588
|
/**
|
|
1054
1589
|
* Let fold batches read follow intent and commit their tail landings.
|
|
@@ -1334,9 +1869,10 @@ window.__ModuleLoader__.load({
|
|
|
1334
1869
|
* Create animation coordination without cross-viewport broadcasts.
|
|
1335
1870
|
* @param driver - the viewport's driver for the next batch; null while detached.
|
|
1336
1871
|
* @param foldingChanged - disable or restore this viewport's native scroll anchoring.
|
|
1872
|
+
* @param beforeInstantHide - measures the layout before a row hides at once outside a motion scope.
|
|
1337
1873
|
* @returns stable callbacks and cleanup for this viewport's animations.
|
|
1338
1874
|
*/
|
|
1339
|
-
function createFlowMotion(driver, foldingChanged) {
|
|
1875
|
+
function createFlowMotion(driver, foldingChanged, beforeInstantHide) {
|
|
1340
1876
|
const running = /* @__PURE__ */ new Map();
|
|
1341
1877
|
let folding = 0;
|
|
1342
1878
|
const foldIdleListeners = /* @__PURE__ */ new Set();
|
|
@@ -1361,9 +1897,14 @@ window.__ModuleLoader__.load({
|
|
|
1361
1897
|
function batchMember(box) {
|
|
1362
1898
|
return box.element.parentElement?.closest("[data-chat-motion=\"collapse\"]") === null;
|
|
1363
1899
|
}
|
|
1900
|
+
/** @returns whether a batch started; without a closing member the caller settles held rows itself. */
|
|
1364
1901
|
function runBatch(current) {
|
|
1365
1902
|
for (const box of [...boxes.values()]) {
|
|
1366
1903
|
if (!batchMember(box)) continue;
|
|
1904
|
+
if (box.element.parentElement?.closest("[hidden]") != null) {
|
|
1905
|
+
box.finish();
|
|
1906
|
+
continue;
|
|
1907
|
+
}
|
|
1367
1908
|
const height = box.element.offsetHeight;
|
|
1368
1909
|
const marginTop = Number.parseFloat(getComputedStyle(box.element).marginTop) || 0;
|
|
1369
1910
|
if (!box.closing) {
|
|
@@ -1377,7 +1918,7 @@ window.__ModuleLoader__.load({
|
|
|
1377
1918
|
}
|
|
1378
1919
|
const owned = [...boxes.values()];
|
|
1379
1920
|
const members = owned.filter(batchMember).sort((left, right) => left.element.compareDocumentPosition(right.element) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1);
|
|
1380
|
-
if (!members.some((box) => box.closing)) return;
|
|
1921
|
+
if (!members.some((box) => box.closing)) return false;
|
|
1381
1922
|
batch = true;
|
|
1382
1923
|
cancelled = false;
|
|
1383
1924
|
const travelling = current.begin(members.map((box) => box.closing ? box : {
|
|
@@ -1473,6 +2014,7 @@ window.__ModuleLoader__.load({
|
|
|
1473
2014
|
};
|
|
1474
2015
|
if (reduced) tick(0);
|
|
1475
2016
|
else frameRequest = requestAnimationFrame(tick);
|
|
2017
|
+
return true;
|
|
1476
2018
|
}
|
|
1477
2019
|
function foldActive() {
|
|
1478
2020
|
return folding > 0;
|
|
@@ -1488,10 +2030,7 @@ window.__ModuleLoader__.load({
|
|
|
1488
2030
|
batchScheduled = false;
|
|
1489
2031
|
if (batch) return;
|
|
1490
2032
|
const current = [...boxes.values()].some((box) => box.closing) ? driver() : null;
|
|
1491
|
-
if (current !== null)
|
|
1492
|
-
runBatch(current);
|
|
1493
|
-
return;
|
|
1494
|
-
}
|
|
2033
|
+
if (current !== null && runBatch(current)) return;
|
|
1495
2034
|
const reduced = typeof matchMedia === "function" && matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
1496
2035
|
for (const box of [...boxes.values()]) if (reduced || box.held && box.closing) box.finish();
|
|
1497
2036
|
else if (box.held) box.release();
|
|
@@ -1663,6 +2202,10 @@ window.__ModuleLoader__.load({
|
|
|
1663
2202
|
foldIdleListeners.clear();
|
|
1664
2203
|
for (const cancel of [...running.values()]) cancel();
|
|
1665
2204
|
}
|
|
2205
|
+
function hideNow(element, commit) {
|
|
2206
|
+
beforeInstantHide?.(element);
|
|
2207
|
+
commit();
|
|
2208
|
+
}
|
|
1666
2209
|
return {
|
|
1667
2210
|
collapse,
|
|
1668
2211
|
reveal,
|
|
@@ -1672,6 +2215,7 @@ window.__ModuleLoader__.load({
|
|
|
1672
2215
|
cancelInput,
|
|
1673
2216
|
resumeInput,
|
|
1674
2217
|
clear,
|
|
2218
|
+
hideNow,
|
|
1675
2219
|
inputActive: () => batch || batchScheduled && [...boxes.values()].some((box) => box.closing && batchMember(box))
|
|
1676
2220
|
};
|
|
1677
2221
|
}
|
|
@@ -1688,6 +2232,7 @@ window.__ModuleLoader__.load({
|
|
|
1688
2232
|
if (hidden) {
|
|
1689
2233
|
if (hiddenOrCollapsing(element)) return;
|
|
1690
2234
|
if (mounted && element.closest(MOTION_SCOPE) !== null && motion !== void 0) motion.collapse(element, commit);
|
|
2235
|
+
else if (mounted && motion?.hideNow !== void 0) motion.hideNow(element, commit);
|
|
1691
2236
|
else commit();
|
|
1692
2237
|
return;
|
|
1693
2238
|
}
|
|
@@ -1760,13 +2305,23 @@ window.__ModuleLoader__.load({
|
|
|
1760
2305
|
};
|
|
1761
2306
|
paging = null;
|
|
1762
2307
|
reader = null;
|
|
2308
|
+
/** Rows measured before an instant close; see {@link ChatViewport.keepAboveClosing}. */
|
|
2309
|
+
closing = null;
|
|
2310
|
+
/** Discards a closing measurement that no size observation consumed by the end of its frame. */
|
|
2311
|
+
closingFrame = null;
|
|
2312
|
+
/** Content height without fold room at the latest size observation: the content that frame painted. */
|
|
2313
|
+
settledContent = 0;
|
|
1763
2314
|
/** The pending or running fold batch lands at the tail. */
|
|
1764
2315
|
tailRequested = false;
|
|
2316
|
+
/** The tail request came from the reader's own input rather than from a content change. */
|
|
2317
|
+
tailInput = false;
|
|
1765
2318
|
/** Switches the running batch to a tail landing; null while no batch runs. */
|
|
1766
2319
|
retarget = null;
|
|
1767
2320
|
/** Transition state and row callbacks owned by this viewport's attachment. */
|
|
1768
2321
|
motion = createFlowMotion(() => this.foldDriver(), (active) => {
|
|
1769
2322
|
if (this.elements !== null) this.elements.scroller.style.overflowAnchor = active ? "none" : "";
|
|
2323
|
+
}, (element) => {
|
|
2324
|
+
this.measureClosing(element);
|
|
1770
2325
|
});
|
|
1771
2326
|
/**
|
|
1772
2327
|
* Bind to the containing scrollport and observe content and viewport sizes.
|
|
@@ -1799,6 +2354,8 @@ window.__ModuleLoader__.load({
|
|
|
1799
2354
|
if (typeof ResizeObserver !== "undefined") {
|
|
1800
2355
|
this.observer = new ResizeObserver(() => {
|
|
1801
2356
|
if (this.elements !== elements) return;
|
|
2357
|
+
this.settledContent = elements.scroller.scrollHeight - this.spacerHeight();
|
|
2358
|
+
this.keepAboveClosing();
|
|
1802
2359
|
this.reclaimBelow();
|
|
1803
2360
|
this.invalidate();
|
|
1804
2361
|
this.events?.resize();
|
|
@@ -1813,6 +2370,7 @@ window.__ModuleLoader__.load({
|
|
|
1813
2370
|
this.stopPreserving();
|
|
1814
2371
|
this.motion.clear();
|
|
1815
2372
|
if (this.elements !== null) this.elements.scroller.style.overflowAnchor = "";
|
|
2373
|
+
this.dropClosing();
|
|
1816
2374
|
this.elements?.scroller.removeEventListener("scroll", this.onScroll);
|
|
1817
2375
|
this.elements?.scroller.removeEventListener("scrollend", this.onScrollEnd, true);
|
|
1818
2376
|
for (const type of READING_INTENTS) this.elements?.scroller.removeEventListener(type, this.onIntent, true);
|
|
@@ -1821,6 +2379,7 @@ window.__ModuleLoader__.load({
|
|
|
1821
2379
|
this.elements = null;
|
|
1822
2380
|
this.events = null;
|
|
1823
2381
|
this.tailRequested = false;
|
|
2382
|
+
this.tailInput = false;
|
|
1824
2383
|
this.retarget = null;
|
|
1825
2384
|
this.turns = [];
|
|
1826
2385
|
this.observation = {
|
|
@@ -1881,12 +2440,15 @@ window.__ModuleLoader__.load({
|
|
|
1881
2440
|
/**
|
|
1882
2441
|
* Land the pending or running fold batch at the tail instead of starting a separate scroll.
|
|
1883
2442
|
* @param follow - follow controller whose native animation yields to the batch.
|
|
2443
|
+
* @param input - whether the reader's own input requests the landing; a content change, such as a Turn
|
|
2444
|
+
* ending, requests it in place of the immediate follow.
|
|
1884
2445
|
* @returns whether a fold owns the tail movement.
|
|
1885
2446
|
*/
|
|
1886
|
-
followInputFold(follow) {
|
|
2447
|
+
followInputFold(follow, input) {
|
|
1887
2448
|
if (this.elements === null || this.reader === null || !this.motion.inputActive()) return false;
|
|
1888
2449
|
this.interruptFollow(follow);
|
|
1889
2450
|
this.tailRequested = true;
|
|
2451
|
+
this.tailInput ||= input;
|
|
1890
2452
|
this.retarget?.();
|
|
1891
2453
|
return true;
|
|
1892
2454
|
}
|
|
@@ -1940,11 +2502,25 @@ window.__ModuleLoader__.load({
|
|
|
1940
2502
|
return {
|
|
1941
2503
|
begin: (boxes) => {
|
|
1942
2504
|
tail = this.tailRequested || follow.active && !reader.pending();
|
|
2505
|
+
const input = this.tailInput;
|
|
1943
2506
|
this.tailRequested = false;
|
|
2507
|
+
this.tailInput = false;
|
|
1944
2508
|
viewportTop = elements.scroller.getBoundingClientRect().top;
|
|
1945
2509
|
start = elements.scroller.scrollTop;
|
|
1946
2510
|
const originalRoom = this.spacerHeight();
|
|
1947
2511
|
initialHeight = Math.max(elements.column.offsetHeight, elements.scroller.scrollHeight - originalRoom);
|
|
2512
|
+
if (tail && !input) {
|
|
2513
|
+
const pinned = originalRoom === 0 && this.settledContent > elements.scroller.clientHeight && follow.active && !reader.pending() && !follow.animating;
|
|
2514
|
+
const external = elements.scroller.scrollHeight - originalRoom - this.settledContent;
|
|
2515
|
+
if (external > .5 && pinned) {
|
|
2516
|
+
elements.scroller.scrollTop = start + external;
|
|
2517
|
+
start = elements.scroller.scrollTop;
|
|
2518
|
+
this.observation = {
|
|
2519
|
+
top: start,
|
|
2520
|
+
landing: null
|
|
2521
|
+
};
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
1948
2524
|
let above = 0;
|
|
1949
2525
|
const below = [];
|
|
1950
2526
|
for (const box of boxes) {
|
|
@@ -2027,6 +2603,7 @@ window.__ModuleLoader__.load({
|
|
|
2027
2603
|
finish: (cancelled) => {
|
|
2028
2604
|
this.retarget = null;
|
|
2029
2605
|
this.tailRequested = false;
|
|
2606
|
+
this.tailInput = false;
|
|
2030
2607
|
if (this.elements !== elements) return;
|
|
2031
2608
|
elements.column.offsetHeight;
|
|
2032
2609
|
delete elements.column.dataset.inputFold;
|
|
@@ -2097,8 +2674,131 @@ window.__ModuleLoader__.load({
|
|
|
2097
2674
|
}
|
|
2098
2675
|
return null;
|
|
2099
2676
|
}
|
|
2677
|
+
/**
|
|
2678
|
+
* Measure, before the first row of a commit closes at once, the rows a following reader's shrink keeps
|
|
2679
|
+
* still: the first row visible in the last painted layout, the rows after it that were on screen, and the
|
|
2680
|
+
* rows above it within one scrollport.
|
|
2681
|
+
* Rows above the closing rows keep their painted screen positions, which the commit did not move; the same
|
|
2682
|
+
* commit can add rows between them and the closing rows, as a Turn's duration control does, so rows from
|
|
2683
|
+
* the closing rows on are placed against the current end. Reads happen only when rows close, never on the
|
|
2684
|
+
* following path's size observations. A measurement the same frame's size observation does not use is
|
|
2685
|
+
* discarded after that frame.
|
|
2686
|
+
* @param element - the first row of this commit to close.
|
|
2687
|
+
*/
|
|
2688
|
+
measureClosing(element) {
|
|
2689
|
+
const elements = this.elements;
|
|
2690
|
+
const reader = this.reader;
|
|
2691
|
+
if (elements === null || reader === null || this.closing !== null || !element.isConnected) return;
|
|
2692
|
+
if (!reader.follow.active || reader.follow.animating || reader.pending()) return;
|
|
2693
|
+
if (this.paging !== null || this.motion.foldActive() || this.motion.inputActive()) return;
|
|
2694
|
+
const scroller = elements.scroller;
|
|
2695
|
+
const scrollHeight = scroller.scrollHeight;
|
|
2696
|
+
const height = scroller.clientHeight;
|
|
2697
|
+
const painted = scroller.scrollTop + height;
|
|
2698
|
+
const origin = scroller.getBoundingClientRect().top - scroller.scrollTop;
|
|
2699
|
+
const rows = (elements.column.querySelector(":scope > [data-slot=\"conversation.chat.flow\"]") ?? elements.column).children;
|
|
2700
|
+
const end = (row) => row !== element && !row.contains(element) && (element.compareDocumentPosition(row) & Node.DOCUMENT_POSITION_PRECEDING) !== 0 ? painted : scrollHeight;
|
|
2701
|
+
const screen = (row, offset) => offset - origin - (end(row) - height);
|
|
2702
|
+
let low = 0;
|
|
2703
|
+
let high = rows.length;
|
|
2704
|
+
while (low < high) {
|
|
2705
|
+
const middle = low + high >>> 1;
|
|
2706
|
+
const row = rows[middle];
|
|
2707
|
+
if (screen(row, row.getBoundingClientRect().bottom) > 0) high = middle;
|
|
2708
|
+
else low = middle + 1;
|
|
2709
|
+
}
|
|
2710
|
+
let first = -1;
|
|
2711
|
+
for (let index = low; index < rows.length && first < 0; index++) {
|
|
2712
|
+
const row = rows[index];
|
|
2713
|
+
const rect = row.getBoundingClientRect();
|
|
2714
|
+
if (screen(row, rect.top) >= height) break;
|
|
2715
|
+
if (rect.height > 0 && !row.hasAttribute("hidden")) first = index;
|
|
2716
|
+
}
|
|
2717
|
+
if (first < 0) return;
|
|
2718
|
+
const anchors = [];
|
|
2719
|
+
const add = (row, rect) => {
|
|
2720
|
+
if (rect.height > 0 && !row.hasAttribute("hidden")) anchors.push({
|
|
2721
|
+
element: row,
|
|
2722
|
+
fromEnd: end(row) - (rect.top - origin)
|
|
2723
|
+
});
|
|
2724
|
+
};
|
|
2725
|
+
add(rows[first], rows[first].getBoundingClientRect());
|
|
2726
|
+
for (let index = first + 1; index < rows.length; index++) {
|
|
2727
|
+
const row = rows[index];
|
|
2728
|
+
const rect = row.getBoundingClientRect();
|
|
2729
|
+
if (screen(row, rect.top) >= height) break;
|
|
2730
|
+
add(row, rect);
|
|
2731
|
+
}
|
|
2732
|
+
for (let index = first - 1; index >= 0; index--) {
|
|
2733
|
+
const row = rows[index];
|
|
2734
|
+
const rect = row.getBoundingClientRect();
|
|
2735
|
+
if (screen(row, rect.bottom) <= -height) break;
|
|
2736
|
+
add(row, rect);
|
|
2737
|
+
}
|
|
2738
|
+
this.closing = {
|
|
2739
|
+
rows: anchors,
|
|
2740
|
+
content: scrollHeight - this.spacerHeight()
|
|
2741
|
+
};
|
|
2742
|
+
if (typeof requestAnimationFrame === "function") this.closingFrame = requestAnimationFrame(() => {
|
|
2743
|
+
this.closingFrame = requestAnimationFrame(() => {
|
|
2744
|
+
this.closingFrame = null;
|
|
2745
|
+
this.closing = null;
|
|
2746
|
+
});
|
|
2747
|
+
});
|
|
2748
|
+
}
|
|
2749
|
+
dropClosing() {
|
|
2750
|
+
this.closing = null;
|
|
2751
|
+
if (this.closingFrame !== null && typeof cancelAnimationFrame === "function") cancelAnimationFrame(this.closingFrame);
|
|
2752
|
+
this.closingFrame = null;
|
|
2753
|
+
}
|
|
2754
|
+
/**
|
|
2755
|
+
* Keep a following reader's content still after rows closed at once, for example work details at Turn
|
|
2756
|
+
* completion: the first visible row keeps its screen position, or, when it closed, the first surviving row
|
|
2757
|
+
* that followed it on screen, else the nearest surviving row above it. Room below fills the gap, at most half
|
|
2758
|
+
* the scrollport; beyond that the content end stops at the scrollport's middle. Called from the size
|
|
2759
|
+
* observation, after layout and before paint; only the observation of the frame that closed the rows uses
|
|
2760
|
+
* the measurement, and only while the reader still follows the tail with no fold batch, native animation,
|
|
2761
|
+
* unsampled movement, or paging writing positions.
|
|
2762
|
+
*/
|
|
2763
|
+
keepAboveClosing() {
|
|
2764
|
+
const closing = this.closing;
|
|
2765
|
+
const elements = this.elements;
|
|
2766
|
+
const reader = this.reader;
|
|
2767
|
+
if (closing === null) return;
|
|
2768
|
+
this.dropClosing();
|
|
2769
|
+
if (elements === null || reader === null || !reader.follow.active || reader.follow.animating || reader.pending()) return;
|
|
2770
|
+
if (this.paging !== null || this.motion.foldActive() || this.motion.inputActive()) return;
|
|
2771
|
+
const scroller = elements.scroller;
|
|
2772
|
+
const content = scroller.scrollHeight - this.spacerHeight();
|
|
2773
|
+
if (content >= closing.content - .5) return;
|
|
2774
|
+
const height = scroller.clientHeight;
|
|
2775
|
+
const origin = scroller.getBoundingClientRect().top - scroller.scrollTop;
|
|
2776
|
+
const cap = height / 2;
|
|
2777
|
+
let top = content + cap - height;
|
|
2778
|
+
for (const row of closing.rows) {
|
|
2779
|
+
if (!row.element.isConnected || row.element.closest("[hidden]") !== null) continue;
|
|
2780
|
+
const rect = row.element.getBoundingClientRect();
|
|
2781
|
+
if (rect.height === 0) continue;
|
|
2782
|
+
top = rect.top - origin - (height - row.fromEnd);
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2785
|
+
if (top + height - content > cap) top = content + cap - height;
|
|
2786
|
+
top = Math.max(0, top);
|
|
2787
|
+
this.setSpacer(top === 0 ? 0 : Math.max(0, top + height - content));
|
|
2788
|
+
if (scroller.scrollTop !== top) scroller.scrollTop = top;
|
|
2789
|
+
const metrics = scrollMetrics(scroller);
|
|
2790
|
+
this.observation = {
|
|
2791
|
+
top: metrics.top,
|
|
2792
|
+
landing: {
|
|
2793
|
+
metrics,
|
|
2794
|
+
position: null,
|
|
2795
|
+
turn: this.latestTurn
|
|
2796
|
+
}
|
|
2797
|
+
};
|
|
2798
|
+
}
|
|
2100
2799
|
/** Clear fold reservations after a display-mode change, allowing the scroll range to shrink. */
|
|
2101
2800
|
resetBelow() {
|
|
2801
|
+
this.dropClosing();
|
|
2102
2802
|
this.setSpacer(0);
|
|
2103
2803
|
this.invalidate();
|
|
2104
2804
|
}
|
|
@@ -2495,7 +3195,7 @@ window.__ModuleLoader__.load({
|
|
|
2495
3195
|
* @returns element refs, visible reading state, and navigation callbacks.
|
|
2496
3196
|
*/
|
|
2497
3197
|
function useChatScroll(input) {
|
|
2498
|
-
const { ready, order, firstSeq, lastKey, lastIsUser, steeringId, submissionId, running, deferCompletedTurns, loadedTurns, chatScroll, hasMore, loadingOlder, loadOlder, loadThrough, transcriptView } = input;
|
|
3198
|
+
const { ready, order, firstSeq, lastKey, lastIsUser, steeringId, submissionId, submissionSteers, running, deferCompletedTurns, loadedTurns, chatScroll, hasMore, loadingOlder, loadOlder, loadThrough, transcriptView } = input;
|
|
2499
3199
|
const { viewport, listRef, columnRef } = useChatViewport();
|
|
2500
3200
|
const { reading, state } = useChatReading(viewport, chatScroll, loadedTurns.at(-1)?.turn ?? null);
|
|
2501
3201
|
const navigationInput = (0, react.useMemo)(() => ({
|
|
@@ -2524,7 +3224,9 @@ window.__ModuleLoader__.load({
|
|
|
2524
3224
|
const current = content.current.input;
|
|
2525
3225
|
if (!current.ready && !content.current.opened) return;
|
|
2526
3226
|
const previous = content.current.applied;
|
|
2527
|
-
const
|
|
3227
|
+
const steeringInput = current.steeringId !== null && current.steeringId !== previous?.steeringId && current.steeringId !== previous?.submissionId;
|
|
3228
|
+
const submissionInput = current.submissionId !== null && current.submissionId !== previous?.submissionId && current.submissionId !== previous?.steeringId;
|
|
3229
|
+
const ownInput = current.lastIsUser && current.lastKey !== previous?.lastKey || steeringInput || submissionInput;
|
|
2528
3230
|
if (reading.pending && !ownInput) return;
|
|
2529
3231
|
content.current.applied = current;
|
|
2530
3232
|
if (current.ready && !content.current.opened) {
|
|
@@ -2535,8 +3237,9 @@ window.__ModuleLoader__.load({
|
|
|
2535
3237
|
}
|
|
2536
3238
|
if (ownInput) {
|
|
2537
3239
|
navigation.cancel();
|
|
2538
|
-
if (current.deferCompletedTurns && reading.followInputFold()) return;
|
|
2539
|
-
|
|
3240
|
+
if (current.deferCompletedTurns && reading.followInputFold(true)) return;
|
|
3241
|
+
const steering = steeringInput || submissionInput && current.submissionSteers;
|
|
3242
|
+
reading.followTail(current.deferCompletedTurns && !steering ? "smooth" : "instant");
|
|
2540
3243
|
return;
|
|
2541
3244
|
}
|
|
2542
3245
|
if (navigation.contentCommitted()) {
|
|
@@ -2545,7 +3248,7 @@ window.__ModuleLoader__.load({
|
|
|
2545
3248
|
}
|
|
2546
3249
|
if ((previous === null || current.ready !== previous.ready || current.firstSeq !== previous.firstSeq || current.lastKey !== previous.lastKey || current.order.length !== previous.order.length || current.running !== previous.running || current.steeringId !== previous.steeringId || current.submissionId !== previous.submissionId) && reading.followingTail) {
|
|
2547
3250
|
navigation.cancel();
|
|
2548
|
-
if (current.deferCompletedTurns && reading.followInputFold()) return;
|
|
3251
|
+
if (current.deferCompletedTurns && reading.followInputFold(false)) return;
|
|
2549
3252
|
reading.followTail();
|
|
2550
3253
|
} else navigation.reconcile();
|
|
2551
3254
|
}, [reading, navigation]);
|
|
@@ -2603,6 +3306,7 @@ window.__ModuleLoader__.load({
|
|
|
2603
3306
|
lastIsUser,
|
|
2604
3307
|
steeringId,
|
|
2605
3308
|
submissionId,
|
|
3309
|
+
submissionSteers,
|
|
2606
3310
|
running,
|
|
2607
3311
|
loadedTurns,
|
|
2608
3312
|
chatScroll,
|
|
@@ -2631,6 +3335,7 @@ window.__ModuleLoader__.load({
|
|
|
2631
3335
|
lastIsUser,
|
|
2632
3336
|
steeringId,
|
|
2633
3337
|
submissionId,
|
|
3338
|
+
submissionSteers,
|
|
2634
3339
|
running,
|
|
2635
3340
|
loadedTurns,
|
|
2636
3341
|
chatScroll,
|
|
@@ -2676,7 +3381,7 @@ window.__ModuleLoader__.load({
|
|
|
2676
3381
|
}
|
|
2677
3382
|
//#endregion
|
|
2678
3383
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/ChatView.module.css.mjs
|
|
2679
|
-
const css$16 = ".EvIC1a_frame{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;container-type:inline-size}.EvIC1a_root{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;overflow:visible clip}.EvIC1a_scroll{min-height:0;padding:16px calc(var(--dsh-composer-side-clearance) + 16px);flex:auto;overflow-y:auto;container-type:inline-size}.EvIC1a_root[data-chat-following-tail] .EvIC1a_scroll,[data-conversation-scroll]:has(.EvIC1a_root[data-chat-following-tail]){overflow-anchor:none}[data-conversation-scroll] .EvIC1a_frame,[data-conversation-scroll] .EvIC1a_root{flex:none;height:auto;min-height:auto}[data-conversation-scroll] .EvIC1a_scroll{flex:none;min-height:auto;overflow:visible}.EvIC1a_column{max-width:var(--dsh-chat-content-width);flex-direction:column;width:100%;margin:0 auto;display:flex}:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)))~:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))),.EvIC1a_column:has(>.EvIC1a_older)>[data-slot=\"conversation.chat.flow\"]>:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))){margin-top:var(--dsh-chat-flow-gap,6px)}.EvIC1a_flowItem[data-chat-group-part=response],:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>[data-chat-group-part=response]:not([hidden]):not(:empty)+:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))):not(.EvIC1a_running){--dsh-chat-flow-gap:12px}.EvIC1a_flowItem{min-width:0}.EvIC1a_turnSpacer{height:0}.EvIC1a_column[data-chat-motion]>:not([data-chat-motion]),.EvIC1a_column[data-chat-motion]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:margin-top .16s cubic-bezier(.4,0,.2,1)}.EvIC1a_column[data-input-fold]>:not([data-chat-motion]),.EvIC1a_column[data-input-fold]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:none}@media (prefers-reduced-motion:reduce){.EvIC1a_column[data-chat-motion]>:not([data-chat-motion]),.EvIC1a_column[data-chat-motion]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:none}}.EvIC1a_flowItem[data-chat-flow-kind=turn-process],.EvIC1a_flowItem[data-turn-process-answer],:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>[data-chat-flow-kind=turn-process]+:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))):not(.EvIC1a_running){--dsh-chat-flow-gap:16px}.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)){height:0}.EvIC1a_callRow{border-radius:var(--dsw-radius-sm)}.EvIC1a_hint{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.EvIC1a_running{--dsh-chat-flow-gap:12px;--dsw-alias-label-shimmer:var(--dsw-alias-label-deep-diving-shimmer);color:var(--dsw-alias-label-deep-diving);font-size:calc(var(--dsh-content-font-size,14px) - 2px);line-height:calc(22px + var(--dsh-content-font-delta,0px));flex-direction:column;align-items:flex-start;display:flex}:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>:nth-last-child(2 of :not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)))):is(.EvIC1a_flowItem:not([data-chat-flow-kind=user]):not([data-chat-flow-kind=steering]):not([data-chat-flow-kind=turn-trigger]),[data-chat-group-key])~.EvIC1a_running>.EvIC1a_runningDivider{display:block}.EvIC1a_runningDivider{background:color-mix(in srgb, var(--dsw-alias-border-l1) 75%, var(--dsw-alias-border-l2));pointer-events:none;width:100%;height:.5px;margin:8px 0 10px;display:none}.EvIC1a_runningContent{align-items:center;gap:6px;min-width:0;display:inline-flex}.EvIC1a_runningText{font-variant-numeric:tabular-nums;min-width:0}.EvIC1a_runningIcon{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px));contain:strict;flex:none;display:inline-flex;position:relative;overflow:hidden}.EvIC1a_runningWhaleAnimated{display:none;position:absolute;inset:0}.EvIC1a_runningWhaleStill{display:initial}@supports (mask-mode:alpha) and (mask-image:url('')){@media (prefers-reduced-motion:no-preference) and (forced-colors:none){.EvIC1a_runningWhaleAnimated{will-change:transform;background:currentColor;display:block;mask:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAQAAADYBBcfAAAACXBIWXMAAAAAAAAAAQCEeRdzAAAACGFjVEwAAAA8AAAAAO2clZcAAAAaZmNUTAAAAAAAAAAcAAAAHAAAAAAAAAAAAAEAFAAA0ML43AAAAZ1JREFUeNrdU80rRFEU/z0fjUhNLNRrMiYmNhbCZmxZm5WFZmVjISULKRul7A3+AKRGTcmsNEq9hY9SYxSjhHwkZESjkPH1m/G688ybxx1Lv9d959xzzu++c849T8EfUSi0FizBjk185HtEEG8kraMLFfnQCpDAIaZITT0bGIFLNuUXrFI6MQgNSZKTmEa5DHUbj7DpeikTjpG8zEx+xRwDh77lsEhLn1W4IrQmVpZ67wuLHdc4wiyaeUAUIexaHdLDgDPUGSzzerO+nggGUJWbOkz3LVrFvpKpNrLianRiEnFxhIaSbGovza/otijLg1EE0lS32e3FHR0+yyb66R3L7arBFR5yVuPAAmlhQ0uz0E+319BdN9poC+CZdr+5vgwmGOChdHPwE4a+XqDDfI8ZFOOSA6cycI30GI7ZzzhvdAs7bNwP8JEyTlmEdwbngTCJTsoyypA8TeV3NF2/wZ71f2hOVMGMrh+g1qr1ZmI714qun/JHU2WJ9bjHua6fcLnkiDYOdETs4ulBlyI2cEXF7il9KVJQOI8O/C98Ag5meU925KTLAAAAGmZjVEwAAAABAAAAAQAAAAEAAAAAAAAAAAABABQAANe0VH4AAAAPZmRBVAAAAAJ42mNkYAAAAAYAArYgHbAAAAAaZmNUTAAAAAMAAAABAAAAAQAAAAAAAAAAAAEAFAAAOiKHlwAAAA9mZEFUA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FQ6wWGLQyXMDUmAaUeMaggiSyBBgcEnmMoYBBH11QBlHjLYArnCzPUAQNdAhgogQyTGd7ANR+E+xoI0sFhFYnD+VYMDQwrwJpUkSUCGN4DhWJwBtMkoGwzuqACw0uGzwxiWJTLgNPILnBwoYE8oEQAnCcAdIY1Qy7QST+A4pMg/gAAodxPKwH8AyIAAAAaZmNUTAAAAGsAAAASAAAADQAAAAMAAAABAAEAFAAA98Co6wAAAN1mZEFUAAAAbHjaY2RgYDBhmM6wiqGX4R8DHrCG4S/Df4ZjDGEMQriUMDF8YrjDMAWoDASPM1QzKGIqYmb4xbAPSMszFDEcZPgNVPibYSoDL7qy8wzfGNihbC6gpdeACncAbUABi4GCZShmrweKZCMEGIHYEOgSEHkdLirA8JLhLsMiBmOg4gsMmyCCSUDOIwYVJNOWQj0CgVBQAWS+ZTCFKxIGWqcLdKEcgz/DZITedKCyPwxRDARAAMN7oMIYQsoUGF4wfGYQxwxKZPCB4SfQDUcZbsB9KcugyRAAAM+jPZaw4UfAAAAAGmZjVEwAAABtAAAAAQAAAAEAAAAAAAAAAAABABQAANB+o2MAAAAPZmRBVAAAAG542mNkYAAAAAYAApt4PDkAAAAaZmNUTAAAAG8AAAABAAAAAQAAAAAAAAAAAAEAFAAAPehwigAAAA9mZEFUAAAAcHjaY2RgAAAABgACflEC2wAAABpmY1RMAAAAcQAAAAEAAAABAAAAAAAAAAAAAQAUAADR6ceaAAAAD2ZkQVQAAAByeNpjZGAAAAAGAAKSapxEAAAAGmZjVEwAAABzAAAAAQAAAAEAAAAAAAAAAAABABQAADx/FHMAAAAPZmRBVAAAAHR42mNkYAAAAAYAAn1XOaQAAAAaZmNUTAAAAHUAAAABAAAAAQAAAAAAAAAAAAEAFAAA0bVmCQAAAA9mZEFUAAAAdnjaY2RgAAAABgACkWynOwAAAABJRU5ErkJggg==) 50%/100% 100% no-repeat alpha}.EvIC1a_runningWhaleStill{display:none}}}.EvIC1a_openError{color:var(--dsw-alias-state-error-primary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.EvIC1a_older{justify-content:center;display:flex}.EvIC1a_older button{border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover-solid);cursor:pointer;border:none;padding:4px 12px;font-size:12px}.EvIC1a_older button:disabled{cursor:default;opacity:.6}.EvIC1a_toBottomSlot{z-index:8;height:0;padding-right:max(calc(var(--dsh-composer-side-clearance) + 16px), calc((100% - var(--dsh-chat-content-width)) / 2));pointer-events:none;justify-content:flex-end;display:flex;position:absolute;bottom:16px;left:0;right:0}[data-conversation-scroll] .EvIC1a_toBottomSlot{bottom:calc(var(--dsh-composer-height,152px) + 16px);position:sticky}.EvIC1a_toBottom{--dsw-elevation-stroke-color:var(--dsw-alias-border-l3);corner-shape:round;width:34px;height:34px;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-floating-fill);box-shadow:var(--dsw-elevation-panel);cursor:pointer;pointer-events:auto;border:0;border-radius:100px;justify-content:center;align-items:center;margin-top:-34px;padding:0;display:flex}.EvIC1a_toBottom:hover{background:var(--dsw-alias-button-floating-hover)}.EvIC1a_modalAction{min-width:72px}";
|
|
3384
|
+
const css$16 = ".EvIC1a_frame{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;container-type:inline-size}.EvIC1a_root{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;overflow:visible clip}.EvIC1a_scroll{min-height:0;padding:16px calc(var(--dsh-composer-side-clearance) + 16px);flex:auto;overflow:clip auto;container-type:inline-size}.EvIC1a_root[data-chat-following-tail] .EvIC1a_scroll,[data-conversation-scroll]:has(.EvIC1a_root[data-chat-following-tail]){overflow-anchor:none}[data-conversation-scroll] .EvIC1a_frame,[data-conversation-scroll] .EvIC1a_root{flex:none;height:auto;min-height:auto}[data-conversation-scroll] .EvIC1a_scroll{flex:none;min-height:auto;overflow:clip visible}.EvIC1a_column{max-width:var(--dsh-chat-content-width);flex-direction:column;width:100%;margin:0 auto;display:flex;position:relative}:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>:not([hidden]):not(.EvIC1a_textInteraction):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)))~:not([hidden]):not(.EvIC1a_textInteraction):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))),.EvIC1a_column>.EvIC1a_older+[data-slot=\"conversation.chat.flow\"]>:not([hidden]):not(.EvIC1a_textInteraction):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))){margin-top:var(--dsh-chat-flow-gap,4px)}.EvIC1a_flowItem[data-chat-group-part=response],:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>[data-chat-group-part=response]:not([hidden]):not(:empty)+:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))):not(.EvIC1a_running):not(:has(>[data-slot=\"conversation.chat.node\"]>[data-chat-steering-batch])){--dsh-chat-flow-gap:12px}.EvIC1a_flowItem{min-width:0}.EvIC1a_turnSpacer{height:0}.EvIC1a_column[data-chat-motion]>:not([data-chat-motion]),.EvIC1a_column[data-chat-motion]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:margin-top .16s cubic-bezier(.4,0,.2,1)}.EvIC1a_column[data-input-fold]>:not([data-chat-motion]),.EvIC1a_column[data-input-fold]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:none}.EvIC1a_column[data-chat-motion]>[data-chat-flow-kind=turn-process],.EvIC1a_column[data-chat-motion]>[data-slot=\"conversation.chat.flow\"]>[data-chat-flow-kind=turn-process]{transition:none}@media (prefers-reduced-motion:reduce){.EvIC1a_column[data-chat-motion]>:not([data-chat-motion]),.EvIC1a_column[data-chat-motion]>[data-slot=\"conversation.chat.flow\"]>:not([data-chat-motion]){transition:none}}.EvIC1a_flowItem[data-chat-flow-kind=turn-process],:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>[data-chat-flow-kind=turn-process]:not(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))+:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))):not(.EvIC1a_running):not(:has(>[data-slot=\"conversation.chat.node\"]>[data-chat-steering-batch])),:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>[data-chat-flow-kind=turn-process]+:not([hidden]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty))):not(.EvIC1a_running):not([data-submission-echo],[data-pending-steering]):not(:has(>[data-slot=\"conversation.chat.node\"]>[data-chat-steering-batch])){--dsh-chat-flow-gap:16px}:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>.EvIC1a_flowItem:has(>[data-slot=\"conversation.chat.node\"]>[data-chat-steering-batch=start]){--dsh-chat-flow-gap:calc(44px + var(--dsh-content-font-delta,0px))}.EvIC1a_running+[data-pending-steering]{--dsh-chat-flow-gap:0px}.EvIC1a_flowItem[data-chat-flow-kind=turn-tail]+.EvIC1a_running{display:none}@media (prefers-reduced-motion:no-preference){:where(.EvIC1a_column>[data-slot=\"conversation.chat.flow\"]>.EvIC1a_flowItem[data-chat-flow-kind=steering])+.EvIC1a_running{animation:.14s cubic-bezier(.2,.8,.2,1) EvIC1a_running-enters-slot}.EvIC1a_column[data-input-fold] .EvIC1a_running{animation-duration:0s}}@keyframes EvIC1a_running-enters-slot{0%{opacity:0;translate:0 calc(-44px - var(--dsh-content-font-delta,0px))}40%{opacity:1}}.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)){height:0}.EvIC1a_callRow{border-radius:var(--dsw-radius-sm)}.EvIC1a_hint{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.EvIC1a_running{--dsh-chat-flow-gap:12px;--dsw-alias-label-shimmer:var(--dsw-alias-label-deep-diving-shimmer);color:var(--dsw-alias-label-deep-diving);font-size:calc(var(--dsh-content-font-size,14px) - 2px);line-height:calc(22px + var(--dsh-content-font-delta,0px));flex-direction:column;align-items:flex-start;display:flex;position:relative}.EvIC1a_running[data-holding]{visibility:hidden;opacity:0}:is(.EvIC1a_column,[data-slot=\"conversation.chat.flow\"])>:nth-last-child(2 of :not([hidden]):not([data-pending-steering]):not(.EvIC1a_flowItem:is(:empty,:has(>[data-slot=\"conversation.chat.node\"]:empty)))):is(.EvIC1a_flowItem:not([data-chat-flow-kind=user]):not([data-chat-flow-kind=steering]):not([data-chat-flow-kind=turn-trigger]),[data-chat-group-key])~.EvIC1a_running>.EvIC1a_runningDivider{opacity:1}.EvIC1a_runningDivider{background:color-mix(in srgb, var(--dsw-alias-border-l1) 75%, var(--dsw-alias-border-l2));opacity:0;pointer-events:none;height:.5px;position:absolute;top:-4px;left:0;right:0}@media (prefers-reduced-motion:no-preference){.EvIC1a_runningDivider{transition:opacity .16s}}.EvIC1a_runningContent{min-width:0;height:calc(28px + var(--dsh-content-font-delta,0px));align-items:center;gap:6px;margin-top:4px;display:inline-flex}.EvIC1a_runningText{font-variant-numeric:tabular-nums;min-width:0}.EvIC1a_runningIcon{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px));contain:strict;flex:none;display:inline-flex;position:relative;overflow:hidden}.EvIC1a_runningWhaleAnimated{display:none;position:absolute;inset:0}.EvIC1a_runningWhaleStill{display:initial}@supports (mask-mode:alpha) and (mask-image:url('')){@media (prefers-reduced-motion:no-preference) and (forced-colors:none){.EvIC1a_runningWhaleAnimated{will-change:transform;background:currentColor;display:block;mask:url(" + require.asset("plugins/@deepseek-ai/dsh-client-ui-chat/assets/running-whale%402x-06738fa29b2f.png") + ") 50%/100% 100% no-repeat alpha}.EvIC1a_runningWhaleStill{display:none}}}.EvIC1a_openError{color:var(--dsw-alias-state-error-primary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.EvIC1a_older{justify-content:center;display:flex}.EvIC1a_older button{border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-interactive-bg-hover-solid);cursor:pointer;border:none;padding:4px 12px;font-size:12px}.EvIC1a_older button:disabled{cursor:default;opacity:.6}.EvIC1a_toBottomSlot{z-index:8;height:0;padding-right:max(calc(var(--dsh-composer-side-clearance) + 16px), calc((100% - var(--dsh-chat-content-width)) / 2));pointer-events:none;justify-content:flex-end;display:flex;position:absolute;bottom:16px;left:0;right:0}[data-conversation-scroll] .EvIC1a_toBottomSlot{bottom:calc(var(--dsh-composer-height,152px) + 16px);position:sticky}.EvIC1a_toBottom{--dsw-elevation-stroke-color:var(--dsw-alias-border-l3);corner-shape:round;width:34px;height:34px;color:var(--dsw-alias-label-primary);background:var(--dsw-alias-button-floating-fill);box-shadow:var(--dsw-elevation-panel);cursor:pointer;pointer-events:auto;border:0;border-radius:100px;justify-content:center;align-items:center;margin-top:-34px;padding:0;display:flex}@media (hover:hover){.EvIC1a_toBottom:hover{background:var(--dsw-alias-button-floating-hover)}}.EvIC1a_modalAction{min-width:72px}.EvIC1a_column>.EvIC1a_textInteraction{z-index:6;visibility:hidden;width:max-content;margin:0;position:absolute}";
|
|
2680
3385
|
const tagId$16 = "@deepseek-ai/dsh-client-ui-chat/ChatView.module.css";
|
|
2681
3386
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$16) + "]") === null) {
|
|
2682
3387
|
const tag = document.createElement("style");
|
|
@@ -2696,6 +3401,7 @@ window.__ModuleLoader__.load({
|
|
|
2696
3401
|
"openError": "EvIC1a_openError",
|
|
2697
3402
|
"root": "EvIC1a_root",
|
|
2698
3403
|
"running": "EvIC1a_running",
|
|
3404
|
+
"running-enters-slot": "EvIC1a_running-enters-slot",
|
|
2699
3405
|
"runningContent": "EvIC1a_runningContent",
|
|
2700
3406
|
"runningDivider": "EvIC1a_runningDivider",
|
|
2701
3407
|
"runningIcon": "EvIC1a_runningIcon",
|
|
@@ -2703,6 +3409,7 @@ window.__ModuleLoader__.load({
|
|
|
2703
3409
|
"runningWhaleAnimated": "EvIC1a_runningWhaleAnimated",
|
|
2704
3410
|
"runningWhaleStill": "EvIC1a_runningWhaleStill",
|
|
2705
3411
|
"scroll": "EvIC1a_scroll",
|
|
3412
|
+
"textInteraction": "EvIC1a_textInteraction",
|
|
2706
3413
|
"toBottom": "EvIC1a_toBottom",
|
|
2707
3414
|
"toBottomSlot": "EvIC1a_toBottomSlot",
|
|
2708
3415
|
"turnSpacer": "EvIC1a_turnSpacer"
|
|
@@ -2741,7 +3448,41 @@ window.__ModuleLoader__.load({
|
|
|
2741
3448
|
* The chat view slot entry: pure component over the composed props; each
|
|
2742
3449
|
* ordered business Node crosses the keyed renderer seat.
|
|
2743
3450
|
*/
|
|
2744
|
-
function ChatView({ useSession, useChat, useConversation, useSessions, renderSlot, sessionId, openFile, openExternalLink, loadOlder, loadThrough, loadImage, inspectCall, chatScroll, forkAt,
|
|
3451
|
+
function ChatView({ useSession, useChat, useConversation, useSessions, renderSlot, sessionId, openFile, openExternalLink, resolveFilePath, useContextMenu, loadOlder, loadThrough, loadImage, inspectCall, chatScroll, forkAt, usePresentation, useProjection, useInteractionIds, dispatchInteraction, t, fileDrag }) {
|
|
3452
|
+
const { getTriggerProps } = useContextMenu();
|
|
3453
|
+
const getMarkdownTriggerProps = (0, react.useCallback)((target) => getTriggerProps(() => {
|
|
3454
|
+
switch (target.kind) {
|
|
3455
|
+
case "file": return {
|
|
3456
|
+
kind: "file",
|
|
3457
|
+
value: {
|
|
3458
|
+
sessionId,
|
|
3459
|
+
path: resolveFilePath(target.path),
|
|
3460
|
+
...target.line === void 0 ? {} : { line: target.line }
|
|
3461
|
+
}
|
|
3462
|
+
};
|
|
3463
|
+
case "url": return {
|
|
3464
|
+
kind: "url",
|
|
3465
|
+
value: {
|
|
3466
|
+
sessionId,
|
|
3467
|
+
url: target.url
|
|
3468
|
+
}
|
|
3469
|
+
};
|
|
3470
|
+
case "image": return {
|
|
3471
|
+
kind: "image",
|
|
3472
|
+
value: {
|
|
3473
|
+
sessionId,
|
|
3474
|
+
url: target.url,
|
|
3475
|
+
...target.name === void 0 ? {} : { name: target.name },
|
|
3476
|
+
...target.mediaType === void 0 ? {} : { mediaType: target.mediaType },
|
|
3477
|
+
...target.path === void 0 ? {} : { path: resolveFilePath(target.path) }
|
|
3478
|
+
}
|
|
3479
|
+
};
|
|
3480
|
+
}
|
|
3481
|
+
}), [
|
|
3482
|
+
getTriggerProps,
|
|
3483
|
+
resolveFilePath,
|
|
3484
|
+
sessionId
|
|
3485
|
+
]);
|
|
2745
3486
|
const order = useChat((s) => s.order);
|
|
2746
3487
|
const groupedEntries = useConversation((snapshot) => snapshot.views.grouped("chat")?.entries);
|
|
2747
3488
|
const entries = (0, react.useMemo)(() => groupedEntries ?? order.map((key) => ({
|
|
@@ -2757,7 +3498,9 @@ window.__ModuleLoader__.load({
|
|
|
2757
3498
|
const inbox = useProjection("inbox");
|
|
2758
3499
|
const cwd = useSessions((s) => s.byId[sessionId]?.cwd);
|
|
2759
3500
|
const fileImages = (0, react.useMemo)(() => ({
|
|
3501
|
+
fileDrag,
|
|
2760
3502
|
resolve: (path) => fileMediaUrl(document.baseURI, resolveWorkspacePath(cwd, path)),
|
|
3503
|
+
resourceAddress: (path) => sessionFileAddress(sessionId, resolveWorkspacePath(cwd, path)),
|
|
2761
3504
|
labels: {
|
|
2762
3505
|
open: t("image.open"),
|
|
2763
3506
|
loading: t("image.loading"),
|
|
@@ -2765,7 +3508,12 @@ window.__ModuleLoader__.load({
|
|
|
2765
3508
|
dialog: t("image.dialog"),
|
|
2766
3509
|
close: t("image.close")
|
|
2767
3510
|
}
|
|
2768
|
-
}), [
|
|
3511
|
+
}), [
|
|
3512
|
+
cwd,
|
|
3513
|
+
t,
|
|
3514
|
+
fileDrag,
|
|
3515
|
+
sessionId
|
|
3516
|
+
]);
|
|
2769
3517
|
const running = useSession((s) => s.running);
|
|
2770
3518
|
const [motionTail, setMotionTail] = (0, react.useState)(false);
|
|
2771
3519
|
(0, react.useEffect)(() => {
|
|
@@ -2860,9 +3608,13 @@ window.__ModuleLoader__.load({
|
|
|
2860
3608
|
lastIsUser: lastKey !== null && nodeStore.get(lastKey)?.kind === "user",
|
|
2861
3609
|
steeringId,
|
|
2862
3610
|
submissionId: visibleSubmissions.at(-1)?.requestId ?? null,
|
|
3611
|
+
submissionSteers: visibleSubmissions.at(-1)?.placement === "steering",
|
|
2863
3612
|
loadedTurns: turnNavigationItems,
|
|
2864
3613
|
transcriptView
|
|
2865
3614
|
});
|
|
3615
|
+
const interactionSurfaceRef = (0, react.useRef)(null);
|
|
3616
|
+
const interactionIds = useInteractionIds((ids) => ids);
|
|
3617
|
+
const textInteraction = useTextInteraction(scroll.columnRef, interactionSurfaceRef, dispatchInteraction, interactionIds);
|
|
2866
3618
|
const flowContext = (0, react.useMemo)(() => ({ motion: scroll.motion }), [scroll.motion]);
|
|
2867
3619
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
2868
3620
|
className: ChatView_module_css_default.frame,
|
|
@@ -2907,6 +3659,7 @@ window.__ModuleLoader__.load({
|
|
|
2907
3659
|
})
|
|
2908
3660
|
}),
|
|
2909
3661
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MarkdownDelegateProvider, {
|
|
3662
|
+
getTriggerProps: getMarkdownTriggerProps,
|
|
2910
3663
|
openFile: requestOpenFile,
|
|
2911
3664
|
openExternalLink,
|
|
2912
3665
|
fileImages,
|
|
@@ -2919,9 +3672,20 @@ window.__ModuleLoader__.load({
|
|
|
2919
3672
|
openFile: requestOpenFile,
|
|
2920
3673
|
inspectCall,
|
|
2921
3674
|
forkAt,
|
|
2922
|
-
loadImage
|
|
2923
|
-
fileMentions
|
|
3675
|
+
loadImage
|
|
2924
3676
|
}, { hookContext: flowContext })
|
|
3677
|
+
}),
|
|
3678
|
+
(0, react_jsx_runtime.jsx)("div", {
|
|
3679
|
+
ref: interactionSurfaceRef,
|
|
3680
|
+
className: ChatView_module_css_default.textInteraction,
|
|
3681
|
+
"data-text-interaction-surface": "",
|
|
3682
|
+
"aria-hidden": textInteraction.active === null,
|
|
3683
|
+
children: textInteraction.active !== null && renderSlot("conversation.chat.text-interaction", {
|
|
3684
|
+
trigger: textInteraction.active.trigger,
|
|
3685
|
+
readText: textInteraction.readText,
|
|
3686
|
+
dismiss: textInteraction.dismiss,
|
|
3687
|
+
clearSelection: textInteraction.clearSelection
|
|
3688
|
+
}, { entryKey: textInteraction.active.id })
|
|
2925
3689
|
})
|
|
2926
3690
|
]
|
|
2927
3691
|
}), (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -3617,6 +4381,21 @@ window.__ModuleLoader__.load({
|
|
|
3617
4381
|
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
3618
4382
|
}
|
|
3619
4383
|
//#endregion
|
|
4384
|
+
//#region lib/types/client/contract/assistant-content.js
|
|
4385
|
+
/**
|
|
4386
|
+
* Test whether Assistant blocks contain a user-facing reply rather than only
|
|
4387
|
+
* reasoning or Tool-call protocol material.
|
|
4388
|
+
* @param blocks - Assistant content blocks.
|
|
4389
|
+
* @returns whether the blocks contain visible reply content.
|
|
4390
|
+
*/
|
|
4391
|
+
function hasAssistantReplyContent(blocks) {
|
|
4392
|
+
return blocks.some((block) => {
|
|
4393
|
+
if (block.kind === "reasoning" || block.kind === "tool-call") return false;
|
|
4394
|
+
if (block.kind === "text") return block.text.trim() !== "";
|
|
4395
|
+
return true;
|
|
4396
|
+
});
|
|
4397
|
+
}
|
|
4398
|
+
//#endregion
|
|
3620
4399
|
//#region lib/types/client/contract/turn-process.js
|
|
3621
4400
|
/**
|
|
3622
4401
|
* Compare immutable Turn-process specifications by their published fields.
|
|
@@ -3709,7 +4488,7 @@ window.__ModuleLoader__.load({
|
|
|
3709
4488
|
* Policy reads select this seat's own conclusion, so a mode change re-renders
|
|
3710
4489
|
* only seats whose visibility actually changes.
|
|
3711
4490
|
*/
|
|
3712
|
-
const ChatNodeSeat = (0, react.memo)(function ChatNodeSeat({ nodeKey, groupPart, useChatNode, useChatNodeProcess, usePresentation, cwd, openFile, inspectCall, forkAt, loadImage,
|
|
4491
|
+
const ChatNodeSeat = (0, react.memo)(function ChatNodeSeat({ nodeKey, groupPart, useChatNode, useChatNodeProcess, usePresentation, cwd, openFile, inspectCall, forkAt, loadImage, useStore, actions, renderSlot, t, useChatNodeBottom, deferCollapse, useGroupAction }) {
|
|
3713
4492
|
const bottom = useChatNodeBottom(nodeKey);
|
|
3714
4493
|
const node = useChatNode(nodeKey);
|
|
3715
4494
|
const routedNode = node;
|
|
@@ -3729,28 +4508,30 @@ window.__ModuleLoader__.load({
|
|
|
3729
4508
|
alwaysOpen
|
|
3730
4509
|
]);
|
|
3731
4510
|
const foldCompleted = usePresentation((policy) => policy.foldCompletedTurns);
|
|
4511
|
+
const keepReplies = usePresentation((policy) => policy.foldedReplies === "all");
|
|
3732
4512
|
const processWindowReady = processSpec !== void 0 && processPresentation !== void 0 && foldCompleted && processPresentation.turn === processSpec.turn && (processPresentation.turnStarted || processPresentation.turnClosed);
|
|
3733
|
-
const
|
|
4513
|
+
const replyRow = keepReplies && routedNode?.kind === "assistant-step" && groupPart !== "reasoning" && hasAssistantReplyContent(routedNode.data.blocks);
|
|
4514
|
+
const processMember = routedNode !== void 0 && processWindowReady && !replyRow && !isAtOrOutside(routedNode, "turn") && routedNode.anchorSeq >= processSpec.processStartSeq && (liveProcess || processSpec.answerAnchorSeq === null || routedNode.anchorSeq < processSpec.answerAnchorSeq || groupPart === "reasoning" && routedNode.kind === "assistant-step" && routedNode.data.step === processSpec.answerStep);
|
|
3734
4515
|
const processAnswer = routedNode !== void 0 && processWindowReady && !liveProcess && groupPart !== "reasoning" && routedNode.kind === "assistant-step" && routedNode.data.step === processSpec.answerStep;
|
|
3735
|
-
const ownsDisclosure = routedNode?.kind === "turn-process" || processAnswer;
|
|
4516
|
+
const ownsDisclosure = routedNode?.kind === "turn-process" || processAnswer || replyRow;
|
|
3736
4517
|
const foldable = processWindowReady && (liveProcess || processMember || ownsDisclosure);
|
|
3737
4518
|
const turnProcess = (0, react.useMemo)(() => processSpec === void 0 ? void 0 : {
|
|
3738
4519
|
spec: processSpec,
|
|
3739
4520
|
foldable,
|
|
3740
|
-
hasContent: !interleavedInput && (processPresentation?.
|
|
4521
|
+
hasContent: !interleavedInput && (processSpec.inlineReasoning || (keepReplies ? processPresentation?.hasNonReplyProcess === true : processPresentation?.hasExternalProcess === true)),
|
|
3741
4522
|
open: processOpen,
|
|
3742
4523
|
setOpen
|
|
3743
4524
|
}, [
|
|
3744
4525
|
foldable,
|
|
3745
4526
|
interleavedInput,
|
|
4527
|
+
keepReplies,
|
|
3746
4528
|
processOpen,
|
|
3747
4529
|
processSpec,
|
|
3748
4530
|
processPresentation?.hasExternalProcess,
|
|
4531
|
+
processPresentation?.hasNonReplyProcess,
|
|
3749
4532
|
setOpen
|
|
3750
4533
|
]);
|
|
3751
|
-
const
|
|
3752
|
-
const compactAnswer = processAnswer && foldable && processPresentation.compactAnswer && !processOpen;
|
|
3753
|
-
const processHidden = controllerInactive || foldable && processMember && !processOpen;
|
|
4534
|
+
const processHidden = routedNode?.kind === "turn-process" && foldCompleted && !foldable || foldable && processMember && !processOpen;
|
|
3754
4535
|
const wrapperRef = useGroupAction(processHidden, (0, react.useCallback)(() => {
|
|
3755
4536
|
if (processMember) setOpen(true);
|
|
3756
4537
|
}, [processMember, setOpen]));
|
|
@@ -3780,7 +4561,6 @@ window.__ModuleLoader__.load({
|
|
|
3780
4561
|
inspectCall,
|
|
3781
4562
|
forkAt,
|
|
3782
4563
|
loadImage,
|
|
3783
|
-
fileMentions,
|
|
3784
4564
|
turnProcess
|
|
3785
4565
|
}, [
|
|
3786
4566
|
node,
|
|
@@ -3790,7 +4570,6 @@ window.__ModuleLoader__.load({
|
|
|
3790
4570
|
inspectCall,
|
|
3791
4571
|
forkAt,
|
|
3792
4572
|
loadImage,
|
|
3793
|
-
fileMentions,
|
|
3794
4573
|
turnProcess
|
|
3795
4574
|
]);
|
|
3796
4575
|
if (routedNode === void 0 || owner === null) return null;
|
|
@@ -3811,7 +4590,6 @@ window.__ModuleLoader__.load({
|
|
|
3811
4590
|
"data-chat-turn": turn,
|
|
3812
4591
|
"data-turn-process-member": processMember || void 0,
|
|
3813
4592
|
"data-turn-process-hidden": processHidden || void 0,
|
|
3814
|
-
"data-turn-process-answer": compactAnswer || void 0,
|
|
3815
4593
|
children: renderSlot("conversation.chat.node", routedOwner, {
|
|
3816
4594
|
entryKey: routedNode.kind,
|
|
3817
4595
|
hookContext,
|
|
@@ -4012,7 +4790,7 @@ window.__ModuleLoader__.load({
|
|
|
4012
4790
|
}
|
|
4013
4791
|
//#endregion
|
|
4014
4792
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/ChatGroupSeat.module.css.mjs
|
|
4015
|
-
const css$15 = ".O_Ebla_root{min-width:0}.O_Ebla_title{max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-size:var(--dsh-content-font-size,14px);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;transition:color .1s;display:flex}.O_Ebla_title:hover{color:var(--dsw-alias-label-secondary)}.O_Ebla_leading{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px));color:inherit;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.O_Ebla_leading svg{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px))}.O_Ebla_leading svg[width=\"16\"]{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px))}.O_Ebla_activityIcon,.O_Ebla_chevron{justify-content:center;align-items:center;transition:opacity .1s;display:inline-flex;position:absolute;inset:0}.O_Ebla_activityIcon{opacity:1}.O_Ebla_chevron,.O_Ebla_title:
|
|
4793
|
+
const css$15 = ".O_Ebla_root{min-width:0}.O_Ebla_title{max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;transition:color .1s;display:flex}@media (hover:hover){.O_Ebla_title:hover{color:var(--dsw-alias-label-secondary)}}.O_Ebla_leading{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px));color:inherit;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.O_Ebla_leading svg{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px))}.O_Ebla_leading svg[width=\"16\"]{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px))}.O_Ebla_activityIcon,.O_Ebla_chevron{justify-content:center;align-items:center;transition:opacity .1s;display:inline-flex;position:absolute;inset:0}.O_Ebla_activityIcon{opacity:1}.O_Ebla_chevron,.O_Ebla_title:focus-visible .O_Ebla_activityIcon{opacity:0}@media (hover:hover){.O_Ebla_title:hover .O_Ebla_activityIcon{opacity:0}}.O_Ebla_title:focus-visible .O_Ebla_chevron{opacity:1}@media (hover:hover){.O_Ebla_title:hover .O_Ebla_chevron{opacity:1}}.O_Ebla_title[aria-expanded=true] .O_Ebla_activityIcon{opacity:0}.O_Ebla_title[aria-expanded=true] .O_Ebla_chevron{opacity:1}.O_Ebla_title[aria-expanded=true]{padding-bottom:8px}.O_Ebla_body{--dsh-chat-flow-gap:4px;overscroll-behavior-y:auto;scrollbar-gutter:stable;max-height:min(400px,50vh);overflow-y:auto}.O_Ebla_label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.O_Ebla_fadeTop{mask-image:linear-gradient(#0000 0,#000 24px 100%)}.O_Ebla_fadeBottom{mask-image:linear-gradient(#000 0 calc(100% - 24px),#0000 100%)}.O_Ebla_fadeTop.O_Ebla_fadeBottom{mask-image:linear-gradient(#0000 0,#000 24px calc(100% - 24px),#0000 100%)}@media (prefers-reduced-motion:reduce){.O_Ebla_title,.O_Ebla_activityIcon,.O_Ebla_chevron{transition:none}}.O_Ebla_content{flex-direction:column;display:flex}.O_Ebla_content>*{flex-shrink:0}.O_Ebla_content>:not([hidden]):not(:empty)~:not([hidden]):not(:empty){margin-top:var(--dsh-chat-flow-gap,4px)}.O_Ebla_expandedBody{scrollbar-gutter:auto;max-height:none;overflow:visible}[data-chat-motion] .O_Ebla_content>:not([data-chat-motion]){transition:margin-top .16s cubic-bezier(.4,0,.2,1)}@media (prefers-reduced-motion:reduce){[data-chat-motion] .O_Ebla_content>:not([data-chat-motion]){transition:none}}";
|
|
4016
4794
|
const tagId$15 = "@deepseek-ai/dsh-client-ui-chat/ChatGroupSeat.module.css";
|
|
4017
4795
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
4018
4796
|
const tag = document.createElement("style");
|
|
@@ -4195,8 +4973,11 @@ window.__ModuleLoader__.load({
|
|
|
4195
4973
|
open,
|
|
4196
4974
|
setOpen
|
|
4197
4975
|
]);
|
|
4976
|
+
const shownCap = !grouped ? false : open ? true : void 0;
|
|
4977
|
+
const [closingCap, setClosingCap] = (0, react.useState)(shownCap ?? true);
|
|
4978
|
+
if (shownCap !== void 0 && shownCap !== closingCap) setClosingCap(shownCap);
|
|
4198
4979
|
if (members === void 0) return null;
|
|
4199
|
-
const capped = grouped && (!deferCompletedTurns ||
|
|
4980
|
+
const capped = grouped && (!deferCompletedTurns || (shownCap ?? closingCap));
|
|
4200
4981
|
const classes = [
|
|
4201
4982
|
ChatGroupSeat_module_css_default.body,
|
|
4202
4983
|
!capped ? ChatGroupSeat_module_css_default.expandedBody : "",
|
|
@@ -4269,7 +5050,7 @@ window.__ModuleLoader__.load({
|
|
|
4269
5050
|
}
|
|
4270
5051
|
//#endregion
|
|
4271
5052
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/MessageItem.module.css.mjs
|
|
4272
|
-
const css$14 = ".Sixlwa_userRow{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.Sixlwa_userStack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;gap:8px;display:flex}.
|
|
5053
|
+
const css$14 = ".Sixlwa_userRow{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.Sixlwa_userStack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;gap:8px;display:flex}.Sixlwa_referenceSummary{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px))}.Sixlwa_contextRow{padding:2px 0}.Sixlwa_compactionRow{--dsh-compaction-header-height:calc(24px + var(--dsh-content-font-delta,0px));padding:2px 0}.Sixlwa_compactionButton{width:100%;height:var(--dsh-compaction-header-height);border-radius:var(--dsw-radius-sm);min-width:0;color:var(--dsw-alias-label-tertiary);font:inherit;text-align:left;background:0 0;border:none;align-items:center;padding:0;transition:color .1s;display:flex}.Sixlwa_compactionRow:has(.Sixlwa_compactionBody) .Sixlwa_compactionButton{z-index:7;background:var(--dsw-alias-bg-base);border-radius:0;position:sticky;top:0}.Sixlwa_compactionBody :has(>[data-code-block-banner]){top:var(--dsh-compaction-header-height)}@media (hover:hover){.Sixlwa_compactionRow:has(.Sixlwa_compactionBody) .Sixlwa_compactionButton:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}}.Sixlwa_compactionButton:not(:disabled){cursor:pointer}@media (hover:hover){.Sixlwa_compactionButton:hover{color:var(--dsw-alias-label-secondary)}.Sixlwa_compactionButton:not(:disabled):hover{background:var(--dsw-alias-interactive-bg-hover)}}.Sixlwa_compactionLeading{width:calc(16px + var(--dsh-content-font-delta,0px));height:calc(16px + var(--dsh-content-font-delta,0px));color:inherit;flex:none;place-items:center;margin-right:6px;display:inline-grid}.Sixlwa_compactionLeading svg{width:calc(14px + var(--dsh-content-font-delta,0px));height:calc(14px + var(--dsh-content-font-delta,0px))}.Sixlwa_compactionContextIcon,.Sixlwa_compactionDisclosureIcon{grid-area:1/1;justify-content:center;align-items:center;display:inline-flex}.Sixlwa_compactionDisclosureIcon,.Sixlwa_compactionButton:not(:disabled):focus-visible .Sixlwa_compactionContextIcon{opacity:0}@media (hover:hover){.Sixlwa_compactionButton:not(:disabled):hover .Sixlwa_compactionContextIcon{opacity:0}}.Sixlwa_compactionButton:not(:disabled):focus-visible .Sixlwa_compactionDisclosureIcon{opacity:1}@media (hover:hover){.Sixlwa_compactionButton:not(:disabled):hover .Sixlwa_compactionDisclosureIcon{opacity:1}}.Sixlwa_compactionTitle{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:inherit;flex:none}.Sixlwa_compactionSep{background:var(--dsw-alias-label-caption);border-radius:1px;flex:none;width:2px;height:2px;margin:0 8px}.Sixlwa_compactionSummary{min-width:0;color:inherit;font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.Sixlwa_compactionBody{padding:4px 0 4px calc(22px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px))}.Sixlwa_retryRow{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px))}.Sixlwa_retrySummary{border-radius:var(--dsw-radius-sm);width:fit-content;max-width:100%;color:inherit;cursor:pointer;user-select:none;align-items:center;gap:7px;padding:2px 0;list-style:none;display:inline-flex}.Sixlwa_retrySummary::-webkit-details-marker{display:none}.Sixlwa_retrySummary:after{content:\"\";border-bottom:1.5px solid;border-right:1.5px solid;flex:none;width:6px;height:6px;margin-right:2px;transition:transform .12s;transform:rotate(-45deg)}@media (hover:hover){.Sixlwa_retrySummary:hover{color:var(--dsw-alias-label-secondary)}}@media (prefers-reduced-motion:reduce){.Sixlwa_compactionButton{transition:none}}.Sixlwa_retrySummary:focus-visible{outline:1.5px solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.Sixlwa_retryText{overflow-wrap:anywhere;min-width:0}.Sixlwa_retryRow[open] .Sixlwa_retrySummary:after{transform:rotate(45deg)}.Sixlwa_retryDetails{overflow-wrap:anywhere;font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(18px + var(--dsh-content-font-delta-secondary,0px));gap:2px;margin-top:3px;padding-left:14px;display:grid}.Sixlwa_retryDetailLabel{color:var(--dsw-alias-label-secondary)}.Sixlwa_turnErrorRow{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:8px;padding:2px 0;display:grid}.Sixlwa_turnErrorDot{margin-top:5px}.Sixlwa_turnErrorCopy{overflow-wrap:anywhere;min-width:0}.Sixlwa_turnErrorTitle{color:var(--dsw-alias-state-error-primary);margin-right:6px;font-weight:600}.Sixlwa_turnErrorMessage{color:var(--dsw-alias-label-secondary)}.Sixlwa_turnErrorCode{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-markdown-code-block-small)}.Sixlwa_maxTokensTitle{color:var(--dsw-alias-state-warn-primary);margin-right:6px;font-weight:600}.Sixlwa_attachmentRow{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:100%;display:flex}.Sixlwa_fileCard{border:.5px solid var(--dsw-alias-border-l2,#0000001f);border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-input-major,transparent);box-sizing:border-box;flex:0 0 240px;align-items:center;gap:10px;width:240px;min-height:64px;padding:8px 12px;display:inline-flex}.Sixlwa_fileIcon{flex:none;width:28px;height:28px}.Sixlwa_fileContent{flex-direction:column;flex:1;min-width:0;display:flex}.Sixlwa_fileName{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px;overflow:hidden}.Sixlwa_fileMeta{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-tertiary,#00000073);font-size:12px;line-height:15px;overflow:hidden}";
|
|
4273
5054
|
const tagId$14 = "@deepseek-ai/dsh-client-ui-chat/MessageItem.module.css";
|
|
4274
5055
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
|
|
4275
5056
|
const tag = document.createElement("style");
|
|
@@ -4280,7 +5061,6 @@ window.__ModuleLoader__.load({
|
|
|
4280
5061
|
}
|
|
4281
5062
|
var MessageItem_module_css_default = {
|
|
4282
5063
|
"attachmentRow": "Sixlwa_attachmentRow",
|
|
4283
|
-
"bubble": "Sixlwa_bubble",
|
|
4284
5064
|
"compactionBody": "Sixlwa_compactionBody",
|
|
4285
5065
|
"compactionButton": "Sixlwa_compactionButton",
|
|
4286
5066
|
"compactionContextIcon": "Sixlwa_compactionContextIcon",
|
|
@@ -5148,7 +5928,7 @@ window.__ModuleLoader__.load({
|
|
|
5148
5928
|
}
|
|
5149
5929
|
//#endregion
|
|
5150
5930
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/MessageIconActions.module.css.mjs
|
|
5151
|
-
const css$11 = ".xzv4MW_actions{height:calc(28px + var(--dsh-content-font-delta,0px));align-items:center;gap:8px;display:flex}.xzv4MW_timeStart{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);white-space:nowrap;padding-right:12px}.xzv4MW_timeEnd{font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:inherit;white-space:nowrap}.xzv4MW_endInfo{min-width:0;color:var(--dsw-alias-label-tertiary);align-items:center;gap:8px;margin-left:8px;display:inline-flex}@media (hover:hover){[data-actions-reveal=hover] .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])) .xzv4MW_actions{opacity:0;transition:opacity 80ms}[data-actions-reveal=hover]:hover .xzv4MW_actions,[data-actions-reveal=hover]:focus-within .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):hover .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):focus-within .xzv4MW_actions{opacity:1}}.xzv4MW_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:6px;display:inline-flex}.xzv4MW_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}.xzv4MW_actions[data-clock=end] .xzv4MW_action svg{width:calc(17px + var(--dsh-content-font-delta,0px));height:calc(17px + var(--dsh-content-font-delta,0px))}.xzv4MW_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.xzv4MW_action[data-unavailable]{cursor:default;opacity:.4}.xzv4MW_action[data-unavailable]:hover{color:var(--dsw-alias-label-tertiary);background:0 0}.xzv4MW_visuallyHidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}";
|
|
5931
|
+
const css$11 = ".xzv4MW_actions{height:calc(28px + var(--dsh-content-font-delta,0px));align-items:center;gap:8px;display:flex}.xzv4MW_timeStart{font-size:var(--dsh-content-font-size-secondary,13px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);white-space:nowrap;padding-right:12px}.xzv4MW_timeEnd{font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(24px + var(--dsh-content-font-delta,0px));color:inherit;white-space:nowrap}.xzv4MW_endInfo{min-width:0;color:var(--dsw-alias-label-tertiary);align-items:center;gap:8px;margin-left:8px;display:inline-flex}@media (hover:hover){[data-actions-reveal=hover] .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])) .xzv4MW_actions{opacity:0;transition:opacity 80ms}[data-actions-reveal=hover]:hover .xzv4MW_actions,[data-actions-reveal=hover]:focus-within .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):hover .xzv4MW_actions,:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering]):has(~:is([data-chat-flow-kind=user],[data-chat-flow-kind=steering])):focus-within .xzv4MW_actions{opacity:1}}.xzv4MW_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:6px;display:inline-flex}.xzv4MW_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}.xzv4MW_actions[data-clock=end] .xzv4MW_action svg{width:calc(17px + var(--dsh-content-font-delta,0px));height:calc(17px + var(--dsh-content-font-delta,0px))}@media (hover:hover){.xzv4MW_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}}.xzv4MW_action[data-unavailable]{cursor:default;opacity:.4}@media (hover:hover){.xzv4MW_action[data-unavailable]:hover{color:var(--dsw-alias-label-tertiary);background:0 0}}.xzv4MW_visuallyHidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}";
|
|
5152
5932
|
const tagId$11 = "@deepseek-ai/dsh-client-ui-chat/MessageIconActions.module.css";
|
|
5153
5933
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
5154
5934
|
const tag = document.createElement("style");
|
|
@@ -5175,30 +5955,7 @@ window.__ModuleLoader__.load({
|
|
|
5175
5955
|
function MessageIconActions({ text, time, clock, onBranch, branchUnavailable = false, className, extraActions, usageAction, t }) {
|
|
5176
5956
|
const day = useCalendarDay();
|
|
5177
5957
|
const reasonId = (0, react.useId)();
|
|
5178
|
-
const
|
|
5179
|
-
const copyPending = (0, react.useRef)(false);
|
|
5180
|
-
const copyTimer = (0, react.useRef)(null);
|
|
5181
|
-
const copyEpoch = (0, react.useRef)(0);
|
|
5182
|
-
(0, react.useEffect)(() => () => {
|
|
5183
|
-
copyEpoch.current += 1;
|
|
5184
|
-
copyPending.current = false;
|
|
5185
|
-
if (copyTimer.current !== null) clearTimeout(copyTimer.current);
|
|
5186
|
-
}, []);
|
|
5187
|
-
const onCopy = (0, react.useCallback)(() => {
|
|
5188
|
-
if (copied || copyPending.current) return;
|
|
5189
|
-
const epoch = copyEpoch.current;
|
|
5190
|
-
copyPending.current = true;
|
|
5191
|
-
(0, _deepseek_ai_dsh_client_ui_primitives.writeClipboard)(text).then((ok) => {
|
|
5192
|
-
if (epoch !== copyEpoch.current) return;
|
|
5193
|
-
copyPending.current = false;
|
|
5194
|
-
if (!ok) return;
|
|
5195
|
-
setCopied(true);
|
|
5196
|
-
copyTimer.current = window.setTimeout(() => {
|
|
5197
|
-
copyTimer.current = null;
|
|
5198
|
-
setCopied(false);
|
|
5199
|
-
}, 1e3);
|
|
5200
|
-
});
|
|
5201
|
-
}, [copied, text]);
|
|
5958
|
+
const { copied, onCopy } = (0, _deepseek_ai_dsh_client_ui_primitives.useClipboardCopy)(text);
|
|
5202
5959
|
const clockEl = time === void 0 ? null : (0, react_jsx_runtime.jsx)("span", {
|
|
5203
5960
|
className: clock === "start" ? MessageIconActions_module_css_default.timeStart : MessageIconActions_module_css_default.timeEnd,
|
|
5204
5961
|
children: formatMessageClock(time, t, day)
|
|
@@ -5223,6 +5980,7 @@ window.__ModuleLoader__.load({
|
|
|
5223
5980
|
onBranch !== void 0 && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
5224
5981
|
label: branchUnavailable ? t("message.branchUnavailable") : t("message.branch"),
|
|
5225
5982
|
side: "bottom",
|
|
5983
|
+
openOnClick: branchUnavailable,
|
|
5226
5984
|
children: (0, react_jsx_runtime.jsx)("button", {
|
|
5227
5985
|
type: "button",
|
|
5228
5986
|
className: MessageIconActions_module_css_default.action,
|
|
@@ -5388,8 +6146,15 @@ window.__ModuleLoader__.load({
|
|
|
5388
6146
|
})]
|
|
5389
6147
|
});
|
|
5390
6148
|
}
|
|
6149
|
+
/** Pending and local-echo rows carry no durable source for the seat to elect. */
|
|
6150
|
+
const UNDECORATED_ROW = {
|
|
6151
|
+
kind: "user",
|
|
6152
|
+
data: { source: null }
|
|
6153
|
+
};
|
|
6154
|
+
/** Occupant used by rows that do not own the message-source seat. */
|
|
6155
|
+
const NO_MESSAGE_SOURCE = () => null;
|
|
5391
6156
|
/** Right-aligned bubble shared by user and steering rows. */
|
|
5392
|
-
function UserStyleBubble({ content, loadImage, renderFactorySlot, actions, pending = false, echo = false, referenceLabels, skillNames, previewAttachments, facts: inputFacts = EMPTY_TEXT_FACTS, interactive = false }) {
|
|
6157
|
+
function UserStyleBubble({ node, renderSlotChain, content, loadImage, renderFactorySlot, actions, pending = false, echo = false, batchStart = false, referenceLabels, skillNames, previewAttachments, facts: inputFacts = EMPTY_TEXT_FACTS, interactive = false }) {
|
|
5393
6158
|
const parts = (0, react.useMemo)(() => contentParts(content), [content]);
|
|
5394
6159
|
const prepared = (0, react.useMemo)(() => ({
|
|
5395
6160
|
text: parts.text,
|
|
@@ -5414,12 +6179,20 @@ window.__ModuleLoader__.load({
|
|
|
5414
6179
|
className: MessageItem_module_css_default.userRow,
|
|
5415
6180
|
"data-pending-steering": pending || void 0,
|
|
5416
6181
|
"data-submission-echo": echo || void 0,
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
6182
|
+
"data-chat-steering-batch": batchStart ? "start" : void 0,
|
|
6183
|
+
children: [
|
|
6184
|
+
renderSlotChain("conversation.chat.user.before", {
|
|
6185
|
+
source: node.data.source,
|
|
6186
|
+
kind: node.kind
|
|
6187
|
+
}, { fallback: null }),
|
|
6188
|
+
renderFactorySlot("conversation.chat.user.content", {
|
|
6189
|
+
content: prepared,
|
|
6190
|
+
loadImage,
|
|
6191
|
+
facts,
|
|
6192
|
+
interactive
|
|
6193
|
+
}),
|
|
6194
|
+
actions?.(prepared.text)
|
|
6195
|
+
]
|
|
5423
6196
|
});
|
|
5424
6197
|
}
|
|
5425
6198
|
/**
|
|
@@ -5430,6 +6203,8 @@ window.__ModuleLoader__.load({
|
|
|
5430
6203
|
*/
|
|
5431
6204
|
function PendingSteeringBubble({ content, loadImage, renderFactorySlot, t }) {
|
|
5432
6205
|
return (0, react_jsx_runtime.jsx)(UserStyleBubble, {
|
|
6206
|
+
node: UNDECORATED_ROW,
|
|
6207
|
+
renderSlotChain: NO_MESSAGE_SOURCE,
|
|
5433
6208
|
content,
|
|
5434
6209
|
renderFactorySlot,
|
|
5435
6210
|
loadImage,
|
|
@@ -5452,6 +6227,8 @@ window.__ModuleLoader__.load({
|
|
|
5452
6227
|
*/
|
|
5453
6228
|
function PendingSubmissionBubble({ submission, loadImage, renderFactorySlot, t }) {
|
|
5454
6229
|
return (0, react_jsx_runtime.jsx)(UserStyleBubble, {
|
|
6230
|
+
node: UNDECORATED_ROW,
|
|
6231
|
+
renderSlotChain: NO_MESSAGE_SOURCE,
|
|
5455
6232
|
content: (0, react.useMemo)(() => submission.text === "" ? [] : [{
|
|
5456
6233
|
type: "text",
|
|
5457
6234
|
text: submission.text
|
|
@@ -5481,14 +6258,23 @@ window.__ModuleLoader__.load({
|
|
|
5481
6258
|
})
|
|
5482
6259
|
});
|
|
5483
6260
|
}
|
|
5484
|
-
/**
|
|
5485
|
-
|
|
6261
|
+
/**
|
|
6262
|
+
* Official user and admitted-steering keyed Chat renderer.
|
|
6263
|
+
*
|
|
6264
|
+
* Renders the durable-message chain seat directly above the bubble. The seat is
|
|
6265
|
+
* declared by the `user` registration alone, so a steering row renders the same
|
|
6266
|
+
* bubble without asking for it.
|
|
6267
|
+
*/
|
|
6268
|
+
const UserMessageNodeView = (0, react.memo)(function UserMessageNodeView({ node, renderFactorySlot, loadImage, renderSlotChain, t }) {
|
|
5486
6269
|
const data = node.data;
|
|
5487
6270
|
return (0, react_jsx_runtime.jsx)(UserStyleBubble, {
|
|
6271
|
+
node,
|
|
6272
|
+
renderSlotChain,
|
|
5488
6273
|
content: data.content,
|
|
5489
6274
|
interactive: true,
|
|
5490
6275
|
renderFactorySlot,
|
|
5491
6276
|
loadImage,
|
|
6277
|
+
batchStart: node.kind === "steering" && node.data.batchStart === true,
|
|
5492
6278
|
...data.referenceLabels === void 0 ? {} : { referenceLabels: data.referenceLabels },
|
|
5493
6279
|
...data.skillNames === void 0 ? {} : { skillNames: data.skillNames },
|
|
5494
6280
|
actions: (text) => (0, react_jsx_runtime.jsx)(MessageIconActions, {
|
|
@@ -5593,13 +6379,14 @@ window.__ModuleLoader__.load({
|
|
|
5593
6379
|
/** Running Turn clock isolated from the transcript's render cycle. */
|
|
5594
6380
|
/**
|
|
5595
6381
|
* Show live elapsed time after the current Turn's content without announcing ticks.
|
|
5596
|
-
* @param props - Current Turn start time and localized copy.
|
|
5597
|
-
* @returns the blue running indicator; mount
|
|
6382
|
+
* @param props - Current Turn start time, pause state, and localized copy.
|
|
6383
|
+
* @returns the blue running indicator; mount while the Session is running, or holding its slot hidden until the
|
|
6384
|
+
* Turn's actions row replaces it.
|
|
5598
6385
|
*/
|
|
5599
|
-
const RunningStatus = (0, react.memo)(function RunningStatus({ startTime, t }) {
|
|
6386
|
+
const RunningStatus = (0, react.memo)(function RunningStatus({ startTime, paused, holding = false, t }) {
|
|
5600
6387
|
const [now, setNow] = (0, react.useState)(Date.now);
|
|
5601
6388
|
(0, react.useEffect)(() => {
|
|
5602
|
-
if (startTime === void 0) return;
|
|
6389
|
+
if (startTime === void 0 || paused || holding) return;
|
|
5603
6390
|
setNow(Date.now());
|
|
5604
6391
|
const timer = setInterval(() => {
|
|
5605
6392
|
setNow(Date.now());
|
|
@@ -5607,13 +6394,19 @@ window.__ModuleLoader__.load({
|
|
|
5607
6394
|
return () => {
|
|
5608
6395
|
clearInterval(timer);
|
|
5609
6396
|
};
|
|
5610
|
-
}, [
|
|
6397
|
+
}, [
|
|
6398
|
+
startTime,
|
|
6399
|
+
paused,
|
|
6400
|
+
holding
|
|
6401
|
+
]);
|
|
5611
6402
|
const label = startTime === void 0 ? t("chat.deepDiving") : t("chat.deepDivingFor", { duration: formatRunDuration(Math.max(1e3, now - startTime), t).map((part) => part.text).join("") });
|
|
5612
6403
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
5613
6404
|
className: ChatView_module_css_default.running,
|
|
5614
6405
|
"data-chat-running": true,
|
|
6406
|
+
"data-holding": holding ? "" : void 0,
|
|
6407
|
+
"aria-hidden": holding || void 0,
|
|
5615
6408
|
children: [
|
|
5616
|
-
(0, react_jsx_runtime.jsx)("span", {
|
|
6409
|
+
holding ? null : (0, react_jsx_runtime.jsx)("span", {
|
|
5617
6410
|
className: accessibility_module_css_default.visuallyHidden,
|
|
5618
6411
|
role: "status",
|
|
5619
6412
|
"aria-live": "polite",
|
|
@@ -5627,7 +6420,7 @@ window.__ModuleLoader__.load({
|
|
|
5627
6420
|
(0, react_jsx_runtime.jsxs)("span", {
|
|
5628
6421
|
className: ChatView_module_css_default.runningContent,
|
|
5629
6422
|
children: [(0, react_jsx_runtime.jsx)(RunningWhaleTail, {}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.TextShimmer, {
|
|
5630
|
-
active:
|
|
6423
|
+
active: !holding,
|
|
5631
6424
|
className: ChatView_module_css_default.runningText,
|
|
5632
6425
|
children: label
|
|
5633
6426
|
})]
|
|
@@ -5638,14 +6431,29 @@ window.__ModuleLoader__.load({
|
|
|
5638
6431
|
//#endregion
|
|
5639
6432
|
//#region lib/types/client/chat/ChatFlow.js
|
|
5640
6433
|
/** Ordered Chat rows, local echoes, and running status share the flow slot's parent. */
|
|
6434
|
+
/** Whether the echo is a local submission rather than a Host-pending steering item. */
|
|
6435
|
+
function isLocalSubmission(item) {
|
|
6436
|
+
return "requestId" in item;
|
|
6437
|
+
}
|
|
6438
|
+
/** Whether the echo is a local submission that opens a new Turn. */
|
|
6439
|
+
function isTranscriptEcho(item) {
|
|
6440
|
+
return isLocalSubmission(item) && item.placement === "transcript";
|
|
6441
|
+
}
|
|
5641
6442
|
/** Render the flow without adding a DOM parent or changing keyed row positions. */
|
|
5642
|
-
const ChatFlow = (0, react.memo)(function ChatFlow({ entries, pendingInputs, lastInputTurn, deferCollapse, useSession, useChat, useChatNode, useChatNodeBottom, useChatNodeProcess, useChatGroup, usePresentation, useStore, actions, renderSlot, renderFactorySlot, t, useGroupAction, useGroupHeaderAction, cwd, openFile, inspectCall, forkAt, loadImage
|
|
6443
|
+
const ChatFlow = (0, react.memo)(function ChatFlow({ entries, pendingInputs, lastInputTurn, deferCollapse, useSession, useChat, useChatNode, useChatNodeBottom, useChatNodeProcess, useChatGroup, usePresentation, useConnectionState, useStore, actions, renderSlot, renderFactorySlot, t, useGroupAction, useGroupHeaderAction, cwd, openFile, inspectCall, forkAt, loadImage }) {
|
|
5643
6444
|
const nodeStore = useChat((snapshot) => snapshot.nodes);
|
|
5644
6445
|
const running = useSession((snapshot) => snapshot.running);
|
|
5645
|
-
const
|
|
6446
|
+
const disconnected = useConnectionState((state) => state === "disconnected" || state === "connecting");
|
|
6447
|
+
const latestTurnAnchor = useChat((snapshot) => snapshot.navigation.items().at(-1)?.anchorKey);
|
|
6448
|
+
const runningStartTime = useChatNode(latestTurnAnchor ?? "", (node) => {
|
|
5646
6449
|
const location = node?.location;
|
|
5647
6450
|
return location?.kind === "turn" || location?.kind === "step" ? location.turn.status === "open" ? location.turn.start?.time : void 0 : void 0;
|
|
5648
6451
|
});
|
|
6452
|
+
const latestTurnOpen = useChatNode(latestTurnAnchor ?? "", (node) => {
|
|
6453
|
+
const location = node?.location;
|
|
6454
|
+
return (location?.kind === "turn" || location?.kind === "step") && location.turn.status === "open";
|
|
6455
|
+
});
|
|
6456
|
+
const holding = !running && latestTurnOpen;
|
|
5649
6457
|
const seatProps = {
|
|
5650
6458
|
nodeStore,
|
|
5651
6459
|
useChatNode,
|
|
@@ -5662,8 +6470,7 @@ window.__ModuleLoader__.load({
|
|
|
5662
6470
|
openFile,
|
|
5663
6471
|
inspectCall,
|
|
5664
6472
|
forkAt,
|
|
5665
|
-
loadImage
|
|
5666
|
-
fileMentions
|
|
6473
|
+
loadImage
|
|
5667
6474
|
};
|
|
5668
6475
|
const rows = entries.map((entry) => {
|
|
5669
6476
|
switch (entry.kind) {
|
|
@@ -5683,30 +6490,40 @@ window.__ModuleLoader__.load({
|
|
|
5683
6490
|
default: return assertNever(entry);
|
|
5684
6491
|
}
|
|
5685
6492
|
});
|
|
5686
|
-
const
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
6493
|
+
const firstTranscript = pendingInputs.findIndex(isTranscriptEcho);
|
|
6494
|
+
const leadingRows = [];
|
|
6495
|
+
const openingRows = [];
|
|
6496
|
+
const pendingRows = [];
|
|
6497
|
+
for (const [index, item] of pendingInputs.entries()) {
|
|
6498
|
+
const row = isLocalSubmission(item) ? (0, react_jsx_runtime.jsx)(PendingSubmissionBubble, {
|
|
6499
|
+
submission: item,
|
|
6500
|
+
loadImage,
|
|
6501
|
+
renderFactorySlot,
|
|
6502
|
+
t
|
|
6503
|
+
}, item.requestId) : (0, react_jsx_runtime.jsx)(PendingSteeringBubble, {
|
|
6504
|
+
content: item.content,
|
|
6505
|
+
loadImage,
|
|
6506
|
+
renderFactorySlot,
|
|
6507
|
+
t
|
|
6508
|
+
}, item.id);
|
|
6509
|
+
if (index <= firstTranscript) leadingRows.push(row);
|
|
6510
|
+
else if (isTranscriptEcho(item)) openingRows.push(row);
|
|
6511
|
+
else pendingRows.push(row);
|
|
6512
|
+
}
|
|
5697
6513
|
const tail = entries.at(-1);
|
|
5698
6514
|
const node = tail?.kind === "node" ? nodeStore.get(tail.key) : void 0;
|
|
5699
|
-
if (node?.kind === "turn-process" && node.location.kind === "turn" && node.location.turn.status === "open" && node.location.turn.turn !== lastInputTurn)
|
|
5700
|
-
const index = pendingInputs.findIndex((item) => "requestId" in item && item.placement === "transcript");
|
|
5701
|
-
if (index !== -1) rows.splice(rows.length - 1, 0, ...pendingRows.splice(index, 1));
|
|
5702
|
-
}
|
|
6515
|
+
if (node?.kind === "turn-process" && node.location.kind === "turn" && node.location.turn.status === "open" && node.location.turn.turn !== lastInputTurn) rows.splice(rows.length - 1, 0, ...leadingRows.splice(0));
|
|
5703
6516
|
return [
|
|
5704
6517
|
...rows,
|
|
5705
|
-
...
|
|
5706
|
-
...
|
|
6518
|
+
...leadingRows,
|
|
6519
|
+
...openingRows,
|
|
6520
|
+
...running || holding ? [(0, react_jsx_runtime.jsx)(RunningStatus, {
|
|
5707
6521
|
startTime: runningStartTime,
|
|
6522
|
+
paused: disconnected,
|
|
6523
|
+
holding,
|
|
5708
6524
|
t
|
|
5709
|
-
}, "running")] : []
|
|
6525
|
+
}, "running")] : [],
|
|
6526
|
+
...pendingRows
|
|
5710
6527
|
];
|
|
5711
6528
|
});
|
|
5712
6529
|
//#endregion
|
|
@@ -5817,6 +6634,10 @@ window.__ModuleLoader__.load({
|
|
|
5817
6634
|
"settings.collapse.description": "选择何时自动收起工作步骤",
|
|
5818
6635
|
"settings.collapse.completion": "回答结束后",
|
|
5819
6636
|
"settings.collapse.nextInput": "下次有新消息时",
|
|
6637
|
+
"settings.foldedReplies.title": "收起后显示的回复",
|
|
6638
|
+
"settings.foldedReplies.description": "工作步骤收起后,保留哪些助手回复",
|
|
6639
|
+
"settings.foldedReplies.all": "全部回复",
|
|
6640
|
+
"settings.foldedReplies.final": "仅最终回答",
|
|
5820
6641
|
"settings.transcript.compact": "简洁",
|
|
5821
6642
|
"settings.transcript.standard": "标准",
|
|
5822
6643
|
"settings.transcript.detailed": "详细",
|
|
@@ -6011,6 +6832,10 @@ window.__ModuleLoader__.load({
|
|
|
6011
6832
|
"settings.collapse.description": "Choose when to automatically collapse work details",
|
|
6012
6833
|
"settings.collapse.completion": "On completion",
|
|
6013
6834
|
"settings.collapse.nextInput": "On next message",
|
|
6835
|
+
"settings.foldedReplies.title": "Replies After Collapse",
|
|
6836
|
+
"settings.foldedReplies.description": "Choose which assistant replies stay visible when work details collapse",
|
|
6837
|
+
"settings.foldedReplies.all": "All replies",
|
|
6838
|
+
"settings.foldedReplies.final": "Final answer only",
|
|
6014
6839
|
"settings.transcript.compact": "Compact",
|
|
6015
6840
|
"settings.transcript.standard": "Standard",
|
|
6016
6841
|
"settings.transcript.detailed": "Detailed",
|
|
@@ -6102,6 +6927,1194 @@ window.__ModuleLoader__.load({
|
|
|
6102
6927
|
"clock.md": "{m}/{d}",
|
|
6103
6928
|
"clock.ymd": "{y}-{m}-{d}"
|
|
6104
6929
|
};
|
|
6930
|
+
/** Japanese copy, checked against the English keys. */
|
|
6931
|
+
const ja = {
|
|
6932
|
+
"message.stepProcess.thinking": "リクエストを分析中",
|
|
6933
|
+
"message.stepProcess.read": "ファイルを読み取り中",
|
|
6934
|
+
"message.stepProcess.readImage": "画像を読み取り中",
|
|
6935
|
+
"message.stepProcess.write": "ファイルを書き込み中",
|
|
6936
|
+
"message.stepProcess.search": "コードを検索中",
|
|
6937
|
+
"message.stepProcess.edit": "ファイルを編集中",
|
|
6938
|
+
"message.stepProcess.commands": "コマンドを実行中",
|
|
6939
|
+
"message.stepProcess.code": "コードを実行中",
|
|
6940
|
+
"message.stepProcess.webSearch": "ウェブを検索中",
|
|
6941
|
+
"message.stepProcess.webFetch": "ウェブページを閲覧中",
|
|
6942
|
+
"message.stepProcess.subagents": "サブエージェントを調整中",
|
|
6943
|
+
"message.stepProcess.plan": "計画を更新中",
|
|
6944
|
+
"message.stepProcess.questions": "操作を待機中",
|
|
6945
|
+
"message.stepProcess.tools": "ツールを呼び出し中",
|
|
6946
|
+
"message.stepProcess.prepare.read": "ファイル読み取りの準備中",
|
|
6947
|
+
"message.stepProcess.prepare.readImage": "画像読み取りの準備中",
|
|
6948
|
+
"message.stepProcess.prepare.write": "ファイル書き込みの準備中",
|
|
6949
|
+
"message.stepProcess.prepare.search": "コード検索の準備中",
|
|
6950
|
+
"message.stepProcess.prepare.edit": "ファイル編集の準備中",
|
|
6951
|
+
"message.stepProcess.prepare.commands": "コマンド実行の準備中",
|
|
6952
|
+
"message.stepProcess.prepare.code": "コード実行の準備中",
|
|
6953
|
+
"message.stepProcess.prepare.webSearch": "ウェブ検索の準備中",
|
|
6954
|
+
"message.stepProcess.prepare.webFetch": "ウェブページ閲覧の準備中",
|
|
6955
|
+
"message.stepProcess.prepare.subagents": "サブエージェント調整の準備中",
|
|
6956
|
+
"message.stepProcess.prepare.plan": "計画更新の準備中",
|
|
6957
|
+
"message.stepProcess.prepare.questions": "質問の準備中",
|
|
6958
|
+
"message.stepProcess.prepare.tools": "ツール呼び出しの準備中",
|
|
6959
|
+
"message.stepProcess.done.thinking": "分析完了",
|
|
6960
|
+
"message.stepProcess.done.read": "ファイルを読み取りました",
|
|
6961
|
+
"message.stepProcess.done.readImage": "画像を読み取りました",
|
|
6962
|
+
"message.stepProcess.done.write": "ファイルを書き込みました",
|
|
6963
|
+
"message.stepProcess.done.search": "コードを検索しました",
|
|
6964
|
+
"message.stepProcess.done.edit": "ファイルを編集しました",
|
|
6965
|
+
"message.stepProcess.done.commands": "コマンドを実行しました",
|
|
6966
|
+
"message.stepProcess.done.code": "コードを実行しました",
|
|
6967
|
+
"message.stepProcess.done.webSearch": "ウェブを検索しました",
|
|
6968
|
+
"message.stepProcess.done.webFetch": "ウェブページを閲覧しました",
|
|
6969
|
+
"message.stepProcess.done.subagents": "サブエージェントを調整しました",
|
|
6970
|
+
"message.stepProcess.done.plan": "計画を更新しました",
|
|
6971
|
+
"message.stepProcess.done.questions": "質問しました",
|
|
6972
|
+
"message.stepProcess.done.tools": "ツールを呼び出しました",
|
|
6973
|
+
"message.stepProcess.joinTwo": "{first}と{second}",
|
|
6974
|
+
"message.stepProcess.comma": "、",
|
|
6975
|
+
"message.stepProcess.sharedPrefix": "",
|
|
6976
|
+
"message.stepProcess.more": "{title}など",
|
|
6977
|
+
"message.trigger.request": "実行が要求されました",
|
|
6978
|
+
"message.trigger.goal": "目標を継続中",
|
|
6979
|
+
"message.trigger.agent": "タスクメッセージを受信しました",
|
|
6980
|
+
"message.trigger.team": "チームメッセージを受信しました",
|
|
6981
|
+
"message.trigger.subagent": "サブタスクの状態が更新されました",
|
|
6982
|
+
"message.trigger.github": "GitHubイベントを受信しました",
|
|
6983
|
+
"message.trigger.webhook": "外部イベントを受信しました",
|
|
6984
|
+
"message.trigger.schedule": "自動化タスク",
|
|
6985
|
+
"message.trigger.job": "バックグラウンドタスクが更新されました",
|
|
6986
|
+
"message.trigger.plugin": "プラグインの状態が更新されました",
|
|
6987
|
+
"message.trigger.explanation": "この通知がこの応答のトリガーとなりました。",
|
|
6988
|
+
"message.turnProcess.worked": "完了",
|
|
6989
|
+
"message.turnProcess.took": "完了まで ",
|
|
6990
|
+
"message.turnProcess.failed": "失敗",
|
|
6991
|
+
"view.chat": "チャット",
|
|
6992
|
+
"image.open": "画像を全画面表示",
|
|
6993
|
+
"image.loading": "画像を読み込み中…",
|
|
6994
|
+
"image.failed": "画像プレビューを利用できません",
|
|
6995
|
+
"image.dialog": "画像プレビュー",
|
|
6996
|
+
"image.close": "画像プレビューを閉じる",
|
|
6997
|
+
"number.groupSeparator": ",",
|
|
6998
|
+
"duration.compactSeconds": "{seconds}秒",
|
|
6999
|
+
"duration.compactMinutes": "{minutes}分{seconds}秒",
|
|
7000
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7001
|
+
"stats.counts": "{turns}ターン {steps}ステップ",
|
|
7002
|
+
"stats.cacheHit": "キャッシュヒット {percent}%",
|
|
7003
|
+
"stats.dialog.title": "セッション統計",
|
|
7004
|
+
"stats.dialog.usageTitle": "トークン使用量",
|
|
7005
|
+
"stats.dialog.llmTime": "LLM時間",
|
|
7006
|
+
"stats.dialog.toolTime": "ツール時間",
|
|
7007
|
+
"stats.dialog.ttft": "平均初回トークン時間(TTFT)",
|
|
7008
|
+
"stats.dialog.speed": "毎秒トークン数(TPS)",
|
|
7009
|
+
"chat.loadingHistory": "履歴を読み込み中…",
|
|
7010
|
+
"chat.loadError": "履歴の読み込みに失敗しました: {message}({code})",
|
|
7011
|
+
"chat.loadOlder": "以前を読み込む",
|
|
7012
|
+
"chat.toBottom": "最下部へ戻る",
|
|
7013
|
+
"chat.deepDiving": "深掘り中",
|
|
7014
|
+
"chat.deepDivingFor": "{duration} の間深く分析中 ···",
|
|
7015
|
+
"chat.turnNavigation.label": "ターン移動",
|
|
7016
|
+
"chat.turnNavigation.jump": "ターン {turn} へ移動",
|
|
7017
|
+
"chat.turnNavigation.jumpLoad": "読み込んでターン {turn} へ移動",
|
|
7018
|
+
"chat.turnNavigation.turn": "ターン {turn}",
|
|
7019
|
+
"settings.performance.title": "パフォーマンスと使用状況",
|
|
7020
|
+
"settings.performance.description": "パフォーマンスと使用状況の表示量を選択",
|
|
7021
|
+
"settings.performance.compact": "コンパクト",
|
|
7022
|
+
"settings.performance.detailed": "詳細",
|
|
7023
|
+
"settings.links.title": "チャットリンクを開く場所",
|
|
7024
|
+
"settings.links.description": "Web リンクを開く場所を選択",
|
|
7025
|
+
"settings.links.sidebar": "アプリ内サイドバー",
|
|
7026
|
+
"settings.links.newTab": "既定のブラウザー",
|
|
7027
|
+
"settings.transcript.title": "作業の詳細",
|
|
7028
|
+
"settings.transcript.description": "ツール呼び出しの表示詳細度を選択",
|
|
7029
|
+
"settings.collapse.title": "作業詳細を折りたたむタイミング",
|
|
7030
|
+
"settings.collapse.description": "作業詳細を自動で折りたたむタイミングを選択",
|
|
7031
|
+
"settings.collapse.completion": "完了時",
|
|
7032
|
+
"settings.collapse.nextInput": "次のメッセージ送信時",
|
|
7033
|
+
"settings.foldedReplies.title": "折りたたみ後の返信",
|
|
7034
|
+
"settings.foldedReplies.description": "作業詳細の折りたたみ時に表示するアシスタントの返信を選択",
|
|
7035
|
+
"settings.foldedReplies.all": "すべての返信",
|
|
7036
|
+
"settings.foldedReplies.final": "最終回答のみ",
|
|
7037
|
+
"settings.transcript.compact": "コンパクト",
|
|
7038
|
+
"settings.transcript.standard": "標準",
|
|
7039
|
+
"settings.transcript.detailed": "詳細",
|
|
7040
|
+
"settings.transcript.verbose": "冗長",
|
|
7041
|
+
"fileOpen.title": "ファイルを開けませんでした",
|
|
7042
|
+
"fileOpen.unknown": "このファイルを開けませんでした",
|
|
7043
|
+
"message.extraBlock": "追加のコンテンツブロック",
|
|
7044
|
+
"message.systemPrompt": "システムプロンプト",
|
|
7045
|
+
"message.systemPromptUpdate": "システムプロンプトの更新",
|
|
7046
|
+
"message.toolAdded": "ツールを追加: {name}",
|
|
7047
|
+
"message.toolRemoved": "ツールを削除: {name}",
|
|
7048
|
+
"message.toolsAdded": "追加: {names}",
|
|
7049
|
+
"message.toolsAddedCount": "{count} 件追加",
|
|
7050
|
+
"message.toolsChanged": "{added} 件追加、{removed} 件削除",
|
|
7051
|
+
"message.toolsRemoved": "削除: {names}",
|
|
7052
|
+
"message.toolsRemovedCount": "{count} 件削除",
|
|
7053
|
+
"message.toolsUpdated": "ツールを更新しました",
|
|
7054
|
+
"message.contextInjection": "コンテキスト注入",
|
|
7055
|
+
"message.contextRecall": "セッションの呼び出し",
|
|
7056
|
+
"message.referenceSummary": "参照セッション · {labels}",
|
|
7057
|
+
"message.referenceSeparator": ", ",
|
|
7058
|
+
"message.context.instructions.loaded": "読み込み済み",
|
|
7059
|
+
"message.context.instructions.added": "追加済み",
|
|
7060
|
+
"message.context.instructions.updated": "更新済み",
|
|
7061
|
+
"message.context.instructions.removed": "削除済み",
|
|
7062
|
+
"message.context.catalog.replaced": "置換カタログ",
|
|
7063
|
+
"message.context.catalog.more": "… 他 {count} 件",
|
|
7064
|
+
"message.context.snapshot.supersedes": "以前のスナップショットを置き換えます",
|
|
7065
|
+
"message.context.relay.from": "セッション {session} から",
|
|
7066
|
+
"message.context.recall.counts": "{retained} 件保持 · {omitted} 件除外",
|
|
7067
|
+
"message.context.recall.truncated": "切り詰め済み",
|
|
7068
|
+
"message.compaction": "コンテキストを圧縮しました",
|
|
7069
|
+
"message.compaction.running": "コンテキストを圧縮中…",
|
|
7070
|
+
"message.compaction.completed": "履歴 {items} 件を圧縮しました(約 {tokens} トークン)",
|
|
7071
|
+
"message.compaction.expand": "圧縮の要約を表示",
|
|
7072
|
+
"message.compaction.unavailable": "圧縮の要約は利用できません",
|
|
7073
|
+
"message.compaction.commandTitle": "compact",
|
|
7074
|
+
"message.think": "思考",
|
|
7075
|
+
"message.unknownSurface": "不明なサーフェスイベント: {type}",
|
|
7076
|
+
"message.unknownBlock": "不明なコンテンツブロック",
|
|
7077
|
+
"message.turnProcess.toolCalls.one": "ツール呼び出し {count} 件",
|
|
7078
|
+
"message.turnProcess.toolCalls.other": "ツール呼び出し {count} 件",
|
|
7079
|
+
"message.turnProcess.messages.one": "メッセージ {count} 件",
|
|
7080
|
+
"message.turnProcess.messages.other": "メッセージ {count} 件",
|
|
7081
|
+
"message.turnProcess.subagents.one": "サブエージェント {count} 件",
|
|
7082
|
+
"message.turnProcess.subagents.other": "サブエージェント {count} 件",
|
|
7083
|
+
"message.turnProcess.thoughtForAWhile": "しばらく思考しました",
|
|
7084
|
+
"message.turnProcess.separator": " · ",
|
|
7085
|
+
"message.stopped": "停止しました",
|
|
7086
|
+
"message.branch": "新しい会話に分岐",
|
|
7087
|
+
"message.branchUnavailable": "完了したターンの最後のメッセージでのみ利用できます",
|
|
7088
|
+
"message.retry.active": "モデルリクエストを再試行中",
|
|
7089
|
+
"message.retry.cancelled": "モデルリクエストの再試行をキャンセルしました",
|
|
7090
|
+
"message.retry.started": "モデルリクエストを再試行しました",
|
|
7091
|
+
"message.retry.scheduled": "モデルリクエストの再試行待ちです",
|
|
7092
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}秒",
|
|
7093
|
+
"message.retry.delay": "再試行までの待機時間: ",
|
|
7094
|
+
"message.retry.failure": "失敗理由: ",
|
|
7095
|
+
"message.failure.auth": "APIキーが無効です",
|
|
7096
|
+
"message.taskStopped": "タスクを停止しました",
|
|
7097
|
+
"message.failure.accountSignedOut": "DeepSeekからログアウトしたため停止しました。",
|
|
7098
|
+
"message.failure.interrupted": "このターンが完了する前にDSHプロセスが終了したため(強制終了、クラッシュ、シャットダウン中のタイムアウトなど)、DSHの再起動時にターンは閉じられました。未完了のツール呼び出しの結果は不明です。",
|
|
7099
|
+
"message.failure.accountSignInRequired": "DeepSeekにログインし、リクエスト先がアカウント認証に対応していることを確認してください。",
|
|
7100
|
+
"message.failure.quota": "リクエストのクォータを使い切りました。",
|
|
7101
|
+
"message.turnError": "このターンは失敗しました",
|
|
7102
|
+
"message.maxTokens": "出力トークンの上限に達しました",
|
|
7103
|
+
"message.maxTokens.hint": "応答が途中で打ち切られました。それまでの出力は会話に保持されています。「続けて」と送信するとモデルが再開します。",
|
|
7104
|
+
"message.tokensPerSecond": "{tps} tok/s",
|
|
7105
|
+
"message.turnUsage.title": "ターンの使用量",
|
|
7106
|
+
"message.turnUsage.consumed": "使用量 {total}",
|
|
7107
|
+
"message.turnUsage.model": "プロバイダー / モデル",
|
|
7108
|
+
"message.turnUsage.cacheHit": "キャッシュヒット",
|
|
7109
|
+
"message.turnUsage.input": "未キャッシュの入力",
|
|
7110
|
+
"message.turnUsage.cacheRead": "キャッシュ済み入力",
|
|
7111
|
+
"message.turnUsage.cacheWrite": "キャッシュ書き込み",
|
|
7112
|
+
"message.turnUsage.output": "出力",
|
|
7113
|
+
"message.turnUsage.reasoning": " (推論 {tokens})",
|
|
7114
|
+
"message.turnUsage.count": "{count} tok",
|
|
7115
|
+
"duration.secondUnit": "秒",
|
|
7116
|
+
"duration.minuteUnit": "分 ",
|
|
7117
|
+
"duration.hourUnit": "時間 ",
|
|
7118
|
+
"command.running": "実行中…",
|
|
7119
|
+
"command.failed": "コマンドが失敗しました",
|
|
7120
|
+
"command.done": "完了",
|
|
7121
|
+
"command.title": "コマンド",
|
|
7122
|
+
"row.running": "実行中",
|
|
7123
|
+
"row.failed": "失敗",
|
|
7124
|
+
"json.truncated": "… 省略表示、全{total}文字",
|
|
7125
|
+
"clock.md": "{m}/{d}",
|
|
7126
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
7127
|
+
};
|
|
7128
|
+
/** Spanish dictionary, checked against the English keys. */
|
|
7129
|
+
const es = {
|
|
7130
|
+
"message.stepProcess.thinking": "Analizando la solicitud",
|
|
7131
|
+
"message.stepProcess.read": "Leyendo archivos",
|
|
7132
|
+
"message.stepProcess.readImage": "Leyendo imágenes",
|
|
7133
|
+
"message.stepProcess.write": "Escribir archivos",
|
|
7134
|
+
"message.stepProcess.search": "código de búsqueda",
|
|
7135
|
+
"message.stepProcess.edit": "Editar archivos",
|
|
7136
|
+
"message.stepProcess.commands": "Ejecutar comandos",
|
|
7137
|
+
"message.stepProcess.code": "Código en ejecución",
|
|
7138
|
+
"message.stepProcess.webSearch": "buscando en la web",
|
|
7139
|
+
"message.stepProcess.webFetch": "Visitar páginas web",
|
|
7140
|
+
"message.stepProcess.subagents": "Subagentes coordinadores",
|
|
7141
|
+
"message.stepProcess.plan": "Actualizando el plan",
|
|
7142
|
+
"message.stepProcess.questions": "Esperando tu acción",
|
|
7143
|
+
"message.stepProcess.tools": "herramientas de llamada",
|
|
7144
|
+
"message.stepProcess.prepare.read": "Preparándose para leer archivos",
|
|
7145
|
+
"message.stepProcess.prepare.readImage": "Preparándose para leer imágenes",
|
|
7146
|
+
"message.stepProcess.prepare.write": "Preparándose para escribir archivos",
|
|
7147
|
+
"message.stepProcess.prepare.search": "Preparándose para buscar el código",
|
|
7148
|
+
"message.stepProcess.prepare.edit": "Preparándose para editar archivos",
|
|
7149
|
+
"message.stepProcess.prepare.commands": "Preparándose para ejecutar comandos",
|
|
7150
|
+
"message.stepProcess.prepare.code": "Preparándose para ejecutar código",
|
|
7151
|
+
"message.stepProcess.prepare.webSearch": "Preparándose para buscar en la web",
|
|
7152
|
+
"message.stepProcess.prepare.webFetch": "Preparándose para visitar páginas web",
|
|
7153
|
+
"message.stepProcess.prepare.subagents": "Preparándose para coordinar subagentes",
|
|
7154
|
+
"message.stepProcess.prepare.plan": "Preparándose para actualizar el plan",
|
|
7155
|
+
"message.stepProcess.prepare.questions": "Preparando preguntas",
|
|
7156
|
+
"message.stepProcess.prepare.tools": "Preparando llamadas a herramientas",
|
|
7157
|
+
"message.stepProcess.done.thinking": "Análisis completado",
|
|
7158
|
+
"message.stepProcess.done.read": "leer archivos",
|
|
7159
|
+
"message.stepProcess.done.readImage": "Leer imágenes",
|
|
7160
|
+
"message.stepProcess.done.write": "Escribió archivos",
|
|
7161
|
+
"message.stepProcess.done.search": "código buscado",
|
|
7162
|
+
"message.stepProcess.done.edit": "Archivos editados",
|
|
7163
|
+
"message.stepProcess.done.commands": "Comandos ejecutados",
|
|
7164
|
+
"message.stepProcess.done.code": "código ejecutado",
|
|
7165
|
+
"message.stepProcess.done.webSearch": "Busqué en la web",
|
|
7166
|
+
"message.stepProcess.done.webFetch": "Paginas web visitadas",
|
|
7167
|
+
"message.stepProcess.done.subagents": "Subagentes coordinados",
|
|
7168
|
+
"message.stepProcess.done.plan": "Actualizado el plan",
|
|
7169
|
+
"message.stepProcess.done.questions": "preguntas hechas",
|
|
7170
|
+
"message.stepProcess.done.tools": "herramientas llamadas",
|
|
7171
|
+
"message.stepProcess.joinTwo": "{first} y {second}",
|
|
7172
|
+
"message.stepProcess.comma": ", ",
|
|
7173
|
+
"message.stepProcess.sharedPrefix": "",
|
|
7174
|
+
"message.stepProcess.more": "{title}, etc.",
|
|
7175
|
+
"message.trigger.request": "Ejecución solicitada",
|
|
7176
|
+
"message.trigger.goal": "Objetivo continuo",
|
|
7177
|
+
"message.trigger.agent": "Mensaje de tarea recibido",
|
|
7178
|
+
"message.trigger.team": "Mensaje del equipo recibido",
|
|
7179
|
+
"message.trigger.subagent": "Estado de subtarea actualizado",
|
|
7180
|
+
"message.trigger.github": "Evento GitHub recibido",
|
|
7181
|
+
"message.trigger.webhook": "Evento externo recibido",
|
|
7182
|
+
"message.trigger.schedule": "Tarea de automatización",
|
|
7183
|
+
"message.trigger.job": "Tarea en segundo plano actualizada",
|
|
7184
|
+
"message.trigger.plugin": "Estado del complemento actualizado",
|
|
7185
|
+
"message.trigger.explanation": "Esta notificación desencadenó esta respuesta.",
|
|
7186
|
+
"message.turnProcess.worked": "Completado",
|
|
7187
|
+
"message.turnProcess.took": "Completado en ",
|
|
7188
|
+
"message.turnProcess.failed": "Fallido",
|
|
7189
|
+
"view.chat": "Chat",
|
|
7190
|
+
"image.open": "Ver imagen completa",
|
|
7191
|
+
"image.loading": "Cargando imagen…",
|
|
7192
|
+
"image.failed": "Vista previa de la imagen no disponible",
|
|
7193
|
+
"image.dialog": "Vista previa de la imagen",
|
|
7194
|
+
"image.close": "Cerrar vista previa de la imagen",
|
|
7195
|
+
"number.groupSeparator": ",",
|
|
7196
|
+
"duration.compactSeconds": "{seconds}s",
|
|
7197
|
+
"duration.compactMinutes": "{minutes}m{seconds}s",
|
|
7198
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7199
|
+
"stats.counts": "{turns} turnos, {steps} pasos",
|
|
7200
|
+
"stats.cacheHit": "Aciertos de caché: {percent}%",
|
|
7201
|
+
"stats.dialog.title": "Estadísticas de sesión",
|
|
7202
|
+
"stats.dialog.usageTitle": "Uso de tokens",
|
|
7203
|
+
"stats.dialog.llmTime": "tiempo de maestría",
|
|
7204
|
+
"stats.dialog.toolTime": "tiempo de herramienta",
|
|
7205
|
+
"stats.dialog.ttft": "Tiempo promedio hasta el primer token (TTFT)",
|
|
7206
|
+
"stats.dialog.speed": "Fichas por segundo (TPS)",
|
|
7207
|
+
"chat.loadingHistory": "Cargando historial…",
|
|
7208
|
+
"chat.loadError": "No se pudo cargar el historial: {message} ({code})",
|
|
7209
|
+
"chat.loadOlder": "Cargar antes",
|
|
7210
|
+
"chat.toBottom": "Volver al fondo",
|
|
7211
|
+
"chat.deepDiving": "Razonamiento profundo",
|
|
7212
|
+
"chat.deepDivingFor": "Razonando a fondo durante {duration} ···",
|
|
7213
|
+
"chat.turnNavigation.label": "Navegación por turnos",
|
|
7214
|
+
"chat.turnNavigation.jump": "Ir al turno {turn}",
|
|
7215
|
+
"chat.turnNavigation.jumpLoad": "Cargar e ir al turno {turn}",
|
|
7216
|
+
"chat.turnNavigation.turn": "Turno {turn}",
|
|
7217
|
+
"settings.performance.title": "Rendimiento y uso",
|
|
7218
|
+
"settings.performance.description": "Elija cuánta información de rendimiento y uso desea mostrar",
|
|
7219
|
+
"settings.performance.compact": "Compacto",
|
|
7220
|
+
"settings.performance.detailed": "Detallado",
|
|
7221
|
+
"settings.links.title": "Abrir enlaces de chat en",
|
|
7222
|
+
"settings.links.description": "Elija dónde abrir enlaces web",
|
|
7223
|
+
"settings.links.sidebar": "Barra lateral en la aplicación",
|
|
7224
|
+
"settings.links.newTab": "Navegador predeterminado",
|
|
7225
|
+
"settings.transcript.title": "Detalles del trabajo",
|
|
7226
|
+
"settings.transcript.description": "Elija cuántos detalles mostrar para las llamadas de herramientas",
|
|
7227
|
+
"settings.collapse.title": "Cuándo contraer los detalles del trabajo",
|
|
7228
|
+
"settings.collapse.description": "Elija cuándo contraer automáticamente los detalles del trabajo",
|
|
7229
|
+
"settings.collapse.completion": "Al finalizar",
|
|
7230
|
+
"settings.collapse.nextInput": "En el siguiente mensaje",
|
|
7231
|
+
"settings.foldedReplies.title": "Respuestas después del plegado",
|
|
7232
|
+
"settings.foldedReplies.description": "Elija qué respuestas del asistente permanecen visibles cuando los detalles del trabajo colapsan",
|
|
7233
|
+
"settings.foldedReplies.all": "Todas las respuestas",
|
|
7234
|
+
"settings.foldedReplies.final": "Solo respuesta final",
|
|
7235
|
+
"settings.transcript.compact": "Compacto",
|
|
7236
|
+
"settings.transcript.standard": "Estándar",
|
|
7237
|
+
"settings.transcript.detailed": "Detallado",
|
|
7238
|
+
"settings.transcript.verbose": "Detallado",
|
|
7239
|
+
"fileOpen.title": "No se pudo abrir el archivo",
|
|
7240
|
+
"fileOpen.unknown": "No se pudo abrir este archivo",
|
|
7241
|
+
"message.extraBlock": "Bloque de contenido adicional",
|
|
7242
|
+
"message.systemPrompt": "Aviso del sistema",
|
|
7243
|
+
"message.systemPromptUpdate": "Actualización del mensaje del sistema",
|
|
7244
|
+
"message.toolAdded": "Herramienta agregada: {name}",
|
|
7245
|
+
"message.toolRemoved": "Herramienta eliminada: {name}",
|
|
7246
|
+
"message.toolsAdded": "Añadido: {names}",
|
|
7247
|
+
"message.toolsAddedCount": "{count} añadido",
|
|
7248
|
+
"message.toolsChanged": "{added} agregado, {removed} eliminado",
|
|
7249
|
+
"message.toolsRemoved": "Eliminado: {names}",
|
|
7250
|
+
"message.toolsRemovedCount": "{count} eliminado",
|
|
7251
|
+
"message.toolsUpdated": "Herramientas actualizadas",
|
|
7252
|
+
"message.contextInjection": "inyección de contexto",
|
|
7253
|
+
"message.contextRecall": "Recuerdo de sesión",
|
|
7254
|
+
"message.referenceSummary": "Sesión referenciada · {labels}",
|
|
7255
|
+
"message.referenceSeparator": ", ",
|
|
7256
|
+
"message.context.instructions.loaded": "cargado",
|
|
7257
|
+
"message.context.instructions.added": "añadido",
|
|
7258
|
+
"message.context.instructions.updated": "actualizado",
|
|
7259
|
+
"message.context.instructions.removed": "eliminado",
|
|
7260
|
+
"message.context.catalog.replaced": "Catálogo de repuestos",
|
|
7261
|
+
"message.context.catalog.more": "… {count} más",
|
|
7262
|
+
"message.context.snapshot.supersedes": "Reemplaza instantáneas anteriores",
|
|
7263
|
+
"message.context.relay.from": "De la sesión {session}",
|
|
7264
|
+
"message.context.recall.counts": "{retained} mantenido · {omitted} omitido",
|
|
7265
|
+
"message.context.recall.truncated": "truncado",
|
|
7266
|
+
"message.compaction": "Contexto compactado",
|
|
7267
|
+
"message.compaction.running": "Contexto de compactación…",
|
|
7268
|
+
"message.compaction.completed": "Elementos del historial {items} compactados (~tokens {tokens})",
|
|
7269
|
+
"message.compaction.expand": "Ver resumen de compactación",
|
|
7270
|
+
"message.compaction.unavailable": "Resumen de compactación no disponible",
|
|
7271
|
+
"message.compaction.commandTitle": "compacto",
|
|
7272
|
+
"message.think": "pensar",
|
|
7273
|
+
"message.unknownSurface": "Evento de superficie desconocido: {type}",
|
|
7274
|
+
"message.unknownBlock": "Bloque de contenido desconocido",
|
|
7275
|
+
"message.turnProcess.toolCalls.one": "Llamada a la herramienta {count}",
|
|
7276
|
+
"message.turnProcess.toolCalls.other": "Llamadas a herramientas {count}",
|
|
7277
|
+
"message.turnProcess.messages.one": "Mensaje {count}",
|
|
7278
|
+
"message.turnProcess.messages.other": "Mensajes {count}",
|
|
7279
|
+
"message.turnProcess.subagents.one": "Subagente {count}",
|
|
7280
|
+
"message.turnProcess.subagents.other": "Subagentes {count}",
|
|
7281
|
+
"message.turnProcess.thoughtForAWhile": "Razonó durante un tiempo",
|
|
7282
|
+
"message.turnProcess.separator": " · ",
|
|
7283
|
+
"message.stopped": "Detenido",
|
|
7284
|
+
"message.branch": "Pasar a una nueva conversación",
|
|
7285
|
+
"message.branchUnavailable": "Disponible solo en el último mensaje de un turno completado",
|
|
7286
|
+
"message.retry.active": "Reintentando solicitud de modelo",
|
|
7287
|
+
"message.retry.cancelled": "Reintento de solicitud de modelo cancelado",
|
|
7288
|
+
"message.retry.started": "Solicitud de modelo reintentada",
|
|
7289
|
+
"message.retry.scheduled": "Esperando para volver a intentar la solicitud de modelo",
|
|
7290
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}s",
|
|
7291
|
+
"message.retry.delay": "Retraso de reintento: ",
|
|
7292
|
+
"message.retry.failure": "Razón del fracaso: ",
|
|
7293
|
+
"message.failure.auth": "La clave API no es válida",
|
|
7294
|
+
"message.taskStopped": "Tarea detenida",
|
|
7295
|
+
"message.failure.accountSignedOut": "Se detuvo porque cerró sesión en DeepSeek.",
|
|
7296
|
+
"message.failure.interrupted": "El proceso DSH salió antes de que terminara este turno (por ejemplo, se detuvo, se estrelló o se agotó el tiempo de espera mientras se apagaba), por lo que el turno se cerró cuando se reinició DSH. Las llamadas a herramientas inacabadas tienen resultados desconocidos.",
|
|
7297
|
+
"message.failure.accountSignInRequired": "Inicie sesión en DeepSeek y asegúrese de que el destino de la solicitud admita la autenticación de la cuenta.",
|
|
7298
|
+
"message.failure.quota": "Solicitud de cupo agotado.",
|
|
7299
|
+
"message.turnError": "Este turno falló",
|
|
7300
|
+
"message.maxTokens": "Se alcanzó el límite del token de salida",
|
|
7301
|
+
"message.maxTokens.hint": "La respuesta fue cortada; La salida anterior se conserva en la conversación. Envíe \"continuar\" para permitir que se reanude el modelo.",
|
|
7302
|
+
"message.tokensPerSecond": "{tps} tok/s",
|
|
7303
|
+
"message.turnUsage.title": "Uso del turno",
|
|
7304
|
+
"message.turnUsage.consumed": "Uso {total}",
|
|
7305
|
+
"message.turnUsage.model": "Proveedor / modelo",
|
|
7306
|
+
"message.turnUsage.cacheHit": "Aciertos de caché",
|
|
7307
|
+
"message.turnUsage.input": "Entrada sin caché",
|
|
7308
|
+
"message.turnUsage.cacheRead": "Entrada en caché",
|
|
7309
|
+
"message.turnUsage.cacheWrite": "escritura en caché",
|
|
7310
|
+
"message.turnUsage.output": "Salida",
|
|
7311
|
+
"message.turnUsage.reasoning": " (razonamiento {tokens})",
|
|
7312
|
+
"message.turnUsage.count": "Tok {count}",
|
|
7313
|
+
"duration.secondUnit": "s",
|
|
7314
|
+
"duration.minuteUnit": "m ",
|
|
7315
|
+
"duration.hourUnit": "h ",
|
|
7316
|
+
"command.running": "Corriendo…",
|
|
7317
|
+
"command.failed": "El comando falló",
|
|
7318
|
+
"command.done": "Completado",
|
|
7319
|
+
"command.title": "Comando",
|
|
7320
|
+
"row.running": "corriendo",
|
|
7321
|
+
"row.failed": "Fallido",
|
|
7322
|
+
"json.truncated": "… truncado, caracteres {total} en total",
|
|
7323
|
+
"clock.md": "{m}/{d}",
|
|
7324
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
7325
|
+
};
|
|
7326
|
+
/** French dictionary, checked against the English keys. */
|
|
7327
|
+
const fr = {
|
|
7328
|
+
"message.stepProcess.thinking": "Analyser la demande",
|
|
7329
|
+
"message.stepProcess.read": "Lecture de fichiers",
|
|
7330
|
+
"message.stepProcess.readImage": "Lire des images",
|
|
7331
|
+
"message.stepProcess.write": "Écriture de fichiers",
|
|
7332
|
+
"message.stepProcess.search": "Recherche de code",
|
|
7333
|
+
"message.stepProcess.edit": "Modification de fichiers",
|
|
7334
|
+
"message.stepProcess.commands": "Exécuter des commandes",
|
|
7335
|
+
"message.stepProcess.code": "Exécution du code",
|
|
7336
|
+
"message.stepProcess.webSearch": "Recherche sur le Web",
|
|
7337
|
+
"message.stepProcess.webFetch": "Visiter des pages Web",
|
|
7338
|
+
"message.stepProcess.subagents": "Sous-agents de coordination",
|
|
7339
|
+
"message.stepProcess.plan": "Mise à jour du plan",
|
|
7340
|
+
"message.stepProcess.questions": "En attendant votre action",
|
|
7341
|
+
"message.stepProcess.tools": "Outils d'appel",
|
|
7342
|
+
"message.stepProcess.prepare.read": "Préparation à la lecture de fichiers",
|
|
7343
|
+
"message.stepProcess.prepare.readImage": "Se préparer à lire des images",
|
|
7344
|
+
"message.stepProcess.prepare.write": "Préparation à l'écriture de fichiers",
|
|
7345
|
+
"message.stepProcess.prepare.search": "Préparation à la recherche de code",
|
|
7346
|
+
"message.stepProcess.prepare.edit": "Préparation à la modification de fichiers",
|
|
7347
|
+
"message.stepProcess.prepare.commands": "Préparation à l'exécution de commandes",
|
|
7348
|
+
"message.stepProcess.prepare.code": "Préparation à l'exécution du code",
|
|
7349
|
+
"message.stepProcess.prepare.webSearch": "Se préparer à effectuer une recherche sur le Web",
|
|
7350
|
+
"message.stepProcess.prepare.webFetch": "Se préparer à visiter des pages Web",
|
|
7351
|
+
"message.stepProcess.prepare.subagents": "Se préparer à coordonner les sous-agents",
|
|
7352
|
+
"message.stepProcess.prepare.plan": "Préparation de la mise à jour du plan",
|
|
7353
|
+
"message.stepProcess.prepare.questions": "Préparation des questions",
|
|
7354
|
+
"message.stepProcess.prepare.tools": "Préparation des appels d'outils",
|
|
7355
|
+
"message.stepProcess.done.thinking": "Analyse terminée",
|
|
7356
|
+
"message.stepProcess.done.read": "Lire des fichiers",
|
|
7357
|
+
"message.stepProcess.done.readImage": "Lire des images",
|
|
7358
|
+
"message.stepProcess.done.write": "A écrit des fichiers",
|
|
7359
|
+
"message.stepProcess.done.search": "Code recherché",
|
|
7360
|
+
"message.stepProcess.done.edit": "Fichiers modifiés",
|
|
7361
|
+
"message.stepProcess.done.commands": "Commandes exécutées",
|
|
7362
|
+
"message.stepProcess.done.code": "Code exécuté",
|
|
7363
|
+
"message.stepProcess.done.webSearch": "J'ai cherché sur le Web",
|
|
7364
|
+
"message.stepProcess.done.webFetch": "Pages Web visitées",
|
|
7365
|
+
"message.stepProcess.done.subagents": "Sous-agents coordonnés",
|
|
7366
|
+
"message.stepProcess.done.plan": "Plan mis à jour",
|
|
7367
|
+
"message.stepProcess.done.questions": "Questions posées",
|
|
7368
|
+
"message.stepProcess.done.tools": "Outils appelés",
|
|
7369
|
+
"message.stepProcess.joinTwo": "{first} et {second}",
|
|
7370
|
+
"message.stepProcess.comma": ", ",
|
|
7371
|
+
"message.stepProcess.sharedPrefix": "",
|
|
7372
|
+
"message.stepProcess.more": "{title}, etc.",
|
|
7373
|
+
"message.trigger.request": "Exécution demandée",
|
|
7374
|
+
"message.trigger.goal": "Objectif continu",
|
|
7375
|
+
"message.trigger.agent": "Message de tâche reçu",
|
|
7376
|
+
"message.trigger.team": "Message d'équipe reçu",
|
|
7377
|
+
"message.trigger.subagent": "Statut de la sous-tâche mis à jour",
|
|
7378
|
+
"message.trigger.github": "Événement GitHub reçu",
|
|
7379
|
+
"message.trigger.webhook": "Événement externe reçu",
|
|
7380
|
+
"message.trigger.schedule": "Tâche d'automatisation",
|
|
7381
|
+
"message.trigger.job": "Tâche en arrière-plan mise à jour",
|
|
7382
|
+
"message.trigger.plugin": "Statut du plugin mis à jour",
|
|
7383
|
+
"message.trigger.explanation": "Cette notification a déclenché cette réponse.",
|
|
7384
|
+
"message.turnProcess.worked": "Terminé",
|
|
7385
|
+
"message.turnProcess.took": "Terminé en ",
|
|
7386
|
+
"message.turnProcess.failed": "Échec",
|
|
7387
|
+
"view.chat": "Discussion",
|
|
7388
|
+
"image.open": "Voir l'image complète",
|
|
7389
|
+
"image.loading": "Chargement de l'image…",
|
|
7390
|
+
"image.failed": "Aperçu de l'image indisponible",
|
|
7391
|
+
"image.dialog": "Aperçu de l'image",
|
|
7392
|
+
"image.close": "Fermer l'aperçu de l'image",
|
|
7393
|
+
"number.groupSeparator": ",",
|
|
7394
|
+
"duration.compactSeconds": "{seconds}s",
|
|
7395
|
+
"duration.compactMinutes": "{minutes}m{seconds}s",
|
|
7396
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7397
|
+
"stats.counts": "{turns} tours, {steps} étapes",
|
|
7398
|
+
"stats.cacheHit": "Taux de réussite du cache : {percent} %",
|
|
7399
|
+
"stats.dialog.title": "Statistiques de session",
|
|
7400
|
+
"stats.dialog.usageTitle": "Utilisation des jetons",
|
|
7401
|
+
"stats.dialog.llmTime": "Temps LLM",
|
|
7402
|
+
"stats.dialog.toolTime": "Temps d'outil",
|
|
7403
|
+
"stats.dialog.ttft": "Temps moyen jusqu'au premier jeton (TTFT)",
|
|
7404
|
+
"stats.dialog.speed": "Jetons par seconde (TPS)",
|
|
7405
|
+
"chat.loadingHistory": "Chargement de l'historique…",
|
|
7406
|
+
"chat.loadError": "Échec du chargement de l'historique\xA0: {message} ({code})",
|
|
7407
|
+
"chat.loadOlder": "Charger plus tôt",
|
|
7408
|
+
"chat.toBottom": "Retour en bas",
|
|
7409
|
+
"chat.deepDiving": "Réflexion approfondie",
|
|
7410
|
+
"chat.deepDivingFor": "Réflexion approfondie depuis {duration} ···",
|
|
7411
|
+
"chat.turnNavigation.label": "Navigation entre les tours",
|
|
7412
|
+
"chat.turnNavigation.jump": "Aller au tour {turn}",
|
|
7413
|
+
"chat.turnNavigation.jumpLoad": "Charger et aller au tour {turn}",
|
|
7414
|
+
"chat.turnNavigation.turn": "Tour {turn}",
|
|
7415
|
+
"settings.performance.title": "Performances et utilisation",
|
|
7416
|
+
"settings.performance.description": "Choisissez la quantité d'informations sur les performances et l'utilisation à afficher",
|
|
7417
|
+
"settings.performance.compact": "Compacte",
|
|
7418
|
+
"settings.performance.detailed": "Détaillé",
|
|
7419
|
+
"settings.links.title": "Ouvrir les liens de discussion dans",
|
|
7420
|
+
"settings.links.description": "Choisissez où ouvrir les liens Web",
|
|
7421
|
+
"settings.links.sidebar": "Barre latérale dans l'application",
|
|
7422
|
+
"settings.links.newTab": "Navigateur par défaut",
|
|
7423
|
+
"settings.transcript.title": "Détails du travail",
|
|
7424
|
+
"settings.transcript.description": "Choisissez le niveau de détails à afficher pour les appels d'outils",
|
|
7425
|
+
"settings.collapse.title": "Quand réduire les détails du travail",
|
|
7426
|
+
"settings.collapse.description": "Choisissez quand réduire automatiquement les détails du travail",
|
|
7427
|
+
"settings.collapse.completion": "À la fin",
|
|
7428
|
+
"settings.collapse.nextInput": "Au prochain message",
|
|
7429
|
+
"settings.foldedReplies.title": "Réponses après le repli",
|
|
7430
|
+
"settings.foldedReplies.description": "Choisissez quelles réponses de l'assistant restent visibles lorsque les détails du travail sont réduits",
|
|
7431
|
+
"settings.foldedReplies.all": "Toutes les réponses",
|
|
7432
|
+
"settings.foldedReplies.final": "Réponse finale seulement",
|
|
7433
|
+
"settings.transcript.compact": "Compacte",
|
|
7434
|
+
"settings.transcript.standard": "Norme",
|
|
7435
|
+
"settings.transcript.detailed": "Détaillé",
|
|
7436
|
+
"settings.transcript.verbose": "Verbeux",
|
|
7437
|
+
"fileOpen.title": "Impossible d'ouvrir le fichier",
|
|
7438
|
+
"fileOpen.unknown": "Impossible d'ouvrir ce fichier",
|
|
7439
|
+
"message.extraBlock": "Bloc de contenu supplémentaire",
|
|
7440
|
+
"message.systemPrompt": "Invite système",
|
|
7441
|
+
"message.systemPromptUpdate": "Mise à jour de l'invite du système",
|
|
7442
|
+
"message.toolAdded": "Outil ajouté\xA0: {name}",
|
|
7443
|
+
"message.toolRemoved": "Outil supprimé\xA0: {name}",
|
|
7444
|
+
"message.toolsAdded": "Ajouté\xA0: {names}",
|
|
7445
|
+
"message.toolsAddedCount": "{count} ajouté",
|
|
7446
|
+
"message.toolsChanged": "{added} ajouté, {removed} supprimé",
|
|
7447
|
+
"message.toolsRemoved": "Supprimé\xA0: {names}",
|
|
7448
|
+
"message.toolsRemovedCount": "{count} supprimé",
|
|
7449
|
+
"message.toolsUpdated": "Outils mis à jour",
|
|
7450
|
+
"message.contextInjection": "Injection de contexte",
|
|
7451
|
+
"message.contextRecall": "Rappel de session",
|
|
7452
|
+
"message.referenceSummary": "Séance référencée · {labels}",
|
|
7453
|
+
"message.referenceSeparator": ", ",
|
|
7454
|
+
"message.context.instructions.loaded": "chargé",
|
|
7455
|
+
"message.context.instructions.added": "ajouté",
|
|
7456
|
+
"message.context.instructions.updated": "mis à jour",
|
|
7457
|
+
"message.context.instructions.removed": "supprimé",
|
|
7458
|
+
"message.context.catalog.replaced": "Catalogue de remplacement",
|
|
7459
|
+
"message.context.catalog.more": "… {count} plus",
|
|
7460
|
+
"message.context.snapshot.supersedes": "Remplace les instantanés précédents",
|
|
7461
|
+
"message.context.relay.from": "De la séance {session}",
|
|
7462
|
+
"message.context.recall.counts": "{retained} conservé · {omitted} omis",
|
|
7463
|
+
"message.context.recall.truncated": "tronqué",
|
|
7464
|
+
"message.compaction": "Contexte compacté",
|
|
7465
|
+
"message.compaction.running": "Contexte de compactage…",
|
|
7466
|
+
"message.compaction.completed": "Éléments d'historique {items} compactés (~jetons {tokens})",
|
|
7467
|
+
"message.compaction.expand": "Afficher le résumé du compactage",
|
|
7468
|
+
"message.compaction.unavailable": "Résumé du compactage indisponible",
|
|
7469
|
+
"message.compaction.commandTitle": "compacte",
|
|
7470
|
+
"message.think": "Pensez",
|
|
7471
|
+
"message.unknownSurface": "Événement de surface inconnu\xA0: {type}",
|
|
7472
|
+
"message.unknownBlock": "Bloc de contenu inconnu",
|
|
7473
|
+
"message.turnProcess.toolCalls.one": "Appel d'outil {count}",
|
|
7474
|
+
"message.turnProcess.toolCalls.other": "Appels d'outil {count}",
|
|
7475
|
+
"message.turnProcess.messages.one": "Message {count}",
|
|
7476
|
+
"message.turnProcess.messages.other": "Messages {count}",
|
|
7477
|
+
"message.turnProcess.subagents.one": "Sous-agent {count}",
|
|
7478
|
+
"message.turnProcess.subagents.other": "Sous-agents {count}",
|
|
7479
|
+
"message.turnProcess.thoughtForAWhile": "Réflexion pendant un moment",
|
|
7480
|
+
"message.turnProcess.separator": " · ",
|
|
7481
|
+
"message.stopped": "Arrêté",
|
|
7482
|
+
"message.branch": "Lancez-vous dans une nouvelle conversation",
|
|
7483
|
+
"message.branchUnavailable": "Disponible uniquement sur le dernier message d'un tour terminé",
|
|
7484
|
+
"message.retry.active": "Nouvelle tentative de demande de modèle",
|
|
7485
|
+
"message.retry.cancelled": "Nouvelle tentative de demande de modèle annulée",
|
|
7486
|
+
"message.retry.started": "Demande de modèle réessayée",
|
|
7487
|
+
"message.retry.scheduled": "En attente de réessayer la demande de modèle",
|
|
7488
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}",
|
|
7489
|
+
"message.retry.delay": "Délai de nouvelle tentative\xA0: ",
|
|
7490
|
+
"message.retry.failure": "Raison de l'échec\xA0: ",
|
|
7491
|
+
"message.failure.auth": "La clé API n'est pas valide",
|
|
7492
|
+
"message.taskStopped": "Tâche arrêtée",
|
|
7493
|
+
"message.failure.accountSignedOut": "Arrêté car vous vous êtes déconnecté de DeepSeek.",
|
|
7494
|
+
"message.failure.interrupted": "Le processus DSH s'est terminé avant la fin de ce tour (par exemple, il a été arrêté, s'est écrasé ou a expiré lors de l'arrêt), de sorte que le tour a été fermé lorsque DSH a redémarré. Les appels d’outils inachevés ont des résultats inconnus.",
|
|
7495
|
+
"message.failure.accountSignInRequired": "Connectez-vous à DeepSeek et assurez-vous que la destination de la demande prend en charge l'authentification du compte.",
|
|
7496
|
+
"message.failure.quota": "Quota de demandes épuisé.",
|
|
7497
|
+
"message.turnError": "Ce tour a échoué",
|
|
7498
|
+
"message.maxTokens": "Limite de jetons de sortie atteinte",
|
|
7499
|
+
"message.maxTokens.hint": "La réponse fut coupée ; la sortie antérieure est conservée dans la conversation. Envoyez «\xA0continuer\xA0» pour laisser le modèle reprendre.",
|
|
7500
|
+
"message.tokensPerSecond": "{tps} jetons/s",
|
|
7501
|
+
"message.turnUsage.title": "Consommation du tour",
|
|
7502
|
+
"message.turnUsage.consumed": "Utilisation {total}",
|
|
7503
|
+
"message.turnUsage.model": "Fournisseur / modèle",
|
|
7504
|
+
"message.turnUsage.cacheHit": "Taux de réussite du cache",
|
|
7505
|
+
"message.turnUsage.input": "Entrée non mise en cache",
|
|
7506
|
+
"message.turnUsage.cacheRead": "Entrée en cache",
|
|
7507
|
+
"message.turnUsage.cacheWrite": "Écriture en cache",
|
|
7508
|
+
"message.turnUsage.output": "Sortie",
|
|
7509
|
+
"message.turnUsage.reasoning": " (raisonnement {tokens})",
|
|
7510
|
+
"message.turnUsage.count": "Jeton {count}",
|
|
7511
|
+
"duration.secondUnit": "s",
|
|
7512
|
+
"duration.minuteUnit": "m ",
|
|
7513
|
+
"duration.hourUnit": "h ",
|
|
7514
|
+
"command.running": "Courir…",
|
|
7515
|
+
"command.failed": "La commande a échoué",
|
|
7516
|
+
"command.done": "Terminé",
|
|
7517
|
+
"command.title": "Commande",
|
|
7518
|
+
"row.running": "Courir",
|
|
7519
|
+
"row.failed": "Échec",
|
|
7520
|
+
"json.truncated": "… tronqué, nombre total de caractères {total}",
|
|
7521
|
+
"clock.md": "{m}/{d}",
|
|
7522
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
7523
|
+
};
|
|
7524
|
+
/** German dictionary, checked against the English keys. */
|
|
7525
|
+
const de = {
|
|
7526
|
+
"message.stepProcess.thinking": "Analyse der Anfrage",
|
|
7527
|
+
"message.stepProcess.read": "Dateien lesen",
|
|
7528
|
+
"message.stepProcess.readImage": "Bilder lesen",
|
|
7529
|
+
"message.stepProcess.write": "Dateien schreiben",
|
|
7530
|
+
"message.stepProcess.search": "Code wird gesucht",
|
|
7531
|
+
"message.stepProcess.edit": "Bearbeiten von Dateien",
|
|
7532
|
+
"message.stepProcess.commands": "Befehle ausführen",
|
|
7533
|
+
"message.stepProcess.code": "Ausführen von Code",
|
|
7534
|
+
"message.stepProcess.webSearch": "Suche im Internet",
|
|
7535
|
+
"message.stepProcess.webFetch": "Besuch von Webseiten",
|
|
7536
|
+
"message.stepProcess.subagents": "Koordinierende Unteragenten",
|
|
7537
|
+
"message.stepProcess.plan": "Aktualisierung des Plans",
|
|
7538
|
+
"message.stepProcess.questions": "Ich warte auf Ihre Aktion",
|
|
7539
|
+
"message.stepProcess.tools": "Aufrufende Werkzeuge",
|
|
7540
|
+
"message.stepProcess.prepare.read": "Vorbereitung zum Lesen von Dateien",
|
|
7541
|
+
"message.stepProcess.prepare.readImage": "Vorbereitung zum Lesen von Bildern",
|
|
7542
|
+
"message.stepProcess.prepare.write": "Vorbereitung zum Schreiben von Dateien",
|
|
7543
|
+
"message.stepProcess.prepare.search": "Vorbereiten der Codesuche",
|
|
7544
|
+
"message.stepProcess.prepare.edit": "Vorbereitung zum Bearbeiten von Dateien",
|
|
7545
|
+
"message.stepProcess.prepare.commands": "Vorbereitung zum Ausführen von Befehlen",
|
|
7546
|
+
"message.stepProcess.prepare.code": "Vorbereiten, Code auszuführen",
|
|
7547
|
+
"message.stepProcess.prepare.webSearch": "Bereiten Sie sich auf die Suche im Internet vor",
|
|
7548
|
+
"message.stepProcess.prepare.webFetch": "Vorbereitung auf den Besuch von Webseiten",
|
|
7549
|
+
"message.stepProcess.prepare.subagents": "Vorbereitung zur Koordinierung von Subagenten",
|
|
7550
|
+
"message.stepProcess.prepare.plan": "Vorbereitung zur Aktualisierung des Plans",
|
|
7551
|
+
"message.stepProcess.prepare.questions": "Fragen vorbereiten",
|
|
7552
|
+
"message.stepProcess.prepare.tools": "Toolaufrufe vorbereiten",
|
|
7553
|
+
"message.stepProcess.done.thinking": "Analyse abgeschlossen",
|
|
7554
|
+
"message.stepProcess.done.read": "Dateien lesen",
|
|
7555
|
+
"message.stepProcess.done.readImage": "Bilder lesen",
|
|
7556
|
+
"message.stepProcess.done.write": "Dateien geschrieben",
|
|
7557
|
+
"message.stepProcess.done.search": "Gesuchter Code",
|
|
7558
|
+
"message.stepProcess.done.edit": "Bearbeitete Dateien",
|
|
7559
|
+
"message.stepProcess.done.commands": "Befehle ausgeführt",
|
|
7560
|
+
"message.stepProcess.done.code": "Code ausgeführt",
|
|
7561
|
+
"message.stepProcess.done.webSearch": "Habe das Internet durchsucht",
|
|
7562
|
+
"message.stepProcess.done.webFetch": "Besuchte Webseiten",
|
|
7563
|
+
"message.stepProcess.done.subagents": "Koordinierte Unteragenten",
|
|
7564
|
+
"message.stepProcess.done.plan": "Plan aktualisiert",
|
|
7565
|
+
"message.stepProcess.done.questions": "Gestellte Fragen",
|
|
7566
|
+
"message.stepProcess.done.tools": "Werkzeuge genannt",
|
|
7567
|
+
"message.stepProcess.joinTwo": "{first} und {second}",
|
|
7568
|
+
"message.stepProcess.comma": ", ",
|
|
7569
|
+
"message.stepProcess.sharedPrefix": "",
|
|
7570
|
+
"message.stepProcess.more": "{title} usw.",
|
|
7571
|
+
"message.trigger.request": "Ausführung beantragt",
|
|
7572
|
+
"message.trigger.goal": "Weiterführendes Ziel",
|
|
7573
|
+
"message.trigger.agent": "Aufgabennachricht erhalten",
|
|
7574
|
+
"message.trigger.team": "Teamnachricht erhalten",
|
|
7575
|
+
"message.trigger.subagent": "Unteraufgabenstatus aktualisiert",
|
|
7576
|
+
"message.trigger.github": "GitHub-Ereignis empfangen",
|
|
7577
|
+
"message.trigger.webhook": "Externes Ereignis empfangen",
|
|
7578
|
+
"message.trigger.schedule": "Automatisierungsaufgabe",
|
|
7579
|
+
"message.trigger.job": "Hintergrundaufgabe aktualisiert",
|
|
7580
|
+
"message.trigger.plugin": "Plugin-Status aktualisiert",
|
|
7581
|
+
"message.trigger.explanation": "Diese Benachrichtigung hat diese Reaktion ausgelöst.",
|
|
7582
|
+
"message.turnProcess.worked": "Abgeschlossen",
|
|
7583
|
+
"message.turnProcess.took": "Fertiggestellt in ",
|
|
7584
|
+
"message.turnProcess.failed": "Fehlgeschlagen",
|
|
7585
|
+
"view.chat": "Chat",
|
|
7586
|
+
"image.open": "Vollständiges Bild anzeigen",
|
|
7587
|
+
"image.loading": "Bild wird geladen…",
|
|
7588
|
+
"image.failed": "Bildvorschau nicht verfügbar",
|
|
7589
|
+
"image.dialog": "Bildvorschau",
|
|
7590
|
+
"image.close": "Bildvorschau schließen",
|
|
7591
|
+
"number.groupSeparator": ",",
|
|
7592
|
+
"duration.compactSeconds": "{seconds}s",
|
|
7593
|
+
"duration.compactMinutes": "{minutes}m{seconds}s",
|
|
7594
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7595
|
+
"stats.counts": "{turns} Runden, {steps} Schritte",
|
|
7596
|
+
"stats.cacheHit": "Cache-Treffer: {percent}%",
|
|
7597
|
+
"stats.dialog.title": "Sitzungsstatistiken",
|
|
7598
|
+
"stats.dialog.usageTitle": "Token-Nutzung",
|
|
7599
|
+
"stats.dialog.llmTime": "LLM-Zeit",
|
|
7600
|
+
"stats.dialog.toolTime": "Werkzeugzeit",
|
|
7601
|
+
"stats.dialog.ttft": "Durchschnittliche Zeit bis zum ersten Token (TTFT)",
|
|
7602
|
+
"stats.dialog.speed": "Token pro Sekunde (TPS)",
|
|
7603
|
+
"chat.loadingHistory": "Verlauf wird geladen…",
|
|
7604
|
+
"chat.loadError": "Fehler beim Laden des Verlaufs: {message} ({code})",
|
|
7605
|
+
"chat.loadOlder": "Früher laden",
|
|
7606
|
+
"chat.toBottom": "Zurück nach unten",
|
|
7607
|
+
"chat.deepDiving": "Gründliches Nachdenken",
|
|
7608
|
+
"chat.deepDivingFor": "Gründliches Nachdenken seit {duration} ···",
|
|
7609
|
+
"chat.turnNavigation.label": "Rundennavigation",
|
|
7610
|
+
"chat.turnNavigation.jump": "Zu Runde {turn} springen",
|
|
7611
|
+
"chat.turnNavigation.jumpLoad": "Runde {turn} laden und öffnen",
|
|
7612
|
+
"chat.turnNavigation.turn": "Runde {turn}",
|
|
7613
|
+
"settings.performance.title": "Leistung und Nutzung",
|
|
7614
|
+
"settings.performance.description": "Wählen Sie aus, wie viele Leistungs- und Nutzungsinformationen angezeigt werden sollen",
|
|
7615
|
+
"settings.performance.compact": "Kompakt",
|
|
7616
|
+
"settings.performance.detailed": "Ausführlich",
|
|
7617
|
+
"settings.links.title": "Öffnen Sie Chat-Links in",
|
|
7618
|
+
"settings.links.description": "Wählen Sie aus, wo Weblinks geöffnet werden sollen",
|
|
7619
|
+
"settings.links.sidebar": "In-App-Seitenleiste",
|
|
7620
|
+
"settings.links.newTab": "Standardbrowser",
|
|
7621
|
+
"settings.transcript.title": "Arbeitsdetails",
|
|
7622
|
+
"settings.transcript.description": "Wählen Sie aus, wie viele Details für Werkzeugaufrufe angezeigt werden sollen",
|
|
7623
|
+
"settings.collapse.title": "Wann Arbeitsdetails minimiert werden sollten",
|
|
7624
|
+
"settings.collapse.description": "Wählen Sie aus, wann Arbeitsdetails automatisch ausgeblendet werden sollen",
|
|
7625
|
+
"settings.collapse.completion": "Nach Fertigstellung",
|
|
7626
|
+
"settings.collapse.nextInput": "Bei der nächsten Nachricht",
|
|
7627
|
+
"settings.foldedReplies.title": "Antworten nach dem Einklappen",
|
|
7628
|
+
"settings.foldedReplies.description": "Wählen Sie aus, welche Assistentenantworten sichtbar bleiben, wenn die Arbeitsdetails ausgeblendet werden",
|
|
7629
|
+
"settings.foldedReplies.all": "Alle Antworten",
|
|
7630
|
+
"settings.foldedReplies.final": "Nur die endgültige Antwort",
|
|
7631
|
+
"settings.transcript.compact": "Kompakt",
|
|
7632
|
+
"settings.transcript.standard": "Standard",
|
|
7633
|
+
"settings.transcript.detailed": "Ausführlich",
|
|
7634
|
+
"settings.transcript.verbose": "Ausführlich",
|
|
7635
|
+
"fileOpen.title": "Datei konnte nicht geöffnet werden",
|
|
7636
|
+
"fileOpen.unknown": "Diese Datei konnte nicht geöffnet werden",
|
|
7637
|
+
"message.extraBlock": "Zusätzlicher Inhaltsblock",
|
|
7638
|
+
"message.systemPrompt": "Systemaufforderung",
|
|
7639
|
+
"message.systemPromptUpdate": "Aktualisierung der Systemaufforderung",
|
|
7640
|
+
"message.toolAdded": "Tool hinzugefügt: {name}",
|
|
7641
|
+
"message.toolRemoved": "Entferntes Werkzeug: {name}",
|
|
7642
|
+
"message.toolsAdded": "Hinzugefügt: {names}",
|
|
7643
|
+
"message.toolsAddedCount": "{count} hinzugefügt",
|
|
7644
|
+
"message.toolsChanged": "{added} hinzugefügt, {removed} entfernt",
|
|
7645
|
+
"message.toolsRemoved": "Entfernt: {names}",
|
|
7646
|
+
"message.toolsRemovedCount": "{count} entfernt",
|
|
7647
|
+
"message.toolsUpdated": "Werkzeuge aktualisiert",
|
|
7648
|
+
"message.contextInjection": "Kontextinjektion",
|
|
7649
|
+
"message.contextRecall": "Sitzungsrückruf",
|
|
7650
|
+
"message.referenceSummary": "Referenzierte Sitzung · {labels}",
|
|
7651
|
+
"message.referenceSeparator": ", ",
|
|
7652
|
+
"message.context.instructions.loaded": "geladen",
|
|
7653
|
+
"message.context.instructions.added": "hinzugefügt",
|
|
7654
|
+
"message.context.instructions.updated": "aktualisiert",
|
|
7655
|
+
"message.context.instructions.removed": "entfernt",
|
|
7656
|
+
"message.context.catalog.replaced": "Ersatzkatalog",
|
|
7657
|
+
"message.context.catalog.more": "… {count} mehr",
|
|
7658
|
+
"message.context.snapshot.supersedes": "Ersetzt frühere Schnappschüsse",
|
|
7659
|
+
"message.context.relay.from": "Aus der Sitzung {session}",
|
|
7660
|
+
"message.context.recall.counts": "{retained} beibehalten · {omitted} weggelassen",
|
|
7661
|
+
"message.context.recall.truncated": "abgeschnitten",
|
|
7662
|
+
"message.compaction": "Kontext verdichtet",
|
|
7663
|
+
"message.compaction.running": "Kontext verdichten…",
|
|
7664
|
+
"message.compaction.completed": "Komprimierte {items}-Verlaufselemente (~{tokens}-Tokens)",
|
|
7665
|
+
"message.compaction.expand": "Komprimierungszusammenfassung anzeigen",
|
|
7666
|
+
"message.compaction.unavailable": "Komprimierungszusammenfassung nicht verfügbar",
|
|
7667
|
+
"message.compaction.commandTitle": "kompakt",
|
|
7668
|
+
"message.think": "Denken Sie nach",
|
|
7669
|
+
"message.unknownSurface": "Unbekanntes Oberflächenereignis: {type}",
|
|
7670
|
+
"message.unknownBlock": "Unbekannter Inhaltsblock",
|
|
7671
|
+
"message.turnProcess.toolCalls.one": "Werkzeugaufruf {count}",
|
|
7672
|
+
"message.turnProcess.toolCalls.other": "{count} Toolaufrufe",
|
|
7673
|
+
"message.turnProcess.messages.one": "{count}-Nachricht",
|
|
7674
|
+
"message.turnProcess.messages.other": "{count}-Nachrichten",
|
|
7675
|
+
"message.turnProcess.subagents.one": "{count}-Subagent",
|
|
7676
|
+
"message.turnProcess.subagents.other": "{count}-Subagenten",
|
|
7677
|
+
"message.turnProcess.thoughtForAWhile": "Eine Weile nachgedacht",
|
|
7678
|
+
"message.turnProcess.separator": " · ",
|
|
7679
|
+
"message.stopped": "Angehalten",
|
|
7680
|
+
"message.branch": "Verzweigen Sie in ein neues Gespräch",
|
|
7681
|
+
"message.branchUnavailable": "Nur verfügbar bei der letzten Nachricht einer abgeschlossenen Runde",
|
|
7682
|
+
"message.retry.active": "Modellanforderung wird erneut versucht",
|
|
7683
|
+
"message.retry.cancelled": "Wiederholungsversuch der Modellanforderung abgebrochen",
|
|
7684
|
+
"message.retry.started": "Modellanfrage erneut versucht",
|
|
7685
|
+
"message.retry.scheduled": "Warten auf erneuten Versuch der Modellanforderung",
|
|
7686
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}s",
|
|
7687
|
+
"message.retry.delay": "Wiederholungsverzögerung: ",
|
|
7688
|
+
"message.retry.failure": "Fehlergrund: ",
|
|
7689
|
+
"message.failure.auth": "Der API-Schlüssel ist ungültig",
|
|
7690
|
+
"message.taskStopped": "Aufgabe gestoppt",
|
|
7691
|
+
"message.failure.accountSignedOut": "Gestoppt, weil Sie sich von DeepSeek abgemeldet haben.",
|
|
7692
|
+
"message.failure.interrupted": "Der DSH-Prozess wurde beendet, bevor dieser Zug beendet war (z. B. wurde er beendet, stürzte ab oder es kam zu einer Zeitüberschreitung beim Herunterfahren), sodass der Zug geschlossen wurde, als DSH neu gestartet wurde. Unvollendete Werkzeugaufrufe haben unbekannte Ergebnisse.",
|
|
7693
|
+
"message.failure.accountSignInRequired": "Melden Sie sich bei DeepSeek an und stellen Sie sicher, dass das Anforderungsziel die Kontoauthentifizierung unterstützt.",
|
|
7694
|
+
"message.failure.quota": "Anforderungskontingent ausgeschöpft.",
|
|
7695
|
+
"message.turnError": "Diese Runde ist fehlgeschlagen",
|
|
7696
|
+
"message.maxTokens": "Ausgabe-Token-Limit erreicht",
|
|
7697
|
+
"message.maxTokens.hint": "Die Antwort wurde abgeschnitten; Frühere Ausgaben bleiben in der Konversation erhalten. Senden Sie „Weiter“, um das Modell fortzusetzen.",
|
|
7698
|
+
"message.tokensPerSecond": "{tps} tok/s",
|
|
7699
|
+
"message.turnUsage.title": "Rundenverbrauch",
|
|
7700
|
+
"message.turnUsage.consumed": "Verwendung {total}",
|
|
7701
|
+
"message.turnUsage.model": "Anbieter / Modell",
|
|
7702
|
+
"message.turnUsage.cacheHit": "Cache-Treffer",
|
|
7703
|
+
"message.turnUsage.input": "Nicht zwischengespeicherte Eingabe",
|
|
7704
|
+
"message.turnUsage.cacheRead": "Zwischengespeicherte Eingabe",
|
|
7705
|
+
"message.turnUsage.cacheWrite": "Cache-Schreiben",
|
|
7706
|
+
"message.turnUsage.output": "Ausgabe",
|
|
7707
|
+
"message.turnUsage.reasoning": " ({tokens}-Argumentation)",
|
|
7708
|
+
"message.turnUsage.count": "{count}-Token",
|
|
7709
|
+
"duration.secondUnit": "s",
|
|
7710
|
+
"duration.minuteUnit": "m ",
|
|
7711
|
+
"duration.hourUnit": "h ",
|
|
7712
|
+
"command.running": "Laufen…",
|
|
7713
|
+
"command.failed": "Der Befehl ist fehlgeschlagen",
|
|
7714
|
+
"command.done": "Abgeschlossen",
|
|
7715
|
+
"command.title": "Befehl",
|
|
7716
|
+
"row.running": "Laufen",
|
|
7717
|
+
"row.failed": "Fehlgeschlagen",
|
|
7718
|
+
"json.truncated": "… gekürzt, {total} Zeichen insgesamt",
|
|
7719
|
+
"clock.md": "{m}/{d}",
|
|
7720
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
7721
|
+
};
|
|
7722
|
+
/** Russian dictionary, checked against the English keys. */
|
|
7723
|
+
const ru = {
|
|
7724
|
+
"message.stepProcess.thinking": "Анализ запроса",
|
|
7725
|
+
"message.stepProcess.read": "Чтение файлов",
|
|
7726
|
+
"message.stepProcess.readImage": "Чтение изображений",
|
|
7727
|
+
"message.stepProcess.write": "Запись файлов",
|
|
7728
|
+
"message.stepProcess.search": "Поиск кода",
|
|
7729
|
+
"message.stepProcess.edit": "Редактирование файлов",
|
|
7730
|
+
"message.stepProcess.commands": "Запуск команд",
|
|
7731
|
+
"message.stepProcess.code": "Запуск кода",
|
|
7732
|
+
"message.stepProcess.webSearch": "Поиск в Интернете",
|
|
7733
|
+
"message.stepProcess.webFetch": "Посещение веб-страниц",
|
|
7734
|
+
"message.stepProcess.subagents": "Координирующие субагенты",
|
|
7735
|
+
"message.stepProcess.plan": "Обновление плана",
|
|
7736
|
+
"message.stepProcess.questions": "Жду ваших действий",
|
|
7737
|
+
"message.stepProcess.tools": "Вызов инструментов",
|
|
7738
|
+
"message.stepProcess.prepare.read": "Подготовка к чтению файлов",
|
|
7739
|
+
"message.stepProcess.prepare.readImage": "Подготовка к чтению изображений",
|
|
7740
|
+
"message.stepProcess.prepare.write": "Подготовка к записи файлов",
|
|
7741
|
+
"message.stepProcess.prepare.search": "Подготовка к поиску кода",
|
|
7742
|
+
"message.stepProcess.prepare.edit": "Подготовка к редактированию файлов",
|
|
7743
|
+
"message.stepProcess.prepare.commands": "Подготовка к выполнению команд",
|
|
7744
|
+
"message.stepProcess.prepare.code": "Подготовка к запуску кода",
|
|
7745
|
+
"message.stepProcess.prepare.webSearch": "Подготовка к поиску в Интернете",
|
|
7746
|
+
"message.stepProcess.prepare.webFetch": "Подготовка к посещению веб-страниц",
|
|
7747
|
+
"message.stepProcess.prepare.subagents": "Подготовка к координации субагентов",
|
|
7748
|
+
"message.stepProcess.prepare.plan": "Подготовка к обновлению плана",
|
|
7749
|
+
"message.stepProcess.prepare.questions": "Подготовка вопросов",
|
|
7750
|
+
"message.stepProcess.prepare.tools": "Подготовка вызовов инструментов",
|
|
7751
|
+
"message.stepProcess.done.thinking": "Анализ завершен",
|
|
7752
|
+
"message.stepProcess.done.read": "Чтение файлов",
|
|
7753
|
+
"message.stepProcess.done.readImage": "Чтение изображений",
|
|
7754
|
+
"message.stepProcess.done.write": "Написал файлы",
|
|
7755
|
+
"message.stepProcess.done.search": "Искомый код",
|
|
7756
|
+
"message.stepProcess.done.edit": "Отредактированные файлы",
|
|
7757
|
+
"message.stepProcess.done.commands": "Выполнение команд",
|
|
7758
|
+
"message.stepProcess.done.code": "Выполненный код",
|
|
7759
|
+
"message.stepProcess.done.webSearch": "Искал в Интернете",
|
|
7760
|
+
"message.stepProcess.done.webFetch": "Посещенные веб-страницы",
|
|
7761
|
+
"message.stepProcess.done.subagents": "Координированные субагенты",
|
|
7762
|
+
"message.stepProcess.done.plan": "Обновлен план",
|
|
7763
|
+
"message.stepProcess.done.questions": "Задаваемые вопросы",
|
|
7764
|
+
"message.stepProcess.done.tools": "Вызываемые инструменты",
|
|
7765
|
+
"message.stepProcess.joinTwo": "{first} и {second}",
|
|
7766
|
+
"message.stepProcess.comma": ", ",
|
|
7767
|
+
"message.stepProcess.sharedPrefix": "",
|
|
7768
|
+
"message.stepProcess.more": "{title} и т. д.",
|
|
7769
|
+
"message.trigger.request": "Запрошено выполнение",
|
|
7770
|
+
"message.trigger.goal": "Постоянная цель",
|
|
7771
|
+
"message.trigger.agent": "Сообщение о задаче получено",
|
|
7772
|
+
"message.trigger.team": "Сообщение команды получено",
|
|
7773
|
+
"message.trigger.subagent": "Статус подзадачи обновлен",
|
|
7774
|
+
"message.trigger.github": "Событие GitHub получено",
|
|
7775
|
+
"message.trigger.webhook": "Получено внешнее событие",
|
|
7776
|
+
"message.trigger.schedule": "Задача автоматизации",
|
|
7777
|
+
"message.trigger.job": "Фоновая задача обновлена.",
|
|
7778
|
+
"message.trigger.plugin": "Статус плагина обновлен",
|
|
7779
|
+
"message.trigger.explanation": "Это уведомление вызвало такой ответ.",
|
|
7780
|
+
"message.turnProcess.worked": "Завершено",
|
|
7781
|
+
"message.turnProcess.took": "Завершено в ",
|
|
7782
|
+
"message.turnProcess.failed": "Не удалось",
|
|
7783
|
+
"view.chat": "Чат",
|
|
7784
|
+
"image.open": "Посмотреть полное изображение",
|
|
7785
|
+
"image.loading": "Загрузка изображения…",
|
|
7786
|
+
"image.failed": "Предварительный просмотр изображения недоступен.",
|
|
7787
|
+
"image.dialog": "Предварительный просмотр изображения",
|
|
7788
|
+
"image.close": "Закрыть предварительный просмотр изображения",
|
|
7789
|
+
"number.groupSeparator": ",",
|
|
7790
|
+
"duration.compactSeconds": "{seconds}s",
|
|
7791
|
+
"duration.compactMinutes": "{minutes}m{seconds}s",
|
|
7792
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7793
|
+
"stats.counts": "Ходов: {turns}, шагов: {steps}",
|
|
7794
|
+
"stats.cacheHit": "Попадание в кэш: {percent}%",
|
|
7795
|
+
"stats.dialog.title": "Статистика сеансов",
|
|
7796
|
+
"stats.dialog.usageTitle": "Использование токена",
|
|
7797
|
+
"stats.dialog.llmTime": "время магистратуры",
|
|
7798
|
+
"stats.dialog.toolTime": "Время работы инструмента",
|
|
7799
|
+
"stats.dialog.ttft": "Среднее время до первого токена (TTFT)",
|
|
7800
|
+
"stats.dialog.speed": "Токенов в секунду (TPS)",
|
|
7801
|
+
"chat.loadingHistory": "Загрузка истории…",
|
|
7802
|
+
"chat.loadError": "Не удалось загрузить историю: {message} ({code})",
|
|
7803
|
+
"chat.loadOlder": "Загрузить раньше",
|
|
7804
|
+
"chat.toBottom": "Вернуться к низу",
|
|
7805
|
+
"chat.deepDiving": "Глубокое размышление",
|
|
7806
|
+
"chat.deepDivingFor": "Глубокое размышление в течение {duration} ···",
|
|
7807
|
+
"chat.turnNavigation.label": "Навигация по ходам",
|
|
7808
|
+
"chat.turnNavigation.jump": "Перейти к ходу {turn}",
|
|
7809
|
+
"chat.turnNavigation.jumpLoad": "Загрузить ход {turn} и перейти к нему",
|
|
7810
|
+
"chat.turnNavigation.turn": "Ход {turn}",
|
|
7811
|
+
"settings.performance.title": "Производительность и использование",
|
|
7812
|
+
"settings.performance.description": "Выберите, какой объем информации о производительности и использовании показывать",
|
|
7813
|
+
"settings.performance.compact": "Компактный",
|
|
7814
|
+
"settings.performance.detailed": "Подробный",
|
|
7815
|
+
"settings.links.title": "Открыть ссылки на чат в",
|
|
7816
|
+
"settings.links.description": "Выберите, где открывать веб-ссылки",
|
|
7817
|
+
"settings.links.sidebar": "Боковая панель в приложении",
|
|
7818
|
+
"settings.links.newTab": "Браузер по умолчанию",
|
|
7819
|
+
"settings.transcript.title": "Детали работы",
|
|
7820
|
+
"settings.transcript.description": "Выберите, насколько подробно следует отображать вызовы инструментов.",
|
|
7821
|
+
"settings.collapse.title": "Когда сворачивать детали работы",
|
|
7822
|
+
"settings.collapse.description": "Выберите, когда автоматически сворачивать сведения о работе",
|
|
7823
|
+
"settings.collapse.completion": "По завершении",
|
|
7824
|
+
"settings.collapse.nextInput": "В следующем сообщении",
|
|
7825
|
+
"settings.foldedReplies.title": "Ответы после сворачивания",
|
|
7826
|
+
"settings.foldedReplies.description": "Выберите, какие ответы помощника останутся видимыми, когда сведения о работе будут свернуты.",
|
|
7827
|
+
"settings.foldedReplies.all": "Все ответы",
|
|
7828
|
+
"settings.foldedReplies.final": "Только окончательный ответ",
|
|
7829
|
+
"settings.transcript.compact": "Компактный",
|
|
7830
|
+
"settings.transcript.standard": "Стандартный",
|
|
7831
|
+
"settings.transcript.detailed": "Подробный",
|
|
7832
|
+
"settings.transcript.verbose": "Многословный",
|
|
7833
|
+
"fileOpen.title": "Не удалось открыть файл",
|
|
7834
|
+
"fileOpen.unknown": "Не удалось открыть этот файл",
|
|
7835
|
+
"message.extraBlock": "Дополнительный блок контента",
|
|
7836
|
+
"message.systemPrompt": "Системная подсказка",
|
|
7837
|
+
"message.systemPromptUpdate": "Обновление системного запроса",
|
|
7838
|
+
"message.toolAdded": "Добавлен инструмент: {name}.",
|
|
7839
|
+
"message.toolRemoved": "Инструмент удален: {name}.",
|
|
7840
|
+
"message.toolsAdded": "Добавлено: {names}",
|
|
7841
|
+
"message.toolsAddedCount": "{count} добавлен",
|
|
7842
|
+
"message.toolsChanged": "{added} добавлен, {removed} удален.",
|
|
7843
|
+
"message.toolsRemoved": "Удалено: {names}.",
|
|
7844
|
+
"message.toolsRemovedCount": "{count} удален.",
|
|
7845
|
+
"message.toolsUpdated": "Инструменты обновлены",
|
|
7846
|
+
"message.contextInjection": "Внедрение контекста",
|
|
7847
|
+
"message.contextRecall": "Отзыв сеанса",
|
|
7848
|
+
"message.referenceSummary": "Ссылка на сессию · {labels}",
|
|
7849
|
+
"message.referenceSeparator": ", ",
|
|
7850
|
+
"message.context.instructions.loaded": "загружен",
|
|
7851
|
+
"message.context.instructions.added": "добавлено",
|
|
7852
|
+
"message.context.instructions.updated": "обновлено",
|
|
7853
|
+
"message.context.instructions.removed": "удалено",
|
|
7854
|
+
"message.context.catalog.replaced": "Каталог замены",
|
|
7855
|
+
"message.context.catalog.more": "… {count} ещё",
|
|
7856
|
+
"message.context.snapshot.supersedes": "Заменяет предыдущие снимки",
|
|
7857
|
+
"message.context.relay.from": "Из сеанса {session}",
|
|
7858
|
+
"message.context.recall.counts": "{retained} сохранен · {omitted} опущен",
|
|
7859
|
+
"message.context.recall.truncated": "усеченный",
|
|
7860
|
+
"message.compaction": "Контекст сжат",
|
|
7861
|
+
"message.compaction.running": "Сжатие контекста…",
|
|
7862
|
+
"message.compaction.completed": "Сжатые элементы истории {items} (токены ~{tokens})",
|
|
7863
|
+
"message.compaction.expand": "Посмотреть сводку по уплотнению",
|
|
7864
|
+
"message.compaction.unavailable": "Сводка по уплотнению недоступна.",
|
|
7865
|
+
"message.compaction.commandTitle": "компактный",
|
|
7866
|
+
"message.think": "Подумайте",
|
|
7867
|
+
"message.unknownSurface": "Неизвестное событие на поверхности: {type}.",
|
|
7868
|
+
"message.unknownBlock": "Неизвестный блок контента",
|
|
7869
|
+
"message.turnProcess.toolCalls.one": "{count} вызов инструмента",
|
|
7870
|
+
"message.turnProcess.toolCalls.other": "{count} вызовов инструментов",
|
|
7871
|
+
"message.turnProcess.messages.one": "Сообщение {count}",
|
|
7872
|
+
"message.turnProcess.messages.other": "Сообщения {count}",
|
|
7873
|
+
"message.turnProcess.subagents.one": "Субагент {count}",
|
|
7874
|
+
"message.turnProcess.subagents.other": "Субагенты {count}",
|
|
7875
|
+
"message.turnProcess.thoughtForAWhile": "Размышлял некоторое время",
|
|
7876
|
+
"message.turnProcess.separator": " · ",
|
|
7877
|
+
"message.stopped": "Остановлено",
|
|
7878
|
+
"message.branch": "Перейти к новому разговору",
|
|
7879
|
+
"message.branchUnavailable": "Доступно только в последнем сообщении о завершенном ходу.",
|
|
7880
|
+
"message.retry.active": "Повторный запрос модели",
|
|
7881
|
+
"message.retry.cancelled": "Повтор запроса модели отменен.",
|
|
7882
|
+
"message.retry.started": "Повторный запрос модели",
|
|
7883
|
+
"message.retry.scheduled": "Ожидание повторного запроса модели",
|
|
7884
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}s",
|
|
7885
|
+
"message.retry.delay": "Задержка повтора: ",
|
|
7886
|
+
"message.retry.failure": "Причина неисправности: ",
|
|
7887
|
+
"message.failure.auth": "Ключ API недействителен.",
|
|
7888
|
+
"message.taskStopped": "Задача остановлена",
|
|
7889
|
+
"message.failure.accountSignedOut": "Остановлено, поскольку вы вышли из DeepSeek.",
|
|
7890
|
+
"message.failure.interrupted": "Процесс DSH завершился до завершения этого хода (например, был завершен, произошел сбой или истекло время ожидания при завершении работы), поэтому ход был закрыт при перезапуске DSH. Незавершенные вызовы инструментов имеют неизвестные результаты.",
|
|
7891
|
+
"message.failure.accountSignInRequired": "Войдите в DeepSeek и убедитесь, что пункт назначения запроса поддерживает аутентификацию учетной записи.",
|
|
7892
|
+
"message.failure.quota": "Квота запросов исчерпана.",
|
|
7893
|
+
"message.turnError": "Этот ход завершился ошибкой",
|
|
7894
|
+
"message.maxTokens": "Достигнут предел выходных токенов",
|
|
7895
|
+
"message.maxTokens.hint": "Ответ был прерван; более ранний вывод сохраняется в разговоре. Отправьте «продолжить», чтобы модель возобновила работу.",
|
|
7896
|
+
"message.tokensPerSecond": "{tps} ток/с",
|
|
7897
|
+
"message.turnUsage.title": "Использование ресурсов за ход",
|
|
7898
|
+
"message.turnUsage.consumed": "Использование {total}",
|
|
7899
|
+
"message.turnUsage.model": "Поставщик/модель",
|
|
7900
|
+
"message.turnUsage.cacheHit": "Попадание в кэш",
|
|
7901
|
+
"message.turnUsage.input": "Некэшированный ввод",
|
|
7902
|
+
"message.turnUsage.cacheRead": "Кэшированный ввод",
|
|
7903
|
+
"message.turnUsage.cacheWrite": "Запись в кэш",
|
|
7904
|
+
"message.turnUsage.output": "Выход",
|
|
7905
|
+
"message.turnUsage.reasoning": " (рассуждение {tokens})",
|
|
7906
|
+
"message.turnUsage.count": "{count} ток",
|
|
7907
|
+
"duration.secondUnit": "с",
|
|
7908
|
+
"duration.minuteUnit": "м ",
|
|
7909
|
+
"duration.hourUnit": "ч ",
|
|
7910
|
+
"command.running": "Бег…",
|
|
7911
|
+
"command.failed": "Команда не выполнена",
|
|
7912
|
+
"command.done": "Завершено",
|
|
7913
|
+
"command.title": "Команда",
|
|
7914
|
+
"row.running": "Бег",
|
|
7915
|
+
"row.failed": "Не удалось",
|
|
7916
|
+
"json.truncated": "… усечено, всего символов {total}",
|
|
7917
|
+
"clock.md": "{m}/{d}",
|
|
7918
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
7919
|
+
};
|
|
7920
|
+
/** Portuguese dictionary, checked against the English keys. */
|
|
7921
|
+
const pt = {
|
|
7922
|
+
"message.stepProcess.thinking": "Analisando a solicitação",
|
|
7923
|
+
"message.stepProcess.read": "Lendo arquivos",
|
|
7924
|
+
"message.stepProcess.readImage": "Lendo imagens",
|
|
7925
|
+
"message.stepProcess.write": "Gravando arquivos",
|
|
7926
|
+
"message.stepProcess.search": "Pesquisando código",
|
|
7927
|
+
"message.stepProcess.edit": "Editando arquivos",
|
|
7928
|
+
"message.stepProcess.commands": "Executando comandos",
|
|
7929
|
+
"message.stepProcess.code": "Executando código",
|
|
7930
|
+
"message.stepProcess.webSearch": "Pesquisando na web",
|
|
7931
|
+
"message.stepProcess.webFetch": "Visitando páginas da web",
|
|
7932
|
+
"message.stepProcess.subagents": "Coordenando subagentes",
|
|
7933
|
+
"message.stepProcess.plan": "Atualizando o plano",
|
|
7934
|
+
"message.stepProcess.questions": "Esperando por sua ação",
|
|
7935
|
+
"message.stepProcess.tools": "Ferramentas de chamada",
|
|
7936
|
+
"message.stepProcess.prepare.read": "Preparando-se para ler arquivos",
|
|
7937
|
+
"message.stepProcess.prepare.readImage": "Preparando-se para ler imagens",
|
|
7938
|
+
"message.stepProcess.prepare.write": "Preparando-se para gravar arquivos",
|
|
7939
|
+
"message.stepProcess.prepare.search": "Preparando-se para pesquisar o código",
|
|
7940
|
+
"message.stepProcess.prepare.edit": "Preparando-se para editar arquivos",
|
|
7941
|
+
"message.stepProcess.prepare.commands": "Preparando para executar comandos",
|
|
7942
|
+
"message.stepProcess.prepare.code": "Preparando-se para executar o código",
|
|
7943
|
+
"message.stepProcess.prepare.webSearch": "Preparando-se para pesquisar na web",
|
|
7944
|
+
"message.stepProcess.prepare.webFetch": "Preparando-se para visitar páginas da web",
|
|
7945
|
+
"message.stepProcess.prepare.subagents": "Preparando-se para coordenar subagentes",
|
|
7946
|
+
"message.stepProcess.prepare.plan": "Preparando-se para atualizar o plano",
|
|
7947
|
+
"message.stepProcess.prepare.questions": "Preparando perguntas",
|
|
7948
|
+
"message.stepProcess.prepare.tools": "Preparando chamadas de ferramenta",
|
|
7949
|
+
"message.stepProcess.done.thinking": "Análise concluída",
|
|
7950
|
+
"message.stepProcess.done.read": "Ler arquivos",
|
|
7951
|
+
"message.stepProcess.done.readImage": "Ler imagens",
|
|
7952
|
+
"message.stepProcess.done.write": "Escreveu arquivos",
|
|
7953
|
+
"message.stepProcess.done.search": "Código pesquisado",
|
|
7954
|
+
"message.stepProcess.done.edit": "Arquivos editados",
|
|
7955
|
+
"message.stepProcess.done.commands": "Comandos executados",
|
|
7956
|
+
"message.stepProcess.done.code": "Código executado",
|
|
7957
|
+
"message.stepProcess.done.webSearch": "Pesquisei na web",
|
|
7958
|
+
"message.stepProcess.done.webFetch": "Páginas da web visitadas",
|
|
7959
|
+
"message.stepProcess.done.subagents": "Subagentes coordenados",
|
|
7960
|
+
"message.stepProcess.done.plan": "Atualizado o plano",
|
|
7961
|
+
"message.stepProcess.done.questions": "Perguntas feitas",
|
|
7962
|
+
"message.stepProcess.done.tools": "Ferramentas chamadas",
|
|
7963
|
+
"message.stepProcess.joinTwo": "{first} e {second}",
|
|
7964
|
+
"message.stepProcess.comma": ", ",
|
|
7965
|
+
"message.stepProcess.sharedPrefix": "",
|
|
7966
|
+
"message.stepProcess.more": "{title}, etc.",
|
|
7967
|
+
"message.trigger.request": "Execução solicitada",
|
|
7968
|
+
"message.trigger.goal": "Objetivo contínuo",
|
|
7969
|
+
"message.trigger.agent": "Mensagem de tarefa recebida",
|
|
7970
|
+
"message.trigger.team": "Mensagem da equipe recebida",
|
|
7971
|
+
"message.trigger.subagent": "Status da subtarefa atualizado",
|
|
7972
|
+
"message.trigger.github": "GitHub evento recebido",
|
|
7973
|
+
"message.trigger.webhook": "Evento externo recebido",
|
|
7974
|
+
"message.trigger.schedule": "Tarefa de automação",
|
|
7975
|
+
"message.trigger.job": "Tarefa em segundo plano atualizada",
|
|
7976
|
+
"message.trigger.plugin": "Status do plug-in atualizado",
|
|
7977
|
+
"message.trigger.explanation": "Esta notificação desencadeou esta resposta.",
|
|
7978
|
+
"message.turnProcess.worked": "Concluído",
|
|
7979
|
+
"message.turnProcess.took": "Concluído em ",
|
|
7980
|
+
"message.turnProcess.failed": "Falha",
|
|
7981
|
+
"view.chat": "Chat",
|
|
7982
|
+
"image.open": "Ver imagem completa",
|
|
7983
|
+
"image.loading": "Carregando imagem…",
|
|
7984
|
+
"image.failed": "Visualização da imagem indisponível",
|
|
7985
|
+
"image.dialog": "Visualização da imagem",
|
|
7986
|
+
"image.close": "Fechar visualização da imagem",
|
|
7987
|
+
"number.groupSeparator": ",",
|
|
7988
|
+
"duration.compactSeconds": "{seconds}s",
|
|
7989
|
+
"duration.compactMinutes": "{minutes}m{seconds}s",
|
|
7990
|
+
"duration.milliseconds": "{milliseconds}ms",
|
|
7991
|
+
"stats.counts": "{turns} turnos, {steps} etapas",
|
|
7992
|
+
"stats.cacheHit": "Acertos no cache: {percent}%",
|
|
7993
|
+
"stats.dialog.title": "Estatísticas da sessão",
|
|
7994
|
+
"stats.dialog.usageTitle": "Uso de token",
|
|
7995
|
+
"stats.dialog.llmTime": "Horário do LLM",
|
|
7996
|
+
"stats.dialog.toolTime": "Tempo da ferramenta",
|
|
7997
|
+
"stats.dialog.ttft": "Tempo médio para o primeiro token (TTFT)",
|
|
7998
|
+
"stats.dialog.speed": "Tokens por segundo (TPS)",
|
|
7999
|
+
"chat.loadingHistory": "Carregando histórico…",
|
|
8000
|
+
"chat.loadError": "Falha ao carregar o histórico: {message} ({code})",
|
|
8001
|
+
"chat.loadOlder": "Carregar mais cedo",
|
|
8002
|
+
"chat.toBottom": "De volta ao fundo",
|
|
8003
|
+
"chat.deepDiving": "Raciocínio profundo",
|
|
8004
|
+
"chat.deepDivingFor": "Raciocínio profundo há {duration} ···",
|
|
8005
|
+
"chat.turnNavigation.label": "Navegação entre turnos",
|
|
8006
|
+
"chat.turnNavigation.jump": "Ir para o turno {turn}",
|
|
8007
|
+
"chat.turnNavigation.jumpLoad": "Carregar e ir para o turno {turn}",
|
|
8008
|
+
"chat.turnNavigation.turn": "Turno {turn}",
|
|
8009
|
+
"settings.performance.title": "Desempenho e uso",
|
|
8010
|
+
"settings.performance.description": "Escolha quantas informações de desempenho e uso serão exibidas",
|
|
8011
|
+
"settings.performance.compact": "Compacto",
|
|
8012
|
+
"settings.performance.detailed": "Detalhado",
|
|
8013
|
+
"settings.links.title": "Abra links de bate-papo em",
|
|
8014
|
+
"settings.links.description": "Escolha onde abrir links da web",
|
|
8015
|
+
"settings.links.sidebar": "Barra lateral no aplicativo",
|
|
8016
|
+
"settings.links.newTab": "Navegador padrão",
|
|
8017
|
+
"settings.transcript.title": "Detalhes do trabalho",
|
|
8018
|
+
"settings.transcript.description": "Escolha quantos detalhes serão exibidos nas chamadas de ferramenta",
|
|
8019
|
+
"settings.collapse.title": "Quando recolher detalhes do trabalho",
|
|
8020
|
+
"settings.collapse.description": "Escolha quando recolher automaticamente os detalhes do trabalho",
|
|
8021
|
+
"settings.collapse.completion": "Na conclusão",
|
|
8022
|
+
"settings.collapse.nextInput": "Na próxima mensagem",
|
|
8023
|
+
"settings.foldedReplies.title": "Respostas após o recolhimento",
|
|
8024
|
+
"settings.foldedReplies.description": "Escolha quais respostas do assistente permanecerão visíveis quando os detalhes do trabalho forem recolhidos",
|
|
8025
|
+
"settings.foldedReplies.all": "Todas as respostas",
|
|
8026
|
+
"settings.foldedReplies.final": "Apenas resposta final",
|
|
8027
|
+
"settings.transcript.compact": "Compacto",
|
|
8028
|
+
"settings.transcript.standard": "Padrão",
|
|
8029
|
+
"settings.transcript.detailed": "Detalhado",
|
|
8030
|
+
"settings.transcript.verbose": "Verboso",
|
|
8031
|
+
"fileOpen.title": "Não foi possível abrir o arquivo",
|
|
8032
|
+
"fileOpen.unknown": "Não foi possível abrir este arquivo",
|
|
8033
|
+
"message.extraBlock": "Bloco de conteúdo extra",
|
|
8034
|
+
"message.systemPrompt": "Alerta do sistema",
|
|
8035
|
+
"message.systemPromptUpdate": "Atualização imediata do sistema",
|
|
8036
|
+
"message.toolAdded": "Ferramenta adicionada: {name}",
|
|
8037
|
+
"message.toolRemoved": "Ferramenta removida: {name}",
|
|
8038
|
+
"message.toolsAdded": "Adicionado: {names}",
|
|
8039
|
+
"message.toolsAddedCount": "{count} adicionado",
|
|
8040
|
+
"message.toolsChanged": "{added} adicionado, {removed} removido",
|
|
8041
|
+
"message.toolsRemoved": "Removido: {names}",
|
|
8042
|
+
"message.toolsRemovedCount": "{count} removido",
|
|
8043
|
+
"message.toolsUpdated": "Ferramentas atualizadas",
|
|
8044
|
+
"message.contextInjection": "Injeção de contexto",
|
|
8045
|
+
"message.contextRecall": "Recuperação de sessão",
|
|
8046
|
+
"message.referenceSummary": "Sessão referenciada · {labels}",
|
|
8047
|
+
"message.referenceSeparator": ", ",
|
|
8048
|
+
"message.context.instructions.loaded": "carregado",
|
|
8049
|
+
"message.context.instructions.added": "adicionado",
|
|
8050
|
+
"message.context.instructions.updated": "atualizado",
|
|
8051
|
+
"message.context.instructions.removed": "removido",
|
|
8052
|
+
"message.context.catalog.replaced": "Catálogo de substituição",
|
|
8053
|
+
"message.context.catalog.more": "… {count} mais",
|
|
8054
|
+
"message.context.snapshot.supersedes": "Substitui instantâneos anteriores",
|
|
8055
|
+
"message.context.relay.from": "Da sessão {session}",
|
|
8056
|
+
"message.context.recall.counts": "{retained} mantido · {omitted} omitido",
|
|
8057
|
+
"message.context.recall.truncated": "truncado",
|
|
8058
|
+
"message.compaction": "Contexto compactado",
|
|
8059
|
+
"message.compaction.running": "Contexto compactado…",
|
|
8060
|
+
"message.compaction.completed": "{items} itens de histórico compactados (~{tokens} tokens)",
|
|
8061
|
+
"message.compaction.expand": "Ver resumo de compactação",
|
|
8062
|
+
"message.compaction.unavailable": "Resumo de compactação indisponível",
|
|
8063
|
+
"message.compaction.commandTitle": "compacto",
|
|
8064
|
+
"message.think": "Pense",
|
|
8065
|
+
"message.unknownSurface": "Evento de superfície desconhecido: {type}",
|
|
8066
|
+
"message.unknownBlock": "Bloco de conteúdo desconhecido",
|
|
8067
|
+
"message.turnProcess.toolCalls.one": "{count} chamada de ferramenta",
|
|
8068
|
+
"message.turnProcess.toolCalls.other": "{count} chamadas de ferramenta",
|
|
8069
|
+
"message.turnProcess.messages.one": "{count} mensagem",
|
|
8070
|
+
"message.turnProcess.messages.other": "{count} mensagens",
|
|
8071
|
+
"message.turnProcess.subagents.one": "{count} subagente",
|
|
8072
|
+
"message.turnProcess.subagents.other": "{count} subagentes",
|
|
8073
|
+
"message.turnProcess.thoughtForAWhile": "Pensou por um tempo",
|
|
8074
|
+
"message.turnProcess.separator": " · ",
|
|
8075
|
+
"message.stopped": "Parado",
|
|
8076
|
+
"message.branch": "Ramifique para uma nova conversa",
|
|
8077
|
+
"message.branchUnavailable": "Disponível apenas na última mensagem de um turno concluído",
|
|
8078
|
+
"message.retry.active": "Tentando novamente a solicitação de modelo",
|
|
8079
|
+
"message.retry.cancelled": "Nova tentativa de solicitação de modelo cancelada",
|
|
8080
|
+
"message.retry.started": "Solicitação de modelo repetida",
|
|
8081
|
+
"message.retry.scheduled": "Aguardando para tentar novamente a solicitação de modelo",
|
|
8082
|
+
"message.retry.status": "{label} ({retry}/{maximum}) · {seconds}s",
|
|
8083
|
+
"message.retry.delay": "Atraso na nova tentativa: ",
|
|
8084
|
+
"message.retry.failure": "Motivo da falha: ",
|
|
8085
|
+
"message.failure.auth": "A chave API é inválida",
|
|
8086
|
+
"message.taskStopped": "Tarefa interrompida",
|
|
8087
|
+
"message.failure.accountSignedOut": "Interrompido porque você saiu de DeepSeek.",
|
|
8088
|
+
"message.failure.interrupted": "O processo DSH foi encerrado antes do término deste turno (por exemplo, ele foi eliminado, travou ou expirou durante o desligamento), portanto, o turno foi encerrado quando DSH foi reiniciado. Chamadas de ferramentas inacabadas têm resultados desconhecidos.",
|
|
8089
|
+
"message.failure.accountSignInRequired": "Faça login em DeepSeek e verifique se o destino da solicitação suporta autenticação de conta.",
|
|
8090
|
+
"message.failure.quota": "Cota de solicitação esgotada.",
|
|
8091
|
+
"message.turnError": "Este turno falhou",
|
|
8092
|
+
"message.maxTokens": "Limite de token de saída atingido",
|
|
8093
|
+
"message.maxTokens.hint": "A resposta foi cortada; a saída anterior é preservada na conversa. Envie \"continuar\" para permitir que o modelo seja retomado.",
|
|
8094
|
+
"message.tokensPerSecond": "{tps} tok/s",
|
|
8095
|
+
"message.turnUsage.title": "Uso do turno",
|
|
8096
|
+
"message.turnUsage.consumed": "Uso {total}",
|
|
8097
|
+
"message.turnUsage.model": "Provedor/modelo",
|
|
8098
|
+
"message.turnUsage.cacheHit": "Acertos no cache",
|
|
8099
|
+
"message.turnUsage.input": "Entrada sem cache",
|
|
8100
|
+
"message.turnUsage.cacheRead": "Entrada em cache",
|
|
8101
|
+
"message.turnUsage.cacheWrite": "Gravação em cache",
|
|
8102
|
+
"message.turnUsage.output": "Saída",
|
|
8103
|
+
"message.turnUsage.reasoning": " ({tokens} raciocínio)",
|
|
8104
|
+
"message.turnUsage.count": "{count} tok",
|
|
8105
|
+
"duration.secondUnit": "s",
|
|
8106
|
+
"duration.minuteUnit": "m ",
|
|
8107
|
+
"duration.hourUnit": "h ",
|
|
8108
|
+
"command.running": "Correndo…",
|
|
8109
|
+
"command.failed": "Falha no comando",
|
|
8110
|
+
"command.done": "Concluído",
|
|
8111
|
+
"command.title": "Comando",
|
|
8112
|
+
"row.running": "Correndo",
|
|
8113
|
+
"row.failed": "Falha",
|
|
8114
|
+
"json.truncated": "… truncado, {total} caracteres no total",
|
|
8115
|
+
"clock.md": "{m}/{d}",
|
|
8116
|
+
"clock.ymd": "{y}-{m}-{d}"
|
|
8117
|
+
};
|
|
6105
8118
|
//#endregion
|
|
6106
8119
|
//#region lib/types/client/reasoning-text.js
|
|
6107
8120
|
/** Display text preparation for model reasoning. */
|
|
@@ -6184,7 +8197,7 @@ window.__ModuleLoader__.load({
|
|
|
6184
8197
|
* @param props.t - conversation locale seat for the disclosure and running status.
|
|
6185
8198
|
* @returns the reasoning disclosure.
|
|
6186
8199
|
*/
|
|
6187
|
-
const ReasoningRow = (0, react.memo)(function ReasoningRow({ text: rawText, running, usePresentation, useDisclosure, renderSlot, t }) {
|
|
8200
|
+
const ReasoningRow = (0, react.memo)(function ReasoningRow({ text: rawText, running, textInteractionSource = false, usePresentation, useDisclosure, renderSlot, t }) {
|
|
6188
8201
|
const { expanded, toggle } = useDisclosure();
|
|
6189
8202
|
const { text, hidden } = (0, react.useMemo)(() => {
|
|
6190
8203
|
const text = reasoningText(rawText);
|
|
@@ -6210,6 +8223,7 @@ window.__ModuleLoader__.load({
|
|
|
6210
8223
|
})] }), [running, summary]);
|
|
6211
8224
|
const content = (0, react.useMemo)(() => expanded ? (0, react_jsx_runtime.jsx)("div", {
|
|
6212
8225
|
className: ReasoningRow_module_css_default.thinkBody,
|
|
8226
|
+
"data-text-interaction-source": textInteractionSource && !running ? "" : void 0,
|
|
6213
8227
|
children: renderSlot("conversation.chat.reasoning.body", {
|
|
6214
8228
|
rawText,
|
|
6215
8229
|
text,
|
|
@@ -6220,7 +8234,8 @@ window.__ModuleLoader__.load({
|
|
|
6220
8234
|
renderSlot,
|
|
6221
8235
|
running,
|
|
6222
8236
|
rawText,
|
|
6223
|
-
text
|
|
8237
|
+
text,
|
|
8238
|
+
textInteractionSource
|
|
6224
8239
|
]);
|
|
6225
8240
|
if (hidden) return null;
|
|
6226
8241
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -6287,7 +8302,7 @@ window.__ModuleLoader__.load({
|
|
|
6287
8302
|
return fileMediaUrl(base, path);
|
|
6288
8303
|
}
|
|
6289
8304
|
/** Renders non-blank reasoning blocks as independent disclosures alongside the response. */
|
|
6290
|
-
const AssistantMarkdown = (0, react.memo)(function AssistantMarkdown({ blocks, streaming, interrupted, loadImage, groupPart, useDisclosure, reasoningHidden = false, usePresentation, revealProcess, mentions, renderSlot, useGroupAction, t }) {
|
|
8305
|
+
const AssistantMarkdown = (0, react.memo)(function AssistantMarkdown({ blocks, streaming, textInteractionSource = false, interrupted, loadImage, groupPart, useDisclosure, reasoningHidden = false, usePresentation, revealProcess, mentions, renderSlot, useGroupAction, t }) {
|
|
6291
8306
|
const labels = (0, react.useMemo)(() => markdownLabels(t), [t]);
|
|
6292
8307
|
const pathImages = (0, react.useMemo)(() => {
|
|
6293
8308
|
return { resolve: (value) => localPathMediaUrl(document.baseURI, value) };
|
|
@@ -6307,7 +8322,8 @@ window.__ModuleLoader__.load({
|
|
|
6307
8322
|
streaming,
|
|
6308
8323
|
labels,
|
|
6309
8324
|
fileMentions: mentions,
|
|
6310
|
-
pathImages
|
|
8325
|
+
pathImages,
|
|
8326
|
+
textInteractionSource
|
|
6311
8327
|
}, i));
|
|
6312
8328
|
break;
|
|
6313
8329
|
case "reasoning":
|
|
@@ -6322,6 +8338,7 @@ window.__ModuleLoader__.load({
|
|
|
6322
8338
|
usePresentation,
|
|
6323
8339
|
useDisclosure,
|
|
6324
8340
|
renderSlot,
|
|
8341
|
+
textInteractionSource,
|
|
6325
8342
|
t
|
|
6326
8343
|
})
|
|
6327
8344
|
}, i));
|
|
@@ -6373,7 +8390,19 @@ window.__ModuleLoader__.load({
|
|
|
6373
8390
|
//#endregion
|
|
6374
8391
|
//#region lib/types/client/chat/AssistantNodeView.js
|
|
6375
8392
|
/** Streaming, settled, and interrupted Assistant states share one keyed renderer instance. */
|
|
6376
|
-
const AssistantNodeView = (0, react.memo)(function AssistantNodeView({ node, groupPart, useDisclosure, useGroupAction, useTurnData, turnProcess, openFile, loadImage, fileMentions, usePresentation, renderSlot, t }) {
|
|
8393
|
+
const AssistantNodeView = (0, react.memo)(function AssistantNodeView({ node, groupPart, useDisclosure, useGroupAction, useTurnData, turnProcess, openFile, loadImage, fileMentions, usePresentation, renderSlot, t, sessionId, useContextMenu, resolveFilePath }) {
|
|
8394
|
+
const { getTriggerProps } = useContextMenu();
|
|
8395
|
+
const getFileTriggerProps = (0, react.useCallback)((path) => getTriggerProps(() => ({
|
|
8396
|
+
kind: "file",
|
|
8397
|
+
value: {
|
|
8398
|
+
sessionId,
|
|
8399
|
+
path: resolveFilePath(path)
|
|
8400
|
+
}
|
|
8401
|
+
})), [
|
|
8402
|
+
getTriggerProps,
|
|
8403
|
+
sessionId,
|
|
8404
|
+
resolveFilePath
|
|
8405
|
+
]);
|
|
6377
8406
|
const data = node.data;
|
|
6378
8407
|
const turn = node.location.kind === "turn" || node.location.kind === "step" ? node.location.turn : void 0;
|
|
6379
8408
|
const tail = useTurnData("turn-tail");
|
|
@@ -6391,8 +8420,13 @@ window.__ModuleLoader__.load({
|
|
|
6391
8420
|
tail,
|
|
6392
8421
|
turn
|
|
6393
8422
|
]);
|
|
6394
|
-
const mentions = (0, react.useMemo)(() => owner === void 0 ? void 0 : fileMentions(owner), [
|
|
6395
|
-
|
|
8423
|
+
const mentions = (0, react.useMemo)(() => owner === void 0 ? void 0 : fileMentions(owner, getFileTriggerProps), [
|
|
8424
|
+
fileMentions,
|
|
8425
|
+
owner,
|
|
8426
|
+
getFileTriggerProps
|
|
8427
|
+
]);
|
|
8428
|
+
const keepReplies = usePresentation((policy) => policy.foldedReplies === "all");
|
|
8429
|
+
const reasoningHidden = turnProcess !== void 0 && turnProcess.foldable && (keepReplies ? groupPart !== "reasoning" : turnProcess.spec.answerStep === data.step && turnProcess.spec.inlineReasoning) && !turnProcess.open;
|
|
6396
8430
|
const revealProcess = (0, react.useCallback)(() => {
|
|
6397
8431
|
turnProcess?.setOpen(true);
|
|
6398
8432
|
}, [turnProcess]);
|
|
@@ -6401,6 +8435,7 @@ window.__ModuleLoader__.load({
|
|
|
6401
8435
|
groupPart,
|
|
6402
8436
|
useDisclosure,
|
|
6403
8437
|
streaming: data.status === "running",
|
|
8438
|
+
textInteractionSource: data.status === "settled" && data.finalNode?.messageId !== void 0,
|
|
6404
8439
|
interrupted: data.status === "interrupted",
|
|
6405
8440
|
loadImage,
|
|
6406
8441
|
reasoningHidden,
|
|
@@ -6631,7 +8666,7 @@ window.__ModuleLoader__.load({
|
|
|
6631
8666
|
});
|
|
6632
8667
|
//#endregion
|
|
6633
8668
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnProcessNodeView.module.css.mjs
|
|
6634
|
-
const css$6 = ".l_V-RG_root{box-sizing:border-box;width:100%;min-width:0;height:calc(33px + var(--dsh-content-font-delta,0px));border:none;border-bottom:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:inherit;font-size:var(--dsh-content-font-size,14px);cursor:pointer;text-align:left;background:0 0;align-items:center;padding:0 0 8px;transition:color .1s;display:flex}.l_V-RG_root:disabled{cursor:default}.l_V-RG_root:hover:not(:disabled){color:var(--dsw-alias-label-secondary)}.l_V-RG_chevron{width:14px;height:14px;color:inherit;flex:none;margin-left:4px;transition:transform .1s}.l_V-RG_root[data-open] .l_V-RG_chevron{transform:rotate(180deg)}.l_V-RG_label{min-width:0;font-size:inherit;line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.l_V-RG_durationNumber{font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.l_V-RG_root,.l_V-RG_chevron{transition:none}}";
|
|
8669
|
+
const css$6 = ".l_V-RG_root{box-sizing:border-box;width:100%;min-width:0;height:calc(33px + var(--dsh-content-font-delta,0px));border:none;border-bottom:.5px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);font:inherit;font-size:var(--dsh-content-font-size,14px);cursor:pointer;text-align:left;background:0 0;align-items:center;padding:0 0 8px;transition:color .1s;display:flex}.l_V-RG_root:disabled{cursor:default}@media (hover:hover){.l_V-RG_root:hover:not(:disabled){color:var(--dsw-alias-label-secondary)}}.l_V-RG_chevron{width:14px;height:14px;color:inherit;flex:none;margin-left:4px;transition:transform .1s}.l_V-RG_root[data-open] .l_V-RG_chevron{transform:rotate(180deg)}.l_V-RG_label{min-width:0;font-size:inherit;line-height:calc(24px + var(--dsh-content-font-delta,0px));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.l_V-RG_durationNumber{font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.l_V-RG_root,.l_V-RG_chevron{transition:none}}";
|
|
6635
8670
|
const tagId$6 = "@deepseek-ai/dsh-client-ui-chat/TurnProcessNodeView.module.css";
|
|
6636
8671
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
6637
8672
|
const tag = document.createElement("style");
|
|
@@ -6828,7 +8863,7 @@ window.__ModuleLoader__.load({
|
|
|
6828
8863
|
}
|
|
6829
8864
|
//#endregion
|
|
6830
8865
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnUsagePanel.module.css.mjs
|
|
6831
|
-
const css$5 = ".Q51KRG_root{min-width:0;display:inline-flex}.Q51KRG_root+.Q51KRG_root{margin-left:-6px}.Q51KRG_trigger{min-width:0;height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);font-variant-numeric:tabular-nums;line-height:calc(24px + var(--dsh-content-font-delta,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:6px 8px;display:inline-flex}.Q51KRG_label{text-overflow:ellipsis;min-width:0;overflow:hidden}.Q51KRG_trigger svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px));flex:none}.Q51KRG_trigger
|
|
8866
|
+
const css$5 = ".Q51KRG_root{min-width:0;display:inline-flex}.Q51KRG_root+.Q51KRG_root{margin-left:-6px}.Q51KRG_trigger{min-width:0;height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);font-variant-numeric:tabular-nums;line-height:calc(24px + var(--dsh-content-font-delta,0px));white-space:nowrap;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:6px 8px;display:inline-flex}.Q51KRG_label{text-overflow:ellipsis;min-width:0;overflow:hidden}.Q51KRG_trigger svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px));flex:none}.Q51KRG_trigger[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary)}@media (hover:hover){.Q51KRG_trigger:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-tertiary)}}@media (width<=480px){.Q51KRG_trigger{width:calc(28px + var(--dsh-content-font-delta,0px));justify-content:center;padding:6px}.Q51KRG_trigger .Q51KRG_label{display:none}.Q51KRG_root+.Q51KRG_root{margin-left:0}}";
|
|
6832
8867
|
const tagId$5 = "@deepseek-ai/dsh-client-ui-chat/TurnUsagePanel.module.css";
|
|
6833
8868
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
6834
8869
|
const tag = document.createElement("style");
|
|
@@ -6844,7 +8879,7 @@ window.__ModuleLoader__.load({
|
|
|
6844
8879
|
};
|
|
6845
8880
|
//#endregion
|
|
6846
8881
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/stat-dialog.module.css.mjs
|
|
6847
|
-
const css$4 = ".bRhRbq_panel{z-index:1100;box-sizing:border-box;
|
|
8882
|
+
const css$4 = ".bRhRbq_panel{z-index:1100;box-sizing:border-box;width:max-content;min-width:min(300px, calc(100vw - 24px), var(--dsh-anchored-max-width,100vw));max-width:min(440px, calc(100vw - 24px), var(--dsh-anchored-max-width,100vw));border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-menu);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);color:var(--dsw-alias-label-secondary);cursor:default;max-height:var(--dsh-anchored-max-height,none);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;padding:16px;font-size:12px;line-height:18px;position:fixed;overflow:hidden auto}.bRhRbq_title{color:var(--dsw-alias-label-primary);justify-content:space-between;gap:16px;margin-bottom:8px;font-weight:500;display:flex}.bRhRbq_titleRule{border-top:.5px solid var(--dsw-alias-border-l2);margin-bottom:10px}.bRhRbq_titleValue{font-variant-numeric:tabular-nums}.bRhRbq_titleLabel{align-items:center;gap:6px;min-width:0;display:inline-flex}.bRhRbq_titleLabel svg{flex:none;width:14px;height:14px}.bRhRbq_details{color:var(--dsw-alias-label-tertiary);grid-template-columns:minmax(76px,auto) minmax(0,1fr);gap:6px 16px;margin:0;display:grid}.bRhRbq_details dt,.bRhRbq_details dd{min-width:0;margin:0}.bRhRbq_details dd{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;text-align:right}.bRhRbq_details .bRhRbq_route{overflow-wrap:anywhere}.bRhRbq_reasoning{color:var(--dsw-alias-label-tertiary);white-space:nowrap}";
|
|
6848
8883
|
const tagId$4 = "@deepseek-ai/dsh-client-ui-chat/stat-dialog.module.css";
|
|
6849
8884
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
6850
8885
|
const tag = document.createElement("style");
|
|
@@ -6953,21 +8988,6 @@ window.__ModuleLoader__.load({
|
|
|
6953
8988
|
return blocks.flatMap((block) => block.kind === "text" ? [block.text] : []).join("");
|
|
6954
8989
|
}
|
|
6955
8990
|
//#endregion
|
|
6956
|
-
//#region lib/types/client/contract/assistant-content.js
|
|
6957
|
-
/**
|
|
6958
|
-
* Test whether Assistant blocks contain a user-facing reply rather than only
|
|
6959
|
-
* reasoning or Tool-call protocol material.
|
|
6960
|
-
* @param blocks - Assistant content blocks.
|
|
6961
|
-
* @returns whether the blocks contain visible reply content.
|
|
6962
|
-
*/
|
|
6963
|
-
function hasAssistantReplyContent(blocks) {
|
|
6964
|
-
return blocks.some((block) => {
|
|
6965
|
-
if (block.kind === "reasoning" || block.kind === "tool-call") return false;
|
|
6966
|
-
if (block.kind === "text") return block.text.trim() !== "";
|
|
6967
|
-
return true;
|
|
6968
|
-
});
|
|
6969
|
-
}
|
|
6970
|
-
//#endregion
|
|
6971
8991
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnTailNodeView.module.css.mjs
|
|
6972
8992
|
const css$3 = ".TS9iAW_root{flex-direction:column;gap:16px;display:flex}.TS9iAW_actions{margin-top:4px;margin-left:-6px}";
|
|
6973
8993
|
const tagId$3 = "@deepseek-ai/dsh-client-ui-chat/TurnTailNodeView.module.css";
|
|
@@ -7103,7 +9123,7 @@ window.__ModuleLoader__.load({
|
|
|
7103
9123
|
}
|
|
7104
9124
|
//#endregion
|
|
7105
9125
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnTriggerNodeView.module.css.mjs
|
|
7106
|
-
const css$2 = ".oz9t_a_root{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-turn-trigger-bg,var(--dsw-alias-markdown-code-block));min-width:0;transition:background-color .1s}.oz9t_a_root:hover{background:var(--dsw-alias-turn-trigger-bg-hover,var(--dsw-alias-interactive-bg-hover))}.oz9t_a_header{width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 16px;transition:color .1s;display:flex}.oz9t_a_header:hover{color:var(--dsw-alias-label-secondary)}.oz9t_a_icon{color:inherit;flex:none;display:inline-flex}.oz9t_a_title{font-size:var(--dsh-content-font-size,14px);flex:none}.oz9t_a_time{color:inherit;font:var(--dsw-font-xxs-12);flex:none;margin-left:auto}.oz9t_a_chevron,.oz9t_a_openChevron{color:inherit;flex:none}.oz9t_a_openChevron{transform:rotate(180deg)}.oz9t_a_body{padding:0 16px 12px 40px}.oz9t_a_explanation{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:8px 0}.oz9t_a_content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font:var(--dsw-font-xxs-12);overflow:auto}@media (prefers-reduced-motion:reduce){.oz9t_a_root,.oz9t_a_header{transition:none}}";
|
|
9126
|
+
const css$2 = ".oz9t_a_root{border:.5px solid var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-turn-trigger-bg,var(--dsw-alias-markdown-code-block));min-width:0;transition:background-color .1s}@media (hover:hover){.oz9t_a_root:hover{background:var(--dsw-alias-turn-trigger-bg-hover,var(--dsw-alias-interactive-bg-hover))}}.oz9t_a_header{width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 16px;transition:color .1s;display:flex}@media (hover:hover){.oz9t_a_header:hover{color:var(--dsw-alias-label-secondary)}}.oz9t_a_icon{color:inherit;flex:none;display:inline-flex}.oz9t_a_title{font-size:var(--dsh-content-font-size,14px);flex:none}.oz9t_a_time{color:inherit;font:var(--dsw-font-xxs-12);flex:none;margin-left:auto}.oz9t_a_chevron,.oz9t_a_openChevron{color:inherit;flex:none}.oz9t_a_openChevron{transform:rotate(180deg)}.oz9t_a_body{padding:0 16px 12px 40px}.oz9t_a_explanation{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);margin:8px 0}.oz9t_a_content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;font:var(--dsw-font-xxs-12);overflow:auto}@media (prefers-reduced-motion:reduce){.oz9t_a_root,.oz9t_a_header{transition:none}}";
|
|
7107
9127
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-chat/TurnTriggerNodeView.module.css";
|
|
7108
9128
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
7109
9129
|
const tag = document.createElement("style");
|
|
@@ -7218,12 +9238,17 @@ window.__ModuleLoader__.load({
|
|
|
7218
9238
|
ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
|
|
7219
9239
|
name: "conversation.chat.node",
|
|
7220
9240
|
key: "user",
|
|
7221
|
-
locale: NS
|
|
9241
|
+
locale: NS,
|
|
9242
|
+
children: { "conversation.chat.user.before": {
|
|
9243
|
+
kind: "chain",
|
|
9244
|
+
scope: "session"
|
|
9245
|
+
} }
|
|
7222
9246
|
}, UserMessageNodeView));
|
|
7223
9247
|
ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
|
|
7224
9248
|
name: "conversation.chat.node",
|
|
7225
9249
|
key: "steering",
|
|
7226
|
-
locale: NS
|
|
9250
|
+
locale: NS,
|
|
9251
|
+
inject: () => ({ renderSlotChain: () => null })
|
|
7227
9252
|
}, UserMessageNodeView));
|
|
7228
9253
|
ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
|
|
7229
9254
|
name: "conversation.chat.node",
|
|
@@ -7254,7 +9279,11 @@ window.__ModuleLoader__.load({
|
|
|
7254
9279
|
scope: "session"
|
|
7255
9280
|
}
|
|
7256
9281
|
},
|
|
7257
|
-
inject: () => ({
|
|
9282
|
+
inject: (sessionId) => ({
|
|
9283
|
+
hooks: { presentation },
|
|
9284
|
+
resolveFilePath: sessionFilePath(ctx, sessionId),
|
|
9285
|
+
fileMentions: (owner, getFileTriggerProps) => ctx.get("chatFileMentions")?.forClosing(owner, sessionId, getFileTriggerProps)
|
|
9286
|
+
})
|
|
7258
9287
|
}, AssistantNodeView));
|
|
7259
9288
|
ctx.slots.inject("conversation.chat.node", () => ctx.slots.register({
|
|
7260
9289
|
name: "conversation.chat.node",
|
|
@@ -7361,8 +9390,9 @@ window.__ModuleLoader__.load({
|
|
|
7361
9390
|
})]
|
|
7362
9391
|
}, `file:${index}`))
|
|
7363
9392
|
}),
|
|
7364
|
-
showBubble && (0, react_jsx_runtime.jsxs)(
|
|
7365
|
-
|
|
9393
|
+
showBubble && (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.UserMessageBubble, {
|
|
9394
|
+
"data-message-bubble": "",
|
|
9395
|
+
"data-text-interaction-source": "",
|
|
7366
9396
|
children: [renderFactorySlot("conversation.user.text", {
|
|
7367
9397
|
text,
|
|
7368
9398
|
facts,
|
|
@@ -7403,7 +9433,7 @@ window.__ModuleLoader__.load({
|
|
|
7403
9433
|
}
|
|
7404
9434
|
//#endregion
|
|
7405
9435
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/StatsPills.module.css.mjs
|
|
7406
|
-
const css$1 = ".bOPqQW_anchor{min-width:0;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));display:inline-flex}.bOPqQW_pill{box-sizing:border-box;border-radius:var(--dsw-radius-sm);max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.bOPqQW_pill svg{flex:none;width:14px;height:14px}button.bOPqQW_pill{cursor:pointer}button.bOPqQW_pill
|
|
9436
|
+
const css$1 = ".bOPqQW_anchor{min-width:0;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));display:inline-flex}.bOPqQW_pill{box-sizing:border-box;border-radius:var(--dsw-radius-sm);max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-variant-numeric:tabular-nums;line-height:inherit;white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex}.bOPqQW_pill svg{flex:none;width:14px;height:14px}button.bOPqQW_pill{cursor:pointer}button.bOPqQW_pill[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}@media (hover:hover){button.bOPqQW_pill:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}}.bOPqQW_label{text-overflow:ellipsis;min-width:0;overflow:hidden}.bOPqQW_sep{color:var(--dsw-alias-separator-primary);margin:0 6px}";
|
|
7407
9437
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-chat/StatsPills.module.css";
|
|
7408
9438
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
7409
9439
|
const tag = document.createElement("style");
|
|
@@ -7507,17 +9537,24 @@ window.__ModuleLoader__.load({
|
|
|
7507
9537
|
function exactCount(value, t) {
|
|
7508
9538
|
return t("message.turnUsage.count", { count: formatExactTokens(value, t) });
|
|
7509
9539
|
}
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
first,
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
9540
|
+
/** One or two reading segments, visually joined by a separator glyph. */
|
|
9541
|
+
function reading(first, second) {
|
|
9542
|
+
if (second === null) return {
|
|
9543
|
+
label: first,
|
|
9544
|
+
text: first
|
|
9545
|
+
};
|
|
9546
|
+
return {
|
|
9547
|
+
label: (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
9548
|
+
first,
|
|
9549
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
9550
|
+
className: StatsPills_module_css_default.sep,
|
|
9551
|
+
"aria-hidden": true,
|
|
9552
|
+
children: "·"
|
|
9553
|
+
}),
|
|
9554
|
+
second
|
|
9555
|
+
] }),
|
|
9556
|
+
text: `${first} · ${second}`
|
|
9557
|
+
};
|
|
7521
9558
|
}
|
|
7522
9559
|
function useSessionStats(useChat, useProjection) {
|
|
7523
9560
|
const settledNodes = useChat((s) => s.legacy.nodes);
|
|
@@ -7527,17 +9564,29 @@ window.__ModuleLoader__.load({
|
|
|
7527
9564
|
function decodeSpeed(stats, t) {
|
|
7528
9565
|
return t("message.tokensPerSecond", { tps: formatTokensPerSecond(stats.decodeTokens / (stats.decodeMs / 1e3)) });
|
|
7529
9566
|
}
|
|
9567
|
+
/** The full reading above a pill, only while an ellipsis cuts its label; the delay matches the dock's context meter. */
|
|
9568
|
+
const FULL_READING_TOOLTIP = {
|
|
9569
|
+
side: "top",
|
|
9570
|
+
portal: true,
|
|
9571
|
+
delayMs: 200,
|
|
9572
|
+
onlyWhenClipped: true
|
|
9573
|
+
};
|
|
7530
9574
|
/** A static reading: used when the pill has no dialog rows or the mode is Compact. */
|
|
7531
|
-
function PlainPill({ stat, icon, label }) {
|
|
9575
|
+
function PlainPill({ stat, icon, label, text }) {
|
|
7532
9576
|
return (0, react_jsx_runtime.jsx)("span", {
|
|
7533
9577
|
className: StatsPills_module_css_default.anchor,
|
|
7534
9578
|
"data-composer-stat": stat,
|
|
7535
|
-
children: (0, react_jsx_runtime.
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
9579
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
9580
|
+
label: text,
|
|
9581
|
+
...FULL_READING_TOOLTIP,
|
|
9582
|
+
openOnClick: true,
|
|
9583
|
+
children: (0, react_jsx_runtime.jsxs)("span", {
|
|
9584
|
+
className: StatsPills_module_css_default.pill,
|
|
9585
|
+
children: [icon, (0, react_jsx_runtime.jsx)("span", {
|
|
9586
|
+
className: StatsPills_module_css_default.label,
|
|
9587
|
+
children: label
|
|
9588
|
+
})]
|
|
9589
|
+
})
|
|
7541
9590
|
})
|
|
7542
9591
|
});
|
|
7543
9592
|
}
|
|
@@ -7546,25 +9595,30 @@ window.__ModuleLoader__.load({
|
|
|
7546
9595
|
* state; useStatDialog closes it on Escape or an outside pointerdown or click,
|
|
7547
9596
|
* so at most one dialog is open across the dock.
|
|
7548
9597
|
*/
|
|
7549
|
-
function DialogPill({ stat, icon, label,
|
|
9598
|
+
function DialogPill({ stat, icon, label, text, title, titleValue, children }) {
|
|
7550
9599
|
const { open, setOpen, rootRef, panelRef, pos } = useStatDialog();
|
|
7551
9600
|
return (0, react_jsx_runtime.jsxs)("span", {
|
|
7552
9601
|
ref: rootRef,
|
|
7553
9602
|
className: StatsPills_module_css_default.anchor,
|
|
7554
9603
|
"data-composer-stat": stat,
|
|
7555
|
-
children: [(0, react_jsx_runtime.
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
"
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
9604
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
9605
|
+
label: text,
|
|
9606
|
+
...FULL_READING_TOOLTIP,
|
|
9607
|
+
disabled: open,
|
|
9608
|
+
children: (0, react_jsx_runtime.jsxs)("button", {
|
|
9609
|
+
type: "button",
|
|
9610
|
+
className: StatsPills_module_css_default.pill,
|
|
9611
|
+
"aria-haspopup": "dialog",
|
|
9612
|
+
"aria-expanded": open,
|
|
9613
|
+
"aria-label": text,
|
|
9614
|
+
onClick: () => {
|
|
9615
|
+
setOpen(!open);
|
|
9616
|
+
},
|
|
9617
|
+
children: [icon, (0, react_jsx_runtime.jsx)("span", {
|
|
9618
|
+
className: StatsPills_module_css_default.label,
|
|
9619
|
+
children: label
|
|
9620
|
+
})]
|
|
9621
|
+
})
|
|
7568
9622
|
}), open && (0, react_dom.createPortal)((0, react_jsx_runtime.jsxs)("div", {
|
|
7569
9623
|
ref: panelRef,
|
|
7570
9624
|
className: stat_dialog_module_css_default.panel,
|
|
@@ -7603,7 +9657,7 @@ window.__ModuleLoader__.load({
|
|
|
7603
9657
|
if (mode === "compact") return speed === null ? null : (0, react_jsx_runtime.jsx)(PlainPill, {
|
|
7604
9658
|
stat: "activity",
|
|
7605
9659
|
icon,
|
|
7606
|
-
|
|
9660
|
+
...reading(speed, null)
|
|
7607
9661
|
});
|
|
7608
9662
|
if (stats.steps === 0) return null;
|
|
7609
9663
|
const counts = t("stats.counts", {
|
|
@@ -7613,13 +9667,13 @@ window.__ModuleLoader__.load({
|
|
|
7613
9667
|
const content = {
|
|
7614
9668
|
stat: "activity",
|
|
7615
9669
|
icon,
|
|
7616
|
-
|
|
9670
|
+
...reading(counts, speed)
|
|
7617
9671
|
};
|
|
7618
9672
|
if (stats.llmMs <= 0 && stats.toolMs <= 0 && stats.ttftSteps <= 0 && speed === null) return (0, react_jsx_runtime.jsx)(PlainPill, { ...content });
|
|
7619
9673
|
return (0, react_jsx_runtime.jsx)(DialogPill, {
|
|
7620
9674
|
...content,
|
|
7621
|
-
ariaLabel: speed === null ? counts : `${counts} · ${speed}`,
|
|
7622
9675
|
title: t("stats.dialog.title"),
|
|
9676
|
+
titleValue: counts,
|
|
7623
9677
|
children: (0, react_jsx_runtime.jsxs)("dl", {
|
|
7624
9678
|
className: stat_dialog_module_css_default.details,
|
|
7625
9679
|
"data-session-stats-details": true,
|
|
@@ -7643,15 +9697,13 @@ window.__ModuleLoader__.load({
|
|
|
7643
9697
|
if (mode === "compact") return cacheHitText === null ? null : (0, react_jsx_runtime.jsx)(PlainPill, {
|
|
7644
9698
|
stat: "usage",
|
|
7645
9699
|
icon,
|
|
7646
|
-
|
|
9700
|
+
...reading(cacheHitText, null)
|
|
7647
9701
|
});
|
|
7648
9702
|
const total = billedInputTokens(usage) + usage.outputTokens;
|
|
7649
|
-
const totalText = t("message.turnUsage.count", { count: formatTokens(total, t) });
|
|
7650
9703
|
return (0, react_jsx_runtime.jsx)(DialogPill, {
|
|
7651
9704
|
stat: "usage",
|
|
7652
9705
|
icon,
|
|
7653
|
-
|
|
7654
|
-
ariaLabel: cacheHitText === null ? totalText : `${totalText} · ${cacheHitText}`,
|
|
9706
|
+
...reading(t("message.turnUsage.count", { count: formatTokens(total, t) }), cacheHitText),
|
|
7655
9707
|
title: t("stats.dialog.usageTitle"),
|
|
7656
9708
|
titleValue: exactCount(total, t),
|
|
7657
9709
|
children: (0, react_jsx_runtime.jsxs)("dl", {
|
|
@@ -7926,6 +9978,7 @@ window.__ModuleLoader__.load({
|
|
|
7926
9978
|
turn,
|
|
7927
9979
|
step,
|
|
7928
9980
|
blocks: [],
|
|
9981
|
+
visibleByIndex: [],
|
|
7929
9982
|
visibleBlocks: 0,
|
|
7930
9983
|
firstVisibleSeq: void 0,
|
|
7931
9984
|
firstVisibleTime: void 0,
|
|
@@ -7942,11 +9995,6 @@ window.__ModuleLoader__.load({
|
|
|
7942
9995
|
if (block.kind === "text" || block.kind === "reasoning") return block.text.trim() !== "";
|
|
7943
9996
|
return true;
|
|
7944
9997
|
}
|
|
7945
|
-
function countVisibleBlocks(blocks) {
|
|
7946
|
-
let count = 0;
|
|
7947
|
-
for (const block of blocks) if (blockIsVisible(block)) count++;
|
|
7948
|
-
return count;
|
|
7949
|
-
}
|
|
7950
9998
|
function hasVisibleContent(blocks) {
|
|
7951
9999
|
return blocks.some(blockIsVisible);
|
|
7952
10000
|
}
|
|
@@ -7970,36 +10018,40 @@ window.__ModuleLoader__.load({
|
|
|
7970
10018
|
const blocks = [...state.blocks];
|
|
7971
10019
|
let changedIndex = -1;
|
|
7972
10020
|
let previousVisible = false;
|
|
10021
|
+
let nextVisible = false;
|
|
7973
10022
|
switch (chunk.type) {
|
|
7974
10023
|
case "block-start":
|
|
7975
10024
|
changedIndex = chunk.index;
|
|
7976
|
-
previousVisible =
|
|
10025
|
+
previousVisible = state.visibleByIndex[chunk.index] === true;
|
|
7977
10026
|
blocks[chunk.index] = emptyAssistantBlock(chunk.blockType);
|
|
10027
|
+
nextVisible = blockIsVisible(blocks[chunk.index]);
|
|
7978
10028
|
break;
|
|
7979
10029
|
case "text-delta": {
|
|
7980
10030
|
const previous = blocks[chunk.index];
|
|
7981
10031
|
changedIndex = chunk.index;
|
|
7982
|
-
previousVisible =
|
|
10032
|
+
previousVisible = state.visibleByIndex[chunk.index] === true;
|
|
7983
10033
|
blocks[chunk.index] = {
|
|
7984
10034
|
kind: "text",
|
|
7985
10035
|
text: (previous?.kind === "text" ? previous.text : "") + chunk.text
|
|
7986
10036
|
};
|
|
10037
|
+
nextVisible = previous?.kind === "text" && previousVisible || chunk.text.trim() !== "";
|
|
7987
10038
|
break;
|
|
7988
10039
|
}
|
|
7989
10040
|
case "reasoning-delta": {
|
|
7990
10041
|
const previous = blocks[chunk.index];
|
|
7991
10042
|
changedIndex = chunk.index;
|
|
7992
|
-
previousVisible =
|
|
10043
|
+
previousVisible = state.visibleByIndex[chunk.index] === true;
|
|
7993
10044
|
blocks[chunk.index] = {
|
|
7994
10045
|
kind: "reasoning",
|
|
7995
10046
|
text: (previous?.kind === "reasoning" ? previous.text : "") + chunk.text
|
|
7996
10047
|
};
|
|
10048
|
+
nextVisible = previous?.kind === "reasoning" && previousVisible || chunk.text.trim() !== "";
|
|
7997
10049
|
break;
|
|
7998
10050
|
}
|
|
7999
10051
|
case "tool-call-delta": {
|
|
8000
10052
|
const previous = blocks[chunk.index];
|
|
8001
10053
|
changedIndex = chunk.index;
|
|
8002
|
-
previousVisible =
|
|
10054
|
+
previousVisible = state.visibleByIndex[chunk.index] === true;
|
|
8003
10055
|
blocks[chunk.index] = {
|
|
8004
10056
|
kind: "tool-call",
|
|
8005
10057
|
callId: (previous?.kind === "tool-call" ? previous.callId : "") || String(chunk.id),
|
|
@@ -8010,8 +10062,9 @@ window.__ModuleLoader__.load({
|
|
|
8010
10062
|
}
|
|
8011
10063
|
case "block-end":
|
|
8012
10064
|
changedIndex = chunk.index;
|
|
8013
|
-
previousVisible =
|
|
10065
|
+
previousVisible = state.visibleByIndex[chunk.index] === true;
|
|
8014
10066
|
blocks[chunk.index] = toAssistantBlock(chunk.block);
|
|
10067
|
+
nextVisible = blockIsVisible(blocks[chunk.index]);
|
|
8015
10068
|
break;
|
|
8016
10069
|
case "usage": return {
|
|
8017
10070
|
...state,
|
|
@@ -8019,11 +10072,18 @@ window.__ModuleLoader__.load({
|
|
|
8019
10072
|
};
|
|
8020
10073
|
default: return state;
|
|
8021
10074
|
}
|
|
8022
|
-
const visibleBlocks = state.visibleBlocks - Number(previousVisible) + Number(
|
|
10075
|
+
const visibleBlocks = state.visibleBlocks - Number(previousVisible) + Number(nextVisible);
|
|
10076
|
+
let visibleByIndex = state.visibleByIndex;
|
|
10077
|
+
if (previousVisible !== nextVisible) {
|
|
10078
|
+
const next = [...visibleByIndex];
|
|
10079
|
+
next[changedIndex] = nextVisible;
|
|
10080
|
+
visibleByIndex = next;
|
|
10081
|
+
}
|
|
8023
10082
|
const firstToken = isTokenDelta(chunk);
|
|
8024
10083
|
return {
|
|
8025
10084
|
...state,
|
|
8026
10085
|
blocks,
|
|
10086
|
+
visibleByIndex,
|
|
8027
10087
|
visibleBlocks,
|
|
8028
10088
|
...visibleBlocks > 0 && state.firstVisibleSeq === void 0 ? {
|
|
8029
10089
|
firstVisibleSeq: seq,
|
|
@@ -8034,10 +10094,12 @@ window.__ModuleLoader__.load({
|
|
|
8034
10094
|
}
|
|
8035
10095
|
function settleMessage(state, match, event) {
|
|
8036
10096
|
const blocks = toAssistantBlocks(event.data.message.content);
|
|
10097
|
+
const visibleByIndex = blocks.map(blockIsVisible);
|
|
8037
10098
|
return {
|
|
8038
10099
|
...state,
|
|
8039
10100
|
blocks,
|
|
8040
|
-
|
|
10101
|
+
visibleByIndex,
|
|
10102
|
+
visibleBlocks: visibleByIndex.reduce((count, visible) => count + Number(visible), 0),
|
|
8041
10103
|
final: match,
|
|
8042
10104
|
usage: event.data.usage
|
|
8043
10105
|
};
|
|
@@ -8390,7 +10452,7 @@ window.__ModuleLoader__.load({
|
|
|
8390
10452
|
return location?.kind === "turn" || location?.kind === "step" ? location.turn.turn : void 0;
|
|
8391
10453
|
}
|
|
8392
10454
|
function samePresentation(left, right) {
|
|
8393
|
-
return left === right || left !== void 0 && right !== void 0 && left.spec === right.spec && left.turn === right.turn && left.turnStarted === right.turnStarted && left.turnClosed === right.turnClosed && left.hasExternalProcess === right.hasExternalProcess && left.
|
|
10455
|
+
return left === right || left !== void 0 && right !== void 0 && left.spec === right.spec && left.turn === right.turn && left.turnStarted === right.turnStarted && left.turnClosed === right.turnClosed && left.hasExternalProcess === right.hasExternalProcess && left.hasNonReplyProcess === right.hasNonReplyProcess && left.hasInterleavedInput === right.hasInterleavedInput;
|
|
8394
10456
|
}
|
|
8395
10457
|
function derivePresentation(turn, locations, nodes) {
|
|
8396
10458
|
const keys = locations.getTurn(turn);
|
|
@@ -8405,17 +10467,17 @@ window.__ModuleLoader__.load({
|
|
|
8405
10467
|
if (node !== void 0 && isAtOrOutside(node, "input") && (spec.controlAnchorSeq === location.turn.start?.seq || node.anchorSeq < spec.controlAnchorSeq)) openingHumanAnchor = Math.max(openingHumanAnchor ?? node.anchorSeq, node.anchorSeq);
|
|
8406
10468
|
}
|
|
8407
10469
|
let hasExternalProcess = false;
|
|
10470
|
+
let hasNonReplyProcess = false;
|
|
8408
10471
|
let hasInterleavedInput = false;
|
|
8409
|
-
let compactAnswer = true;
|
|
8410
10472
|
for (const key of keys) {
|
|
8411
10473
|
const node = nodes.get(key);
|
|
8412
10474
|
if (node === void 0 || !isVisibleChatNode(node) || node.kind === "turn-process") continue;
|
|
8413
|
-
if (isAtOrOutside(node, "input") && (openingHumanAnchor === void 0 || node.anchorSeq > openingHumanAnchor))
|
|
8414
|
-
hasInterleavedInput = true;
|
|
8415
|
-
if (spec.answerAnchorSeq === null || node.anchorSeq < spec.answerAnchorSeq) compactAnswer = false;
|
|
8416
|
-
}
|
|
10475
|
+
if (isAtOrOutside(node, "input") && (openingHumanAnchor === void 0 || node.anchorSeq > openingHumanAnchor)) hasInterleavedInput = true;
|
|
8417
10476
|
if (isAtOrOutside(node, "turn") || node.anchorSeq < spec.processStartSeq || spec.answerAnchorSeq !== null && node.anchorSeq >= spec.answerAnchorSeq) continue;
|
|
8418
|
-
if (node.kind !== "assistant-step" || spec.answerStep === null || node.data.step !== spec.answerStep)
|
|
10477
|
+
if (node.kind !== "assistant-step" || spec.answerStep === null || node.data.step !== spec.answerStep) {
|
|
10478
|
+
hasExternalProcess = true;
|
|
10479
|
+
if (node.kind !== "assistant-step" || node.data.blocks.some((block) => block.kind === "reasoning" && block.text.trim() !== "")) hasNonReplyProcess = true;
|
|
10480
|
+
}
|
|
8419
10481
|
}
|
|
8420
10482
|
return {
|
|
8421
10483
|
turn,
|
|
@@ -8423,8 +10485,8 @@ window.__ModuleLoader__.load({
|
|
|
8423
10485
|
turnStarted: location.turn.start !== void 0,
|
|
8424
10486
|
turnClosed: location.turn.status === "closed",
|
|
8425
10487
|
hasExternalProcess,
|
|
8426
|
-
|
|
8427
|
-
|
|
10488
|
+
hasNonReplyProcess,
|
|
10489
|
+
hasInterleavedInput
|
|
8428
10490
|
};
|
|
8429
10491
|
}
|
|
8430
10492
|
/** Mutable projection of cross-Node process layout facts by Turn. */
|
|
@@ -9810,7 +11872,7 @@ window.__ModuleLoader__.load({
|
|
|
9810
11872
|
},
|
|
9811
11873
|
currentClaimed: new Set(removed.map((message) => message.id)),
|
|
9812
11874
|
claimSeq: seq,
|
|
9813
|
-
|
|
11875
|
+
firstClaimedHuman: removed.find((message) => message.source.kind === "user")?.id
|
|
9814
11876
|
};
|
|
9815
11877
|
}
|
|
9816
11878
|
const currentClaimed = withoutInserted(previous?.state.currentClaimed ?? EMPTY_CURRENT_CLAIMED, inserted);
|
|
@@ -9824,7 +11886,7 @@ window.__ModuleLoader__.load({
|
|
|
9824
11886
|
},
|
|
9825
11887
|
currentClaimed,
|
|
9826
11888
|
claimSeq: previous?.state.claimSeq ?? -1,
|
|
9827
|
-
|
|
11889
|
+
firstClaimedHuman: previous?.state.firstClaimedHuman
|
|
9828
11890
|
};
|
|
9829
11891
|
}
|
|
9830
11892
|
function inboxDefinition(target) {
|
|
@@ -9873,6 +11935,18 @@ window.__ModuleLoader__.load({
|
|
|
9873
11935
|
form: contextForm(message.source)
|
|
9874
11936
|
};
|
|
9875
11937
|
}
|
|
11938
|
+
/**
|
|
11939
|
+
* Decide whether an input follows its Turn's process control in Chat order. The control anchors at the
|
|
11940
|
+
* Turn's first process evidence, so the input follows it exactly when its Turn recorded evidence earlier;
|
|
11941
|
+
* the nearest earlier evidence record then belongs to the input's own Turn.
|
|
11942
|
+
* @param location - the input's Location.
|
|
11943
|
+
* @param reader - strictly-backward Context lookup of the input's start.
|
|
11944
|
+
* @returns whether Chat orders the input after the control.
|
|
11945
|
+
*/
|
|
11946
|
+
function followsProcessEvidence(location, reader) {
|
|
11947
|
+
if (location.kind !== "turn" && location.kind !== "step") return false;
|
|
11948
|
+
return reader.previous("process-evidence")?.state.turn === location.turn.turn;
|
|
11949
|
+
}
|
|
9876
11950
|
/** User, steering, and injected-context message classification Definition. */
|
|
9877
11951
|
const messageDefinition = {
|
|
9878
11952
|
kind: "input-message",
|
|
@@ -9892,21 +11966,25 @@ window.__ModuleLoader__.load({
|
|
|
9892
11966
|
const nextStep = reader.previous("inbox-next-step")?.state;
|
|
9893
11967
|
const location = match.location;
|
|
9894
11968
|
const turnStart = location.kind === "step" ? location.turn.start?.seq : void 0;
|
|
9895
|
-
const idleSteer = location.kind === "step" && location.step.step === 1 && turnStart !== void 0 && (nextStep?.claimSeq ?? -1) > turnStart && (nextTurn?.claimSeq ?? -1) < turnStart && nextStep
|
|
11969
|
+
const idleSteer = location.kind === "step" && location.step.step === 1 && turnStart !== void 0 && (nextStep?.claimSeq ?? -1) > turnStart && (nextTurn?.claimSeq ?? -1) < turnStart && nextStep !== void 0 && nextStep.firstClaimedHuman === void 0 && nextStep.currentClaimed.has(String(event.data.id));
|
|
9896
11970
|
return {
|
|
9897
11971
|
...contextMessage(event, event.data),
|
|
9898
11972
|
waking: nextTurn?.currentClaimed.has(String(event.data.id)) === true || idleSteer
|
|
9899
11973
|
};
|
|
9900
11974
|
}
|
|
9901
|
-
|
|
11975
|
+
const id = String(event.data.id);
|
|
11976
|
+
const claim = reader.previous("inbox-next-step")?.state;
|
|
11977
|
+
return claim?.currentClaimed.has(id) === true ? {
|
|
9902
11978
|
kind: "steering",
|
|
9903
11979
|
messageId: event.data.id,
|
|
9904
11980
|
seq: event.seq,
|
|
9905
11981
|
time: event.time,
|
|
9906
11982
|
content: event.data.content,
|
|
9907
|
-
source: event.data.source
|
|
11983
|
+
source: event.data.source,
|
|
11984
|
+
...claim.firstClaimedHuman === id && followsProcessEvidence(match.location, reader) ? { batchStart: true } : {}
|
|
9908
11985
|
} : {
|
|
9909
11986
|
kind: "user",
|
|
11987
|
+
messageId: event.data.id,
|
|
9910
11988
|
seq: event.seq,
|
|
9911
11989
|
time: event.time,
|
|
9912
11990
|
content: event.data.content,
|
|
@@ -9970,6 +12048,8 @@ window.__ModuleLoader__.load({
|
|
|
9970
12048
|
* their step's input; in-history updates stay at their own positions. The
|
|
9971
12049
|
* request-prompt Definition owns replacement and later-series cards. Positional
|
|
9972
12050
|
* replacements advance the effective prompt without changing historical cards.
|
|
12051
|
+
* A published node becomes `hidden` under the same key while a prepended replacement
|
|
12052
|
+
* leaves its prompt order unknown, and `visible` again once older history resolves it.
|
|
9973
12053
|
* @param inspect - Pure surface interpretation supplied by uiConversation.
|
|
9974
12054
|
* @returns The Chat system-prompt Definition.
|
|
9975
12055
|
*/
|
|
@@ -9988,7 +12068,11 @@ window.__ModuleLoader__.load({
|
|
|
9988
12068
|
update: (context) => context.state,
|
|
9989
12069
|
buildViewNode: (context) => {
|
|
9990
12070
|
const state = context.state?.introduced;
|
|
9991
|
-
if (state === void 0 || state.text === "" || context.start?.event.type !== "system/message" || context.start.event.surfaceOp !== "append")
|
|
12071
|
+
if (state === void 0 || state.text === "" || context.start?.event.type !== "system/message" || context.start.event.surfaceOp !== "append") {
|
|
12072
|
+
const current = context.current.get("chat");
|
|
12073
|
+
if (current?.kind !== "system-prompt") return null;
|
|
12074
|
+
return chatNode(context, "system-prompt", current.anchorSeq, current.data, { visibility: "hidden" });
|
|
12075
|
+
}
|
|
9992
12076
|
return chatNode(context, "system-prompt", state.update ? state.seq : requestPromptAnchor(context.start, void 0, true), {
|
|
9993
12077
|
text: state.text,
|
|
9994
12078
|
...state.update ? { update: true } : {}
|
|
@@ -10696,6 +12780,43 @@ window.__ModuleLoader__.load({
|
|
|
10696
12780
|
seq: event.seq
|
|
10697
12781
|
};
|
|
10698
12782
|
}
|
|
12783
|
+
function durableEvidenceStep(event) {
|
|
12784
|
+
if (processEvidence(event) === void 0) return void 0;
|
|
12785
|
+
switch (event.type) {
|
|
12786
|
+
case "assistant/message":
|
|
12787
|
+
case "tool/call":
|
|
12788
|
+
case "tool/result":
|
|
12789
|
+
case "llm/retry": return {
|
|
12790
|
+
turn: event.data.turn,
|
|
12791
|
+
step: event.data.step
|
|
12792
|
+
};
|
|
12793
|
+
default: return;
|
|
12794
|
+
}
|
|
12795
|
+
}
|
|
12796
|
+
/**
|
|
12797
|
+
* State-only record of each Step whose durable events include process evidence, keyed by Turn and Step.
|
|
12798
|
+
* An input follows its Turn's process control exactly when its Turn recorded evidence before it, so an
|
|
12799
|
+
* input reads the nearest earlier record through `reader.previous`. A Step's evidence is logged before
|
|
12800
|
+
* a later Step admits input, so the record a later input reads no longer changes; transient live chunks
|
|
12801
|
+
* are not needed because a Step's durable settlement precedes the next Step's input.
|
|
12802
|
+
*/
|
|
12803
|
+
const processEvidenceDefinition = {
|
|
12804
|
+
kind: "process-evidence",
|
|
12805
|
+
match: (event) => {
|
|
12806
|
+
const coordinates = durableEvidenceStep(event);
|
|
12807
|
+
return coordinates === void 0 ? null : {
|
|
12808
|
+
id: `${coordinates.turn}:${coordinates.step}`,
|
|
12809
|
+
role: "start"
|
|
12810
|
+
};
|
|
12811
|
+
},
|
|
12812
|
+
start: (_context, match) => {
|
|
12813
|
+
const coordinates = durableEvidenceStep(match.event);
|
|
12814
|
+
if (coordinates === void 0) throw new Error("process-evidence start requires durable process evidence");
|
|
12815
|
+
return { turn: coordinates.turn };
|
|
12816
|
+
},
|
|
12817
|
+
update: (context) => context.state,
|
|
12818
|
+
publication: () => "none"
|
|
12819
|
+
};
|
|
10699
12820
|
function turnLocation$1(context) {
|
|
10700
12821
|
const location = context.start?.location ?? context.matches.at(-1)?.location;
|
|
10701
12822
|
return location?.kind === "turn" || location?.kind === "step" ? location.turn : void 0;
|
|
@@ -10854,7 +12975,7 @@ window.__ModuleLoader__.load({
|
|
|
10854
12975
|
}
|
|
10855
12976
|
};
|
|
10856
12977
|
/**
|
|
10857
|
-
* Register the Turn-scoped process disclosure projection.
|
|
12978
|
+
* Register the Turn-scoped process disclosure projection and its per-Step evidence record.
|
|
10858
12979
|
* @param ctx - owning UI Conversation context.
|
|
10859
12980
|
*/
|
|
10860
12981
|
function registerTurnProcess(ctx) {
|
|
@@ -10873,6 +12994,16 @@ window.__ModuleLoader__.load({
|
|
|
10873
12994
|
"turn/end": match
|
|
10874
12995
|
}
|
|
10875
12996
|
});
|
|
12997
|
+
const evidence = processEvidenceDefinition.match.bind(processEvidenceDefinition);
|
|
12998
|
+
ctx.uiConversation.events.register({
|
|
12999
|
+
...processEvidenceDefinition,
|
|
13000
|
+
match: {
|
|
13001
|
+
"assistant/message": evidence,
|
|
13002
|
+
"tool/call": evidence,
|
|
13003
|
+
"tool/result": evidence,
|
|
13004
|
+
"llm/retry": evidence
|
|
13005
|
+
}
|
|
13006
|
+
});
|
|
10876
13007
|
}
|
|
10877
13008
|
//#endregion
|
|
10878
13009
|
//#region ../../llm/llm/lib/types/assistant-stream.js
|
|
@@ -12655,6 +14786,10 @@ window.__ModuleLoader__.load({
|
|
|
12655
14786
|
const COLLAPSE_TIMINGS = ["completion", "next-input"];
|
|
12656
14787
|
/** Preserve completion-time folding when no timing preference is saved. */
|
|
12657
14788
|
const DEFAULT_COLLAPSE_TIMING = "completion";
|
|
14789
|
+
/** Field carrying which Assistant replies stay visible in a folded Turn. */
|
|
14790
|
+
const FOLDED_REPLIES_FIELD = "foldedReplies";
|
|
14791
|
+
/** Assistant replies kept visible while a completed Turn folds its process: every reply, or only the final answer. */
|
|
14792
|
+
const FOLDED_REPLIES = ["all", "final"];
|
|
12658
14793
|
/** Work-details presentation modes a user can choose. */
|
|
12659
14794
|
const TRANSCRIPT_VIEW_MODES = [
|
|
12660
14795
|
"compact",
|
|
@@ -12686,6 +14821,7 @@ window.__ModuleLoader__.load({
|
|
|
12686
14821
|
/** Durable Chat schema; also the wire envelope the browser scope validates against. */
|
|
12687
14822
|
const ChatSettingsFields = {
|
|
12688
14823
|
[COLLAPSE_TIMING_FIELD]: Schema.union([...COLLAPSE_TIMINGS]).default(DEFAULT_COLLAPSE_TIMING),
|
|
14824
|
+
[FOLDED_REPLIES_FIELD]: Schema.union([...FOLDED_REPLIES]).default("all"),
|
|
12689
14825
|
linkOpening: Schema.union(["sidebar", "new-tab"]).default(DEFAULT_LINK_OPENING),
|
|
12690
14826
|
performanceUsage: Schema.union([...PERFORMANCE_USAGE_MODES]).default(DEFAULT_PERFORMANCE_USAGE),
|
|
12691
14827
|
[TRANSCRIPT_VIEW_FIELD]: Schema.union([...TRANSCRIPT_VIEW_SETTING_VALUES]).loose()
|
|
@@ -12693,6 +14829,7 @@ window.__ModuleLoader__.load({
|
|
|
12693
14829
|
Schema.object(ChatSettingsFields);
|
|
12694
14830
|
//#endregion
|
|
12695
14831
|
//#region lib/types/client/presentation-policy.js
|
|
14832
|
+
/** Chat presentation derived from Host-backed detail, collapse timing, and folded replies. */
|
|
12696
14833
|
const POLICIES = {
|
|
12697
14834
|
compact: {
|
|
12698
14835
|
mode: "compact",
|
|
@@ -12723,61 +14860,75 @@ window.__ModuleLoader__.load({
|
|
|
12723
14860
|
settledReasoningPreview: true
|
|
12724
14861
|
}
|
|
12725
14862
|
};
|
|
12726
|
-
function withTiming(collapseTiming) {
|
|
14863
|
+
function withTiming(collapseTiming, foldedReplies) {
|
|
12727
14864
|
return {
|
|
12728
14865
|
compact: {
|
|
12729
14866
|
...POLICIES.compact,
|
|
12730
|
-
collapseTiming
|
|
14867
|
+
collapseTiming,
|
|
14868
|
+
foldedReplies
|
|
12731
14869
|
},
|
|
12732
14870
|
standard: {
|
|
12733
14871
|
...POLICIES.standard,
|
|
12734
|
-
collapseTiming
|
|
14872
|
+
collapseTiming,
|
|
14873
|
+
foldedReplies
|
|
12735
14874
|
},
|
|
12736
14875
|
detailed: {
|
|
12737
14876
|
...POLICIES.detailed,
|
|
12738
|
-
collapseTiming
|
|
14877
|
+
collapseTiming,
|
|
14878
|
+
foldedReplies
|
|
12739
14879
|
},
|
|
12740
14880
|
verbose: {
|
|
12741
14881
|
...POLICIES.verbose,
|
|
12742
|
-
collapseTiming
|
|
14882
|
+
collapseTiming,
|
|
14883
|
+
foldedReplies
|
|
12743
14884
|
}
|
|
12744
14885
|
};
|
|
12745
14886
|
}
|
|
12746
14887
|
const TIMING_POLICIES = {
|
|
12747
|
-
completion:
|
|
12748
|
-
|
|
14888
|
+
completion: {
|
|
14889
|
+
all: withTiming("completion", "all"),
|
|
14890
|
+
final: withTiming("completion", "final")
|
|
14891
|
+
},
|
|
14892
|
+
"next-input": {
|
|
14893
|
+
all: withTiming("next-input", "all"),
|
|
14894
|
+
final: withTiming("next-input", "final")
|
|
14895
|
+
}
|
|
12749
14896
|
};
|
|
12750
14897
|
/**
|
|
12751
|
-
* Resolve a stable policy for one detail mode and
|
|
14898
|
+
* Resolve a stable policy for one detail mode, collapse timing, and folded-reply choice.
|
|
12752
14899
|
* @param mode - persisted work-details mode.
|
|
12753
14900
|
* @param collapseTiming - persisted timing; defaults to immediate completion folding.
|
|
12754
|
-
* @
|
|
14901
|
+
* @param foldedReplies - persisted folded-reply choice; defaults to keeping every reply visible.
|
|
14902
|
+
* @returns the same policy object for the same choices.
|
|
12755
14903
|
*/
|
|
12756
|
-
function presentationPolicyFor(mode, collapseTiming = "completion") {
|
|
12757
|
-
return TIMING_POLICIES[collapseTiming][mode];
|
|
14904
|
+
function presentationPolicyFor(mode, collapseTiming = "completion", foldedReplies = "all") {
|
|
14905
|
+
return TIMING_POLICIES[collapseTiming][foldedReplies][mode];
|
|
12758
14906
|
}
|
|
12759
14907
|
/**
|
|
12760
|
-
* Combine Host-backed detail
|
|
14908
|
+
* Combine Host-backed detail, persisted timing, and folded replies without owning subscriptions.
|
|
12761
14909
|
* @param mode - live work-details mode.
|
|
12762
14910
|
* @param collapseTiming - live Host-backed collapse timing.
|
|
12763
|
-
* @
|
|
14911
|
+
* @param foldedReplies - live Host-backed folded-reply choice.
|
|
14912
|
+
* @returns observable policy whose subscriptions follow all three preferences.
|
|
12764
14913
|
*/
|
|
12765
|
-
function derivePresentationPolicy(mode, collapseTiming) {
|
|
14914
|
+
function derivePresentationPolicy(mode, collapseTiming, foldedReplies) {
|
|
12766
14915
|
return {
|
|
12767
|
-
getSnapshot: () => presentationPolicyFor(mode.getSnapshot(), collapseTiming.getSnapshot()),
|
|
14916
|
+
getSnapshot: () => presentationPolicyFor(mode.getSnapshot(), collapseTiming.getSnapshot(), foldedReplies.getSnapshot()),
|
|
12768
14917
|
subscribe: (listener) => {
|
|
12769
14918
|
const unsubscribeMode = mode.subscribe(listener);
|
|
12770
14919
|
const unsubscribeTiming = collapseTiming.subscribe(listener);
|
|
14920
|
+
const unsubscribeReplies = foldedReplies.subscribe(listener);
|
|
12771
14921
|
return () => {
|
|
12772
14922
|
unsubscribeMode();
|
|
12773
14923
|
unsubscribeTiming();
|
|
14924
|
+
unsubscribeReplies();
|
|
12774
14925
|
};
|
|
12775
14926
|
}
|
|
12776
14927
|
};
|
|
12777
14928
|
}
|
|
12778
14929
|
//#endregion
|
|
12779
14930
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/settings/PreferenceRow.module.css.mjs
|
|
12780
|
-
const css = "._2XZxNq_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}._2XZxNq_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}._2XZxNq_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}._2XZxNq_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}._2XZxNq_selector{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}._2XZxNq_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}._2XZxNq_chevron{flex:none}";
|
|
14931
|
+
const css = "._2XZxNq_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}._2XZxNq_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}@media (width<=767px){html:not([data-windows-titlebar]):not([data-platform=darwin]) ._2XZxNq_rowText{padding-right:16px}}._2XZxNq_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}._2XZxNq_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400;line-height:18px}._2XZxNq_selector{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}@media (hover:hover){._2XZxNq_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}}._2XZxNq_chevron{flex:none}";
|
|
12781
14932
|
const tagId = "@deepseek-ai/dsh-client-ui-chat/PreferenceRow.module.css";
|
|
12782
14933
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
12783
14934
|
const tag = document.createElement("style");
|
|
@@ -12859,39 +15010,61 @@ window.__ModuleLoader__.load({
|
|
|
12859
15010
|
completion: "settings.collapse.completion",
|
|
12860
15011
|
"next-input": "settings.collapse.nextInput"
|
|
12861
15012
|
};
|
|
15013
|
+
const FOLDED_REPLY_LABELS = {
|
|
15014
|
+
all: "settings.foldedReplies.all",
|
|
15015
|
+
final: "settings.foldedReplies.final"
|
|
15016
|
+
};
|
|
12862
15017
|
/**
|
|
12863
|
-
* Render the independent, Host-backed work-details
|
|
15018
|
+
* Render the independent, Host-backed work-details, collapse-timing, and folded-reply selectors.
|
|
15019
|
+
* Verbose never folds a Turn, so it omits the folded-reply selector.
|
|
12864
15020
|
* @param props - composed Settings slot props.
|
|
12865
15021
|
* @returns the preference row.
|
|
12866
15022
|
*/
|
|
12867
|
-
function TranscriptViewRow({ useTranscriptView, setTranscriptView, useCollapseTiming, setCollapseTiming, t }) {
|
|
15023
|
+
function TranscriptViewRow({ useTranscriptView, setTranscriptView, useCollapseTiming, setCollapseTiming, useFoldedReplies, setFoldedReplies, t }) {
|
|
12868
15024
|
const mode = useTranscriptView((value) => value);
|
|
12869
15025
|
const timing = useCollapseTiming((value) => value);
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
15026
|
+
const replies = useFoldedReplies((value) => value);
|
|
15027
|
+
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
15028
|
+
(0, react_jsx_runtime.jsx)(PreferenceRow, {
|
|
15029
|
+
title: t("settings.transcript.title"),
|
|
15030
|
+
description: t("settings.transcript.description"),
|
|
15031
|
+
value: mode,
|
|
15032
|
+
selectedLabel: t(LABELS[mode]),
|
|
15033
|
+
options: TRANSCRIPT_VIEW_MODES.map((id) => ({
|
|
15034
|
+
id,
|
|
15035
|
+
label: t(LABELS[id])
|
|
15036
|
+
})),
|
|
15037
|
+
onSelect: (value) => {
|
|
15038
|
+
setTranscriptView(value);
|
|
15039
|
+
}
|
|
15040
|
+
}),
|
|
15041
|
+
(0, react_jsx_runtime.jsx)(PreferenceRow, {
|
|
15042
|
+
title: t("settings.collapse.title"),
|
|
15043
|
+
description: t("settings.collapse.description"),
|
|
15044
|
+
value: timing,
|
|
15045
|
+
selectedLabel: t(COLLAPSE_LABELS[timing]),
|
|
15046
|
+
options: COLLAPSE_TIMINGS.map((id) => ({
|
|
15047
|
+
id,
|
|
15048
|
+
label: t(COLLAPSE_LABELS[id])
|
|
15049
|
+
})),
|
|
15050
|
+
onSelect: (value) => {
|
|
15051
|
+
setCollapseTiming(value);
|
|
15052
|
+
}
|
|
15053
|
+
}),
|
|
15054
|
+
mode !== "verbose" && (0, react_jsx_runtime.jsx)(PreferenceRow, {
|
|
15055
|
+
title: t("settings.foldedReplies.title"),
|
|
15056
|
+
description: t("settings.foldedReplies.description"),
|
|
15057
|
+
value: replies,
|
|
15058
|
+
selectedLabel: t(FOLDED_REPLY_LABELS[replies]),
|
|
15059
|
+
options: FOLDED_REPLIES.map((id) => ({
|
|
15060
|
+
id,
|
|
15061
|
+
label: t(FOLDED_REPLY_LABELS[id])
|
|
15062
|
+
})),
|
|
15063
|
+
onSelect: (value) => {
|
|
15064
|
+
setFoldedReplies(value);
|
|
15065
|
+
}
|
|
15066
|
+
})
|
|
15067
|
+
] });
|
|
12895
15068
|
}
|
|
12896
15069
|
//#endregion
|
|
12897
15070
|
//#region lib/types/client/transcript-view.js
|
|
@@ -12905,6 +15078,8 @@ window.__ModuleLoader__.load({
|
|
|
12905
15078
|
mode;
|
|
12906
15079
|
/** Reactive collapse timing, defaulting to completion until Host settings arrive. */
|
|
12907
15080
|
collapseTiming = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(DEFAULT_COLLAPSE_TIMING);
|
|
15081
|
+
/** Reactive folded-reply choice, keeping every reply until Host settings arrive. */
|
|
15082
|
+
foldedReplies = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)("all");
|
|
12908
15083
|
/**
|
|
12909
15084
|
* @param host - durable Chat settings scope.
|
|
12910
15085
|
* @param defaultMode - presentation used without an explicit saved mode.
|
|
@@ -12940,6 +15115,15 @@ window.__ModuleLoader__.load({
|
|
|
12940
15115
|
this.collapseTiming.set(timing);
|
|
12941
15116
|
this.host.set(COLLAPSE_TIMING_FIELD, timing);
|
|
12942
15117
|
}
|
|
15118
|
+
/**
|
|
15119
|
+
* Publish and persist which Assistant replies stay visible in a folded Turn.
|
|
15120
|
+
* @param replies - every reply, or only the final answer.
|
|
15121
|
+
*/
|
|
15122
|
+
setFoldedReplies(replies) {
|
|
15123
|
+
if (this.foldedReplies.getSnapshot() === replies) return;
|
|
15124
|
+
this.foldedReplies.set(replies);
|
|
15125
|
+
this.host.set(FOLDED_REPLIES_FIELD, replies);
|
|
15126
|
+
}
|
|
12943
15127
|
/** Adopt the latest accepted Host section without writing it back. */
|
|
12944
15128
|
adopt() {
|
|
12945
15129
|
const section = this.host.getSnapshot().value;
|
|
@@ -12949,6 +15133,8 @@ window.__ModuleLoader__.load({
|
|
|
12949
15133
|
if (this.mode.getSnapshot() !== mode) this.mode.set(mode);
|
|
12950
15134
|
const timing = section.collapseTiming ?? "completion";
|
|
12951
15135
|
if (this.collapseTiming.getSnapshot() !== timing) this.collapseTiming.set(timing);
|
|
15136
|
+
const replies = section.foldedReplies ?? "all";
|
|
15137
|
+
if (this.foldedReplies.getSnapshot() !== replies) this.foldedReplies.set(replies);
|
|
12952
15138
|
}
|
|
12953
15139
|
};
|
|
12954
15140
|
//#endregion
|
|
@@ -13086,9 +15272,11 @@ window.__ModuleLoader__.load({
|
|
|
13086
15272
|
"uiConversation",
|
|
13087
15273
|
"locale",
|
|
13088
15274
|
"configForms",
|
|
15275
|
+
"connection",
|
|
13089
15276
|
"remote",
|
|
13090
15277
|
"remote.session",
|
|
13091
|
-
"sidebarRight"
|
|
15278
|
+
"sidebarRight",
|
|
15279
|
+
"fileDrag"
|
|
13092
15280
|
];
|
|
13093
15281
|
/**
|
|
13094
15282
|
* Mount all Chat-owned contributions.
|
|
@@ -13143,7 +15331,13 @@ window.__ModuleLoader__.load({
|
|
|
13143
15331
|
});
|
|
13144
15332
|
ctx.effect(() => ctx.locale.register(NS, {
|
|
13145
15333
|
zh,
|
|
13146
|
-
en
|
|
15334
|
+
en,
|
|
15335
|
+
ja,
|
|
15336
|
+
es,
|
|
15337
|
+
fr,
|
|
15338
|
+
de,
|
|
15339
|
+
ru,
|
|
15340
|
+
pt
|
|
13147
15341
|
}), "ui-chat: dictionaries");
|
|
13148
15342
|
const t = ctx.locale.bind(NS);
|
|
13149
15343
|
const chatStore = createChatStore();
|
|
@@ -13178,7 +15372,7 @@ window.__ModuleLoader__.load({
|
|
|
13178
15372
|
}, LinkOpeningRow));
|
|
13179
15373
|
});
|
|
13180
15374
|
const transcriptView = new TranscriptViewPolicy(chatSettings, "dshDesktop" in globalThis ? "standard" : DEFAULT_TRANSCRIPT_VIEW_MODE);
|
|
13181
|
-
const presentation = derivePresentationPolicy(transcriptView.mode, transcriptView.collapseTiming);
|
|
15375
|
+
const presentation = derivePresentationPolicy(transcriptView.mode, transcriptView.collapseTiming, transcriptView.foldedReplies);
|
|
13182
15376
|
const performancePolicy = new PerformanceUsagePolicy(chatSettings);
|
|
13183
15377
|
ctx.effect(() => () => {
|
|
13184
15378
|
transcriptView.dispose();
|
|
@@ -13215,28 +15409,30 @@ window.__ModuleLoader__.load({
|
|
|
13215
15409
|
inject: () => ({
|
|
13216
15410
|
hooks: {
|
|
13217
15411
|
transcriptView: transcriptView.mode,
|
|
13218
|
-
collapseTiming: transcriptView.collapseTiming
|
|
15412
|
+
collapseTiming: transcriptView.collapseTiming,
|
|
15413
|
+
foldedReplies: transcriptView.foldedReplies
|
|
13219
15414
|
},
|
|
13220
15415
|
setTranscriptView: (mode) => {
|
|
13221
15416
|
transcriptView.setMode(mode);
|
|
13222
15417
|
},
|
|
13223
15418
|
setCollapseTiming: (timing) => {
|
|
13224
15419
|
transcriptView.setCollapseTiming(timing);
|
|
15420
|
+
},
|
|
15421
|
+
setFoldedReplies: (replies) => {
|
|
15422
|
+
transcriptView.setFoldedReplies(replies);
|
|
13225
15423
|
}
|
|
13226
15424
|
})
|
|
13227
15425
|
}, TranscriptViewRow));
|
|
15426
|
+
const connectionState = ctx.get("connection").state;
|
|
13228
15427
|
const nodeSources = (binding) => {
|
|
13229
15428
|
const chat = chatSource(binding);
|
|
13230
15429
|
const conversation = ctx.uiConversation.binding(binding);
|
|
13231
|
-
return {
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
chatGroup: (key) => conversation.snapshot.getSnapshot().views.grouped("chat")?.groupSource(key)
|
|
13238
|
-
}
|
|
13239
|
-
};
|
|
15430
|
+
return { keyedHooks: {
|
|
15431
|
+
chatNode: (key) => chat.getSnapshot().nodes.source(key),
|
|
15432
|
+
chatNodeBottom: (key) => chat.getSnapshot().nodes.bottomSource(key),
|
|
15433
|
+
chatNodeProcess: (key) => chat.getSnapshot().nodes.processSource(key),
|
|
15434
|
+
chatGroup: (key) => conversation.snapshot.getSnapshot().views.grouped("chat")?.groupSource(key)
|
|
15435
|
+
} };
|
|
13240
15436
|
};
|
|
13241
15437
|
ctx.slots.inject("conversation.chat.flow", () => ctx.slots.register({
|
|
13242
15438
|
name: "conversation.chat.flow",
|
|
@@ -13250,7 +15446,13 @@ window.__ModuleLoader__.load({
|
|
|
13250
15446
|
inject: (sessionId) => {
|
|
13251
15447
|
const binding = ctx.sessions.binding(sessionId);
|
|
13252
15448
|
if (binding === void 0) throw new Error(`ui-chat: unknown session "${sessionId}"`);
|
|
13253
|
-
return
|
|
15449
|
+
return {
|
|
15450
|
+
...nodeSources(binding),
|
|
15451
|
+
hooks: {
|
|
15452
|
+
presentation,
|
|
15453
|
+
connectionState
|
|
15454
|
+
}
|
|
15455
|
+
};
|
|
13254
15456
|
}
|
|
13255
15457
|
}, ChatFlow));
|
|
13256
15458
|
ctx.slots.inject("conversation.view", () => {
|
|
@@ -13260,11 +15462,17 @@ window.__ModuleLoader__.load({
|
|
|
13260
15462
|
order: 0,
|
|
13261
15463
|
label: () => t("view.chat"),
|
|
13262
15464
|
locale: NS,
|
|
13263
|
-
children: {
|
|
13264
|
-
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
15465
|
+
children: {
|
|
15466
|
+
"conversation.chat.flow": {
|
|
15467
|
+
kind: "single",
|
|
15468
|
+
scope: "session",
|
|
15469
|
+
inject: CHAT_FLOW_INJECT
|
|
15470
|
+
},
|
|
15471
|
+
"conversation.chat.text-interaction": {
|
|
15472
|
+
kind: "keyed",
|
|
15473
|
+
scope: "session"
|
|
15474
|
+
}
|
|
15475
|
+
},
|
|
13268
15476
|
store: chatStore,
|
|
13269
15477
|
inject: (sessionId) => {
|
|
13270
15478
|
const binding = ctx.sessions.binding(sessionId);
|
|
@@ -13273,14 +15481,20 @@ window.__ModuleLoader__.load({
|
|
|
13273
15481
|
const chat = chatSource(binding);
|
|
13274
15482
|
return {
|
|
13275
15483
|
...nodeSources(binding),
|
|
13276
|
-
|
|
15484
|
+
fileDrag: ctx.fileDrag.actions,
|
|
15485
|
+
hooks: {
|
|
15486
|
+
presentation,
|
|
15487
|
+
interactionIds: ctx.uiConversation.interactions
|
|
15488
|
+
},
|
|
15489
|
+
dispatchInteraction: (gesture) => ctx.uiConversation.interactions.dispatch(sessionId, gesture),
|
|
13277
15490
|
openFile: async (path, options) => {
|
|
13278
15491
|
const cwd = ctx.sessions.list.getSnapshot().byId[sessionId]?.cwd;
|
|
13279
|
-
const url = fileAddressFor(sessionId, cwd, path);
|
|
15492
|
+
const url = fileAddressFor(sessionId, cwd, resolveWorkspacePath(session.projections.faceOf("workingDirectory").getSnapshot() ?? void 0, path));
|
|
13280
15493
|
if (options?.line === void 0) ctx.sidebarRight.openResource(url);
|
|
13281
15494
|
else ctx.sidebarRight.openResource(url, { params: { line: options.line } });
|
|
13282
15495
|
await Promise.resolve();
|
|
13283
15496
|
},
|
|
15497
|
+
resolveFilePath: sessionFilePath(ctx, sessionId),
|
|
13284
15498
|
openExternalLink: (url) => {
|
|
13285
15499
|
if (linkOpening.getSnapshot() === "sidebar" && ctx.get("sidebarRightTabs")?.get("browser") !== void 0) ctx.sidebarRight.openTab("browser", { params: { url } });
|
|
13286
15500
|
else window.open(url, "_blank", "noopener,noreferrer");
|