@axiom-lattice/client-sdk 4.5.0 → 4.5.2

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.mjs CHANGED
@@ -3013,6 +3013,12 @@ var AbstractClient = class {
3013
3013
  throw new ApiError("Failed to complete task", 500);
3014
3014
  return response;
3015
3015
  },
3016
+ command: async (id, input) => {
3017
+ const response = await this.makeRequest(`/api/tasks/${id}/commands`, { method: "POST", body: input });
3018
+ if (!response.data)
3019
+ throw new ApiError("Failed to run task command", 500);
3020
+ return response;
3021
+ },
3016
3022
  workItems: {
3017
3023
  list: async (taskId, params) => {
3018
3024
  const searchParams = new URLSearchParams();