Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release-please-manifest.develop.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
".": "0.1.0-alpha.1",
"apps/web": "0.1.0-alpha.1",
".": "0.1.0-alpha.2",
"apps/web": "0.1.0-alpha.2",
"apps/worker": "0.1.0-alpha.1"
}
10 changes: 7 additions & 3 deletions Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ This document provides instructions for AI agents working on the Vibed Coding co
- **Backend:** Next.js Route Handlers (Vercel)
- **Auth:** Supabase Auth with GitHub OAuth
- **Database:** Supabase Postgres with Row Level Security
- **Background Jobs:** Supabase Edge Functions
- **LLM:** Claude API (server-side only)
- **Background Jobs:** Inngest (primary) or standalone worker (fallback)
- **LLM:** Anthropic Claude, OpenAI, or Google Gemini (server-side only, configurable)

See `docs/PRD.md` for full product requirements.
See `docs/PRD.md` for full product requirements and `docs/architecture/inngest-integration.md` for job processing details.

**Key Reference Docs:**
- [How Vibed Works](docs/how-vibed-works.md) β€” Product-friendly explanation of analysis
- [Vibed Analysis Pipeline](docs/architecture/vibed-analysis-pipeline.md) β€” Technical architecture with algorithms and data flow

---

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG-DEVELOP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.0-alpha.2](https://github.com/devakone/vibed-coding/compare/vibed-coding-v0.1.0-alpha.1...vibed-coding-v0.1.0-alpha.2) (2026-01-21)


### Features

* enhance profile sharing and versioning features ([411ba50](https://github.com/devakone/vibed-coding/commit/411ba506074e2d35c5ec0c07aff8f824a86ef96b))

## [0.1.0-alpha.1](https://github.com/devakone/vibed-coding/compare/vibed-coding-v0.1.0-alpha.0...vibed-coding-v0.1.0-alpha.1) (2026-01-20)


Expand Down
7 changes: 7 additions & 0 deletions apps/web/CHANGELOG-DEVELOP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.0-alpha.2](https://github.com/devakone/vibed-coding/compare/web-v0.1.0-alpha.1...web-v0.1.0-alpha.2) (2026-01-21)


### Features

* enhance profile sharing and versioning features ([411ba50](https://github.com/devakone/vibed-coding/commit/411ba506074e2d35c5ec0c07aff8f824a86ef96b))

## [0.1.0-alpha.1](https://github.com/devakone/vibed-coding/compare/web-v0.1.0-alpha.0...web-v0.1.0-alpha.1) (2026-01-20)


Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/app/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function AppHeader(props: {

const baseLinks = props.isAuthed
? [
{ href: "/", label: "My Vibed" },
{ href: "/", label: "My VCP" },
{ href: "/repos", label: "Repos" },
{ href: "/analysis", label: "Reports" },
{ href: "/settings/llm-keys", label: "Settings" },
Expand Down Expand Up @@ -54,7 +54,7 @@ export default function AppHeader(props: {
>
<span className={wrappedTheme.dot} />
<span className="text-lg font-bold tracking-tight text-zinc-950">
Vibed Coding
Vibe Coding Profile
</span>
</Link>
<nav className="flex items-center gap-1 text-sm">
Expand Down
46 changes: 35 additions & 11 deletions apps/web/src/app/admin/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ export async function getAllJobs(
commit_count: number | null;
created_at: string;
completed_at: string | null;
profile_updated: boolean;
profile_persona: string | null;
}>;
total: number;
}> {
Expand Down Expand Up @@ -576,27 +578,49 @@ export async function getAllJobs(
// Get user and repo names
const userIds = [...new Set((jobs ?? []).map((j) => j.user_id))];
const repoIds = [...new Set((jobs ?? []).map((j) => j.repo_id).filter(Boolean))];
const jobIds = (jobs ?? []).map((j) => j.id);

const [{ data: users }, { data: repos }] = await Promise.all([
const [{ data: users }, { data: repos }, { data: profileHistory }] = await Promise.all([
adminSupabase.from("users").select("id, github_username").in("id", userIds),
adminSupabase.from("repos").select("id, full_name").in("id", repoIds),
// Get profile history entries triggered by these jobs
adminSupabase
.from("user_profile_history")
.select("trigger_job_id, profile_snapshot")
.in("trigger_job_id", jobIds),
]);

const usernameById = new Map((users ?? []).map((u) => [u.id, u.github_username]));
const repoNameById = new Map((repos ?? []).map((r) => [r.id, r.full_name]));

// Map job ID to profile update info
const profileUpdateByJobId = new Map<string, { persona: string | null }>();
for (const ph of profileHistory ?? []) {
if (ph.trigger_job_id) {
const snapshot = ph.profile_snapshot as { persona?: { name?: string } } | null;
profileUpdateByJobId.set(ph.trigger_job_id, {
persona: snapshot?.persona?.name ?? null,
});
}
}

return {
success: true,
jobs: (jobs ?? []).map((j) => ({
id: j.id,
user_id: j.user_id,
username: usernameById.get(j.user_id) ?? null,
repo_name: repoNameById.get(j.repo_id ?? "") ?? null,
status: j.status,
commit_count: j.commit_count,
created_at: j.created_at,
completed_at: j.completed_at,
})),
jobs: (jobs ?? []).map((j) => {
const profileUpdate = profileUpdateByJobId.get(j.id);
return {
id: j.id,
user_id: j.user_id,
username: usernameById.get(j.user_id) ?? null,
repo_name: repoNameById.get(j.repo_id ?? "") ?? null,
status: j.status,
commit_count: j.commit_count,
created_at: j.created_at,
completed_at: j.completed_at,
profile_updated: Boolean(profileUpdate),
profile_persona: profileUpdate?.persona ?? null,
};
}),
total: totalCount ?? 0,
};
}
15 changes: 15 additions & 0 deletions apps/web/src/app/admin/jobs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default async function AdminJobsPage({
<th className="px-4 py-3">Repo</th>
<th className="px-4 py-3">Status</th>
<th className="px-4 py-3">Commits</th>
<th className="px-4 py-3">Profile</th>
<th className="px-4 py-3">Created</th>
<th className="px-4 py-3">Completed</th>
</tr>
Expand All @@ -112,6 +113,20 @@ export default async function AdminJobsPage({
<td className="px-4 py-3 text-sm text-zinc-600">
{job.commit_count?.toLocaleString() ?? "-"}
</td>
<td className="px-4 py-3">
{job.profile_updated ? (
<span className="inline-flex items-center gap-1 rounded-full bg-fuchsia-100 px-2 py-1 text-xs font-medium text-fuchsia-700">
<span className="text-fuchsia-500">βœ“</span>
{job.profile_persona ? (
<span title={job.profile_persona}>Updated</span>
) : (
"Updated"
)}
</span>
) : (
<span className="text-xs text-zinc-400">β€”</span>
)}
</td>
<td className="px-4 py-3 text-sm text-zinc-600">
{new Date(job.created_at).toLocaleString()}
</td>
Expand Down
Loading
Loading