dskcode 0.1.38 → 0.1.39
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/dist/index.js +17 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1984,7 +1984,7 @@ function TodoListPanel({ items }) {
|
|
|
1984
1984
|
// package.json
|
|
1985
1985
|
var package_default = {
|
|
1986
1986
|
name: "dskcode",
|
|
1987
|
-
version: "0.1.
|
|
1987
|
+
version: "0.1.39",
|
|
1988
1988
|
repository: {
|
|
1989
1989
|
type: "git",
|
|
1990
1990
|
url: "git+https://github.com/Awu12277/deepseek-agent-cli/tree/main"
|
|
@@ -5873,15 +5873,15 @@ var GRADIENT_ANIMATION = {
|
|
|
5873
5873
|
/** 空闲占位符动画:每帧相位步进(值越大流速越快) */
|
|
5874
5874
|
idlePhaseStep: 0.06,
|
|
5875
5875
|
/** 空闲占位符动画:帧间隔(ms) */
|
|
5876
|
-
idleInterval:
|
|
5876
|
+
idleInterval: 200,
|
|
5877
5877
|
/** 流式占位符动画:每帧相位步进 */
|
|
5878
|
-
streamingPhaseStep: 0.
|
|
5878
|
+
streamingPhaseStep: 0.2,
|
|
5879
5879
|
/** 流式占位符动画:帧间隔(ms) */
|
|
5880
|
-
streamingInterval:
|
|
5880
|
+
streamingInterval: 200,
|
|
5881
5881
|
/** 命令提示条动画:每帧相位步进 */
|
|
5882
|
-
cmdTipPhaseStep: 0.
|
|
5882
|
+
cmdTipPhaseStep: 0.2,
|
|
5883
5883
|
/** 命令提示条动画:帧间隔(ms) */
|
|
5884
|
-
cmdTipInterval:
|
|
5884
|
+
cmdTipInterval: 200
|
|
5885
5885
|
};
|
|
5886
5886
|
var SKIP_CHARS = /* @__PURE__ */ new Set([" ", "~", ".", "\u3002", "\uFF01", "\u{1F447}"]);
|
|
5887
5887
|
function lerpStopsToHex(t, stops) {
|
|
@@ -7013,8 +7013,6 @@ function ChatSession({
|
|
|
7013
7013
|
children: /* @__PURE__ */ jsx11(
|
|
7014
7014
|
Box11,
|
|
7015
7015
|
{
|
|
7016
|
-
borderStyle: "single",
|
|
7017
|
-
borderColor: "#333333",
|
|
7018
7016
|
paddingX: 1,
|
|
7019
7017
|
flexDirection: "column",
|
|
7020
7018
|
flexGrow: 1,
|
|
@@ -7064,20 +7062,17 @@ function ChatSession({
|
|
|
7064
7062
|
verbose && /* @__PURE__ */ jsx11(Text12, { color: "#ff1493", children: "\u26A1 Verbose" })
|
|
7065
7063
|
] })
|
|
7066
7064
|
) : hasReasoningPanel ? (
|
|
7067
|
-
/* =====
|
|
7068
|
-
/* @__PURE__ */
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
return kept.join("\n");
|
|
7079
|
-
})() })
|
|
7080
|
-
] })
|
|
7065
|
+
/* ===== 流式思考中(纯文本,无边框) ===== */
|
|
7066
|
+
/* @__PURE__ */ jsx11(Text12, { dimColor: true, wrap: "wrap", children: (() => {
|
|
7067
|
+
const full = joinReasoningSegments(currentReasoning);
|
|
7068
|
+
const maxContentLines = 11;
|
|
7069
|
+
const lines = full.split("\n");
|
|
7070
|
+
const kept = lines.slice(-maxContentLines);
|
|
7071
|
+
while (kept.length < maxContentLines) {
|
|
7072
|
+
kept.unshift("");
|
|
7073
|
+
}
|
|
7074
|
+
return kept.join("\n");
|
|
7075
|
+
})() })
|
|
7081
7076
|
) : (
|
|
7082
7077
|
/* ===== 对话中(无思考):会话状态面板 ===== */
|
|
7083
7078
|
/* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", alignItems: "center", children: [
|