opencode-task 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12561,7 +12561,7 @@ class TaskRegistry {
12561
12561
  if (!this.accepting) {
12562
12562
  throw new Error("Registry is shutting down");
12563
12563
  }
12564
- const id = `task-${this.nextId++}`;
12564
+ const id = `task-${this.nextId++}-${crypto.randomUUID()}`;
12565
12565
  const cwd = options.cwd ?? process.cwd();
12566
12566
  const task = createTask(id, command, cwd, options.timeout, options.sessionID, options.metadata);
12567
12567
  this.tasks.set(id, task);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-task",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": ["dist"],