Adopt standalone package manifest and dependency lock

This commit is contained in:
Timothy J. Aveni
2026-09-05 18:43:38 -07:00
parent a1859234e2
commit 04311fa2cc
6 changed files with 34 additions and 14 deletions
+7 -2
View File
@@ -23,9 +23,14 @@ export const taskCount = derived(async (context) =>
export const searchDocument = derived(async (context) => {
const [name, tasks] = await Promise.all([
context.state<string>("port:project-search:name").get(),
context.edge("port:project-search:tasks").resolve(),
context.interface("port:project-search:named")
.invoke("operation:named:name:get"),
context.interface("port:project-search:tasks")
.invoke("operation:project-tasks:tasks:resolve"),
]);
if (typeof name !== "string" || !Array.isArray(tasks)) {
throw new Error("Project search dependencies returned invalid values");
}
const count = tasks.length;
return {
title: name || "Untitled project",