fix(dictation): avoid timeout from dangling non-final segments

This commit is contained in:
Mohamed Boudra
2026-02-18 21:21:27 +07:00
parent bcae95c372
commit a1fdeeb7ae
16 changed files with 419 additions and 10 deletions
+6 -1
View File
@@ -8,10 +8,15 @@ import {
computeExecutionOrder,
buildSortedChildrenMap,
} from "./execution-order.js";
import { resolvePackageVersion } from "../server/package-version.js";
import type { AgentType, ModelName, Task } from "./types.js";
const TASKS_DIR = resolve(process.cwd(), ".tasks");
const store = new FileTaskStore(TASKS_DIR);
const TASK_CLI_VERSION = resolvePackageVersion({
moduleUrl: import.meta.url,
packageName: "@getpaseo/server",
});
async function readStdin(): Promise<string> {
const chunks: Buffer[] = [];
@@ -24,7 +29,7 @@ async function readStdin(): Promise<string> {
const program = new Command()
.name("task")
.description("Minimal task management with dependency tracking")
.version("0.1.0")
.version(TASK_CLI_VERSION)
.addHelpText(
"after",
`