mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
feat(inbox): add operator search and keyboard controls
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
36376968af
commit
3ab7d52f00
25 changed files with 1340 additions and 114 deletions
|
|
@ -255,6 +255,8 @@ export type {
|
|||
FinanceSummary,
|
||||
FinanceByBiller,
|
||||
FinanceByKind,
|
||||
AgentWakeupResponse,
|
||||
AgentWakeupSkipped,
|
||||
HeartbeatRun,
|
||||
HeartbeatRunEvent,
|
||||
AgentRuntimeState,
|
||||
|
|
|
|||
|
|
@ -42,6 +42,18 @@ export interface HeartbeatRun {
|
|||
updatedAt: Date;
|
||||
}
|
||||
|
||||
export interface AgentWakeupSkipped {
|
||||
status: "skipped";
|
||||
reason: string;
|
||||
message: string | null;
|
||||
issueId: string | null;
|
||||
executionRunId: string | null;
|
||||
executionAgentId: string | null;
|
||||
executionAgentName: string | null;
|
||||
}
|
||||
|
||||
export type AgentWakeupResponse = HeartbeatRun | AgentWakeupSkipped;
|
||||
|
||||
export interface HeartbeatRunEvent {
|
||||
id: number;
|
||||
companyId: string;
|
||||
|
|
|
|||
|
|
@ -141,6 +141,8 @@ export type {
|
|||
export type { CostEvent, CostSummary, CostByAgent, CostByProviderModel, CostByBiller, CostByAgentModel, CostWindowSpendRow, CostByProject } from "./cost.js";
|
||||
export type { FinanceEvent, FinanceSummary, FinanceByBiller, FinanceByKind } from "./finance.js";
|
||||
export type {
|
||||
AgentWakeupResponse,
|
||||
AgentWakeupSkipped,
|
||||
HeartbeatRun,
|
||||
HeartbeatRunEvent,
|
||||
AgentRuntimeState,
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import type { FeedbackDataSharingPreference } from "./feedback.js";
|
|||
|
||||
export interface InstanceGeneralSettings {
|
||||
censorUsernameInLogs: boolean;
|
||||
keyboardShortcuts: boolean;
|
||||
feedbackDataSharingPreference: FeedbackDataSharingPreference;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ export interface Issue {
|
|||
mentionedProjects?: Project[];
|
||||
myLastTouchAt?: Date | null;
|
||||
lastExternalCommentAt?: Date | null;
|
||||
lastActivityAt?: Date | null;
|
||||
isUnreadForMe?: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { feedbackDataSharingPreferenceSchema } from "./feedback.js";
|
|||
|
||||
export const instanceGeneralSettingsSchema = z.object({
|
||||
censorUsernameInLogs: z.boolean().default(false),
|
||||
keyboardShortcuts: z.boolean().default(false),
|
||||
feedbackDataSharingPreference: feedbackDataSharingPreferenceSchema.default(
|
||||
DEFAULT_FEEDBACK_DATA_SHARING_PREFERENCE,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue