@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.cjs
CHANGED
|
@@ -2085,14 +2085,21 @@ function createToolsApi(cfg) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
);
|
|
2087
2087
|
return res.json();
|
|
2088
|
+
},
|
|
2089
|
+
async deleteConnection(toolAgentConnectionId) {
|
|
2090
|
+
await doFetch(`${base}/tools/connections/${toolAgentConnectionId}`, {
|
|
2091
|
+
method: "DELETE"
|
|
2092
|
+
});
|
|
2088
2093
|
}
|
|
2089
2094
|
};
|
|
2090
2095
|
const connections = {
|
|
2091
2096
|
connect: api.connect,
|
|
2092
2097
|
create: api.createConnection,
|
|
2098
|
+
delete: api.deleteConnection,
|
|
2093
2099
|
execute: api.executeConnection,
|
|
2094
2100
|
list: api.listConnections,
|
|
2095
2101
|
createConnection: api.createConnection,
|
|
2102
|
+
deleteConnection: api.deleteConnection,
|
|
2096
2103
|
executeConnection: api.executeConnection
|
|
2097
2104
|
};
|
|
2098
2105
|
return {
|