@abelxiaoxing/cadence 2.0.35 → 2.0.37
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.de.md +4 -4
- package/README.es.md +4 -4
- package/README.fr.md +4 -4
- package/README.ja.md +3 -4
- package/README.ko.md +4 -4
- package/README.md +4 -4
- package/README.pt-BR.md +4 -4
- package/README.ru.md +5 -4
- package/README.zh-CN.md +4 -4
- package/THIRD_PARTY_NOTICES.md +9 -1
- package/docs/conversation-mode.md +21 -2
- package/docs/reuse-and-distribution.md +1 -1
- package/docs/service-management.md +35 -9
- package/package.json +18 -18
- package/src/abort-scope.ts +47 -0
- package/src/agent-browser/labeled-rule.ts +74 -0
- package/src/agent-browser/session-navigator.ts +187 -0
- package/src/agent-browser/source.ts +170 -0
- package/src/agent-browser/transcript-content.ts +442 -0
- package/src/agent-browser/transcript-pane.ts +324 -0
- package/src/agent-panel-model.ts +4 -248
- package/src/agent-panel.ts +138 -432
- package/src/coordinator-tools.mjs +42 -14
- package/src/image-content.mjs +7 -28
- package/src/native-build.ts +1 -1
- package/src/research-scan.mjs +393 -0
- package/src/research-tools.mjs +406 -342
- package/src/sdk-worker.mjs +40 -55
- package/src/service/contracts/core.ts +0 -1
- package/src/service/contracts/workbench.ts +10 -16
- package/src/service-cli.mjs +328 -106
- package/src/service-host.mjs +545 -404
- package/src/service-http-client.ts +55 -50
- package/src/worker-public.mjs +1 -2
- package/src/worker-toolkit.mjs +110 -0
- package/src/worker-workspace.d.mts +13 -0
- package/src/worker-workspace.mjs +48 -0
- package/web/dist/assets/cadence.css +1 -1
- package/web/dist/assets/cadence.js +17 -17
- package/web/dist/manifest.json +7 -7
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/** Adapted from gotgenes/pi-packages @ 52854c12d590142e61a4f6a6947be9084035300d.
|
|
2
|
+
* MIT; see licenses/pi-subagents-MIT.txt and provenance/agent-browser-reuse.json. */
|
|
3
|
+
/**
|
|
4
|
+
* labeled-rule.ts — a full-width horizontal rule with labels embedded in it, in
|
|
5
|
+
* the style of Pi's editor border (`── ⠋ Working ─────`).
|
|
6
|
+
*
|
|
7
|
+
* `── <left> ─────── <right> ──`: the left label follows a two-dash lead-in, the
|
|
8
|
+
* optional right label precedes a two-dash trailer, and dashes fill the gap.
|
|
9
|
+
* Labels arrive already styled; `paint` colours only the rule's own characters,
|
|
10
|
+
* so a caller can tint the rule without re-colouring the text it carries.
|
|
11
|
+
*
|
|
12
|
+
* Each label is a list of fallbacks in preference order. The right label is
|
|
13
|
+
* dropped before the left one falls back, and when no left candidate fits, the
|
|
14
|
+
* last is truncated with an ellipsis. The result always spans exactly `width`
|
|
15
|
+
* columns: pi-tui rejects a wider row, and a narrower one leaves the rule short.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
19
|
+
|
|
20
|
+
const LEAD = "── ";
|
|
21
|
+
const TRAIL = " ──";
|
|
22
|
+
const DASH = "─";
|
|
23
|
+
|
|
24
|
+
/** Paint a rule of exactly `width` columns carrying the first labels that fit. */
|
|
25
|
+
export function labeledRule(
|
|
26
|
+
width: number,
|
|
27
|
+
paint: (rule: string) => string,
|
|
28
|
+
left: readonly string[],
|
|
29
|
+
right: readonly string[] = [],
|
|
30
|
+
): string {
|
|
31
|
+
for (const leftLabel of left) {
|
|
32
|
+
for (const rightLabel of [...right, undefined]) {
|
|
33
|
+
if (fits(width, leftLabel, rightLabel))
|
|
34
|
+
return compose(width, paint, leftLabel, rightLabel);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const lastLeft = left.at(-1) ?? "";
|
|
38
|
+
// Leave room for the lead-in, the space after the label, and one dash.
|
|
39
|
+
const truncated = truncateToWidth(
|
|
40
|
+
lastLeft,
|
|
41
|
+
Math.max(0, width - LEAD.length - 2),
|
|
42
|
+
"…",
|
|
43
|
+
);
|
|
44
|
+
return compose(width, paint, truncated, undefined);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Whether both labels fit with at least one dash of fill between them. */
|
|
48
|
+
function fits(width: number, left: string, right: string | undefined): boolean {
|
|
49
|
+
return LEAD.length + visibleWidth(left) + 1 + 1 + rightWidth(right) <= width;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function compose(
|
|
53
|
+
width: number,
|
|
54
|
+
paint: (rule: string) => string,
|
|
55
|
+
left: string,
|
|
56
|
+
right: string | undefined,
|
|
57
|
+
): string {
|
|
58
|
+
const fill = DASH.repeat(
|
|
59
|
+
Math.max(
|
|
60
|
+
1,
|
|
61
|
+
width - LEAD.length - visibleWidth(left) - 1 - rightWidth(right),
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
const tail =
|
|
65
|
+
right === undefined
|
|
66
|
+
? paint(` ${fill}`)
|
|
67
|
+
: `${paint(` ${fill} `)}${right}${paint(TRAIL)}`;
|
|
68
|
+
return `${paint(LEAD)}${left}${tail}`;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** Columns the right label costs, including its leading space and the trailer. */
|
|
72
|
+
function rightWidth(right: string | undefined): number {
|
|
73
|
+
return right === undefined ? 0 : 1 + visibleWidth(right) + TRAIL.length;
|
|
74
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/** Agent selection → readonly transcript navigation, adapted from
|
|
2
|
+
* gotgenes/pi-packages @ 52854c12d590142e61a4f6a6947be9084035300d,
|
|
3
|
+
* packages/pi-subagents/src/ui/session-navigator.ts (MIT).
|
|
4
|
+
* See provenance/agent-browser-reuse.json and licenses/pi-subagents-MIT.txt.
|
|
5
|
+
*
|
|
6
|
+
* Cadence supplies entries rather than the upstream manager/file readers.
|
|
7
|
+
* The upstream TranscriptPane and TranscriptContent own the reading experience;
|
|
8
|
+
* Pi's SelectList replaces ui.select so a live list retains selection by id and
|
|
9
|
+
* Esc returns to that same list without starting another modal interaction. */
|
|
10
|
+
import {
|
|
11
|
+
getMarkdownTheme,
|
|
12
|
+
type KeybindingsManager,
|
|
13
|
+
type Theme,
|
|
14
|
+
} from "@earendil-works/pi-coding-agent";
|
|
15
|
+
import {
|
|
16
|
+
type Component,
|
|
17
|
+
isKeyRelease,
|
|
18
|
+
SelectList,
|
|
19
|
+
type TUI,
|
|
20
|
+
type TuiMouseEvent,
|
|
21
|
+
truncateToWidth,
|
|
22
|
+
} from "@earendil-works/pi-tui";
|
|
23
|
+
import { labeledRule } from "./labeled-rule.ts";
|
|
24
|
+
import type { BrowserSource, NavigationEntry } from "./source.ts";
|
|
25
|
+
import {
|
|
26
|
+
type ReadingPosition,
|
|
27
|
+
TranscriptPane,
|
|
28
|
+
VIEWPORT_HEIGHT_PCT,
|
|
29
|
+
} from "./transcript-pane.ts";
|
|
30
|
+
|
|
31
|
+
export class SessionNavigator implements Component {
|
|
32
|
+
readonly capturesViewportInput = true;
|
|
33
|
+
selected: string | undefined;
|
|
34
|
+
viewing: string | undefined;
|
|
35
|
+
private list: SelectList | undefined;
|
|
36
|
+
private pane: TranscriptPane | undefined;
|
|
37
|
+
private entries: NavigationEntry[] = [];
|
|
38
|
+
private signature = "";
|
|
39
|
+
private disposed = false;
|
|
40
|
+
private readonly unsubscribe: () => void;
|
|
41
|
+
|
|
42
|
+
constructor(
|
|
43
|
+
private readonly tui: TUI,
|
|
44
|
+
private readonly theme: Theme,
|
|
45
|
+
private readonly keys: Pick<KeybindingsManager, "matches" | "getKeys">,
|
|
46
|
+
private readonly source: BrowserSource,
|
|
47
|
+
private readonly cwd: string,
|
|
48
|
+
private readonly positions: Map<string, ReadingPosition>,
|
|
49
|
+
private readonly done: () => void,
|
|
50
|
+
) {
|
|
51
|
+
this.unsubscribe = source.subscribe(() => {
|
|
52
|
+
if (!this.disposed) this.tui.requestRender();
|
|
53
|
+
});
|
|
54
|
+
this.refresh();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
private refresh(): void {
|
|
58
|
+
const entries = this.source.entries();
|
|
59
|
+
const maxRows = Math.max(
|
|
60
|
+
1,
|
|
61
|
+
Math.min(
|
|
62
|
+
10,
|
|
63
|
+
Math.floor((this.tui.terminal.rows * VIEWPORT_HEIGHT_PCT) / 100) - 3,
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
const signature = JSON.stringify([
|
|
67
|
+
maxRows,
|
|
68
|
+
entries.map(({ id, label }) => [id, label]),
|
|
69
|
+
]);
|
|
70
|
+
if (this.signature === signature) return;
|
|
71
|
+
this.signature = signature;
|
|
72
|
+
this.entries = entries;
|
|
73
|
+
const index = Math.max(
|
|
74
|
+
0,
|
|
75
|
+
entries.findIndex((entry) => entry.id === this.selected),
|
|
76
|
+
);
|
|
77
|
+
this.selected = entries[index]?.id;
|
|
78
|
+
this.list = new SelectList(
|
|
79
|
+
entries.map(({ id, label }) => ({ value: id, label })),
|
|
80
|
+
maxRows,
|
|
81
|
+
{
|
|
82
|
+
selectedPrefix: (text) => this.theme.fg("accent", text),
|
|
83
|
+
selectedText: (text) => this.theme.inverse(text),
|
|
84
|
+
description: (text) => this.theme.fg("muted", text),
|
|
85
|
+
scrollInfo: (text) => this.theme.fg("dim", text),
|
|
86
|
+
noMatch: (text) => this.theme.fg("dim", text),
|
|
87
|
+
},
|
|
88
|
+
);
|
|
89
|
+
this.list.setSelectedIndex(index);
|
|
90
|
+
this.list.onSelectionChange = (item) => {
|
|
91
|
+
this.selected = item.value;
|
|
92
|
+
};
|
|
93
|
+
this.list.onSelect = (item) => this.open(item.value);
|
|
94
|
+
this.list.onCancel = this.done;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
private open(id: string): void {
|
|
98
|
+
const entry = this.entries.find((candidate) => candidate.id === id);
|
|
99
|
+
if (!entry) return;
|
|
100
|
+
this.viewing = id;
|
|
101
|
+
let position = this.positions.get(id);
|
|
102
|
+
if (!position) {
|
|
103
|
+
position = { offset: 0, follow: true };
|
|
104
|
+
this.positions.set(id, position);
|
|
105
|
+
}
|
|
106
|
+
this.pane = new TranscriptPane({
|
|
107
|
+
tui: this.tui,
|
|
108
|
+
theme: this.theme,
|
|
109
|
+
keys: this.keys,
|
|
110
|
+
source: entry.source,
|
|
111
|
+
heading: entry.heading,
|
|
112
|
+
cwd: this.cwd,
|
|
113
|
+
position,
|
|
114
|
+
markdownTheme: getMarkdownTheme(),
|
|
115
|
+
done: () => {
|
|
116
|
+
this.pane?.dispose();
|
|
117
|
+
this.pane = undefined;
|
|
118
|
+
this.viewing = undefined;
|
|
119
|
+
this.source.view(null);
|
|
120
|
+
this.refresh();
|
|
121
|
+
this.tui.requestRender();
|
|
122
|
+
},
|
|
123
|
+
});
|
|
124
|
+
this.source.view(id);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
render(width: number): string[] {
|
|
128
|
+
this.refresh();
|
|
129
|
+
if (this.pane) {
|
|
130
|
+
try {
|
|
131
|
+
return this.pane.render(width);
|
|
132
|
+
} catch {
|
|
133
|
+
return [
|
|
134
|
+
truncateToWidth(
|
|
135
|
+
"Transcript could not be rendered · Esc returns to agents",
|
|
136
|
+
width,
|
|
137
|
+
),
|
|
138
|
+
];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (width < 6) return [truncateToWidth("Agents", width)];
|
|
142
|
+
const at = this.entries.findIndex((entry) => entry.id === this.selected);
|
|
143
|
+
return [
|
|
144
|
+
labeledRule(
|
|
145
|
+
width,
|
|
146
|
+
(text) => this.theme.fg("border", text),
|
|
147
|
+
["Agents"],
|
|
148
|
+
[`${at + 1} / ${this.entries.length}`],
|
|
149
|
+
),
|
|
150
|
+
...(this.list?.render(width) ?? []),
|
|
151
|
+
truncateToWidth(
|
|
152
|
+
this.theme.fg("dim", "↑↓ select · Enter view · Esc return to input"),
|
|
153
|
+
width,
|
|
154
|
+
),
|
|
155
|
+
];
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
handleInput(data: string): void {
|
|
159
|
+
if (isKeyRelease(data)) return;
|
|
160
|
+
if (this.pane) this.pane.handleInput(data);
|
|
161
|
+
else this.list?.handleInput(data);
|
|
162
|
+
this.tui.requestRender();
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
handleMouse(event: TuiMouseEvent) {
|
|
166
|
+
if (this.pane) return this.pane.handleMouse(event);
|
|
167
|
+
return this.list?.handleMouse({
|
|
168
|
+
...event,
|
|
169
|
+
y: event.y - 1,
|
|
170
|
+
height: Math.max(0, event.height - 2),
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
invalidate(): void {
|
|
175
|
+
this.signature = "";
|
|
176
|
+
this.list?.invalidate();
|
|
177
|
+
this.pane?.invalidate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
dispose(): void {
|
|
181
|
+
if (this.disposed) return;
|
|
182
|
+
this.disposed = true;
|
|
183
|
+
this.unsubscribe();
|
|
184
|
+
this.pane?.dispose();
|
|
185
|
+
this.source.view(null);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/** The upstream browser's readonly source seam, adapted to Cadence's bus.
|
|
2
|
+
* No manager, SDK session, filesystem path or execution operation crosses it. */
|
|
3
|
+
import type {
|
|
4
|
+
AgentSession,
|
|
5
|
+
Theme,
|
|
6
|
+
ToolDefinition,
|
|
7
|
+
} from "@earendil-works/pi-coding-agent";
|
|
8
|
+
import {
|
|
9
|
+
described,
|
|
10
|
+
factsText,
|
|
11
|
+
type SubagentState,
|
|
12
|
+
type SubagentStore,
|
|
13
|
+
} from "../agent-panel-model.ts";
|
|
14
|
+
|
|
15
|
+
export type SessionMessage = AgentSession["messages"][number];
|
|
16
|
+
export interface ModelIdentity {
|
|
17
|
+
provider: string;
|
|
18
|
+
id: string;
|
|
19
|
+
}
|
|
20
|
+
export interface EntryHeading {
|
|
21
|
+
name: string;
|
|
22
|
+
modeLabel: string | undefined;
|
|
23
|
+
description: string;
|
|
24
|
+
}
|
|
25
|
+
export interface TranscriptSource {
|
|
26
|
+
getMessages(): readonly SessionMessage[];
|
|
27
|
+
inFlight(): Extract<SessionMessage, { role: "assistant" }> | undefined;
|
|
28
|
+
subscribe(onChange: () => void): (() => void) | undefined;
|
|
29
|
+
streaming(): string | undefined;
|
|
30
|
+
notice(): string | undefined;
|
|
31
|
+
getToolDefinition(name: string): ToolDefinition | undefined;
|
|
32
|
+
sessionModel(): {
|
|
33
|
+
model: ModelIdentity | undefined;
|
|
34
|
+
thinkingLevel: Parameters<Theme["getThinkingBorderColor"]>[0] | undefined;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface NavigationEntry {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
heading: EntryHeading;
|
|
41
|
+
source: TranscriptSource;
|
|
42
|
+
}
|
|
43
|
+
export interface BrowserSource {
|
|
44
|
+
entries(): NavigationEntry[];
|
|
45
|
+
subscribe(changed: () => void): () => void;
|
|
46
|
+
view(id: string | null): void;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Keep the producer's message identities so the upstream content cache can
|
|
50
|
+
* append settled blocks without rebuilding earlier messages. */
|
|
51
|
+
function renderable(message: object): boolean {
|
|
52
|
+
const m = message as { role?: unknown; content?: unknown };
|
|
53
|
+
if (m.role === "user")
|
|
54
|
+
return (
|
|
55
|
+
typeof m.content === "string" ||
|
|
56
|
+
(Array.isArray(m.content) &&
|
|
57
|
+
m.content.every((block) => block && typeof block === "object"))
|
|
58
|
+
);
|
|
59
|
+
if (m.role === "toolResult") return Array.isArray(m.content);
|
|
60
|
+
if (m.role !== "assistant" || !Array.isArray(m.content)) return false;
|
|
61
|
+
return m.content.every(
|
|
62
|
+
(block) =>
|
|
63
|
+
block &&
|
|
64
|
+
typeof block === "object" &&
|
|
65
|
+
((block.type === "text" && typeof block.text === "string") ||
|
|
66
|
+
(block.type === "thinking" && typeof block.thinking === "string") ||
|
|
67
|
+
(block.type === "toolCall" &&
|
|
68
|
+
typeof block.name === "string" &&
|
|
69
|
+
typeof block.id === "string")),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function transcriptSource(
|
|
74
|
+
store: SubagentStore,
|
|
75
|
+
agent: SubagentState,
|
|
76
|
+
): TranscriptSource {
|
|
77
|
+
let revision = -1;
|
|
78
|
+
let messages: SessionMessage[] = [];
|
|
79
|
+
let partial: Extract<SessionMessage, { role: "assistant" }> | undefined;
|
|
80
|
+
const refresh = () => {
|
|
81
|
+
if (revision === agent.revision) return;
|
|
82
|
+
revision = agent.revision;
|
|
83
|
+
const visible = agent.messages.filter(renderable) as SessionMessage[];
|
|
84
|
+
const tail = visible.at(-1);
|
|
85
|
+
// The feed replaces a streaming snapshot rather than emitting SDK deltas.
|
|
86
|
+
// Keep it out of settled history so the upstream cache only repaints the
|
|
87
|
+
// live tail. Clone it because a producer may mutate that snapshot in place.
|
|
88
|
+
partial =
|
|
89
|
+
agent.streaming &&
|
|
90
|
+
tail === agent.messages.at(-1) &&
|
|
91
|
+
tail?.role === "assistant"
|
|
92
|
+
? { ...tail }
|
|
93
|
+
: undefined;
|
|
94
|
+
messages = partial ? visible.slice(0, -1) : visible;
|
|
95
|
+
if (agent.streaming && !partial && tail)
|
|
96
|
+
messages[messages.length - 1] = { ...tail };
|
|
97
|
+
};
|
|
98
|
+
return {
|
|
99
|
+
getMessages() {
|
|
100
|
+
refresh();
|
|
101
|
+
return messages;
|
|
102
|
+
},
|
|
103
|
+
inFlight() {
|
|
104
|
+
refresh();
|
|
105
|
+
return partial;
|
|
106
|
+
},
|
|
107
|
+
subscribe: (changed) => {
|
|
108
|
+
let seenRevision = agent.revision;
|
|
109
|
+
let seenStatus = agent.status;
|
|
110
|
+
let seenActivity = agent.activity;
|
|
111
|
+
return store.subscribe(() => {
|
|
112
|
+
if (
|
|
113
|
+
seenRevision === agent.revision &&
|
|
114
|
+
seenStatus === agent.status &&
|
|
115
|
+
seenActivity === agent.activity
|
|
116
|
+
)
|
|
117
|
+
return;
|
|
118
|
+
seenRevision = agent.revision;
|
|
119
|
+
seenStatus = agent.status;
|
|
120
|
+
seenActivity = agent.activity;
|
|
121
|
+
changed();
|
|
122
|
+
});
|
|
123
|
+
},
|
|
124
|
+
streaming: () =>
|
|
125
|
+
agent.status === "running" ? agent.activity || "Working" : undefined,
|
|
126
|
+
notice: () =>
|
|
127
|
+
agent.omitted
|
|
128
|
+
? `… ${agent.omitted} earlier messages not retained; see /cadence-history`
|
|
129
|
+
: !agent.messages.length
|
|
130
|
+
? "No retained messages observed yet"
|
|
131
|
+
: undefined,
|
|
132
|
+
getToolDefinition: () => undefined,
|
|
133
|
+
// The feed records no model or thinking evidence: do not borrow the parent's.
|
|
134
|
+
sessionModel: () => ({ model: undefined, thinkingLevel: undefined }),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function cadenceBrowserSource(
|
|
139
|
+
store: SubagentStore,
|
|
140
|
+
view: (id: string | null) => void,
|
|
141
|
+
now: () => number,
|
|
142
|
+
): BrowserSource {
|
|
143
|
+
const sources = new Map<string, TranscriptSource>();
|
|
144
|
+
return {
|
|
145
|
+
entries: () => {
|
|
146
|
+
for (const id of sources.keys()) if (!store.get(id)) sources.delete(id);
|
|
147
|
+
return store.ordered().map((agent) => {
|
|
148
|
+
let source = sources.get(agent.id);
|
|
149
|
+
if (!source) {
|
|
150
|
+
source = transcriptSource(store, agent);
|
|
151
|
+
sources.set(agent.id, source);
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
id: agent.id,
|
|
155
|
+
label: `${described(agent)} · ${agent.status} · ${factsText(agent, now())}`,
|
|
156
|
+
heading: {
|
|
157
|
+
name: agent.label,
|
|
158
|
+
modeLabel: agent.kind,
|
|
159
|
+
get description() {
|
|
160
|
+
return agent.status;
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
source,
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
},
|
|
167
|
+
subscribe: (changed) => store.subscribe(changed),
|
|
168
|
+
view,
|
|
169
|
+
};
|
|
170
|
+
}
|