Files
kandev/apps/web/lib/state/slices/comments/index.ts
T
José Almeida 8f2fe7a8e6 feat(web): add agent message comments (#1835)
* feat(web): add agent message comments

* fix(web): harden agent message comments

* fix(web): address message comment review findings

* fix(web): allow comments on legacy agent messages

* fix(web): address latest message comment review

* fix(web): address follow-up message comment review

* fix(web): address remaining message comment review

* fix(web): keep failed mobile comments open

* fix(web): preserve selections over message comments
2026-07-21 13:32:19 +01:00

36 lines
862 B
TypeScript

export { useCommentsStore } from "./comments-store";
export {
type Comment,
type DiffComment,
type PlanComment,
type FileEditorComment,
type PRFeedbackComment,
type WalkthroughComment,
type AgentMessageComment,
type MessageTextAnchor,
type AnnotationSide,
type CommentsState,
type CommentsActions,
type CommentsSlice,
isDiffComment,
isPlanComment,
isFileEditorComment,
isPRFeedbackComment,
isWalkthroughComment,
isAgentMessageComment,
} from "./types";
export {
formatReviewCommentsAsMarkdown,
formatPlanCommentsAsMarkdown,
formatPRFeedbackAsMarkdown,
formatWalkthroughCommentsAsMarkdown,
formatAgentMessageCommentsAsMarkdown,
formatCommentsForMessage,
} from "./format";
export {
persistSessionComments,
loadSessionComments,
clearPersistedSessionComments,
COMMENTS_STORAGE_PREFIX,
} from "./persistence";