From c6c75f5b0d429184129c7e337136de8f777d51db Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Mon, 27 Apr 2026 19:58:06 +0700 Subject: [PATCH] Fix: add required build.publicFolder and build.outputFolder to Tina config --- ...play-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl | 1 + .omc/state/last-tool-error.json | 4 ++-- .omc/state/subagent-tracking.json | 2 +- .tina/config.ts | 14 +++++++++----- 4 files changed, 13 insertions(+), 8 deletions(-) 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 3448e99..9594813 100644 --- a/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl +++ b/.omc/state/agent-replay-47a38a07-3b39-4e33-8da2-ad3c7604975c.jsonl @@ -1,3 +1,4 @@ {"t":0,"agent":"acc8212","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"a1ccdc0","agent_type":"unknown","event":"agent_stop","success":true} {"t":0,"agent":"a7833f9","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a43d42e","agent_type":"unknown","event":"agent_stop","success":true} diff --git a/.omc/state/last-tool-error.json b/.omc/state/last-tool-error.json index 5faf608..51b8405 100644 --- a/.omc/state/last-tool-error.json +++ b/.omc/state/last-tool-error.json @@ -1,7 +1,7 @@ { "tool_name": "WebFetch", - "tool_input_preview": "{\"url\":\"https://www.npmjs.com/package/@astrojs/mdx\",\"prompt\":\"What are the latest stable versions of @astrojs/mdx and which Astro versions are they compatible with?\"}", + "tool_input_preview": "{\"url\":\"https://tina.io/docs/reference/config/\",\"prompt\":\"What is the correct media configuration for tinacms 2.x? The error is \\\"Cannot read properties of undefined (reading 'publicFolder')\\\". What s...", "error": "timeout of 60000ms exceeded", - "timestamp": "2026-04-27T12:22:43.727Z", + "timestamp": "2026-04-27T12:46:34.409Z", "retry_count": 1 } \ No newline at end of file diff --git a/.omc/state/subagent-tracking.json b/.omc/state/subagent-tracking.json index 730996d..3780157 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-27T12:30:55.494Z" + "last_updated": "2026-04-27T12:37:08.956Z" } \ No newline at end of file diff --git a/.tina/config.ts b/.tina/config.ts index 21faba4..d37434f 100644 --- a/.tina/config.ts +++ b/.tina/config.ts @@ -3,11 +3,9 @@ import { schema } from './schema'; export default defineConfig({ schema, - ui: { - navigation: { - 'content/posts': { label: 'Posts' }, - 'content/pages': { label: 'Pages' }, - }, + build: { + publicFolder: 'public', + outputFolder: 'admin', }, media: { tina: { @@ -15,4 +13,10 @@ export default defineConfig({ mediaRoot: 'uploads', }, }, + ui: { + navigation: { + 'content/posts': { label: 'Posts' }, + 'content/pages': { label: 'Pages' }, + }, + }, }); \ No newline at end of file