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.
- package/dist/index.js +1 -1
- 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);
|