Fixed how payload-as-prompt is handled and progress comment updates (#212)

This commit is contained in:
Mateusz Burzyński
2026-02-01 22:13:39 +00:00
committed by pullfrog[bot]
parent 18ba8e5fd0
commit bfe72ac2cf
8 changed files with 126 additions and 166 deletions
+3 -1
View File
@@ -47,7 +47,7 @@ export const agentsManifest = {
// agent name type - union of agent slugs
export type AgentName = keyof typeof agentsManifest;
export const AgentName = type.enumerated(...Object.keys(agentsManifest));
export const AgentName = type.enumerated(...(Object.keys(agentsManifest) as AgentName[]));
export type AgentApiKeyName = (typeof agentsManifest)[AgentName]["apiKeyNames"][number];
@@ -259,6 +259,8 @@ export interface WriteablePayload {
timeout?: string | undefined;
/** working directory for the agent */
cwd?: string | undefined;
/** pre-created progress comment ID for updating status */
progressCommentId?: string | undefined;
}
// immutable payload type for agent execution