Files
hapi/shared/src/index.ts
T
weishu 1b22fe0f82 feat: add CLI-server protocol version mismatch detection
- Define PROTOCOL_VERSION constant in shared/src/version.ts
- Server sets X-Hapi-Protocol-Version header on /cli/* responses
- Server includes protocolVersion in /health endpoint
- CLI extracts serverProtocolVersion from API responses
- CLI shows version mismatch hints in both directions
- Add tests for error utilities and version extraction

close #104
2026-01-27 16:28:52 +08:00

8 lines
188 B
TypeScript

export * from './messages'
export * from './modes'
export * from './socket'
export * from './sessionSummary'
export * from './utils'
export * from './version'
export type * from './types'