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 <link> tag instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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}
|
||||||
7
.omc/state/last-tool-error.json
Normal file
7
.omc/state/last-tool-error.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
61
.omc/state/mission-state.json
Normal file
61
.omc/state/mission-state.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
17
.omc/state/subagent-tracking.json
Normal file
17
.omc/state/subagent-tracking.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import node from "@astrojs/node";
|
import node from "@astrojs/node";
|
||||||
import react from "@astrojs/react";
|
import react from "@astrojs/react";
|
||||||
import icon from "astro-iconset";
|
import icon from "astro-iconset";
|
||||||
import { defineConfig, fontProviders } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
import emdash, { local } from "emdash/astro";
|
import emdash, { local } from "emdash/astro";
|
||||||
import { sqlite } from "emdash/db";
|
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 },
|
devToolbar: { enabled: false },
|
||||||
});
|
});
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
import { getMenu, getSiteSettings } from "emdash";
|
import { getMenu, getSiteSettings } from "emdash";
|
||||||
import { EmDashHead } from "emdash/ui";
|
import { EmDashHead } from "emdash/ui";
|
||||||
import { createPublicPageContext } from "emdash/page";
|
import { createPublicPageContext } from "emdash/page";
|
||||||
import { Font } from "astro:assets";
|
|
||||||
import "../styles/theme.css";
|
import "../styles/theme.css";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -41,10 +40,12 @@ const pageCtx = createPublicPageContext({
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>{fullTitle}</title>
|
<title>{fullTitle}</title>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
|
||||||
{siteFavicon && <link rel="icon" href={siteFavicon} />}
|
{siteFavicon && <link rel="icon" href={siteFavicon} />}
|
||||||
{description && <meta name="description" content={description} />}
|
{description && <meta name="description" content={description} />}
|
||||||
<EmDashHead emdash={Astro.locals.emdash} pageContext={pageCtx} />
|
<EmDashHead emdash={Astro.locals.emdash} pageContext={pageCtx} />
|
||||||
<Font ...{({ variable: "--font-sans", provider: { type: "google", name: "Inter" } })} />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="site-header">
|
<header class="site-header">
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
--color-warning: #f59e0b;
|
--color-warning: #f59e0b;
|
||||||
|
|
||||||
/* --- Typography --- */
|
/* --- Typography --- */
|
||||||
|
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
||||||
|
--font-mono: ui-monospace, "SF Mono", monospace;
|
||||||
--font-mono: ui-monospace, "SF Mono", monospace;
|
--font-mono: ui-monospace, "SF Mono", monospace;
|
||||||
--font-size-xs: 0.75rem;
|
--font-size-xs: 0.75rem;
|
||||||
--font-size-sm: 0.875rem;
|
--font-size-sm: 0.875rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user