Fix chat interface - restore continuous conversation flow

🎯 Major improvements to MissionControl component:
- Always keep input field visible and functional after AI responses
- Auto-clear input after submitting questions for better UX
- Add dynamic visual indicators (first question vs follow-up)
- Improve response layout with clear separation and hints
- Enable proper chat-like experience for continuous learning

🌟 Additional enhancements:
- Better language-specific messaging throughout interface
- Clearer visual hierarchy between input and response areas
- Intuitive flow that guides users to ask follow-up questions
- Maintains responsive design and accessibility

🔧 Technical changes:
- Enhanced MissionControl state management
- Improved component layout and styling
- Better TypeScript integration across components
- Updated tsconfig for stricter type checking
This commit is contained in:
rwiegand
2025-07-14 12:39:05 +02:00
parent b31492a354
commit f893530471
1798 changed files with 25329 additions and 92638 deletions

View File

@@ -1,19 +1,20 @@
import { APIResource } from "../../../core/resource.js";
import { APIResource } from "../../../resource.js";
import * as Core from "../../../core.js";
import * as RunsAPI from "./runs.js";
import { APIPromise } from "../../../core/api-promise.js";
import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pagination.js";
import { RequestOptions } from "../../../internal/request-options.js";
import { CursorPage, type CursorPageParams } from "../../../pagination.js";
export declare class OutputItems extends APIResource {
/**
* Get an evaluation run output item by ID.
*/
retrieve(outputItemID: string, params: OutputItemRetrieveParams, options?: RequestOptions): APIPromise<OutputItemRetrieveResponse>;
retrieve(evalId: string, runId: string, outputItemId: string, options?: Core.RequestOptions): Core.APIPromise<OutputItemRetrieveResponse>;
/**
* Get a list of output items for an evaluation run.
*/
list(runID: string, params: OutputItemListParams, options?: RequestOptions): PagePromise<OutputItemListResponsesPage, OutputItemListResponse>;
list(evalId: string, runId: string, query?: OutputItemListParams, options?: Core.RequestOptions): Core.PagePromise<OutputItemListResponsesPage, OutputItemListResponse>;
list(evalId: string, runId: string, options?: Core.RequestOptions): Core.PagePromise<OutputItemListResponsesPage, OutputItemListResponse>;
}
export declare class OutputItemListResponsesPage extends CursorPage<OutputItemListResponse> {
}
export type OutputItemListResponsesPage = CursorPage<OutputItemListResponse>;
/**
* A schema representing an evaluation run output item.
*/
@@ -29,9 +30,7 @@ export interface OutputItemRetrieveResponse {
/**
* Details of the input data source item.
*/
datasource_item: {
[key: string]: unknown;
};
datasource_item: Record<string, unknown>;
/**
* The identifier for the data source item.
*/
@@ -47,9 +46,7 @@ export interface OutputItemRetrieveResponse {
/**
* A list of results from the evaluation run.
*/
results: Array<{
[key: string]: unknown;
}>;
results: Array<Record<string, unknown>>;
/**
* The identifier of the evaluation run associated with this output item.
*/
@@ -171,9 +168,7 @@ export interface OutputItemListResponse {
/**
* Details of the input data source item.
*/
datasource_item: {
[key: string]: unknown;
};
datasource_item: Record<string, unknown>;
/**
* The identifier for the data source item.
*/
@@ -189,9 +184,7 @@ export interface OutputItemListResponse {
/**
* A list of results from the evaluation run.
*/
results: Array<{
[key: string]: unknown;
}>;
results: Array<Record<string, unknown>>;
/**
* The identifier of the evaluation run associated with this output item.
*/
@@ -298,33 +291,19 @@ export declare namespace OutputItemListResponse {
}
}
}
export interface OutputItemRetrieveParams {
/**
* The ID of the evaluation to retrieve runs for.
*/
eval_id: string;
/**
* The ID of the run to retrieve.
*/
run_id: string;
}
export interface OutputItemListParams extends CursorPageParams {
/**
* Path param: The ID of the evaluation to retrieve runs for.
*/
eval_id: string;
/**
* Query param: Sort order for output items by timestamp. Use `asc` for ascending
* order or `desc` for descending order. Defaults to `asc`.
* Sort order for output items by timestamp. Use `asc` for ascending order or
* `desc` for descending order. Defaults to `asc`.
*/
order?: 'asc' | 'desc';
/**
* Query param: Filter output items by status. Use `failed` to filter by failed
* output items or `pass` to filter by passed output items.
* Filter output items by status. Use `failed` to filter by failed output items or
* `pass` to filter by passed output items.
*/
status?: 'fail' | 'pass';
}
export declare namespace OutputItems {
export { type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, type OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemRetrieveParams as OutputItemRetrieveParams, type OutputItemListParams as OutputItemListParams, };
export { type OutputItemRetrieveResponse as OutputItemRetrieveResponse, type OutputItemListResponse as OutputItemListResponse, OutputItemListResponsesPage as OutputItemListResponsesPage, type OutputItemListParams as OutputItemListParams, };
}
//# sourceMappingURL=output-items.d.ts.map