aboutsummaryrefslogtreecommitdiff
path: root/src/domains
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmail.com>2026-07-28 20:34:49 +0530
committerAman Kumar <145339995+amankumarsingh77@users.noreply.github.com>2026-08-02 19:12:46 +0530
commita9bdbd8590801cd9c2fa0cda6203948ac19a779c (patch)
tree060ced4709815f9415fc1172842ed25d97de545f /src/domains
parent34e5cfdcbe29bbb5f2f46ba54eb67903abd9274d (diff)
refactor: tidy the whitespace the comment removal left behind
Drops leading blank lines where a file header was removed, collapses double blank lines, and closes the empty catch/handler blocks whose only content had been a comment. Whitespace only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'src/domains')
-rw-r--r--src/domains/readpage/capture.ts1
-rw-r--r--src/domains/readpage/readability.ts1
-rw-r--r--src/domains/search/extract.ts1
-rw-r--r--src/domains/search/google-serp.ts1
-rw-r--r--src/domains/setup.ts1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/domains/readpage/capture.ts b/src/domains/readpage/capture.ts
index cf9d055..b0b7ae0 100644
--- a/src/domains/readpage/capture.ts
+++ b/src/domains/readpage/capture.ts
@@ -1,4 +1,3 @@
-
const BODY_TEXT_LIMIT = 20_000;
export const buildPageCaptureExpr = (): string => `
diff --git a/src/domains/readpage/readability.ts b/src/domains/readpage/readability.ts
index b20cacd..32413e6 100644
--- a/src/domains/readpage/readability.ts
+++ b/src/domains/readpage/readability.ts
@@ -1,4 +1,3 @@
-
export type ContentBlock = {
readonly kind: "paragraph" | "heading" | "listitem" | "blockquote" | "other";
readonly text: string;
diff --git a/src/domains/search/extract.ts b/src/domains/search/extract.ts
index 05ee182..4d9e892 100644
--- a/src/domains/search/extract.ts
+++ b/src/domains/search/extract.ts
@@ -1,4 +1,3 @@
-
const PAGE_TEXT_LIMIT = 4000;
export const buildSerpExtractionExpr = (): string => `
diff --git a/src/domains/search/google-serp.ts b/src/domains/search/google-serp.ts
index 4b8a319..bfeb1e7 100644
--- a/src/domains/search/google-serp.ts
+++ b/src/domains/search/google-serp.ts
@@ -1,4 +1,3 @@
-
export type SerpAnchor = {
readonly href: string;
readonly heading: string;
diff --git a/src/domains/setup.ts b/src/domains/setup.ts
index 21fa3b3..9291431 100644
--- a/src/domains/setup.ts
+++ b/src/domains/setup.ts
@@ -1,4 +1,3 @@
-
import { Type } from "typebox";
import { Text } from "@mariozechner/pi-tui";
import type { Result } from "../util/result";