Skip to content

Commit d1fa1bd

Browse files
committed
feat(sdk): re-export HeartbeatResult from package root
The published @qwen-code/sdk only exposes the root entrypoint via `exports`; daemon subpath imports are not part of the public API. Adding HeartbeatResult to packages/sdk-typescript/src/daemon/index.ts made it reachable internally but not for downstream consumers writing `import type { HeartbeatResult } from '@qwen-code/sdk'` — every other daemon result type (PromptResult, SetModelResult, DaemonSession, etc.) is forwarded through the root barrel, so HeartbeatResult was the only hole in the heartbeat helper's public surface. Inserted alphabetically between DaemonStreamLifecycleEvent and KnownDaemonEvent to match the existing ordering convention.
1 parent 3fa2fc9 commit d1fa1bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/sdk-typescript/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export {
5353
type DaemonStreamErrorData,
5454
type DaemonStreamErrorEvent,
5555
type DaemonStreamLifecycleEvent,
56+
type HeartbeatResult,
5657
type KnownDaemonEvent,
5758
type PermissionOutcome,
5859
type PermissionOutcomeCancelled,

0 commit comments

Comments
 (0)