[PR #1608] [MERGED] Narrow chat helper export surface #5142

Closed
opened 2026-10-22 04:13:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1608
Author: @cha1latte
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @cha1latte

Base: refactor ← Head: codex/knip-feature-export-slice-6


📝 Commits (1)

  • d3e4ac5 Narrow chat helper exports

📊 Changes

2 files changed (+3 additions, -29 deletions)

View changed files

📝 src/features/catalog/chats/hooks/use-chats.ts (+2 -28)
📝 src/features/catalog/chats/lib/chat-transcript-export.ts (+1 -1)

📄 Description

Summary

  • keep chat transcript name resolution private to the transcript export module
  • keep recent-message edit cache helpers private to the chat hook module
  • remove unused feature-local chat summary/edit helper exports

Verification

  • pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code
  • pnpm test -- src/features/catalog/chats/lib/chat-transcript-export.test.ts
  • pnpm typecheck
  • pnpm check:architecture
  • pnpm check:unused
  • pnpm build
  • pnpm check
  • git diff --check

Notes

This stays in the src/features chat lane. Larger unused chat hooks remain separate follow-up candidates.

Summary by CodeRabbit

  • Refactor
    • Consolidated internal chat management utilities by streamlining the public API surface.

Review Change Stack


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1608 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/29/2026 **Status:** ✅ Merged **Merged:** 5/29/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `codex/knip-feature-export-slice-6` --- ### 📝 Commits (1) - [`d3e4ac5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d3e4ac5a9b9c09df3f7af97a44e9293205d0f7cd) Narrow chat helper exports ### 📊 Changes **2 files changed** (+3 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `src/features/catalog/chats/hooks/use-chats.ts` (+2 -28) 📝 `src/features/catalog/chats/lib/chat-transcript-export.ts` (+1 -1) </details> ### 📄 Description ## Summary - keep chat transcript name resolution private to the transcript export module - keep recent-message edit cache helpers private to the chat hook module - remove unused feature-local chat summary/edit helper exports ## Verification - `pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code` - `pnpm test -- src/features/catalog/chats/lib/chat-transcript-export.test.ts` - `pnpm typecheck` - `pnpm check:architecture` - `pnpm check:unused` - `pnpm build` - `pnpm check` - `git diff --check` ## Notes This stays in the `src/features` chat lane. Larger unused chat hooks remain separate follow-up candidates. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Consolidated internal chat management utilities by streamlining the public API surface. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/1608?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:40 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5142
No description provided.