Fix: remove client:load from LiveSearch (Astro component, not framework)

This commit is contained in:
Kunthawat Greethong
2026-05-01 14:31:30 +07:00
parent 51b50212ca
commit e921b82d9e
5 changed files with 45 additions and 12 deletions

View File

@@ -42,7 +42,7 @@
"runtime": null
},
"build": {
"buildCommand": "pnpm build 2>&1 | head -80",
"buildCommand": "pnpm build 2>&1 | tail -20",
"testCommand": null,
"lintCommand": null,
"devCommand": "npm run dev",
@@ -132,6 +132,12 @@
"lastAccessed": 1777618133397,
"type": "file"
},
{
"path": "src/layouts/Base.astro",
"accessCount": 4,
"lastAccessed": 1777620637431,
"type": "file"
},
{
"path": "src/styles/theme.css",
"accessCount": 2,
@@ -150,6 +156,12 @@
"lastAccessed": 1777618215078,
"type": "file"
},
{
"path": "src/layouts/BlogBase.astro",
"accessCount": 2,
"lastAccessed": 1777620599150,
"type": "file"
},
{
"path": "src/pages/index.astro",
"accessCount": 1,
@@ -204,12 +216,6 @@
"lastAccessed": 1777616259549,
"type": "file"
},
{
"path": "src/layouts/Base.astro",
"accessCount": 1,
"lastAccessed": 1777617017519,
"type": "file"
},
{
"path": "src/pages/posts/[slug].astro",
"accessCount": 1,

View File

@@ -6,3 +6,6 @@
{"t":0,"agent":"a5d5029","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"ada0ac0","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"ae2f4e3","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a42b6ce","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"a3d22ed","agent_type":"unknown","event":"agent_stop","success":true}
{"t":0,"agent":"ad5c4bf","agent_type":"unknown","event":"agent_stop","success":true}

View File

@@ -1,5 +1,5 @@
{
"updatedAt": "2026-05-01T06:13:19.823Z",
"updatedAt": "2026-05-01T07:29:47.145Z",
"missions": [
{
"id": "session:33698839-2ad1-4412-9735-43676f5e6beb:none",
@@ -7,7 +7,7 @@
"name": "none",
"objective": "Session mission",
"createdAt": "2026-04-30T23:41:28.830Z",
"updatedAt": "2026-05-01T06:13:19.823Z",
"updatedAt": "2026-05-01T07:29:47.145Z",
"status": "done",
"workerCount": 1,
"taskCounts": {
@@ -27,7 +27,7 @@
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-05-01T06:13:19.823Z"
"updatedAt": "2026-05-01T07:29:47.145Z"
}
],
"timeline": [
@@ -86,6 +86,30 @@
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:ae2f4e3ced71aa12c"
},
{
"id": "session-stop:a42b6ce042333826e:2026-05-01T06:51:51.452Z",
"at": "2026-05-01T06:51:51.452Z",
"kind": "completion",
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:a42b6ce042333826e"
},
{
"id": "session-stop:a3d22ede3dfbdd39b:2026-05-01T07:27:22.894Z",
"at": "2026-05-01T07:27:22.894Z",
"kind": "completion",
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:a3d22ede3dfbdd39b"
},
{
"id": "session-stop:ad5c4bf39e4876c02:2026-05-01T07:29:47.145Z",
"at": "2026-05-01T07:29:47.145Z",
"kind": "completion",
"agent": "Explore:a0f2988",
"detail": "completed",
"sourceKey": "session-stop:ad5c4bf39e4876c02"
}
]
}

View File

@@ -13,5 +13,5 @@
"total_spawned": 1,
"total_completed": 1,
"total_failed": 0,
"last_updated": "2026-05-01T06:13:19.923Z"
"last_updated": "2026-05-01T07:29:47.246Z"
}

View File

@@ -93,7 +93,7 @@ const isLoggedIn = !!Astro.locals.user;
</li>
))}
</ul>
<LiveSearch client:load />
<LiveSearch />
{isLoggedIn && <a href="/_emdash/admin" class="admin-link">Admin</a>}
</nav>
</header>