@hncode/hncode 0.8.1 → 0.8.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.md +18 -0
- package/README_CN.md +14 -0
- package/bin/hncode +54 -8
- package/package.json +1 -1
- package/src/agent-task.js +356 -337
- package/src/agent.js +1465 -1405
- package/src/animate.js +56 -0
- package/src/colors.js +615 -593
- package/src/config.js +50 -7
- package/src/context-bar.js +280 -278
- package/src/doctor.js +4 -3
- package/src/file-tree.js +4 -3
- package/src/highlight.js +20 -6
- package/src/i18n.js +1432 -389
- package/src/image-row.js +11 -2
- package/src/index.js +218 -6
- package/src/keybindings.js +2 -1
- package/src/llm.js +146 -21
- package/src/log-file.js +112 -0
- package/src/markdown.js +646 -567
- package/src/mcp-server.js +409 -0
- package/src/mcp.js +279 -29
- package/src/memory-profile.js +19 -16
- package/src/migrate-index.js +175 -0
- package/src/migrate.js +392 -0
- package/src/panels.js +9 -7
- package/src/plan.js +7 -5
- package/src/plugin.js +37 -21
- package/src/registry-browser.js +17 -15
- package/src/rows-plan-bg.js +3 -2
- package/src/rows-status.js +20 -6
- package/src/rows-tool-result.js +242 -208
- package/src/screen-paint.js +153 -128
- package/src/session-recover.js +317 -0
- package/src/session.js +203 -13
- package/src/settings-schema.js +9 -0
- package/src/swarm-progress.js +6 -2
- package/src/tasks-browser.js +37 -36
- package/src/team-panel.js +12 -11
- package/src/term.js +57 -21
- package/src/text.js +254 -149
- package/src/tool-line.js +7 -2
- package/src/tool-result.js +400 -327
- package/src/tools/agent.js +7 -2
- package/src/tools/ask-user-question.js +1 -2
- package/src/tools/bash.js +446 -434
- package/src/tools/edit.js +653 -665
- package/src/tools/goal.js +130 -93
- package/src/tools/read.js +141 -133
- package/src/tools/tasks.js +214 -214
- package/src/tools/utils.js +143 -104
- package/src/tui.js +20887 -19942
package/src/text.js
CHANGED
|
@@ -1,149 +1,254 @@
|
|
|
1
|
-
// Text measurement, colouring and wrapping.
|
|
2
|
-
//
|
|
3
|
-
// These are the leaves of the renderer: they take a string and some numbers and return a string. Nothing here knows
|
|
4
|
-
// what a transcript is, so the same helpers serve a chat row, a popup and the composer.
|
|
5
|
-
|
|
6
|
-
import { C } from './colors.js';
|
|
7
|
-
import { visualWidth, expandTabs } from './term.js';
|
|
8
|
-
|
|
9
|
-
// The ESC byte, as its own string. Every escape scan starts by comparing against this rather than writing '\x1b',
|
|
10
|
-
// which keeps the regexes and the string walks recognisably the same test.
|
|
11
|
-
export const ESC = '\x1b';
|
|
12
|
-
|
|
13
|
-
export { expandTabs };
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
const
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
if (
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
1
|
+
// Text measurement, colouring and wrapping.
|
|
2
|
+
//
|
|
3
|
+
// These are the leaves of the renderer: they take a string and some numbers and return a string. Nothing here knows
|
|
4
|
+
// what a transcript is, so the same helpers serve a chat row, a popup and the composer.
|
|
5
|
+
|
|
6
|
+
import { C } from './colors.js';
|
|
7
|
+
import { visualWidth, expandTabs } from './term.js';
|
|
8
|
+
|
|
9
|
+
// The ESC byte, as its own string. Every escape scan starts by comparing against this rather than writing '\x1b',
|
|
10
|
+
// which keeps the regexes and the string walks recognisably the same test.
|
|
11
|
+
export const ESC = '\x1b';
|
|
12
|
+
|
|
13
|
+
export { expandTabs };
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Remove every escape sequence, leaving what the terminal would actually draw.
|
|
17
|
+
*
|
|
18
|
+
* THE NO-ESCAPE CASE IS FREE, AND IT IS MOST ROWS.
|
|
19
|
+
*
|
|
20
|
+
* Three `.replace` calls each walk the whole string and allocate a copy even when they match nothing — which is what
|
|
21
|
+
* happens for the composer, the status line, and every row of plain text. Checking for the ESC byte first and returning
|
|
22
|
+
* the input unchanged costs one `indexOf` and saves all three regex scans: measured 6.5x faster on a plain row.
|
|
23
|
+
*
|
|
24
|
+
* A HAND-WRITTEN SCANNER FOR THE STYLED CASE WAS TRIED AND REJECTED. It was twice as SLOW as the regexes on a row that
|
|
25
|
+
* does carry escapes — V8's regex engine beats a character loop for this — and since styled rows are the common case in
|
|
26
|
+
* the transcript, keeping it would have been a net loss.
|
|
27
|
+
*/
|
|
28
|
+
export function stripAnsi(s) {
|
|
29
|
+
const str = String(s);
|
|
30
|
+
// One pass to find the ESC; almost every row has none, and those rows are then copied zero times.
|
|
31
|
+
if (str.indexOf('\x1b') < 0) return str;
|
|
32
|
+
return str
|
|
33
|
+
.replace(/\x1b\[[0-9;?]*[a-zA-Z]/g, '')
|
|
34
|
+
.replace(/\x1b\[[0-9;?]* [a-zA-Z]/g, '')
|
|
35
|
+
.replace(/\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/g, '');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Make UNTRUSTED text safe to paint: file contents from Read, command output from Bash, diff bodies, tool arguments.
|
|
39
|
+
//
|
|
40
|
+
// The goal is to keep the content as ORIGINAL as possible while stopping the terminal from OBEYING it. Only the ESC
|
|
41
|
+
// byte is rewritten — every following byte (the `[31m`, the `[10;20H` parameters) is shown verbatim, so nothing is
|
|
42
|
+
// lost:
|
|
43
|
+
//
|
|
44
|
+
// file contains: ESC [ 3 1 m E R R O R ESC [ 0 m
|
|
45
|
+
// screen shows : ^[ [ 3 1 m E R R O R ^[ [ 0 m
|
|
46
|
+
//
|
|
47
|
+
// A terminal cannot act on a sequence whose ESC has been split into `^[`, so `ESC[31m` no longer recolours half the
|
|
48
|
+
// transcript, `ESC[0m` no longer resets the row mid-line, and `ESC[10;20H` no longer moves the cursor.
|
|
49
|
+
//
|
|
50
|
+
// `^[` is the convention `cat -v`, `less` and `bat` use for ESC, so it reads as "there is an escape here" rather
|
|
51
|
+
// than as content.
|
|
52
|
+
export function sanitizeText(s) {
|
|
53
|
+
return String(s == null ? '' : s)
|
|
54
|
+
.replace(/\x1b/g, '^[')
|
|
55
|
+
.replace(/\x07/g, '^G')
|
|
56
|
+
.replace(/\x08/g, '^H')
|
|
57
|
+
.replace(/[\x0b\x0c]/g, ' ')
|
|
58
|
+
.replace(/[\x00-\x06\x0e-\x1f\x7f]/g, '');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* How much of a running command's output to KEEP, not just display.
|
|
63
|
+
*
|
|
64
|
+
* This string is mirrored into the hub row (and so into the SSE patch the browser applies on every frame), which
|
|
65
|
+
* means an unbounded buffer grows the terminal's row, the hub's row and the browser's copy at the same time. Only
|
|
66
|
+
* the tail is ever drawn, so only the tail is worth holding.
|
|
67
|
+
*/
|
|
68
|
+
export const LIVE_OUTPUT_MAX_CHARS = 64 * 1024;
|
|
69
|
+
|
|
70
|
+
/** The last `max` CHARACTERS of `s`, cut on a line boundary so the tail never starts mid-line. */
|
|
71
|
+
export function tailChars(s, max) {
|
|
72
|
+
const str = String(s == null ? '' : s);
|
|
73
|
+
if (str.length <= max) return str;
|
|
74
|
+
const cut = str.slice(str.length - max);
|
|
75
|
+
const nl = cut.indexOf('\n');
|
|
76
|
+
return nl >= 0 ? cut.slice(nl + 1) : cut;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Visible width of a string that may carry ANSI escapes.
|
|
81
|
+
*
|
|
82
|
+
* THE PRINTABLE-ASCII FAST PATH IS THE COMMON CASE BY A WIDE MARGIN. Most rows in a frame are plain ASCII with no
|
|
83
|
+
* escapes — the filler, the padding, a notice, the composer's own text — and for those the width IS the length.
|
|
84
|
+
*
|
|
85
|
+
* The range is 0x20..0x7e, NOT everything below 0x7f. A first attempt accepted every code point under 0x7f and broke
|
|
86
|
+
* the frame: TAB (0x09) is below the bound but `visualWidth` counts it as zero columns while `length` counts one, so a
|
|
87
|
+
* row containing a tab was measured one column too wide and `fitAnsi` padded it short — the painted screen then
|
|
88
|
+
* diverged from the frame by exactly the tab's width. Control characters in general are zero-width, so they have to
|
|
89
|
+
* fall through.
|
|
90
|
+
*/
|
|
91
|
+
export function visualCol(s) {
|
|
92
|
+
const str = String(s);
|
|
93
|
+
const len = str.length;
|
|
94
|
+
let i = 0;
|
|
95
|
+
while (i < len) {
|
|
96
|
+
const c = str.charCodeAt(i);
|
|
97
|
+
// Printable ASCII only: below 0x20 is a control, 0x7f is DEL, above is non-ASCII.
|
|
98
|
+
if (c < 0x20 || c > 0x7e) break;
|
|
99
|
+
i++;
|
|
100
|
+
}
|
|
101
|
+
if (i === len) return len;
|
|
102
|
+
// NO ESCAPE, NO STRIPPING. The scan above stopped on a non-ASCII or control character, which is NOT the same thing as
|
|
103
|
+
// a styled row: a row with one CJK character or one TAB fell through to `stripAnsi`, which allocated a fresh string
|
|
104
|
+
// through three regex passes just to hand it to a width walk. Only a row that actually contains ESC needs that.
|
|
105
|
+
if (str.indexOf('\x1b') < 0) return visualWidth(str);
|
|
106
|
+
return visualWidth(stripAnsi(str));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** Wrap `text` in colour `c`, closing with a full reset. */
|
|
110
|
+
export function col(text, c) { return c + String(text) + C.reset; }
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Pad or truncate to exactly `w` VISIBLE columns, carrying escapes through untouched.
|
|
114
|
+
*
|
|
115
|
+
* Padding is what makes a row's background reach the edge; truncation keeps a long line from wrapping and pushing
|
|
116
|
+
* the layout down a row.
|
|
117
|
+
*/
|
|
118
|
+
export function fitAnsi(s, w) {
|
|
119
|
+
const str = String(s);
|
|
120
|
+
const v = visualCol(str);
|
|
121
|
+
if (v < w) return str + ' '.repeat(w - v);
|
|
122
|
+
if (v === w) return str;
|
|
123
|
+
let out = '';
|
|
124
|
+
let n = 0;
|
|
125
|
+
let i = 0;
|
|
126
|
+
while (i < str.length) {
|
|
127
|
+
if (str[i] === ESC) {
|
|
128
|
+
const m = /^\x1b\[[0-9;?]*[a-zA-Z]/.exec(str.slice(i))
|
|
129
|
+
|| /^\x1b\[[0-9;?]* [a-zA-Z]/.exec(str.slice(i))
|
|
130
|
+
|| /^\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/.exec(str.slice(i));
|
|
131
|
+
if (m) { out += m[0]; i += m[0].length; continue; }
|
|
132
|
+
}
|
|
133
|
+
const cp = str.codePointAt(i);
|
|
134
|
+
const ch = String.fromCodePoint(cp);
|
|
135
|
+
const cw = visualWidth(ch);
|
|
136
|
+
if (n + cw > w) break;
|
|
137
|
+
n += cw;
|
|
138
|
+
out += ch;
|
|
139
|
+
i += cp > 0xffff ? 2 : 1;
|
|
140
|
+
}
|
|
141
|
+
if (n < w) out += ' '.repeat(w - n);
|
|
142
|
+
return out;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Greedy word wrap to `width` VISIBLE columns.
|
|
147
|
+
*
|
|
148
|
+
* The running width is ACCUMULATED rather than re-measured. Recomputing `visualCol(line + ' ' + w)` per word is O(line)
|
|
149
|
+
* per word and therefore O(n²) per paragraph — a single long streamed paragraph cost ~46ms at 20KB and froze the UI on
|
|
150
|
+
* every markdown chunk. Widths are additive for the plain text this receives, because no ANSI is present until
|
|
151
|
+
* `inlineMarkdown` runs later.
|
|
152
|
+
*
|
|
153
|
+
* A word longer than the line is hard-split BY VISUAL COLUMNS, not by `.length`: CJK characters occupy two cells, so
|
|
154
|
+
* slicing by length emitted lines twice as wide as the box and let the terminal wrap them.
|
|
155
|
+
*/
|
|
156
|
+
/**
|
|
157
|
+
* Wrap a STYLED string to `width` VISIBLE columns.
|
|
158
|
+
*
|
|
159
|
+
* The order matters: inline markdown is rendered FIRST and the result is wrapped second.
|
|
160
|
+
* Wrapping the source first broke every marker that straddled a line break — a `**bold**`
|
|
161
|
+
* split across two lines matched no pattern, so the asterisks were printed verbatim. That
|
|
162
|
+
* showed up as literal `**` in the middle of a sentence, most often on a table cell and on
|
|
163
|
+
* a long paragraph in a narrow terminal.
|
|
164
|
+
*
|
|
165
|
+
* ANSI is carried through untouched: a colour sequence is never cut in half, and the width
|
|
166
|
+
* is measured on what the terminal will actually show.
|
|
167
|
+
*/
|
|
168
|
+
export function wrapStyled(str, width) {
|
|
169
|
+
const src = String(str == null ? '' : str);
|
|
170
|
+
const limit = Math.max(1, width | 0);
|
|
171
|
+
const out = [];
|
|
172
|
+
// SPLIT INTO TOKENS: escape sequences, spaces, and everything else.
|
|
173
|
+
const tokens = [];
|
|
174
|
+
let i = 0;
|
|
175
|
+
while (i < src.length) {
|
|
176
|
+
if (src[i] === ESC) {
|
|
177
|
+
const m = /^\x1b\[[0-9;?]*[a-zA-Z]/.exec(src.slice(i))
|
|
178
|
+
|| /^\x1b\[[0-9;?]* [a-zA-Z]/.exec(src.slice(i))
|
|
179
|
+
|| /^\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)/.exec(src.slice(i));
|
|
180
|
+
if (m) { tokens.push({ esc: true, text: m[0], w: 0 }); i += m[0].length; continue; }
|
|
181
|
+
}
|
|
182
|
+
const cp = src.codePointAt(i);
|
|
183
|
+
const ch = String.fromCodePoint(cp);
|
|
184
|
+
if (ch === ' ') { tokens.push({ space: true, text: ' ', w: 1 }); i += ch.length; continue; }
|
|
185
|
+
tokens.push({ text: ch, w: visualWidth(ch) });
|
|
186
|
+
i += ch.length;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
let line = '';
|
|
190
|
+
let lineW = 0;
|
|
191
|
+
const pushLine = () => { if (line) out.push(line); line = ''; lineW = 0; };
|
|
192
|
+
|
|
193
|
+
for (let t = 0; t < tokens.length; t++) {
|
|
194
|
+
const tok = tokens[t];
|
|
195
|
+
if (tok.space) {
|
|
196
|
+
// A space at the start of a line is dropped: it is the gap the wrap left behind.
|
|
197
|
+
if (lineW === 0) continue;
|
|
198
|
+
if (lineW + tok.w > limit) { pushLine(); continue; }
|
|
199
|
+
line += tok.text; lineW += tok.w;
|
|
200
|
+
continue;
|
|
201
|
+
}
|
|
202
|
+
if (tok.esc) { line += tok.text; continue; }
|
|
203
|
+
if (lineW + tok.w > limit) {
|
|
204
|
+
// The word does not fit: break before it. The escape sequences that opened the
|
|
205
|
+
// styling stay on this line and are closed by the reset the caller appended, so the
|
|
206
|
+
// colour does not bleed into the next one.
|
|
207
|
+
pushLine();
|
|
208
|
+
line += tok.text; lineW = tok.w;
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
line += tok.text; lineW += tok.w;
|
|
212
|
+
}
|
|
213
|
+
pushLine();
|
|
214
|
+
if (!out.length) out.push('');
|
|
215
|
+
return out;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export function wrapWords(str, width) {
|
|
219
|
+
width = Math.max(1, width | 0);
|
|
220
|
+
const out = [];
|
|
221
|
+
let line = '';
|
|
222
|
+
let lineW = 0;
|
|
223
|
+
// Tabs are expanded first: `visualCol` counts '\t' as 0 columns while the terminal advances to the next stop, which
|
|
224
|
+
// made the row wider than computed and wrapped it onto the following line.
|
|
225
|
+
const words = expandTabs(str).split(' ');
|
|
226
|
+
for (const w of words) {
|
|
227
|
+
const wW = visualCol(w);
|
|
228
|
+
if (wW > width) {
|
|
229
|
+
if (line) { out.push(line); line = ''; lineW = 0; }
|
|
230
|
+
let chunk = '';
|
|
231
|
+
let cw = 0;
|
|
232
|
+
for (const ch of w) {
|
|
233
|
+
const chw = visualCol(ch);
|
|
234
|
+
if (cw + chw > width) { out.push(chunk); chunk = ''; cw = 0; }
|
|
235
|
+
chunk += ch; cw += chw;
|
|
236
|
+
}
|
|
237
|
+
if (chunk) { line = chunk; lineW = cw; }
|
|
238
|
+
continue;
|
|
239
|
+
}
|
|
240
|
+
const sep = line ? 1 : 0;
|
|
241
|
+
if (lineW + sep + wW <= width) {
|
|
242
|
+
line = line ? line + ' ' + w : w;
|
|
243
|
+
lineW += sep + wW;
|
|
244
|
+
} else {
|
|
245
|
+
if (line) out.push(line);
|
|
246
|
+
line = w;
|
|
247
|
+
lineW = wW;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
if (line) out.push(line);
|
|
251
|
+
else if (out.length === 0) out.push('');
|
|
252
|
+
return out;
|
|
253
|
+
}
|
|
254
|
+
|
package/src/tool-line.js
CHANGED
|
@@ -180,14 +180,19 @@ export function formatToolLine(msg, workspace, spin, pulseStart, shimmerEdge, ex
|
|
|
180
180
|
// A running call counts up from its start, so a slow tool shows progress rather than looking frozen; a finished one
|
|
181
181
|
// shows the total. Same slot either way, so the line does not reflow when the call lands.
|
|
182
182
|
//
|
|
183
|
-
//
|
|
183
|
+
// NOTHING UNDER A SECOND. `Read` and `Glob` land well inside one, and `(0s)` beside every one of them was pure noise —
|
|
184
|
+
// the figure only says something once it is long enough to be worth reading. The slot then simply stays empty, so the
|
|
185
|
+
// line does not reflow when a call does cross the second.
|
|
186
|
+
//
|
|
187
|
+
// Nothing is shown when the start is unknown either — an older session, or a restored transcript — because a duration
|
|
184
188
|
// invented from "now" would be a lie that grows every frame.
|
|
185
189
|
let timeStr = '';
|
|
186
190
|
if (typeof msg.startAt === 'number' && msg.startAt > 0) {
|
|
187
191
|
const ended = typeof msg.endedAt === 'number' && msg.endedAt > 0
|
|
188
192
|
? msg.endedAt
|
|
189
193
|
: (msg.pending ? Date.now() : 0);
|
|
190
|
-
|
|
194
|
+
const tookMs = ended >= msg.startAt ? ended - msg.startAt : 0;
|
|
195
|
+
if (tookMs >= 1000) timeStr = ' ' + col(`(${fmtDuration(tookMs)})`, C.gray);
|
|
191
196
|
}
|
|
192
197
|
return col(verb, C.white) + ' ' + nameDisplay + argText + col(sizeStr, C.gray) + diffStr + timeStr;
|
|
193
198
|
}
|