Skip to content
Source
Sign inSign up
pingdotgg/t3code

Move pending approval derivation and thread visit tracking to shared session logic #16

Mergedjuliusmarmingemerged 2 commits intomain fromcodething/68f0e731merged by juliusmarminge View on GitHub

Showing 9 changed files with 83 additions and 73 deletions (loading 6).

x
0 of 9 viewed, 9 left
1 addition and 62 deletionsapps/web/src/components/ChatView.tsxModified
View file
@@ -4,7 +4,6 @@
PROVIDER_SEND_TURN_MAX_IMAGE_BYTES,
type ProviderSendTurnAttachmentInput,
type ProviderApprovalDecision,
- type ProviderEvent,
} from "@t3tools/contracts";
import {
type ClipboardEvent,
@@ -30,6 +29,7 @@
resolveModelSlug,
} from "../model-logic";
import {
+ derivePendingApprovals,
derivePhase,
deriveTimelineEntries,
deriveWorkLogEntries,
@@ -74,13 +74,6 @@
return "text-muted-foreground/40";
​
-interface PendingApprovalCard {
- requestId: string;
- requestKind: "command" | "file-change";
- createdAt: string;
- detail?: string;
-}
-​
type SessionContinuityState = "resumed" | "new" | "fallback_new";