hexdag 0.5.0.dev3__py3-none-any.whl → 0.5.0.dev4__py3-none-any.whl

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.
@@ -65,7 +65,16 @@ async function apiRequest<T>(
65
65
 
66
66
  // File operations
67
67
  export async function listFiles(path: string = '.'): Promise<FileInfo[]> {
68
- return apiRequest<FileInfo[]>(`/files?path=${encodeURIComponent(path)}`)
68
+ const response = await apiRequest<FileInfo[] | { files: FileInfo[]; root?: string }>(`/files?path=${encodeURIComponent(path)}`)
69
+ // Handle both array response and object with files property
70
+ if (Array.isArray(response)) {
71
+ return response
72
+ }
73
+ if (response && typeof response === 'object' && 'files' in response && Array.isArray(response.files)) {
74
+ return response.files
75
+ }
76
+ console.warn('Unexpected files response format:', response)
77
+ return []
69
78
  }
70
79
 
71
80
  export async function readFile(path: string): Promise<FileContent> {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hexdag
3
- Version: 0.5.0.dev3
3
+ Version: 0.5.0.dev4
4
4
  Summary: Lightweight DAG orchestration framework with enterprise pipeline capabilities
5
5
  Project-URL: Homepage, https://hexdag.ai
6
6
  Project-URL: Repository, https://github.com/omniviser/hexdag
@@ -194,7 +194,7 @@ hexdag/studio/ui/src/components/PythonEditor.tsx,sha256=vJ7sgZ6s75651EI7Y-GTv2s5
194
194
  hexdag/studio/ui/src/components/ValidationPanel.tsx,sha256=lzRIgwso2j-_NLFOu8j9GCQWkn6KB-d-6eWG9x4nmHs,4157
195
195
  hexdag/studio/ui/src/components/YamlEditor.tsx,sha256=naD2dSq9rw6hxbA6Fkj9-8fmU0vRF1Rk1_FfpPqksfU,6781
196
196
  hexdag/studio/ui/src/components/index.ts,sha256=fjXeu-PS5GD5m-My52619toCqWqQRuZHDPfJ_rQ4ZIk,428
197
- hexdag/studio/ui/src/lib/api.ts,sha256=Ogg1eYR4IVkWmNOShGQ1P5mfXMwod2PvOEi6buO7OAY,5515
197
+ hexdag/studio/ui/src/lib/api.ts,sha256=G-nHJiTTU6r0otYE_TJDN2dNRnlthXhgUrj8-DSR9r0,5900
198
198
  hexdag/studio/ui/src/lib/nodeTemplates.ts,sha256=s8zOfsQGhpCG7foPdrsFtQ_CGwN6jcZTXe_fCbTno5M,4743
199
199
  hexdag/studio/ui/src/lib/store.ts,sha256=aynI_K5oioi7Zq0WhC_oIrhSNximBSnD54xPe6JTgi4,6902
200
200
  hexdag/studio/ui/src/types/index.ts,sha256=ZWKo_eHfPnMGVXqMa0SZuB5VSOdDDLQy7RkhkVA1qPo,2592
@@ -257,8 +257,8 @@ hexdag_plugins/storage/vector/__init__.py,sha256=uMI7dYdgMpm5b-Kay3Z9OehTC8kfqvJ
257
257
  hexdag_plugins/storage/vector/chromadb.py,sha256=CZBtp4EAw6WGwJ4M8WYc0KYVdbTJLiP74pF3JxSZIgI,7103
258
258
  hexdag_plugins/storage/vector/in_memory.py,sha256=j_7FAXj8nQPxPAIksaeOyU5yFJijOXxYEJCRibwttB8,8390
259
259
  hexdag_plugins/storage/vector/pgvector.py,sha256=830TWR4JrwbpzYultCIfb7Tll_D0te3xJM3PXCHyH94,18262
260
- hexdag-0.5.0.dev3.dist-info/METADATA,sha256=SErPOQLov-gaAoIIruFR4Bkq5W138YsY4_WZk9hVQgQ,13940
261
- hexdag-0.5.0.dev3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
262
- hexdag-0.5.0.dev3.dist-info/entry_points.txt,sha256=HVVYo840xI_sDh7Ld4V6JikuEKykjCv-hdB8lND48FU,144
263
- hexdag-0.5.0.dev3.dist-info/licenses/LICENSE,sha256=ha-Tqaxjm6OqBpizGHUnQk1XxuU9_M9xMFTSz_kJzxk,10760
264
- hexdag-0.5.0.dev3.dist-info/RECORD,,
260
+ hexdag-0.5.0.dev4.dist-info/METADATA,sha256=m1bnJVxR5kn-4HxWKzA0FucOCgqgMzM9or0jS6uCwUM,13940
261
+ hexdag-0.5.0.dev4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
262
+ hexdag-0.5.0.dev4.dist-info/entry_points.txt,sha256=HVVYo840xI_sDh7Ld4V6JikuEKykjCv-hdB8lND48FU,144
263
+ hexdag-0.5.0.dev4.dist-info/licenses/LICENSE,sha256=ha-Tqaxjm6OqBpizGHUnQk1XxuU9_M9xMFTSz_kJzxk,10760
264
+ hexdag-0.5.0.dev4.dist-info/RECORD,,