fix(tools/delegate-task): replace as any with Record type cast
Cast session body to Record<string, unknown> instead of as any Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
db15f96cd8
commit
e5aa08b865
@ -13,7 +13,7 @@ export async function createSyncSession(
|
|||||||
body: {
|
body: {
|
||||||
parentID: input.parentSessionID,
|
parentID: input.parentSessionID,
|
||||||
title: `${input.description} (@${input.agentToUse} subagent)`,
|
title: `${input.description} (@${input.agentToUse} subagent)`,
|
||||||
} as any,
|
} as Record<string, unknown>,
|
||||||
query: {
|
query: {
|
||||||
directory: parentDirectory,
|
directory: parentDirectory,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user