@prmichaelsen/acp-visualizer 0.10.3 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,7 +124,7 @@ export type AgentFile = {
124
124
  }
125
125
 
126
126
  export type ListDirResult =
127
- | { ok: true; files: AgentFile[] }
127
+ | { ok: true; files: AgentFile[]; directoryExists?: boolean }
128
128
  | { ok: false; files: []; error: string }
129
129
 
130
130
  export const listAgentDirectory = createServerFn({ method: 'GET' })
@@ -197,7 +197,7 @@ async function listDirFromGitHub(
197
197
 
198
198
  if (!response.ok) {
199
199
  if (response.status === 404) {
200
- return { ok: true, files: [] }
200
+ return { ok: true, files: [], directoryExists: false }
201
201
  }
202
202
  return { ok: false, files: [], error: `GitHub returned ${response.status}` }
203
203
  }