mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-05 23:06:17 +01:00
## Thinking Path > - Paperclip manages work performed by AI agents. > - Task monitors schedule later checks. > - A saved schedule can remain present during a new run. > - The UI calls that state a wait even while the agent works. > - This change gives the current run priority over monitor notices. > - Users see the monitor again after the run ends. ## Linked Issues or Issue Description Refs #19519, which added the active-run wait message. This change removes that message during execution. Searches found no open duplicate, and the roadmap has no overlapping item. The small SSH fixture repair below addresses a CI regression introduced on master by #14309. **What happened?** A task showed a running agent and a monitor waiting notice at the same time. The notice said the agent was waiting or saving work, based only on the presence of a run. **Expected behavior** Show the current run without monitor waiting notices. Keep the saved schedule. Restore both monitor surfaces after execution ends, if the monitor remains scheduled. **Steps to reproduce** 1. Schedule a task monitor. 2. Start a run on the same task before its next check. 3. Inspect the task banner and composer while the run works. 4. End the run and confirm the retained monitor appears again. **Paperclip version or commit** Reproduced against master atdfe392dadawith mounted production components. **Deployment mode** Source checkout on macOS arm64 with Node v25.6.1. Browser checks use disposable local servers. No deployment is part of this PR. ## What Changed - Hide the banner and composer monitor notice while a task run is queued or running. Use the existing live-run state; add no request. - Restore countdowns, PR review links, and check controls after execution ends. Keep workspace and usage retry waits visible. - Add mounted regressions for future, due-now, overdue, review, and retry states. Update the product and monitor documentation. - Pass the stdin command envelope to the new dash SSH test from master. This one-line repair changes only its test input. - Make the connection-review race fixture drop exactly one initial interaction snapshot, through either bootstrap or the standalone endpoint. Preserve all other bootstrap data and keep dropping the live creation event. Keep the approval assertions, timeouts, and retry settings unchanged. ## Verification Current head: `cfdbbb22839`. - Red-green: four new monitor regression cases failed against the original implementation, then passed with the fix. - From ui/: `pnpm exec vitest run src/components/IssueMonitorBanner.test.tsx src/lib/issue-monitor.test.tsx src/pages/IssueDetail.agentChatPanel.test.tsx src/pages/IssueDetail.mobile.test.tsx` passes: 44 tests in four files, including after the master merge. - UI and adapter-utils typechecks pass. `git diff --check` passes. - The new monitor transition test initially crossed a real countdown boundary. Its clock is now fixed. The fresh worktree initially lacked plugin SDK declarations; building them restored the UI typecheck. - The focused dash regression reproduced CI exit 125 without stdin. Passing `target.stdinPrefix` makes it pass. No SSH runtime code changed. - Both stale chat-settings grant/revocation cases pass locally with two Chromium workers. The original [e2e shard 13 failure](https://github.com/paperclipai/paperclip/actions/runs/47463601089/job/145495043379) remains unexplained; the same shard passed in the next CI run without a settings change. - The connection-review decline journey passes in Chromium with trace capture: `PAPERCLIP_E2E_PORT=43984 PAPERCLIP_E2E_SKIP_UI_BUILD=1 pnpm exec playwright test --config tests/e2e/playwright.config.ts tests/e2e/connection-reviews.spec.ts --grep 'connection review: decline' --workers=1 --trace=on --reporter=line --output=<scratch>`. E2E test-project typecheck also passes. - Before that fixture repair, the local trace shows bootstrap at 02:08:50, an empty first recovery poll at 02:09:11, and the review arriving on the second poll at 02:09:31. The corrected trace shows bootstrap at 02:10:29 and the review on the first poll at 02:10:50. The original fixture was consuming a recovery read rather than the initial snapshot. The complete decline and continuation assertions pass with the correction. - The [first CI run](https://github.com/paperclipai/paperclip/actions/runs/47463601089) failed in the SSH fixture and the chat-settings case. The [second run one9fced7](https://github.com/paperclipai/paperclip/actions/runs/47464395894) passed all general tests, build, typecheck, Runner checks, and 15 browser shards. Its [connection-review failure](https://github.com/paperclipai/paperclip/actions/runs/47464395894/job/145499941920) is addressed by the fixture correction above. These original failures remain part of the evidence; later passes do not erase them. - Greptile scored the current headcfdbbb2283at 5/5 with no actionable findings or open threads. Required CI passes on this head. - The token scan reports three existing violations: two task-number strings in transcript-adapter.test.ts and one grid class in AdapterLoginChrome.tsx. Those files and the scanner match the base branch. This PR adds no visual values. - Broad local selection was inspected with `pnpm verify --explain`; that command did not execute the selected suite. Final CI supplies the broader coverage. Added lines and PR text were scanned for secrets, private endpoints, personal data, and run artifacts before push. Final qualification forcfdbbb2283: - [Final CI run](https://github.com/paperclipai/paperclip/actions/runs/47466120239): 80 successful checks and four skipped checks, with no failures or pending checks. Both required aggregates, ci / verify and ci / e2e, pass. All 16 browser shards pass, including the repaired connection-review journey. - Greptile's completed check and 5/5 summary both name this exact head. No review comments or unresolved threads remain. - GitHub reports MERGEABLE and CLEAN against master. The worktree is clean. This PR is ready to merge; it has not been merged or deployed. ## Risks Low risk. Delayed live-run query updates can briefly delay notice transitions. PR review links inside these notices are hidden during execution and return afterward. The two CI repairs affect test fixtures only. Schedules, execution admission, ownership, authorization, approval behavior, and schema stay unchanged. Required CI passes on this head. ## Model Used OpenAI Codex, gpt-6.1-sol, with xhigh reasoning effort, repository inspection, code editing, shell tools, and test execution. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [x] All Paperclip CI gates are green - [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge --------- Co-authored-by: Paperclip <noreply@paperclip.ing>
367 lines
14 KiB
TypeScript
367 lines
14 KiB
TypeScript
import { useMemo, useState } from "react";
|
|
import { Clock, X } from "lucide-react";
|
|
import type { Issue, IssueWorkProduct } from "@paperclipai/shared";
|
|
|
|
import { Button } from "@/components/ui/button";
|
|
import {
|
|
AlertDialog,
|
|
AlertDialogTrigger,
|
|
AlertDialogContent,
|
|
AlertDialogHeader,
|
|
AlertDialogTitle,
|
|
AlertDialogDescription,
|
|
AlertDialogFooter,
|
|
AlertDialogCancel,
|
|
} from "@/components/ui/alert-dialog";
|
|
import { InlineBanner } from "@/components/InlineBanner";
|
|
import { IssuePullRequestLinks } from "@/components/IssuePullRequestLinks";
|
|
import { getIssuePullRequests, pullRequestNeedsReview } from "@/lib/issue-pull-requests";
|
|
import { cn } from "@/lib/utils";
|
|
import {
|
|
areAutomaticMonitorChecksPaused,
|
|
canCheckIssueMonitorNow,
|
|
deriveMonitorState,
|
|
formatMonitorAbsolute,
|
|
formatMonitorEta,
|
|
useMonitorCountdown,
|
|
type DerivedMonitorState,
|
|
type MonitorDisplayState,
|
|
} from "@/lib/issue-monitor";
|
|
|
|
/** Matches the `Date | string` inputs accepted by the issue-monitor helpers. */
|
|
type MonitorDate = Date | string;
|
|
|
|
/**
|
|
* States in which the waiting-monitor surfaces (top banner + composer strip)
|
|
* are shown. `cleared` and `none` hide both surfaces entirely — see
|
|
* wireframe 04 (PAP-14557).
|
|
*/
|
|
const WAITING_STATES: readonly MonitorDisplayState[] = [
|
|
"scheduled",
|
|
"retrying",
|
|
"due-now",
|
|
"overdue",
|
|
];
|
|
|
|
export function isWaitingMonitorState(state: MonitorDisplayState): boolean {
|
|
return WAITING_STATES.includes(state);
|
|
}
|
|
|
|
export function hasVisibleMonitorSurface(issue: Issue, hasActiveRun = false): boolean {
|
|
const derived = deriveMonitorState(issue);
|
|
return isWaitingMonitorState(derived.state) && derived.nextCheckAt !== null
|
|
&& !(derived.source === "monitor" && hasActiveRun);
|
|
}
|
|
|
|
export interface MonitorSurfaceCopy {
|
|
/** Prominent lead for the top banner, e.g. "Waiting on monitor — resumes in 2h 12m". */
|
|
bannerTitle: string;
|
|
/** Prominent lead for the composer strip, e.g. "Resumes in 2h 12m". */
|
|
stripTitle: string;
|
|
/** Muted detail line for the banner (absolute time carries a "(your time)" hint). */
|
|
bannerMeta: string[];
|
|
/** Muted detail line for the composer strip. */
|
|
stripMeta: string[];
|
|
/** Optional state-specific hint rendered beneath the strip metadata inside the left column. */
|
|
stripHint?: string;
|
|
/** `warning` (amber) once overdue, `info` (blue) while still on schedule. */
|
|
tone: "info" | "warning";
|
|
workspaceWait?: boolean;
|
|
pullRequestReview?: boolean;
|
|
checkUnavailable?: boolean;
|
|
}
|
|
|
|
function capitalize(value: string): string {
|
|
return value.length === 0 ? value : `${value.charAt(0).toUpperCase()}${value.slice(1)}`;
|
|
}
|
|
|
|
/**
|
|
* Pure copy builder shared by the banner and the composer strip so both
|
|
* surfaces render one consistent copy system (see wireframe 04). Kept free of
|
|
* hooks/`Date.now()` so it is deterministic under test.
|
|
*/
|
|
export function buildMonitorSurfaceCopy(
|
|
derived: DerivedMonitorState,
|
|
now: MonitorDate,
|
|
scheduledRetryReason?: string | null,
|
|
pendingPullRequestReviews = 0,
|
|
issueStatus?: string,
|
|
hasActiveRun = false,
|
|
): MonitorSurfaceCopy | null {
|
|
if (!isWaitingMonitorState(derived.state) || !derived.nextCheckAt) return null;
|
|
if (derived.source === "monitor" && hasActiveRun) return null;
|
|
|
|
if (derived.source === "monitor" && areAutomaticMonitorChecksPaused({ status: issueStatus })) {
|
|
const canCheckNow = canCheckIssueMonitorNow({ status: issueStatus }, derived.serviceName);
|
|
const hint = canCheckNow
|
|
? "This task is blocked. You can ask the agent to check now."
|
|
: "Resume this task to continue checking.";
|
|
return {
|
|
bannerTitle: "Automatic checks paused",
|
|
stripTitle: "Automatic checks paused",
|
|
bannerMeta: [hint],
|
|
stripMeta: [hint],
|
|
tone: "info",
|
|
checkUnavailable: !canCheckNow,
|
|
};
|
|
}
|
|
|
|
if (derived.source === "scheduled-retry" && scheduledRetryReason === "environment_provider_wait") {
|
|
return {
|
|
bannerTitle: "Waiting for the sandbox provider",
|
|
stripTitle: "Waiting for the sandbox provider",
|
|
bannerMeta: ["The sandbox provider is unavailable. Work continues automatically when it is back."],
|
|
stripMeta: ["Work continues automatically when the sandbox provider is back."],
|
|
stripHint: "You can keep sending instructions while the agent waits.",
|
|
tone: "info",
|
|
workspaceWait: true,
|
|
};
|
|
}
|
|
|
|
if (derived.source === "scheduled-retry" && scheduledRetryReason === "workspace_busy") {
|
|
return {
|
|
bannerTitle: "Waiting for workspace",
|
|
stripTitle: "Waiting for workspace",
|
|
bannerMeta: ["Another task is using this workspace. Work starts automatically when it is available."],
|
|
stripMeta: ["Work starts automatically when the workspace is available."],
|
|
stripHint: "You can keep sending instructions while the agent waits.",
|
|
tone: "info",
|
|
workspaceWait: true,
|
|
};
|
|
}
|
|
|
|
const eta = formatMonitorEta(derived.nextCheckAt, now); // "in 2h 12m" | "due now" | "overdue by 18m"
|
|
const absolute = formatMonitorAbsolute(derived.nextCheckAt, {}, now); // local time, e.g. "Today, 4:08 PM"
|
|
const awaitingPullRequestReview = derived.source === "monitor" && derived.serviceName?.toLowerCase() === "github" && pendingPullRequestReviews > 0;
|
|
if (awaitingPullRequestReview) {
|
|
return {
|
|
bannerTitle: "Pull request review requested",
|
|
stripTitle: "Pull request review requested",
|
|
bannerMeta: [`Next check ${eta} · ${absolute} (your time)`],
|
|
stripMeta: [`Next check ${eta} · ${absolute}`],
|
|
stripHint: "Review on GitHub, then check status to have the agent verify the result.",
|
|
tone: derived.state === "overdue" ? "warning" : "info",
|
|
pullRequestReview: true,
|
|
};
|
|
}
|
|
if (derived.source === "scheduled-retry" && scheduledRetryReason === "ai_connection_pool_wait") {
|
|
return {
|
|
bannerTitle: "Pool exhausted",
|
|
stripTitle: "Pool exhausted",
|
|
bannerMeta: [`Usage recheck ${eta} · ${absolute} (your time)`, "Tasks with a selected account keep it while waiting. Work resumes when usage permits or the agent uses a different account."],
|
|
stripMeta: [`Usage recheck ${eta} · ${absolute}`, "Tasks with a selected account keep it while waiting."],
|
|
stripHint: "Sending a reply checks usage again now. The agent starts as soon as usage is available.",
|
|
tone: "info",
|
|
};
|
|
}
|
|
|
|
const isScheduledRetryOnly = derived.source === "scheduled-retry";
|
|
|
|
let bannerTitle: string;
|
|
let stripTitle: string;
|
|
let statusHint: string | null = null;
|
|
switch (derived.state) {
|
|
case "scheduled":
|
|
case "retrying":
|
|
bannerTitle = isScheduledRetryOnly ? `Agent resumes ${eta}` : `Waiting on monitor — resumes ${eta}`;
|
|
stripTitle = `Resumes ${eta}`;
|
|
break;
|
|
case "due-now":
|
|
bannerTitle = isScheduledRetryOnly ? "Agent retry due now" : "Waiting on monitor — due now";
|
|
stripTitle = "Due now";
|
|
statusHint = "Checking momentarily…";
|
|
break;
|
|
case "overdue":
|
|
default:
|
|
bannerTitle = isScheduledRetryOnly ? `Agent retry ${eta}` : `Waiting on monitor — ${eta}`;
|
|
stripTitle = capitalize(eta);
|
|
statusHint = "Fires on next tick";
|
|
break;
|
|
}
|
|
|
|
const attemptLabel = derived.attemptCount >= 1 ? `Attempt ${derived.attemptCount}` : null;
|
|
const serviceLabel = derived.serviceName ? `Watching: ${derived.serviceName}` : null;
|
|
|
|
const bannerMeta = [statusHint, `${absolute} (your time)`, attemptLabel, serviceLabel].filter(
|
|
(piece): piece is string => Boolean(piece),
|
|
);
|
|
const stripMeta = [statusHint, absolute, attemptLabel, serviceLabel].filter(
|
|
(piece): piece is string => Boolean(piece),
|
|
);
|
|
|
|
return {
|
|
bannerTitle,
|
|
stripTitle,
|
|
bannerMeta,
|
|
stripMeta,
|
|
tone: derived.state === "overdue" ? "warning" : "info",
|
|
};
|
|
}
|
|
|
|
function useMonitorSurfaceCopy(issue: Issue, pendingPullRequestReviews: number, hasActiveRun: boolean): MonitorSurfaceCopy | null {
|
|
// `nextCheckAt` is stable for a given issue; derive once to seed the ticking
|
|
// countdown cadence, then re-derive against the live clock so the surfaces
|
|
// roll scheduled → due → overdue on their own.
|
|
const nextCheckAt = useMemo(() => {
|
|
const derived = deriveMonitorState(issue);
|
|
return derived.source === "monitor" && areAutomaticMonitorChecksPaused(issue) ? null : derived.nextCheckAt;
|
|
}, [issue]);
|
|
const now = useMonitorCountdown(nextCheckAt);
|
|
return useMemo(() => buildMonitorSurfaceCopy(deriveMonitorState(issue, now), now, issue.scheduledRetry?.scheduledRetryReason, pendingPullRequestReviews, issue.status, hasActiveRun), [issue, now, pendingPullRequestReviews, hasActiveRun]);
|
|
}
|
|
|
|
function CheckNowButton({
|
|
onCheckNow,
|
|
checkingNow,
|
|
reviewRequested = false,
|
|
}: {
|
|
onCheckNow: () => void;
|
|
checkingNow: boolean;
|
|
reviewRequested?: boolean;
|
|
}) {
|
|
return (
|
|
<Button
|
|
type="button"
|
|
variant="outline"
|
|
size="sm"
|
|
className="shrink-0 shadow-none"
|
|
onClick={onCheckNow}
|
|
disabled={checkingNow}
|
|
>
|
|
{checkingNow ? "Checking…" : reviewRequested ? "Check status" : "Check now"}
|
|
</Button>
|
|
);
|
|
}
|
|
|
|
function CancelMonitorButton({ onCancel }: { onCancel: () => Promise<unknown> }) {
|
|
const [open, setOpen] = useState(false);
|
|
const [pending, setPending] = useState(false);
|
|
const [error, setError] = useState<string | null>(null);
|
|
const cancel = async () => {
|
|
setPending(true);
|
|
setError(null);
|
|
try {
|
|
await onCancel();
|
|
setOpen(false);
|
|
} catch (err) {
|
|
setError(err instanceof Error ? err.message : "Unable to cancel the monitor. Try again.");
|
|
} finally {
|
|
setPending(false);
|
|
}
|
|
};
|
|
return (
|
|
<AlertDialog open={open} onOpenChange={(next) => { if (!pending) { setOpen(next); setError(null); } }}>
|
|
<AlertDialogTrigger asChild>
|
|
<Button type="button" variant="ghost" size="icon" className="absolute right-2 top-2" aria-label="Cancel monitor" title="Cancel monitor">
|
|
<X className="h-4 w-4" aria-hidden="true" />
|
|
</Button>
|
|
</AlertDialogTrigger>
|
|
<AlertDialogContent>
|
|
<AlertDialogHeader>
|
|
<AlertDialogTitle>Cancel monitor?</AlertDialogTitle>
|
|
<AlertDialogDescription>This removes the scheduled monitor check. The agent will no longer resume from this monitor. You can send a message to continue the task.</AlertDialogDescription>
|
|
</AlertDialogHeader>
|
|
{error ? <p role="alert" className="text-sm text-destructive">{error}</p> : null}
|
|
<AlertDialogFooter>
|
|
<AlertDialogCancel disabled={pending}>Keep monitor</AlertDialogCancel>
|
|
<Button type="button" variant="destructive" disabled={pending} onClick={() => void cancel()}>{pending ? "Cancelling…" : "Cancel monitor"}</Button>
|
|
</AlertDialogFooter>
|
|
</AlertDialogContent>
|
|
</AlertDialog>
|
|
);
|
|
}
|
|
|
|
export interface IssueMonitorSurfaceProps {
|
|
issue: Issue;
|
|
hasActiveRun?: boolean;
|
|
onCheckNow?: (() => void) | null;
|
|
checkingNow?: boolean;
|
|
workProducts?: IssueWorkProduct[] | null;
|
|
checkError?: string | null;
|
|
onCancelMonitor?: (() => Promise<unknown>) | null;
|
|
}
|
|
|
|
/**
|
|
* Pinned banner rendered between the issue title and description while a
|
|
* monitor is waiting. Replaces the description-area "Monitor scheduled" card
|
|
* for the waiting state (PAP-14557 decision 1) — the two never render at once.
|
|
*/
|
|
export function IssueMonitorBanner({
|
|
issue,
|
|
hasActiveRun = false,
|
|
onCheckNow = null,
|
|
checkingNow = false,
|
|
workProducts,
|
|
checkError,
|
|
onCancelMonitor,
|
|
}: IssueMonitorSurfaceProps) {
|
|
const reviews = getIssuePullRequests(workProducts).filter(pullRequestNeedsReview);
|
|
const copy = useMonitorSurfaceCopy(issue, reviews.length, hasActiveRun);
|
|
if (!copy) return null;
|
|
|
|
// A busy workspace is a transient system wait the user cannot act on. It stays
|
|
// a quiet status (composer strip, properties row), never a pinned notice.
|
|
if (copy.workspaceWait) return null;
|
|
|
|
const canCancel = onCancelMonitor && deriveMonitorState(issue).source === "monitor";
|
|
|
|
return (
|
|
<InlineBanner
|
|
tone={copy.tone}
|
|
icon={Clock}
|
|
title={copy.bannerTitle}
|
|
className={cn("relative my-3 sm:items-center", canCancel && "pr-12")}
|
|
actions={onCheckNow && !copy.workspaceWait && !copy.checkUnavailable ? <CheckNowButton onCheckNow={onCheckNow} checkingNow={checkingNow} reviewRequested={copy.pullRequestReview} /> : null}
|
|
>
|
|
{canCancel ? <CancelMonitorButton key={issue.id} onCancel={onCancelMonitor} /> : null}
|
|
<div className="flex flex-col gap-2">
|
|
{copy.pullRequestReview ? <IssuePullRequestLinks products={reviews} /> : null}
|
|
<span>{copy.bannerMeta.join(" · ")}</span>
|
|
{checkError ? <p role="alert">{checkError}</p> : null}
|
|
</div>
|
|
</InlineBanner>
|
|
);
|
|
}
|
|
|
|
/**
|
|
* Slim, inline (not sticky) strip anchored directly above the reply composer.
|
|
* Mirrors the banner's monitor state.
|
|
*/
|
|
export function IssueMonitorComposerStrip({
|
|
issue,
|
|
hasActiveRun = false,
|
|
onCheckNow = null,
|
|
checkingNow = false,
|
|
workProducts,
|
|
checkError,
|
|
className,
|
|
}: IssueMonitorSurfaceProps & { className?: string }) {
|
|
const reviews = getIssuePullRequests(workProducts).filter(pullRequestNeedsReview);
|
|
const copy = useMonitorSurfaceCopy(issue, reviews.length, hasActiveRun);
|
|
if (!copy) return null;
|
|
|
|
return (
|
|
<div
|
|
role="note"
|
|
data-testid="issue-monitor-composer-strip"
|
|
className={cn("flex flex-col gap-1.5 rounded-lg border border-border bg-muted/30 px-3 py-2", className)}
|
|
>
|
|
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
|
|
<div className="flex min-w-0 flex-col gap-1.5">
|
|
<div className="flex min-w-0 items-start gap-2">
|
|
<Clock className={cn("mt-0.5 h-4 w-4 shrink-0", issue.displayStatus === "monitoring" ? "text-(--status-task-icon-monitoring)" : "text-muted-foreground")} aria-hidden="true" />
|
|
<div className="flex min-w-0 flex-col gap-2">
|
|
<div className="text-sm font-medium text-foreground">{copy.stripTitle}</div>
|
|
{copy.pullRequestReview ? <IssuePullRequestLinks products={reviews} /> : null}
|
|
<div className="text-xs text-muted-foreground">{copy.stripMeta.join(" · ")}</div>
|
|
</div>
|
|
</div>
|
|
{copy.stripHint ? <p className="text-xs text-muted-foreground">{copy.stripHint}</p> : null}
|
|
</div>
|
|
{onCheckNow && !copy.workspaceWait && !copy.checkUnavailable ? <CheckNowButton onCheckNow={onCheckNow} checkingNow={checkingNow} reviewRequested={copy.pullRequestReview} /> : null}
|
|
</div>
|
|
{checkError ? <p role="alert" className="text-sm text-destructive">{checkError}</p> : null}
|
|
</div>
|
|
);
|
|
}
|