@getsupervisor/agents-studio-sdk 1.41.1-beta.164 → 1.41.1-beta.165
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 +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2051,14 +2051,21 @@ function createToolsApi(cfg) {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
);
|
|
2053
2053
|
return res.json();
|
|
2054
|
+
},
|
|
2055
|
+
async deleteConnection(toolAgentConnectionId) {
|
|
2056
|
+
await doFetch(`${base}/tools/connections/${toolAgentConnectionId}`, {
|
|
2057
|
+
method: "DELETE"
|
|
2058
|
+
});
|
|
2054
2059
|
}
|
|
2055
2060
|
};
|
|
2056
2061
|
const connections = {
|
|
2057
2062
|
connect: api.connect,
|
|
2058
2063
|
create: api.createConnection,
|
|
2064
|
+
delete: api.deleteConnection,
|
|
2059
2065
|
execute: api.executeConnection,
|
|
2060
2066
|
list: api.listConnections,
|
|
2061
2067
|
createConnection: api.createConnection,
|
|
2068
|
+
deleteConnection: api.deleteConnection,
|
|
2062
2069
|
executeConnection: api.executeConnection
|
|
2063
2070
|
};
|
|
2064
2071
|
return {
|