hexdag 0.5.0.dev2__py3-none-any.whl → 0.5.0.dev3__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.
- hexdag/studio/ui/src/lib/api.ts +20 -9
- {hexdag-0.5.0.dev2.dist-info → hexdag-0.5.0.dev3.dist-info}/METADATA +1 -1
- {hexdag-0.5.0.dev2.dist-info → hexdag-0.5.0.dev3.dist-info}/RECORD +6 -6
- {hexdag-0.5.0.dev2.dist-info → hexdag-0.5.0.dev3.dist-info}/WHEEL +0 -0
- {hexdag-0.5.0.dev2.dist-info → hexdag-0.5.0.dev3.dist-info}/entry_points.txt +0 -0
- {hexdag-0.5.0.dev2.dist-info → hexdag-0.5.0.dev3.dist-info}/licenses/LICENSE +0 -0
hexdag/studio/ui/src/lib/api.ts
CHANGED
|
@@ -148,14 +148,15 @@ export async function getAllPluginNodes(): Promise<PluginNode[]> {
|
|
|
148
148
|
const plugins = await listPlugins()
|
|
149
149
|
const nodes: PluginNode[] = []
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
plugin.nodes
|
|
151
|
+
for (const plugin of plugins) {
|
|
152
|
+
const pluginNodes = Array.isArray(plugin.nodes) ? plugin.nodes : []
|
|
153
|
+
for (const node of pluginNodes) {
|
|
153
154
|
nodes.push({
|
|
154
155
|
...node,
|
|
155
156
|
plugin: plugin.name,
|
|
156
157
|
})
|
|
157
|
-
}
|
|
158
|
-
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
159
160
|
|
|
160
161
|
return nodes
|
|
161
162
|
} catch (error) {
|
|
@@ -169,14 +170,15 @@ export async function getAllPluginAdapters(): Promise<PluginAdapter[]> {
|
|
|
169
170
|
const plugins = await listPlugins()
|
|
170
171
|
const adapters: PluginAdapter[] = []
|
|
171
172
|
|
|
172
|
-
|
|
173
|
-
plugin.adapters
|
|
173
|
+
for (const plugin of plugins) {
|
|
174
|
+
const pluginAdapters = Array.isArray(plugin.adapters) ? plugin.adapters : []
|
|
175
|
+
for (const adapter of pluginAdapters) {
|
|
174
176
|
adapters.push({
|
|
175
177
|
...adapter,
|
|
176
178
|
plugin: plugin.name,
|
|
177
179
|
})
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
180
182
|
|
|
181
183
|
return adapters
|
|
182
184
|
} catch (error) {
|
|
@@ -187,7 +189,16 @@ export async function getAllPluginAdapters(): Promise<PluginAdapter[]> {
|
|
|
187
189
|
|
|
188
190
|
export async function listPlugins(): Promise<PluginInfo[]> {
|
|
189
191
|
try {
|
|
190
|
-
|
|
192
|
+
const response = await apiRequest<PluginInfo[] | { plugins: PluginInfo[] }>('/plugins')
|
|
193
|
+
// Handle both array response and object with plugins property
|
|
194
|
+
if (Array.isArray(response)) {
|
|
195
|
+
return response
|
|
196
|
+
}
|
|
197
|
+
if (response && typeof response === 'object' && 'plugins' in response && Array.isArray(response.plugins)) {
|
|
198
|
+
return response.plugins
|
|
199
|
+
}
|
|
200
|
+
console.warn('Unexpected plugins response format:', response)
|
|
201
|
+
return []
|
|
191
202
|
} catch (error) {
|
|
192
203
|
console.error('Failed to list plugins:', error)
|
|
193
204
|
return []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hexdag
|
|
3
|
-
Version: 0.5.0.
|
|
3
|
+
Version: 0.5.0.dev3
|
|
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=
|
|
197
|
+
hexdag/studio/ui/src/lib/api.ts,sha256=Ogg1eYR4IVkWmNOShGQ1P5mfXMwod2PvOEi6buO7OAY,5515
|
|
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.
|
|
261
|
-
hexdag-0.5.0.
|
|
262
|
-
hexdag-0.5.0.
|
|
263
|
-
hexdag-0.5.0.
|
|
264
|
-
hexdag-0.5.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|