Render Markdown, add ask_human context, simplify inbox responses, group inbox by task

This commit is contained in:
Ian Gulliver
2026-10-14 10:37:04 -07:00
parent e9fd7de556
commit ca2644374d
25 changed files with 950 additions and 283 deletions
+4 -4
View File
@@ -383,7 +383,7 @@ export interface components {
caption?: string;
};
/** @enum {string} */
InboxState: "open" | "answered" | "redirected" | "dismissed" | "superseded";
InboxState: "open" | "answered" | "dismissed" | "superseded";
InboxItem: {
id: string;
project_id: string;
@@ -395,7 +395,7 @@ export interface components {
/** @enum {string} */
priority: "blocked" | "gate" | "review" | "fyi";
blocking: boolean;
/** @description question: question, why_blocked, options, recommended_option, attachments. report: done, open_questions, next_steps, risks, deviations. session_error: error. rate_limited: vendor, rate_limit (the vendor's rate-limit status), error. */
/** @description question: context, question, why_blocked, options, recommended_option, attachments. report: done, next_steps, risks, deviations. session_error: error. rate_limited: vendor, rate_limit (the vendor's rate-limit status), error. */
payload: Record<string, never>;
state: components["schemas"]["InboxState"];
/** Format: date-time */
@@ -408,7 +408,7 @@ export interface components {
responses: components["schemas"]["InboxResponse"][];
};
/** @enum {string} */
InboxResponseType: "option" | "free_form" | "redirect" | "question" | "snooze" | "dismiss";
InboxResponseType: "option" | "other" | "snooze" | "dismiss";
InboxResponse: {
id: string;
item_id: string;
@@ -429,7 +429,7 @@ export interface components {
type: components["schemas"]["InboxResponseType"];
/** @description option: one of the question's options. */
option?: string;
/** @description Required for free_form, redirect, question; an optional note on option. */
/** @description other: the text sent to the agent. */
text?: string;
attachments?: components["schemas"]["Attachment"][];
/**