From 1a8e7e79aedae46d99b3644c249d5e000902a0d0 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Tue, 28 Apr 2026 11:42:13 +0700 Subject: [PATCH] Fix: vite.server.allowedHosts nested correctly --- ...agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl | 2 ++ .omc/state/last-tool-error.json | 7 +++++++ .omc/state/subagent-tracking.json | 2 +- astro.config.mjs | 4 +++- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .omc/state/last-tool-error.json diff --git a/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl b/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl index 853357c..2f971b2 100644 --- a/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl +++ b/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl @@ -1,2 +1,4 @@ {"t":0,"agent":"a500508","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"a24721c","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a535b8e","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"ad598ef","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..407348a --- /dev/null +++ b/.omc/state/last-tool-error.json @@ -0,0 +1,7 @@ +{ + "tool_name": "WebFetch", + "tool_input_preview": "{\"url\":\"https://docs.astro.build/en/reference/configuration-reference/\",\"prompt\":\"How to configure allowedHosts in Astro 6 server configuration? What is the correct way to allow all hosts in Astro 6?\"...", + "error": "timeout of 60000ms exceeded", + "timestamp": "2026-04-28T04:22:56.894Z", + "retry_count": 1 +} \ No newline at end of file diff --git a/.omc/state/subagent-tracking.json b/.omc/state/subagent-tracking.json index 5e43fd7..60e12bf 100644 --- a/.omc/state/subagent-tracking.json +++ b/.omc/state/subagent-tracking.json @@ -3,5 +3,5 @@ "total_spawned": 0, "total_completed": 0, "total_failed": 0, - "last_updated": "2026-04-28T04:19:32.716Z" + "last_updated": "2026-04-28T04:22:43.491Z" } \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 01851ea..469cee6 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,6 +6,8 @@ export default defineConfig({ port: 4321, }, vite: { - allowedHosts: true, + server: { + allowedHosts: true, + }, }, }) \ No newline at end of file