chore: Fix TypeScript errors 1/n.

This commit is contained in:
cpojer
2026-01-31 16:38:03 +09:00
parent 2957d4306d
commit e5eb9610dc
5 changed files with 19 additions and 11 deletions

View File

@@ -221,7 +221,7 @@ export function createSessionsSpawnTool(opts?: {
const childIdem = crypto.randomUUID();
let childRunId: string = childIdem;
try {
const response = await callGateway({
const response = await callGateway<{ runId: string }>({
method: "agent",
params: {
message: task,