From b6e76cc98b3a6e922e287353e750723eb114c51b Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Fri, 1 May 2026 10:18:59 +0700 Subject: [PATCH] fix: remove Font component and fontProviders (esbuild parse error) The Font component with spread syntax caused esbuild parse error at Base.astro line 64. Replaced with direct Google Fonts link tag. Also removed fonts[] array from astro.config.mjs since we're loading Inter via tag instead. Co-Authored-By: Claude Opus 4.6 --- ...33698839-2ad1-4412-9735-43676f5e6beb.jsonl | 4 ++ .omc/state/last-tool-error.json | 7 +++ .omc/state/mission-state.json | 61 +++++++++++++++++++ .omc/state/subagent-tracking.json | 17 ++++++ astro.config.mjs | 11 +--- src/layouts/Base.astro | 5 +- src/styles/theme.css | 2 + 7 files changed, 95 insertions(+), 12 deletions(-) create mode 100644 .omc/state/agent-replay-33698839-2ad1-4412-9735-43676f5e6beb.jsonl create mode 100644 .omc/state/last-tool-error.json create mode 100644 .omc/state/mission-state.json create mode 100644 .omc/state/subagent-tracking.json diff --git a/.omc/state/agent-replay-33698839-2ad1-4412-9735-43676f5e6beb.jsonl b/.omc/state/agent-replay-33698839-2ad1-4412-9735-43676f5e6beb.jsonl new file mode 100644 index 0000000..cdc777d --- /dev/null +++ b/.omc/state/agent-replay-33698839-2ad1-4412-9735-43676f5e6beb.jsonl @@ -0,0 +1,4 @@ +{"t":0,"agent":"a49814b","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a0f2988","agent_type":"Explore","event":"agent_start","parent_mode":"none"} +{"t":0,"agent":"a0f2988","agent_type":"Explore","event":"agent_stop","success":true,"duration_ms":35179} +{"t":0,"agent":"a338ed5","agent_type":"unknown","event":"agent_stop","success":true} diff --git a/.omc/state/last-tool-error.json b/.omc/state/last-tool-error.json new file mode 100644 index 0000000..0032f73 --- /dev/null +++ b/.omc/state/last-tool-error.json @@ -0,0 +1,7 @@ +{ + "tool_name": "Bash", + "tool_input_preview": "{\"command\":\"git remote add origin https://git.moreminimore.com/kunthawat/emdash-marketing-template.git 2>/dev/null || git remote set-url origin https://git.moreminimore.com/kunthawat/emdash-marketing-...", + "error": "Exit code 128", + "timestamp": "2026-04-30T13:58:18.498Z", + "retry_count": 2 +} \ No newline at end of file diff --git a/.omc/state/mission-state.json b/.omc/state/mission-state.json new file mode 100644 index 0000000..3bee90d --- /dev/null +++ b/.omc/state/mission-state.json @@ -0,0 +1,61 @@ +{ + "updatedAt": "2026-05-01T00:10:41.650Z", + "missions": [ + { + "id": "session:33698839-2ad1-4412-9735-43676f5e6beb:none", + "source": "session", + "name": "none", + "objective": "Session mission", + "createdAt": "2026-04-30T23:41:28.830Z", + "updatedAt": "2026-05-01T00:10:41.650Z", + "status": "done", + "workerCount": 1, + "taskCounts": { + "total": 1, + "pending": 0, + "blocked": 0, + "inProgress": 0, + "completed": 1, + "failed": 0 + }, + "agents": [ + { + "name": "Explore:a0f2988", + "role": "Explore", + "ownership": "a0f2988338e8084df", + "status": "done", + "currentStep": null, + "latestUpdate": "completed", + "completedSummary": null, + "updatedAt": "2026-05-01T00:10:41.650Z" + } + ], + "timeline": [ + { + "id": "session-start:a0f2988338e8084df:2026-04-30T23:41:28.830Z", + "at": "2026-04-30T23:41:28.830Z", + "kind": "update", + "agent": "Explore:a0f2988", + "detail": "started Explore:a0f2988", + "sourceKey": "session-start:a0f2988338e8084df" + }, + { + "id": "session-stop:a0f2988338e8084df:2026-04-30T23:42:04.009Z", + "at": "2026-04-30T23:42:04.009Z", + "kind": "completion", + "agent": "Explore:a0f2988", + "detail": "completed", + "sourceKey": "session-stop:a0f2988338e8084df" + }, + { + "id": "session-stop:a338ed5c2f99a01ed:2026-05-01T00:10:41.650Z", + "at": "2026-05-01T00:10:41.650Z", + "kind": "completion", + "agent": "Explore:a0f2988", + "detail": "completed", + "sourceKey": "session-stop:a338ed5c2f99a01ed" + } + ] + } + ] +} \ No newline at end of file diff --git a/.omc/state/subagent-tracking.json b/.omc/state/subagent-tracking.json new file mode 100644 index 0000000..6fafa94 --- /dev/null +++ b/.omc/state/subagent-tracking.json @@ -0,0 +1,17 @@ +{ + "agents": [ + { + "agent_id": "a0f2988338e8084df", + "agent_type": "Explore", + "started_at": "2026-04-30T23:41:28.830Z", + "parent_mode": "none", + "status": "completed", + "completed_at": "2026-04-30T23:42:04.009Z", + "duration_ms": 35179 + } + ], + "total_spawned": 1, + "total_completed": 1, + "total_failed": 0, + "last_updated": "2026-05-01T00:10:41.751Z" +} \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 9d4e279..7fab8f0 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,7 +1,7 @@ import node from "@astrojs/node"; import react from "@astrojs/react"; import icon from "astro-iconset"; -import { defineConfig, fontProviders } from "astro/config"; +import { defineConfig } from "astro/config"; import emdash, { local } from "emdash/astro"; import { sqlite } from "emdash/db"; @@ -44,14 +44,5 @@ export default defineConfig({ }), }), ], - fonts: [ - { - provider: fontProviders.google(), - name: "Inter", - cssVariable: "--font-sans", - weights: [400, 500, 600, 700, 800], - fallbacks: ["sans-serif"], - }, - ], devToolbar: { enabled: false }, }); \ No newline at end of file diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 2773f14..5470e85 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -2,7 +2,6 @@ import { getMenu, getSiteSettings } from "emdash"; import { EmDashHead } from "emdash/ui"; import { createPublicPageContext } from "emdash/page"; -import { Font } from "astro:assets"; import "../styles/theme.css"; interface Props { @@ -41,10 +40,12 @@ const pageCtx = createPublicPageContext({ {fullTitle} + + + {siteFavicon && } {description && } -