refactor(tui): organize source by feature boundaries (#5975)

* refactor(tui): group source files by feature

* refactor(tui): split app and gateway responsibilities
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-29 16:57:36 +08:00
1 parent b7abbcd70b
commit f18423800e
73 files changed
+6401 -6006

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
export {
fetchAvailableSkills,
fetchHistory,
fetchMentionCandidates,
fetchRuntimeControls,
fetchSessionContext,
fetchSessionUsage,
fetchSessions,
fetchSlashCommands,
} from "./api"
export {
GatewayConnectionError,
connectionEndpoint,
fetchGatewayConnection,
fetchGatewayHealth,
sanitizeConnectionFailure,
} from "./connection"
export { NanobotClient } from "./nanobot-client"
export type {
ApiReauthenticator,
ClientOptions,
ConnectionStatus,
ConnectionStatusInfo,
ContextCompaction,
FileEditEvent,
GatewayApiConnection,
GatewayConnection,
GatewayHealthStatus,
HistoryMessage,
HistorySnapshot,
InboundEvent,
MediaAttachment,
MentionCandidate,
MessageOptions,
OutboundMedia,
RecoveryState,
RetryStatus,
RuntimeControls,
SessionContextSnapshot,
SessionSummary,
SessionUsageSnapshot,
SkillCandidate,
SlashCommand,
SlashCommandLifecycle,
TokenUsage,
ToolProgressEvent,
WorkspaceScopePayload,
} from "./types"