@getsupervisor/agents-studio-sdk 1.41.2-patch.8 → 1.41.2-patch.9
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1131,7 +1131,7 @@ function createAgentsApi(cfg, relatedApis) {
|
|
|
1131
1131
|
if (Array.isArray(selection)) {
|
|
1132
1132
|
return selection;
|
|
1133
1133
|
}
|
|
1134
|
-
return Object.entries(selection).filter(([, enabled]) =>
|
|
1134
|
+
return Object.entries(selection).filter(([, enabled]) => enabled).map(([component]) => component);
|
|
1135
1135
|
};
|
|
1136
1136
|
const buildCloneAgentRequest = (payload) => {
|
|
1137
1137
|
const { clone, ...rest } = payload;
|