Skip to content

Commit 412fdbc

Browse files
committed
Removed unused code and console logs
1 parent 48384a7 commit 412fdbc

45 files changed

Lines changed: 4 additions & 4047 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

claude-agent-github-wiki/.env.example

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,3 @@ TRIGGER_SECRET_KEY=your_secret_key
66
# Claude API Key
77
# Get from https://console.anthropic.com
88
ANTHROPIC_API_KEY=your_anthropic_api_key
9-
10-
# Supabase Configuration
11-
# Get these from your Supabase project settings
12-
# https://app.supabase.com/project/_/settings/api
13-
SUPABASE_URL=your_supabase_project_url
14-
15-
# Public Supabase keys (safe to expose, used by both frontend and backend)
16-
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url # Same as SUPABASE_URL
17-
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your_supabase_publishable_key # Publishable key for Realtime broadcasts (both client & server use this for listening)
18-
19-
# Optional: Only needed if sending broadcasts FROM the backend (not used in this app)
20-
# SUPABASE_SECRET_KEY=your_secret_key # Secret key - only for sending broadcasts from trusted server

claude-agent-github-wiki/app/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const exampleRepos = [
5353
url: "https://github.com/microsoft/vscode",
5454
description: "GitHub repository for VS Code",
5555
stars: "158k",
56-
warning: true, // Large repo
5756
},
5857
];
5958

claude-agent-github-wiki/app/response/[runId]/page.tsx

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,6 @@ export default function ResponsePage() {
4646
throttleInMs: 50,
4747
});
4848

49-
// Debug logging
50-
console.log("[Frontend] Stream state:", {
51-
runId,
52-
accessToken: accessToken ? "present" : "missing",
53-
partsLength: parts?.length || 0,
54-
streamError: streamError?.message,
55-
runStatus: run?.status,
56-
});
57-
58-
// Log when parts change
59-
if (parts && parts.length > 0) {
60-
console.log(
61-
`[Frontend] Received ${parts.length} parts, latest:`,
62-
parts[parts.length - 1]?.slice(0, 100)
63-
);
64-
}
65-
6649
const handleAbort = async () => {
6750
setIsAborting(true);
6851
try {
@@ -95,7 +78,7 @@ export default function ResponsePage() {
9578
// Return the combined text as markdown
9679
if (combinedText.trim()) {
9780
return (
98-
<div className="prose prose-sm dark:prose-invert max-w-none">
81+
<div className="prose prose-sm dark:prose-invert max-w-none prose-p:my-4 prose-headings:mt-6 prose-headings:mb-3">
9982
<ReactMarkdown>{combinedText}</ReactMarkdown>
10083
</div>
10184
);

claude-agent-github-wiki/components/ui/accordion.tsx

Lines changed: 0 additions & 58 deletions
This file was deleted.

claude-agent-github-wiki/components/ui/alert-dialog.tsx

Lines changed: 0 additions & 141 deletions
This file was deleted.

claude-agent-github-wiki/components/ui/aspect-ratio.tsx

Lines changed: 0 additions & 7 deletions
This file was deleted.

claude-agent-github-wiki/components/ui/avatar.tsx

Lines changed: 0 additions & 50 deletions
This file was deleted.

claude-agent-github-wiki/components/ui/badge.tsx

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)