@getsupervisor/agents-studio-sdk 1.41.1-beta.169 → 1.41.1-beta.170
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 +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +177 -168
- package/dist/index.d.ts +177 -168
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2020,14 +2020,21 @@ function createToolsApi(cfg) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
);
|
|
2022
2022
|
return res.json();
|
|
2023
|
+
},
|
|
2024
|
+
async deleteConnection(toolAgentConnectionId) {
|
|
2025
|
+
await doFetch(`${base}/tools/connections/${toolAgentConnectionId}`, {
|
|
2026
|
+
method: "DELETE"
|
|
2027
|
+
});
|
|
2023
2028
|
}
|
|
2024
2029
|
};
|
|
2025
2030
|
const connections = {
|
|
2026
2031
|
connect: api.connect,
|
|
2027
2032
|
create: api.createConnection,
|
|
2033
|
+
delete: api.deleteConnection,
|
|
2028
2034
|
execute: api.executeConnection,
|
|
2029
2035
|
list: api.listConnections,
|
|
2030
2036
|
createConnection: api.createConnection,
|
|
2037
|
+
deleteConnection: api.deleteConnection,
|
|
2031
2038
|
executeConnection: api.executeConnection
|
|
2032
2039
|
};
|
|
2033
2040
|
return {
|