@openturtle/cli 0.3.5 → 0.3.6

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.
@@ -21,7 +21,7 @@ export function createResourceCommands(client = new ApiClient()) {
21
21
  return client.patch(`/api/todos/${encodeURIComponent(todoId)}/status`, { status });
22
22
  },
23
23
  async updateTodoProgress(todoId, message) {
24
- return client.patch(`/api/todos/${encodeURIComponent(todoId)}/progress-description`, {
24
+ return client.put(`/api/todos/${encodeURIComponent(todoId)}/progress-description`, {
25
25
  progress_description: message,
26
26
  });
27
27
  },
@@ -42,6 +42,9 @@ export class ApiClient {
42
42
  patch(path, body) {
43
43
  return this.request('PATCH', path, body);
44
44
  }
45
+ put(path, body) {
46
+ return this.request('PUT', path, body);
47
+ }
45
48
  delete(path, body) {
46
49
  return this.request('DELETE', path, body);
47
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openturtle/cli",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "OpenTurtle collaboration, knowledge, meeting, and agent CLI",
5
5
  "keywords": [
6
6
  "openturtle",