@getcatalystiq/agent-plane-ui 0.1.24 → 0.1.25
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.
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4101,23 +4101,23 @@ function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adm
|
|
|
4101
4101
|
if (!adminApiBaseUrl) return {};
|
|
4102
4102
|
return {
|
|
4103
4103
|
onGenerateSoul: async () => {
|
|
4104
|
-
const result = await adminFetch(`/api/
|
|
4104
|
+
const result = await adminFetch(`/api/agents/${agentId}/generate-soul`, { method: "POST" });
|
|
4105
4105
|
return { files: result.files };
|
|
4106
4106
|
},
|
|
4107
4107
|
onImportSoul: async (ref) => {
|
|
4108
4108
|
const [owner, name] = ref.split("/");
|
|
4109
|
-
const result = await adminFetch(`/api/
|
|
4109
|
+
const result = await adminFetch(`/api/agents/${agentId}/import-soul`, {
|
|
4110
4110
|
method: "POST",
|
|
4111
4111
|
body: JSON.stringify({ owner, name })
|
|
4112
4112
|
});
|
|
4113
4113
|
return { files: result.imported_files };
|
|
4114
4114
|
},
|
|
4115
4115
|
onExportSoul: async () => {
|
|
4116
|
-
const result = await adminFetch(`/api/
|
|
4116
|
+
const result = await adminFetch(`/api/agents/${agentId}/export-soul`);
|
|
4117
4117
|
return { files: result.files, name: agent?.name ?? "agent" };
|
|
4118
4118
|
},
|
|
4119
4119
|
onPublishSoul: async (owner) => {
|
|
4120
|
-
await adminFetch(`/api/
|
|
4120
|
+
await adminFetch(`/api/agents/${agentId}/publish-soul`, {
|
|
4121
4121
|
method: "POST",
|
|
4122
4122
|
body: JSON.stringify({ owner })
|
|
4123
4123
|
});
|
package/dist/index.js
CHANGED
|
@@ -4077,23 +4077,23 @@ function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adm
|
|
|
4077
4077
|
if (!adminApiBaseUrl) return {};
|
|
4078
4078
|
return {
|
|
4079
4079
|
onGenerateSoul: async () => {
|
|
4080
|
-
const result = await adminFetch(`/api/
|
|
4080
|
+
const result = await adminFetch(`/api/agents/${agentId}/generate-soul`, { method: "POST" });
|
|
4081
4081
|
return { files: result.files };
|
|
4082
4082
|
},
|
|
4083
4083
|
onImportSoul: async (ref) => {
|
|
4084
4084
|
const [owner, name] = ref.split("/");
|
|
4085
|
-
const result = await adminFetch(`/api/
|
|
4085
|
+
const result = await adminFetch(`/api/agents/${agentId}/import-soul`, {
|
|
4086
4086
|
method: "POST",
|
|
4087
4087
|
body: JSON.stringify({ owner, name })
|
|
4088
4088
|
});
|
|
4089
4089
|
return { files: result.imported_files };
|
|
4090
4090
|
},
|
|
4091
4091
|
onExportSoul: async () => {
|
|
4092
|
-
const result = await adminFetch(`/api/
|
|
4092
|
+
const result = await adminFetch(`/api/agents/${agentId}/export-soul`);
|
|
4093
4093
|
return { files: result.files, name: agent?.name ?? "agent" };
|
|
4094
4094
|
},
|
|
4095
4095
|
onPublishSoul: async (owner) => {
|
|
4096
|
-
await adminFetch(`/api/
|
|
4096
|
+
await adminFetch(`/api/agents/${agentId}/publish-soul`, {
|
|
4097
4097
|
method: "POST",
|
|
4098
4098
|
body: JSON.stringify({ owner })
|
|
4099
4099
|
});
|